Searched refs:sges (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_tx.c | 132 struct hinic_sge *sges) in tx_map_skb() argument 148 hinic_set_sge(&sges[0], dma_addr, skb_headlen(skb)); in tx_map_skb() 161 hinic_set_sge(&sges[i + 1], dma_addr, skb_frag_size(frag)); in tx_map_skb() 168 dma_unmap_page(&pdev->dev, hinic_sge_to_dma(&sges[j + 1]), in tx_map_skb() 169 sges[j + 1].len, DMA_TO_DEVICE); in tx_map_skb() 171 dma_unmap_single(&pdev->dev, hinic_sge_to_dma(&sges[0]), sges[0].len, in tx_map_skb() 183 struct hinic_sge *sges) in tx_unmap_skb() argument 191 dma_unmap_page(&pdev->dev, hinic_sge_to_dma(&sges[i + 1]), in tx_unmap_skb() 192 sges[i + 1].len, DMA_TO_DEVICE); in tx_unmap_skb() 194 dma_unmap_single(&pdev->dev, hinic_sge_to_dma(&sges[0]), sges[0].len, in tx_unmap_skb() [all …]
|
D | hinic_hw_qp.c | 597 struct hinic_sq_wqe *sq_wqe, struct hinic_sge *sges, in hinic_sq_prepare_wqe() argument 607 sq_wqe->buf_descs[i].sge = sges[i]; in hinic_sq_prepare_wqe() 780 void hinic_sq_get_sges(struct hinic_sq_wqe *sq_wqe, struct hinic_sge *sges, in hinic_sq_get_sges() argument 786 sges[i] = sq_wqe->buf_descs[i].sge; in hinic_sq_get_sges() 787 hinic_be32_to_cpu(&sges[i], sizeof(sges[i])); in hinic_sq_get_sges()
|
D | hinic_hw_qp.h | 179 struct hinic_sq_wqe *wqe, struct hinic_sge *sges, 204 void hinic_sq_get_sges(struct hinic_sq_wqe *wqe, struct hinic_sge *sges,
|
D | hinic_tx.h | 36 struct hinic_sge *sges; member
|
/drivers/infiniband/core/ |
D | rw.c | 205 ctx->map.sges = sge = kcalloc(sg_cnt, sizeof(*sge), GFP_KERNEL); in rdma_rw_init_map_wrs() 206 if (!ctx->map.sges) in rdma_rw_init_map_wrs() 245 kfree(ctx->map.sges); in rdma_rw_init_map_wrs() 598 kfree(ctx->map.sges); in rdma_rw_ctx_destroy()
|
/drivers/scsi/bfa/ |
D | bfi_ms.h | 677 struct bfi_sge_s sges[BFI_SGE_INLINE_MAX]; member
|
D | bfi.h | 143 struct bfi_sge_s sges[BFI_SGPG_SGES_MAX]; member
|
D | bfa_svc.h | 331 struct bfa_sge_s sges[BFI_SGE_INLINE_MAX]; member
|
D | bfa_fcpim.c | 2476 sge = &m->sges[0]; in bfa_ioim_send_ioreq() 2494 sgpge = sgpg->sgpg->sges; in bfa_ioim_send_ioreq()
|