Home
last modified time | relevance | path

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

12

/Zephyr-latest/drivers/serial/
Duart_imx.c154 unsigned int num_rx = 0U; in uart_imx_fifo_read() local
156 while (((size - num_rx) > 0) && in uart_imx_fifo_read()
159 rx_data[num_rx++] = UART_Getchar(uart); in uart_imx_fifo_read()
166 return num_rx; in uart_imx_fifo_read()
Duart_msp432p4xx.c198 unsigned int num_rx = 0U; in uart_msp432p4xx_fifo_read() local
200 while (((size - num_rx) > 0) && in uart_msp432p4xx_fifo_read()
204 rx_data[num_rx++] = MAP_UART_receiveData(config->base); in uart_msp432p4xx_fifo_read()
207 return num_rx; in uart_msp432p4xx_fifo_read()
Duart_bcm2711.c181 int num_rx = 0U; in uart_bcm2711_fifo_read() local
184 while ((size - num_rx) > 0 && bcm2711_mu_lowlevel_can_getc(uart_data->uart_addr)) { in uart_bcm2711_fifo_read()
186 rx_data[num_rx++] = sys_read32(uart_data->uart_addr + BCM2711_MU_IO) & 0xFF; in uart_bcm2711_fifo_read()
188 return num_rx; in uart_bcm2711_fifo_read()
Duart_cc32xx.c159 unsigned int num_rx = 0U; in uart_cc32xx_fifo_read() local
161 while (((size - num_rx) > 0) && in uart_cc32xx_fifo_read()
165 rx_data[num_rx++] = in uart_cc32xx_fifo_read()
169 return num_rx; in uart_cc32xx_fifo_read()
Dusart_gd32.c184 int num_rx = 0U; in usart_gd32_fifo_read() local
186 while ((size - num_rx > 0) && in usart_gd32_fifo_read()
188 rx_data[num_rx++] = usart_data_receive(cfg->reg); in usart_gd32_fifo_read()
191 return num_rx; in usart_gd32_fifo_read()
Duart_mcux_lpsci.c108 int num_rx = 0U; in mcux_lpsci_fifo_read() local
110 while ((len - num_rx > 0) && in mcux_lpsci_fifo_read()
114 rx_data[num_rx++] = LPSCI_ReadByte(config->base); in mcux_lpsci_fifo_read()
117 return num_rx; in mcux_lpsci_fifo_read()
Duart_rv32m1_lpuart.c112 int num_rx = 0U; in rv32m1_lpuart_fifo_read() local
114 while ((len - num_rx > 0) && in rv32m1_lpuart_fifo_read()
118 rx_data[num_rx++] = LPUART_ReadByte(config->base); in rv32m1_lpuart_fifo_read()
121 return num_rx; in rv32m1_lpuart_fifo_read()
Duart_mcux_iuart.c104 int num_rx = 0U; in mcux_iuart_fifo_read() local
106 while ((len - num_rx > 0) && in mcux_iuart_fifo_read()
109 rx_data[num_rx++] = UART_ReadByte(config->base); in mcux_iuart_fifo_read()
112 return num_rx; in mcux_iuart_fifo_read()
Dleuart_gecko.c119 int num_rx = 0U; in leuart_gecko_fifo_read() local
121 while ((len - num_rx > 0) && in leuart_gecko_fifo_read()
124 rx_data[num_rx++] = (uint8_t)base->RXDATA; in leuart_gecko_fifo_read()
127 return num_rx; in leuart_gecko_fifo_read()
Duart_stellaris.c339 int num_rx = 0U; in uart_stellaris_fifo_read() local
341 while ((size - num_rx > 0) && ((config->uart->fr & UARTFR_RXFE) == 0U)) { in uart_stellaris_fifo_read()
342 rx_data[num_rx++] = (uint8_t)config->uart->dr; in uart_stellaris_fifo_read()
345 return num_rx; in uart_stellaris_fifo_read()
Duart_max32.c270 unsigned int num_rx = 0; in api_fifo_read() local
273 num_rx = MXC_UART_ReadRXFIFO(cfg->regs, (unsigned char *)rx_data, size); in api_fifo_read()
274 if (num_rx == 0) { in api_fifo_read()
278 return num_rx; in api_fifo_read()
Duart_mcux.c197 int num_rx = 0U; in uart_mcux_fifo_read() local
199 while ((len - num_rx > 0) && in uart_mcux_fifo_read()
202 rx_data[num_rx++] = UART_ReadByte(config->base); in uart_mcux_fifo_read()
205 return num_rx; in uart_mcux_fifo_read()
Duart_rzt2m.c130 int num_rx = 0; in rzt2m_fifo_read() local
133 while (num_rx < size && (FRSR_R(*FRSR(config->base)))) { in rzt2m_fifo_read()
134 rx_data[num_rx++] = *RDR(config->base); in rzt2m_fifo_read()
139 return num_rx; in rzt2m_fifo_read()
Duart_pl011.c331 int num_rx = 0U; in pl011_fifo_read() local
333 while ((len - num_rx > 0) && !(get_uart(dev)->fr & PL011_FR_RXFE)) { in pl011_fifo_read()
334 rx_data[num_rx++] = get_uart(dev)->dr; in pl011_fifo_read()
337 return num_rx; in pl011_fifo_read()
Duart_rcar.c365 int num_rx = 0; in uart_rcar_fifo_read() local
369 while (((size - num_rx) > 0) && in uart_rcar_fifo_read()
372 rx_data[num_rx++] = uart_rcar_read_8(dev, SCFRDR); in uart_rcar_fifo_read()
382 return num_rx; in uart_rcar_fifo_read()
Duart_nrfx_uart.c809 int num_rx = 0U; in uart_nrfx_fifo_read() local
811 while ((size - num_rx > 0) && in uart_nrfx_fifo_read()
817 rx_data[num_rx++] = (uint8_t)nrf_uart_rxd_get(uart0_addr); in uart_nrfx_fifo_read()
820 return num_rx; in uart_nrfx_fifo_read()
Duart_smartbond.c504 int num_rx = 0; in uart_smartbond_fifo_read() local
508 while ((size - num_rx > 0) && in uart_smartbond_fifo_read()
510 rx_data[num_rx++] = config->regs->UART2_RBR_THR_DLL_REG; in uart_smartbond_fifo_read()
526 return num_rx; in uart_smartbond_fifo_read()
Duart_gecko.c240 int num_rx = 0U; in uart_gecko_fifo_read() local
242 while ((len - num_rx > 0) && in uart_gecko_fifo_read()
245 rx_data[num_rx++] = (uint8_t)config->base->RXDATA; in uart_gecko_fifo_read()
248 return num_rx; in uart_gecko_fifo_read()
Duart_renesas_ra8_sci_b.c284 int num_rx = 0U; in uart_ra_sci_b_fifo_read() local
287 while ((size - num_rx > 0) && cfg->regs->FRSR_b.R > 0U) { in uart_ra_sci_b_fifo_read()
291 rx_data[num_rx++] = cfg->regs->RDR; in uart_ra_sci_b_fifo_read()
300 rx_data[num_rx++] = cfg->regs->RDR; in uart_ra_sci_b_fifo_read()
307 return num_rx; in uart_ra_sci_b_fifo_read()
Duart_renesas_ra_sci.c329 int num_rx = 0U; in uart_ra_sci_fifo_read() local
333 while ((size - num_rx > 0) && cfg->regs->FDR_b.R > 0) { in uart_ra_sci_fifo_read()
335 rx_data[num_rx++] = cfg->regs->FRDRL; in uart_ra_sci_fifo_read()
343 rx_data[num_rx++] = cfg->regs->RDR; in uart_ra_sci_fifo_read()
348 return num_rx; in uart_ra_sci_fifo_read()
Duart_mcux_flexcomm.c165 int num_rx = 0U; in mcux_flexcomm_fifo_read() local
167 while ((len - num_rx > 0) && in mcux_flexcomm_fifo_read()
171 rx_data[num_rx++] = USART_ReadByte(config->base); in mcux_flexcomm_fifo_read()
174 return num_rx; in mcux_flexcomm_fifo_read()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dll_test.h13 uint8_t ll_test_end(uint16_t *num_rx);
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/shell/
Dll.c111 uint16_t num_rx; in cmd_test_end() local
114 err = ll_test_end(&num_rx); in cmd_test_end()
119 shell_print(sh, "num_rx= %u.", num_rx); in cmd_test_end()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_test.c321 uint8_t ll_test_end(uint16_t *num_rx) in ll_test_end() argument
331 *num_rx = test_num_rx; in ll_test_end()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_test.c717 uint8_t ll_test_end(uint16_t *num_rx) in ll_test_end() argument
727 *num_rx = test_num_rx; in ll_test_end()

12