Home
last modified time | relevance | path

Searched refs:rx_buf_len (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/drivers/serial/
Duart_emul.c78 size_t rx_buf_len; member
403 data->rx_buf_len = data->rx_buf_next_len; in uart_emul_async_switch_buf_nolock()
417 size_t rx_buf_len; in uart_emul_async_rx_timeout_handler() local
427 rx_buf_len = data->rx_buf_len; in uart_emul_async_rx_timeout_handler()
434 if (data->rx_buf_offset >= rx_buf_len || in uart_emul_async_rx_timeout_handler()
494 buf_len = data->rx_buf_len; in uart_emul_async_rx_handler()
506 buf_len = data->rx_buf_len; in uart_emul_async_rx_handler()
530 if (offset + data_len >= data->rx_buf_len) { in uart_emul_async_rx_handler()
533 data->rx_buf_len = 0; in uart_emul_async_rx_handler()
685 data->rx_buf_len = 0; in uart_emul_rx_stop()
[all …]
Duart_renesas_ra_sci.c58 size_t rx_buf_len; member
600 data->rx_buf_len = 0; in async_rx_release_buf()
649 if (!data->rx_buf_len) { in async_rx_ready()
657 .data.rx.len = data->rx_buf_len, in async_rx_ready()
660 data->rx_buf_offset += data->rx_buf_len; in async_rx_ready()
661 data->rx_buf_len = 0; in async_rx_ready()
757 data->rx_buf_len = 0; in uart_ra_sci_async_rx_enable()
994 data->rx_buf_len++; in uart_ra_sci_rxi_isr()
995 if (data->rx_buf_len + data->rx_buf_offset == data->rx_buf_cap) { in uart_ra_sci_rxi_isr()
/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_cp.c586 pd->rx_buf_len = len; in cp_build_packet()
600 ret = pd->channel.send(pd->channel.data, pd->rx_buf, pd->rx_buf_len); in cp_send_command()
601 if (ret != pd->rx_buf_len) { in cp_send_command()
603 pd->rx_buf_len, ret); in cp_send_command()
610 osdp_dump(NULL, pd->rx_buf, pd->rx_buf_len); in cp_send_command()
622 buf = pd->rx_buf + pd->rx_buf_len; in cp_process_reply()
623 remaining = sizeof(pd->rx_buf) - pd->rx_buf_len; in cp_process_reply()
629 pd->rx_buf_len += len; in cp_process_reply()
634 osdp_dump(NULL, pd->rx_buf, pd->rx_buf_len); in cp_process_reply()
638 err = osdp_phy_check_packet(pd, pd->rx_buf, pd->rx_buf_len, &len); in cp_process_reply()
[all …]
Dosdp_pd.c855 err = osdp_phy_check_packet(pd, pd->rx_buf, pd->rx_buf_len, one_pkt_len); in pd_decode_packet()
889 buf = pd->rx_buf + pd->rx_buf_len; in pd_receive_and_process_command()
890 remaining = sizeof(pd->rx_buf) - pd->rx_buf_len; in pd_receive_and_process_command()
904 pd->rx_buf_len += len; in pd_receive_and_process_command()
912 if (pd->rx_buf_len > 8 && in pd_receive_and_process_command()
914 osdp_dump("PD received", pd->rx_buf, pd->rx_buf_len); in pd_receive_and_process_command()
925 remaining = pd->rx_buf_len - len; in pd_receive_and_process_command()
934 pd->rx_buf_len = remaining; in pd_receive_and_process_command()
945 pd->rx_buf_len = 0; in pd_error_reset()
972 if (pd->rx_buf_len == 0 || in osdp_update()
[all …]
Dosdp_common.h467 int rx_buf_len; member
Dosdp_phy.c530 pd->rx_buf_len = 0; in osdp_phy_state_reset()
/Zephyr-latest/drivers/spi/
Dspi_nrfx_spis.c116 uint8_t *rx_buf, size_t rx_buf_len) in prepare_for_transfer() argument
122 rx_buf_len > dev_config->max_buf_len) { in prepare_for_transfer()
124 tx_buf_len, rx_buf_len); in prepare_for_transfer()
130 rx_buf, rx_buf_len); in prepare_for_transfer()
Dspi_sam.c192 static void spi_sam_fast_rx(Spi *regs, uint8_t *rx_buf, const uint32_t rx_buf_len) in spi_sam_fast_rx() argument
195 int len = rx_buf_len; in spi_sam_fast_rx()
441 uint32_t rx_buf_len) in spi_sam_rx() argument
448 if ((rx_buf_len < SAM_SPI_DMA_THRESHOLD || cfg->dma_dev == NULL) && in spi_sam_rx()
451 spi_sam_fast_rx(regs, rx_buf, rx_buf_len); in spi_sam_rx()
454 return spi_sam_dma_txrx(dev, regs, NULL, rx_buf, rx_buf_len); in spi_sam_rx()
458 spi_sam_fast_rx(regs, rx_buf, rx_buf_len); in spi_sam_rx()
/Zephyr-latest/drivers/ethernet/
Deth_w5500.c213 uint16_t rx_buf_len; in w5500_rx() local
222 rx_buf_len = sys_get_be16(tmp); in w5500_rx()
224 if (rx_buf_len == 0) { in w5500_rx()