Home
last modified time | relevance | path

Searched refs:bounce_buf (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/mmc/host/
H A Drenesas_sdhi_sys_dmac.c183 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length); in renesas_sdhi_sys_dmac_start_dma_rx()
258 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length); in renesas_sdhi_sys_dmac_start_dma_tx()
259 memcpy(host->bounce_buf, sg_vaddr, host->bounce_sg.length); in renesas_sdhi_sys_dmac_start_dma_tx()
397 host->bounce_buf = (u8 *)__get_free_page(GFP_KERNEL | GFP_DMA); in renesas_sdhi_sys_dmac_request_dma()
398 if (!host->bounce_buf) in renesas_sdhi_sys_dmac_request_dma()
435 if (host->bounce_buf) { in renesas_sdhi_sys_dmac_release_dma()
436 free_pages((unsigned long)host->bounce_buf, 0); in renesas_sdhi_sys_dmac_release_dma()
437 host->bounce_buf = NULL; in renesas_sdhi_sys_dmac_release_dma()
H A Dtifm_sd.c107 struct scatterlist bounce_buf; member
249 tifm_sd_copy_page(sg_page(&host->bounce_buf), in tifm_sd_bounce_block()
253 tifm_sd_copy_page(pg, p_off, sg_page(&host->bounce_buf), in tifm_sd_bounce_block()
310 sg = &host->bounce_buf; in tifm_sd_set_dma_data()
667 sg_init_one(&host->bounce_buf, host->bounce_buf_data, in tifm_sd_request()
670 if(1 != tifm_map_sg(sock, &host->bounce_buf, 1, in tifm_sd_request()
688 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_request()
763 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_end_cmd()
H A Dmeson-gx-mmc.c167 void *bounce_buf; member
835 host->bounce_buf, xfer_bytes); in meson_mmc_start_cmd()
1030 host->bounce_buf, xfer_bytes); in meson_mmc_irq_thread()
1242 host->bounce_buf = in meson_mmc_probe()
1245 if (host->bounce_buf == NULL) { in meson_mmc_probe()
1270 host->bounce_buf, host->bounce_dma_addr); in meson_mmc_probe()
1295 host->bounce_buf, host->bounce_dma_addr); in meson_mmc_remove()
H A Dusdhi6rol0.c177 u8 bounce_buf[512]; member
329 host->blk_page = host->bounce_buf; in usdhi6_blk_bounce()
335 memcpy(host->bounce_buf, host->head_pg.mapped + PAGE_SIZE - blk_head, in usdhi6_blk_bounce()
337 memcpy(host->bounce_buf + blk_head, host->pg.mapped, in usdhi6_blk_bounce()
408 host->bounce_buf, blk_head); in usdhi6_sg_unmap()
409 memcpy(host->pg.mapped, host->bounce_buf + blk_head, in usdhi6_sg_unmap()
H A Dtmio_mmc.h153 u8 *bounce_buf; member
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Drenesas_sdhi_sys_dmac.c186 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length); in renesas_sdhi_sys_dmac_start_dma_rx()
260 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length); in renesas_sdhi_sys_dmac_start_dma_tx()
261 memcpy(host->bounce_buf, sg_vaddr + sg->offset, host->bounce_sg.length); in renesas_sdhi_sys_dmac_start_dma_tx()
399 host->bounce_buf = (u8 *)__get_free_page(GFP_KERNEL | GFP_DMA); in renesas_sdhi_sys_dmac_request_dma()
400 if (!host->bounce_buf) in renesas_sdhi_sys_dmac_request_dma()
437 if (host->bounce_buf) { in renesas_sdhi_sys_dmac_release_dma()
438 free_pages((unsigned long)host->bounce_buf, 0); in renesas_sdhi_sys_dmac_release_dma()
439 host->bounce_buf = NULL; in renesas_sdhi_sys_dmac_release_dma()
H A Dmmci_stm32_sdmmc.c60 void *bounce_buf; member
115 if (!idma->bounce_buf) { in sdmmc_idma_validate_data()
116 idma->bounce_buf = dmam_alloc_coherent(dev, in sdmmc_idma_validate_data()
120 if (!idma->bounce_buf) { in sdmmc_idma_validate_data()
141 idma->bounce_buf, xfer_bytes); in _sdmmc_idma_prep_data()
180 idma->bounce_buf, xfer_bytes); in sdmmc_idma_unprep_data()
H A Dtifm_sd.c107 struct scatterlist bounce_buf; member
249 tifm_sd_copy_page(sg_page(&host->bounce_buf), in tifm_sd_bounce_block()
253 tifm_sd_copy_page(pg, p_off, sg_page(&host->bounce_buf), in tifm_sd_bounce_block()
305 sg = &host->bounce_buf; in tifm_sd_set_dma_data()
659 sg_init_one(&host->bounce_buf, host->bounce_buf_data, in tifm_sd_request()
662 if(1 != tifm_map_sg(sock, &host->bounce_buf, 1, in tifm_sd_request()
680 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_request()
755 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_end_cmd()
H A Dmeson-gx-mmc.c169 void *bounce_buf; member
836 host->bounce_buf, xfer_bytes); in meson_mmc_start_cmd()
1048 host->bounce_buf, xfer_bytes); in meson_mmc_irq_thread()
1264 host->bounce_buf = in meson_mmc_probe()
1267 if (host->bounce_buf == NULL) { in meson_mmc_probe()
H A Dusdhi6rol0.c177 u8 bounce_buf[512]; member
329 host->blk_page = host->bounce_buf; in usdhi6_blk_bounce()
335 memcpy(host->bounce_buf, host->head_pg.mapped + PAGE_SIZE - blk_head, in usdhi6_blk_bounce()
337 memcpy(host->bounce_buf + blk_head, host->pg.mapped, in usdhi6_blk_bounce()
408 host->bounce_buf, blk_head); in usdhi6_sg_unmap()
409 memcpy(host->pg.mapped, host->bounce_buf + blk_head, in usdhi6_sg_unmap()
/kernel/linux/linux-5.10/drivers/ps3/
H A Dps3stor_lib.c167 __ffs((unsigned long)dev->bounce_buf)); 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()
189 dev->bounce_lpar = ps3_mm_phys_to_lpar(__pa(dev->bounce_buf)); in ps3stor_setup()
190 dev->bounce_dma = dma_map_single(&dev->sbd.core, dev->bounce_buf, in ps3stor_setup()
/kernel/linux/linux-6.6/drivers/ps3/
H A Dps3stor_lib.c167 __ffs((unsigned long)dev->bounce_buf)); 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()
189 dev->bounce_lpar = ps3_mm_phys_to_lpar(__pa(dev->bounce_buf)); in ps3stor_setup()
190 dev->bounce_dma = dma_map_single(&dev->sbd.core, dev->bounce_buf, in ps3stor_setup()
/kernel/linux/linux-5.10/drivers/block/
H A Dps3disk.c100 memcpy(dev->bounce_buf+offset, buf, size); in ps3disk_scatter_gather()
102 memcpy(buf, dev->bounce_buf+offset, size); in ps3disk_scatter_gather()
355 u16 *id = dev->bounce_buf; in ps3disk_identify()
432 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); in ps3disk_probe()
433 if (!dev->bounce_buf) { in ps3disk_probe()
499 kfree(dev->bounce_buf); in ps3disk_probe()
526 kfree(dev->bounce_buf); in ps3disk_remove()
/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()
300 dev->bounce_buf, in ps3rom_interrupt()
359 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); in ps3rom_probe()
360 if (!dev->bounce_buf) in ps3rom_probe()
401 kfree(dev->bounce_buf); in ps3rom_probe()
414 kfree(dev->bounce_buf); in ps3rom_remove()
/kernel/linux/linux-6.6/drivers/block/
H A Dps3disk.c89 memcpy_from_bvec(dev->bounce_buf + offset, &bvec); in ps3disk_scatter_gather()
91 memcpy_to_bvec(&bvec, dev->bounce_buf + offset); in ps3disk_scatter_gather()
340 u16 *id = dev->bounce_buf; in ps3disk_identify()
417 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); in ps3disk_probe()
418 if (!dev->bounce_buf) { in ps3disk_probe()
482 kfree(dev->bounce_buf); in ps3disk_probe()
508 kfree(dev->bounce_buf); in ps3disk_remove()
/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()
296 dev->bounce_buf, in ps3rom_interrupt()
354 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); in ps3rom_probe()
355 if (!dev->bounce_buf) in ps3rom_probe()
396 kfree(dev->bounce_buf); in ps3rom_probe()
409 kfree(dev->bounce_buf); in ps3rom_remove()
/kernel/linux/linux-5.10/drivers/virt/vboxguest/
H A Dvboxguest_utils.c209 void *buf, *bounce_buf; in hgcm_call_preprocess_linaddr() local
221 bounce_buf = kvmalloc(len, GFP_KERNEL); in hgcm_call_preprocess_linaddr()
222 if (!bounce_buf) in hgcm_call_preprocess_linaddr()
225 *bounce_buf_ret = bounce_buf; in hgcm_call_preprocess_linaddr()
228 ret = copy_from_user(bounce_buf, (void __user *)buf, len); in hgcm_call_preprocess_linaddr()
232 memset(bounce_buf, 0, len); in hgcm_call_preprocess_linaddr()
235 hgcm_call_add_pagelist_size(bounce_buf, len, extra); in hgcm_call_preprocess_linaddr()
/kernel/linux/linux-6.6/drivers/virt/vboxguest/
H A Dvboxguest_utils.c209 void *buf, *bounce_buf; in hgcm_call_preprocess_linaddr() local
221 bounce_buf = kvmalloc(len, GFP_KERNEL); in hgcm_call_preprocess_linaddr()
222 if (!bounce_buf) in hgcm_call_preprocess_linaddr()
225 *bounce_buf_ret = bounce_buf; in hgcm_call_preprocess_linaddr()
228 ret = copy_from_user(bounce_buf, (void __user *)buf, len); in hgcm_call_preprocess_linaddr()
232 memset(bounce_buf, 0, len); in hgcm_call_preprocess_linaddr()
235 hgcm_call_add_pagelist_size(bounce_buf, len, extra); in hgcm_call_preprocess_linaddr()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c80 ring->bounce_buf = kmalloc_node(MAX_DESC_SIZE, GFP_KERNEL, node); in mlx4_en_create_tx_ring()
81 if (!ring->bounce_buf) { in mlx4_en_create_tx_ring()
82 ring->bounce_buf = kmalloc(MAX_DESC_SIZE, GFP_KERNEL); in mlx4_en_create_tx_ring()
83 if (!ring->bounce_buf) { in mlx4_en_create_tx_ring()
150 kfree(ring->bounce_buf); in mlx4_en_create_tx_ring()
151 ring->bounce_buf = NULL; in mlx4_en_create_tx_ring()
174 kfree(ring->bounce_buf); in mlx4_en_destroy_tx_ring()
175 ring->bounce_buf = NULL; in mlx4_en_destroy_tx_ring()
578 *((u32 *) (ring->bounce_buf + copy + i)); in mlx4_en_bounce_to_desc()
586 *((u32 *) (ring->bounce_buf in mlx4_en_bounce_to_desc()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c80 ring->bounce_buf = kmalloc_node(MLX4_TX_BOUNCE_BUFFER_SIZE, in mlx4_en_create_tx_ring()
82 if (!ring->bounce_buf) { in mlx4_en_create_tx_ring()
83 ring->bounce_buf = kmalloc(MLX4_TX_BOUNCE_BUFFER_SIZE, in mlx4_en_create_tx_ring()
85 if (!ring->bounce_buf) { in mlx4_en_create_tx_ring()
153 kfree(ring->bounce_buf); in mlx4_en_create_tx_ring()
154 ring->bounce_buf = NULL; in mlx4_en_create_tx_ring()
177 kfree(ring->bounce_buf); in mlx4_en_destroy_tx_ring()
178 ring->bounce_buf = NULL; in mlx4_en_destroy_tx_ring()
583 *((u32 *) (ring->bounce_buf + copy + i)); in mlx4_en_bounce_to_desc()
591 *((u32 *) (ring->bounce_buf in mlx4_en_bounce_to_desc()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dps3stor.h35 void *bounce_buf; member
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dps3stor.h35 void *bounce_buf; member
/kernel/linux/linux-5.10/drivers/char/
H A Dps3flash.c124 src = dev->bounce_buf + offset; in ps3flash_read()
193 dst = dev->bounce_buf + offset; in ps3flash_write()
375 dev->bounce_buf = ps3flash_bounce_buffer.address; in ps3flash_probe()
/kernel/linux/linux-6.6/drivers/char/
H A Dps3flash.c124 src = dev->bounce_buf + offset; in ps3flash_read()
193 dst = dev->bounce_buf + offset; in ps3flash_write()
375 dev->bounce_buf = ps3flash_bounce_buffer.address; in ps3flash_probe()
/kernel/linux/linux-5.10/include/linux/
H A Dmhi.h353 * @bounce_buf: Use of bounce buffer
443 bool bounce_buf; member

Completed in 26 milliseconds

12