Searched refs:dma_low (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/via/ |
D | via_dri1.c | 160 unsigned int dma_low; member 291 dev_priv->dma_low += 8; \ 299 dev_priv->dma_low += 8; \ 2890 return ((hw_addr <= dev_priv->dma_low) ? in via_cmdbuf_space() 2891 (dev_priv->dma_high + hw_addr - dev_priv->dma_low) : in via_cmdbuf_space() 2892 (hw_addr - dev_priv->dma_low)); in via_cmdbuf_space() 2904 return ((hw_addr <= dev_priv->dma_low) ? in via_cmdbuf_lag() 2905 (dev_priv->dma_low - hw_addr) : in via_cmdbuf_lag() 2906 (dev_priv->dma_wrap + dev_priv->dma_low - hw_addr)); in via_cmdbuf_lag() 2921 cur_addr = dev_priv->dma_low; in via_cmdbuf_wait() [all …]
|
/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 384 u32 dma_low, dma_high, result, value; in myri10ge_send_cmd() local 394 dma_low = MYRI10GE_LOWPART_TO_U32(mgp->cmd_bus); in myri10ge_send_cmd() 397 buf->response_addr.low = htonl(dma_low); in myri10ge_send_cmd() 511 u32 dma_low, dma_high; in myri10ge_dummy_rdma() local 522 dma_low = MYRI10GE_LOWPART_TO_U32(mgp->cmd_bus); in myri10ge_dummy_rdma() 526 buf[1] = htonl(dma_low); /* confirm addr LSW */ in myri10ge_dummy_rdma() 529 buf[4] = htonl(dma_low); /* dummy addr LSW */ in myri10ge_dummy_rdma() 714 u32 dma_low, dma_high, size; in myri10ge_load_firmware() local 762 dma_low = MYRI10GE_LOWPART_TO_U32(mgp->cmd_bus); in myri10ge_load_firmware() 766 buf[1] = htonl(dma_low); /* confirm addr LSW */ in myri10ge_load_firmware()
|
/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 986 static inline u32 dma_low(dma_addr_t addr) in dma_low() function 1003 writel(dma_low(np->ring_addr), base + NvRegRxRingPhysAddr); in setup_hw_rings() 1005 …writel(dma_low(np->ring_addr + np->rx_ring_size*sizeof(struct ring_desc)), base + NvRegTxRingPhysA… in setup_hw_rings() 1008 writel(dma_low(np->ring_addr), base + NvRegRxRingPhysAddr); in setup_hw_rings() 1012 …writel(dma_low(np->ring_addr + np->rx_ring_size*sizeof(struct ring_desc_ex)), base + NvRegTxRingPh… in setup_hw_rings() 1887 np->put_rx.ex->buflow = cpu_to_le32(dma_low(np->put_rx_ctx->dma)); in nv_alloc_rx_optimized() 2448 put_tx->buflow = cpu_to_le32(dma_low(np->put_tx_ctx->dma)); in nv_start_xmit_optimized() 2498 put_tx->buflow = cpu_to_le32(dma_low(np->put_tx_ctx->dma)); in nv_start_xmit_optimized() 5201 np->tx_ring.ex[0].buflow = cpu_to_le32(dma_low(test_dma_addr)); in nv_loopback_test()
|