Searched refs:txbuf (Results 1 - 21 of 21) sorted by path

/u-boot/arch/arm/include/asm/arch-tegra/
H A Dusb.h19 uint txbuf; member in struct:usb_ctlr
/u-boot/arch/m68k/include/asm/
H A Dfec.h100 char *txbuf; member in struct:fec_info_s
/u-boot/drivers/firmware/arm-ffa/
H A Darm-ffa-uclass.c338 if (uc_priv->pair.txbuf) {
339 free(uc_priv->pair.txbuf);
340 uc_priv->pair.txbuf = NULL;
382 uc_priv->pair.txbuf = memalign(bytes, bytes);
383 if (!uc_priv->pair.txbuf) {
390 log_debug("FF-A TX buffer at virtual address %p\n", uc_priv->pair.txbuf);
394 memset(uc_priv->pair.txbuf, 0, bytes);
428 .a1 = map_to_sysmem(uc_priv->pair.txbuf),
H A Dffa-emul-uclass.c276 if (priv->pair.txbuf && priv->pair.rxbuf) {
283 priv->pair.txbuf = map_sysmem(pargs->a1, 0);
338 if (priv->pair.txbuf && priv->pair.rxbuf) {
339 priv->pair.txbuf = 0;
/u-boot/drivers/i2c/
H A Dimx_lpi2c.c98 static int bus_i2c_send(struct udevice *bus, u8 *txbuf, int len) argument
114 writel(*txbuf++, &regs->mtdr);
/u-boot/drivers/mtd/nand/raw/
H A Dmxic_nand.c326 static int mxic_nfc_data_xfer(struct mxic_nand_ctrl *nfc, const void *txbuf, argument
340 if (txbuf)
341 memcpy(&data, txbuf + pos, nbytes);
401 static void mxic_nfc_write_buf(struct mtd_info *mtd, const uint8_t *txbuf, argument
411 mxic_nfc_data_xfer(nfc, txbuf, NULL, wlen);
/u-boot/drivers/net/
H A Dmcffec.c57 info->txbuf =
58 (char *)((u32)info->txbuf + tmp +
60 tmp = (u32)info->txbuf;
68 info->txbuf =
343 info->txbd[i].cbd_bufaddr = (uint) (&info->txbuf[0]);
492 memset(info->txbuf, 0, DBUF_LENGTH);
H A Dmpc8xx_fec.c93 static char txbuf[DBUF_LENGTH] __aligned(8);
95 #error txbuf must be aligned.
561 out_be32(&rtx->txbd[i].cbd_bufaddr, (uint)txbuf);
/u-boot/drivers/serial/
H A Dserial_mpc8xx.c37 uchar txbuf; /* tx buffers */ member in struct:serialbuffer
129 out_be32(&rtx->txbd.cbd_bufaddr, (__force uint)&rtx->txbuf);
184 out_8(&rtx->txbuf, c);
H A Dserial_sti_asc.c32 u32 txbuf; member in struct:sti_asc_uart
163 writel(c, &uart->txbuf);
/u-boot/drivers/spi/
H A Dcadence_qspi_apb.c554 const void *txbuf = op->data.buf.out; local
593 memcpy(&wr_data, txbuf, wr_len);
598 txbuf += wr_len;
600 memcpy(&wr_data, txbuf, wr_len);
842 unsigned int n_tx, const u8 *txbuf)
846 const u8 *bb_txbuf = txbuf;
852 * Use bounce buffer for non 32 bit aligned txbuf to avoid data
855 if ((uintptr_t)txbuf % 4) {
859 memcpy(bounce_buf, txbuf, n_tx);
841 cadence_qspi_apb_indirect_write_execute(struct cadence_spi_priv *priv, unsigned int n_tx, const u8 *txbuf) argument
H A Dmicrochip_coreqspi.c105 * @txbuf: TX buffer
113 u8 *txbuf; member in struct:mchp_coreqspi
176 data = *(u32 *)qspi->txbuf;
177 qspi->txbuf += 4;
188 data = *qspi->txbuf++;
324 qspi->txbuf = &opcode;
331 qspi->txbuf = &opaddr[0];
334 qspi->txbuf[i] = address >> (8 * (op->addr.nbytes - i - 1));
344 qspi->txbuf = (u8 *)op->data.buf.out;
350 qspi->txbuf
[all...]
H A Dmtk_snor.c390 u8 *txbuf; local
400 txbuf = kmalloc_array(tx_len, sizeof(u8), GFP_KERNEL);
401 memset(txbuf, 0x0, tx_len * sizeof(u8));
404 txbuf[tx_cnt] = op->cmd.opcode;
407 txbuf[tx_cnt] = ((u8 *)&op->addr.val)[i - 1];
409 txbuf[tx_cnt] = 0x0;
412 txbuf[tx_cnt] = ((u8 *)op->data.buf.out)[i - 1];
418 writeb(txbuf[i], priv->base + MTK_NOR_REG_PRGDATA(reg_offset));
420 kfree(txbuf);
H A Dspi-mxic.c287 static int mxic_spi_data_xfer(struct mxic_spi_priv *priv, const void *txbuf, argument
301 if (txbuf)
302 memcpy(&data, txbuf + pos, nbytes);
H A Dspi-uclass.c155 size_t n_opcode, const u8 *txbuf, u8 *rxbuf,
170 ret = spi_xfer(slave, n_buf * 8, txbuf, rxbuf, SPI_XFER_END);
154 spi_write_then_read(struct spi_slave *slave, const u8 *opcode, size_t n_opcode, const u8 *txbuf, u8 *rxbuf, size_t n_buf) argument
H A Dti_qspi.c200 u32 *txbuf = (u32 *)txp; local
203 data = cpu_to_be32(*txbuf++);
205 data = cpu_to_be32(*txbuf++);
207 data = cpu_to_be32(*txbuf++);
209 data = cpu_to_be32(*txbuf++);
/u-boot/include/
H A Darm_ffa_priv.h176 * @txbuf: virtual address of the TX buffer
184 void *txbuf; /* Virtual address returned by memalign */ member in struct:ffa_rxtxpair
H A Defi_api.h1527 u32 *int_status, void **txbuf);
H A Dspi.h301 * @txbuf: buffer into which data to be written
308 size_t n_opcode, const u8 *txbuf, u8 *rxbuf,
/u-boot/lib/efi_loader/
H A Defi_net.c434 * @txbuf: transmission buffer
437 u32 *int_status, void **txbuf)
441 EFI_ENTRY("%p, %p, %p", this, int_status, txbuf);
466 if (txbuf)
467 *txbuf = new_tx_packet;
436 efi_net_get_status(struct efi_simple_network *this, u32 *int_status, void **txbuf) argument
/u-boot/test/dm/
H A Dffa.c45 ut_assertnonnull(uc_priv->pair.txbuf);

Completed in 365 milliseconds