Searched refs:START_LAST_SEG (Results 1 – 1 of 1) sorted by relevance
34 #define START_LAST_SEG(gpc) (gpc >> 2) macro608 LOG_DBG("len %u last_seg %u total_len %u fcs 0x%02x", buf->len, START_LAST_SEG(rx->gpc), in gen_prov_start()623 if (START_LAST_SEG(rx->gpc) > 0 && link.rx.buf->len <= 20U) { in gen_prov_start()629 if (START_LAST_SEG(rx->gpc) != last_seg(link.rx.buf->len)) { in gen_prov_start()630 LOG_ERR("Invalid SegN (%u, calculated %u)", START_LAST_SEG(rx->gpc), in gen_prov_start()638 link.rx.last_seg = START_LAST_SEG(rx->gpc); in gen_prov_start()651 link.rx.seg = seg & ((1 << (START_LAST_SEG(rx->gpc) + 1)) - 1); in gen_prov_start()