Searched refs:bounce_buffer (Results 1 – 10 of 10) sorted by relevance
| /rk3399_rockchip-uboot/common/ |
| H A D | bouncebuf.c | 14 static int addr_aligned(struct bounce_buffer *state) in addr_aligned() 34 int bounce_buffer_start(struct bounce_buffer *state, void *data, in bounce_buffer_start() 38 state->bounce_buffer = data; in bounce_buffer_start() 44 state->bounce_buffer = memalign(ARCH_DMA_MINALIGN, in bounce_buffer_start() 46 if (!state->bounce_buffer) in bounce_buffer_start() 50 memcpy(state->bounce_buffer, state->user_buffer, in bounce_buffer_start() 58 flush_dcache_range((unsigned long)state->bounce_buffer, in bounce_buffer_start() 59 (unsigned long)(state->bounce_buffer) + in bounce_buffer_start() 65 int bounce_buffer_stop(struct bounce_buffer *state) in bounce_buffer_stop() 69 invalidate_dcache_range((unsigned long)state->bounce_buffer, in bounce_buffer_stop() [all …]
|
| /rk3399_rockchip-uboot/include/ |
| H A D | bouncebuf.h | 40 struct bounce_buffer { struct 48 void *bounce_buffer; argument 64 int bounce_buffer_start(struct bounce_buffer *state, void *data, argument 70 int bounce_buffer_stop(struct bounce_buffer *state);
|
| /rk3399_rockchip-uboot/board/synopsys/axs10x/ |
| H A D | nand.c | 105 struct bounce_buffer bbstate; in axs101_nand_write_buf() 112 writel(bbstate.bounce_buffer, &bd->buffer_ptr0); in axs101_nand_write_buf() 139 struct bounce_buffer bbstate; in axs101_nand_read_buf() 146 writel(bbstate.bounce_buffer, &bd->buffer_ptr0); in axs101_nand_read_buf()
|
| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | tegra_mmc.c | 72 struct bounce_buffer *bbstate) in tegra_mmc_prepare_data() 78 bbstate->bounce_buffer, bbstate->user_buffer, data->blocks, in tegra_mmc_prepare_data() 81 writel((u32)(unsigned long)bbstate->bounce_buffer, &priv->reg->sysad); in tegra_mmc_prepare_data() 159 struct bounce_buffer *bbstate) in tegra_mmc_send_cmd_bounced() 336 struct bounce_buffer bbstate; in tegra_mmc_send_cmd()
|
| H A D | dw_mmc.c | 118 void *bounce_buffer) in dwmci_prepare_data() argument 142 (ulong)bounce_buffer + (i * PAGE_SIZE)); in dwmci_prepare_data() 370 struct bounce_buffer bbstate; 404 bbstate.bounce_buffer); 515 struct bounce_buffer bbstate; 554 bbstate.bounce_buffer);
|
| H A D | mxsmmc.c | 97 struct bounce_buffer bbstate; in mxsmmc_send_cmd_dma() 114 priv->desc->cmd.address = (dma_addr_t)bbstate.bounce_buffer; in mxsmmc_send_cmd_dma()
|
| /rk3399_rockchip-uboot/drivers/rkflash/ |
| H A D | sfc.c | 127 struct bounce_buffer bb; in sfc_request() 141 writel((unsigned long)bb.bounce_buffer, g_sfc_reg + SFC_DMA_ADDR); in sfc_request()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | tegra_nand.c | 518 struct bounce_buffer bbstate, bbstate_oob; in nand_rw_page() 543 writel(virt_to_phys(bbstate.bounce_buffer), &info->reg->data_block_ptr); in nand_rw_page() 575 writel(virt_to_phys(bbstate_oob.bounce_buffer), &info->reg->tag_ptr); in nand_rw_page() 730 struct bounce_buffer bbstate_oob; in nand_rw_oob() 763 writel(virt_to_phys(bbstate_oob.bounce_buffer), &info->reg->tag_ptr); in nand_rw_oob()
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | rockchip_sfc.c | 629 struct bounce_buffer bb; in rockchip_sfc_xfer_data_dma() 648 ret = rockchip_sfc_fifo_transfer_dma(sfc, (dma_addr_t)bb.bounce_buffer, len); in rockchip_sfc_xfer_data_dma()
|
| /rk3399_rockchip-uboot/drivers/nvme/ |
| H A D | nvme.c | 758 struct bounce_buffer bb; in nvme_blk_rw() 770 temp_buffer = (unsigned long)bb.bounce_buffer; in nvme_blk_rw()
|