Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/lib/
Dtest_hmm.c99 static int dmirror_bounce_init(struct dmirror_bounce *bounce, in dmirror_bounce_init() argument
103 bounce->addr = addr; in dmirror_bounce_init()
104 bounce->size = size; in dmirror_bounce_init()
105 bounce->cpages = 0; in dmirror_bounce_init()
106 bounce->ptr = vmalloc(size); in dmirror_bounce_init()
107 if (!bounce->ptr) in dmirror_bounce_init()
112 static void dmirror_bounce_fini(struct dmirror_bounce *bounce) in dmirror_bounce_fini() argument
114 vfree(bounce->ptr); in dmirror_bounce_fini()
314 unsigned long end, struct dmirror_bounce *bounce) in dmirror_do_read() argument
319 ptr = bounce->ptr + ((start - bounce->addr) & PAGE_MASK); in dmirror_do_read()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ioctl.c148 static int vmw_fill_compat_cap(struct vmw_private *dev_priv, void *bounce, in vmw_fill_compat_cap() argument
152 (struct svga_3d_compat_cap *) bounce; in vmw_fill_compat_cap()
191 void *bounce; in vmw_get_cap_3d_ioctl() local
212 bounce = vzalloc(size); in vmw_get_cap_3d_ioctl()
213 if (unlikely(bounce == NULL)) { in vmw_get_cap_3d_ioctl()
220 uint32_t *bounce32 = (uint32_t *) bounce; in vmw_get_cap_3d_ioctl()
234 ret = vmw_fill_compat_cap(dev_priv, bounce, size); in vmw_get_cap_3d_ioctl()
239 memcpy(bounce, &fifo_mem[SVGA_FIFO_3D_CAPS], size); in vmw_get_cap_3d_ioctl()
242 ret = copy_to_user(buffer, bounce, size); in vmw_get_cap_3d_ioctl()
246 vfree(bounce); in vmw_get_cap_3d_ioctl()
/kernel/linux/linux-5.10/arch/s390/mm/
Dmaccess.c224 void *bounce = (void *) addr; in xlate_dev_mem_ptr() local
231 bounce = (void *) __get_free_page(GFP_ATOMIC); in xlate_dev_mem_ptr()
232 if (bounce) in xlate_dev_mem_ptr()
233 memcpy_absolute(bounce, (void *) addr, size); in xlate_dev_mem_ptr()
237 return bounce; in xlate_dev_mem_ptr()
/kernel/linux/linux-5.10/drivers/misc/eeprom/
Dat25.c135 u8 *bounce; in at25_ee_write() local
148 bounce = kmalloc(buf_size + at25->addrlen + 1, GFP_KERNEL); in at25_ee_write()
149 if (!bounce) in at25_ee_write()
160 u8 *cp = bounce; in at25_ee_write()
195 status = spi_write(at25->spi, bounce, in at25_ee_write()
241 kfree(bounce); in at25_ee_write()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/Documentation/i2c/
Ddma-considerations.rst49 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.
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dleds-el15203000.txt20 - bounce pattern
21 - inversed bounce pattern
/kernel/linux/linux-5.10/drivers/char/
Dmem.c121 char *bounce; in read_mem() local
145 bounce = kmalloc(PAGE_SIZE, GFP_KERNEL); in read_mem()
146 if (!bounce) in read_mem()
174 probe = copy_from_kernel_nofault(bounce, ptr, sz); in read_mem()
179 remaining = copy_to_user(buf, bounce, sz); in read_mem()
192 kfree(bounce); in read_mem()
198 kfree(bounce); in read_mem()
/kernel/linux/linux-5.10/block/
Dbounce.c295 bool bounce = false; in __blk_queue_bounce() local
303 bounce = true; in __blk_queue_bounce()
305 if (!bounce) in __blk_queue_bounce()
DMakefile13 obj-$(CONFIG_BOUNCE) += bounce.o
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun6i_mipi_dsi.c886 u8 *bounce; in sun6i_dsi_dcs_write_long() local
892 bounce = kzalloc(ALIGN(msg->tx_len + sizeof(crc), 4), GFP_KERNEL); in sun6i_dsi_dcs_write_long()
893 if (!bounce) in sun6i_dsi_dcs_write_long()
896 memcpy(bounce, msg->tx_buf, msg->tx_len); in sun6i_dsi_dcs_write_long()
899 crc = sun6i_dsi_crc_compute(bounce, msg->tx_len); in sun6i_dsi_dcs_write_long()
900 memcpy((u8 *)bounce + msg->tx_len, &crc, sizeof(crc)); in sun6i_dsi_dcs_write_long()
903 regmap_bulk_write(dsi->regs, SUN6I_DSI_CMD_TX_REG(1), bounce, DIV_ROUND_UP(len, 4)); in sun6i_dsi_dcs_write_long()
905 kfree(bounce); in sun6i_dsi_dcs_write_long()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dr852.c174 int bounce = 0; in r852_do_dma() local
193 bounce = 1; in r852_do_dma()
195 if (!bounce) { in r852_do_dma()
200 bounce = 1; in r852_do_dma()
203 if (bounce) { in r852_do_dma()
223 if (do_read && bounce) in r852_do_dma()
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
DTODO11 * Instead of having a DMA bounce buffer, it could be possible to use a
/kernel/linux/linux-5.10/drivers/media/usb/go7007/
Dgo7007-driver.c82 void *bounce; in go7007_load_encoder() local
97 bounce = kmemdup(fw_entry->data + 16, fw_len, GFP_KERNEL); in go7007_load_encoder()
98 if (bounce == NULL) { in go7007_load_encoder()
105 go->boot_fw = bounce; in go7007_load_encoder()
/kernel/linux/linux-5.10/Documentation/leds/
Dleds-el15203000.rst114 Inverted bounce mode for Pipe LED::
/kernel/linux/linux-5.10/Documentation/x86/x86_64/
Dboot-options.rst247 Kernel boot message: "PCI-DMA: Using software bounce buffering
271 Use software bounce buffering (SWIOTLB) (default for
301 iommu options only relevant to the software bounce buffering (SWIOTLB) IOMMU
306 Prereserve that many 128K pages for the software IO bounce buffering.
/kernel/linux/linux-5.10/Documentation/block/
Dinline-encryption.rst99 If the bio is a ``WRITE`` bio, a bounce bio is allocated, and the data in the bio
100 is encrypted stored in the bounce bio - blk-mq will then proceed to process the
101 bounce bio as if it were not encrypted at all (except when blk-integrity is
102 concerned). ``blk-crypto-fallback`` sets the bounce bio's ``bi_end_io`` to an
103 internal function that cleans up the bounce bio and ends the original bio.
Dbiodoc.rst182 The generic bounce buffer logic, present in 2.4, where the block layer would
185 changed in 2.5. The bounce logic is now applied only for memory ranges
187 setting the queue bounce limit for the request queue for the device
205 cases, a bounce bio representing a buffer from the supported memory range
210 from the original buffer to the bounce buffer prior to issuing the
215 GFP flags) when allocating bounce buffers, to avoid certain highmem
218 It is also possible that a bounce buffer may be allocated from high-memory
220 device can use directly; so the bounce page may need to be kmapped during
225 be kmapped, even if bounce buffers are not necessary. For example a device
231 the blk_queue_bounce() routine on its own to bounce highmem i/o to low
[all …]
/kernel/linux/linux-5.10/fs/notify/fanotify/
Dfanotify_user.c234 unsigned char bounce[FANOTIFY_INLINE_FH_LEN], *fh_buf; in copy_info_to_user() local
293 memcpy(bounce, fh_buf, fh_len); in copy_info_to_user()
294 fh_buf = bounce; in copy_info_to_user()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c880 bool bounce = false; in mlx4_en_xmit() local
941 bounce = true; in mlx4_en_xmit()
1067 if (unlikely(bounce)) in mlx4_en_xmit()
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Ddma.rst83 This may force your callers to do some bounce buffering, copying from
/kernel/linux/linux-5.10/drivers/usb/dwc3/
Dgadget.c3898 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init()
3900 if (!dwc->bounce) { in dwc3_gadget_init()
3970 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init()
3994 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_exit()
Dcore.h1071 void *bounce; member
/kernel/linux/linux-5.10/kernel/
Dmodule.c1564 char bounce[MODULE_SECT_READ_SIZE + 1]; in module_sect_read() local
1578 wrote = scnprintf(bounce, sizeof(bounce), "0x%px\n", in module_sect_read()
1582 memcpy(buf, bounce, count); in module_sect_read()
/kernel/linux/linux-5.10/Documentation/ide/
DChangeLog.ide-tape.1995-2002140 * bounce buffers.

12