Home
last modified time | relevance | path

Searched refs:txbuf (Results 1 – 21 of 21) sorted by relevance

/external/libiio/src/examples/
Dad9361-iiostream.c63 static struct iio_buffer *txbuf = NULL; variable
72 if (txbuf) { iio_buffer_destroy(txbuf); } in shutdown()
242 txbuf = iio_device_create_buffer(tx, 1024*1024, false); in main()
243 if (!txbuf) { in main()
256 nbytes_tx = iio_buffer_push(txbuf); in main()
275 p_inc = iio_buffer_step(txbuf); in main()
276 p_end = iio_buffer_end(txbuf); in main()
277 for (p_dat = (char *)iio_buffer_first(txbuf, tx0_i); p_dat < p_end; p_dat += p_inc) { in main()
Dad9371-iiostream.c61 static struct iio_buffer *txbuf = NULL; variable
70 if (txbuf) { iio_buffer_destroy(txbuf); } in shutdown()
254 txbuf = iio_device_create_buffer(tx, 1024*1024, false); in main()
255 if (!txbuf) { in main()
268 nbytes_tx = iio_buffer_push(txbuf); in main()
287 p_inc = iio_buffer_step(txbuf); in main()
288 p_end = iio_buffer_end(txbuf); in main()
289 for (p_dat = iio_buffer_first(txbuf, tx0_i); p_dat < p_end; p_dat += p_inc) { in main()
/external/u-boot/drivers/spi/
Dcadence_qspi_apb.c479 const u8 *cmdbuf, unsigned int txlen, const u8 *txbuf) in cadence_qspi_apb_command_write() argument
514 memcpy(&wr_data, txbuf, wr_len); in cadence_qspi_apb_command_write()
519 txbuf += wr_len; in cadence_qspi_apb_command_write()
521 memcpy(&wr_data, txbuf, wr_len); in cadence_qspi_apb_command_write()
724 unsigned int n_tx, const u8 *txbuf) in cadence_qspi_apb_indirect_write_execute() argument
728 const u8 *bb_txbuf = txbuf; in cadence_qspi_apb_indirect_write_execute()
737 if ((uintptr_t)txbuf % 4) { in cadence_qspi_apb_indirect_write_execute()
741 memcpy(bounce_buf, txbuf, n_tx); in cadence_qspi_apb_indirect_write_execute()
Dcadence_qspi.h61 unsigned int txlen, const u8 *txbuf);
70 unsigned int txlen, const u8 *txbuf);
Dti_qspi.c192 u32 *txbuf = (u32 *)txp; in ti_qspi_xfer() local
195 data = cpu_to_be32(*txbuf++); in ti_qspi_xfer()
197 data = cpu_to_be32(*txbuf++); in ti_qspi_xfer()
199 data = cpu_to_be32(*txbuf++); in ti_qspi_xfer()
201 data = cpu_to_be32(*txbuf++); in ti_qspi_xfer()
Dfsl_qspi.c656 static void qspi_op_write(struct fsl_qspi_priv *priv, u8 *txbuf, u32 len) in qspi_op_write() argument
719 memcpy(&data, txbuf, 4); in qspi_op_write()
722 txbuf += 4; in qspi_op_write()
807 u32 txbuf; in qspi_xfer() local
814 memcpy(&txbuf, dout, 4); in qspi_xfer()
825 priv->sf_addr = swab32(txbuf) & OFFSET_BITS_MASK; in qspi_xfer()
828 priv->sf_addr = swab32(txbuf) & OFFSET_BITS_MASK; in qspi_xfer()
832 wr_sfaddr = swab32(txbuf) & OFFSET_BITS_MASK; in qspi_xfer()
Dspi-uclass.c126 size_t n_opcode, const u8 *txbuf, u8 *rxbuf, in spi_write_then_read() argument
140 ret = spi_xfer(slave, n_buf * 8, txbuf, rxbuf, SPI_XFER_END); in spi_write_then_read()
/external/libnl/lib/
Dsocket.c675 int nl_socket_set_buffer_size(struct nl_sock *sk, int rxbuf, int txbuf) in nl_socket_set_buffer_size() argument
682 if (txbuf <= 0) in nl_socket_set_buffer_size()
683 txbuf = 32768; in nl_socket_set_buffer_size()
689 &txbuf, sizeof(txbuf)); in nl_socket_set_buffer_size()
/external/u-boot/drivers/serial/
Dserial_mpc8xx.c36 uchar txbuf; /* tx buffers */ member
125 out_be32(&rtx->txbd.cbd_bufaddr, (__force uint)&rtx->txbuf); in serial_mpc8xx_probe()
184 out_8(&rtx->txbuf, c); in serial_mpc8xx_putc()
Dserial_sti_asc.c29 u32 txbuf; member
160 writel(c, &uart->txbuf); in sti_asc_serial_putc()
/external/u-boot/drivers/net/
Dmcffec.c492 info->txbd[i].cbd_bufaddr = (uint) (&info->txbuf[0]); in fec_init()
535 memset(info->txbuf, 0, DBUF_LENGTH); in fec_halt()
572 fec_info[i].txbuf = in mcffec_initialize()
573 (char *)((u32)fec_info[i].txbuf + tmp + in mcffec_initialize()
575 tmp = (u32)fec_info[i].txbuf; in mcffec_initialize()
583 fec_info[i].txbuf = in mcffec_initialize()
Dfsl_mcdmafec.c411 info->txbd[i].cbd_bufaddr = (uint) (&info->txbuf[0]); in fec_init()
533 fec_info[i].txbuf = in mcdmafec_initialize()
534 (char *)((u32)fec_info[i].txbuf + tmp + in mcdmafec_initialize()
536 tmp = (u32)fec_info[i].txbuf; in mcdmafec_initialize()
544 fec_info[i].txbuf = in mcdmafec_initialize()
Dmpc8xx_fec.c90 static char txbuf[DBUF_LENGTH] __aligned(8); variable
92 #error txbuf must be aligned.
585 out_be32(&rtx->txbd[i].cbd_bufaddr, (uint)txbuf); in fec_init()
/external/u-boot/lib/efi_loader/
Defi_net.c429 u32 *int_status, void **txbuf) in efi_net_get_status() argument
433 EFI_ENTRY("%p, %p, %p", this, int_status, txbuf); in efi_net_get_status()
458 if (txbuf) in efi_net_get_status()
459 *txbuf = new_tx_packet; in efi_net_get_status()
/external/u-boot/arch/m68k/include/asm/
Dfsl_mcdmafec.h77 char *txbuf; member
Dfec.h100 char *txbuf; member
/external/iw/
Diw.c39 int rxbuf, int txbuf) in nl_socket_set_buffer_size() argument
41 return nl_set_buffer_size(sk, rxbuf, txbuf); in nl_socket_set_buffer_size()
/external/u-boot/drivers/i2c/
Dimx_lpi2c.c96 static int bus_i2c_send(struct udevice *bus, u8 *txbuf, int len) in bus_i2c_send() argument
111 writel(*txbuf++, &regs->mtdr); in bus_i2c_send()
/external/u-boot/arch/arm/include/asm/arch-tegra/
Dusb.h19 uint txbuf; member
/external/u-boot/include/
Dspi.h268 size_t n_opcode, const u8 *txbuf, u8 *rxbuf,
Defi_api.h1280 u32 *int_status, void **txbuf);