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.c102 tse_csroffs(frames_transmitted_ok)); in tse_fill_stats()
104 tse_csroffs(frames_received_ok)); in tse_fill_stats()
106 tse_csroffs(frames_check_sequence_errors)); in tse_fill_stats()
108 tse_csroffs(alignment_errors)); in tse_fill_stats()
112 tse_csroffs(msb_octets_transmitted_ok)) << 32; in tse_fill_stats()
115 tse_csroffs(octets_transmitted_ok)); in tse_fill_stats()
120 tse_csroffs(msb_octets_received_ok)) << 32; in tse_fill_stats()
123 tse_csroffs(octets_received_ok)); in tse_fill_stats()
127 tse_csroffs(tx_pause_mac_ctrl_frames)); in tse_fill_stats()
129 tse_csroffs(rx_pause_mac_ctrl_frames)); in tse_fill_stats()
[all …]
Daltera_tse_main.c108 tse_csroffs(mdio_phy0_addr)); in altera_tse_mdio_read()
112 tse_csroffs(mdio_phy0) + regnum * 4) & 0xffff; in altera_tse_mdio_read()
123 tse_csroffs(mdio_phy0_addr)); in altera_tse_mdio_write()
126 csrwr32(value, priv->mac_dev, tse_csroffs(mdio_phy0) + regnum * 4); in altera_tse_mdio_write()
842 csrwr32(msb, priv->mac_dev, tse_csroffs(mac_addr_0)); in tse_update_mac_addr()
843 csrwr32(lsb, priv->mac_dev, tse_csroffs(mac_addr_1)); in tse_update_mac_addr()
857 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
860 csrwr32(dat, priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
864 if (tse_bit_is_clear(priv->mac_dev, tse_csroffs(command_config), in reset_mac()
871 dat = csrrd32(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