• Home
  • Raw
  • Download

Lines Matching refs:tse_csroffs

108 		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()
873 csrwr32(dat, priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
888 priv->mac_dev, tse_csroffs(rx_section_empty)); in init_mac()
891 tse_csroffs(rx_section_full)); in init_mac()
894 tse_csroffs(rx_almost_empty)); in init_mac()
897 tse_csroffs(rx_almost_full)); in init_mac()
901 priv->mac_dev, tse_csroffs(tx_section_empty)); in init_mac()
904 tse_csroffs(tx_section_full)); in init_mac()
907 tse_csroffs(tx_almost_empty)); in init_mac()
910 tse_csroffs(tx_almost_full)); in init_mac()
917 csrwr32(frm_length, priv->mac_dev, tse_csroffs(frm_length)); in init_mac()
920 tse_csroffs(tx_ipg_length)); in init_mac()
925 tse_set_bit(priv->mac_dev, tse_csroffs(rx_cmd_stat), in init_mac()
928 tse_clear_bit(priv->mac_dev, tse_csroffs(tx_cmd_stat), in init_mac()
933 cmd = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in init_mac()
948 csrwr32(cmd, priv->mac_dev, tse_csroffs(command_config)); in init_mac()
951 tse_csroffs(pause_quanta)); in init_mac()
964 u32 value = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in tse_set_mac()
971 csrwr32(value, priv->mac_dev, tse_csroffs(command_config)); in tse_set_mac()
1006 csrwr32(0, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilter()
1022 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + hash * 4); in altera_tse_set_mcfilter()
1034 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + i * 4); in altera_tse_set_mcfilterall()
1046 tse_set_bit(priv->mac_dev, tse_csroffs(command_config), in tse_set_rx_mode_hashfilter()
1067 tse_set_bit(priv->mac_dev, tse_csroffs(command_config), in tse_set_rx_mode()
1070 tse_clear_bit(priv->mac_dev, tse_csroffs(command_config), in tse_set_rx_mode()