Searched refs:sgd (Results 1 – 5 of 5) sorted by relevance
/drivers/scsi/ |
D | mvumi.h | 199 #define GET_COMPACT_SGD_SIZE(sgd) \ argument 200 ((((struct mvumi_compact_sgl *)(sgd))->flags) & 0x3FFFFFL) 202 #define SET_COMPACT_SGD_SIZE(sgd, sz) do { \ argument 203 (((struct mvumi_compact_sgl *)(sgd))->flags) &= ~0x3FFFFFL; \ 204 (((struct mvumi_compact_sgl *)(sgd))->flags) |= (sz); \ 206 #define sgd_getsz(_mhba, sgd, sz) do { \ argument 208 (sz) = GET_COMPACT_SGD_SIZE(sgd); \ 210 (sz) = (sgd)->size; \ 213 #define sgd_setsz(_mhba, sgd, sz) do { \ argument 215 SET_COMPACT_SGD_SIZE(sgd, sz); \ [all …]
|
/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 | 333 struct snic_sg_desc *sgd; in snic_pci_unmap_rsp_buf() local 335 sgd = req_to_sgl(rqi_to_req(rqi)); in snic_pci_unmap_rsp_buf() 336 SNIC_BUG_ON(sgd[0].addr == 0); in snic_pci_unmap_rsp_buf() 338 le64_to_cpu(sgd[0].addr), in snic_pci_unmap_rsp_buf() 339 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()
|
/drivers/block/ |
D | skd_main.c | 911 struct fit_sg_descriptor *sgd = &skreq->sksg_list[i]; in skd_preop_sg_list() local 915 sgd->control = FIT_SGD_CONTROL_NOT_LAST; in skd_preop_sg_list() 916 sgd->byte_count = cnt; in skd_preop_sg_list() 918 sgd->host_side_addr = dma_addr; in skd_preop_sg_list() 919 sgd->dev_side_addr = 0; in skd_preop_sg_list() 930 struct fit_sg_descriptor *sgd = &skreq->sksg_list[i]; in skd_preop_sg_list() local 934 i, sgd->byte_count, sgd->control, in skd_preop_sg_list() 935 sgd->host_side_addr, sgd->next_desc_ptr); in skd_preop_sg_list() 1611 struct fit_sg_descriptor *sgd = &skreq->sksg_list[i]; in skd_skreq_prep_buffering() local 1616 i, sgd->byte_count, sgd->control, in skd_skreq_prep_buffering() [all …]
|