Home
last modified time | relevance | path

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

/linux/drivers/char/
H A 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/drivers/ps3/
H A Dps3stor_lib.c167 alignment = min(__ffs(dev->bounce_size), in ps3stor_setup()
172 __func__, __LINE__, dev->bounce_size, dev->bounce_buf); in ps3stor_setup()
181 PS3_DMA_OTHER, dev->bounce_buf, dev->bounce_size); in ps3stor_setup()
192 dev->bounce_size, DMA_BIDIRECTIONAL); in ps3stor_setup()
209 dma_unmap_single(&dev->sbd.core, dev->bounce_dma, dev->bounce_size, in ps3stor_setup()
233 dma_unmap_single(&dev->sbd.core, dev->bounce_dma, dev->bounce_size, in ps3stor_teardown()
/linux/arch/powerpc/include/asm/
H A Dps3stor.h34 unsigned long bounce_size; member
/linux/drivers/mmc/host/
H A Dsdhci.c4194 unsigned int bounce_size; in sdhci_allocate_bounce_buffer() local
4199 bounce_size = host->bounce_buffer_size; in sdhci_allocate_bounce_buffer()
4200 max_blocks = bounce_size / 512; in sdhci_allocate_bounce_buffer()
4208 bounce_size = SZ_64K; in sdhci_allocate_bounce_buffer()
4214 if (mmc->max_req_size < bounce_size) in sdhci_allocate_bounce_buffer()
4215 bounce_size = mmc->max_req_size; in sdhci_allocate_bounce_buffer()
4216 max_blocks = bounce_size / 512; in sdhci_allocate_bounce_buffer()
4224 bounce_size, in sdhci_allocate_bounce_buffer()
4229 bounce_size); in sdhci_allocate_bounce_buffer()
4239 bounce_size, in sdhci_allocate_bounce_buffer()
[all …]
/linux/drivers/block/
H A Dps3disk.c428 dev->bounce_size = BOUNCE_SIZE; in ps3disk_probe()