csrwr32 31 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(MSGDMA_CSR_STAT_MASK, priv->rx_dma_csr, csrwr32 33 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(MSGDMA_CSR_CTL_RESET, priv->rx_dma_csr, csrwr32 49 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(MSGDMA_CSR_STAT_MASK, priv->rx_dma_csr, msgdma_csroffs(status)); csrwr32 52 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(MSGDMA_CSR_STAT_MASK, priv->tx_dma_csr, csrwr32 55 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(MSGDMA_CSR_CTL_RESET, priv->tx_dma_csr, csrwr32 71 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(MSGDMA_CSR_STAT_MASK, priv->tx_dma_csr, msgdma_csroffs(status)); csrwr32 100 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(MSGDMA_CSR_STAT_IRQ, priv->rx_dma_csr, msgdma_csroffs(status)); csrwr32 105 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(MSGDMA_CSR_STAT_IRQ, priv->tx_dma_csr, msgdma_csroffs(status)); csrwr32 111 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(lower_32_bits(buffer->dma_addr), priv->tx_dma_desc, csrwr32 113 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(upper_32_bits(buffer->dma_addr), priv->tx_dma_desc, csrwr32 115 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(0, priv->tx_dma_desc, msgdma_descroffs(write_addr_lo)); csrwr32 116 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(0, priv->tx_dma_desc, msgdma_descroffs(write_addr_hi)); csrwr32 117 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(buffer->len, priv->tx_dma_desc, msgdma_descroffs(len)); csrwr32 118 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(0, priv->tx_dma_desc, msgdma_descroffs(burst_seq_num)); csrwr32 119 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(MSGDMA_DESC_TX_STRIDE, priv->tx_dma_desc, csrwr32 121 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(MSGDMA_DESC_CTL_TX_SINGLE, priv->tx_dma_desc, csrwr32 164 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(0, priv->rx_dma_desc, msgdma_descroffs(read_addr_lo)); csrwr32 165 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(0, priv->rx_dma_desc, msgdma_descroffs(read_addr_hi)); csrwr32 166 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(lower_32_bits(dma_addr), priv->rx_dma_desc, csrwr32 168 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(upper_32_bits(dma_addr), priv->rx_dma_desc, csrwr32 170 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(len, priv->rx_dma_desc, msgdma_descroffs(len)); csrwr32 171 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(0, priv->rx_dma_desc, msgdma_descroffs(burst_seq_num)); csrwr32 172 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(0x00010001, priv->rx_dma_desc, msgdma_descroffs(stride)); csrwr32 173 drivers/net/ethernet/altera/altera_msgdma.c csrwr32(control, priv->rx_dma_desc, msgdma_descroffs(control)); csrwr32 122 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(SGDMA_CTRLREG_RESET, priv->tx_dma_csr, sgdma_csroffs(control)); csrwr32 123 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(0, priv->tx_dma_csr, sgdma_csroffs(control)); csrwr32 125 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(SGDMA_CTRLREG_RESET, priv->rx_dma_csr, sgdma_csroffs(control)); csrwr32 126 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(0, priv->rx_dma_csr, sgdma_csroffs(control)); csrwr32 262 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(0, priv->rx_dma_csr, sgdma_csroffs(control)); csrwr32 264 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(0xf, priv->rx_dma_csr, sgdma_csroffs(status)); csrwr32 315 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(lower_32_bits(raddr), desc, sgdma_descroffs(raddr)); csrwr32 316 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(lower_32_bits(waddr), desc, sgdma_descroffs(waddr)); csrwr32 318 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(0, desc, sgdma_descroffs(pad1)); csrwr32 319 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(0, desc, sgdma_descroffs(pad2)); csrwr32 320 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(lower_32_bits(ndesc_phys), desc, sgdma_descroffs(next)); csrwr32 367 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(lower_32_bits(sgdma_rxphysaddr(priv, cdesc)), csrwr32 371 drivers/net/ethernet/altera/altera_sgdma.c csrwr32((priv->rxctrlreg | SGDMA_CTRLREG_START), csrwr32 388 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(0, priv->tx_dma_csr, sgdma_csroffs(control)); csrwr32 389 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(0x1f, priv->tx_dma_csr, sgdma_csroffs(status)); csrwr32 394 drivers/net/ethernet/altera/altera_sgdma.c csrwr32(lower_32_bits(sgdma_txphysaddr(priv, desc)), csrwr32 398 drivers/net/ethernet/altera/altera_sgdma.c csrwr32((priv->txctrlreg | SGDMA_CTRLREG_START), csrwr32 100 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(value, priv->mac_dev, tse_csroffs(mdio_phy0) + regnum * 4); csrwr32 118 drivers/net/ethernet/altera/altera_tse_main.c csrwr32((mii_id & 0x1f), priv->mac_dev, csrwr32 133 drivers/net/ethernet/altera/altera_tse_main.c csrwr32((mii_id & 0x1f), priv->mac_dev, csrwr32 137 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(value, priv->mac_dev, tse_csroffs(mdio_phy1) + regnum * 4); csrwr32 861 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(msb, priv->mac_dev, tse_csroffs(mac_addr_0)); csrwr32 862 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(lsb, priv->mac_dev, tse_csroffs(mac_addr_1)); csrwr32 879 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(dat, priv->mac_dev, tse_csroffs(command_config)); csrwr32 892 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(dat, priv->mac_dev, tse_csroffs(command_config)); csrwr32 906 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(priv->rx_fifo_depth - ALTERA_TSE_RX_SECTION_EMPTY, csrwr32 909 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(ALTERA_TSE_RX_SECTION_FULL, priv->mac_dev, csrwr32 912 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(ALTERA_TSE_RX_ALMOST_EMPTY, priv->mac_dev, csrwr32 915 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(ALTERA_TSE_RX_ALMOST_FULL, priv->mac_dev, csrwr32 919 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(priv->tx_fifo_depth - ALTERA_TSE_TX_SECTION_EMPTY, csrwr32 922 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(ALTERA_TSE_TX_SECTION_FULL, priv->mac_dev, csrwr32 925 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(ALTERA_TSE_TX_ALMOST_EMPTY, priv->mac_dev, csrwr32 928 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(ALTERA_TSE_TX_ALMOST_FULL, priv->mac_dev, csrwr32 936 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(frm_length, priv->mac_dev, tse_csroffs(frm_length)); csrwr32 938 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(ALTERA_TSE_TX_IPG_LENGTH, priv->mac_dev, csrwr32 967 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(cmd, priv->mac_dev, tse_csroffs(command_config)); csrwr32 969 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(ALTERA_TSE_PAUSE_QUANTA, priv->mac_dev, csrwr32 990 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(value, priv->mac_dev, tse_csroffs(command_config)); csrwr32 1016 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(0, priv->mac_dev, tse_csroffs(hash_table) + i * 4); csrwr32 1032 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + hash * 4); csrwr32 1044 drivers/net/ethernet/altera/altera_tse_main.c csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + i * 4); csrwr32 13 drivers/net/ethernet/altera/altera_utils.c csrwr32(value, ioaddr, offs); csrwr32 20 drivers/net/ethernet/altera/altera_utils.c csrwr32(value, ioaddr, offs);