Searched refs:csrrd32 (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/altera/ |
D | altera_tse_ethtool.c | 101 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 …]
|
D | altera_utils.c | 22 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()
|
D | altera_msgdma.c | 144 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()
|
D | altera_sgdma.c | 247 u32 sts = csrrd32(priv->rx_dma_csr, sgdma_csroffs(status)); in sgdma_rx_status() 516 return csrrd32(priv->rx_dma_csr, sgdma_csroffs(status)) in sgdma_rxbusy() 528 while ((csrrd32(priv->tx_dma_csr, sgdma_csroffs(status)) in sgdma_txbusy() 532 if (csrrd32(priv->tx_dma_csr, sgdma_csroffs(status)) in sgdma_txbusy()
|
D | altera_tse_main.c | 111 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()
|
D | altera_tse.h | 492 u32 csrrd32(void __iomem *mac, size_t offs) in csrrd32() function
|