Home
last modified time | relevance | path

Searched refs:sg_req (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/dma/
A Dtegra186-gpc-dma.c616 sg_req = dma_desc->sg_req; in tegra_dma_isr()
731 struct tegra_dma_sg_req *sg_req = dma_desc->sg_req; in tegra_dma_get_residual() local
907 sg_req = dma_desc->sg_req; in tegra_dma_prep_dma_memset()
916 sg_req[0].ch_regs.csr = csr; in tegra_dma_prep_dma_memset()
919 sg_req[0].len = len; in tegra_dma_prep_dma_memset()
976 sg_req = dma_desc->sg_req; in tegra_dma_prep_dma_memcpy()
989 sg_req[0].len = len; in tegra_dma_prep_dma_memcpy()
1068 sg_req = dma_desc->sg_req; in tegra_dma_prep_slave_sg()
1108 sg_req[i].len = len; in tegra_dma_prep_slave_sg()
1205 sg_req = dma_desc->sg_req; in tegra_dma_prep_dma_cyclic()
[all …]
A Dtegra20-apb-dma.c316 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 …]
/linux/drivers/dma/stm32/
A Dstm32-dma.c583 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 …]
/linux/drivers/s390/scsi/
A Dzfcp_fc.c397 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()
557 fc_req->ct_els.req = &fc_req->sg_req; in zfcp_fc_adisc()
559 sg_init_one(&fc_req->sg_req, &fc_req->u.adisc.req, in zfcp_fc_adisc()
686 sg_init_one(&fc_req->sg_req, &fc_req->u.gpn_ft.req, in zfcp_fc_alloc_sg_env()
705 ct_els->req = &fc_req->sg_req; in zfcp_fc_send_gpn_ft()
859 sg_init_one(&fc_req->sg_req, gspn_req, sizeof(*gspn_req)); in zfcp_fc_gspn()
864 ct_els->req = &fc_req->sg_req; in zfcp_fc_gspn()
918 sg_init_one(&fc_req->sg_req, rspn_req, sizeof(*rspn_req)); in zfcp_fc_rspn()
923 ct_els->req = &fc_req->sg_req; in zfcp_fc_rspn()
A Dzfcp_fsf.c1136 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 Dzfcp_fc.h145 struct scatterlist sg_req; member
/linux/drivers/scsi/hisi_sas/
A Dhisi_sas_v1_hw.c920 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 Dhisi_sas_v2_hw.c1703 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 Dhisi_sas_v3_hw.c1386 struct scatterlist *sg_req; in prep_smp_v3_hw() local
1392 sg_req = &task->smp_task.smp_req; in prep_smp_v3_hw()
1393 req_len = sg_dma_len(sg_req); in prep_smp_v3_hw()
1394 req_dma_addr = sg_dma_address(sg_req); in prep_smp_v3_hw()
/linux/drivers/scsi/mvsas/
A Dmv_sas.c309 struct scatterlist *sg_req, *sg_resp; in mvs_task_prep_smp() local
321 sg_req = &task->smp_task.smp_req; in mvs_task_prep_smp()
322 elem = dma_map_sg(mvi->dev, sg_req, 1, DMA_TO_DEVICE); in mvs_task_prep_smp()
325 req_len = sg_dma_len(sg_req); in mvs_task_prep_smp()
349 hdr->cmd_tbl = cpu_to_le64(sg_dma_address(sg_req)); in mvs_task_prep_smp()
/linux/drivers/virtio/
A Dvirtio_mem.c1390 struct scatterlist *sgs[2], sg_req, sg_resp; in virtio_mem_send_request() local
1398 sg_init_one(&sg_req, &vm->req, sizeof(vm->req)); in virtio_mem_send_request()
1399 sgs[0] = &sg_req; in virtio_mem_send_request()
/linux/drivers/scsi/pm8001/
A Dpm80xx_hwi.c4114 struct scatterlist *sg_req, *sg_resp, *smp_req; in pm80xx_chip_smp_req() local
4126 sg_req = &task->smp_task.smp_req; in pm80xx_chip_smp_req()
4127 elem = dma_map_sg(pm8001_ha->dev, sg_req, 1, DMA_TO_DEVICE); in pm80xx_chip_smp_req()
4130 req_len = sg_dma_len(sg_req); in pm80xx_chip_smp_req()
4148 length = sg_req->length; in pm80xx_chip_smp_req()
4149 pm8001_dbg(pm8001_ha, IO, "SMP Frame Length %d\n", sg_req->length); in pm80xx_chip_smp_req()
A Dpm8001_hwi.c3922 struct scatterlist *sg_req, *sg_resp; in pm8001_chip_smp_req() local
3931 sg_req = &task->smp_task.smp_req; in pm8001_chip_smp_req()
3932 elem = dma_map_sg(pm8001_ha->dev, sg_req, 1, DMA_TO_DEVICE); in pm8001_chip_smp_req()
3935 req_len = sg_dma_len(sg_req); in pm8001_chip_smp_req()

Completed in 70 milliseconds