Home
last modified time | relevance | path

Searched refs:bounce_buf (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/spi/
H A Dcadence_qspi_apb.c724 void *bounce_buf = NULL; in cadence_qspi_apb_indirect_write_execute() local
733 bounce_buf = malloc(n_tx); in cadence_qspi_apb_indirect_write_execute()
734 if (!bounce_buf) in cadence_qspi_apb_indirect_write_execute()
736 memcpy(bounce_buf, txbuf, n_tx); in cadence_qspi_apb_indirect_write_execute()
737 bb_txbuf = bounce_buf; in cadence_qspi_apb_indirect_write_execute()
778 if (bounce_buf) in cadence_qspi_apb_indirect_write_execute()
779 free(bounce_buf); in cadence_qspi_apb_indirect_write_execute()
786 if (bounce_buf) in cadence_qspi_apb_indirect_write_execute()
787 free(bounce_buf); in cadence_qspi_apb_indirect_write_execute()
/openbmc/qemu/block/
H A Dmirror.c1700 void *bounce_buf; in bdrv_mirror_top_pwritev() local
1709 bounce_buf = qemu_blockalign(bs, bytes); in bdrv_mirror_top_pwritev()
1710 iov_to_buf_full(qiov->iov, qiov->niov, 0, bounce_buf, bytes); in bdrv_mirror_top_pwritev()
1713 qemu_iovec_add(&bounce_qiov, bounce_buf, bytes); in bdrv_mirror_top_pwritev()
1724 qemu_vfree(bounce_buf); in bdrv_mirror_top_pwritev()