Home
last modified time | relevance | path

Searched refs:bounce_size (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-6.6/drivers/vdpa/vdpa_user/
H A Diova_domain.c169 if (iova >= domain->bounce_size) in vduse_domain_bounce()
235 bounce_pfns = domain->bounce_size >> PAGE_SHIFT; in vduse_domain_free_kernel_bounce_pages()
257 if (count != (domain->bounce_size >> PAGE_SHIFT)) in vduse_domain_add_user_bounce_pages()
295 count = domain->bounce_size >> PAGE_SHIFT; in vduse_domain_remove_user_bounce_pages()
326 vduse_iotlb_del_range(domain, 0, domain->bounce_size - 1); in vduse_domain_reset_bounce_map()
343 ret = vduse_iotlb_add_range(domain, 0, domain->bounce_size - 1, in vduse_domain_init_bounce_map()
382 unsigned long limit = domain->bounce_size - 1; in vduse_domain_map_page()
494 if (iova < domain->bounce_size) in vduse_domain_mmap_fault()
552 vduse_domain_create(unsigned long iova_limit, size_t bounce_size) in vduse_domain_create() argument
560 bounce_pfns = PAGE_ALIGN(bounce_size) >> PAGE_SHIF in vduse_domain_create()
[all...]
H A Diova_domain.h31 size_t bounce_size; member
74 size_t bounce_size);
H A Dvduse_dev.c117 unsigned int bounce_size; member
858 return domain->bounce_size; in vduse_dev_max_mapping_size()
1008 if (dev->umem->iova != iova || size != dev->domain->bounce_size) in vduse_dev_dereg_umem()
1035 size != dev->domain->bounce_size || in vduse_dev_reg_umem()
1356 map->last == dev->domain->bounce_size - 1) in vduse_dev_ioctl()
1385 vduse_dev_dereg_umem(dev, 0, dev->domain->bounce_size); in vduse_dev_release()
1733 return sysfs_emit(buf, "%u\n", dev->bounce_size); in bounce_size_show()
1741 unsigned int bounce_size; in bounce_size_store() local
1749 ret = kstrtouint(buf, 10, &bounce_size); in bounce_size_store()
1754 if (bounce_size > VDUSE_MAX_BOUNCE_SIZ in bounce_size_store()
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/ps3/
H A 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()
/kernel/linux/linux-6.6/drivers/ps3/
H A 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()
/kernel/linux/linux-5.10/drivers/scsi/
H A 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()
/kernel/linux/linux-6.6/drivers/scsi/
H A 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()
297 dev->bounce_size); in ps3rom_interrupt()
353 dev->bounce_size = BOUNCE_SIZE; in ps3rom_probe()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dps3stor.h34 unsigned long bounce_size; member
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dps3stor.h34 unsigned long bounce_size; member
/kernel/linux/linux-5.10/drivers/block/
H A 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()
/kernel/linux/linux-6.6/drivers/block/
H A Dps3disk.c416 dev->bounce_size = BOUNCE_SIZE; in ps3disk_probe()
444 blk_queue_max_hw_sectors(queue, dev->bounce_size >> 9); in ps3disk_probe()
451 blk_queue_max_segment_size(queue, dev->bounce_size); in ps3disk_probe()
/kernel/linux/linux-5.10/drivers/mmc/host/
H A Dsdhci.c4106 unsigned int bounce_size; in sdhci_allocate_bounce_buffer() local
4114 bounce_size = SZ_64K; in sdhci_allocate_bounce_buffer()
4120 if (mmc->max_req_size < bounce_size) in sdhci_allocate_bounce_buffer()
4121 bounce_size = mmc->max_req_size; in sdhci_allocate_bounce_buffer()
4122 max_blocks = bounce_size / 512; in sdhci_allocate_bounce_buffer()
4130 bounce_size, in sdhci_allocate_bounce_buffer()
4135 bounce_size); in sdhci_allocate_bounce_buffer()
4145 bounce_size, in sdhci_allocate_bounce_buffer()
4151 host->bounce_buffer_size = bounce_size; in sdhci_allocate_bounce_buffer()
4155 mmc->max_seg_size = bounce_size; in sdhci_allocate_bounce_buffer()
[all...]
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Dsdhci.c4149 unsigned int bounce_size; in sdhci_allocate_bounce_buffer() local
4157 bounce_size = SZ_64K; in sdhci_allocate_bounce_buffer()
4163 if (mmc->max_req_size < bounce_size) in sdhci_allocate_bounce_buffer()
4164 bounce_size = mmc->max_req_size; in sdhci_allocate_bounce_buffer()
4165 max_blocks = bounce_size / 512; in sdhci_allocate_bounce_buffer()
4173 bounce_size, in sdhci_allocate_bounce_buffer()
4178 bounce_size); in sdhci_allocate_bounce_buffer()
4188 bounce_size, in sdhci_allocate_bounce_buffer()
4198 host->bounce_buffer_size = bounce_size; in sdhci_allocate_bounce_buffer()
4202 mmc->max_seg_size = bounce_size; in sdhci_allocate_bounce_buffer()
[all...]

Completed in 29 milliseconds