Searched refs:sgd (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/scsi/ |
D | mvumi.h | 183 #define GET_COMPACT_SGD_SIZE(sgd) \ argument 184 ((((struct mvumi_compact_sgl *)(sgd))->flags) & 0x3FFFFFL) 186 #define SET_COMPACT_SGD_SIZE(sgd, sz) do { \ argument 187 (((struct mvumi_compact_sgl *)(sgd))->flags) &= ~0x3FFFFFL; \ 188 (((struct mvumi_compact_sgl *)(sgd))->flags) |= (sz); \ 190 #define sgd_getsz(_mhba, sgd, sz) do { \ argument 192 (sz) = GET_COMPACT_SGD_SIZE(sgd); \ 194 (sz) = (sgd)->size; \ 197 #define sgd_setsz(_mhba, sgd, sz) do { \ argument 199 SET_COMPACT_SGD_SIZE(sgd, sz); \ [all …]
|
/Linux-v5.4/drivers/block/ |
D | skd_main.c | 649 struct fit_sg_descriptor *sgd = &skreq->sksg_list[i]; in skd_preop_sg_list() local 653 sgd->control = FIT_SGD_CONTROL_NOT_LAST; in skd_preop_sg_list() 654 sgd->byte_count = cnt; in skd_preop_sg_list() 656 sgd->host_side_addr = dma_addr; in skd_preop_sg_list() 657 sgd->dev_side_addr = 0; in skd_preop_sg_list() 668 struct fit_sg_descriptor *sgd = &skreq->sksg_list[i]; in skd_preop_sg_list() local 672 i, sgd->byte_count, sgd->control, in skd_preop_sg_list() 673 sgd->host_side_addr, sgd->next_desc_ptr); in skd_preop_sg_list() 887 struct fit_sg_descriptor *sgd = &skspcl->req.sksg_list[0]; in skd_format_internal_skspcl() local 901 sgd->control = FIT_SGD_CONTROL_LAST; in skd_format_internal_skspcl() [all …]
|
/Linux-v5.4/drivers/scsi/snic/ |
D | snic_disc.c | 62 struct snic_sg_desc *sgd = NULL; in snic_report_tgt_init() local 69 sgd = req_to_sgl(req); in snic_report_tgt_init() 70 sgd[0].addr = cpu_to_le64(rsp_buf_pa); in snic_report_tgt_init() 71 sgd[0].len = cpu_to_le32(len); in snic_report_tgt_init() 72 sgd[0]._resvd = 0; in snic_report_tgt_init() 73 req->u.rpt_tgts.sg_addr = cpu_to_le64((ulong)sgd); in snic_report_tgt_init()
|
D | snic_io.c | 384 struct snic_sg_desc *sgd; in snic_pci_unmap_rsp_buf() local 386 sgd = req_to_sgl(rqi_to_req(rqi)); in snic_pci_unmap_rsp_buf() 387 SNIC_BUG_ON(sgd[0].addr == 0); in snic_pci_unmap_rsp_buf() 389 le64_to_cpu(sgd[0].addr), in snic_pci_unmap_rsp_buf() 390 le32_to_cpu(sgd[0].len), in snic_pci_unmap_rsp_buf()
|
D | snic_scsi.c | 169 struct snic_sg_desc *sgd; in snic_queue_icmnd_req() local 178 sgd = (struct snic_sg_desc *) req_to_sgl(rqi->req); in snic_queue_icmnd_req() 181 sgd->addr = cpu_to_le64(sg_dma_address(sg)); in snic_queue_icmnd_req() 182 sgd->len = cpu_to_le32(sg_dma_len(sg)); in snic_queue_icmnd_req() 183 sgd->_resvd = 0; in snic_queue_icmnd_req() 184 sgd++; in snic_queue_icmnd_req()
|
/Linux-v5.4/net/core/ |
D | skmsg.c | 81 struct scatterlist *sgd = NULL; in sk_msg_clone() local 100 sgd = sk_msg_elem(dst, dst->sg.end - 1); in sk_msg_clone() 102 if (sgd && in sk_msg_clone() 103 (sg_page(sge) == sg_page(sgd)) && in sk_msg_clone() 104 (sg_virt(sge) + off == sg_virt(sgd) + sgd->length)) { in sk_msg_clone() 105 sgd->length += sge_len; in sk_msg_clone()
|
/Linux-v5.4/sound/pci/riptide/ |
D | riptide.c | 458 struct sgd { /* scatter gather desriptor */ struct 477 struct sgd *sgdbuf; argument 1081 struct sgd *c; in riptide_handleirq() 1477 struct sgd *c, *p = NULL; in snd_riptide_prepare() 1499 sgd))); in snd_riptide_prepare() 1554 sizeof(struct sgd) * (DESC_MAX_MASK + 1), in snd_riptide_hw_params() 1557 (int)sizeof(struct sgd) * (DESC_MAX_MASK + 1)); in snd_riptide_hw_params() 1560 data->sgdbuf = (struct sgd *)sgdlist->area; in snd_riptide_hw_params()
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | imx6q-var-dt6customboard.dts | 74 compatible = "sgd,gktw70sdae4se", "panel-lvds";
|