Home
last modified time | relevance | path

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

12345678910>>...30

/OK3568_Linux_fs/kernel/lib/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A 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()
/OK3568_Linux_fs/kernel/arch/s390/mm/
H A 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()
/OK3568_Linux_fs/kernel/drivers/misc/eeprom/
H A 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()
/OK3568_Linux_fs/kernel/arch/arm64/mm/
H A Ddma-mapping-noalias.c111 unsigned long attrs, bool bounce) in __arm64_noalias_map() argument
113 bounce = bounce || (phys | size) & ~PAGE_MASK; in __arm64_noalias_map()
114 if (bounce) { in __arm64_noalias_map()
125 if (bounce) in __arm64_noalias_map()
193 bool bounce = !dma_capable(dev, phys_to_dma(dev, phys), size, true); in arm64_noalias_map_page() local
195 if (!bounce && dir == DMA_TO_DEVICE) { in arm64_noalias_map_page()
200 bounce = bounce || page_mapped(page); in arm64_noalias_map_page()
201 phys = __arm64_noalias_map(dev, phys, size, dir, attrs, bounce); in arm64_noalias_map_page()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/misc/
H A Dbrcm,kona-smc.txt3 This binding defines the location of the bounce buffer
9 - reg : Location and size of bounce buffer
/OK3568_Linux_fs/kernel/Documentation/i2c/
H A 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.
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/tipcutils/tipcutils/
H A D0002-replace-non-standard-uint-with-unsigned-int.patch30 __u32 bounce;
33 -static void master_to_client(uint cmd, uint msglen, uint msgcnt, uint bounce)
34 …d master_to_client(unsigned int cmd, unsigned int msglen, unsigned int msgcnt, unsigned int bounce)
38 @@ -93,7 +93,7 @@ static void master_to_client(uint cmd, uint msglen, uint msgcnt, uint bounce)
42 -static void client_from_master(uint *cmd, uint *msglen, uint *msgcnt, uint *bounce)
43 …nt_from_master(unsigned int *cmd, unsigned int *msglen, unsigned int *msgcnt, unsigned int *bounce)
/OK3568_Linux_fs/u-boot/lib/efi_loader/
H A DKconfig12 bool "EFI Applications use bounce buffers for DMA operations"
17 hardware we can create a bounce buffer so that payloads don't have to
/OK3568_Linux_fs/kernel/drivers/char/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/
H A Dleds-el15203000.txt20 - bounce pattern
21 - inversed bounce pattern
/OK3568_Linux_fs/kernel/block/
H A Dbounce.c295 bool bounce = false; in __blk_queue_bounce() local
303 bounce = true; in __blk_queue_bounce()
305 if (!bounce) in __blk_queue_bounce()
H A DMakefile13 obj-$(CONFIG_BOUNCE) += bounce.o
/OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/
H A 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()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A 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()
/OK3568_Linux_fs/kernel/drivers/block/
H A Dxen-blkfront.c218 unsigned int bounce:1; member
321 if (info->bounce) { in fill_grant_buffer()
341 if (info->bounce) in fill_grant_buffer()
387 if (info->bounce) in get_grant()
411 if (!info->bounce) { in get_indirect_grant()
726 .need_copy = rq_data_dir(req) && info->bounce, in blkif_queue_rw_req()
1051 "bounce buffer:", info->bounce ? "enabled" : "disabled;"); in xlvbd_flush()
1285 BUG_ON(info->bounce); in blkif_free_ring()
1302 if (info->bounce) in blkif_free_ring()
1323 if (info->bounce) in blkif_free_ring()
[all …]
/OK3568_Linux_fs/u-boot/doc/
H A Dbounces2 # bounce. Addresses are listed one per line and need to match the author
/OK3568_Linux_fs/kernel/drivers/media/usb/go7007/
H A 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()
/OK3568_Linux_fs/kernel/drivers/staging/media/hantro/
H A DTODO11 * Instead of having a DMA bounce buffer, it could be possible to use a
/OK3568_Linux_fs/kernel/Documentation/leds/
H A Dleds-el15203000.rst114 Inverted bounce mode for Pipe LED::
/OK3568_Linux_fs/kernel/Documentation/x86/x86_64/
H A 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.
/OK3568_Linux_fs/kernel/Documentation/block/
H A 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.
/OK3568_Linux_fs/buildroot/package/qemu/
H A D0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch40 /* Prevent overly long bounce buffer allocations */
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/mesa/mesa-demos/
H A D0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch161 - bounce \
204 + bounce \
/OK3568_Linux_fs/buildroot/package/efivar/
H A D0002-dp.h-make-format_guid-handle-misaligned-guid-pointer.patch23 This patch makes format_guid() use a local variable as a bounce buffer

12345678910>>...30