Home
last modified time | relevance | path

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

/drivers/net/ethernet/altera/
Daltera_tse_ethtool.c90 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 …]
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()
865 csrwr32(msb, priv->mac_dev, tse_csroffs(mac_addr_0)); in tse_update_mac_addr()
866 csrwr32(lsb, priv->mac_dev, tse_csroffs(mac_addr_1)); in tse_update_mac_addr()
880 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
883 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