Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/platform_data/
Dbrcmfmac.h154 struct brcmfmac_pd_cc *country_codes; member
/Linux-v5.10/drivers/usb/class/
Dcdc-acm.c256 memcpy(buf, acm->country_codes, acm->country_code_size); in wCountryCodes_show()
720 kfree(acm->country_codes); in acm_port_destruct()
1444 acm->country_codes = kmalloc(cfd->bLength - 4, GFP_KERNEL); in acm_probe()
1445 if (!acm->country_codes) in acm_probe()
1448 memcpy(acm->country_codes, (u8 *)&cfd->wCountyCode0, in acm_probe()
1454 kfree(acm->country_codes); in acm_probe()
1455 acm->country_codes = NULL; in acm_probe()
1464 kfree(acm->country_codes); in acm_probe()
1465 acm->country_codes = NULL; in acm_probe()
1506 if (acm->country_codes) { in acm_probe()
[all …]
Dcdc-acm.h92 u8 *country_codes; /* country codes from device */ member
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcommon.h51 struct brcmfmac_pd_cc *country_codes; member
Dcommon.c433 settings->country_codes = in brcmf_get_module_param()
434 device_pd->country_codes; in brcmf_get_module_param()
Dcfg80211.c7349 struct brcmfmac_pd_cc *country_codes; in brcmf_translate_country_code() local
7354 country_codes = drvr->settings->country_codes; in brcmf_translate_country_code()
7355 if (!country_codes) { in brcmf_translate_country_code()
7367 for (i = 0; i < country_codes->table_size; i++) { in brcmf_translate_country_code()
7368 cc = &country_codes->table[i]; in brcmf_translate_country_code()
7382 ccreq->rev = cpu_to_le32(country_codes->table[found_index].rev); in brcmf_translate_country_code()
7383 memcpy(ccreq->ccode, country_codes->table[found_index].cc, in brcmf_translate_country_code()