Home
last modified time | relevance | path

Searched refs:tx_buf (Results 1 – 13 of 13) sorted by relevance

/rk3399_rockchip-uboot/drivers/spi/
H A Dspi-mem-nodm.c13 const u8 *tx_buf = NULL; in spi_mem_exec_op() local
25 tx_buf = op->data.buf.out; in spi_mem_exec_op()
51 if (!tx_buf && !rx_buf) in spi_mem_exec_op()
59 if (tx_buf || rx_buf) { in spi_mem_exec_op()
60 ret = spi_xfer(slave, op->data.nbytes * 8, tx_buf, in spi_mem_exec_op()
71 tx_buf || rx_buf ? op->data.nbytes : 0, in spi_mem_exec_op()
72 tx_buf || rx_buf ? (tx_buf ? "out" : "in") : "-"); in spi_mem_exec_op()
74 debug("%02x ", tx_buf ? tx_buf[i] : rx_buf[i]); in spi_mem_exec_op()
H A Dzynq_qspi.c91 const void *tx_buf; member
227 if (priv->tx_buf) { in zynq_qspi_write_data()
230 *data = *((u8 *)priv->tx_buf); in zynq_qspi_write_data()
231 priv->tx_buf += 1; in zynq_qspi_write_data()
235 *data = *((u16 *)priv->tx_buf); in zynq_qspi_write_data()
236 priv->tx_buf += 2; in zynq_qspi_write_data()
240 *data = *((u16 *)priv->tx_buf); in zynq_qspi_write_data()
241 priv->tx_buf += 2; in zynq_qspi_write_data()
242 *data |= (*((u8 *)priv->tx_buf) << 16); in zynq_qspi_write_data()
243 priv->tx_buf += 1; in zynq_qspi_write_data()
[all …]
H A Dspi-mem.c208 const u8 *tx_buf = NULL; in spi_mem_exec_op() local
280 xfers[xferpos].tx_buf = tmpbuf; in spi_mem_exec_op()
294 xfers[xferpos].tx_buf = tmpbuf + 1; in spi_mem_exec_op()
304 xfers[xferpos].tx_buf = tmpbuf + op->addr.nbytes + 1; in spi_mem_exec_op()
317 xfers[xferpos].tx_buf = op->data.buf.out; in spi_mem_exec_op()
342 tx_buf = op->data.buf.out; in spi_mem_exec_op()
374 if (!tx_buf && !rx_buf) in spi_mem_exec_op()
382 if (tx_buf || rx_buf) { in spi_mem_exec_op()
387 ret = spi_xfer(slave, op->data.nbytes * 8, tx_buf, in spi_mem_exec_op()
398 tx_buf || rx_buf ? op->data.nbytes : 0, in spi_mem_exec_op()
[all …]
H A Dzynq_spi.c218 const u8 *tx_buf = dout; in zynq_spi_xfer() local
238 if (tx_buf) in zynq_spi_xfer()
239 buf = *tx_buf++; in zynq_spi_xfer()
H A Dpic32_spi.c235 const void *tx_buf, void *rx_buf, in pic32_spi_xfer() argument
251 tx_buf, rx_buf, len); in pic32_spi_xfer()
258 priv->tx = tx_buf; in pic32_spi_xfer()
/rk3399_rockchip-uboot/drivers/tpm/
H A Dtpm_tis_st33zp24_spi.c75 u8 tx_buf[ST33ZP24_SPI_BUFFER_SIZE]; member
119 u8 *tx_buf = (u8 *)phy->tx_buf; in st33zp24_spi_write() local
122 tx_buf[total_length++] = TPM_WRITE_DIRECTION | LOCALITY0; in st33zp24_spi_write()
123 tx_buf[total_length++] = tpm_register; in st33zp24_spi_write()
126 tx_buf[total_length++] = tpm_size >> 8; in st33zp24_spi_write()
127 tx_buf[total_length++] = tpm_size; in st33zp24_spi_write()
129 memcpy(tx_buf + total_length, tpm_data, tpm_size); in st33zp24_spi_write()
132 memset(tx_buf + total_length, TPM_DUMMY_BYTE, phy->latency); in st33zp24_spi_write()
140 ret = spi_xfer(slave, total_length * 8, tx_buf, rx_buf, in st33zp24_spi_write()
170 u8 *tx_buf = (u8 *)phy->tx_buf; in st33zp24_spi_read8_reg() local
[all …]
/rk3399_rockchip-uboot/drivers/video/drm/
H A Ddrm_mipi_dsi.c155 packet->payload = msg->tx_buf; in mipi_dsi_create_packet()
157 const u8 *tx = msg->tx_buf; in mipi_dsi_create_packet()
179 .tx_buf = (u8 [2]) { 0, 0 }, in mipi_dsi_shutdown_peripheral()
198 .tx_buf = (u8 [2]) { 0, 0 }, in mipi_dsi_turn_on_peripheral()
223 .tx_buf = tx, in mipi_dsi_set_maximum_return_packet_size()
248 .tx_buf = tx, in mipi_dsi_compression_mode()
271 .tx_buf = pps, in mipi_dsi_picture_parameter_set()
295 .tx_buf = payload, in mipi_dsi_generic_write()
337 .tx_buf = params, in mipi_dsi_generic_read()
379 .tx_buf = data, in mipi_dsi_dcs_write_buffer()
[all …]
/rk3399_rockchip-uboot/drivers/net/
H A Dbcm-sf2-eth-gmac.c121 bufp = (uint8_t *)(dma->tx_buf + i * TX_BUF_SIZE_ALIGNED); in dma_tx_dump()
171 memset(dma->tx_buf, 0, TX_BUF_NUM * TX_BUF_SIZE_ALIGNED); in dma_tx_init()
176 bufp = dma->tx_buf + i * TX_BUF_SIZE_ALIGNED; in dma_tx_init()
192 bufp = dma->tx_buf; in dma_tx_init()
299 free(dma->tx_buf); in dma_deinit()
300 dma->tx_buf = NULL; in dma_deinit()
314 uint8_t *bufp = dma->tx_buf + dma->cur_tx_index * TX_BUF_SIZE_ALIGNED; in gmac_tx_packet()
922 dma->tx_buf = (uint8_t *)tmp; in gmac_add()
924 dma->tx_buf, TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in gmac_add()
931 free(dma->tx_buf); in gmac_add()
[all …]
H A Dbcm-sf2-eth.h32 uint8_t *tx_buf; member
H A Daltera_tse.c315 u32 tx_buf = virt_to_phys(packet); in altera_tse_send_msgdma() local
318 writel(tx_buf, &desc->read_addr_lo); in altera_tse_send_msgdma()
480 unsigned long tx_buf = (unsigned long)packet; in altera_tse_send() local
482 flush_dcache_range(tx_buf, tx_buf + length); in altera_tse_send()
H A Dlpc32xx_eth.c194 ATTRS(PKTALIGN) u8 tx_buf[TX_BUF_COUNT*PKTSIZE_ALIGN];
/rk3399_rockchip-uboot/drivers/video/drm/rk628/
H A Drk628_dsi.c182 const void *tx_buf; member
513 packet->payload = msg->tx_buf; in rk628_mipi_dsi_create_packet()
515 const u8 *tx = msg->tx_buf; in rk628_mipi_dsi_create_packet()
694 msg.tx_buf = payload; in rk628_mipi_dsi_generic_write()
728 msg.tx_buf = data; in rk628_mipi_dsi_dcs_write_buffer()
761 msg.tx_buf = &cmd; in rk628_mipi_dsi_dcs_read()
/rk3399_rockchip-uboot/include/drm/
H A Ddrm_mipi_dsi.h40 const void *tx_buf; member