| /drivers/scsi/ |
| A D | ps3rom.c | 118 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size); in ps3rom_atapi_request() 190 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size); in ps3rom_write_request() 297 dev->bounce_buf, in ps3rom_interrupt() 355 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); in ps3rom_probe() 356 if (!dev->bounce_buf) in ps3rom_probe() 397 kfree(dev->bounce_buf); in ps3rom_probe() 410 kfree(dev->bounce_buf); in ps3rom_remove()
|
| /drivers/mmc/host/ |
| A D | renesas_sdhi_sys_dmac.c | 187 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length); in renesas_sdhi_sys_dmac_start_dma_rx() 261 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length); in renesas_sdhi_sys_dmac_start_dma_tx() 262 memcpy(host->bounce_buf, sg_vaddr + sg->offset, host->bounce_sg.length); in renesas_sdhi_sys_dmac_start_dma_tx() 400 host->bounce_buf = (u8 *)__get_free_page(GFP_KERNEL | GFP_DMA); in renesas_sdhi_sys_dmac_request_dma() 401 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()
|
| A D | mmci_stm32_sdmmc.c | 60 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()
|
| A D | tifm_sd.c | 108 struct scatterlist bounce_buf; member 250 tifm_sd_copy_page(sg_page(&host->bounce_buf), in tifm_sd_bounce_block() 254 tifm_sd_copy_page(pg, p_off, sg_page(&host->bounce_buf), in tifm_sd_bounce_block() 306 sg = &host->bounce_buf; in tifm_sd_set_dma_data() 660 sg_init_one(&host->bounce_buf, host->bounce_buf_data, in tifm_sd_request() 663 if(1 != tifm_map_sg(sock, &host->bounce_buf, 1, in tifm_sd_request() 681 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_request() 756 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_end_cmd()
|
| A D | meson-gx-mmc.c | 169 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()
|
| A D | usdhi6rol0.c | 177 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()
|
| A D | tmio_mmc.h | 164 u8 *bounce_buf; member
|
| A D | tmio_mmc_core.c | 451 memcpy(sg_virt + host->sg_orig->offset, host->bounce_buf, in tmio_mmc_check_bounce_buffer()
|
| /drivers/ps3/ |
| A 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()
|
| /drivers/block/ |
| A D | ps3disk.c | 89 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() 425 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); in ps3disk_probe() 426 if (!dev->bounce_buf) { in ps3disk_probe() 478 kfree(dev->bounce_buf); in ps3disk_probe() 504 kfree(dev->bounce_buf); in ps3disk_remove()
|
| /drivers/virt/vboxguest/ |
| A D | vboxguest_utils.c | 209 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()
|
| /drivers/net/ethernet/mellanox/mlx4/ |
| A D | en_tx.c | 81 ring->bounce_buf = kmalloc_node(MLX4_TX_BOUNCE_BUFFER_SIZE, in mlx4_en_create_tx_ring() 83 if (!ring->bounce_buf) { in mlx4_en_create_tx_ring() 84 ring->bounce_buf = kmalloc(MLX4_TX_BOUNCE_BUFFER_SIZE, in mlx4_en_create_tx_ring() 86 if (!ring->bounce_buf) { in mlx4_en_create_tx_ring() 154 kfree(ring->bounce_buf); in mlx4_en_create_tx_ring() 155 ring->bounce_buf = NULL; in mlx4_en_create_tx_ring() 178 kfree(ring->bounce_buf); in mlx4_en_destroy_tx_ring() 179 ring->bounce_buf = NULL; in mlx4_en_destroy_tx_ring() 580 *((u32 *) (ring->bounce_buf + copy + i)); in mlx4_en_bounce_to_desc() 588 *((u32 *) (ring->bounce_buf + i)); in mlx4_en_bounce_to_desc() [all …]
|
| A D | mlx4_en.h | 300 u8 *bounce_buf; member
|
| /drivers/i3c/master/mipi-i3c-hci/ |
| A D | core.c | 283 xfer->bounce_buf = kzalloc(xfer->data_len, GFP_KERNEL); in i3c_hci_alloc_safe_xfer_buf() 285 xfer->bounce_buf = kmemdup(xfer->data, in i3c_hci_alloc_safe_xfer_buf() 288 return xfer->bounce_buf == NULL ? -ENOMEM : 0; in i3c_hci_alloc_safe_xfer_buf() 294 if (hci->io != &mipi_i3c_hci_dma || xfer->bounce_buf == NULL) in i3c_hci_free_safe_xfer_buf() 298 memcpy(xfer->data, xfer->bounce_buf, xfer->data_len); in i3c_hci_free_safe_xfer_buf() 300 kfree(xfer->bounce_buf); in i3c_hci_free_safe_xfer_buf()
|
| A D | hci.h | 98 void *bounce_buf; member
|
| A D | dma.c | 394 buf = xfer->bounce_buf ? xfer->bounce_buf : xfer->data; in hci_dma_queue_xfer()
|
| /drivers/char/ |
| A 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()
|
| /drivers/usb/cdns3/ |
| A D | cdnsp-mem.c | 49 seg->bounce_buf = kzalloc(max_packet, flags | GFP_DMA); in cdnsp_segment_alloc() 50 if (!seg->bounce_buf) in cdnsp_segment_alloc() 77 kfree(seg->bounce_buf); in cdnsp_segment_free()
|
| A D | cdnsp-ring.c | 625 seg->bounce_buf, seg->bounce_len, in cdnsp_unmap_td_bounce_buffer() 1835 seg->bounce_buf, new_buff_len, enqd_len); in cdnsp_align_td() 1836 seg->bounce_dma = dma_map_single(dev, seg->bounce_buf, in cdnsp_align_td() 1839 seg->bounce_dma = dma_map_single(dev, seg->bounce_buf, in cdnsp_align_td()
|
| A D | cdnsp-gadget.h | 1186 void *bounce_buf; member
|
| /drivers/usb/host/ |
| A D | xhci-ring.c | 860 len = sg_pcopy_from_buffer(urb->sg, urb->num_sgs, seg->bounce_buf, in xhci_unmap_td_bounce_buffer() 866 memcpy(urb->transfer_buffer + seg->bounce_offs, seg->bounce_buf, in xhci_unmap_td_bounce_buffer() 3596 seg->bounce_buf, new_buff_len, enqd_len); in xhci_align_td() 3601 memcpy(seg->bounce_buf, urb->transfer_buffer + enqd_len, new_buff_len); in xhci_align_td() 3604 seg->bounce_dma = dma_map_single(dev, seg->bounce_buf, in xhci_align_td() 3607 seg->bounce_dma = dma_map_single(dev, seg->bounce_buf, in xhci_align_td()
|
| A 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() 70 kfree(seg->bounce_buf); in xhci_segment_free()
|
| A D | xhci.h | 1290 void *bounce_buf; member
|
| /drivers/crypto/ccp/ |
| A D | sev-dev.c | 722 void *bounce_buf = __va(__sme_clr(*desc->paddr_ptr)); in snp_unmap_cmd_buf_desc() local 725 memcpy(dst_buf, bounce_buf, desc->len); in snp_unmap_cmd_buf_desc() 726 __free_pages(virt_to_page(bounce_buf), get_order(desc->len)); in snp_unmap_cmd_buf_desc()
|
| /drivers/bus/mhi/host/ |
| A D | init.c | 914 mhi_cntrl->bounce_buf = config->use_bounce_buf; in parse_config() 1005 if (mhi_cntrl->bounce_buf) { in mhi_register_controller()
|