/AliOS-Things-master/components/drivers/peripheral/spi/src/ |
A D | spi.c | 28 if (msgs[0].tx_buf) in transfer_sequence() 29 …memcpy(spi->tx_buf[0], msgs[0].tx_buf, AOS_SPI_BUF_SIZE < msgs[0].count ? AOS_SPI_BUF_SIZE : msgs[… in transfer_sequence() 61 spi->x.flags |= msg->tx_buf ? AOS_SPI_XF_TX : 0; in transfer_sequence() 86 if (next_msg && next_msg->tx_buf) { in transfer_sequence() 94 … memcpy(spi->tx_buf[(j + 1) & 0x1], &((const uint8_t *)next_msg->tx_buf)[next_pos], next_len); in transfer_sequence() 157 if (msg->count == 0 || (!msg->rx_buf && !msg->tx_buf)) in aos_spi_transfer() 162 (msg->rx_buf && msg->tx_buf && !(spi->flags & AOS_SPI_F_FULL_DUPLEX_1)))) in aos_spi_transfer() 167 (msg->rx_buf && msg->tx_buf && !(spi->flags & AOS_SPI_F_FULL_DUPLEX_2)))) in aos_spi_transfer() 318 size_t aos_spi_hard_push(aos_spi_t *spi, void *tx_buf, size_t count) in aos_spi_hard_push() argument 323 if ((spi->x.flags & AOS_SPI_XF_TX) && tx_buf) { in aos_spi_hard_push() [all …]
|
A D | spi_dev.c | 274 ret = hal_spi_send_recv(spi,tranptr->tx_buf,tranptr->rx_buf,tranptr->rx_size,0); in spi_device_ioctl() 286 …ret = hal_spi_send_and_recv(spi,tranptr->tx_buf,tranptr->tx_size,tranptr->rx_buf,tranptr->rx_size,… in spi_device_ioctl() 298 …ret = hal_spi_send_and_send(spi,tranptr->tx_buf,tranptr->tx_size,tranptr->rx_buf,tranptr->rx_size,… in spi_device_ioctl()
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/ |
A D | hal_i2c.h | 157 const uint8_t *tx_buf, uint32_t tx_len, 165 uint32_t hal_i2c_task_send(enum HAL_I2C_ID_T id, uint16_t device_addr, const uint8_t *tx_buf, uint1… 167 uint32_t hal_i2c_task_recv(enum HAL_I2C_ID_T id, uint16_t device_addr, const uint8_t *tx_buf, uint1… 170 uint32_t hal_i2c_task_msend(enum HAL_I2C_ID_T id, uint16_t device_addr, const uint8_t *tx_buf, uint… 172 uint32_t hal_i2c_task_mrecv(enum HAL_I2C_ID_T id, uint16_t device_addr, const uint8_t *tx_buf, uint… 185 uint32_t hal_i2c_simple_send(enum HAL_I2C_ID_T id, uint16_t device_addr, const uint8_t *tx_buf, uin… 186 uint32_t hal_i2c_simple_recv(enum HAL_I2C_ID_T id, uint16_t device_addr, const uint8_t *tx_buf, uin… 199 uint32_t hal_gpio_i2c_simple_send(uint32_t device_addr, const uint8_t *tx_buf, uint16_t tx_len); 200 uint32_t hal_gpio_i2c_simple_recv(uint32_t device_addr, const uint8_t *tx_buf, uint16_t tx_len, uin…
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/src/ |
A D | hci_adapter.c | 24 uint8_t *tx_buf; member 37 if (p_hci_rtk->tx_buf != NULL) in hci_rtk_tx_cb() 39 os_mem_free(p_hci_rtk->tx_buf); in hci_rtk_tx_cb() 40 p_hci_rtk->tx_buf = NULL; in hci_rtk_tx_cb() 47 p_hci_rtk->tx_buf = p_buf; in hci_adapter_send()
|
/AliOS-Things-master/components/trace/ |
A D | uart_send.c | 43 uint8_t tx_buf[SYSVIEW_SINGLE_TX]; in task_senddata_entry() local 65 num = SEGGER_RTT_ReadUpBufferNoLock(channel_id, tx_buf, bytes); in task_senddata_entry() 67 hal_trace_output_block(tx_buf, num); in task_senddata_entry()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/hci/ |
A D | hci_normal.c | 32 if (hci_if.tx_buf == NULL) in hci_if_tx_req() 36 hci_if.tx_buf = tx_data.p_buf; in hci_if_tx_req() 54 hci_if.callback(HCI_IF_EVT_DATA_XMIT, true, hci_if.tx_buf, hci_if.tx_len); in hci_if_tx_rsp() 55 hci_if.tx_buf = NULL; in hci_if_tx_rsp()
|
/AliOS-Things-master/hardware/chip/haas1000/csi/ |
A D | uart.c | 23 unsigned char tx_buf[UART_DMA_RING_BUFFER_SIZE]; member 272 count = aos_tty_tx_buffer_consume(tty, uart->tx_buf, sizeof(uart->tx_buf)); in tty_uart_start_tx() 273 hal_uart_dma_send_sync_cache(id, uart->tx_buf, count, NULL, NULL); in tty_uart_start_tx() 347 count = aos_tty_tx_buffer_consume(tty, uart->tx_buf, sizeof(uart->tx_buf)); in tty_uart_tx_handler() 354 hal_uart_dma_send_sync_cache(id, uart->tx_buf, count, NULL, NULL); in tty_uart_tx_handler()
|
/AliOS-Things-master/components/drivers/peripheral/spi/include/aos/ |
A D | spi.h | 35 const void *tx_buf; member 49 .tx_buf = NULL, \
|
A D | spi_core.h | 80 uint8_t tx_buf[2][AOS_SPI_BUF_SIZE]; member 90 size_t aos_spi_hard_push(aos_spi_t *spi, void *tx_buf, size_t count);
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/ |
A D | i2s_api.c | 163 void i2s_set_dma_buffer(i2s_t *obj, char *tx_buf, char *rx_buf, in i2s_set_dma_buffer() argument 182 I2S_SetDMABuf(I2S_DEV, (u8*)tx_buf, (u8*)rx_buf); in i2s_set_dma_buffer() 185 I2S_SetTxPageAddr(i, (uint32_t)(tx_buf + ((page_size) * i))); in i2s_set_dma_buffer()
|
/AliOS-Things-master/hardware/chip/smarth_rv64/smarth_rv64/ |
A D | ck_usart.c | 49 uint8_t *tx_buf; member 321 usart_priv->tx_buf = NULL; in ck_usart_intr_threshold_empty() 335 addr->THR = *((uint8_t *)usart_priv->tx_buf); in ck_usart_intr_threshold_empty() 337 usart_priv->tx_buf++; in ck_usart_intr_threshold_empty() 662 usart_priv->tx_buf = (uint8_t *)data; in csi_usart_send() 691 usart_priv->tx_buf = NULL; in csi_usart_abort_send()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/inc/ |
A D | hci_proto.h | 66 uint8_t *tx_buf; /* tx buffer pointer */ member
|
/AliOS-Things-master/components/drivers/peripheral/spi/include/vfsdev/ |
A D | spi_dev.h | 58 uint8_t * tx_buf; member
|
/AliOS-Things-master/components/drivers/peripheral/i2c/src/ |
A D | i2c.c | 249 size_t aos_i2c_hard_push(aos_i2c_t *i2c, void *tx_buf, size_t count) in aos_i2c_hard_push() argument 254 if (!(i2c->x.cfg & AOS_I2C_MCFG_RX) && tx_buf) { in aos_i2c_hard_push() 258 ((uint8_t *)tx_buf)[i] = buf[i2c->x.pos[0] + i]; in aos_i2c_hard_push()
|
/AliOS-Things-master/components/drivers/peripheral/uart/include/aos/ |
A D | tty_core.h | 38 uint8_t tx_buf[AOS_TTY_TX_BUF_SIZE]; member
|
/AliOS-Things-master/components/drivers/peripheral/i2c/include/aos/ |
A D | i2c_core.h | 62 size_t aos_i2c_hard_push(aos_i2c_t *i2c, void *tx_buf, size_t count);
|
/AliOS-Things-master/hardware/chip/haas1000/hal/ |
A D | i2c.c | 134 uint32_t hal_i2c_master_recv_vendor(i2c_dev_t *i2c, uint16_t device_addr, uint8_t *tx_buf, uint16_t… in hal_i2c_master_recv_vendor() argument 147 ret = hal_i2c_task_recv(i2c_port, device_addr, tx_buf, tx_len, rx_buf, rx_len, 0, NULL); in hal_i2c_master_recv_vendor()
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | l2cap.c | 816 if (ch->tx_buf) { in l2cap_chan_le_get_tx_buf() 817 buf = ch->tx_buf; in l2cap_chan_le_get_tx_buf() 818 ch->tx_buf = NULL; in l2cap_chan_le_get_tx_buf() 844 ch->tx_buf = buf; in l2cap_chan_tx_process() 892 if (ch->tx_buf) { in l2cap_chan_destroy() 893 net_buf_unref(ch->tx_buf); in l2cap_chan_destroy() 894 ch->tx_buf = NULL; in l2cap_chan_destroy() 1956 if (ch->tx_buf) { in l2cap_chan_shutdown() 1957 net_buf_unref(ch->tx_buf); in l2cap_chan_shutdown() 1958 ch->tx_buf = NULL; in l2cap_chan_shutdown() [all …]
|
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/ |
A D | l2cap.h | 139 struct net_buf *tx_buf; member
|
/AliOS-Things-master/hardware/chip/smarth_rv64/include/ |
A D | drv_i2s.h | 156 uint8_t *tx_buf; ///< i2s send buf member
|
/AliOS-Things-master/components/csi/csi1/include/drv/ |
A D | i2s.h | 156 uint8_t *tx_buf; ///< i2s send buf member
|
/AliOS-Things-master/components/csi/csi2/include/drv/ |
A D | i2s.h | 108 ringbuffer_t *tx_buf; ///< I2S send buffer member
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/bt_if_enhanced/inc/ |
A D | spp_api.h | 33 uint8_t *tx_buf; member
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/ |
A D | audio_api.h | 172 void audio_set_tx_dma_buffer(audio_t *obj, u8 *tx_buf, u32 tx_page_size);
|
A D | i2s_api.h | 134 void i2s_set_dma_buffer(i2s_t *obj, char *tx_buf, char *rx_buf, uint32_t page_num, uint32_t page_si…
|