Lines Matching refs:pdev_dev
382 struct device *dev = adapter->pdev_dev; in free_tx_desc()
479 dma_unmap_page(adapter->pdev_dev, get_buf_addr(sdesc), in free_rx_bufs()
508 dma_unmap_page(adapter->pdev_dev, get_buf_addr(sdesc), in unmap_rx_buf()
645 dma_addr = dma_map_page(adapter->pdev_dev, page, 0, in refill_fl()
648 if (unlikely(dma_mapping_error(adapter->pdev_dev, dma_addr))) { in refill_fl()
684 dma_addr = dma_map_page(adapter->pdev_dev, page, 0, PAGE_SIZE, in refill_fl()
686 if (unlikely(dma_mapping_error(adapter->pdev_dev, dma_addr))) { in refill_fl()
1224 dev_err(adapter->pdev_dev, in t4vf_eth_xmit()
1231 unlikely(map_skb(adapter->pdev_dev, skb, addr) < 0)) { in t4vf_eth_xmit()
1824 dma_sync_single_for_cpu(rspq->adapter->pdev_dev, in process_responses()
1962 dev_err(adapter->pdev_dev, in process_intrq()
1979 dev_err(adapter->pdev_dev, in process_intrq()
1985 dev_err(adapter->pdev_dev, in process_intrq()
1990 dev_err(adapter->pdev_dev, in process_intrq()
2233 rspq->desc = alloc_ring(adapter->pdev_dev, rspq->size, rspq->iqe_len, in t4vf_sge_alloc_rxq()
2283 fl->desc = alloc_ring(adapter->pdev_dev, fl->size, in t4vf_sge_alloc_rxq()
2387 dma_free_coherent(adapter->pdev_dev, rspq->size * rspq->iqe_len, in t4vf_sge_alloc_rxq()
2394 dma_free_coherent(adapter->pdev_dev, flsz * EQ_UNIT, in t4vf_sge_alloc_rxq()
2430 txq->q.desc = alloc_ring(adapter->pdev_dev, txq->q.size, in t4vf_sge_alloc_eth_txq()
2480 dma_free_coherent(adapter->pdev_dev, in t4vf_sge_alloc_eth_txq()
2515 dma_free_coherent(adapter->pdev_dev, in free_txq()
2535 dma_free_coherent(adapter->pdev_dev, (rspq->size + 1) * rspq->iqe_len, in free_rspq_fl()
2545 dma_free_coherent(adapter->pdev_dev, in free_rspq_fl()
2650 dev_err(adapter->pdev_dev, "bad SGE FL buffer sizes [%d, %d]\n", in t4vf_sge_init()
2656 dev_err(adapter->pdev_dev, "bad SGE CPL MODE\n"); in t4vf_sge_init()