Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/mgmt/osdp/src/
Dosdp_cp.c543 pd->rx_buf_len = len; in cp_build_packet()
557 ret = pd->channel.send(pd->channel.data, pd->rx_buf, pd->rx_buf_len); in cp_send_command()
558 if (ret != pd->rx_buf_len) { in cp_send_command()
560 pd->rx_buf_len, ret); in cp_send_command()
567 osdp_dump(NULL, pd->rx_buf, pd->rx_buf_len); in cp_send_command()
579 buf = pd->rx_buf + pd->rx_buf_len; in cp_process_reply()
580 remaining = sizeof(pd->rx_buf) - pd->rx_buf_len; in cp_process_reply()
586 pd->rx_buf_len += len; in cp_process_reply()
591 osdp_dump(NULL, pd->rx_buf, pd->rx_buf_len); in cp_process_reply()
595 err = osdp_phy_check_packet(pd, pd->rx_buf, pd->rx_buf_len, &len); in cp_process_reply()
[all …]
Dosdp_pd.c826 err = osdp_phy_check_packet(pd, pd->rx_buf, pd->rx_buf_len, one_pkt_len); in pd_decode_packet()
860 buf = pd->rx_buf + pd->rx_buf_len; in pd_receive_and_process_command()
861 remaining = sizeof(pd->rx_buf) - pd->rx_buf_len; in pd_receive_and_process_command()
875 pd->rx_buf_len += len; in pd_receive_and_process_command()
883 if (pd->rx_buf_len > 8 && in pd_receive_and_process_command()
885 osdp_dump("PD received", pd->rx_buf, pd->rx_buf_len); in pd_receive_and_process_command()
896 remaining = pd->rx_buf_len - len; in pd_receive_and_process_command()
905 pd->rx_buf_len = remaining; in pd_receive_and_process_command()
916 pd->rx_buf_len = 0; in pd_error_reset()
943 if (pd->rx_buf_len == 0 || in osdp_update()
[all …]
Dosdp_common.h467 int rx_buf_len; member
Dosdp_phy.c531 pd->rx_buf_len = 0;
/Zephyr-Core-3.5.0/drivers/spi/
Dspi_nrfx_spis.c115 uint8_t *rx_buf, size_t rx_buf_len) in prepare_for_transfer() argument
121 rx_buf_len > dev_config->max_buf_len) { in prepare_for_transfer()
123 tx_buf_len, rx_buf_len); in prepare_for_transfer()
129 rx_buf, rx_buf_len); in prepare_for_transfer()
Dspi_sam.c195 static void spi_sam_fast_rx(Spi *regs, uint8_t *rx_buf, const uint32_t rx_buf_len) in spi_sam_fast_rx() argument
198 int len = rx_buf_len; in spi_sam_fast_rx()
443 uint32_t rx_buf_len) in spi_sam_rx() argument
450 if (rx_buf_len < SAM_SPI_DMA_THRESHOLD || cfg->dma_dev == NULL) { in spi_sam_rx()
452 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-Core-3.5.0/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()
/Zephyr-Core-3.5.0/drivers/serial/
Duart_nrfx_uarte.c93 size_t rx_buf_len; member
858 data->async->rx_buf_len = len; in uarte_nrfx_rx_enable()
1034 if (len + data->async->rx_offset > data->async->rx_buf_len) { in rx_timeout()
1035 len = data->async->rx_buf_len - data->async->rx_offset; in rx_timeout()
1155 data->async->rx_buf_len = data->async->rx_next_buf_len; in endrx_isr()