Home
last modified time | relevance | path

Searched refs:bounce (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v4.19/arch/s390/mm/
Dmaccess.c190 void *bounce = (void *) addr; in xlate_dev_mem_ptr() local
197 bounce = (void *) __get_free_page(GFP_ATOMIC); in xlate_dev_mem_ptr()
198 if (bounce) in xlate_dev_mem_ptr()
199 memcpy_absolute(bounce, (void *) addr, size); in xlate_dev_mem_ptr()
203 return bounce; in xlate_dev_mem_ptr()
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ioctl.c142 static int vmw_fill_compat_cap(struct vmw_private *dev_priv, void *bounce, in vmw_fill_compat_cap() argument
146 (struct svga_3d_compat_cap *) bounce; in vmw_fill_compat_cap()
185 void *bounce; in vmw_get_cap_3d_ioctl() local
206 bounce = vzalloc(size); in vmw_get_cap_3d_ioctl()
207 if (unlikely(bounce == NULL)) { in vmw_get_cap_3d_ioctl()
214 uint32_t *bounce32 = (uint32_t *) bounce; in vmw_get_cap_3d_ioctl()
228 ret = vmw_fill_compat_cap(dev_priv, bounce, size); in vmw_get_cap_3d_ioctl()
233 memcpy(bounce, &fifo_mem[SVGA_FIFO_3D_CAPS], size); in vmw_get_cap_3d_ioctl()
236 ret = copy_to_user(buffer, bounce, size); in vmw_get_cap_3d_ioctl()
240 vfree(bounce); in vmw_get_cap_3d_ioctl()
/Linux-v4.19/drivers/misc/eeprom/
Dat25.c139 u8 *bounce; in at25_ee_write() local
152 bounce = kmalloc(buf_size + at25->addrlen + 1, GFP_KERNEL); in at25_ee_write()
153 if (!bounce) in at25_ee_write()
164 u8 *cp = bounce; in at25_ee_write()
199 status = spi_write(at25->spi, bounce, in at25_ee_write()
245 kfree(bounce); in at25_ee_write()
/Linux-v4.19/Documentation/devicetree/bindings/misc/
Dbrcm,kona-smc.txt3 This binding defines the location of the bounce buffer
9 - reg : Location and size of bounce buffer
/Linux-v4.19/Documentation/i2c/
DDMA-considerations49 bounce buffer. But you don't need to care about that detail, just use the
50 returned buffer. If NULL is returned, the threshold was not met or a bounce
54 function ensures a potentially used bounce buffer is freed::
62 The bounce buffer handling from the core is generic and simple. It will always
63 allocate a new bounce buffer. If you want a more sophisticated handling (e.g.
/Linux-v4.19/drivers/usb/host/whci/
Dqset.c255 void *bounce; in qset_copy_bounce_to_sg() local
258 bounce = std->bounce_buf; in qset_copy_bounce_to_sg()
268 memcpy(sg_virt(sg) + offset, bounce, len); in qset_copy_bounce_to_sg()
270 bounce += len; in qset_copy_bounce_to_sg()
552 void *bounce = NULL; in qset_add_urb_sg_linearize() local
583 bounce = std->bounce_buf; in qset_add_urb_sg_linearize()
590 memcpy(bounce, orig, len); in qset_add_urb_sg_linearize()
595 bounce += len; in qset_add_urb_sg_linearize()
/Linux-v4.19/drivers/char/
Dmem.c110 char *bounce; in read_mem() local
134 bounce = kmalloc(PAGE_SIZE, GFP_KERNEL); in read_mem()
135 if (!bounce) in read_mem()
163 probe = probe_kernel_read(bounce, ptr, sz); in read_mem()
168 remaining = copy_to_user(buf, bounce, sz); in read_mem()
179 kfree(bounce); in read_mem()
185 kfree(bounce); in read_mem()
/Linux-v4.19/block/
Dbounce.c273 bool bounce = false; in __blk_queue_bounce() local
281 bounce = true; in __blk_queue_bounce()
283 if (!bounce) in __blk_queue_bounce()
DMakefile14 obj-$(CONFIG_BOUNCE) += bounce.o
/Linux-v4.19/drivers/gpu/drm/sun4i/
Dsun6i_mipi_dsi.c753 u8 *bounce; in sun6i_dsi_dcs_write_long() local
759 bounce = kzalloc(msg->tx_len + sizeof(crc), GFP_KERNEL); in sun6i_dsi_dcs_write_long()
760 if (!bounce) in sun6i_dsi_dcs_write_long()
763 memcpy(bounce, msg->tx_buf, msg->tx_len); in sun6i_dsi_dcs_write_long()
766 crc = sun6i_dsi_crc_compute(bounce, msg->tx_len); in sun6i_dsi_dcs_write_long()
767 memcpy((u8 *)bounce + msg->tx_len, &crc, sizeof(crc)); in sun6i_dsi_dcs_write_long()
770 regmap_bulk_write(dsi->regs, SUN6I_DSI_CMD_TX_REG(1), bounce, len); in sun6i_dsi_dcs_write_long()
772 kfree(bounce); in sun6i_dsi_dcs_write_long()
/Linux-v4.19/drivers/staging/mt7621-mmc/
DTODO5 - possibly fix to work with highmem pages so a bounce buffer isn't
/Linux-v4.19/drivers/mtd/nand/raw/
Dr852.c178 int bounce = 0; in r852_do_dma() local
197 bounce = 1; in r852_do_dma()
199 if (!bounce) { in r852_do_dma()
205 bounce = 1; in r852_do_dma()
208 if (bounce) { in r852_do_dma()
228 if (do_read && bounce) in r852_do_dma()
/Linux-v4.19/drivers/media/usb/go7007/
Dgo7007-driver.c90 void *bounce; in go7007_load_encoder() local
105 bounce = kmemdup(fw_entry->data + 16, fw_len, GFP_KERNEL); in go7007_load_encoder()
106 if (bounce == NULL) { in go7007_load_encoder()
113 go->boot_fw = bounce; in go7007_load_encoder()
/Linux-v4.19/Documentation/x86/x86_64/
Dboot-options.txt204 Kernel boot message: "PCI-DMA: Using software bounce buffering
222 soft Use software bounce buffering (SWIOTLB) (default for
244 iommu options only relevant to the software bounce buffering (SWIOTLB) IOMMU
248 bounce buffering.
/Linux-v4.19/Documentation/block/
Dbiodoc.txt171 The generic bounce buffer logic, present in 2.4, where the block layer would
174 changed in 2.5. The bounce logic is now applied only for memory ranges
176 setting the queue bounce limit for the request queue for the device
194 cases, a bounce bio representing a buffer from the supported memory range
199 from the original buffer to the bounce buffer prior to issuing the
204 GFP flags) when allocating bounce buffers, to avoid certain highmem
207 It is also possible that a bounce buffer may be allocated from high-memory
209 device can use directly; so the bounce page may need to be kmapped during
214 be kmapped, even if bounce buffers are not necessary. For example a device
220 the blk_queue_bounce() routine on its own to bounce highmem i/o to low
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c847 bool bounce = false; in mlx4_en_xmit() local
909 bounce = true; in mlx4_en_xmit()
1036 if (unlikely(bounce)) in mlx4_en_xmit()
/Linux-v4.19/drivers/usb/dwc3/
Dgadget.c3181 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init()
3183 if (!dwc->bounce) { in dwc3_gadget_init()
3240 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init()
3260 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_exit()
Dcore.h1007 void *bounce; member
/Linux-v4.19/Documentation/driver-api/usb/
Ddma.rst83 This may force your callers to do some bounce buffering, copying from
Dusb.rst152 of bounce buffers on some systems. In some cases, drivers may be able to
153 rely on 64bit DMA to eliminate another kind of bounce buffer.
/Linux-v4.19/mm/
DKconfig271 bool "Enable bounce buffers"
275 Enable bounce buffers for devices that cannot access
/Linux-v4.19/Documentation/ide/
DChangeLog.ide-tape.1995-2002140 * bounce buffers.
/Linux-v4.19/arch/unicore32/kernel/
Dentry.S421 @ Now call the C code to package up the bounce to the support code
/Linux-v4.19/Documentation/filesystems/
Dfscrypt.rst582 temporary buffer or "bounce page", then write out the temporary
585 F2FS, have to allocate bounce pages specially for encryption.
/Linux-v4.19/Documentation/driver-api/gpio/
Ddriver.rst101 a mechanical switch or button, or similar that may bounce. Bouncing means the

12