Lines Matching refs:chnum
59 BRCMU_CHSPEC_CH_SHIFT, ch->chnum); in brcmu_d11n_encchspec()
65 if (ch->chnum <= CH_MAX_2G_CHANNEL) in brcmu_d11n_encchspec()
92 BRCMU_CHSPEC_CH_SHIFT, ch->chnum); in brcmu_d11ac_encchspec()
99 if (ch->chnum <= CH_MAX_2G_CHANNEL) in brcmu_d11ac_encchspec()
109 ch->chnum = (u8)(ch->chspec & BRCMU_CHSPEC_CH_MASK); in brcmu_d11n_decchspec()
121 ch->chnum -= CH_10MHZ_APART; in brcmu_d11n_decchspec()
124 ch->chnum += CH_10MHZ_APART; in brcmu_d11n_decchspec()
149 ch->chnum = (u8)(ch->chspec & BRCMU_CHSPEC_CH_MASK); in brcmu_d11ac_decchspec()
161 ch->chnum -= CH_10MHZ_APART; in brcmu_d11ac_decchspec()
164 ch->chnum += CH_10MHZ_APART; in brcmu_d11ac_decchspec()
175 ch->chnum -= CH_30MHZ_APART; in brcmu_d11ac_decchspec()
178 ch->chnum -= CH_10MHZ_APART; in brcmu_d11ac_decchspec()
181 ch->chnum += CH_10MHZ_APART; in brcmu_d11ac_decchspec()
184 ch->chnum += CH_30MHZ_APART; in brcmu_d11ac_decchspec()