Home
last modified time | relevance | path

Searched refs:tse_csroffs (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/altera/
H A 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_frame in tse_fill_stats()
[all...]
H A 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_confi in reset_mac()
[all...]
H A Daltera_tse.h360 #define tse_csroffs(a) (offsetof(struct altera_tse_mac, a)) macro
/kernel/linux/linux-6.6/drivers/net/ethernet/altera/
H A 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_frame in tse_fill_stats()
[all...]
H A Daltera_tse_main.c101 tse_csroffs(mdio_phy1_addr)); in altera_tse_mdio_read()
105 tse_csroffs(mdio_phy1) + regnum * 4) & 0xffff; in altera_tse_mdio_read()
116 tse_csroffs(mdio_phy1_addr)); in altera_tse_mdio_write()
119 csrwr32(value, priv->mac_dev, tse_csroffs(mdio_phy1) + regnum * 4); in altera_tse_mdio_write()
652 csrwr32(msb, priv->mac_dev, tse_csroffs(mac_addr_0)); in tse_update_mac_addr()
653 csrwr32(lsb, priv->mac_dev, tse_csroffs(mac_addr_1)); in tse_update_mac_addr()
667 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
670 csrwr32(dat, priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
674 if (tse_bit_is_clear(priv->mac_dev, tse_csroffs(command_config), in reset_mac()
681 dat = csrrd32(priv->mac_dev, tse_csroffs(command_confi in reset_mac()
[all...]
H A Daltera_tse.h350 #define tse_csroffs(a) (offsetof(struct altera_tse_mac, a)) macro

Completed in 7 milliseconds