Home
last modified time | relevance | path

Searched refs:csrrd32 (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/altera/
Daltera_tse_ethtool.c89 buf[0] = csrrd32(priv->mac_dev, in tse_fill_stats()
91 buf[1] = csrrd32(priv->mac_dev, in tse_fill_stats()
93 buf[2] = csrrd32(priv->mac_dev, in tse_fill_stats()
95 buf[3] = csrrd32(priv->mac_dev, in tse_fill_stats()
99 ext = (u64) csrrd32(priv->mac_dev, in tse_fill_stats()
102 ext |= csrrd32(priv->mac_dev, in tse_fill_stats()
107 ext = (u64) csrrd32(priv->mac_dev, in tse_fill_stats()
110 ext |= csrrd32(priv->mac_dev, in tse_fill_stats()
114 buf[6] = csrrd32(priv->mac_dev, in tse_fill_stats()
116 buf[7] = csrrd32(priv->mac_dev, in tse_fill_stats()
[all …]
Daltera_utils.c11 u32 value = csrrd32(ioaddr, offs); in tse_set_bit()
18 u32 value = csrrd32(ioaddr, offs); in tse_clear_bit()
25 u32 value = csrrd32(ioaddr, offs); in tse_bit_is_set()
31 u32 value = csrrd32(ioaddr, offs); in tse_bit_is_clear()
Daltera_msgdma.c133 inuse = csrrd32(priv->tx_dma_csr, msgdma_csroffs(rw_fill_level)) in msgdma_tx_completions()
141 status = csrrd32(priv->tx_dma_csr, msgdma_csroffs(status)); in msgdma_tx_completions()
185 if (csrrd32(priv->rx_dma_csr, msgdma_csroffs(resp_fill_level)) in msgdma_rx_status()
187 pktlength = csrrd32(priv->rx_dma_resp, in msgdma_rx_status()
189 pktstatus = csrrd32(priv->rx_dma_resp, in msgdma_rx_status()
Daltera_sgdma.c236 u32 sts = csrrd32(priv->rx_dma_csr, sgdma_csroffs(status)); in sgdma_rx_status()
505 return csrrd32(priv->rx_dma_csr, sgdma_csroffs(status)) in sgdma_rxbusy()
517 while ((csrrd32(priv->tx_dma_csr, sgdma_csroffs(status)) in sgdma_txbusy()
521 if (csrrd32(priv->tx_dma_csr, sgdma_csroffs(status)) in sgdma_txbusy()
Daltera_tse_main.c104 return csrrd32(priv->mac_dev, in altera_tse_mdio_read()
667 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
681 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
743 cmd = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in init_mac()
774 u32 value = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in tse_set_mac()
1067 ctrl = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in alt_tse_mac_link_up()
Daltera_tse.h487 u32 csrrd32(void __iomem *mac, size_t offs) in csrrd32() function