Searched refs:buffrag (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_init.c | 131 struct qlcnic_skb_frag *buffrag; in qlcnic_release_tx_buffers() local 138 buffrag = cmd_buf->frag_array; in qlcnic_release_tx_buffers() 139 if (buffrag->dma) { in qlcnic_release_tx_buffers() 140 dma_unmap_single(&adapter->pdev->dev, buffrag->dma, in qlcnic_release_tx_buffers() 141 buffrag->length, DMA_TO_DEVICE); in qlcnic_release_tx_buffers() 142 buffrag->dma = 0ULL; in qlcnic_release_tx_buffers() 145 buffrag++; in qlcnic_release_tx_buffers() 146 if (buffrag->dma) { in qlcnic_release_tx_buffers() 148 buffrag->dma, buffrag->length, in qlcnic_release_tx_buffers() 150 buffrag->dma = 0ULL; in qlcnic_release_tx_buffers()
|
D | qlcnic_io.c | 653 struct qlcnic_skb_frag *buffrag; in qlcnic_xmit_frame() local 730 buffrag = &pbuf->frag_array[i]; in qlcnic_xmit_frame() 731 hwdesc->buffer_length[k] = cpu_to_le16(buffrag->length); in qlcnic_xmit_frame() 734 hwdesc->addr_buffer1 = cpu_to_le64(buffrag->dma); in qlcnic_xmit_frame() 737 hwdesc->addr_buffer2 = cpu_to_le64(buffrag->dma); in qlcnic_xmit_frame() 740 hwdesc->addr_buffer3 = cpu_to_le64(buffrag->dma); in qlcnic_xmit_frame() 743 hwdesc->addr_buffer4 = cpu_to_le64(buffrag->dma); in qlcnic_xmit_frame()
|
/Linux-v5.15/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_init.c | 116 struct netxen_skb_frag *buffrag; in netxen_release_tx_buffers() local 123 buffrag = cmd_buf->frag_array; in netxen_release_tx_buffers() 124 if (buffrag->dma) { in netxen_release_tx_buffers() 125 dma_unmap_single(&adapter->pdev->dev, buffrag->dma, in netxen_release_tx_buffers() 126 buffrag->length, DMA_TO_DEVICE); in netxen_release_tx_buffers() 127 buffrag->dma = 0ULL; in netxen_release_tx_buffers() 130 buffrag++; in netxen_release_tx_buffers() 131 if (buffrag->dma) { in netxen_release_tx_buffers() 133 buffrag->dma, buffrag->length, in netxen_release_tx_buffers() 135 buffrag->dma = 0ULL; in netxen_release_tx_buffers()
|
D | netxen_nic_main.c | 2034 struct netxen_skb_frag *buffrag; in netxen_nic_xmit_frame() local 2101 buffrag = &pbuf->frag_array[i]; in netxen_nic_xmit_frame() 2103 hwdesc->buffer_length[k] = cpu_to_le16(buffrag->length); in netxen_nic_xmit_frame() 2106 hwdesc->addr_buffer1 = cpu_to_le64(buffrag->dma); in netxen_nic_xmit_frame() 2109 hwdesc->addr_buffer2 = cpu_to_le64(buffrag->dma); in netxen_nic_xmit_frame() 2112 hwdesc->addr_buffer3 = cpu_to_le64(buffrag->dma); in netxen_nic_xmit_frame() 2115 hwdesc->addr_buffer4 = cpu_to_le64(buffrag->dma); in netxen_nic_xmit_frame()
|