Home
last modified time | relevance | path

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

/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/
A Dbflb_usb_v1.c487 uint16_t rx_count; in USBD_IRQHandler() local
512 rx_count = bflb_usb_get_rxcount(ep_idx); in USBD_IRQHandler()
515 g_bl_udc.out_ep[ep_idx].xfer_buf += rx_count; in USBD_IRQHandler()
516 g_bl_udc.out_ep[ep_idx].xfer_len -= rx_count; in USBD_IRQHandler()
533 rx_count = bflb_usb_get_rxcount(0); in USBD_IRQHandler()
534 if (rx_count != 8) { in USBD_IRQHandler()
561 rx_count = bflb_usb_get_rxcount(0); in USBD_IRQHandler()
564 g_bl_udc.out_ep[0].xfer_buf += rx_count; in USBD_IRQHandler()
565 g_bl_udc.out_ep[0].xfer_len -= rx_count; in USBD_IRQHandler()
566 g_bl_udc.out_ep[0].actual_xfer_len += rx_count; in USBD_IRQHandler()
[all …]
/bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Source/
A Dald_spi.c343 hperh->rx_count = 0; in ald_spi_send()
465 --hperh->rx_count; in ald_spi_recv()
470 --hperh->rx_count; in ald_spi_recv()
489 --hperh->rx_count; in ald_spi_recv()
494 --hperh->rx_count; in ald_spi_recv()
591 --hperh->rx_count; in ald_spi_send_recv()
596 --hperh->rx_count; in ald_spi_send_recv()
636 --hperh->rx_count; in ald_spi_send_recv()
642 --hperh->rx_count; in ald_spi_send_recv()
659 --hperh->rx_count; in ald_spi_send_recv()
[all …]
A Dald_usart.c566 hperh->rx_count = size; in ald_usart_recv()
650 hperh->rx_count = size; in ald_usart_recv_by_it()
682 hperh->rx_count = size; in ald_usart_recv_frame_by_it()
949 hperh->rx_count = size; in ald_usart_recv_sync()
1020 hperh->rx_count = size; in ald_usart_send_recv_sync()
1027 --hperh->rx_count; in ald_usart_send_recv_sync()
1140 hperh->rx_count = size; in ald_usart_recv_by_it_sync()
1174 hperh->rx_count = size; in ald_usart_send_recv_by_it_sync()
1980 hperh->rx_count = 0; in usart_dma_recv_cplt()
1998 hperh->rx_count = 0; in usart_dma_error()
[all …]
A Dald_smartcard.c394 hperh->rx_count = size; in ald_smartcard_recv()
396 while (hperh->rx_count-- > 0) { in ald_smartcard_recv()
462 hperh->rx_count = size; in ald_smartcard_recv_by_it()
546 hperh->rx_count = size; in ald_smartcard_recv_by_dma()
721 hperh->rx_count = 0; in smartcard_dma_recv_cplt()
741 hperh->rx_count = 0; in smartcard_dma_error()
846 if (--hperh->rx_count == 0) { in __smartcard_recv_by_it()
A Dald_uart.c151 hperh->rx_count = 0; in uart_dma_recv_cplt()
169 hperh->rx_count = 0; in uart_dma_error()
260 if (--hperh->rx_count == 0) in __uart_recv_by_it()
264 if (--hperh->rx_count == 0) { in __uart_recv_by_it()
541 hperh->rx_count = size; in ald_uart_recv()
545 while (hperh->rx_count-- > 0) { in ald_uart_recv()
642 hperh->rx_count = size; in ald_uart_recv_by_it()
/bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/
A Dald_uart.c154 hperh->rx_count = 0; in uart_dma_recv_cplt()
187 hperh->rx_count = 0; in uart_dma_error()
281 hperh->rx_count++; in __uart_recv_by_it()
283 if (hperh->rx_count >= hperh->rx_size) in __uart_recv_by_it()
589 hperh->rx_count = 0; in ald_uart_recv()
611 hperh->rx_count++; in ald_uart_recv()
708 hperh->rx_count = 0; in ald_uart_recv_n_lock()
718 hperh->rx_count++; in ald_uart_recv_n_lock()
779 hperh->rx_count = 0; in ald_uart_recv_by_it()
812 hperh->rx_count = 0; in ald_uart_recv_frame_by_it()
[all …]
A Dald_i2s.c379 hperh->rx_count = 0; in ald_i2s_master_send_by_it()
415 hperh->rx_count = size; in ald_i2s_master_recv_by_it()
462 hperh->rx_count = 0; in ald_i2s_master_send_by_dma()
522 hperh->rx_count = size; in ald_i2s_master_recv_by_dma()
957 --hperh->rx_count; in __i2s_recv_by_it()
960 if (hperh->rx_count == 0) { in __i2s_recv_by_it()
1027 hperh->rx_count = 0; in i2s_dma_recv_cplt()
1057 hperh->rx_count = 0; in i2s_dma_error()
A Dald_spi.c905 hperh->rx_count = 0; in ald_spi_send_by_it()
940 hperh->rx_count = size; in ald_spi_recv_by_it()
1011 hperh->rx_count = size; in ald_spi_send_recv_by_it()
1056 hperh->rx_count = 0; in ald_spi_send_by_dma()
1117 hperh->rx_count = size; in ald_spi_recv_by_dma()
1206 hperh->rx_count = size; in ald_spi_send_recv_by_dma()
1747 --hperh->rx_count; in __spi_recv_by_it()
1752 if (hperh->rx_count == 0) { in __spi_recv_by_it()
1805 --hperh->rx_count; in __spi_send_recv_by_it()
1933 hperh->rx_count = 0; in spi_dma_recv_cplt()
[all …]
/bsp/essemi/es32vf2264/libraries/ALD/ES32VF2264/Source/
A Dald_uart.c152 hperh->rx_count = 0; in uart_dma_recv_cplt()
255 hperh->rx_count++; in __uart_recv_by_it()
257 if (hperh->rx_count >= hperh->rx_size) in __uart_recv_by_it()
557 hperh->rx_count = 0; in ald_uart_recv()
583 hperh->rx_count++; in ald_uart_recv()
680 hperh->rx_count = 0; in ald_uart_recv_n_lock()
691 hperh->rx_count++; in ald_uart_recv_n_lock()
750 hperh->rx_count = 0; in ald_uart_recv_by_it()
782 hperh->rx_count = 0; in ald_uart_recv_frame_by_it()
1089 ++hperh->rx_count; in ald_uart_irq_handler_fast()
[all …]
A Dald_i2s.c375 hperh->rx_count = 0; in ald_i2s_master_send_by_it()
411 hperh->rx_count = size; in ald_i2s_master_recv_by_it()
457 hperh->rx_count = 0; in ald_i2s_master_send_by_dma()
516 hperh->rx_count = size; in ald_i2s_master_recv_by_dma()
949 --hperh->rx_count; in __i2s_recv_by_it()
952 if (hperh->rx_count == 0) { in __i2s_recv_by_it()
1018 hperh->rx_count = 0; in i2s_dma_recv_cplt()
A Dald_spi.c915 hperh->rx_count = 0; in ald_spi_send_by_it()
950 hperh->rx_count = size; in ald_spi_recv_by_it()
1024 hperh->rx_count = size; in ald_spi_send_recv_by_it()
1068 hperh->rx_count = 0; in ald_spi_send_by_dma()
1130 hperh->rx_count = size; in ald_spi_recv_by_dma()
1221 hperh->rx_count = size; in ald_spi_send_recv_by_dma()
1761 --hperh->rx_count; in __spi_recv_by_it()
1766 if (hperh->rx_count == 0) { in __spi_recv_by_it()
1807 if (hperh->rx_count != 0) { in __spi_send_recv_by_it()
1946 hperh->rx_count = 0; in spi_dma_recv_cplt()
[all …]
/bsp/hpmicro/libraries/hpm_sdk/components/spi/
A Dhpm_spi.c303 uint32_t rx_count = context->rx_count; in hpm_prepare_dma_rx_descriptors() local
316 if (rx_count > per_trans_size) { in hpm_prepare_dma_rx_descriptors()
318 rx_count -= per_trans_size; in hpm_prepare_dma_rx_descriptors()
320 temp32 = rx_count; in hpm_prepare_dma_rx_descriptors()
387 total_trans_count = context->rx_count; in hpm_spi_get_trans_count()
390 assert(context->tx_count == context->rx_count); in hpm_spi_get_trans_count()
433 MIN(context->rx_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.h54 uint32_t rx_count; member
/bsp/essemi/es32vf2264/drivers/
A Ddrv_uart.c440 uint32_t rx_count; in _dma_recv_timeout() local
445 rx_count = dma_end - uart->last_rx_count; in _dma_recv_timeout()
455 rx_count = rx_count_total - uart->last_rx_count; in _dma_recv_timeout()
462 rt_hw_serial_isr(uart->serial, RT_SERIAL_EVENT_RX_DMADONE | (rx_count << 8)); in _dma_recv_timeout()
/bsp/essemi/es32f369x/drivers/
A Ddrv_uart.c523 uint32_t rx_count; in _dma_recv_timeout() local
528 rx_count = dma_end - uart->last_rx_count; in _dma_recv_timeout()
540 rx_count = rx_count_total - uart->last_rx_count; in _dma_recv_timeout()
547 rt_hw_serial_isr(uart->serial, RT_SERIAL_EVENT_RX_DMADONE | (rx_count << 8)); in _dma_recv_timeout()
/bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Include/
A Dald_smartcard.h163 uint16_t rx_count; /**< SmartCard Rx Transfer Counter */ member
A Dald_spi.h223 uint16_t rx_count; /**< SPI Rx Transfer Counter */ member
A Dald_usart.h186 uint16_t rx_count; /**< USART Rx Transfer Counter */ member
A Dald_uart.h185 uint16_t rx_count; /**< UART Rx Transfer Counter */ member
/bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Include/
A Dald_i2s.h230 uint32_t rx_count; /**< I2S Rx Transfer Counter */ member
A Dald_spi.h252 uint16_t rx_count; /**< SPI Rx Transfer Counter */ member
A Dald_uart.h194 uint16_t rx_count; /**< UART Rx Transfer Counter */ member
/bsp/essemi/es32vf2264/libraries/ALD/ES32VF2264/Include/
A Dald_i2s.h242 uint32_t rx_count; /**< I2S Rx Transfer Counter */ member
A Dald_spi.h253 uint16_t rx_count; /**< SPI Rx Transfer Counter */ member
A Dald_uart.h191 uint16_t rx_count; /**< UART Rx Transfer Counter */ member

Completed in 83 milliseconds