Searched refs:cur_sg (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.1/drivers/fpga/ |
D | zynq-fpga.c | 132 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 …]
|
/Linux-v6.1/drivers/mmc/host/ |
D | moxart-mmc.c | 134 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() 313 sgp = sg_virt(host->cur_sg); in moxart_transfer_pio()
|
D | wbsd.h | 151 struct scatterlist* cur_sg; /* Current SG entry */ member
|
D | wbsd.c | 242 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()
|
/Linux-v6.1/drivers/scsi/ |
D | esp_scsi.c | 400 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() 1358 ptr = scsi_kmap_atomic_sg(p->cur_sg, p->num_sg, in esp_data_bytes_sent() 1650 if (spriv->cur_residue == sg_dma_len(spriv->cur_sg)) { in esp_msgin_process() [all …]
|
D | esp_scsi.h | 262 struct scatterlist *cur_sg; member
|
/Linux-v6.1/drivers/nvme/target/ |
D | tcp.c | 89 struct scatterlist *cur_sg; member 377 cmd->cur_sg = cmd->req.sg; in nvmet_tcp_map_data() 579 while (cmd->cur_sg) { in nvmet_try_send_data() 580 struct page *page = sg_page(cmd->cur_sg); in nvmet_try_send_data() 581 u32 left = cmd->cur_sg->length - cmd->offset; in nvmet_try_send_data() 598 if (cmd->offset == cmd->cur_sg->length) { in nvmet_try_send_data() 599 cmd->cur_sg = sg_next(cmd->cur_sg); in nvmet_try_send_data()
|
/Linux-v6.1/net/ceph/ |
D | messenger_v2.c | 969 struct scatterlist *cur_sg; in setup_message_sgs() local 992 cur_sg = sgt->sgl; in setup_message_sgs() 994 init_sgs(&cur_sg, msg->front.iov_base, front_len(msg), in setup_message_sgs() 997 init_sgs(&cur_sg, msg->middle->vec.iov_base, middle_len(msg), in setup_message_sgs() 1001 init_sgs_cursor(&cur_sg, &cursor, data_pad); in setup_message_sgs() 1004 WARN_ON(!sg_is_last(cur_sg)); in setup_message_sgs() 1005 sg_set_buf(cur_sg, epilogue, in setup_message_sgs()
|
/Linux-v6.1/drivers/scsi/qla2xxx/ |
D | qla_iocb.c | 803 sg = sgx->cur_sg; in qla24xx_get_one_block_sg() 827 sgx->cur_sg = sg; in qla24xx_get_one_block_sg() 858 sgx.cur_sg = scsi_sglist(cmd); in qla24xx_walk_and_build_sglist_no_difb() 865 sgx.cur_sg = tc->sg; in qla24xx_walk_and_build_sglist_no_difb() 1760 sgx.cur_sg = scsi_sglist(cmd); in qla24xx_dif_start_scsi() 2138 sgx.cur_sg = scsi_sglist(cmd); in qla2xxx_dif_start_scsi_mq()
|
D | qla_def.h | 5077 struct scatterlist *cur_sg; /* IN */ member
|
/Linux-v6.1/drivers/gpu/drm/via/ |
D | via_dri1.c | 1917 drm_via_sg_info_t *cur_sg; in via_dmablit_workqueue() local 1935 cur_sg = blitq->blits[cur_released]; in via_dmablit_workqueue() 1942 via_free_sg_info(pdev, cur_sg); in via_dmablit_workqueue() 1943 kfree(cur_sg); in via_dmablit_workqueue()
|