Home
last modified time | relevance | path

Searched refs:allCountries (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/wireless/ath/
Dregd.c461 for (i = 0; i < ARRAY_SIZE(allCountries); i++) { in ath_regd_find_country_by_name()
462 if (!memcmp(allCountries[i].isoName, alpha2, 2)) in ath_regd_find_country_by_name()
463 return allCountries[i].countryCode; in ath_regd_find_country_by_name()
561 for (i = 0; i < ARRAY_SIZE(allCountries); i++) in ath_regd_is_eeprom_valid()
562 if (allCountries[i].countryCode == cc) in ath_regd_is_eeprom_valid()
584 for (i = 0; i < ARRAY_SIZE(allCountries); i++) { in ath_regd_find_country()
585 if (allCountries[i].countryCode == countryCode) in ath_regd_find_country()
586 return &allCountries[i]; in ath_regd_find_country()
597 for (i = 0; i < ARRAY_SIZE(allCountries); i++) { in ath_regd_find_country_by_rd()
598 if (allCountries[i].regDmnEnum == regdmn) in ath_regd_find_country_by_rd()
[all …]
Dregd_common.h299 static struct country_code_to_enum_rd allCountries[] = { variable
/Linux-v5.10/drivers/net/wireless/ath/ath6kl/
Dwmi.c948 for (i = 0; i < ARRAY_SIZE(allCountries); i++) { in ath6kl_regd_find_country()
949 if (allCountries[i].countryCode == countryCode) in ath6kl_regd_find_country()
950 return &allCountries[i]; in ath6kl_regd_find_country()
977 for (i = 0; i < ARRAY_SIZE(allCountries); i++) { in ath6kl_regd_find_country_by_rd()
978 if (allCountries[i].regDmnEnum == regdmn) in ath6kl_regd_find_country_by_rd()
979 return &allCountries[i]; in ath6kl_regd_find_country_by_rd()