Lines Matching refs:seg_rx
97 static struct seg_rx { struct
115 } seg_rx[CONFIG_BT_MESH_RX_SEG_MSG_COUNT]; argument
717 static void seg_rx_assemble(struct seg_rx *rx, struct net_buf_simple *buf, in seg_rx_assemble()
740 struct seg_rx *seg;
779 struct seg_rx *seg) in sdu_recv()
1143 static void seg_rx_reset(struct seg_rx *rx, bool full_reset) in seg_rx_reset()
1188 struct seg_rx *rx = CONTAINER_OF(dwork, struct seg_rx, discard); in seg_discard()
1202 struct seg_rx *rx = CONTAINER_OF(dwork, struct seg_rx, ack); in seg_ack()
1237 static struct seg_rx *seg_rx_find(struct bt_mesh_net_rx *net_rx, in seg_rx_find()
1242 for (i = 0; i < ARRAY_SIZE(seg_rx); i++) { in seg_rx_find()
1243 struct seg_rx *rx = &seg_rx[i]; in seg_rx_find()
1273 static bool seg_rx_is_valid(struct seg_rx *rx, struct bt_mesh_net_rx *net_rx, in seg_rx_is_valid()
1294 static struct seg_rx *seg_rx_alloc(struct bt_mesh_net_rx *net_rx, in seg_rx_alloc()
1308 for (i = 0; i < ARRAY_SIZE(seg_rx); i++) { in seg_rx_alloc()
1309 struct seg_rx *rx = &seg_rx[i]; in seg_rx_alloc()
1339 struct seg_rx *rx; in trans_seg()
1706 for (i = 0; i < ARRAY_SIZE(seg_rx); i++) { in bt_mesh_rx_reset()
1707 seg_rx_reset(&seg_rx[i], true); in bt_mesh_rx_reset()
1735 for (i = 0; i < ARRAY_SIZE(seg_rx); i++) { in bt_mesh_trans_init()
1736 k_work_init_delayable(&seg_rx[i].ack, seg_ack); in bt_mesh_trans_init()
1737 k_work_init_delayable(&seg_rx[i].discard, seg_discard); in bt_mesh_trans_init()