Searched refs:last_seg (Results 1 – 3 of 3) sorted by relevance
70 #define GPC_START(last_seg) (((last_seg) << 2) | 0x00) argument140 uint8_t last_seg; /* Last segment (to check length) */ member423 static uint8_t last_seg(uint8_t len) in last_seg() function464 net_buf_add_u8(start, GPC_START(last_seg(msg->len))); in prov_send_adv()1502 if (seg > link.rx.last_seg) { in gen_prov_cont()1506 } else if (seg == link.rx.last_seg) { in gen_prov_cont()1510 ((link.rx.last_seg - 1) * 23U)); in gen_prov_cont()1591 link.rx.last_seg = START_LAST_SEG(rx->gpc); in gen_prov_start()
70 #define GPC_START(last_seg) (((last_seg) << 2) | 0x00) argument168 uint8_t last_seg; /* Last segment (to check length) */ member1505 static uint8_t last_seg(uint8_t len) function1544 net_buf_add_u8(start, GPC_START(last_seg(msg->len)));2898 if (seg > link[idx].rx.last_seg) {2901 } else if (seg == link[idx].rx.last_seg) {2905 (23 * (link[idx].rx.last_seg - 1)));3017 link[idx].rx.last_seg = START_LAST_SEG(rx->gpc);
1532 last_seg = FALSE; /* The segment is the last part of data */ in l2c_fcr_get_next_xmit_sdu_seg() local1595 last_seg = TRUE; in l2c_fcr_get_next_xmit_sdu_seg()1632 } else if (last_seg) { in l2c_fcr_get_next_xmit_sdu_seg()