Home
last modified time | relevance | path

Searched refs:tse_csroffs (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/altera/
Daltera_tse_ethtool.c91 tse_csroffs(frames_transmitted_ok)); in tse_fill_stats()
93 tse_csroffs(frames_received_ok)); in tse_fill_stats()
95 tse_csroffs(frames_check_sequence_errors)); in tse_fill_stats()
97 tse_csroffs(alignment_errors)); in tse_fill_stats()
101 tse_csroffs(msb_octets_transmitted_ok)) << 32; in tse_fill_stats()
104 tse_csroffs(octets_transmitted_ok)); in tse_fill_stats()
109 tse_csroffs(msb_octets_received_ok)) << 32; in tse_fill_stats()
112 tse_csroffs(octets_received_ok)); in tse_fill_stats()
116 tse_csroffs(tx_pause_mac_ctrl_frames)); in tse_fill_stats()
118 tse_csroffs(rx_pause_mac_ctrl_frames)); in tse_fill_stats()
[all …]
Daltera_tse_main.c94 tse_csroffs(mdio_phy0) + regnum * 4) & 0xffff; in sgmii_pcs_read()
100 csrwr32(value, priv->mac_dev, tse_csroffs(mdio_phy0) + regnum * 4); in sgmii_pcs_write()
119 tse_csroffs(mdio_phy1_addr)); in altera_tse_mdio_read()
123 tse_csroffs(mdio_phy1) + regnum * 4) & 0xffff; in altera_tse_mdio_read()
134 tse_csroffs(mdio_phy1_addr)); in altera_tse_mdio_write()
137 csrwr32(value, priv->mac_dev, tse_csroffs(mdio_phy1) + regnum * 4); in altera_tse_mdio_write()
861 csrwr32(msb, priv->mac_dev, tse_csroffs(mac_addr_0)); in tse_update_mac_addr()
862 csrwr32(lsb, priv->mac_dev, tse_csroffs(mac_addr_1)); in tse_update_mac_addr()
876 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
879 csrwr32(dat, priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
[all …]
Daltera_tse.h360 #define tse_csroffs(a) (offsetof(struct altera_tse_mac, a)) macro