| /drivers/dma/ |
| A D | tegra186-gpc-dma.c | 622 sg_req = dma_desc->sg_req; in tegra_dma_isr() 738 struct tegra_dma_sg_req *sg_req = dma_desc->sg_req; in tegra_dma_get_residual() local 917 sg_req = dma_desc->sg_req; in tegra_dma_prep_dma_memset() 926 sg_req[0].ch_regs.csr = csr; in tegra_dma_prep_dma_memset() 929 sg_req[0].len = len; in tegra_dma_prep_dma_memset() 986 sg_req = dma_desc->sg_req; in tegra_dma_prep_dma_memcpy() 999 sg_req[0].len = len; in tegra_dma_prep_dma_memcpy() 1078 sg_req = dma_desc->sg_req; in tegra_dma_prep_slave_sg() 1118 sg_req[i].len = len; in tegra_dma_prep_slave_sg() 1215 sg_req = dma_desc->sg_req; in tegra_dma_prep_dma_cyclic() [all …]
|
| A D | tegra20-apb-dma.c | 316 sg_req = list_first_entry(&tdc->free_sg_req, typeof(*sg_req), in tegra_dma_sg_req_get() 320 return sg_req; in tegra_dma_sg_req_get() 324 sg_req = kzalloc(sizeof(*sg_req), GFP_NOWAIT); in tegra_dma_sg_req_get() 326 return sg_req; in tegra_dma_sg_req_get() 493 sg_req = list_first_entry(&tdc->pending_sg_req, typeof(*sg_req), node); in tdc_start_head_req() 1116 if (!sg_req) { in tegra_dma_prep_slave_sg() 1134 sg_req->req_len = len; in tegra_dma_prep_slave_sg() 1138 sg_req->last_sg = true; in tegra_dma_prep_slave_sg() 1253 if (!sg_req) { in tegra_dma_prep_dma_cyclic() 1337 sg_req = list_first_entry(&sg_req_list, typeof(*sg_req), node); in tegra_dma_free_chan_resources() [all …]
|
| /drivers/dma/stm32/ |
| A D | stm32-dma.c | 583 sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_start_transfer() 584 reg = &sg_req->chan_reg; in stm32_dma_start_transfer() 628 sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_configure_next_sg() 697 sg_req = &chan->desc->sg_req[chan->desc->num_sgs - 1]; in stm32_dma_post_resume_reconfigure() 699 sg_req = &chan->desc->sg_req[chan->next_sg - 1]; in stm32_dma_post_resume_reconfigure() 870 sg_req = &chan->desc->sg_req[chan->desc->num_sgs - 1]; in stm32_dma_resume() 872 sg_req = &chan->desc->sg_req[chan->next_sg - 1]; in stm32_dma_resume() 1332 sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_is_current_sg() 1333 period_len = sg_req->len; in stm32_dma_is_current_sg() 1362 struct stm32_dma_sg_req *sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_desc_residue() local [all …]
|
| /drivers/s390/scsi/ |
| A 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() 562 fc_req->ct_els.req = &fc_req->sg_req; in zfcp_fc_adisc() 564 sg_init_one(&fc_req->sg_req, &fc_req->u.adisc.req, in zfcp_fc_adisc() 691 sg_init_one(&fc_req->sg_req, &fc_req->u.gpn_ft.req, in zfcp_fc_alloc_sg_env() 710 ct_els->req = &fc_req->sg_req; in zfcp_fc_send_gpn_ft() 864 sg_init_one(&fc_req->sg_req, gspn_req, sizeof(*gspn_req)); in zfcp_fc_gspn() 869 ct_els->req = &fc_req->sg_req; in zfcp_fc_gspn() 923 sg_init_one(&fc_req->sg_req, rspn_req, sizeof(*rspn_req)); in zfcp_fc_rspn() 928 ct_els->req = &fc_req->sg_req; in zfcp_fc_rspn()
|
| A D | zfcp_fsf.c | 1136 struct scatterlist *sg_req, in zfcp_fsf_setup_ct_els_unchained() argument 1139 zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_req), sg_req->length); in zfcp_fsf_setup_ct_els_unchained() 1145 struct scatterlist *sg_req, in zfcp_fsf_setup_ct_els_sbals() argument 1154 if (zfcp_qdio_sbals_from_sg(qdio, &req->qdio_req, sg_req)) in zfcp_fsf_setup_ct_els_sbals() 1157 zfcp_qdio_real_bytes(sg_req); in zfcp_fsf_setup_ct_els_sbals() 1163 zfcp_qdio_set_data_div(qdio, &req->qdio_req, sg_nents(sg_req)); in zfcp_fsf_setup_ct_els_sbals() 1172 sg_req, sg_resp); in zfcp_fsf_setup_ct_els_sbals() 1179 if (zfcp_qdio_sbals_from_sg(qdio, &req->qdio_req, sg_req)) in zfcp_fsf_setup_ct_els_sbals() 1182 qtcb->bottom.support.req_buf_length = zfcp_qdio_real_bytes(sg_req); in zfcp_fsf_setup_ct_els_sbals() 1198 struct scatterlist *sg_req, in zfcp_fsf_setup_ct_els() argument [all …]
|
| A D | zfcp_fc.h | 145 struct scatterlist sg_req; member
|
| /drivers/scsi/mvsas/ |
| A D | mv_sas.c | 299 struct scatterlist *sg_req, *sg_resp; in mvs_task_prep_smp() local 311 sg_req = &task->smp_task.smp_req; in mvs_task_prep_smp() 312 elem = dma_map_sg(mvi->dev, sg_req, 1, DMA_TO_DEVICE); in mvs_task_prep_smp() 315 req_len = sg_dma_len(sg_req); in mvs_task_prep_smp() 339 hdr->cmd_tbl = cpu_to_le64(sg_dma_address(sg_req)); in mvs_task_prep_smp()
|
| /drivers/scsi/hisi_sas/ |
| A 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()
|
| A 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()
|
| A D | hisi_sas_v3_hw.c | 1440 struct scatterlist *sg_req; in prep_smp_v3_hw() local 1447 sg_req = &task->smp_task.smp_req; in prep_smp_v3_hw() 1448 req_len = sg_dma_len(sg_req); in prep_smp_v3_hw() 1449 req_dma_addr = sg_dma_address(sg_req); in prep_smp_v3_hw()
|
| /drivers/scsi/pm8001/ |
| A D | pm80xx_hwi.c | 4176 struct scatterlist *sg_req, *sg_resp, *smp_req; in pm80xx_chip_smp_req() local 4188 sg_req = &task->smp_task.smp_req; in pm80xx_chip_smp_req() 4189 elem = dma_map_sg(pm8001_ha->dev, sg_req, 1, DMA_TO_DEVICE); in pm80xx_chip_smp_req() 4192 req_len = sg_dma_len(sg_req); in pm80xx_chip_smp_req() 4210 length = sg_req->length; in pm80xx_chip_smp_req() 4211 pm8001_dbg(pm8001_ha, IO, "SMP Frame Length %d\n", sg_req->length); in pm80xx_chip_smp_req()
|
| A D | pm8001_hwi.c | 3923 struct scatterlist *sg_req, *sg_resp; in pm8001_chip_smp_req() local 3932 sg_req = &task->smp_task.smp_req; in pm8001_chip_smp_req() 3933 elem = dma_map_sg(pm8001_ha->dev, sg_req, 1, DMA_TO_DEVICE); in pm8001_chip_smp_req() 3936 req_len = sg_dma_len(sg_req); in pm8001_chip_smp_req()
|
| /drivers/virtio/ |
| A D | virtio_mem.c | 1392 struct scatterlist *sgs[2], sg_req, sg_resp; in virtio_mem_send_request() local 1400 sg_init_one(&sg_req, &vm->req, sizeof(vm->req)); in virtio_mem_send_request() 1401 sgs[0] = &sg_req; in virtio_mem_send_request()
|