| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | mpc8xx_spi.c | 65 static uchar *txbuf = variable 186 out_be32(&tbdf->cbd_bufaddr, (ulong)txbuf); in spi_init_f() 222 txbuf = (uchar *)malloc(MAX_BUFFER); in spi_init_r() 225 out_be32(&tbdf->cbd_bufaddr, (ulong)txbuf); in spi_init_r() 238 memset(txbuf, 0, MAX_BUFFER); in spi_write() 239 *txbuf = SPI_EEPROM_WREN; /* write enable */ in spi_write() 241 memcpy(txbuf, addr, alen); in spi_write() 242 *txbuf = SPI_EEPROM_WRITE; /* WRITE memory array */ in spi_write() 243 memcpy(alen + txbuf, buffer, len); in spi_write() 247 *txbuf = SPI_EEPROM_RDSR; /* read status */ in spi_write() [all …]
|
| H A D | cadence_qspi_apb.c | 477 const u8 *cmdbuf, unsigned int txlen, const u8 *txbuf) in cadence_qspi_apb_command_write() argument 512 memcpy(&wr_data, txbuf, wr_len); in cadence_qspi_apb_command_write() 517 txbuf += wr_len; in cadence_qspi_apb_command_write() 519 memcpy(&wr_data, txbuf, wr_len); in cadence_qspi_apb_command_write() 718 unsigned int n_tx, const u8 *txbuf) in cadence_qspi_apb_indirect_write_execute() argument 735 if (((uintptr_t)txbuf % 4) || (write_bytes % 4)) in cadence_qspi_apb_indirect_write_execute() 736 writesb(plat->ahbbase, txbuf, write_bytes); in cadence_qspi_apb_indirect_write_execute() 738 writesl(plat->ahbbase, txbuf, write_bytes >> 2); in cadence_qspi_apb_indirect_write_execute() 748 txbuf += write_bytes; in cadence_qspi_apb_indirect_write_execute()
|
| H A D | cadence_qspi.h | 57 unsigned int txlen, const u8 *txbuf); 66 unsigned int txlen, const u8 *txbuf);
|
| H A D | ti_qspi.c | 236 u32 *txbuf = (u32 *)txp; in __ti_qspi_xfer() local 239 data = cpu_to_be32(*txbuf++); in __ti_qspi_xfer() 241 data = cpu_to_be32(*txbuf++); in __ti_qspi_xfer() 243 data = cpu_to_be32(*txbuf++); in __ti_qspi_xfer() 245 data = cpu_to_be32(*txbuf++); in __ti_qspi_xfer()
|
| H A D | fsl_qspi.c | 614 static void qspi_op_write(struct fsl_qspi_priv *priv, u8 *txbuf, u32 len) in qspi_op_write() argument 677 memcpy(&data, txbuf, 4); in qspi_op_write() 680 txbuf += 4; in qspi_op_write() 765 u32 txbuf; in qspi_xfer() local 772 memcpy(&txbuf, dout, 4); in qspi_xfer() 783 priv->sf_addr = swab32(txbuf) & OFFSET_BITS_MASK; in qspi_xfer() 786 priv->sf_addr = swab32(txbuf) & OFFSET_BITS_MASK; in qspi_xfer() 790 wr_sfaddr = swab32(txbuf) & OFFSET_BITS_MASK; in qspi_xfer()
|
| H A D | spi-uclass.c | 135 size_t n_opcode, const u8 *txbuf, u8 *rxbuf, in spi_write_then_read() argument 149 ret = spi_xfer(slave, n_buf * 8, txbuf, rxbuf, SPI_XFER_END); in spi_write_then_read()
|
| /rk3399_rockchip-uboot/drivers/power/pmic/ |
| H A D | rk8xx_spi.c | 56 u8 txbuf[3]; in _spi_read() local 62 txbuf[0] = RK806_CMD_READ; in _spi_read() 63 txbuf[1] = reg; in _spi_read() 64 txbuf[2] = RK806_REG_H; in _spi_read() 66 ret = spi_write_then_read(priv->slave, txbuf, 3, NULL, buffer, 1); in _spi_read() 75 u8 txbuf[4]; in _spi_write() local 86 txbuf[0] = RK806_CMD_WRITE; in _spi_write() 87 txbuf[1] = reg; in _spi_write() 88 txbuf[2] = RK806_REG_H; in _spi_write() 89 txbuf[3] = *buffer; in _spi_write() [all …]
|
| /rk3399_rockchip-uboot/lib/efi_loader/ |
| H A D | efi_net.c | 128 u32 *int_status, void **txbuf) in efi_net_get_status() argument 130 EFI_ENTRY("%p, %p, %p", this, int_status, txbuf); in efi_net_get_status() 135 if (txbuf) in efi_net_get_status() 136 *txbuf = new_tx_packet; in efi_net_get_status()
|
| /rk3399_rockchip-uboot/drivers/serial/ |
| H A D | serial_mpc8xx.c | 36 uchar txbuf; /* tx buffers */ member 123 out_be32(&rtx->txbd.cbd_bufaddr, (__force uint)&rtx->txbuf); in smc_init() 182 out_8(&rtx->txbuf, c); in smc_putc()
|
| H A D | serial_sti_asc.c | 30 u32 txbuf; member 161 writel(c, &uart->txbuf); in sti_asc_serial_putc()
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | mcffec.c | 493 info->txbd[i].cbd_bufaddr = (uint) (&info->txbuf[0]); in fec_init() 536 memset(info->txbuf, 0, DBUF_LENGTH); in fec_halt() 573 fec_info[i].txbuf = in mcffec_initialize() 574 (char *)((u32)fec_info[i].txbuf + tmp + in mcffec_initialize() 576 tmp = (u32)fec_info[i].txbuf; in mcffec_initialize() 584 fec_info[i].txbuf = in mcffec_initialize()
|
| H A D | fsl_mcdmafec.c | 412 info->txbd[i].cbd_bufaddr = (uint) (&info->txbuf[0]); in fec_init() 534 fec_info[i].txbuf = in mcdmafec_initialize() 535 (char *)((u32)fec_info[i].txbuf + tmp + in mcdmafec_initialize() 537 tmp = (u32)fec_info[i].txbuf; in mcdmafec_initialize() 545 fec_info[i].txbuf = in mcdmafec_initialize()
|
| H A D | mpc8xx_fec.c | 90 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()
|
| /rk3399_rockchip-uboot/examples/standalone/ |
| H A D | README_rkspi.md | 112 const u8 *txbuf, u8 *rxbuf, size_t n_buf); 119 - txbuf: write buffer (if exits)
|
| H A D | rkspi.h | 136 const u8 *txbuf, u8 *rxbuf, size_t n_buf);
|
| H A D | rkspi.c | 291 size_t n_opcode, const u8 *txbuf, u8 *rxbuf, in rockchip_spi_write_then_read() argument 305 ret = rockchip_spi_xfer(bus, cs, n_buf * 8, txbuf, rxbuf, SPI_XFER_END); in rockchip_spi_write_then_read()
|
| /rk3399_rockchip-uboot/arch/mips/mach-au1x00/ |
| H A D | au1x00_eth.c | 56 static char txbuf[DBUF_LENGTH]; variable 237 fifo_tx[i].addr = virt_to_phys(&txbuf[0]); in au1x00_init()
|
| /rk3399_rockchip-uboot/arch/m68k/include/asm/ |
| H A D | fsl_mcdmafec.h | 78 char *txbuf; member
|
| H A D | fec.h | 101 char *txbuf; member
|
| /rk3399_rockchip-uboot/drivers/i2c/ |
| H A D | imx_lpi2c.c | 95 static int bus_i2c_send(struct imx_lpi2c_reg *regs, u8 *txbuf, int len) in bus_i2c_send() argument 109 writel(*txbuf++, ®s->mtdr); in bus_i2c_send()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | spi.h | 291 size_t n_opcode, const u8 *txbuf, u8 *rxbuf,
|
| H A D | efi_api.h | 628 u32 *int_status, void **txbuf);
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra/ |
| H A D | usb.h | 20 uint txbuf; member
|