| /bsp/xuantie/libraries/xuantie_libraries/chip_riscv_dummy/src/drivers/ |
| A D | mbox.c | 112 …int32_t tx_len = (size > MBOX_SEND_MAX_MESSAGE_LENGTH) ? (int32_t)MBOX_SEND_MAX_MESSAGE_LENGTH : (… in csi_mbox_send() local 121 tx_len = 0; in csi_mbox_send() 125 memcpy(&buf, data, (uint32_t)tx_len); in csi_mbox_send() 127 for (uint32_t count = (uint32_t)(((uint32_t)tx_len + 3U) / 4U); count > 0U; count--) { in csi_mbox_send() 139 tx_len = -1; in csi_mbox_send() 142 return tx_len; in csi_mbox_send()
|
| /bsp/hpmicro/libraries/hpm_sdk/drivers/src/ |
| A D | hpm_mipi_dsi_drv.c | 100 packet->header[1] = (msg->tx_len >> 0) & 0xff; in mipi_dsi_create_packet() 101 packet->header[2] = (msg->tx_len >> 8) & 0xff; in mipi_dsi_create_packet() 103 packet->payload_length = msg->tx_len; in mipi_dsi_create_packet() 108 packet->header[1] = (msg->tx_len > 0) ? tx[0] : 0; in mipi_dsi_create_packet() 109 packet->header[2] = (msg->tx_len > 1) ? tx[1] : 0; in mipi_dsi_create_packet() 414 return msg->rx_len ? msg->rx_len : msg->tx_len; in mipi_dsi_lp_cmd_transfer() 423 .tx_len = sizeof(tx), in mipi_dsi_set_maximum_return_packet_size() 438 .tx_len = size in mipi_dsi_generic_write() 465 .tx_len = num_params, in mipi_dsi_generic_read() 495 .tx_len = len in mipi_dsi_dcs_write_buffer() [all …]
|
| /bsp/ultrarisc/drivers/ |
| A D | drv_dw_spi.c | 119 tx_left = dw_spi_dev->tx_len; in tx_max() 132 rxtx_gap = dw_spi_dev->fifo_len - (dw_spi_dev->rx_len - dw_spi_dev->tx_len); in tx_max() 171 dw_spi_dev->tx_len--; in dw_spi_writer() 226 while (dw_spi_dev->rx_len && dw_spi_dev->tx_len); in dw_spi_poll_transfer() 241 dw_spi_dev->tx_end = dw_spi_dev->tx + dw_spi_dev->tx_len; in _dw_spixfer() 246 dw_spi_dev->tx_len = message->length; in _dw_spixfer()
|
| A D | drv_dw_spi.h | 64 unsigned int tx_len; member
|
| /bsp/nxp/lpc/lpc55sxx/Libraries/drivers/ |
| A D | drv_gt911.c | 115 .tx_len = 2, in gt911_ctp_read_reg() 129 .tx_len = 3, in gt911_ctp_write_reg() 173 if(xfer->tx_len) rt_i2c_master_send(capt->bus, CAPT_I2C_ADDR, 0, xfer->tx_data, xfer->tx_len); in ctp_impl_xfer()
|
| A D | drv_gt911.h | 41 rt_uint16_t tx_len; member
|
| /bsp/cvitek/drivers/libraries/spi/ |
| A D | dw_spi.c | 75 tx_left = dws->tx_len; in tx_max() 90 rxtx_gap = dws->fifo_len - (dws->rx_len - dws->tx_len); in tx_max() 116 --dws->tx_len; in dw_writer() 257 delay.value = nbits * (dws->rx_len - dws->tx_len); in poll_transfer() 264 } while (dws->rx_len && dws->tx_len); in poll_transfer()
|
| A D | dw_spi.h | 117 uint32_t tx_len; member
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/spi/ |
| A D | hal_spi.c | 470 reg_val |= (SPI_TC_CNT_MASK & tx_len); in spi_set_bc_tc_stc() 543 spi_set_bc_tc_stc(sspi->transfer->tx_len, in spi_mode_check() 577 spi_set_bc_tc_stc(sspi->transfer->tx_len, sspi->transfer->tx_len, in spi_mode_check() 588 spi_set_bc_tc_stc(sspi->transfer->tx_len, sspi->transfer->tx_len, in spi_mode_check() 599 spi_set_bc_tc_stc(sspi->transfer->tx_len, sspi->transfer->tx_len, in spi_mode_check() 643 uint32_t len = sspi->transfer->tx_len; in spi_cpu_write() 758 uint32_t len = sspi->transfer->tx_len; in spi_dma_tx_config() 870 uint32_t len = sspi->transfer->tx_len; in spi_dma_tx_submit() 1550 (!transfer->tx_len && !transfer->rx_buf)) in hal_spi_xfer() 1898 tr.tx_len = size; in hal_spi_write() [all …]
|
| /bsp/nrf5x/libraries/drivers/ |
| A D | nrfx_spim.c | 59 #define SPIMX_LENGTH_VALIDATE(peripheral, drv_inst_idx, rx_len, tx_len) \ argument 61 NRFX_EASYDMA_LENGTH_VALIDATE(peripheral, rx_len, tx_len)) 141 #define SPIM_LENGTH_VALIDATE(drv_inst_idx, rx_len, tx_len) \ argument 142 (SPIM0_LENGTH_VALIDATE(drv_inst_idx, rx_len, tx_len) || \ 143 SPIM1_LENGTH_VALIDATE(drv_inst_idx, rx_len, tx_len) || \ 144 SPIM2_LENGTH_VALIDATE(drv_inst_idx, rx_len, tx_len) || \ 145 SPIM3_LENGTH_VALIDATE(drv_inst_idx, rx_len, tx_len) || \ 146 SPIM4_LENGTH_VALIDATE(drv_inst_idx, rx_len, tx_len))
|
| A D | nrfx_spim.h | 213 #define NRFX_SPIM_SINGLE_XFER(p_tx, tx_len, p_rx, rx_len) \ argument 216 .tx_length = (tx_len), \
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/ |
| A D | sunxi_drv_spi.h | 47 uint32_t tx_len; /**< The total number of bytes to send. */
|
| A D | sunxi_hal_spi.h | 56 uint32_t tx_len; /**< The total number of bytes to send. */ member
|
| /bsp/maxim/libraries/MAX32660PeriphDriver/Include/ |
| A D | i2c.h | 89 unsigned tx_len; ///< Length of tx data. member
|
| /bsp/renesas/ra8d1-vision-board/board/ports/mipi_lcd/ |
| A D | mipi_config.c | 125 .tx_len = p_entry->size, in mipi_dsi_push_table()
|
| /bsp/maxim/libraries/MAX32660PeriphDriver/Source/ |
| A D | i2c.c | 622 if (req->tx_len == 0) { in I2C_MasterAsync() 689 tx_remain = req->tx_len - req->tx_num; in I2C_MasterHandler() 781 if (tx_remain == req->tx_len) { in I2C_MasterHandler() 883 tx_remain = req->tx_len - states[i2c_num].num_wr; in I2C_SlaveHandler()
|
| /bsp/hpmicro/libraries/hpm_sdk/drivers/inc/ |
| A D | hpm_mipi_dsi_drv.h | 114 uint16_t tx_len; /*!< length of tx_buf */ member
|
| /bsp/renesas/ra8d1-ek/board/ports/mipi_lcd/ |
| A D | mipi_config.c | 197 .tx_len = p_entry->size, in mipi_dsi_push_table()
|
| /bsp/cvitek/drivers/ |
| A D | drv_spi.c | 154 dws->tx_len = len / dws->n_bytes; in dw_spi_transfer_one()
|
| /bsp/allwinner/libraries/drivers/ |
| A D | drv_spi.c | 128 tr.tx_len = message->send_buf == RT_NULL ? 0 : message->length; in hw_spi_xfer()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/spinor/ |
| A D | core.c | 128 tr.tx_len = tlen; in nor_transfer()
|