Home
last modified time | relevance | path

Searched refs:tx_count (Results 1 – 23 of 23) sorted by relevance

/bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Source/
A Dald_spi.c356 --hperh->tx_count; in ald_spi_send()
361 --hperh->tx_count; in ald_spi_send()
378 --hperh->tx_count; in ald_spi_send()
383 --hperh->tx_count; in ald_spi_send()
436 hperh->tx_count = 0; in ald_spi_recv()
566 --hperh->tx_count; in ald_spi_send_recv()
571 --hperh->tx_count; in ald_spi_send_recv()
613 --hperh->tx_count; in ald_spi_send_recv()
618 --hperh->tx_count; in ald_spi_send_recv()
783 hperh->tx_count = 0; in ald_spi_recv_by_it()
[all …]
A Dald_uart.c134 hperh->tx_count = 0; in uart_dma_send_cplt()
170 hperh->tx_count = 0; in uart_dma_error()
220 if (--hperh->tx_count == 0) { in __uart_send_by_it()
490 hperh->tx_count = size; in ald_uart_send()
492 while (hperh->tx_count-- > 0) { in ald_uart_send()
602 hperh->tx_count = size; in ald_uart_send_by_it()
610 --hperh->tx_count; in ald_uart_send_by_it()
613 if (hperh->tx_count == 0) { in ald_uart_send_by_it()
673 hperh->tx_count = size; in ald_uart_send_by_dma()
A Dald_smartcard.c349 hperh->tx_count = size; in ald_smartcard_send()
351 while (hperh->tx_count-- > 0) { in ald_smartcard_send()
432 hperh->tx_count = size; in ald_smartcard_send_by_it()
495 hperh->tx_count = size; in ald_smartcard_send_by_dma()
704 hperh->tx_count = 0; in smartcard_dma_send_cplt()
742 hperh->tx_count = 0; in smartcard_dma_error()
803 if (--hperh->tx_count == 0) { in __smartcard_send_by_it()
A Dald_usart.c509 hperh->tx_count = size; in ald_usart_send()
620 hperh->tx_count = size; in ald_usart_send_by_it()
717 hperh->tx_count = size; in ald_usart_send_by_dma()
897 hperh->tx_count = size; in ald_usart_send_sync()
1022 hperh->tx_count = size; in ald_usart_send_recv_sync()
1101 hperh->tx_count = size; in ald_usart_send_by_it_sync()
1177 hperh->tx_count = size; in ald_usart_send_recv_by_it_sync()
1212 hperh->tx_count = size; in ald_usart_send_by_dma_sync()
1965 hperh->tx_count = 0; in usart_dma_send_cplt()
1999 hperh->tx_count = 0; in usart_dma_error()
[all …]
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/
A Dbflb_usb_v1.c488 uint16_t tx_count; in USBD_IRQHandler() local
496 tx_count = MIN(g_bl_udc.in_ep[ep_idx].xfer_len, g_bl_udc.in_ep[ep_idx].ep_mps); in USBD_IRQHandler()
497 g_bl_udc.in_ep[ep_idx].xfer_buf += tx_count; in USBD_IRQHandler()
498 g_bl_udc.in_ep[ep_idx].xfer_len -= tx_count; in USBD_IRQHandler()
499 g_bl_udc.in_ep[ep_idx].actual_xfer_len += tx_count; in USBD_IRQHandler()
504 tx_count = MIN(g_bl_udc.in_ep[ep_idx].xfer_len, g_bl_udc.in_ep[ep_idx].ep_mps); in USBD_IRQHandler()
505 bflb_usb_mem2fifo(ep_idx, g_bl_udc.in_ep[ep_idx].xfer_buf, tx_count); in USBD_IRQHandler()
542 tx_count = MIN(g_bl_udc.in_ep[0].xfer_len, g_bl_udc.in_ep[0].ep_mps); in USBD_IRQHandler()
543 g_bl_udc.in_ep[0].xfer_buf += tx_count; in USBD_IRQHandler()
544 g_bl_udc.in_ep[0].xfer_len -= tx_count; in USBD_IRQHandler()
[all …]
/bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/
A Dald_i2s.c376 hperh->tx_count = size; in ald_i2s_master_send_by_it()
418 hperh->tx_count = size; in ald_i2s_master_recv_by_it()
459 hperh->tx_count = size; in ald_i2s_master_send_by_dma()
525 hperh->tx_count = 0; in ald_i2s_master_recv_by_dma()
922 if (hperh->tx_count == 0) { in __i2s_send_by_it()
943 --hperh->tx_count; in __i2s_send_by_it()
978 if (hperh->tx_count != 0) { in __i2s_tx_recv_by_it()
981 --hperh->tx_count; in __i2s_tx_recv_by_it()
982 if (hperh->tx_count == 0) in __i2s_tx_recv_by_it()
998 hperh->tx_count = 0; in i2s_dma_send_cplt()
[all …]
A Dald_uart.c131 hperh->tx_count = hperh->tx_size; in uart_dma_send_cplt()
134 hperh->tx_count = 0; in uart_dma_send_cplt()
188 hperh->tx_count = 0; in uart_dma_error()
239 hperh->tx_count++; in __uart_send_by_it()
536 hperh->tx_count = 0; in ald_uart_send()
547 hperh->tx_count++; in ald_uart_send()
664 hperh->tx_count = 0; in ald_uart_send_n_lock()
674 hperh->tx_count++; in ald_uart_send_n_lock()
747 hperh->tx_count = 0; in ald_uart_send_by_it()
849 hperh->tx_count = 0; in ald_uart_send_by_dma()
[all …]
A Dald_spi.c902 hperh->tx_count = size; in ald_spi_send_by_it()
943 hperh->tx_count = 0; in ald_spi_recv_by_it()
1008 hperh->tx_count = size; in ald_spi_send_recv_by_it()
1053 hperh->tx_count = size; in ald_spi_send_by_dma()
1120 hperh->tx_count = 0; in ald_spi_recv_by_dma()
1203 hperh->tx_count = size; in ald_spi_send_recv_by_dma()
1724 --hperh->tx_count; in __spi_send_by_it()
1841 --hperh->tx_count; in __spi_send_recv_by_it()
1855 --hperh->tx_count; in __spi_send_recv_by_it()
1894 hperh->tx_count = 0; in spi_dma_send_cplt()
[all …]
/bsp/essemi/es32vf2264/libraries/ALD/ES32VF2264/Source/
A Dald_i2s.c372 hperh->tx_count = size; in ald_i2s_master_send_by_it()
414 hperh->tx_count = size; in ald_i2s_master_recv_by_it()
454 hperh->tx_count = size; in ald_i2s_master_send_by_dma()
519 hperh->tx_count = 0; in ald_i2s_master_recv_by_dma()
914 if (hperh->tx_count == 0) { in __i2s_send_by_it()
935 --hperh->tx_count; in __i2s_send_by_it()
970 if (hperh->tx_count != 0) { in __i2s_tx_recv_by_it()
973 --hperh->tx_count; in __i2s_tx_recv_by_it()
974 if (hperh->tx_count == 0) in __i2s_tx_recv_by_it()
989 hperh->tx_count = 0; in i2s_dma_send_cplt()
A Dald_uart.c129 hperh->tx_count = hperh->tx_size; in uart_dma_send_cplt()
132 hperh->tx_count = 0; in uart_dma_send_cplt()
149 hperh->tx_count = hperh->tx_size; in uart_dma_recv_cplt()
213 hperh->tx_count++; in __uart_send_by_it()
503 hperh->tx_count = 0; in ald_uart_send()
514 hperh->tx_count++; in ald_uart_send()
634 hperh->tx_count = 0; in ald_uart_send_n_lock()
645 hperh->tx_count++; in ald_uart_send_n_lock()
719 hperh->tx_count = 0; in ald_uart_send_by_it()
818 hperh->tx_count = 0; in ald_uart_send_by_dma()
[all …]
A Dald_spi.c912 hperh->tx_count = size; in ald_spi_send_by_it()
953 hperh->tx_count = 0; in ald_spi_recv_by_it()
1021 hperh->tx_count = size; in ald_spi_send_recv_by_it()
1065 hperh->tx_count = size; in ald_spi_send_by_dma()
1133 hperh->tx_count = 0; in ald_spi_recv_by_dma()
1218 hperh->tx_count = size; in ald_spi_send_recv_by_dma()
1669 if (hperh->tx_count == 0) { in __spi_send_by_it()
1697 if (hperh->tx_count == 1) { in __spi_send_by_it()
1738 --hperh->tx_count; in __spi_send_by_it()
1907 hperh->tx_count = 0; in spi_dma_send_cplt()
[all …]
/bsp/hpmicro/libraries/hpm_sdk/components/spi/
A Dhpm_spi.c212 uint32_t tx_count = context->tx_count; in hpm_spi_prepare_dma_tx_descriptors() local
225 if (tx_count > per_trans_size) { in hpm_spi_prepare_dma_tx_descriptors()
227 tx_count -= per_trans_size; in hpm_spi_prepare_dma_tx_descriptors()
229 temp32 = tx_count; in hpm_spi_prepare_dma_tx_descriptors()
385 total_trans_count = context->tx_count; in hpm_spi_get_trans_count()
390 assert(context->tx_count == context->rx_count); in hpm_spi_get_trans_count()
391 total_trans_count = context->tx_count; in hpm_spi_get_trans_count()
432 MIN(context->tx_count, context->per_trans_max), in spi_setup_trans_with_dma_chain()
499 context->tx_count, context->rx_count); in spi_setup_trans_with_dma()
559 …if ((context->rx_count > context->per_trans_max) || (context->tx_count > context->per_trans_max)) { in hpm_spi_setup_dma_transfer()
A Dhpm_spi.h56 uint32_t tx_count; member
/bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Include/
A Dald_smartcard.h160 uint16_t tx_count; /**< SmartCard Tx Transfer Counter */ member
A Dald_spi.h220 uint16_t tx_count; /**< SPI Tx transfer counter */ member
A Dald_usart.h183 uint16_t tx_count; /**< USART Tx transfer counter */ member
A Dald_uart.h182 uint16_t tx_count; /**< UART Tx Transfer Counter */ member
/bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Include/
A Dald_i2s.h227 uint32_t tx_count; /**< I2S Tx transfer counter */ member
A Dald_spi.h249 uint16_t tx_count; /**< SPI Tx transfer counter */ member
A Dald_uart.h191 uint16_t tx_count; /**< UART Tx Transfer Counter */ member
/bsp/essemi/es32vf2264/libraries/ALD/ES32VF2264/Include/
A Dald_i2s.h239 uint32_t tx_count; /**< I2S Tx transfer counter */ member
A Dald_spi.h250 uint16_t tx_count; /**< SPI Tx transfer counter */ member
A Dald_uart.h188 uint16_t tx_count; /**< UART Tx Transfer Counter */ member

Completed in 82 milliseconds