Lines Matching refs:pdev_dev
374 struct device *dev = adap->pdev_dev; in free_tx_desc()
478 dma_unmap_page(adap->pdev_dev, get_buf_addr(d), in free_rx_bufs()
505 dma_unmap_page(adap->pdev_dev, get_buf_addr(d), in unmap_rx_buf()
586 node = dev_to_node(adap->pdev_dev); in refill_fl()
601 mapping = dma_map_page(adap->pdev_dev, pg, 0, in refill_fl()
604 if (unlikely(dma_mapping_error(adap->pdev_dev, mapping))) { in refill_fl()
632 mapping = dma_map_page(adap->pdev_dev, pg, 0, PAGE_SIZE, in refill_fl()
634 if (unlikely(dma_mapping_error(adap->pdev_dev, mapping))) { in refill_fl()
1379 dev_err(adap->pdev_dev, in cxgb4_eth_xmit()
1394 unlikely(cxgb4_map_skb(adap->pdev_dev, skb, addr) < 0)) { in cxgb4_eth_xmit()
1691 dev_err(adapter->pdev_dev, in cxgb4_vf_eth_xmit()
1698 unlikely(cxgb4_map_skb(adapter->pdev_dev, skb, addr) < 0)) { in cxgb4_vf_eth_xmit()
2214 else if (cxgb4_map_skb(q->adap->pdev_dev, skb, in service_ofldq()
3052 dma_sync_single_for_cpu(q->adap->pdev_dev, in process_responses()
3390 iq->desc = alloc_ring(adap->pdev_dev, iq->size, iq->iqe_len, 0, in t4_sge_alloc_rxq()
3392 dev_to_node(adap->pdev_dev)); in t4_sge_alloc_rxq()
3432 fl->desc = alloc_ring(adap->pdev_dev, fl->size, sizeof(__be64), in t4_sge_alloc_rxq()
3435 dev_to_node(adap->pdev_dev)); in t4_sge_alloc_rxq()
3543 dev_warn(adap->pdev_dev, "Failed to set Congestion" in t4_sge_alloc_rxq()
3554 dma_free_coherent(adap->pdev_dev, iq->size * iq->iqe_len, in t4_sge_alloc_rxq()
3561 dma_free_coherent(adap->pdev_dev, flsz * sizeof(struct tx_desc), in t4_sge_alloc_rxq()
3595 txq->q.desc = alloc_ring(adap->pdev_dev, txq->q.size, in t4_sge_alloc_eth_txq()
3626 dma_free_coherent(adap->pdev_dev, in t4_sge_alloc_eth_txq()
3653 txq->q.desc = alloc_ring(adap->pdev_dev, nentries, in t4_sge_alloc_ctrl_txq()
3655 NULL, 0, dev_to_node(adap->pdev_dev)); in t4_sge_alloc_ctrl_txq()
3680 dma_free_coherent(adap->pdev_dev, in t4_sge_alloc_ctrl_txq()
3721 txq->q.desc = alloc_ring(adap->pdev_dev, txq->q.size, in t4_sge_alloc_uld_txq()
3752 dma_free_coherent(adap->pdev_dev, in t4_sge_alloc_uld_txq()
3773 dma_free_coherent(adap->pdev_dev, in free_txq()
3790 dma_free_coherent(adap->pdev_dev, (rq->size + 1) * rq->iqe_len, in free_rspq_fl()
3799 dma_free_coherent(adap->pdev_dev, fl->size * 8 + s->stat_len, in free_rspq_fl()
3989 dev_err(adap->pdev_dev, "bad SGE CPL MODE\n"); in t4_sge_init_soft()
4022 dev_err(adap->pdev_dev, "bad SGE FL page buffer sizes [%d, %d]\n", in t4_sge_init_soft()
4031 dev_err(adap->pdev_dev, "bad SGE FL MTU sizes [%d, %d]\n", in t4_sge_init_soft()
4115 dev_err(adap->pdev_dev, "Unsupported Chip version %d\n", in t4_sge_init()