Lines Matching refs:pdev_dev

375 	struct device *dev = adap->pdev_dev;  in free_tx_desc()
500 dma_unmap_page(adap->pdev_dev, get_buf_addr(d), in free_rx_bufs()
527 dma_unmap_page(adap->pdev_dev, get_buf_addr(d), in unmap_rx_buf()
608 node = dev_to_node(adap->pdev_dev); in refill_fl()
623 mapping = dma_map_page(adap->pdev_dev, pg, 0, in refill_fl()
626 if (unlikely(dma_mapping_error(adap->pdev_dev, mapping))) { in refill_fl()
654 mapping = dma_map_page(adap->pdev_dev, pg, 0, PAGE_SIZE, in refill_fl()
656 if (unlikely(dma_mapping_error(adap->pdev_dev, mapping))) { in refill_fl()
1439 dev_err(adap->pdev_dev, in cxgb4_eth_xmit()
1454 unlikely(cxgb4_map_skb(adap->pdev_dev, skb, addr) < 0)) { in cxgb4_eth_xmit()
1768 dev_err(adapter->pdev_dev, in cxgb4_vf_eth_xmit()
1775 unlikely(cxgb4_map_skb(adapter->pdev_dev, skb, addr) < 0)) { in cxgb4_vf_eth_xmit()
2300 else if (cxgb4_map_skb(q->adap->pdev_dev, skb, in service_ofldq()
3219 dma_sync_single_for_cpu(q->adap->pdev_dev, in process_responses()
3557 iq->desc = alloc_ring(adap->pdev_dev, iq->size, iq->iqe_len, 0, in t4_sge_alloc_rxq()
3559 dev_to_node(adap->pdev_dev)); in t4_sge_alloc_rxq()
3600 fl->desc = alloc_ring(adap->pdev_dev, fl->size, sizeof(__be64), in t4_sge_alloc_rxq()
3603 dev_to_node(adap->pdev_dev)); in t4_sge_alloc_rxq()
3711 dev_warn(adap->pdev_dev, "Failed to set Congestion" in t4_sge_alloc_rxq()
3722 dma_free_coherent(adap->pdev_dev, iq->size * iq->iqe_len, in t4_sge_alloc_rxq()
3729 dma_free_coherent(adap->pdev_dev, flsz * sizeof(struct tx_desc), in t4_sge_alloc_rxq()
3773 txq->q.desc = alloc_ring(adap->pdev_dev, txq->q.size, in t4_sge_alloc_eth_txq()
3828 dma_free_coherent(adap->pdev_dev, in t4_sge_alloc_eth_txq()
3858 txq->q.desc = alloc_ring(adap->pdev_dev, nentries, in t4_sge_alloc_ctrl_txq()
3860 NULL, 0, dev_to_node(adap->pdev_dev)); in t4_sge_alloc_ctrl_txq()
3887 dma_free_coherent(adap->pdev_dev, in t4_sge_alloc_ctrl_txq()
3929 txq->q.desc = alloc_ring(adap->pdev_dev, txq->q.size, in t4_sge_alloc_uld_txq()
3962 dma_free_coherent(adap->pdev_dev, in t4_sge_alloc_uld_txq()
3983 dma_free_coherent(adap->pdev_dev, in free_txq()
4000 dma_free_coherent(adap->pdev_dev, (rq->size + 1) * rq->iqe_len, in free_rspq_fl()
4009 dma_free_coherent(adap->pdev_dev, fl->size * 8 + s->stat_len, in free_rspq_fl()
4199 dev_err(adap->pdev_dev, "bad SGE CPL MODE\n"); in t4_sge_init_soft()
4232 dev_err(adap->pdev_dev, "bad SGE FL page buffer sizes [%d, %d]\n", in t4_sge_init_soft()
4241 dev_err(adap->pdev_dev, "bad SGE FL MTU sizes [%d, %d]\n", in t4_sge_init_soft()
4325 dev_err(adap->pdev_dev, "Unsupported Chip version %d\n", in t4_sge_init()