Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/dma/
Dtegra20-apb-dma.c327 struct tegra_dma_sg_req *sg_req = NULL; in tegra_dma_sg_req_get() local
332 sg_req = list_first_entry(&tdc->free_sg_req, in tegra_dma_sg_req_get()
333 typeof(*sg_req), node); in tegra_dma_sg_req_get()
334 list_del(&sg_req->node); in tegra_dma_sg_req_get()
336 return sg_req; in tegra_dma_sg_req_get()
340 sg_req = kzalloc(sizeof(struct tegra_dma_sg_req), GFP_NOWAIT); in tegra_dma_sg_req_get()
342 return sg_req; in tegra_dma_sg_req_get()
451 struct tegra_dma_sg_req *sg_req) in tegra_dma_start() argument
453 struct tegra_dma_channel_regs *ch_regs = &sg_req->ch_regs; in tegra_dma_start()
513 struct tegra_dma_sg_req *sg_req; in tdc_start_head_req() local
[all …]
Dstm32-dma.c188 struct stm32_dma_sg_req sg_req[]; member
548 struct stm32_dma_sg_req *sg_req; in stm32_dma_start_transfer() local
569 sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_start_transfer()
570 reg = &sg_req->chan_reg; in stm32_dma_start_transfer()
603 struct stm32_dma_sg_req *sg_req; in stm32_dma_configure_next_sg() local
613 sg_req = &chan->desc->sg_req[chan->next_sg]; in stm32_dma_configure_next_sg()
616 dma_sm0ar = sg_req->chan_reg.dma_sm0ar; in stm32_dma_configure_next_sg()
621 dma_sm1ar = sg_req->chan_reg.dma_sm1ar; in stm32_dma_configure_next_sg()
877 desc->sg_req[i].len = sg_dma_len(sg); in stm32_dma_prep_slave_sg()
879 nb_data_items = desc->sg_req[i].len / buswidth; in stm32_dma_prep_slave_sg()
[all …]
/Linux-v4.19/drivers/s390/scsi/
Dzfcp_fc.c373 fc_req->ct_els.req = &fc_req->sg_req; in zfcp_fc_ns_gid_pn_request()
375 sg_init_one(&fc_req->sg_req, gid_pn_req, sizeof(*gid_pn_req)); in zfcp_fc_ns_gid_pn_request()
531 fc_req->ct_els.req = &fc_req->sg_req; in zfcp_fc_adisc()
533 sg_init_one(&fc_req->sg_req, &fc_req->u.adisc.req, in zfcp_fc_adisc()
613 sg_init_one(&fc_req->sg_req, &fc_req->u.gpn_ft.req, in zfcp_fc_alloc_sg_env()
632 ct_els->req = &fc_req->sg_req; in zfcp_fc_send_gpn_ft()
786 sg_init_one(&fc_req->sg_req, gspn_req, sizeof(*gspn_req)); in zfcp_fc_gspn()
791 ct_els->req = &fc_req->sg_req; in zfcp_fc_gspn()
834 sg_init_one(&fc_req->sg_req, rspn_req, sizeof(*rspn_req)); in zfcp_fc_rspn()
839 ct_els->req = &fc_req->sg_req; in zfcp_fc_rspn()
Dzfcp_fsf.c976 struct scatterlist *sg_req, in zfcp_fsf_setup_ct_els_unchained() argument
979 zfcp_qdio_fill_next(qdio, q_req, sg_virt(sg_req), sg_req->length); in zfcp_fsf_setup_ct_els_unchained()
985 struct scatterlist *sg_req, in zfcp_fsf_setup_ct_els_sbals() argument
994 if (zfcp_qdio_sbals_from_sg(qdio, &req->qdio_req, sg_req)) in zfcp_fsf_setup_ct_els_sbals()
997 zfcp_qdio_real_bytes(sg_req); in zfcp_fsf_setup_ct_els_sbals()
1003 zfcp_qdio_set_data_div(qdio, &req->qdio_req, sg_nents(sg_req)); in zfcp_fsf_setup_ct_els_sbals()
1010 if (zfcp_qdio_sg_one_sbale(sg_req) && zfcp_qdio_sg_one_sbale(sg_resp)) { in zfcp_fsf_setup_ct_els_sbals()
1012 sg_req, sg_resp); in zfcp_fsf_setup_ct_els_sbals()
1019 if (zfcp_qdio_sbals_from_sg(qdio, &req->qdio_req, sg_req)) in zfcp_fsf_setup_ct_els_sbals()
1022 qtcb->bottom.support.req_buf_length = zfcp_qdio_real_bytes(sg_req); in zfcp_fsf_setup_ct_els_sbals()
[all …]
Dzfcp_fc.h130 struct scatterlist sg_req; member
/Linux-v4.19/drivers/scsi/hisi_sas/
Dhisi_sas_v1_hw.c962 struct scatterlist *sg_req; in prep_smp_v1_hw() local
968 sg_req = &task->smp_task.smp_req; in prep_smp_v1_hw()
969 req_len = sg_dma_len(sg_req); in prep_smp_v1_hw()
970 req_dma_addr = sg_dma_address(sg_req); in prep_smp_v1_hw()
Dhisi_sas_v3_hw.c1024 struct scatterlist *sg_req; in prep_smp_v3_hw() local
1030 sg_req = &task->smp_task.smp_req; in prep_smp_v3_hw()
1031 req_len = sg_dma_len(sg_req); in prep_smp_v3_hw()
1032 req_dma_addr = sg_dma_address(sg_req); in prep_smp_v3_hw()
Dhisi_sas_v2_hw.c1724 struct scatterlist *sg_req; in prep_smp_v2_hw() local
1730 sg_req = &task->smp_task.smp_req; in prep_smp_v2_hw()
1731 req_dma_addr = sg_dma_address(sg_req); in prep_smp_v2_hw()
/Linux-v4.19/drivers/scsi/mvsas/
Dmv_sas.c326 struct scatterlist *sg_req, *sg_resp; in mvs_task_prep_smp() local
338 sg_req = &task->smp_task.smp_req; in mvs_task_prep_smp()
339 elem = dma_map_sg(mvi->dev, sg_req, 1, PCI_DMA_TODEVICE); in mvs_task_prep_smp()
342 req_len = sg_dma_len(sg_req); in mvs_task_prep_smp()
366 hdr->cmd_tbl = cpu_to_le64(sg_dma_address(sg_req)); in mvs_task_prep_smp()
/Linux-v4.19/drivers/scsi/pm8001/
Dpm80xx_hwi.c3821 struct scatterlist *sg_req, *sg_resp; in pm80xx_chip_smp_req() local
3834 sg_req = &task->smp_task.smp_req; in pm80xx_chip_smp_req()
3835 elem = dma_map_sg(pm8001_ha->dev, sg_req, 1, PCI_DMA_TODEVICE); in pm80xx_chip_smp_req()
3838 req_len = sg_dma_len(sg_req); in pm80xx_chip_smp_req()
3857 length = sg_req->length; in pm80xx_chip_smp_req()
3859 pm8001_printk("SMP Frame Length %d\n", sg_req->length)); in pm80xx_chip_smp_req()
Dpm8001_hwi.c4240 struct scatterlist *sg_req, *sg_resp; in pm8001_chip_smp_req() local
4250 sg_req = &task->smp_task.smp_req; in pm8001_chip_smp_req()
4251 elem = dma_map_sg(pm8001_ha->dev, sg_req, 1, PCI_DMA_TODEVICE); in pm8001_chip_smp_req()
4254 req_len = sg_dma_len(sg_req); in pm8001_chip_smp_req()