/openbmc/linux/lib/ |
H A D | test_hmm.c | 131 bounce->addr = addr; in dmirror_bounce_init() 133 bounce->cpages = 0; in dmirror_bounce_init() 135 if (!bounce->ptr) in dmirror_bounce_init() 157 vfree(bounce->ptr); in dmirror_bounce_fini() 366 ptr = bounce->ptr + ((start - bounce->addr) & PAGE_MASK); in dmirror_do_read() 380 bounce->cpages++; in dmirror_do_read() 418 bounce.size)) in dmirror_read() 432 ptr = bounce->ptr + ((start - bounce->addr) & PAGE_MASK); in dmirror_do_write() 446 bounce->cpages++; in dmirror_do_write() 840 bounce.size)) in dmirror_exclusive() [all …]
|
/openbmc/linux/arch/s390/mm/ |
H A D | maccess.c | 153 void *bounce = ptr; in xlate_dev_mem_ptr() local 165 bounce = (void *)__get_free_page(GFP_ATOMIC); in xlate_dev_mem_ptr() 166 if (!bounce) in xlate_dev_mem_ptr() 172 memcpy(bounce, ptr, size); in xlate_dev_mem_ptr() 176 memcpy(bounce, ptr, size); in xlate_dev_mem_ptr() 178 memcpy(bounce, ptr, size); in xlate_dev_mem_ptr() 183 return bounce; in xlate_dev_mem_ptr()
|
/openbmc/qemu/block/ |
H A D | blkio.c | 139 bounce->buf.iov_base = addr; in blkio_do_alloc_bounce_buffer() 140 bounce->buf.iov_len = bytes; in blkio_do_alloc_bounce_buffer() 154 QLIST_INSERT_AFTER(prev, bounce, next); in blkio_do_alloc_bounce_buffer() 158 bounce->buf.iov_base = addr; in blkio_do_alloc_bounce_buffer() 159 bounce->buf.iov_len = bytes; in blkio_do_alloc_bounce_buffer() 220 QLIST_REMOVE(bounce, next); in blkio_free_bounce_buffer() 369 BlkioBounceBuf bounce; in blkio_co_preadv() local 379 iov = &bounce.buf; in blkio_co_preadv() 397 blkio_free_bounce_buffer(s, &bounce); in blkio_co_preadv() 413 BlkioBounceBuf bounce; in blkio_co_pwritev() local [all …]
|
/openbmc/qemu/hw/nvme/ |
H A D | dif.c | 413 g_free(ctx->data.bounce); in nvme_dif_rw_cb() 416 g_free(ctx->mdata.bounce); in nvme_dif_rw_cb() 501 ctx->mdata.bounce = g_malloc(mlen); in nvme_dif_rw_mdata_in_cb() 504 qemu_iovec_add(&ctx->mdata.iov, ctx->mdata.bounce, mlen); in nvme_dif_rw_mdata_in_cb() 585 ctx->mdata.bounce = g_malloc0(mlen); in nvme_dif_rw() 590 mbuf = ctx->mdata.bounce; in nvme_dif_rw() 646 ctx->data.bounce = g_malloc(len); in nvme_dif_rw() 649 qemu_iovec_add(&ctx->data.iov, ctx->data.bounce, len); in nvme_dif_rw() 666 ctx->mdata.bounce = g_malloc(mlen); in nvme_dif_rw() 708 g_free(ctx->data.bounce); in nvme_dif_rw() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_cache.c | 230 char bounce[MEMCPY_BOUNCE_SIZE]; in memcpy_fallback() local 235 memcpy_fromio(bounce, _src, MEMCPY_BOUNCE_SIZE); in memcpy_fallback() 236 memcpy_toio(_dst, bounce, MEMCPY_BOUNCE_SIZE); in memcpy_fallback() 242 memcpy_fromio(bounce, _src, MEMCPY_BOUNCE_SIZE); in memcpy_fallback() 243 memcpy_toio(_dst, bounce, MEMCPY_BOUNCE_SIZE); in memcpy_fallback()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ioctl.c | 130 void *bounce = NULL; in vmw_get_cap_3d_ioctl() local 148 bounce = vzalloc(size); in vmw_get_cap_3d_ioctl() 149 if (unlikely(bounce == NULL)) { in vmw_get_cap_3d_ioctl() 154 ret = vmw_devcaps_copy(dev_priv, vmw_fp->gb_aware, bounce, size); in vmw_get_cap_3d_ioctl() 158 ret = copy_to_user(buffer, bounce, size); in vmw_get_cap_3d_ioctl() 162 vfree(bounce); in vmw_get_cap_3d_ioctl()
|
H A D | vmwgfx_devcaps.c | 55 static int vmw_fill_compat_cap(struct vmw_private *dev_priv, void *bounce, in vmw_fill_compat_cap() argument 59 (struct svga_3d_compat_cap *) bounce; in vmw_fill_compat_cap()
|
/openbmc/linux/Documentation/devicetree/bindings/firmware/ |
H A D | brcm,kona-smc.yaml | 7 title: Broadcom Kona family Secure Monitor bounce buffer 10 A bounce buffer used for non-secure to secure communications.
|
/openbmc/linux/Documentation/i2c/ |
H A D | dma-considerations.rst | 49 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.
|
/openbmc/linux/drivers/char/ |
H A D | mem.c | 111 char *bounce; in read_mem() local 135 bounce = kmalloc(PAGE_SIZE, GFP_KERNEL); in read_mem() 136 if (!bounce) in read_mem() 164 probe = copy_from_kernel_nofault(bounce, ptr, sz); in read_mem() 169 remaining = copy_to_user(buf, bounce, sz); in read_mem() 182 kfree(bounce); in read_mem() 188 kfree(bounce); in read_mem()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/tipcutils/tipcutils/ |
H A D | 0002-replace-non-standard-uint-with-unsigned-int.patch | 32 __u32 bounce; 35 -static void master_to_client(uint cmd, uint msglen, uint msgcnt, uint bounce) 36 …d master_to_client(unsigned int cmd, unsigned int msglen, unsigned int msgcnt, unsigned int bounce) 40 @@ -93,7 +93,7 @@ static void master_to_client(uint cmd, uint msglen, uint msgcnt, uint bounce) 44 -static void client_from_master(uint *cmd, uint *msglen, uint *msgcnt, uint *bounce) 45 …nt_from_master(unsigned int *cmd, unsigned int *msglen, unsigned int *msgcnt, unsigned int *bounce)
|
/openbmc/linux/drivers/misc/eeprom/ |
H A D | at25.c | 205 u8 *bounce; in at25_ee_write() local 218 bounce = kmalloc(buf_size + at25->addrlen + 1, GFP_KERNEL); in at25_ee_write() 219 if (!bounce) in at25_ee_write() 231 u8 *cp = bounce; in at25_ee_write() 268 status = spi_write(at25->spi, bounce, in at25_ee_write() 315 kfree(bounce); in at25_ee_write()
|
/openbmc/linux/block/ |
H A D | bounce.c | 209 bool bounce = false; in __blk_queue_bounce() local 216 bounce = true; in __blk_queue_bounce() 218 if (!bounce) in __blk_queue_bounce()
|
H A D | blk-settings.c | 55 lim->bounce = BLK_BOUNCE_NONE; in blk_set_default_limits() 98 void blk_queue_bounce_limit(struct request_queue *q, enum blk_bounce bounce) in blk_queue_bounce_limit() argument 100 q->limits.bounce = bounce; in blk_queue_bounce_limit() 565 t->bounce = max(t->bounce, b->bounce); in blk_stack_limits()
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-el15203000.txt | 20 - bounce pattern 21 - inversed bounce pattern
|
/openbmc/linux/fs/erofs/ |
H A D | decompressor_deflate.c | 9 u8 bounce[PAGE_SIZE]; member 205 memcpy(strm->bounce, strm->z.next_in, strm->z.avail_in); in z_erofs_deflate_decompress() 206 strm->z.next_in = strm->bounce; in z_erofs_deflate_decompress()
|
H A D | decompressor_lzma.c | 10 u8 bounce[PAGE_SIZE]; member 252 memcpy(strm->bounce, strm->buf.in, strm->buf.in_size); in z_erofs_lzma_decompress() 253 strm->buf.in = strm->bounce; in z_erofs_lzma_decompress()
|
/openbmc/linux/kernel/module/ |
H A D | sysfs.c | 40 char bounce[MODULE_SECT_READ_SIZE + 1]; in module_sect_read() local 54 wrote = scnprintf(bounce, sizeof(bounce), "0x%px\n", in module_sect_read() 58 memcpy(buf, bounce, count); in module_sect_read()
|
/openbmc/u-boot/doc/ |
H A D | bounces | 2 # bounce. Addresses are listed one per line and need to match the author
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | Kconfig | 30 bool "EFI Applications use bounce buffers for DMA operations" 35 hardware we can create a bounce buffer so that payloads don't have to
|
/openbmc/linux/drivers/gpu/drm/sun4i/ |
H A D | sun6i_mipi_dsi.c | 886 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()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | r852.c | 174 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()
|
/openbmc/linux/drivers/block/ |
H A D | xen-blkfront.c | 220 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() 1220 BUG_ON(info->bounce); in blkif_free_ring() 1237 if (info->bounce) in blkif_free_ring() 1258 if (info->bounce) in blkif_free_ring() 1500 if (!info->bounce) { in blkif_completion() 1784 info->bounce = !xen_blkif_trusted || in talk_to_blkback() [all …]
|
/openbmc/linux/Documentation/leds/ |
H A D | leds-el15203000.rst | 114 Inverted bounce mode for Pipe LED::
|
/openbmc/qemu/hw/intc/ |
H A D | loongarch_extioi.c | 94 *data = s->bounce[index]; in extioi_readw() 231 s->bounce[index] = val; in extioi_writew() 415 VMSTATE_UINT32_ARRAY(bounce, LoongArchExtIOI, EXTIOI_IRQS_GROUP_COUNT),
|