Home
last modified time | relevance | path

Searched refs:bounce_buffer (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_jpeg.c332 ctx->jpeg_enc.bounce_buffer.size = in hantro_jpeg_enc_init()
336 ctx->jpeg_enc.bounce_buffer.cpu = in hantro_jpeg_enc_init()
338 ctx->jpeg_enc.bounce_buffer.size, in hantro_jpeg_enc_init()
339 &ctx->jpeg_enc.bounce_buffer.dma, in hantro_jpeg_enc_init()
342 if (!ctx->jpeg_enc.bounce_buffer.cpu) in hantro_jpeg_enc_init()
351 ctx->jpeg_enc.bounce_buffer.size, in hantro_jpeg_enc_exit()
352 ctx->jpeg_enc.bounce_buffer.cpu, in hantro_jpeg_enc_exit()
353 ctx->jpeg_enc.bounce_buffer.dma, in hantro_jpeg_enc_exit()
Dhantro_h1_jpeg_enc.c40 vepu_write_relaxed(vpu, ctx->jpeg_enc.bounce_buffer.dma, in hantro_h1_jpeg_enc_set_buffers()
42 vepu_write_relaxed(vpu, ctx->jpeg_enc.bounce_buffer.size, in hantro_h1_jpeg_enc_set_buffers()
153 ctx->jpeg_enc.bounce_buffer.cpu, bytesused); in hantro_jpeg_enc_done()
Drk3399_vpu_hw_jpeg_enc.c71 vepu_write_relaxed(vpu, ctx->jpeg_enc.bounce_buffer.dma, in rk3399_vpu_jpeg_enc_set_buffers()
73 vepu_write_relaxed(vpu, ctx->jpeg_enc.bounce_buffer.size, in rk3399_vpu_jpeg_enc_set_buffers()
Dhantro_hw.h49 struct hantro_aux_buf bounce_buffer; member
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/
Dena_eth_com.c49 u8 *bounce_buffer) in ena_com_write_bounce_buffer_to_dev() argument
77 bounce_buffer, (llq_info->desc_list_entry_size) / 8); in ena_com_write_bounce_buffer_to_dev()
94 u8 *bounce_buffer = pkt_ctrl->curr_bounce_buf; in ena_com_write_header_to_bounce() local
109 if (unlikely(!bounce_buffer)) { in ena_com_write_header_to_bounce()
114 memcpy(bounce_buffer + header_offset, header_src, header_len); in ena_com_write_header_to_bounce()
122 u8 *bounce_buffer; in get_sq_desc_llq() local
125 bounce_buffer = pkt_ctrl->curr_bounce_buf; in get_sq_desc_llq()
127 if (unlikely(!bounce_buffer)) { in get_sq_desc_llq()
132 sq_desc = bounce_buffer + pkt_ctrl->idx * io_sq->desc_entry_size; in get_sq_desc_llq()
/kernel/linux/linux-5.10/drivers/tty/hvc/
Dhvc_vio.c230 unsigned char bounce_buffer[16]; in udbg_hvc_putc() local
245 bounce_buffer[0] = c; in udbg_hvc_putc()
246 count = hvterm_raw_put_chars(0, bounce_buffer, 1); in udbg_hvc_putc()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dr852.c207 memcpy(dev->bounce_buffer, buf, R852_DMA_LEN); in r852_do_dma()
224 memcpy((void *)buf, dev->bounce_buffer, R852_DMA_LEN); in r852_do_dma()
899 dev->bounce_buffer = dma_alloc_coherent(&pci_dev->dev, R852_DMA_LEN, in r852_probe()
902 if (!dev->bounce_buffer) in r852_probe()
960 dma_free_coherent(&pci_dev->dev, R852_DMA_LEN, dev->bounce_buffer, in r852_probe()
994 dma_free_coherent(&pci_dev->dev, R852_DMA_LEN, dev->bounce_buffer, in r852_remove()
Dr852.h117 uint8_t *bounce_buffer; /* virtual address of bounce buffer */ member
/kernel/linux/linux-5.10/drivers/usb/host/
Dimx21-hcd.c191 etd->bounce_buffer = NULL; in reset_etd()
276 etd->bounce_buffer = kmalloc(etd->len, in activate_etd()
280 etd->bounce_buffer = kmemdup(etd->cpu_buffer, in activate_etd()
284 if (!etd->bounce_buffer) { in activate_etd()
291 etd->bounce_buffer, in activate_etd()
340 kfree(etd->bounce_buffer); in activate_etd()
1057 if (etd->bounce_buffer) { in nonisoc_etd_done()
1058 memcpy(etd->cpu_buffer, etd->bounce_buffer, bytes_xfrd); in nonisoc_etd_done()
1068 kfree(etd->bounce_buffer); in nonisoc_etd_done()
1069 etd->bounce_buffer = NULL; in nonisoc_etd_done()
[all …]
Dimx21-hcd.h356 void *bounce_buffer; member
/kernel/linux/linux-5.10/drivers/gpu/drm/via/
Dvia_dmablit.h47 unsigned char *bounce_buffer; member
Dvia_dmablit.c200 vfree(vsg->bounce_buffer); in via_free_sg_info()
201 vsg->bounce_buffer = NULL; in via_free_sg_info()
580 vsg->bounce_buffer = NULL; in via_build_sg_info()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-esdhc-mcf.c330 host->bounce_buffer, length); in esdhc_mcf_copy_to_bounce_buffer()
332 esdhc_mcf_buffer_swap32((u32 *)host->bounce_buffer, in esdhc_mcf_copy_to_bounce_buffer()
466 if (!host->bounce_buffer) { in sdhci_esdhc_mcf_probe()
Dsdhci.c633 if (host->bounce_buffer) { in sdhci_pre_dma_transfer()
649 host->bounce_buffer, length); in sdhci_pre_dma_transfer()
864 if (host->bounce_buffer) in sdhci_sdma_address()
2979 if (host->flags & SDHCI_REQ_USE_DMA && !host->bounce_buffer) in sdhci_pre_req()
3119 if (host->bounce_buffer) { in sdhci_request_done()
3142 host->bounce_buffer, in sdhci_request_done()
4129 host->bounce_buffer = devm_kmalloc(mmc->parent, in sdhci_allocate_bounce_buffer()
4132 if (!host->bounce_buffer) { in sdhci_allocate_bounce_buffer()
4144 host->bounce_buffer, in sdhci_allocate_bounce_buffer()
Dsdhci.h482 char *bounce_buffer; /* For packing SDMA reads/writes */ member
/kernel/linux/linux-5.10/drivers/rpmsg/
Dqcom_smd.c220 void *bounce_buffer; member
554 ptr = channel->bounce_buffer; in qcom_smd_channel_recv_single()
826 channel->bounce_buffer = kmalloc(bb_size, GFP_KERNEL); in qcom_smd_channel_open()
827 if (!channel->bounce_buffer) in qcom_smd_channel_open()
868 kfree(channel->bounce_buffer); in qcom_smd_channel_close()
869 channel->bounce_buffer = NULL; in qcom_smd_channel_close()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/
Dibmveth.h148 void *bounce_buffer; member
Dibmveth.c608 adapter->bounce_buffer = in ibmveth_open()
610 if (!adapter->bounce_buffer) in ibmveth_open()
614 dma_map_single(&adapter->vdev->dev, adapter->bounce_buffer, in ibmveth_open()
631 kfree(adapter->bounce_buffer); in ibmveth_open()
708 kfree(adapter->bounce_buffer); in ibmveth_close()
1108 skb_copy_from_linear_data(skb, adapter->bounce_buffer, in ibmveth_start_xmit()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch13828 - host->bounce_buffer, length);
13831 + host->bounce_buffer,
14781 if (host->bounce_buffer) {
15412 char *bounce_buffer; /* For packing SDMA reads/writes */