Lines Matching refs:tse_csroffs

105 		       tse_csroffs(mdio_phy0) + regnum * 4) & 0xffff;  in sgmii_pcs_read()
111 csrwr32(value, priv->mac_dev, tse_csroffs(mdio_phy0) + regnum * 4); in sgmii_pcs_write()
130 tse_csroffs(mdio_phy1_addr)); in altera_tse_mdio_read()
134 tse_csroffs(mdio_phy1) + regnum * 4) & 0xffff; in altera_tse_mdio_read()
145 tse_csroffs(mdio_phy1_addr)); in altera_tse_mdio_write()
148 csrwr32(value, priv->mac_dev, tse_csroffs(mdio_phy1) + regnum * 4); in altera_tse_mdio_write()
873 csrwr32(msb, priv->mac_dev, tse_csroffs(mac_addr_0)); in tse_update_mac_addr()
874 csrwr32(lsb, priv->mac_dev, tse_csroffs(mac_addr_1)); in tse_update_mac_addr()
888 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
891 csrwr32(dat, priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
895 if (tse_bit_is_clear(priv->mac_dev, tse_csroffs(command_config), in reset_mac()
902 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
904 csrwr32(dat, priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
919 priv->mac_dev, tse_csroffs(rx_section_empty)); in init_mac()
922 tse_csroffs(rx_section_full)); in init_mac()
925 tse_csroffs(rx_almost_empty)); in init_mac()
928 tse_csroffs(rx_almost_full)); in init_mac()
932 priv->mac_dev, tse_csroffs(tx_section_empty)); in init_mac()
935 tse_csroffs(tx_section_full)); in init_mac()
938 tse_csroffs(tx_almost_empty)); in init_mac()
941 tse_csroffs(tx_almost_full)); in init_mac()
948 csrwr32(frm_length, priv->mac_dev, tse_csroffs(frm_length)); in init_mac()
951 tse_csroffs(tx_ipg_length)); in init_mac()
956 tse_set_bit(priv->mac_dev, tse_csroffs(rx_cmd_stat), in init_mac()
959 tse_clear_bit(priv->mac_dev, tse_csroffs(tx_cmd_stat), in init_mac()
964 cmd = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in init_mac()
979 csrwr32(cmd, priv->mac_dev, tse_csroffs(command_config)); in init_mac()
982 tse_csroffs(pause_quanta)); in init_mac()
995 u32 value = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in tse_set_mac()
1002 csrwr32(value, priv->mac_dev, tse_csroffs(command_config)); in tse_set_mac()
1028 csrwr32(0, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilter()
1044 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + hash * 4); in altera_tse_set_mcfilter()
1056 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilterall()
1068 tse_set_bit(priv->mac_dev, tse_csroffs(command_config), in tse_set_rx_mode_hashfilter()
1089 tse_set_bit(priv->mac_dev, tse_csroffs(command_config), in tse_set_rx_mode()
1092 tse_clear_bit(priv->mac_dev, tse_csroffs(command_config), in tse_set_rx_mode()