Home
last modified time | relevance | path

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

123

/bsp/xuantie/libraries/xuantie_libraries/chip_riscv_dummy/src/drivers/
A Di2s.c55 i2s->tx_buf->read = (i2s->tx_buf->read + read_len) % i2s->tx_buf->size; in wj_i2s_dma_event_cb()
109 i2s->tx_buf = NULL; in csi_i2s_init()
129 i2s->tx_buf = NULL; in csi_i2s_uninit()
445 i2s->tx_buf = buffer; in csi_i2s_tx_set_buffer()
551 csi_ringbuf_reset(i2s->tx_buf); in csi_i2s_tx_buffer_reset()
553 if (i2s->tx_buf->buffer != NULL) { in csi_i2s_tx_buffer_reset()
554 memset(i2s->tx_buf->buffer, 0, i2s->tx_buf->size); in csi_i2s_tx_buffer_reset()
557 if ((i2s->tx_buf->read == 0U) && (i2s->tx_buf->write == 0U)) { in csi_i2s_tx_buffer_reset()
749 memset(i2s->tx_buf->buffer, 0, i2s->tx_buf->size); in csi_i2s_send_start()
811 csi_ringbuf_reset(i2s->tx_buf); in csi_i2s_send_stop()
[all …]
/bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Source/
A Dald_spi.c355 ++hperh->tx_buf; in ald_spi_send()
360 hperh->tx_buf += 2; in ald_spi_send()
377 ++hperh->tx_buf; in ald_spi_send()
382 hperh->tx_buf += 2; in ald_spi_send()
552 hperh->tx_buf = tx_buf; in ald_spi_send_recv()
565 ++hperh->tx_buf; in ald_spi_send_recv()
570 hperh->tx_buf += 2; in ald_spi_send_recv()
612 ++hperh->tx_buf; in ald_spi_send_recv()
823 hperh->tx_buf = tx_buf; in ald_spi_send_recv_by_it()
995 hperh->tx_buf = tx_buf; in ald_spi_send_recv_by_dma()
[all …]
A Dald_usart.c618 hperh->tx_buf = buf; in ald_usart_send_by_it()
715 hperh->tx_buf = buf; in ald_usart_send_by_dma()
1038 tx_buf += 2; in ald_usart_send_recv_sync()
1059 WRITE_REG(hperh->perh->DATA, *tx_buf++); in ald_usart_send_recv_sync()
1099 hperh->tx_buf = buf; in ald_usart_send_by_it_sync()
1175 hperh->tx_buf = tx_buf; in ald_usart_send_recv_by_it_sync()
1210 hperh->tx_buf = buf; in ald_usart_send_by_dma_sync()
1275 hperh->tx_buf = buf; in ald_usart_recv_by_dma_sync()
1365 hperh->tx_buf = tx_buf; in ald_usart_send_recv_by_dma_sync()
2055 hperh->tx_buf += 2; in __usart_send_by_it()
[all …]
/bsp/samd21/sam_d2x_asflib/common/services/adp/sam/
A Dadp_interface_twi.c78 static enum status_code adp_interface_send(uint8_t* tx_buf, uint16_t length) in adp_interface_send() argument
82 .buffer = tx_buf, /* transfer data source buffer */ in adp_interface_send()
122 void adp_interface_transceive_procotol(uint8_t* tx_buf, uint16_t length, uint8_t* rx_buf) in adp_interface_transceive_procotol() argument
124 adp_interface_send(tx_buf, length); in adp_interface_transceive_procotol()
A Dadp_interface_spi.c120 void adp_interface_transceive_procotol(uint8_t* tx_buf, uint16_t length, uint8_t* rx_buf) in adp_interface_transceive_procotol() argument
125 adp_interface_transceive(tx_buf, rx_buf, length); in adp_interface_transceive_procotol()
/bsp/samd21/sam_d2x_asflib/common/services/adp/sam0/
A Dadp_interface_twi.c77 static enum status_code adp_interface_send(uint8_t* tx_buf, uint16_t length) in adp_interface_send() argument
84 .data = tx_buf, in adp_interface_send()
129 void adp_interface_transceive_procotol(uint8_t* tx_buf, uint16_t length, uint8_t* rx_buf) in adp_interface_transceive_procotol() argument
131 adp_interface_send(tx_buf, length); in adp_interface_transceive_procotol()
A Dadp_interface_spi.c126 void adp_interface_transceive_procotol(uint8_t* tx_buf, uint16_t length, uint8_t* rx_buf) in adp_interface_transceive_procotol() argument
131 adp_interface_transceive(tx_buf, rx_buf, length); in adp_interface_transceive_procotol()
/bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/
A Dald_spi.c768 ++tx_buf; in ald_spi_send_recv()
773 tx_buf += 2; in ald_spi_send_recv()
900 hperh->tx_buf = buf; in ald_spi_send_by_it()
1006 hperh->tx_buf = tx_buf; in ald_spi_send_recv_by_it()
1051 hperh->tx_buf = buf; in ald_spi_send_by_dma()
1201 hperh->tx_buf = tx_buf; in ald_spi_send_recv_by_dma()
1695 ++hperh->tx_buf; in __spi_send_by_it()
1708 hperh->tx_buf += 2; in __spi_send_by_it()
1715 ++hperh->tx_buf; in __spi_send_by_it()
1825 ++hperh->tx_buf; in __spi_send_recv_by_it()
[all …]
/bsp/essemi/es32vf2264/libraries/ALD/ES32VF2264/Source/
A Dald_spi.c778 ++tx_buf; in ald_spi_send_recv()
783 tx_buf += 2; in ald_spi_send_recv()
910 hperh->tx_buf = buf; in ald_spi_send_by_it()
951 hperh->tx_buf = NULL; in ald_spi_recv_by_it()
1019 hperh->tx_buf = tx_buf; in ald_spi_send_recv_by_it()
1063 hperh->tx_buf = buf; in ald_spi_send_by_dma()
1131 hperh->tx_buf = NULL; in ald_spi_recv_by_dma()
1216 hperh->tx_buf = tx_buf; in ald_spi_send_recv_by_dma()
1709 ++hperh->tx_buf; in __spi_send_by_it()
1722 hperh->tx_buf += 2; in __spi_send_by_it()
[all …]
A Dald_i2s.c370 hperh->tx_buf = buf; in ald_i2s_master_send_by_it()
412 hperh->tx_buf = 0; in ald_i2s_master_recv_by_it()
452 hperh->tx_buf = buf; in ald_i2s_master_send_by_dma()
517 hperh->tx_buf = NULL; in ald_i2s_master_recv_by_dma()
934 hperh->perh->DATA = *hperh->tx_buf++; in __i2s_send_by_it()
/bsp/nxp/lpc/lpc55sxx/Libraries/drivers/
A Ddrv_st7796.c120 …rt_uint8_t tx_buf[5] = {0x2A, ((rt_uint8_t)(real_x_start >> 0x08U) & 0xFFU), (real_x_start & 0xFFU… in _st7796_window() local
123 if (lcd->cb.write_cmd_cb(lcd->user_data, tx_buf, 0x05) != RT_EOK) in _st7796_window()
127 tx_buf[0] = 0x2B; in _st7796_window()
128 tx_buf[1] = ((rt_uint8_t)(real_y_start >> 0x08U) & 0xFFU); in _st7796_window()
129 tx_buf[2] = (real_y_start & 0xFFU); in _st7796_window()
130 tx_buf[3] = ((rt_uint8_t)(real_y_end >> 0x08U) & 0xFFU); in _st7796_window()
131 tx_buf[4] = (real_y_end & 0xFFU); in _st7796_window()
132 if (lcd->cb.write_cmd_cb(lcd->user_data, tx_buf, 0x05) != RT_EOK) in _st7796_window()
/bsp/hpmicro/libraries/drivers/
A Ddrv_can.c526 can_transmit_buf_t tx_buf = { 0 }; in hpm_can_sendmsg() local
527 tx_buf.id = can_msg->id; in hpm_can_sendmsg()
530 tx_buf.extend_id = false; in hpm_can_sendmsg()
534 tx_buf.extend_id = true; in hpm_can_sendmsg()
539 tx_buf.remote_frame = false; in hpm_can_sendmsg()
543 tx_buf.remote_frame = true; in hpm_can_sendmsg()
547 tx_buf.bitrate_switch = can_msg->brs; in hpm_can_sendmsg()
550 tx_buf.canfd_frame = 1; in hpm_can_sendmsg()
562 tx_buf.data[i] = can_msg->data[i]; in hpm_can_sendmsg()
564 tx_buf.dlc = can_msg->len; in hpm_can_sendmsg()
[all …]
A Ddrv_spi.c327 uint8_t *tx_buf = (uint8_t*) msg->send_buf; in hpm_spi_xfer_polling() local
339 NULL, tx_buf, transfer_len, rx_buf, transfer_len); in hpm_spi_xfer_polling()
346 NULL, (uint8_t*) tx_buf, transfer_len, in hpm_spi_xfer_polling()
363 if (tx_buf != NULL) in hpm_spi_xfer_polling()
365 tx_buf += transfer_len; in hpm_spi_xfer_polling()
453 uint8_t *tx_buf = aligned_tx_buf; in hpm_spi_xfer_dma() local
478 core_local_mem_to_sys_address(core_id, (uint32_t) tx_buf), in hpm_spi_xfer_dma()
508 core_local_mem_to_sys_address(core_id, (uint32_t) tx_buf), in hpm_spi_xfer_dma()
541 if (tx_buf != NULL) in hpm_spi_xfer_dma()
543 tx_buf += transfer_len; in hpm_spi_xfer_dma()
/bsp/hpmicro/libraries/hpm_sdk/drivers/src/
A Dhpm_mipi_dsi_drv.c104 packet->payload = (const uint8_t *)msg->tx_buf; in mipi_dsi_create_packet()
106 const uint8_t *tx = (const uint8_t *)msg->tx_buf; in mipi_dsi_create_packet()
424 .tx_buf = tx, in mipi_dsi_set_maximum_return_packet_size()
437 .tx_buf = payload, in mipi_dsi_generic_write()
466 .tx_buf = params, in mipi_dsi_generic_read()
494 .tx_buf = data, in mipi_dsi_dcs_write_buffer()
541 .tx_buf = &cmd, in mipi_dsi_dcs_read()
/bsp/ck802/libraries/common/iic/
A Ddw_iic.c46 void *tx_buf; member
160 addr->IC_DATA_CMD = *((uint8_t *)(iic_priv->tx_buf)++); in dw_iic_intr_tx_empty()
338 iic_priv->tx_buf = NULL; in csi_iic_initialize()
380 iic_priv->tx_buf = NULL; in csi_iic_uninitialize()
492 iic_priv->tx_buf = (uint8_t *)data; in csi_iic_master_send()
507 addr->IC_DATA_CMD = *((uint8_t *)(iic_priv->tx_buf)++); in csi_iic_master_send()
599 iic_priv->tx_buf = NULL; in csi_iic_abort_transfer()
/bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Include/
A Dald_spi.h218 uint8_t *tx_buf; /**< Pointer to SPI Tx transfer buffer */ member
347 ald_status_t ald_spi_send_recv(spi_handle_t *hperh, uint8_t *tx_buf, uint8_t *rx_buf, uint16_t size…
350 ald_status_t ald_spi_send_recv_by_it(spi_handle_t *hperh, uint8_t *tx_buf, uint8_t *rx_buf, uint16_…
354 ald_status_t ald_spi_send_recv_by_dma(spi_handle_t *hperh, uint8_t *tx_buf, uint8_t *rx_buf, uint16…
A Dald_usart.h181 uint8_t *tx_buf; /**< Pointer to USART Tx transfer buffer */ member
498 ald_status_t ald_usart_send_recv_sync(usart_handle_t *hperh, uint8_t *tx_buf, uint8_t *rx_buf, uint…
501 ald_status_t ald_usart_send_recv_by_it_sync(usart_handle_t *hperh, uint8_t *tx_buf, uint8_t *rx_buf…
505 ald_status_t ald_usart_send_recv_by_dma_sync(usart_handle_t *hperh, uint8_t *tx_buf,
/bsp/ck802/libraries/common/usart/
A Ddw_usart.c63 uint8_t *tx_buf; member
328 addr->THR = *((uint8_t *)usart_priv->tx_buf); in dw_usart_intr_threshold_empty()
330 usart_priv->tx_buf++; in dw_usart_intr_threshold_empty()
340 usart_priv->tx_buf = NULL; in dw_usart_intr_threshold_empty()
562 usart_priv->tx_buf = (uint8_t *)data; in csi_usart_send()
/bsp/thead-smart/drivers/
A Dck_usart.c48 uint8_t *tx_buf; member
379 usart_priv->tx_buf = NULL; in ck_usart_intr_threshold_empty()
395 addr->THR = *((uint8_t *)usart_priv->tx_buf); in ck_usart_intr_threshold_empty()
397 usart_priv->tx_buf++; in ck_usart_intr_threshold_empty()
739 usart_priv->tx_buf = (uint8_t *)data; in csi_usart_send()
768 usart_priv->tx_buf = NULL; in csi_usart_abort_send()
/bsp/samd21/sam_d2x_asflib/common/services/adp/
A Dadp_interface.h52 void adp_interface_transceive_procotol(uint8_t* tx_buf, uint16_t length, uint8_t* rx_buf);
/bsp/cvitek/drivers/
A Ddrv_spi.c136 static rt_err_t dw_spi_transfer_one(struct dw_spi *dws, const void *tx_buf, void *rx_buf, uint32_t … in dw_spi_transfer_one() argument
143 if (tx_buf != NULL) { in dw_spi_transfer_one()
144 dws->tx = tx_buf; in dw_spi_transfer_one()
/bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Include/
A Dald_spi.h247 uint8_t *tx_buf; /**< Pointer to SPI Tx transfer buffer */ member
401 ald_status_t ald_spi_send_recv(spi_handle_t *hperh, uint8_t *tx_buf, uint8_t *rx_buf, uint16_t size…
404 ald_status_t ald_spi_send_recv_by_it(spi_handle_t *hperh, uint8_t *tx_buf, uint8_t *rx_buf, uint16_…
408 ald_status_t ald_spi_send_recv_by_dma(spi_handle_t *hperh, uint8_t *tx_buf, uint8_t *rx_buf, uint16…
/bsp/essemi/es32vf2264/libraries/ALD/ES32VF2264/Include/
A Dald_spi.h248 uint8_t *tx_buf; /**< Pointer to SPI Tx transfer buffer */ member
403 ald_status_t ald_spi_send_recv(ald_spi_handle_t *hperh, uint8_t *tx_buf, uint8_t *rx_buf, uint16_t …
406 ald_status_t ald_spi_send_recv_by_it(ald_spi_handle_t *hperh, uint8_t *tx_buf, uint8_t *rx_buf, uin…
410 ald_status_t ald_spi_send_recv_by_dma(ald_spi_handle_t *hperh, uint8_t *tx_buf, uint8_t *rx_buf, ui…
/bsp/stm32/stm32mp157a-st-ev1/board/ports/
A Ddrv_fdcan.c249 rt_uint8_t i, rx_buf[8], tx_buf[8]; in fdcan_sample() local
261 tx_buf[i] = atoi(argv[i+1]); in fdcan_sample()
272 rt_device_write(dev, 0, tx_buf, 8); in fdcan_sample()
/bsp/allwinner/libraries/sunxi-hal/include/hal/
A Dsunxi_drv_spi.h46 const uint8_t *tx_buf; /**< Data buffer to send, */

Completed in 68 milliseconds

123