Lines Matching refs:dev
318 map = dma_map_single(&qdev->pdev->dev, in ql_release_to_lrg_buf_free_list()
322 err = dma_mapping_error(&qdev->pdev->dev, map); in ql_release_to_lrg_buf_free_list()
1806 map = dma_map_single(&qdev->pdev->dev, in ql_populate_free_queue()
1811 err = dma_mapping_error(&qdev->pdev->dev, map); in ql_populate_free_queue()
1946 dma_unmap_single(&qdev->pdev->dev, in ql_process_mac_tx_intr()
1952 dma_unmap_page(&qdev->pdev->dev, in ql_process_mac_tx_intr()
2022 dma_unmap_single(&qdev->pdev->dev, in ql_process_mac_rx_intr()
2067 dma_unmap_single(&qdev->pdev->dev, in ql_process_macip_rx_intr()
2318 map = dma_map_single(&qdev->pdev->dev, skb->data, len, DMA_TO_DEVICE); in ql_send_map()
2320 err = dma_mapping_error(&qdev->pdev->dev, map); in ql_send_map()
2356 map = dma_map_single(&qdev->pdev->dev, oal, in ql_send_map()
2360 err = dma_mapping_error(&qdev->pdev->dev, map); in ql_send_map()
2380 map = skb_frag_dma_map(&qdev->pdev->dev, frag, 0, skb_frag_size(frag), in ql_send_map()
2383 err = dma_mapping_error(&qdev->pdev->dev, map); in ql_send_map()
2422 dma_unmap_single(&qdev->pdev->dev, in ql_send_map()
2430 dma_unmap_page(&qdev->pdev->dev, in ql_send_map()
2436 dma_unmap_single(&qdev->pdev->dev, in ql_send_map()
2525 dma_alloc_coherent(&qdev->pdev->dev, (size_t)qdev->req_q_size, in ql_alloc_net_req_rsp_queues()
2535 dma_alloc_coherent(&qdev->pdev->dev, (size_t)qdev->rsp_q_size, in ql_alloc_net_req_rsp_queues()
2541 dma_free_coherent(&qdev->pdev->dev, (size_t)qdev->req_q_size, in ql_alloc_net_req_rsp_queues()
2558 dma_free_coherent(&qdev->pdev->dev, qdev->req_q_size, in ql_free_net_req_rsp_queues()
2563 dma_free_coherent(&qdev->pdev->dev, qdev->rsp_q_size, in ql_free_net_req_rsp_queues()
2588 dma_alloc_coherent(&qdev->pdev->dev, in ql_alloc_buffer_queues()
2609 dma_alloc_coherent(&qdev->pdev->dev, in ql_alloc_buffer_queues()
2615 dma_free_coherent(&qdev->pdev->dev, in ql_alloc_buffer_queues()
2636 dma_free_coherent(&qdev->pdev->dev, qdev->lrg_buf_q_alloc_size, in ql_free_buffer_queues()
2642 dma_free_coherent(&qdev->pdev->dev, qdev->small_buf_q_alloc_size, in ql_free_buffer_queues()
2662 dma_alloc_coherent(&qdev->pdev->dev, in ql_alloc_small_buffers()
2697 dma_free_coherent(&qdev->pdev->dev, in ql_free_small_buffers()
2715 dma_unmap_single(&qdev->pdev->dev, in ql_free_large_buffers()
2770 map = dma_map_single(&qdev->pdev->dev, skb->data, in ql_alloc_large_buffers()
2774 err = dma_mapping_error(&qdev->pdev->dev, map); in ql_alloc_large_buffers()
2859 dma_alloc_coherent(&qdev->pdev->dev, PAGE_SIZE, in ql_alloc_mem_resources()
2915 dma_free_coherent(&qdev->pdev->dev, PAGE_SIZE, in ql_alloc_mem_resources()
2930 dma_free_coherent(&qdev->pdev->dev, PAGE_SIZE, in ql_free_mem_resources()
3633 dma_unmap_single(&qdev->pdev->dev, in ql_reset_work()
3638 dma_unmap_page(&qdev->pdev->dev, in ql_reset_work()
3773 err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); in ql3xxx_probe()
3785 SET_NETDEV_DEV(ndev, &pdev->dev); in ql3xxx_probe()