Searched refs:csrwr32 (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/altera/ |
A D | altera_msgdma.c | 31 csrwr32(MSGDMA_CSR_STAT_MASK, priv->rx_dma_csr, in msgdma_reset() 33 csrwr32(MSGDMA_CSR_CTL_RESET, priv->rx_dma_csr, in msgdma_reset() 52 csrwr32(MSGDMA_CSR_STAT_MASK, priv->tx_dma_csr, in msgdma_reset() 55 csrwr32(MSGDMA_CSR_CTL_RESET, priv->tx_dma_csr, in msgdma_reset() 111 csrwr32(lower_32_bits(buffer->dma_addr), priv->tx_dma_desc, in msgdma_tx_buffer() 113 csrwr32(upper_32_bits(buffer->dma_addr), priv->tx_dma_desc, in msgdma_tx_buffer() 119 csrwr32(MSGDMA_DESC_TX_STRIDE, priv->tx_dma_desc, in msgdma_tx_buffer() 121 csrwr32(MSGDMA_DESC_CTL_TX_SINGLE, priv->tx_dma_desc, in msgdma_tx_buffer() 166 csrwr32(lower_32_bits(dma_addr), priv->rx_dma_desc, in msgdma_add_rx_desc() 168 csrwr32(upper_32_bits(dma_addr), priv->rx_dma_desc, in msgdma_add_rx_desc() [all …]
|
A D | altera_sgdma.c | 123 csrwr32(0, priv->tx_dma_csr, sgdma_csroffs(control)); in sgdma_reset() 126 csrwr32(0, priv->rx_dma_csr, sgdma_csroffs(control)); in sgdma_reset() 262 csrwr32(0, priv->rx_dma_csr, sgdma_csroffs(control)); in sgdma_rx_status() 318 csrwr32(0, desc, sgdma_descroffs(pad1)); in sgdma_setup_descrip() 319 csrwr32(0, desc, sgdma_descroffs(pad2)); in sgdma_setup_descrip() 367 csrwr32(lower_32_bits(sgdma_rxphysaddr(priv, cdesc)), in sgdma_async_read() 371 csrwr32((priv->rxctrlreg | SGDMA_CTRLREG_START), in sgdma_async_read() 388 csrwr32(0, priv->tx_dma_csr, sgdma_csroffs(control)); in sgdma_async_write() 389 csrwr32(0x1f, priv->tx_dma_csr, sgdma_csroffs(status)); in sgdma_async_write() 394 csrwr32(lower_32_bits(sgdma_txphysaddr(priv, desc)), in sgdma_async_write() [all …]
|
A D | altera_tse_main.c | 98 csrwr32((mii_id & 0x1f), priv->mac_dev, in altera_tse_mdio_read() 113 csrwr32((mii_id & 0x1f), priv->mac_dev, in altera_tse_mdio_write() 650 csrwr32(msb, priv->mac_dev, tse_csroffs(mac_addr_0)); in tse_update_mac_addr() 698 csrwr32(ALTERA_TSE_RX_SECTION_FULL, priv->mac_dev, in init_mac() 701 csrwr32(ALTERA_TSE_RX_ALMOST_EMPTY, priv->mac_dev, in init_mac() 704 csrwr32(ALTERA_TSE_RX_ALMOST_FULL, priv->mac_dev, in init_mac() 711 csrwr32(ALTERA_TSE_TX_SECTION_FULL, priv->mac_dev, in init_mac() 714 csrwr32(ALTERA_TSE_TX_ALMOST_EMPTY, priv->mac_dev, in init_mac() 717 csrwr32(ALTERA_TSE_TX_ALMOST_FULL, priv->mac_dev, in init_mac() 727 csrwr32(ALTERA_TSE_TX_IPG_LENGTH, priv->mac_dev, in init_mac() [all …]
|
A D | altera_utils.c | 13 csrwr32(value, ioaddr, offs); in tse_set_bit() 20 csrwr32(value, ioaddr, offs); in tse_clear_bit()
|
A D | altera_tse.h | 508 void csrwr32(u32 val, void __iomem *mac, size_t offs) in csrwr32() function
|
Completed in 16 milliseconds