Lines Matching refs:chan_index
16 static uint8_t chan_sel_remap(uint8_t *chan_map, uint8_t chan_index);
22 static uint8_t chan_sel_remap_index(uint8_t *chan_map, uint8_t chan_index);
42 uint8_t chan_index; in lll_chan_sel_1() local
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()
81 uint8_t chan_index; in lll_chan_sel_2() local
83 chan_index = ((uint32_t)chan_count * prn_e) >> 16; in lll_chan_sel_2()
84 chan_next = chan_sel_remap(chan_map, chan_index); in lll_chan_sel_2()
159 static uint8_t chan_sel_remap(uint8_t *chan_map, uint8_t chan_index) in chan_sel_remap() argument
174 if (chan_index == 0U) { in chan_sel_remap()
177 chan_index--; in chan_sel_remap()
251 static uint8_t chan_sel_remap_index(uint8_t *chan_map, uint8_t chan_index) in chan_sel_remap_index() argument
265 if (!chan_index) { in chan_sel_remap_index()
268 chan_index--; in chan_sel_remap_index()