Home
last modified time | relevance | path

Searched refs:cur_sg (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/fpga/
Dzynq-fpga.c132 struct scatterlist *cur_sg; member
167 while (priv->cur_sg) { in zynq_step_dma()
172 addr = sg_dma_address(priv->cur_sg); in zynq_step_dma()
173 len = sg_dma_len(priv->cur_sg); in zynq_step_dma()
181 priv->cur_sg = NULL; in zynq_step_dma()
183 priv->cur_sg = sg_next(priv->cur_sg); in zynq_step_dma()
199 if (first && priv->cur_sg) { in zynq_step_dma()
202 } else if (!priv->cur_sg) { in zynq_step_dma()
224 (intr_status & IXR_DMA_DONE_MASK) && priv->cur_sg) { in zynq_fpga_isr()
426 priv->cur_sg = sgt->sgl; in zynq_fpga_ops_write()
[all …]
/kernel/linux/linux-5.10/drivers/mmc/host/
Dmoxart-mmc.c134 struct scatterlist *cur_sg; member
154 host->cur_sg = data->sg; in moxart_init_sg()
156 host->data_remain = host->cur_sg->length; in moxart_init_sg()
167 host->cur_sg++; in moxart_next_sg()
171 host->data_remain = host->cur_sg->length; in moxart_next_sg()
314 sgp = sg_virt(host->cur_sg); in moxart_transfer_pio()
Dwbsd.h151 struct scatterlist* cur_sg; /* Current SG entry */ member
Dwbsd.c242 host->cur_sg = data->sg; in wbsd_init_sg()
246 host->remain = host->cur_sg->length; in wbsd_init_sg()
254 host->cur_sg++; in wbsd_next_sg()
262 host->remain = host->cur_sg->length; in wbsd_next_sg()
270 return kmap_atomic(sg_page(host->cur_sg)) + host->cur_sg->offset; in wbsd_map_sg()
/kernel/linux/linux-5.10/drivers/gpu/drm/via/
Dvia_dmablit.c498 drm_via_sg_info_t *cur_sg; in via_dmablit_workqueue() local
516 cur_sg = blitq->blits[cur_released]; in via_dmablit_workqueue()
523 via_free_sg_info(dev->pdev, cur_sg); in via_dmablit_workqueue()
524 kfree(cur_sg); in via_dmablit_workqueue()
/kernel/linux/linux-5.10/drivers/scsi/
Desp_scsi.c400 spriv->cur_sg = sg; in esp_map_dma()
414 return sg_dma_address(p->cur_sg) + in esp_cur_dma_addr()
415 (sg_dma_len(p->cur_sg) - in esp_cur_dma_addr()
453 p->prv_sg = p->cur_sg; in esp_advance_dma()
454 p->cur_sg = sg_next(p->cur_sg); in esp_advance_dma()
455 p->cur_residue = sg_dma_len(p->cur_sg); in esp_advance_dma()
476 ent->saved_cur_sg = spriv->cur_sg; in esp_save_pointers()
491 spriv->cur_sg = ent->saved_cur_sg; in esp_restore_pointers()
1366 ptr = scsi_kmap_atomic_sg(p->cur_sg, p->num_sg, in esp_data_bytes_sent()
1658 if (spriv->cur_residue == sg_dma_len(spriv->cur_sg)) { in esp_msgin_process()
[all …]
Desp_scsi.h262 struct scatterlist *cur_sg; member
/kernel/linux/linux-5.10/drivers/nvme/target/
Dtcp.c81 struct scatterlist *cur_sg; member
369 cmd->cur_sg = cmd->req.sg; in nvmet_tcp_map_data()
588 while (cmd->cur_sg) { in nvmet_try_send_data()
589 struct page *page = sg_page(cmd->cur_sg); in nvmet_try_send_data()
590 u32 left = cmd->cur_sg->length - cmd->offset; in nvmet_try_send_data()
607 if (cmd->offset == cmd->cur_sg->length) { in nvmet_try_send_data()
608 cmd->cur_sg = sg_next(cmd->cur_sg); in nvmet_try_send_data()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_iocb.c856 sg = sgx->cur_sg; in qla24xx_get_one_block_sg()
880 sgx->cur_sg = sg; in qla24xx_get_one_block_sg()
911 sgx.cur_sg = scsi_sglist(cmd); in qla24xx_walk_and_build_sglist_no_difb()
918 sgx.cur_sg = tc->sg; in qla24xx_walk_and_build_sglist_no_difb()
1796 sgx.cur_sg = scsi_sglist(cmd); in qla24xx_dif_start_scsi()
2145 sgx.cur_sg = scsi_sglist(cmd); in qla2xxx_dif_start_scsi_mq()
Dqla_def.h4884 struct scatterlist *cur_sg; /* IN */ member