Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/platform_data/
H A Dbrcmfmac.h154 struct brcmfmac_pd_cc *country_codes; member
/openbmc/linux/drivers/usb/class/
H A Dcdc-acm.c270 memcpy(buf, acm->country_codes, acm->country_code_size); in wCountryCodes_show()
758 kfree(acm->country_codes); in acm_port_destruct()
1474 acm->country_codes = kmalloc(cfd->bLength - 4, GFP_KERNEL); in acm_probe()
1475 if (!acm->country_codes) in acm_probe()
1478 memcpy(acm->country_codes, (u8 *)&cfd->wCountyCode0, in acm_probe()
1484 kfree(acm->country_codes); in acm_probe()
1485 acm->country_codes = NULL; in acm_probe()
1494 kfree(acm->country_codes); in acm_probe()
1495 acm->country_codes = NULL; in acm_probe()
1546 if (acm->country_codes) { in acm_probe()
[all …]
H A Dcdc-acm.h66 u8 *country_codes; /* country codes from device */ member
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcommon.h53 struct brcmfmac_pd_cc *country_codes; member
H A Dof.c63 settings->country_codes = cc; in brcmf_of_get_country_codes()
H A Dcommon.c544 settings->country_codes = in brcmf_get_module_param()
545 device_pd->country_codes; in brcmf_get_module_param()
H A Dcfg80211.c7904 struct brcmfmac_pd_cc *country_codes; in brcmf_translate_country_code() local
7915 country_codes = drvr->settings->country_codes; in brcmf_translate_country_code()
7916 if (!country_codes) { in brcmf_translate_country_code()
7932 for (i = 0; i < country_codes->table_size; i++) { in brcmf_translate_country_code()
7933 cc = &country_codes->table[i]; in brcmf_translate_country_code()
7947 ccreq->rev = cpu_to_le32(country_codes->table[found_index].rev); in brcmf_translate_country_code()
7948 memcpy(ccreq->ccode, country_codes->table[found_index].cc, in brcmf_translate_country_code()