| /Linux-v5.4/drivers/scsi/ |
| D | ps3rom.c | 117 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()
|
| /Linux-v5.4/drivers/mmc/host/ |
| D | renesas_sdhi_sys_dmac.c | 183 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()
|
| D | tifm_sd.c | 105 struct scatterlist bounce_buf; member 247 tifm_sd_copy_page(sg_page(&host->bounce_buf), in tifm_sd_bounce_block() 251 tifm_sd_copy_page(pg, p_off, sg_page(&host->bounce_buf), in tifm_sd_bounce_block() 308 sg = &host->bounce_buf; in tifm_sd_set_dma_data() 665 sg_init_one(&host->bounce_buf, host->bounce_buf_data, in tifm_sd_request() 668 if(1 != tifm_map_sg(sock, &host->bounce_buf, 1, in tifm_sd_request() 686 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_request() 761 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_end_cmd()
|
| D | meson-gx-mmc.c | 168 void *bounce_buf; member 784 host->bounce_buf, xfer_bytes); in meson_mmc_start_cmd() 954 host->bounce_buf, xfer_bytes); in meson_mmc_irq_thread() 1180 host->bounce_buf = host->regs + SD_EMMC_SRAM_DATA_BUF_OFF; in meson_mmc_probe() 1185 host->bounce_buf = in meson_mmc_probe() 1188 if (host->bounce_buf == NULL) { in meson_mmc_probe() 1211 host->bounce_buf, host->bounce_dma_addr); in meson_mmc_probe() 1238 host->bounce_buf, host->bounce_dma_addr); in meson_mmc_remove()
|
| D | usdhi6rol0.c | 175 u8 bounce_buf[512]; member 328 host->blk_page = host->bounce_buf; in usdhi6_blk_bounce() 334 memcpy(host->bounce_buf, host->head_pg.mapped + PAGE_SIZE - blk_head, in usdhi6_blk_bounce() 336 memcpy(host->bounce_buf + blk_head, host->pg.mapped, in usdhi6_blk_bounce() 407 host->bounce_buf, blk_head); in usdhi6_sg_unmap() 408 memcpy(host->pg.mapped, host->bounce_buf + blk_head, in usdhi6_sg_unmap()
|
| D | tmio_mmc.h | 150 u8 *bounce_buf; member
|
| D | tmio_mmc_core.c | 411 memcpy(sg_vaddr, host->bounce_buf, host->bounce_sg.length); in tmio_mmc_check_bounce_buffer()
|
| /Linux-v5.4/drivers/ps3/ |
| D | ps3stor_lib.c | 167 __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()
|
| /Linux-v5.4/drivers/block/ |
| D | ps3disk.c | 100 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() 500 kfree(dev->bounce_buf); in ps3disk_probe() 527 kfree(dev->bounce_buf); in ps3disk_remove()
|
| /Linux-v5.4/drivers/virt/vboxguest/ |
| D | vboxguest_utils.c | 207 void *buf, *bounce_buf; in hgcm_call_preprocess_linaddr() local 219 bounce_buf = kvmalloc(len, GFP_KERNEL); in hgcm_call_preprocess_linaddr() 220 if (!bounce_buf) in hgcm_call_preprocess_linaddr() 223 *bounce_buf_ret = bounce_buf; in hgcm_call_preprocess_linaddr() 226 ret = copy_from_user(bounce_buf, (void __user *)buf, len); in hgcm_call_preprocess_linaddr() 230 memset(bounce_buf, 0, len); in hgcm_call_preprocess_linaddr() 233 hgcm_call_add_pagelist_size(bounce_buf, len, extra); in hgcm_call_preprocess_linaddr()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_tx.c | 79 ring->bounce_buf = kmalloc_node(MAX_DESC_SIZE, GFP_KERNEL, node); in mlx4_en_create_tx_ring() 80 if (!ring->bounce_buf) { in mlx4_en_create_tx_ring() 81 ring->bounce_buf = kmalloc(MAX_DESC_SIZE, GFP_KERNEL); in mlx4_en_create_tx_ring() 82 if (!ring->bounce_buf) { in mlx4_en_create_tx_ring() 149 kfree(ring->bounce_buf); in mlx4_en_create_tx_ring() 150 ring->bounce_buf = NULL; in mlx4_en_create_tx_ring() 173 kfree(ring->bounce_buf); in mlx4_en_destroy_tx_ring() 174 ring->bounce_buf = NULL; in mlx4_en_destroy_tx_ring() 540 *((u32 *) (ring->bounce_buf + copy + i)); in mlx4_en_bounce_to_desc() 548 *((u32 *) (ring->bounce_buf + i)); in mlx4_en_bounce_to_desc() [all …]
|
| D | mlx4_en.h | 314 u8 *bounce_buf; member
|
| /Linux-v5.4/drivers/staging/wusbcore/host/whci/ |
| D | qset.c | 258 bounce = std->bounce_buf; in qset_copy_bounce_to_sg() 290 if (std->bounce_buf) { in qset_free_std() 303 kfree(std->bounce_buf); in qset_free_std() 578 std->bounce_buf = kmalloc(max_std_len, mem_flags); in qset_add_urb_sg_linearize() 579 if (std->bounce_buf == NULL) in qset_add_urb_sg_linearize() 583 bounce = std->bounce_buf; in qset_add_urb_sg_linearize() 610 std->dma_addr = dma_map_single(&whc->umc->dev, std->bounce_buf, std->len, in qset_add_urb_sg_linearize()
|
| D | whcd.h | 93 void *bounce_buf; member
|
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | ps3stor.h | 35 void *bounce_buf; member
|
| /Linux-v5.4/drivers/char/ |
| D | ps3flash.c | 124 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()
|
| /Linux-v5.4/drivers/usb/host/ |
| D | xhci-mem.c | 49 seg->bounce_buf = kzalloc_node(max_packet, flags, in xhci_segment_alloc() 51 if (!seg->bounce_buf) { in xhci_segment_alloc() 74 kfree(seg->bounce_buf); in xhci_segment_free()
|
| D | xhci-ring.c | 680 len = sg_pcopy_from_buffer(urb->sg, urb->num_sgs, seg->bounce_buf, in xhci_unmap_td_bounce_buffer() 3204 seg->bounce_buf, new_buff_len, enqd_len); in xhci_align_td() 3209 seg->bounce_dma = dma_map_single(dev, seg->bounce_buf, in xhci_align_td() 3212 seg->bounce_dma = dma_map_single(dev, seg->bounce_buf, in xhci_align_td()
|
| D | xhci.h | 1529 void *bounce_buf; member
|