Home
last modified time | relevance | path

Searched refs:bounce_buf (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/drivers/scsi/
Dps3rom.c129 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size); in ps3rom_atapi_request()
201 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size); in ps3rom_write_request()
312 dev->bounce_buf, in ps3rom_interrupt()
372 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); in ps3rom_probe()
373 if (!dev->bounce_buf) in ps3rom_probe()
414 kfree(dev->bounce_buf); in ps3rom_probe()
427 kfree(dev->bounce_buf); in ps3rom_remove()
/Linux-v4.19/drivers/mmc/host/
Drenesas_sdhi_sys_dmac.c223 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length); in renesas_sdhi_sys_dmac_start_dma_rx()
299 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length); in renesas_sdhi_sys_dmac_start_dma_tx()
300 memcpy(host->bounce_buf, sg_vaddr, host->bounce_sg.length); in renesas_sdhi_sys_dmac_start_dma_tx()
437 host->bounce_buf = (u8 *)__get_free_page(GFP_KERNEL | GFP_DMA); in renesas_sdhi_sys_dmac_request_dma()
438 if (!host->bounce_buf) in renesas_sdhi_sys_dmac_request_dma()
475 if (host->bounce_buf) { in renesas_sdhi_sys_dmac_release_dma()
476 free_pages((unsigned long)host->bounce_buf, 0); in renesas_sdhi_sys_dmac_release_dma()
477 host->bounce_buf = NULL; in renesas_sdhi_sys_dmac_release_dma()
Dtifm_sd.c109 struct scatterlist bounce_buf; member
251 tifm_sd_copy_page(sg_page(&host->bounce_buf), in tifm_sd_bounce_block()
255 tifm_sd_copy_page(pg, p_off, sg_page(&host->bounce_buf), in tifm_sd_bounce_block()
312 sg = &host->bounce_buf; in tifm_sd_set_dma_data()
668 sg_init_one(&host->bounce_buf, host->bounce_buf_data, in tifm_sd_request()
671 if(1 != tifm_map_sg(sock, &host->bounce_buf, 1, in tifm_sd_request()
689 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_request()
764 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_end_cmd()
Dmeson-gx-mmc.c172 void *bounce_buf; member
960 host->bounce_buf, xfer_bytes); in meson_mmc_start_cmd()
1098 host->bounce_buf, xfer_bytes); in meson_mmc_irq_thread()
1300 host->bounce_buf = in meson_mmc_probe()
1303 if (host->bounce_buf == NULL) { in meson_mmc_probe()
1324 host->bounce_buf, host->bounce_dma_addr); in meson_mmc_probe()
1346 host->bounce_buf, host->bounce_dma_addr); in meson_mmc_remove()
Dusdhi6rol0.c178 u8 bounce_buf[512]; member
331 host->blk_page = host->bounce_buf; in usdhi6_blk_bounce()
337 memcpy(host->bounce_buf, host->head_pg.mapped + PAGE_SIZE - blk_head, in usdhi6_blk_bounce()
339 memcpy(host->bounce_buf + blk_head, host->pg.mapped, in usdhi6_blk_bounce()
410 host->bounce_buf, blk_head); in usdhi6_sg_unmap()
411 memcpy(host->pg.mapped, host->bounce_buf + blk_head, in usdhi6_sg_unmap()
Dtmio_mmc.h154 u8 *bounce_buf; member
Dtmio_mmc_core.c484 memcpy(sg_vaddr, host->bounce_buf, host->bounce_sg.length); in tmio_mmc_check_bounce_buffer()
/Linux-v4.19/drivers/ps3/
Dps3stor_lib.c179 __ffs((unsigned long)dev->bounce_buf)); in ps3stor_setup()
183 __func__, __LINE__, dev->bounce_size, dev->bounce_buf); in ps3stor_setup()
192 PS3_DMA_OTHER, dev->bounce_buf, dev->bounce_size); in ps3stor_setup()
201 dev->bounce_lpar = ps3_mm_phys_to_lpar(__pa(dev->bounce_buf)); in ps3stor_setup()
202 dev->bounce_dma = dma_map_single(&dev->sbd.core, dev->bounce_buf, in ps3stor_setup()
/Linux-v4.19/drivers/block/
Dps3disk.c111 memcpy(dev->bounce_buf+offset, buf, size); in ps3disk_scatter_gather()
113 memcpy(buf, dev->bounce_buf+offset, size); in ps3disk_scatter_gather()
372 u16 *id = dev->bounce_buf; in ps3disk_identify()
445 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); in ps3disk_probe()
446 if (!dev->bounce_buf) { in ps3disk_probe()
511 kfree(dev->bounce_buf); in ps3disk_probe()
537 kfree(dev->bounce_buf); in ps3disk_remove()
/Linux-v4.19/drivers/virt/vboxguest/
Dvboxguest_utils.c204 void *buf, *bounce_buf; in hgcm_call_preprocess_linaddr() local
216 bounce_buf = kvmalloc(len, GFP_KERNEL); in hgcm_call_preprocess_linaddr()
217 if (!bounce_buf) in hgcm_call_preprocess_linaddr()
221 ret = copy_from_user(bounce_buf, (void __user *)buf, len); in hgcm_call_preprocess_linaddr()
225 memset(bounce_buf, 0, len); in hgcm_call_preprocess_linaddr()
228 *bounce_buf_ret = bounce_buf; in hgcm_call_preprocess_linaddr()
229 hgcm_call_add_pagelist_size(bounce_buf, len, extra); in hgcm_call_preprocess_linaddr()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c82 ring->bounce_buf = kmalloc_node(MAX_DESC_SIZE, GFP_KERNEL, node); in mlx4_en_create_tx_ring()
83 if (!ring->bounce_buf) { in mlx4_en_create_tx_ring()
84 ring->bounce_buf = kmalloc(MAX_DESC_SIZE, GFP_KERNEL); in mlx4_en_create_tx_ring()
85 if (!ring->bounce_buf) { in mlx4_en_create_tx_ring()
152 kfree(ring->bounce_buf); in mlx4_en_create_tx_ring()
153 ring->bounce_buf = NULL; in mlx4_en_create_tx_ring()
176 kfree(ring->bounce_buf); in mlx4_en_destroy_tx_ring()
177 ring->bounce_buf = NULL; in mlx4_en_destroy_tx_ring()
543 *((u32 *) (ring->bounce_buf + copy + i)); in mlx4_en_bounce_to_desc()
551 *((u32 *) (ring->bounce_buf + i)); in mlx4_en_bounce_to_desc()
[all …]
Dmlx4_en.h315 u8 *bounce_buf; member
/Linux-v4.19/drivers/usb/host/whci/
Dqset.c258 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()
Dwhcd.h93 void *bounce_buf; member
/Linux-v4.19/arch/powerpc/include/asm/
Dps3stor.h47 void *bounce_buf; member
/Linux-v4.19/drivers/char/
Dps3flash.c136 src = dev->bounce_buf + offset; in ps3flash_read()
205 dst = dev->bounce_buf + offset; in ps3flash_write()
387 dev->bounce_buf = ps3flash_bounce_buffer.address; in ps3flash_probe()
/Linux-v4.19/drivers/usb/host/
Dxhci-mem.c49 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()
Dxhci-ring.c670 sg_pcopy_from_buffer(urb->sg, urb->num_mapped_sgs, seg->bounce_buf, in xhci_unmap_td_bounce_buffer()
3093 seg->bounce_buf, new_buff_len, enqd_len); in xhci_align_td()
3094 seg->bounce_dma = dma_map_single(dev, seg->bounce_buf, in xhci_align_td()
3097 seg->bounce_dma = dma_map_single(dev, seg->bounce_buf, in xhci_align_td()
Dxhci.h1507 void *bounce_buf; member