Lines Matching refs:rx_buf_len
855 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()
976 LOG_DBG("rx_buf: %d", pd->rx_buf_len); in osdp_update()
977 osdp_dump("Buf", pd->rx_buf, pd->rx_buf_len); in osdp_update()