Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/altera/
Daltera_tse_ethtool.c101 buf[0] = csrrd32(priv->mac_dev, in tse_fill_stats()
103 buf[1] = csrrd32(priv->mac_dev, in tse_fill_stats()
105 buf[2] = csrrd32(priv->mac_dev, in tse_fill_stats()
107 buf[3] = csrrd32(priv->mac_dev, in tse_fill_stats()
111 ext = (u64) csrrd32(priv->mac_dev, in tse_fill_stats()
114 ext |= csrrd32(priv->mac_dev, in tse_fill_stats()
119 ext = (u64) csrrd32(priv->mac_dev, in tse_fill_stats()
122 ext |= csrrd32(priv->mac_dev, in tse_fill_stats()
126 buf[6] = csrrd32(priv->mac_dev, in tse_fill_stats()
128 buf[7] = csrrd32(priv->mac_dev, in tse_fill_stats()
[all …]
Daltera_utils.c22 u32 value = csrrd32(ioaddr, offs); in tse_set_bit()
29 u32 value = csrrd32(ioaddr, offs); in tse_clear_bit()
36 u32 value = csrrd32(ioaddr, offs); in tse_bit_is_set()
42 u32 value = csrrd32(ioaddr, offs); in tse_bit_is_clear()
Daltera_msgdma.c144 inuse = csrrd32(priv->tx_dma_csr, msgdma_csroffs(rw_fill_level)) in msgdma_tx_completions()
151 status = csrrd32(priv->tx_dma_csr, msgdma_csroffs(status)); in msgdma_tx_completions()
195 if (csrrd32(priv->rx_dma_csr, msgdma_csroffs(resp_fill_level)) in msgdma_rx_status()
197 pktlength = csrrd32(priv->rx_dma_resp, in msgdma_rx_status()
199 pktstatus = csrrd32(priv->rx_dma_resp, in msgdma_rx_status()
Daltera_sgdma.c249 u32 sts = csrrd32(priv->rx_dma_csr, sgdma_csroffs(status)); in sgdma_rx_status()
518 return csrrd32(priv->rx_dma_csr, sgdma_csroffs(status)) in sgdma_rxbusy()
530 while ((csrrd32(priv->tx_dma_csr, sgdma_csroffs(status)) in sgdma_txbusy()
534 if (csrrd32(priv->tx_dma_csr, sgdma_csroffs(status)) in sgdma_txbusy()
Daltera_tse_main.c111 return csrrd32(priv->mac_dev, in altera_tse_mdio_read()
888 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
902 dat = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in reset_mac()
964 cmd = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in init_mac()
995 u32 value = csrrd32(priv->mac_dev, tse_csroffs(command_config)); in tse_set_mac()
Daltera_tse.h493 u32 csrrd32(void __iomem *mac, size_t offs) in csrrd32() function