Home
last modified time | relevance | path

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

/openbmc/linux/drivers/fpga/
H A 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()
426 priv->cur_sg = sgt->sgl; in zynq_fpga_ops_write()
435 priv->cur_sg = NULL; in zynq_fpga_ops_write()
[all …]
/openbmc/linux/drivers/mmc/host/
H A 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()
313 sgp = sg_virt(host->cur_sg); in moxart_transfer_pio()
H A Dwbsd.h151 struct scatterlist* cur_sg; /* Current SG entry */ member
H A 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_local_page(sg_page(host->cur_sg)) + host->cur_sg->offset; in wbsd_map_sg()
/openbmc/linux/drivers/scsi/
H A 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()
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 …]
H A Desp_scsi.h262 struct scatterlist *cur_sg; member
/openbmc/linux/drivers/nvme/target/
H A Dtcp.c117 struct scatterlist *cur_sg; member
406 cmd->cur_sg = cmd->req.sg; in nvmet_tcp_map_data()
612 while (cmd->cur_sg) { in nvmet_try_send_data()
616 struct page *page = sg_page(cmd->cur_sg); in nvmet_try_send_data()
618 u32 left = cmd->cur_sg->length - cmd->offset; in nvmet_try_send_data()
635 if (cmd->offset == cmd->cur_sg->length) { in nvmet_try_send_data()
636 cmd->cur_sg = sg_next(cmd->cur_sg); in nvmet_try_send_data()
/openbmc/linux/net/ceph/
H A Dmessenger_v2.c1012 struct scatterlist *cur_sg; in setup_message_sgs() local
1042 cur_sg = sgt->sgl; in setup_message_sgs()
1044 init_sgs(&cur_sg, msg->front.iov_base, front_len(msg), in setup_message_sgs()
1047 init_sgs(&cur_sg, msg->middle->vec.iov_base, middle_len(msg), in setup_message_sgs()
1051 init_sgs_pages(&cur_sg, pages, dpos, dlen, data_pad); in setup_message_sgs()
1054 init_sgs_cursor(&cur_sg, &cursor, data_pad); in setup_message_sgs()
1058 WARN_ON(!sg_is_last(cur_sg)); in setup_message_sgs()
1059 sg_set_buf(cur_sg, epilogue, in setup_message_sgs()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_iocb.c803 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()
1763 sgx.cur_sg = scsi_sglist(cmd); in qla24xx_dif_start_scsi()
2145 sgx.cur_sg = scsi_sglist(cmd); in qla2xxx_dif_start_scsi_mq()
H A Dqla_def.h5166 struct scatterlist *cur_sg; /* IN */ member