/linux-6.1.9/drivers/dma/ |
D | tegra186-gpc-dma.c | 221 struct tegra_dma_sg_req sg_req[]; member 489 ch_regs = &dma_desc->sg_req[dma_desc->sg_idx].ch_regs; in tegra_dma_configure_next_sg() 520 ch_regs = &dma_desc->sg_req[dma_desc->sg_idx].ch_regs; in tegra_dma_start() 590 struct tegra_dma_sg_req *sg_req; in tegra_dma_isr() local 612 sg_req = dma_desc->sg_req; in tegra_dma_isr() 613 dma_desc->bytes_xfer += sg_req[dma_desc->sg_idx].len; in tegra_dma_isr() 727 struct tegra_dma_sg_req *sg_req = dma_desc->sg_req; in tegra_dma_get_residual() local 743 sg_req[dma_desc->sg_idx].len - (wcount * 4); in tegra_dma_get_residual() 857 struct tegra_dma_sg_req *sg_req; in tegra_dma_prep_dma_memset() local 894 dma_desc = kzalloc(struct_size(dma_desc, sg_req, 1), GFP_NOWAIT); in tegra_dma_prep_dma_memset() [all …]
|
D | tegra20-apb-dma.c | 317 struct tegra_dma_sg_req *sg_req; in tegra_dma_sg_req_get() local 322 sg_req = list_first_entry(&tdc->free_sg_req, typeof(*sg_req), in tegra_dma_sg_req_get() 324 list_del(&sg_req->node); in tegra_dma_sg_req_get() 326 return sg_req; in tegra_dma_sg_req_get() 330 sg_req = kzalloc(sizeof(*sg_req), GFP_NOWAIT); in tegra_dma_sg_req_get() 332 return sg_req; in tegra_dma_sg_req_get() 434 struct tegra_dma_sg_req *sg_req) in tegra_dma_start() argument 436 struct tegra_dma_channel_regs *ch_regs = &sg_req->ch_regs; in tegra_dma_start() 497 struct tegra_dma_sg_req *sg_req; in tdc_start_head_req() local 499 sg_req = list_first_entry(&tdc->pending_sg_req, typeof(*sg_req), node); in tdc_start_head_req() [all …]
|
D | stm32-dma.c | 194 struct stm32_dma_sg_req sg_req[]; member 561 struct stm32_dma_sg_req *sg_req; in stm32_dma_start_transfer() local 584 sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_start_transfer() 585 reg = &sg_req->chan_reg; in stm32_dma_start_transfer() 623 struct stm32_dma_sg_req *sg_req; in stm32_dma_configure_next_sg() local 629 sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_configure_next_sg() 632 dma_sm0ar = sg_req->chan_reg.dma_sm0ar; in stm32_dma_configure_next_sg() 637 dma_sm1ar = sg_req->chan_reg.dma_sm1ar; in stm32_dma_configure_next_sg() 686 struct stm32_dma_sg_req *sg_req; in stm32_dma_post_resume_reconfigure() local 698 sg_req = &chan->desc->sg_req[chan->desc->num_sgs - 1]; in stm32_dma_post_resume_reconfigure() [all …]
|
/linux-6.1.9/drivers/s390/scsi/ |
D | zfcp_fc.c | 397 fc_req->ct_els.req = &fc_req->sg_req; in zfcp_fc_ns_gid_pn_request() 399 sg_init_one(&fc_req->sg_req, gid_pn_req, sizeof(*gid_pn_req)); in zfcp_fc_ns_gid_pn_request() 558 fc_req->ct_els.req = &fc_req->sg_req; in zfcp_fc_adisc() 560 sg_init_one(&fc_req->sg_req, &fc_req->u.adisc.req, in zfcp_fc_adisc() 690 sg_init_one(&fc_req->sg_req, &fc_req->u.gpn_ft.req, in zfcp_fc_alloc_sg_env() 709 ct_els->req = &fc_req->sg_req; in zfcp_fc_send_gpn_ft() 863 sg_init_one(&fc_req->sg_req, gspn_req, sizeof(*gspn_req)); in zfcp_fc_gspn() 868 ct_els->req = &fc_req->sg_req; in zfcp_fc_gspn() 911 sg_init_one(&fc_req->sg_req, rspn_req, sizeof(*rspn_req)); in zfcp_fc_rspn() 916 ct_els->req = &fc_req->sg_req; in zfcp_fc_rspn()
|
D | zfcp_fsf.c | 1133 struct scatterlist *sg_req, in zfcp_fsf_setup_ct_els_unchained() argument 1136 zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_req), sg_req->length); in zfcp_fsf_setup_ct_els_unchained() 1142 struct scatterlist *sg_req, in zfcp_fsf_setup_ct_els_sbals() argument 1151 if (zfcp_qdio_sbals_from_sg(qdio, &req->qdio_req, sg_req)) in zfcp_fsf_setup_ct_els_sbals() 1154 zfcp_qdio_real_bytes(sg_req); in zfcp_fsf_setup_ct_els_sbals() 1160 zfcp_qdio_set_data_div(qdio, &req->qdio_req, sg_nents(sg_req)); in zfcp_fsf_setup_ct_els_sbals() 1167 if (zfcp_qdio_sg_one_sbale(sg_req) && zfcp_qdio_sg_one_sbale(sg_resp)) { in zfcp_fsf_setup_ct_els_sbals() 1169 sg_req, sg_resp); in zfcp_fsf_setup_ct_els_sbals() 1176 if (zfcp_qdio_sbals_from_sg(qdio, &req->qdio_req, sg_req)) in zfcp_fsf_setup_ct_els_sbals() 1179 qtcb->bottom.support.req_buf_length = zfcp_qdio_real_bytes(sg_req); in zfcp_fsf_setup_ct_els_sbals() [all …]
|
D | zfcp_fc.h | 145 struct scatterlist sg_req; member
|
/linux-6.1.9/drivers/scsi/hisi_sas/ |
D | hisi_sas_v1_hw.c | 920 struct scatterlist *sg_req; in prep_smp_v1_hw() local 926 sg_req = &task->smp_task.smp_req; in prep_smp_v1_hw() 927 req_len = sg_dma_len(sg_req); in prep_smp_v1_hw() 928 req_dma_addr = sg_dma_address(sg_req); in prep_smp_v1_hw()
|
D | hisi_sas_v2_hw.c | 1703 struct scatterlist *sg_req; in prep_smp_v2_hw() local 1709 sg_req = &task->smp_task.smp_req; in prep_smp_v2_hw() 1710 req_dma_addr = sg_dma_address(sg_req); in prep_smp_v2_hw()
|
D | hisi_sas_v3_hw.c | 1346 struct scatterlist *sg_req; in prep_smp_v3_hw() local 1352 sg_req = &task->smp_task.smp_req; in prep_smp_v3_hw() 1353 req_len = sg_dma_len(sg_req); in prep_smp_v3_hw() 1354 req_dma_addr = sg_dma_address(sg_req); in prep_smp_v3_hw()
|
/linux-6.1.9/drivers/scsi/mvsas/ |
D | mv_sas.c | 313 struct scatterlist *sg_req, *sg_resp; in mvs_task_prep_smp() local 325 sg_req = &task->smp_task.smp_req; in mvs_task_prep_smp() 326 elem = dma_map_sg(mvi->dev, sg_req, 1, DMA_TO_DEVICE); in mvs_task_prep_smp() 329 req_len = sg_dma_len(sg_req); in mvs_task_prep_smp() 353 hdr->cmd_tbl = cpu_to_le64(sg_dma_address(sg_req)); in mvs_task_prep_smp()
|
/linux-6.1.9/drivers/virtio/ |
D | virtio_mem.c | 1324 struct scatterlist *sgs[2], sg_req, sg_resp; in virtio_mem_send_request() local 1332 sg_init_one(&sg_req, &vm->req, sizeof(vm->req)); in virtio_mem_send_request() 1333 sgs[0] = &sg_req; in virtio_mem_send_request()
|
/linux-6.1.9/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 4211 struct scatterlist *sg_req, *sg_resp, *smp_req; in pm80xx_chip_smp_req() local 4223 sg_req = &task->smp_task.smp_req; in pm80xx_chip_smp_req() 4224 elem = dma_map_sg(pm8001_ha->dev, sg_req, 1, DMA_TO_DEVICE); in pm80xx_chip_smp_req() 4227 req_len = sg_dma_len(sg_req); in pm80xx_chip_smp_req() 4245 length = sg_req->length; in pm80xx_chip_smp_req() 4246 pm8001_dbg(pm8001_ha, IO, "SMP Frame Length %d\n", sg_req->length); in pm80xx_chip_smp_req()
|
D | pm8001_hwi.c | 4077 struct scatterlist *sg_req, *sg_resp; in pm8001_chip_smp_req() local 4086 sg_req = &task->smp_task.smp_req; in pm8001_chip_smp_req() 4087 elem = dma_map_sg(pm8001_ha->dev, sg_req, 1, DMA_TO_DEVICE); in pm8001_chip_smp_req() 4090 req_len = sg_dma_len(sg_req); in pm8001_chip_smp_req()
|