Home
last modified time | relevance | path

Searched refs:seg (Results 1 – 24 of 24) sorted by relevance

/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/
Dpb_adv.c44 #define XACT_SEG_RECV(_seg) (link.rx.seg &= ~(1 << (_seg)))
86 uint8_t seg; /* Bit-field of unreceived segments */ member
441 link.rx.seg = 0U; in protocol_timeout()
483 uint8_t seg = CONT_SEG_INDEX(rx->gpc); in gen_prov_cont() local
485 LOG_DBG("len %u, seg_index %u", buf->len, seg); in gen_prov_cont()
487 if (!link.rx.seg && link.rx.id == rx->xact_id) { in gen_prov_cont()
496 if (!link.rx.seg && in gen_prov_cont()
504 link.rx.seg = SEG_NVAL; in gen_prov_cont()
513 if (seg > link.rx.last_seg) { in gen_prov_cont()
514 LOG_ERR("Invalid segment index %u", seg); in gen_prov_cont()
[all …]
Dtransport.c71 void *seg[BT_MESH_TX_SEG_MAX]; member
100 void *seg[BT_MESH_RX_SEG_MAX]; member
199 k_mem_slab_free(&segs, (void *)tx->seg[seg_idx]); in seg_tx_done()
200 tx->seg[seg_idx] = NULL; in seg_tx_done()
248 if (!tx->seg[i]) { in seg_tx_reset()
354 net_buf_simple_add_mem(buf, tx->seg[seg_o], len); in seg_tx_buf_build()
407 struct bt_mesh_adv *seg; in seg_tx_send_unacked() local
410 if (!tx->seg[tx->seg_o]) { in seg_tx_send_unacked()
416 seg = bt_mesh_adv_create(BT_MESH_ADV_DATA, BT_MESH_ADV_TAG_LOCAL, in seg_tx_send_unacked()
418 if (!seg) { in seg_tx_send_unacked()
[all …]
Dfriend.c70 seg:1; member
84 adv_pool[id].seg = false; in adv_alloc()
187 for (i = 0; i < ARRAY_SIZE(frnd->seg); i++) { in friend_clear()
188 struct bt_mesh_friend_seg *seg = &frnd->seg[i]; in friend_clear() local
190 purge_buffers(&seg->queue); in friend_clear()
191 seg->seg_count = 0U; in friend_clear()
1076 static bool is_seg(struct bt_mesh_friend_seg *seg, uint16_t src, uint16_t seq_zero) in is_seg() argument
1078 struct net_buf *buf = (void *)sys_slist_peek_head(&seg->queue); in is_seg()
1104 for (i = 0; i < ARRAY_SIZE(frnd->seg); i++) { in get_seg()
1105 struct bt_mesh_friend_seg *seg = &frnd->seg[i]; in get_seg() local
[all …]
Dtransport.h19 #define TRANS_CTL_HDR(op, seg) ((op & TRANS_CTL_OP_MASK) | (seg << 7)) argument
Drpl.h18 seg:24; member
Dnet.h80 } seg[FRIEND_SEG_RX]; member
Drpl.c92 rpl->seg = 0; in bt_mesh_rpl_update()
/Zephyr-Core-3.6.0/include/zephyr/toolchain/
Dxcc.h125 #define __in_section_unique(seg) \ argument
126 __attribute__((section("." STRINGIFY(seg) "." STRINGIFY(__COUNTER__))))
129 #define __in_section_unique_named(seg, name) \ argument
130 __attribute__((section("." STRINGIFY(seg) \
Dgcc.h189 #define __in_section_unique(seg) ___in_section(seg, __FILE__, __COUNTER__) argument
191 #define __in_section_unique_named(seg, name) \ argument
192 ___in_section(seg, __FILE__, name)
/Zephyr-Core-3.6.0/arch/x86/zefi/
Dzefi.py44 for seg in ef.iter_segments():
45 h = seg.header
50 assert len(seg.data()) == h.p_filesz
53 sd = seg.data()
/Zephyr-Core-3.6.0/samples/net/stats/
DREADME.rst53 TCP seg recv 0 sent 0 drop 0
54 TCP seg resent 0 chkerr 0 ackerr 0
55 TCP seg rsterr 0 rst 0 re-xmit 0
/Zephyr-Core-3.6.0/subsys/bluetooth/host/
Dl2cap.c1790 struct net_buf *seg = NULL; in l2cap_alloc_seg() local
1794 seg = ch->chan.ops->alloc_seg(&ch->chan); in l2cap_alloc_seg()
1795 __ASSERT_NO_MSG(seg); in l2cap_alloc_seg()
1799 if (!seg) { in l2cap_alloc_seg()
1800 seg = bt_l2cap_create_pdu_timeout(NULL, 0, K_NO_WAIT); in l2cap_alloc_seg()
1803 if (seg) { in l2cap_alloc_seg()
1804 net_buf_reserve(seg, BT_L2CAP_CHAN_SEND_RESERVE); in l2cap_alloc_seg()
1807 return seg; in l2cap_alloc_seg()
1897 struct net_buf *seg; in l2cap_chan_le_send() local
1913 seg = net_buf_ref(buf); in l2cap_chan_le_send()
[all …]
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/src/
Dmain.c92 struct net_buf_simple *seg) in recv_cb() argument
94 LOG_DBG("sdu len %u frag offset %u frag len %u", sdu_len, seg_offset, seg->len); in recv_cb()
99 ASSERT(memcmp(seg->data, &tx_data[seg_offset], seg->len) == 0, "RX data doesn't match TX"); in recv_cb()
101 if (seg_offset + seg->len == sdu_len) { in recv_cb()
/Zephyr-Core-3.6.0/subsys/bluetooth/audio/
Dmpl.c331 struct mpl_tseg *seg = track->segment; in setup_segments_object() local
335 if (seg) { in setup_segments_object()
338 while (seg->prev) { in setup_segments_object()
339 seg = seg->prev; in setup_segments_object()
341 while (seg) { in setup_segments_object()
342 uint32_t seg_size = sizeof(seg->name_len); in setup_segments_object()
344 seg_size += seg->name_len; in setup_segments_object()
345 seg_size += sizeof(seg->pos); in setup_segments_object()
350 net_buf_simple_add_u8(obj.content, seg->name_len); in setup_segments_object()
351 net_buf_simple_add_mem(obj.content, seg->name, in setup_segments_object()
[all …]
Dmcc.c3354 struct track_seg_t *seg; in decode_track_segments() local
3365 seg = &track_segs->segs[i]; in decode_track_segments()
3367 seg->name_len = net_buf_simple_pull_u8(&tmp_buf); in decode_track_segments()
3368 if (seg->name_len + sizeof(int32_t) > tmp_buf.len) { in decode_track_segments()
3373 if (seg->name_len) { in decode_track_segments()
3375 name = net_buf_simple_pull_mem(&tmp_buf, seg->name_len); in decode_track_segments()
3377 if (seg->name_len >= CONFIG_BT_MCC_SEGMENT_NAME_MAX) { in decode_track_segments()
3378 seg->name_len = in decode_track_segments()
3381 (void)memcpy(seg->name, name, seg->name_len); in decode_track_segments()
3383 seg->name[seg->name_len] = '\0'; in decode_track_segments()
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/
Dl2cap.h418 off_t seg_offset, struct net_buf_simple *seg);
/Zephyr-Core-3.6.0/drivers/can/
Dcan_nxp_s32_canxl.c66 #error You must either set a sampling-point or timings (phase-seg* and prop-seg)
78 #error You must either set a sampling-point-data or timings (phase-seg-data* and prop-seg-data)
Dcan_mcp2515.c34 #error You must either set a sampling-point or timings (phase-seg* and prop-seg)
Dcan_stm32_bxcan.c41 #error You must either set a sampling-point or timings (phase-seg* and prop-seg)
Dcan_mcux_flexcan.c41 #error You must either set a sampling-point or timings (phase-seg* and prop-seg)
/Zephyr-Core-3.6.0/doc/releases/
Dmigration-guide-3.5.rst417 * ``prop-seg``
421 * ``prop-seg-data``
Drelease-notes-3.5.rst1011 * property ``prop-seg-data`` deprecation status changed from False to True
1012 * property ``prop-seg`` deprecation status changed from False to True
Drelease-notes-2.1.rst476 * :github:`20970` - Bluetooth: Mesh: seg\_tx\_reset in the transport layer
Drelease-notes-2.4.rst1376 * :github:`26435` - Suspicious source code with subsys/random/random32_entropy_device: seg fault ri…