Lines Matching refs:country_code
122 switch (reg->country_code) { in dynamic_country_user_possible()
468 u16 country_code; in __ath_reg_dyn_country() local
474 country_code = ath_regd_find_country_by_name(request->alpha2); in __ath_reg_dyn_country()
475 if (country_code == (u16) -1) in __ath_reg_dyn_country()
479 reg->current_rd |= country_code; in __ath_reg_dyn_country()
694 reg->country_code = ath_regd_get_default_country(regdmn); in __ath_regd_init()
696 if (reg->country_code == CTRY_DEFAULT && in __ath_regd_init()
700 reg->country_code = CTRY_UNITED_STATES; in __ath_regd_init()
703 if (reg->country_code == CTRY_DEFAULT) { in __ath_regd_init()
708 country = ath_regd_find_country(reg->country_code); in __ath_regd_init()
713 reg->country_code); in __ath_regd_init()
778 (reg->country_code == CTRY_DEFAULT && in ath_regd_get_band_ctl()