Searched refs:sg_io (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/i2c/busses/ |
D | i2c-mxs.c | 129 struct scatterlist sg_io[2]; member 158 dma_unmap_sg(i2c->dev, &i2c->sg_io[0], 1, DMA_TO_DEVICE); in mxs_i2c_dma_finish() 159 dma_unmap_sg(i2c->dev, &i2c->sg_io[1], 1, DMA_FROM_DEVICE); in mxs_i2c_dma_finish() 161 dma_unmap_sg(i2c->dev, i2c->sg_io, 2, DMA_TO_DEVICE); in mxs_i2c_dma_finish() 200 sg_init_one(&i2c->sg_io[0], &i2c->addr_data, 1); in mxs_i2c_dma_setup_xfer() 201 dma_map_sg(i2c->dev, &i2c->sg_io[0], 1, DMA_TO_DEVICE); in mxs_i2c_dma_setup_xfer() 202 desc = dmaengine_prep_slave_sg(i2c->dmach, &i2c->sg_io[0], 1, in mxs_i2c_dma_setup_xfer() 229 sg_init_one(&i2c->sg_io[1], msg->buf, msg->len); in mxs_i2c_dma_setup_xfer() 230 dma_map_sg(i2c->dev, &i2c->sg_io[1], 1, DMA_FROM_DEVICE); in mxs_i2c_dma_setup_xfer() 231 desc = dmaengine_prep_slave_sg(i2c->dmach, &i2c->sg_io[1], 1, in mxs_i2c_dma_setup_xfer() [all …]
|
/Linux-v5.10/block/ |
D | scsi_ioctl.c | 282 static int sg_io(struct request_queue *q, struct gendisk *bd_disk, in sg_io() function 752 err = sg_io(q, bd_disk, &hdr, mode); in scsi_cdrom_send_packet() 809 err = sg_io(q, bd_disk, &hdr, mode); in scsi_cmd_ioctl()
|