• Home
  • Raw
  • Download

Lines Matching refs:tse_csroffs

94 		       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()
887 if (tse_bit_is_clear(priv->mac_dev, tse_csroffs(command_config), in reset_mac()
894 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
896 csrwr32(dat, priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
911 priv->mac_dev, tse_csroffs(rx_section_empty)); in init_mac()
914 tse_csroffs(rx_section_full)); in init_mac()
917 tse_csroffs(rx_almost_empty)); in init_mac()
920 tse_csroffs(rx_almost_full)); in init_mac()
924 priv->mac_dev, tse_csroffs(tx_section_empty)); in init_mac()
927 tse_csroffs(tx_section_full)); in init_mac()
930 tse_csroffs(tx_almost_empty)); in init_mac()
933 tse_csroffs(tx_almost_full)); in init_mac()
940 csrwr32(frm_length, priv->mac_dev, tse_csroffs(frm_length)); in init_mac()
943 tse_csroffs(tx_ipg_length)); in init_mac()
948 tse_set_bit(priv->mac_dev, tse_csroffs(rx_cmd_stat), in init_mac()
951 tse_clear_bit(priv->mac_dev, tse_csroffs(tx_cmd_stat), in init_mac()
956 cmd = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in init_mac()
971 csrwr32(cmd, priv->mac_dev, tse_csroffs(command_config)); in init_mac()
974 tse_csroffs(pause_quanta)); in init_mac()
987 u32 value = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in tse_set_mac()
994 csrwr32(value, priv->mac_dev, tse_csroffs(command_config)); in tse_set_mac()
1020 csrwr32(0, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilter()
1036 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + hash * 4); in altera_tse_set_mcfilter()
1048 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilterall()
1060 tse_set_bit(priv->mac_dev, tse_csroffs(command_config), in tse_set_rx_mode_hashfilter()
1081 tse_set_bit(priv->mac_dev, tse_csroffs(command_config), in tse_set_rx_mode()
1084 tse_clear_bit(priv->mac_dev, tse_csroffs(command_config), in tse_set_rx_mode()