/Zephyr-latest/drivers/wifi/eswifi/ |
D | eswifi_bus_uart.c | 36 size_t rx_count; member 119 uart->rx_buf[uart->rx_count++] = c; in eswifi_uart_get_resp() 121 if (uart->rx_count == uart->rx_buf_size) { in eswifi_uart_get_resp() 179 return uart->rx_count; in eswifi_uart_wait_prompt() 205 uart->rx_count = 0; in eswifi_uart_request() 212 LOG_HEXDUMP_DBG(uart->rx_buf, uart->rx_count, "Stream"); in eswifi_uart_request()
|
/Zephyr-latest/drivers/spi/ |
D | spi_rpi_pico_pio.c | 45 uint32_t rx_count; member 430 data->rx_count = 0; in spi_pico_pio_txrx_4_wire() 434 while (data->rx_count < chunk_len || data->tx_count < chunk_len) { in spi_pico_pio_txrx_4_wire() 472 data->rx_count < chunk_len && fifo_cnt > 0) { in spi_pico_pio_txrx_4_wire() 479 sys_put_be32(txrx, rxbuf + (data->rx_count * 4)); in spi_pico_pio_txrx_4_wire() 488 sys_put_be16(txrx, rxbuf + (data->rx_count * 2)); in spi_pico_pio_txrx_4_wire() 497 ((uint8_t *)rxbuf)[data->rx_count] = (uint8_t)txrx; in spi_pico_pio_txrx_4_wire() 505 data->rx_count++; in spi_pico_pio_txrx_4_wire() 524 data->rx_count = 0; in spi_pico_pio_txrx_3_wire() 586 while (data->rx_count < rx_size) { in spi_pico_pio_txrx_3_wire() [all …]
|
D | spi_context.h | 46 size_t rx_count; member 305 ctx->rx_count = ctx->current_rx ? rx_bufs->count : 0; in spi_context_buffers_setup() 307 spi_context_get_next_buf(&ctx->current_rx, &ctx->rx_count, in spi_context_buffers_setup() 319 ctx->current_rx, ctx->rx_count, in spi_context_buffers_setup() 395 --ctx->rx_count; in spi_context_update_rx() 398 &ctx->rx_count, in spi_context_update_rx() 457 for (n = 0; n < ctx->rx_count; ++n) { in spi_context_total_rx_len()
|
D | spi_rtio.c | 137 size_t rx_count = rx_bufs ? rx_bufs->count : 0; in spi_rtio_copy() local 153 if (rx < rx_count) { in spi_rtio_copy() 162 while ((tx < tx_count || rx < rx_count) && (tx_len > 0 || rx_len > 0)) { in spi_rtio_copy() 187 if (rx < rx_count) { in spi_rtio_copy() 207 if (rx < rx_count) { in spi_rtio_copy() 236 if (rx < rx_count) { in spi_rtio_copy()
|
D | spi_sam0.c | 272 size_t rx_count = 0; in spi_sam0_fast_transceive() local 284 rx_count = rx_bufs->count; in spi_sam0_fast_transceive() 289 while (tx_count != 0 && rx_count != 0) { in spi_sam0_fast_transceive() 301 rx_count--; in spi_sam0_fast_transceive() 308 for (; rx_count != 0; rx_count--) { in spi_sam0_fast_transceive() 326 size_t rx_count = 0; in spi_sam0_is_regular() local 335 rx_count = rx_bufs->count; in spi_sam0_is_regular() 338 while (tx_count != 0 && rx_count != 0) { in spi_sam0_is_regular() 346 rx_count--; in spi_sam0_is_regular()
|
D | spi_pl022.c | 300 uint32_t rx_count; member 645 while (SSP_RX_FIFO_NOT_EMPTY(cfg->reg) && (data->rx_count < chunk_len)) { in spi_pl022_async_xfer() 650 *(((uint8_t *)ctx->rx_buf) + data->rx_count) = (uint8_t)txrx; in spi_pl022_async_xfer() 652 data->rx_count++; in spi_pl022_async_xfer() 660 if (MIN(data->tx_count, data->rx_count) >= chunk_len && chunk_len > 0) { in spi_pl022_async_xfer() 666 data->rx_count = 0; in spi_pl022_async_xfer() 707 data->rx_count = 0; in spi_pl022_start_async_xfer() 744 data->rx_count = 0; in spi_pl022_xfer() 755 while (data->rx_count < chunk_len || data->tx_count < chunk_len) { in spi_pl022_xfer() 769 while (data->rx_count < chunk_len && fifo_cnt > 0) { in spi_pl022_xfer() [all …]
|
D | spi_sam.c | 532 size_t rx_count = 0; in spi_sam_fast_transceive() local 544 rx_count = rx_bufs->count; in spi_sam_fast_transceive() 547 while (tx_count != 0 && rx_count != 0) { in spi_sam_fast_transceive() 561 rx_count--; in spi_sam_fast_transceive() 569 for (; rx_count != 0; rx_count--) { in spi_sam_fast_transceive() 621 size_t rx_count = 0; in spi_sam_is_regular() local 630 rx_count = rx_bufs->count; in spi_sam_is_regular() 637 while (tx_count != 0 && rx_count != 0) { in spi_sam_is_regular() 645 rx_count--; in spi_sam_is_regular()
|
D | spi_sedi.c | 124 if ((ctx->tx_count > 1) || (ctx->rx_count > 1)) { in transceive() 128 if (ctx->tx_count > ctx->rx_count) { in transceive() 130 for (i = ctx->rx_count; i < ctx->tx_count; i++) { in transceive() 135 } else if (ctx->tx_count < ctx->rx_count) { in transceive() 137 for (i = ctx->tx_count; i < ctx->rx_count; i++) { in transceive()
|
D | spi_dw.c | 294 size_t rx_count, uint8_t dfs) in spi_dw_compute_ndf() argument 298 for (; rx_count; rx_bufs++, rx_count--) { in spi_dw_compute_ndf()
|
D | spi_b_renesas_ra8.c | 471 data->spi.rx_count = 0; in ra_spi_retransmit() 488 data->spi.rx_count = data->data_len; in ra_spi_retransmit() 546 if (spi_context_is_slave(&data->ctx) && data->spi.rx_count == data->spi.count) { in ra_spi_rxi_isr() 586 if (data->spi.rx_count == data->spi.count) { in ra_spi_tei_isr()
|
D | spi_renesas_ra.c | 513 data->spi.rx_count = 0; in ra_spi_retransmit() 531 data->spi.rx_count = data->data_len; in ra_spi_retransmit() 594 if (spi_context_is_slave(&data->ctx) && data->spi.rx_count == data->spi.count) { in ra_spi_rxi_isr() 632 if (data->spi.rx_count == data->spi.count) { in ra_spi_tei_isr()
|
D | spi_opentitan.c | 176 if (ctx->tx_count > 0 || ctx->rx_count > 1) { in spi_opentitan_xfer()
|
D | spi_mcux_dspi.c | 191 if (!(ctx->tx_count <= 1 && ctx->rx_count <= 1)) { in spi_mcux_transfer_next_packet() 503 LOG_DBG("rx count %d", data->ctx.rx_count); in dma_callback() 505 LOG_DBG("rx count %d", data->ctx.rx_count); in dma_callback()
|
D | spi_rv32m1_lpspi.c | 101 if (!(ctx->tx_count <= 1 && ctx->rx_count <= 1)) { in spi_mcux_transfer_next_packet()
|
D | spi_mcux_flexcomm.c | 127 if (ctx->tx_count <= 1 && ctx->rx_count <= 1) { in spi_mcux_transfer_next_packet() 670 (data->ctx.rx_count > 1)) { in transceive_dma()
|
/Zephyr-latest/include/zephyr/drivers/flash/ |
D | npcx_flash_api_ex.h | 49 size_t rx_count; member
|
/Zephyr-latest/drivers/serial/ |
D | uart_b91.c | 404 int rx_count; in uart_b91_fifo_read() local 407 for (rx_count = 0; rx_count < size; rx_count++) { in uart_b91_fifo_read() 412 uart_b91_poll_in(dev, &rx_data[rx_count]); in uart_b91_fifo_read() 415 return rx_count; in uart_b91_fifo_read()
|
/Zephyr-latest/drivers/flash/ |
D | flash_npcx_fiu_qspi.h | 34 size_t rx_count; member
|
D | flash_rpi_pico.c | 102 size_t rx_count = count; in __no_inline_not_in_flash_func() local 108 while (tx_count || rx_skip || rx_count) { in __no_inline_not_in_flash_func() 126 --rx_count; in __no_inline_not_in_flash_func()
|
D | flash_npcx_fiu_nor.c | 113 .rx_count = size}; in flash_npcx_uma_read() 207 .rx_count = size}; in flash_npcx_nor_read_sfdp() 399 if (op_out != NULL && op_in->rx_count != 0) { in flash_npcx_nor_ex_exec_uma() 401 cfg.rx_count = op_in->rx_count; in flash_npcx_nor_ex_exec_uma()
|
D | flash_npcx_fiu_qspi.c | 197 for (size_t i = 0; i < cfg->rx_count; i++) { in qspi_npcx_fiu_uma_transceive()
|
/Zephyr-latest/drivers/i3c/ |
D | i3c_mcux.c | 1199 size_t rx_count; in mcux_i3c_do_daa() local 1232 rx_count = mcux_i3c_fifo_rx_count_get(base); in mcux_i3c_do_daa() 1234 (rx_count != 0U)) { in mcux_i3c_do_daa() 1238 rx_count--; in mcux_i3c_do_daa()
|
D | i3c_npcx.c | 1316 size_t rx_count; in npcx_i3c_do_daa() local 1356 rx_count = GET_FIELD(inst->MDATACTRL, NPCX_I3C_MDATACTRL_RXCOUNT); in npcx_i3c_do_daa() 1358 if (rx_count == DAA_TGT_INFO_SZ) { in npcx_i3c_do_daa() 1359 for (int i = 0; i < rx_count; i++) { in npcx_i3c_do_daa() 1365 LOG_DBG("Rx count not as expected %d, abort DAA", rx_count); in npcx_i3c_do_daa()
|
/Zephyr-latest/drivers/espi/ |
D | espi_taf_npcx.c | 466 .rx_count = 0, in espi_taf_npcx_rpmc_op1() 494 .rx_count = pckt->len, in espi_taf_npcx_rpmc_op2()
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_stm32.c | 264 uint32_t rx_count = HAL_PCD_EP_GetRxCount(hpcd, epnum); in HAL_PCD_DataOutStageCallback() local 280 net_buf_add(buf, rx_count); in HAL_PCD_DataOutStageCallback()
|