Home
last modified time | relevance | path

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

/drivers/dma/
Dtegra186-gpc-dma.c224 struct tegra_dma_sg_req sg_req[]; member
493 ch_regs = &dma_desc->sg_req[dma_desc->sg_idx].ch_regs; in tegra_dma_configure_next_sg()
524 ch_regs = &dma_desc->sg_req[dma_desc->sg_idx].ch_regs; in tegra_dma_start()
594 struct tegra_dma_sg_req *sg_req; in tegra_dma_isr() local
616 sg_req = dma_desc->sg_req; in tegra_dma_isr()
617 dma_desc->bytes_xfer += sg_req[dma_desc->sg_idx].len; in tegra_dma_isr()
731 struct tegra_dma_sg_req *sg_req = dma_desc->sg_req; in tegra_dma_get_residual() local
747 sg_req[dma_desc->sg_idx].len - (wcount * 4); in tegra_dma_get_residual()
864 struct tegra_dma_sg_req *sg_req; in tegra_dma_prep_dma_memset() local
901 dma_desc = kzalloc(struct_size(dma_desc, sg_req, 1), GFP_NOWAIT); in tegra_dma_prep_dma_memset()
[all …]
Dtegra20-apb-dma.c311 struct tegra_dma_sg_req *sg_req; in tegra_dma_sg_req_get() local
316 sg_req = list_first_entry(&tdc->free_sg_req, typeof(*sg_req), in tegra_dma_sg_req_get()
318 list_del(&sg_req->node); 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()
428 struct tegra_dma_sg_req *sg_req) in tegra_dma_start() argument
430 struct tegra_dma_channel_regs *ch_regs = &sg_req->ch_regs; in tegra_dma_start()
491 struct tegra_dma_sg_req *sg_req; in tdc_start_head_req() local
493 sg_req = list_first_entry(&tdc->pending_sg_req, typeof(*sg_req), node); in tdc_start_head_req()
[all …]
Dstm32-dma.c194 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 …]
/drivers/s390/scsi/
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()
907 sg_init_one(&fc_req->sg_req, rspn_req, sizeof(*rspn_req)); in zfcp_fc_rspn()
912 ct_els->req = &fc_req->sg_req; in zfcp_fc_rspn()
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()
1170 if (zfcp_qdio_sg_one_sbale(sg_req) && zfcp_qdio_sg_one_sbale(sg_resp)) { 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()
[all …]
Dzfcp_fc.h145 struct scatterlist sg_req; member
/drivers/scsi/mvsas/
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()
/drivers/scsi/hisi_sas/
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()
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()
Dhisi_sas_v3_hw.c1387 struct scatterlist *sg_req; in prep_smp_v3_hw() local
1393 sg_req = &task->smp_task.smp_req; in prep_smp_v3_hw()
1394 req_len = sg_dma_len(sg_req); in prep_smp_v3_hw()
1395 req_dma_addr = sg_dma_address(sg_req); in prep_smp_v3_hw()
/drivers/virtio/
Dvirtio_mem.c1367 struct scatterlist *sgs[2], sg_req, sg_resp; in virtio_mem_send_request() local
1375 sg_init_one(&sg_req, &vm->req, sizeof(vm->req)); in virtio_mem_send_request()
1376 sgs[0] = &sg_req; in virtio_mem_send_request()
/drivers/scsi/pm8001/
Dpm80xx_hwi.c4134 struct scatterlist *sg_req, *sg_resp, *smp_req; in pm80xx_chip_smp_req() local
4146 sg_req = &task->smp_task.smp_req; in pm80xx_chip_smp_req()
4147 elem = dma_map_sg(pm8001_ha->dev, sg_req, 1, DMA_TO_DEVICE); in pm80xx_chip_smp_req()
4150 req_len = sg_dma_len(sg_req); in pm80xx_chip_smp_req()
4168 length = sg_req->length; in pm80xx_chip_smp_req()
4169 pm8001_dbg(pm8001_ha, IO, "SMP Frame Length %d\n", sg_req->length); in pm80xx_chip_smp_req()
Dpm8001_hwi.c3978 struct scatterlist *sg_req, *sg_resp; in pm8001_chip_smp_req() local
3987 sg_req = &task->smp_task.smp_req; in pm8001_chip_smp_req()
3988 elem = dma_map_sg(pm8001_ha->dev, sg_req, 1, DMA_TO_DEVICE); in pm8001_chip_smp_req()
3991 req_len = sg_dma_len(sg_req); in pm8001_chip_smp_req()