Home
last modified time | relevance | path

Searched refs:bounce_size (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/char/
Dps3flash.c118 sector = *pos / dev->bounce_size * priv->chunk_sectors; in ps3flash_read()
119 offset = *pos % dev->bounce_size; in ps3flash_read()
123 n = min_t(u64, remaining, dev->bounce_size - offset); in ps3flash_read()
187 sector = *pos / dev->bounce_size * priv->chunk_sectors; in ps3flash_write()
188 offset = *pos % dev->bounce_size; in ps3flash_write()
192 n = min_t(u64, remaining, dev->bounce_size - offset); in ps3flash_write()
197 if (n != dev->bounce_size) in ps3flash_write()
374 dev->bounce_size = ps3flash_bounce_buffer.size; in ps3flash_probe()
376 priv->chunk_sectors = dev->bounce_size / dev->blk_size; in ps3flash_probe()
/Linux-v5.10/drivers/ps3/
Dps3stor_lib.c166 alignment = min(__ffs(dev->bounce_size), in ps3stor_setup()
171 __func__, __LINE__, dev->bounce_size, dev->bounce_buf); in ps3stor_setup()
180 PS3_DMA_OTHER, dev->bounce_buf, dev->bounce_size); in ps3stor_setup()
191 dev->bounce_size, DMA_BIDIRECTIONAL); in ps3stor_setup()
208 dma_unmap_single(&dev->sbd.core, dev->bounce_dma, dev->bounce_size, in ps3stor_setup()
232 dma_unmap_single(&dev->sbd.core, dev->bounce_dma, dev->bounce_size, in ps3stor_teardown()
/Linux-v5.10/drivers/scsi/
Dps3rom.c117 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size); in ps3rom_atapi_request()
189 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size); in ps3rom_write_request()
301 dev->bounce_size); in ps3rom_interrupt()
358 dev->bounce_size = BOUNCE_SIZE; in ps3rom_probe()
/Linux-v5.10/arch/powerpc/include/asm/
Dps3stor.h34 unsigned long bounce_size; member
/Linux-v5.10/drivers/block/
Dps3disk.c431 dev->bounce_size = BOUNCE_SIZE; in ps3disk_probe()
456 blk_queue_max_hw_sectors(queue, dev->bounce_size >> 9); in ps3disk_probe()
463 blk_queue_max_segment_size(queue, dev->bounce_size); in ps3disk_probe()
/Linux-v5.10/drivers/mmc/host/
Dsdhci.c4033 unsigned int bounce_size; in sdhci_allocate_bounce_buffer() local
4041 bounce_size = SZ_64K; in sdhci_allocate_bounce_buffer()
4047 if (mmc->max_req_size < bounce_size) in sdhci_allocate_bounce_buffer()
4048 bounce_size = mmc->max_req_size; in sdhci_allocate_bounce_buffer()
4049 max_blocks = bounce_size / 512; in sdhci_allocate_bounce_buffer()
4057 bounce_size, in sdhci_allocate_bounce_buffer()
4062 bounce_size); in sdhci_allocate_bounce_buffer()
4072 bounce_size, in sdhci_allocate_bounce_buffer()
4078 host->bounce_buffer_size = bounce_size; in sdhci_allocate_bounce_buffer()
4082 mmc->max_seg_size = bounce_size; in sdhci_allocate_bounce_buffer()
[all …]