Home
last modified time | relevance | path

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

/linux/drivers/usb/class/
A Dcdc-acm.c269 memcpy(buf, acm->country_codes, acm->country_code_size); in wCountryCodes_show()
740 kfree(acm->country_codes); in acm_port_destruct()
1438 acm->country_codes = kmalloc(cfd->bLength - 4, GFP_KERNEL); in acm_probe()
1439 if (!acm->country_codes) in acm_probe()
1442 memcpy(acm->country_codes, (u8 *)&cfd->wCountyCode0, in acm_probe()
1448 kfree(acm->country_codes); in acm_probe()
1449 acm->country_codes = NULL; in acm_probe()
1458 kfree(acm->country_codes); in acm_probe()
1459 acm->country_codes = NULL; in acm_probe()
1510 if (acm->country_codes) { in acm_probe()
[all …]
A Dcdc-acm.h94 u8 *country_codes; /* country codes from device */ member
/linux/include/linux/platform_data/
A Dbrcmfmac.h154 struct brcmfmac_pd_cc *country_codes; member
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dcommon.h51 struct brcmfmac_pd_cc *country_codes; member
A Dof.c56 settings->country_codes = cc; in brcmf_of_get_country_codes()
A Dcommon.c433 settings->country_codes = in brcmf_get_module_param()
434 device_pd->country_codes; in brcmf_get_module_param()
A Dcfg80211.c7461 struct brcmfmac_pd_cc *country_codes; in brcmf_translate_country_code() local
7466 country_codes = drvr->settings->country_codes; in brcmf_translate_country_code()
7467 if (!country_codes) { in brcmf_translate_country_code()
7479 for (i = 0; i < country_codes->table_size; i++) { in brcmf_translate_country_code()
7480 cc = &country_codes->table[i]; in brcmf_translate_country_code()
7494 ccreq->rev = cpu_to_le32(country_codes->table[found_index].rev); in brcmf_translate_country_code()
7495 memcpy(ccreq->ccode, country_codes->table[found_index].cc, in brcmf_translate_country_code()

Completed in 97 milliseconds