Searched refs:tse_csroffs (Results 1 – 3 of 3) sorted by relevance
| /Linux-v6.1/drivers/net/ethernet/altera/ |
| D | altera_tse_ethtool.c | 90 tse_csroffs(frames_transmitted_ok)); in tse_fill_stats() 92 tse_csroffs(frames_received_ok)); in tse_fill_stats() 94 tse_csroffs(frames_check_sequence_errors)); in tse_fill_stats() 96 tse_csroffs(alignment_errors)); in tse_fill_stats() 100 tse_csroffs(msb_octets_transmitted_ok)) << 32; in tse_fill_stats() 103 tse_csroffs(octets_transmitted_ok)); in tse_fill_stats() 108 tse_csroffs(msb_octets_received_ok)) << 32; in tse_fill_stats() 111 tse_csroffs(octets_received_ok)); in tse_fill_stats() 115 tse_csroffs(tx_pause_mac_ctrl_frames)); in tse_fill_stats() 117 tse_csroffs(rx_pause_mac_ctrl_frames)); in tse_fill_stats() [all …]
|
| D | altera_tse_main.c | 99 tse_csroffs(mdio_phy1_addr)); in altera_tse_mdio_read() 103 tse_csroffs(mdio_phy1) + regnum * 4) & 0xffff; in altera_tse_mdio_read() 114 tse_csroffs(mdio_phy1_addr)); in altera_tse_mdio_write() 117 csrwr32(value, priv->mac_dev, tse_csroffs(mdio_phy1) + regnum * 4); in altera_tse_mdio_write() 650 csrwr32(msb, priv->mac_dev, tse_csroffs(mac_addr_0)); in tse_update_mac_addr() 651 csrwr32(lsb, priv->mac_dev, tse_csroffs(mac_addr_1)); in tse_update_mac_addr() 665 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in reset_mac() 668 csrwr32(dat, priv->mac_dev, tse_csroffs(command_config)); in reset_mac() 672 if (tse_bit_is_clear(priv->mac_dev, tse_csroffs(command_config), in reset_mac() 679 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in reset_mac() [all …]
|
| D | altera_tse.h | 350 #define tse_csroffs(a) (offsetof(struct altera_tse_mac, a)) macro
|