| /drivers/misc/eeprom/ |
| A D | at25.c | 100 if (!bounce) in at25_ee_read() 131 memcpy(buf, bounce, segment); in at25_ee_read() 156 if (!bounce) in fm25_aux_read() 162 SPI_MEM_OP_DATA_IN(len, bounce, 1)); in fm25_aux_read() 169 memcpy(buf, bounce, len); in fm25_aux_read() 203 if (!bounce) in at25_wait_ready() 209 SPI_MEM_OP_DATA_IN(1, bounce, 1)); in at25_wait_ready() 217 if (!(bounce[0] & AT25_SR_nRDY)) in at25_wait_ready() 220 return bounce[0]; in at25_wait_ready() 240 if (!bounce) in at25_ee_write() [all …]
|
| /drivers/gpu/drm/ |
| A D | drm_cache.c | 227 char bounce[MEMCPY_BOUNCE_SIZE]; in memcpy_fallback() local 232 memcpy_fromio(bounce, _src, MEMCPY_BOUNCE_SIZE); in memcpy_fallback() 233 memcpy_toio(_dst, bounce, MEMCPY_BOUNCE_SIZE); in memcpy_fallback() 239 memcpy_fromio(bounce, _src, MEMCPY_BOUNCE_SIZE); in memcpy_fallback() 240 memcpy_toio(_dst, bounce, MEMCPY_BOUNCE_SIZE); in memcpy_fallback()
|
| /drivers/gpu/drm/vmwgfx/ |
| A D | vmwgfx_ioctl.c | 131 void *bounce = NULL; in vmw_get_cap_3d_ioctl() local 149 bounce = vzalloc(size); in vmw_get_cap_3d_ioctl() 150 if (unlikely(bounce == NULL)) { in vmw_get_cap_3d_ioctl() 155 ret = vmw_devcaps_copy(dev_priv, vmw_fp->gb_aware, bounce, size); in vmw_get_cap_3d_ioctl() 159 ret = copy_to_user(buffer, bounce, size); in vmw_get_cap_3d_ioctl() 163 vfree(bounce); in vmw_get_cap_3d_ioctl()
|
| A D | vmwgfx_devcaps.c | 56 static int vmw_fill_compat_cap(struct vmw_private *dev_priv, void *bounce, in vmw_fill_compat_cap() argument 60 (struct svga_3d_compat_cap *) bounce; in vmw_fill_compat_cap()
|
| /drivers/char/ |
| A D | mem.c | 88 char *bounce; in read_mem() local 112 bounce = kmalloc(PAGE_SIZE, GFP_KERNEL); in read_mem() 113 if (!bounce) in read_mem() 141 probe = copy_from_kernel_nofault(bounce, ptr, sz); in read_mem() 146 remaining = copy_to_user(buf, bounce, sz); in read_mem() 159 kfree(bounce); in read_mem() 165 kfree(bounce); in read_mem()
|
| /drivers/block/ |
| 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() 1783 info->bounce = !xen_blkif_trusted || in talk_to_blkback() [all …]
|
| /drivers/gpu/drm/sun4i/ |
| 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()
|
| /drivers/mtd/nand/raw/ |
| 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()
|
| /drivers/media/usb/go7007/ |
| A D | go7007-driver.c | 82 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()
|
| /drivers/gpu/drm/xe/ |
| A D | xe_migrate.c | 1823 void *bounce; in xe_migrate_access_memory() local 1827 bounce = kmalloc(XE_CACHELINE_BYTES, GFP_KERNEL); in xe_migrate_access_memory() 1828 if (!bounce) in xe_migrate_access_memory() 1844 bounce, in xe_migrate_access_memory() 1850 memcpy(bounce + ptr_offset, buf + buf_offset, copy_bytes); in xe_migrate_access_memory() 1854 bounce, in xe_migrate_access_memory() 1859 memcpy(buf + buf_offset, bounce + ptr_offset, in xe_migrate_access_memory() 1868 kfree(bounce); in xe_migrate_access_memory()
|
| /drivers/iio/adc/ |
| A D | ti-ads1298.c | 491 u32 *bounce = priv->bounce_buffer; in ads1298_rdata_complete() local 509 *bounce++ = get_unaligned_be24(data); in ads1298_rdata_complete()
|
| /drivers/net/ethernet/mellanox/mlx4/ |
| A D | en_tx.c | 891 bool bounce = false; in mlx4_en_xmit() local 946 bounce = true; in mlx4_en_xmit() 1088 if (unlikely(bounce)) in mlx4_en_xmit()
|
| /drivers/gpu/drm/ttm/ |
| A D | ttm_bo.c | 864 bounce: in ttm_bo_validate() 870 goto bounce; in ttm_bo_validate()
|
| /drivers/net/ |
| A D | xen-netfront.c | 181 bool bounce; member 761 if (np->bounce || unlikely(PAGE_SIZE - offset < ETH_HLEN)) { in xennet_start_xmit() 2273 info->bounce = !xennet_trusted || in talk_to_netback() 2443 if (np->bounce) in xennet_connect()
|
| /drivers/usb/dwc3/ |
| A D | gadget.c | 4702 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init() 4704 if (!dwc->bounce) { in dwc3_gadget_init() 4784 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init() 4809 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_exit()
|
| A D | core.h | 1175 void *bounce; member
|
| /drivers/iommu/ |
| A D | Kconfig | 118 bounce-buffering such that they cannot gain access to any unrelated
|