Lines Matching refs:chan_next
36 uint8_t chan_next; in lll_chan_sel_1() local
38 chan_next = ((*chan_use) + (hop * (1 + latency))) % 37; in lll_chan_sel_1()
39 *chan_use = chan_next; in lll_chan_sel_1()
41 if ((chan_map[chan_next >> 3] & (1 << (chan_next % 8))) == 0U) { in lll_chan_sel_1()
44 chan_index = chan_next % chan_count; in lll_chan_sel_1()
45 chan_next = chan_sel_remap(chan_map, chan_index); in lll_chan_sel_1()
51 return chan_next; in lll_chan_sel_1()
74 uint8_t chan_next; in lll_chan_sel_2() local
78 chan_next = prn_e % 37; in lll_chan_sel_2()
80 if ((chan_map[chan_next >> 3] & (1 << (chan_next % 8))) == 0U) { in lll_chan_sel_2()
84 chan_next = chan_sel_remap(chan_map, chan_index); in lll_chan_sel_2()
90 return chan_next; in lll_chan_sel_2()
161 uint8_t chan_next; in chan_sel_remap() local
164 chan_next = 0U; in chan_sel_remap()
179 chan_next++; in chan_sel_remap()
190 return chan_next; in chan_sel_remap()