Lines Matching refs:MHZ_TO_KHZ
1186 bw = min_t(unsigned int, bw, MHZ_TO_KHZ(80)); in reg_get_max_bandwidth()
1188 bw = min_t(unsigned int, bw, MHZ_TO_KHZ(40)); in reg_get_max_bandwidth()
1196 bw = min_t(unsigned int, bw, MHZ_TO_KHZ(20)); in reg_get_max_bandwidth()
1568 for (bw = MHZ_TO_KHZ(20); bw >= min_bw; bw = bw / 2) { in __freq_reg_info()
1580 return __freq_reg_info(wiphy, center_freq, MHZ_TO_KHZ(20)); in freq_reg_info()
1618 MHZ_TO_KHZ(chan->center_freq), in reg_rule_to_chan_bw_flags()
1619 MHZ_TO_KHZ(10))) in reg_rule_to_chan_bw_flags()
1622 MHZ_TO_KHZ(chan->center_freq), in reg_rule_to_chan_bw_flags()
1623 MHZ_TO_KHZ(20))) in reg_rule_to_chan_bw_flags()
1626 if (max_bandwidth_khz < MHZ_TO_KHZ(10)) in reg_rule_to_chan_bw_flags()
1628 if (max_bandwidth_khz < MHZ_TO_KHZ(20)) in reg_rule_to_chan_bw_flags()
1630 if (max_bandwidth_khz < MHZ_TO_KHZ(40)) in reg_rule_to_chan_bw_flags()
1632 if (max_bandwidth_khz < MHZ_TO_KHZ(80)) in reg_rule_to_chan_bw_flags()
1634 if (max_bandwidth_khz < MHZ_TO_KHZ(160)) in reg_rule_to_chan_bw_flags()
1659 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(chan->center_freq)); in handle_channel()
2002 freq_reg_info_regd(MHZ_TO_KHZ(channel->center_freq), in reg_process_ht_flags_channel()
2003 regd, MHZ_TO_KHZ(20)); in reg_process_ht_flags_channel()
2219 for (bw = MHZ_TO_KHZ(20); bw >= MHZ_TO_KHZ(5); bw = bw / 2) { in handle_channel_custom()
2220 reg_rule = freq_reg_info_regd(MHZ_TO_KHZ(chan->center_freq), in handle_channel_custom()