Home
last modified time | relevance | path

Searched refs:country_codes (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcommon.h61 struct brcmfmac_pd_cc *country_codes; member
Dcommon.c441 settings->country_codes = in brcmf_get_module_param()
442 device_pd->country_codes; in brcmf_get_module_param()
Dcfg80211.c6762 struct brcmfmac_pd_cc *country_codes; in brcmf_translate_country_code() local
6767 country_codes = drvr->settings->country_codes; in brcmf_translate_country_code()
6768 if (!country_codes) { in brcmf_translate_country_code()
6780 for (i = 0; i < country_codes->table_size; i++) { in brcmf_translate_country_code()
6781 cc = &country_codes->table[i]; in brcmf_translate_country_code()
6795 ccreq->rev = cpu_to_le32(country_codes->table[found_index].rev); in brcmf_translate_country_code()
6796 memcpy(ccreq->ccode, country_codes->table[found_index].cc, in brcmf_translate_country_code()
/Linux-v4.19/include/linux/platform_data/
Dbrcmfmac.h154 struct brcmfmac_pd_cc *country_codes; member
/Linux-v4.19/drivers/usb/class/
Dcdc-acm.c255 memcpy(buf, acm->country_codes, acm->country_code_size); in wCountryCodes_show()
687 kfree(acm->country_codes); in acm_port_destruct()
1422 acm->country_codes = kmalloc(cfd->bLength - 4, GFP_KERNEL); in acm_probe()
1423 if (!acm->country_codes) in acm_probe()
1426 memcpy(acm->country_codes, (u8 *)&cfd->wCountyCode0, in acm_probe()
1432 kfree(acm->country_codes); in acm_probe()
1433 acm->country_codes = NULL; in acm_probe()
1442 kfree(acm->country_codes); in acm_probe()
1443 acm->country_codes = NULL; in acm_probe()
1485 if (acm->country_codes) { in acm_probe()
[all …]
Dcdc-acm.h92 u8 *country_codes; /* country codes from device */ member