Lines Matching refs:csrwr32

111 	csrwr32(value, priv->mac_dev, tse_csroffs(mdio_phy0) + regnum * 4);  in sgmii_pcs_write()
129 csrwr32((mii_id & 0x1f), priv->mac_dev, in altera_tse_mdio_read()
144 csrwr32((mii_id & 0x1f), priv->mac_dev, 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()
891 csrwr32(dat, priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
904 csrwr32(dat, priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
918 csrwr32(priv->rx_fifo_depth - ALTERA_TSE_RX_SECTION_EMPTY, in init_mac()
921 csrwr32(ALTERA_TSE_RX_SECTION_FULL, priv->mac_dev, in init_mac()
924 csrwr32(ALTERA_TSE_RX_ALMOST_EMPTY, priv->mac_dev, in init_mac()
927 csrwr32(ALTERA_TSE_RX_ALMOST_FULL, priv->mac_dev, in init_mac()
931 csrwr32(priv->tx_fifo_depth - ALTERA_TSE_TX_SECTION_EMPTY, in init_mac()
934 csrwr32(ALTERA_TSE_TX_SECTION_FULL, priv->mac_dev, in init_mac()
937 csrwr32(ALTERA_TSE_TX_ALMOST_EMPTY, priv->mac_dev, in init_mac()
940 csrwr32(ALTERA_TSE_TX_ALMOST_FULL, priv->mac_dev, in init_mac()
948 csrwr32(frm_length, priv->mac_dev, tse_csroffs(frm_length)); in init_mac()
950 csrwr32(ALTERA_TSE_TX_IPG_LENGTH, priv->mac_dev, in init_mac()
979 csrwr32(cmd, priv->mac_dev, tse_csroffs(command_config)); in init_mac()
981 csrwr32(ALTERA_TSE_PAUSE_QUANTA, priv->mac_dev, in init_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()