Searched refs:country_codes (Results 1 – 7 of 7) sorted by relevance
270 memcpy(buf, acm->country_codes, acm->country_code_size); in wCountryCodes_show()758 kfree(acm->country_codes); in acm_port_destruct()1482 acm->country_codes = kmalloc(cfd->bLength - 4, GFP_KERNEL); in acm_probe()1483 if (!acm->country_codes) in acm_probe()1486 memcpy(acm->country_codes, cfd->wCountryCodes, in acm_probe()1492 kfree(acm->country_codes); in acm_probe()1493 acm->country_codes = NULL; in acm_probe()1502 kfree(acm->country_codes); in acm_probe()1503 acm->country_codes = NULL; in acm_probe()1555 if (acm->country_codes) { in acm_probe()[all …]
66 u8 *country_codes; /* country codes from device */ member
154 struct brcmfmac_pd_cc *country_codes; member
53 struct brcmfmac_pd_cc *country_codes; member
64 settings->country_codes = cc; in brcmf_of_get_country_codes()
550 settings->country_codes = in brcmf_get_module_param()551 device_pd->country_codes; in brcmf_get_module_param()
7961 struct brcmfmac_pd_cc *country_codes; in brcmf_translate_country_code() local7972 country_codes = drvr->settings->country_codes; in brcmf_translate_country_code()7973 if (!country_codes) { in brcmf_translate_country_code()7989 for (i = 0; i < country_codes->table_size; i++) { in brcmf_translate_country_code()7990 cc = &country_codes->table[i]; in brcmf_translate_country_code()8004 ccreq->rev = cpu_to_le32(country_codes->table[found_index].rev); in brcmf_translate_country_code()8005 memcpy(ccreq->ccode, country_codes->table[found_index].cc, in brcmf_translate_country_code()