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

12

/linux-master/arch/powerpc/include/asm/
H A Dps3stor.h35 void *bounce_buf; member in struct:ps3_storage_device
/linux-master/drivers/mmc/host/
H A Drenesas_sdhi_sys_dmac.c186 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length);
260 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length);
261 memcpy(host->bounce_buf, sg_vaddr + sg->offset, host->bounce_sg.length);
399 host->bounce_buf = (u8 *)__get_free_page(GFP_KERNEL | GFP_DMA);
400 if (!host->bounce_buf)
437 if (host->bounce_buf) {
438 free_pages((unsigned long)host->bounce_buf, 0);
439 host->bounce_buf = NULL;
H A Dtifm_sd.c107 struct scatterlist bounce_buf; member in struct:tifm_sd
249 tifm_sd_copy_page(sg_page(&host->bounce_buf),
253 tifm_sd_copy_page(pg, p_off, sg_page(&host->bounce_buf),
305 sg = &host->bounce_buf;
659 sg_init_one(&host->bounce_buf, host->bounce_buf_data,
662 if(1 != tifm_map_sg(sock, &host->bounce_buf, 1,
680 tifm_unmap_sg(sock, &host->bounce_buf, 1,
755 tifm_unmap_sg(sock, &host->bounce_buf, 1,
H A Dmmci_stm32_sdmmc.c60 void *bounce_buf; member in struct:sdmmc_idma
115 if (!idma->bounce_buf) {
116 idma->bounce_buf = dmam_alloc_coherent(dev,
120 if (!idma->bounce_buf) {
141 idma->bounce_buf, xfer_bytes);
180 idma->bounce_buf, xfer_bytes);
H A Dtmio_mmc.h161 u8 *bounce_buf; member in struct:tmio_mmc_host
H A Dmeson-gx-mmc.c169 void *bounce_buf; member in struct:meson_host
836 host->bounce_buf, xfer_bytes);
1048 host->bounce_buf, xfer_bytes);
1264 host->bounce_buf =
1267 if (host->bounce_buf == NULL) {
H A Dusdhi6rol0.c177 u8 bounce_buf[512]; member in struct:usdhi6_host
329 host->blk_page = host->bounce_buf;
335 memcpy(host->bounce_buf, host->head_pg.mapped + PAGE_SIZE - blk_head,
337 memcpy(host->bounce_buf + blk_head, host->pg.mapped,
408 host->bounce_buf, blk_head);
409 memcpy(host->pg.mapped, host->bounce_buf + blk_head,
/linux-master/drivers/scsi/
H A Dps3rom.c117 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size);
189 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size);
296 dev->bounce_buf,
354 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA);
355 if (!dev->bounce_buf)
396 kfree(dev->bounce_buf);
409 kfree(dev->bounce_buf);
/linux-master/drivers/ps3/
H A Dps3stor_lib.c167 __ffs((unsigned long)dev->bounce_buf));
171 __func__, __LINE__, dev->bounce_size, dev->bounce_buf);
180 PS3_DMA_OTHER, dev->bounce_buf, dev->bounce_size);
189 dev->bounce_lpar = ps3_mm_phys_to_lpar(__pa(dev->bounce_buf));
190 dev->bounce_dma = dma_map_single(&dev->sbd.core, dev->bounce_buf,
/linux-master/drivers/virt/vboxguest/
H A Dvboxguest_utils.c209 void *buf, *bounce_buf; local
221 bounce_buf = kvmalloc(len, GFP_KERNEL);
222 if (!bounce_buf)
225 *bounce_buf_ret = bounce_buf;
228 ret = copy_from_user(bounce_buf, (void __user *)buf, len);
232 memset(bounce_buf, 0, len);
235 hgcm_call_add_pagelist_size(bounce_buf, len, extra);
/linux-master/drivers/block/
H A Dps3disk.c89 memcpy_from_bvec(dev->bounce_buf + offset, &bvec);
91 memcpy_to_bvec(&bvec, dev->bounce_buf + offset);
340 u16 *id = dev->bounce_buf;
425 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA);
426 if (!dev->bounce_buf) {
483 kfree(dev->bounce_buf);
509 kfree(dev->bounce_buf);
/linux-master/drivers/i3c/master/mipi-i3c-hci/
H A Dhci.h93 void *bounce_buf; member in struct:hci_xfer::__anon243::__anon245
H A Dcore.c287 xfer->bounce_buf = kzalloc(xfer->data_len, GFP_KERNEL);
289 xfer->bounce_buf = kmemdup(xfer->data,
292 return xfer->bounce_buf == NULL ? -ENOMEM : 0;
298 if (hci->io != &mipi_i3c_hci_dma || xfer->bounce_buf == NULL)
302 memcpy(xfer->data, xfer->bounce_buf, xfer->data_len);
304 kfree(xfer->bounce_buf);
H A Ddma.c394 buf = xfer->bounce_buf ? xfer->bounce_buf : xfer->data;
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c80 ring->bounce_buf = kmalloc_node(MLX4_TX_BOUNCE_BUFFER_SIZE,
82 if (!ring->bounce_buf) {
83 ring->bounce_buf = kmalloc(MLX4_TX_BOUNCE_BUFFER_SIZE,
85 if (!ring->bounce_buf) {
153 kfree(ring->bounce_buf);
154 ring->bounce_buf = NULL;
177 kfree(ring->bounce_buf);
178 ring->bounce_buf = NULL;
583 *((u32 *) (ring->bounce_buf + copy + i));
591 *((u32 *) (ring->bounce_buf
[all...]
H A Dmlx4_en.h309 u8 *bounce_buf; member in struct:mlx4_en_tx_ring
/linux-master/drivers/char/
H A Dps3flash.c124 src = dev->bounce_buf + offset;
193 dst = dev->bounce_buf + offset;
375 dev->bounce_buf = ps3flash_bounce_buffer.address;
/linux-master/include/linux/
H A Dmhi.h358 * @bounce_buf: Use of bounce buffer
441 bool bounce_buf; member in struct:mhi_controller
/linux-master/drivers/usb/cdns3/
H A Dcdnsp-mem.c49 seg->bounce_buf = kzalloc(max_packet, flags | GFP_DMA);
50 if (!seg->bounce_buf)
77 kfree(seg->bounce_buf);
H A Dcdnsp-ring.c624 seg->bounce_buf, seg->bounce_len,
1830 seg->bounce_buf, new_buff_len, enqd_len);
1831 seg->bounce_dma = dma_map_single(dev, seg->bounce_buf,
1834 seg->bounce_dma = dma_map_single(dev, seg->bounce_buf,
H A Dcdnsp-gadget.h1160 * @bounce_buf: Bounce buffer virtual address.
1170 void *bounce_buf; member in struct:cdnsp_segment
/linux-master/drivers/crypto/ccp/
H A Dsev-dev.c712 void *bounce_buf = __va(__sme_clr(*desc->paddr_ptr)); local
715 memcpy(dst_buf, bounce_buf, desc->len);
716 __free_pages(virt_to_page(bounce_buf), get_order(desc->len));
/linux-master/drivers/bus/mhi/host/
H A Dinit.c892 mhi_cntrl->bounce_buf = config->use_bounce_buf;
983 if (mhi_cntrl->bounce_buf) {
/linux-master/drivers/usb/host/
H A Dxhci-ring.c833 len = sg_pcopy_from_buffer(urb->sg, urb->num_sgs, seg->bounce_buf,
839 memcpy(urb->transfer_buffer + seg->bounce_offs, seg->bounce_buf,
3563 seg->bounce_buf, new_buff_len, enqd_len);
3568 memcpy(seg->bounce_buf, urb->transfer_buffer + enqd_len, new_buff_len);
3571 seg->bounce_dma = dma_map_single(dev, seg->bounce_buf,
3574 seg->bounce_dma = dma_map_single(dev, seg->bounce_buf,
H A Dxhci-mem.c51 seg->bounce_buf = kzalloc_node(max_packet, flags,
53 if (!seg->bounce_buf) {
77 kfree(seg->bounce_buf);

Completed in 310 milliseconds

12