Lines Matching refs:dma
195 &ring->dma, PAGE_SIZE); in mtnic_alloc_ring()
206 ring->buf_size, ring->dma); in mtnic_alloc_ring()
296 (void *)&cq->buf, &cq->dma, PAGE_SIZE); in mtnic_alloc_cq()
306 cq->buf_size, cq->dma, cq->db, in mtnic_alloc_cq()
412 &mtnic->eq.dma, PAGE_SIZE); in mtnic_alloc_eq()
734 config_cq->offset = ((cq->dma) & (PAGE_MASK)) >> 6; in mtnic_CONFIG_CQ()
736 config_cq->page_address[1] = cpu_to_be32(cq->dma); in mtnic_CONFIG_CQ()
739 , config_cq->page_address[1],cq->dma, in mtnic_CONFIG_CQ()
756 config_tx_ring->page_address[1] = cpu_to_be32(ring->dma); in mtnic_CONFIG_TX_RING()
776 DBG("Config RX ring starting at address:%lx\n", ring->dma); in mtnic_CONFIG_RX_RING()
778 config_rx_ring->page_address[1] = cpu_to_be32(ring->dma); in mtnic_CONFIG_RX_RING()
789 if (mtnic->eq.dma & (PAGE_MASK)) { in mtnic_CONFIG_EQ()
791 mtnic->eq.dma); in mtnic_CONFIG_EQ()
796 MTNIC_BC_PUT(eq->offset, mtnic->eq.dma >> 6, MTNIC_MASK_CONFIG_EQ_OFFSET); in mtnic_CONFIG_EQ()
799 eq->page_address[1] = cpu_to_be32(mtnic->eq.dma); in mtnic_CONFIG_EQ()