Home
last modified time | relevance | path

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

/u-boot/common/
A Dbouncebuf.c16 static int addr_aligned(struct bounce_buffer *state) in addr_aligned()
39 int (*addr_is_aligned)(struct bounce_buffer *state)) in bounce_buffer_start_extalign()
42 state->bounce_buffer = data; in bounce_buffer_start_extalign()
48 state->bounce_buffer = memalign(alignment, in bounce_buffer_start_extalign()
50 if (!state->bounce_buffer) in bounce_buffer_start_extalign()
54 memcpy(state->bounce_buffer, state->user_buffer, in bounce_buffer_start_extalign()
63 (unsigned long)(state->bounce_buffer) + in bounce_buffer_start_extalign()
77 int bounce_buffer_stop(struct bounce_buffer *state) in bounce_buffer_stop()
82 (unsigned long)(state->bounce_buffer) + in bounce_buffer_stop()
86 if (state->bounce_buffer == state->user_buffer) in bounce_buffer_stop()
[all …]
/u-boot/include/
A Dbouncebuf.h39 struct bounce_buffer { struct
47 void *bounce_buffer; argument
63 int bounce_buffer_start(struct bounce_buffer *state, void *data, argument
75 int bounce_buffer_start_extalign(struct bounce_buffer *state, void *data,
78 int (*addr_is_aligned)(struct bounce_buffer *state));
84 int bounce_buffer_stop(struct bounce_buffer *state);
/u-boot/drivers/xen/
A Dpvblock.c71 u8 *bounce_buffer; member
117 free(dev->bounce_buffer); in free_blkfront()
263 dev->bounce_buffer = memalign(dev->info.sector_size, in init_blkfront()
265 if (!dev->bounce_buffer) { in init_blkfront()
272 dev->bounce_buffer); in init_blkfront()
626 aiocb.aio_buf = unaligned ? blk_dev->bounce_buffer : buffer; in pvblock_iop()
629 memcpy(blk_dev->bounce_buffer, buffer, desc->blksz); in pvblock_iop()
638 memcpy(buffer, blk_dev->bounce_buffer, desc->blksz); in pvblock_iop()
/u-boot/drivers/mmc/
A Dtegra_mmc.c77 struct bounce_buffer *bbstate) in tegra_mmc_prepare_data()
83 bbstate->bounce_buffer, bbstate->user_buffer, data->blocks, in tegra_mmc_prepare_data()
86 writel((u32)(unsigned long)bbstate->bounce_buffer, &priv->reg->sysad); in tegra_mmc_prepare_data()
164 struct bounce_buffer *bbstate) in tegra_mmc_send_cmd_bounced()
341 struct bounce_buffer bbstate; in tegra_mmc_send_cmd()
A Ddw_mmc.c53 void *bounce_buffer) in dwmci_prepare_data() argument
80 (ulong)bounce_buffer + (i * PAGE_SIZE)); in dwmci_prepare_data()
260 struct bounce_buffer bbstate;
294 bbstate.bounce_buffer);
A Drenesas-sdhi.c726 static int renesas_sdhi_addr_aligned(struct bounce_buffer *state) in renesas_sdhi_addr_aligned()
737 struct bounce_buffer bbstate; in renesas_sdhi_send_cmd()
765 data->dest = bbstate.bounce_buffer; in renesas_sdhi_send_cmd()
767 data->src = bbstate.bounce_buffer; in renesas_sdhi_send_cmd()
A Dmxsmmc.c261 struct bounce_buffer bbstate; in mxsmmc_send_cmd_dma()
278 priv->desc->cmd.address = (dma_addr_t)bbstate.bounce_buffer; in mxsmmc_send_cmd_dma()
/u-boot/drivers/mtd/nand/raw/
A Dtegra_nand.c522 struct bounce_buffer bbstate, bbstate_oob; in nand_rw_page()
547 writel(virt_to_phys(bbstate.bounce_buffer), &info->reg->data_block_ptr); in nand_rw_page()
579 writel(virt_to_phys(bbstate_oob.bounce_buffer), &info->reg->tag_ptr); in nand_rw_page()
734 struct bounce_buffer bbstate_oob; in nand_rw_oob()
767 writel(virt_to_phys(bbstate_oob.bounce_buffer), &info->reg->tag_ptr); in nand_rw_oob()

Completed in 13 milliseconds