Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/sensor/fcx_mldx5/
Dfcx_mldx5.c38 #define FCX_MLDX5_CHECKSUM_INDEX(frame_len) ((frame_len)-FCX_MLDX5_CHECKSUM_LEN - FCX_MLDX5_ETX_LEN) argument
39 #define FCX_MLDX5_ETX_INDEX(frame_len) ((frame_len)-FCX_MLDX5_ETX_LEN) argument
51 uint8_t frame_len; member
131 if (data->frame_len != len || in fcx_mldx5_frame_check_error()
149 const uint8_t frame_len = FCX_MLDX5_HEADER_LEN + fcx_mldx5_cmds_data_len[cmd]; in fcx_mldx5_frame_verify() local
157 } else if (data->frame_len != frame_len) { in fcx_mldx5_frame_verify()
158 LOG_ERR("Expected command %s frame length %u not %u", command, frame_len, in fcx_mldx5_frame_verify()
159 data->frame_len); in fcx_mldx5_frame_verify()
168 } else if (data->frame[FCX_MLDX5_ETX_INDEX(data->frame_len)] != FCX_MLDX5_ETX) { in fcx_mldx5_frame_verify()
177 strtol(&data->frame[FCX_MLDX5_CHECKSUM_INDEX(data->frame_len)], NULL, 16); in fcx_mldx5_frame_verify()
[all …]
/Zephyr-Core-3.7.0/include/zephyr/modem/
Dubx.h43 #define UBX_FRM_CHECKSUM_STOP_IDX(frame_len) (frame_len - 2) argument
/Zephyr-Core-3.7.0/drivers/ethernet/
Deth_stellaris.c125 int frame_len, bytes_left; in eth_stellaris_rx_pkt() local
146 frame_len = reg_val & 0x0000ffff; in eth_stellaris_rx_pkt()
148 pkt = net_pkt_rx_alloc_with_buffer(iface, frame_len, in eth_stellaris_rx_pkt()
165 bytes_left = frame_len - 4; in eth_stellaris_rx_pkt()
Deth_w5500.c249 size_t frame_len; in w5500_rx() local
256 frame_len = frag_len; in w5500_rx()
258 frame_len = read_len; in w5500_rx()
261 w5500_readbuf(dev, reader, data_ptr, frame_len); in w5500_rx()
262 net_buf_add(pkt_buf, frame_len); in w5500_rx()
263 reader += frame_len; in w5500_rx()
265 read_len -= frame_len; in w5500_rx()
Deth_sam_gmac.c1232 uint32_t frame_len = 0U; in frame_get() local
1281 frag_len = (rx_desc->w1 & GMAC_RXW1_LEN) - frame_len; in frame_get()
1286 frame_len += frag_len; in frame_get()
/Zephyr-Core-3.7.0/subsys/bluetooth/host/classic/
Dsdp.c1728 uint16_t len, tid, frame_len; in sdp_client_receive() local
1767 frame_len = net_buf_pull_be16(buf); in sdp_client_receive()
1769 if (buf->len < frame_len + SDP_CONT_STATE_LEN_SIZE) { in sdp_client_receive()
1774 if (frame_len < 2) { in sdp_client_receive()
1780 cstate = (struct bt_sdp_pdu_cstate *)(buf->data + frame_len); in sdp_client_receive()
1787 if ((frame_len + SDP_CONT_STATE_LEN_SIZE + cstate->length) > in sdp_client_receive()
1798 if (frame_len == 2U && cstate->length == 0U && in sdp_client_receive()
1804 net_buf_pull(buf, frame_len + sizeof(cstate->length)); in sdp_client_receive()
1809 frame_len -= sdp_client_get_total(session, buf, &total); in sdp_client_receive()
1816 net_buf_add_mem(session->rec_buf, buf->data, frame_len); in sdp_client_receive()
[all …]
/Zephyr-Core-3.7.0/drivers/ieee802154/
Dieee802154_rf2xx.c165 uint8_t frame_len; in rf2xx_trx_rx() local
187 frame_len = RX2XX_FRAME_HEADER_SIZE + pkt_len + in rf2xx_trx_rx()
190 rf2xx_iface_frame_read(dev, rx_buf, frame_len); in rf2xx_trx_rx()
/Zephyr-Core-3.7.0/drivers/dai/intel/ssp/
Dssp.c1256 uint32_t frame_len = 0; in dai_ssp_set_config_tplg() local
1505 frame_len = bdiv / 2; in dai_ssp_set_config_tplg()
1556 frame_len = bdiv / 2; in dai_ssp_set_config_tplg()
1603 frame_len = 1; /* default */ in dai_ssp_set_config_tplg()
1608 frame_len = ssp_plat_data->params.frame_pulse_width; in dai_ssp_set_config_tplg()
1667 sspsp |= SSPSP_SFRMWDTH(frame_len); in dai_ssp_set_config_tplg()
/Zephyr-Core-3.7.0/doc/connectivity/bluetooth/api/audio/shell/
Dbap.rst51 [frame_len <frame length>]
333 [frame_len <frame length>]