Home
last modified time | relevance | path

Searched refs:sgd (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/drivers/scsi/
Dmvumi.h183 #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-v6.6/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c28 struct scatterlist *sgs, *sgd; in rk_cipher_need_fallback() local
37 sgd = req->dst; in rk_cipher_need_fallback()
38 while (sgs && sgd) { in rk_cipher_need_fallback()
43 if (!IS_ALIGNED(sgd->offset, sizeof(u32))) { in rk_cipher_need_fallback()
52 dtodo = min(len, sgd->length); in rk_cipher_need_fallback()
63 sgd = sg_next(sgd); in rk_cipher_need_fallback()
290 struct scatterlist *sgd, unsigned int todo) in crypto_dma_start() argument
294 CRYPTO_WRITE(dev, RK_CRYPTO_BTDMAS, sg_dma_address(sgd)); in crypto_dma_start()
304 struct scatterlist *sgs, *sgd; in rk_cipher_run() local
334 sgd = areq->dst; in rk_cipher_run()
[all …]
/Linux-v6.6/drivers/scsi/snic/
Dsnic_disc.c48 struct snic_sg_desc *sgd = NULL; in snic_report_tgt_init() local
55 sgd = req_to_sgl(req); in snic_report_tgt_init()
56 sgd[0].addr = cpu_to_le64(rsp_buf_pa); in snic_report_tgt_init()
57 sgd[0].len = cpu_to_le32(len); in snic_report_tgt_init()
58 sgd[0]._resvd = 0; in snic_report_tgt_init()
59 req->u.rpt_tgts.sg_addr = cpu_to_le64((ulong)sgd); in snic_report_tgt_init()
Dsnic_io.c370 struct snic_sg_desc *sgd; in snic_pci_unmap_rsp_buf() local
372 sgd = req_to_sgl(rqi_to_req(rqi)); in snic_pci_unmap_rsp_buf()
373 SNIC_BUG_ON(sgd[0].addr == 0); in snic_pci_unmap_rsp_buf()
375 le64_to_cpu(sgd[0].addr), in snic_pci_unmap_rsp_buf()
376 le32_to_cpu(sgd[0].len), in snic_pci_unmap_rsp_buf()
Dsnic_scsi.c155 struct snic_sg_desc *sgd; in snic_queue_icmnd_req() local
164 sgd = (struct snic_sg_desc *) req_to_sgl(rqi->req); in snic_queue_icmnd_req()
167 sgd->addr = cpu_to_le64(sg_dma_address(sg)); in snic_queue_icmnd_req()
168 sgd->len = cpu_to_le32(sg_dma_len(sg)); in snic_queue_icmnd_req()
169 sgd->_resvd = 0; in snic_queue_icmnd_req()
170 sgd++; in snic_queue_icmnd_req()
/Linux-v6.6/net/core/
Dskmsg.c92 struct scatterlist *sgd = NULL; in sk_msg_clone() local
111 sgd = sk_msg_elem(dst, dst->sg.end - 1); in sk_msg_clone()
113 if (sgd && in sk_msg_clone()
114 (sg_page(sge) == sg_page(sgd)) && in sk_msg_clone()
115 (sg_virt(sge) + off == sg_virt(sgd) + sgd->length)) { in sk_msg_clone()
116 sgd->length += sge_len; in sk_msg_clone()
/Linux-v6.6/sound/pci/riptide/
Driptide.c456 struct sgd { /* scatter gather desriptor */ struct
475 struct sgd *sgdbuf; argument
1079 struct sgd *c; in riptide_handleirq()
1483 struct sgd *c, *p = NULL; in snd_riptide_prepare()
1505 sgd))); in snd_riptide_prepare()
1559 sizeof(struct sgd) * (DESC_MAX_MASK + 1), in snd_riptide_hw_params()
1563 (int)sizeof(struct sgd) * (DESC_MAX_MASK + 1)); in snd_riptide_hw_params()
1566 data->sgdbuf = (struct sgd *)sgdlist->area; in snd_riptide_hw_params()
/Linux-v6.6/arch/arm/boot/dts/nxp/imx/
Dimx6q-var-dt6customboard.dts74 compatible = "sgd,gktw70sdae4se", "panel-lvds";