Lines Matching refs:country
538 char country[12]; in call_crda() local
539 char *env[] = { country, NULL }; in call_crda()
542 snprintf(country, sizeof(country), "COUNTRY=%c%c", in call_crda()
626 struct fwdb_country country[]; member
680 const struct fwdb_country *country) in valid_country() argument
682 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2; in valid_country()
824 const struct fwdb_country *country; in valid_regdb() local
838 country = &hdr->country[0]; in valid_regdb()
839 while ((u8 *)(country + 1) <= data + size) { in valid_regdb()
840 if (!country->coll_ptr) in valid_regdb()
842 if (!valid_country(data, size, country)) in valid_regdb()
844 country++; in valid_regdb()
872 const struct fwdb_country *country, int freq, in __regdb_query_wmm() argument
875 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2; in __regdb_query_wmm()
904 const struct fwdb_country *country; in reg_query_regdb_wmm() local
912 country = &hdr->country[0]; in reg_query_regdb_wmm()
913 while (country->coll_ptr) { in reg_query_regdb_wmm()
914 if (alpha2_equal(alpha2, country->alpha2)) in reg_query_regdb_wmm()
915 return __regdb_query_wmm(regdb, country, freq, rule); in reg_query_regdb_wmm()
917 country++; in reg_query_regdb_wmm()
925 const struct fwdb_country *country) in regdb_query_country() argument
927 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2; in regdb_query_country()
940 regdom->alpha2[0] = country->alpha2[0]; in regdb_query_country()
941 regdom->alpha2[1] = country->alpha2[1]; in regdb_query_country()
989 const struct fwdb_country *country; in query_regdb() local
996 country = &hdr->country[0]; in query_regdb()
997 while (country->coll_ptr) { in query_regdb()
998 if (alpha2_equal(alpha2, country->alpha2)) in query_regdb()
999 return regdb_query_country(regdb, country); in query_regdb()
1000 country++; in query_regdb()