Home
last modified time | relevance | path

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

/linux/drivers/mmc/host/
H A Drenesas_sdhi_sys_dmac.c187 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()
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 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()
/linux/drivers/ps3/
H A Dps3stor_lib.c168 __ffs((unsigned long)dev->bounce_buf)); in ps3stor_setup()
172 __func__, __LINE__, dev->bounce_size, dev->bounce_buf); in ps3stor_setup()
181 PS3_DMA_OTHER, dev->bounce_buf, dev->bounce_size); in ps3stor_setup()
190 dev->bounce_lpar = ps3_mm_phys_to_lpar(__pa(dev->bounce_buf)); in ps3stor_setup()
191 dev->bounce_dma = dma_map_single(&dev->sbd.core, dev->bounce_buf, in ps3stor_setup()
/linux/drivers/block/
H A Dps3disk.c92 memcpy_from_bvec(dev->bounce_buf + offset, &bvec); in ps3disk_scatter_gather()
94 memcpy_to_bvec(&bvec, dev->bounce_buf + offset); in ps3disk_scatter_gather()
344 u16 *id = dev->bounce_buf; in ps3disk_identify()
429 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); in ps3disk_probe()
430 if (!dev->bounce_buf) { in ps3disk_probe()
482 kfree(dev->bounce_buf); in ps3disk_probe()
508 kfree(dev->bounce_buf); in ps3disk_remove()
/linux/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()
/linux/arch/powerpc/include/asm/
H A Dps3stor.h35 void *bounce_buf; member
/linux/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()
/linux/include/linux/
H A Dmhi.h460 bool bounce_buf; member
/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c49 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()
/linux/drivers/bus/mhi/host/
H A Dinit.c901 mhi_cntrl->bounce_buf = config->use_bounce_buf; in parse_config()
991 if (mhi_cntrl->bounce_buf) { in mhi_register_controller()
/linux/drivers/usb/host/
H A Dxhci.h1293 void *bounce_buf; member