Searched refs:country_codes (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/usb/class/ |
| H A D | cdc-acm.c | 269 memcpy(buf, acm->country_codes, acm->country_code_size); in wCountryCodes_show() 740 kfree(acm->country_codes); in acm_port_destruct() 1458 acm->country_codes = kmalloc(cfd->bLength - 4, GFP_KERNEL); in acm_probe() 1459 if (!acm->country_codes) in acm_probe() 1462 memcpy(acm->country_codes, (u8 *)&cfd->wCountyCode0, in acm_probe() 1468 kfree(acm->country_codes); in acm_probe() 1469 acm->country_codes = NULL; in acm_probe() 1478 kfree(acm->country_codes); in acm_probe() 1479 acm->country_codes = NULL; in acm_probe() 1525 if (acm->country_codes) { in acm_probe() [all …]
|
| H A D | cdc-acm.h | 94 u8 *country_codes; /* country codes from device */ member
|
| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | xr_usb_serial_common.c | 242 memcpy(buf, xr_usb_serial->country_codes, xr_usb_serial->country_code_size); in show_country_codes() 673 kfree(xr_usb_serial->country_codes); in xr_usb_serial_port_destruct() 1667 xr_usb_serial->country_codes = kmalloc(cfd->bLength - 4, GFP_KERNEL); in xr_usb_serial_probe() 1668 if (!xr_usb_serial->country_codes) in xr_usb_serial_probe() 1671 memcpy(xr_usb_serial->country_codes, (u8 *)&cfd->wCountyCode0, in xr_usb_serial_probe() 1677 kfree(xr_usb_serial->country_codes); in xr_usb_serial_probe() 1678 xr_usb_serial->country_codes = NULL; in xr_usb_serial_probe() 1687 kfree(xr_usb_serial->country_codes); in xr_usb_serial_probe() 1688 xr_usb_serial->country_codes = NULL; in xr_usb_serial_probe() 1771 if (xr_usb_serial->country_codes) { in xr_usb_serial_probe() [all …]
|
| H A D | xr_usb_serial_common.h | 120 u8 *country_codes; /* country codes from device */ member
|
| /OK3568_Linux_fs/kernel/include/linux/platform_data/ |
| H A D | brcmfmac.h | 154 struct brcmfmac_pd_cc *country_codes; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | common.h | 51 struct brcmfmac_pd_cc *country_codes; member
|
| H A D | common.c | 433 settings->country_codes = in brcmf_get_module_param() 434 device_pd->country_codes; in brcmf_get_module_param()
|
| H A D | cfg80211.c | 7356 struct brcmfmac_pd_cc *country_codes; in brcmf_translate_country_code() local 7361 country_codes = drvr->settings->country_codes; in brcmf_translate_country_code() 7362 if (!country_codes) { in brcmf_translate_country_code() 7374 for (i = 0; i < country_codes->table_size; i++) { in brcmf_translate_country_code() 7375 cc = &country_codes->table[i]; in brcmf_translate_country_code() 7389 ccreq->rev = cpu_to_le32(country_codes->table[found_index].rev); in brcmf_translate_country_code() 7390 memcpy(ccreq->ccode, country_codes->table[found_index].cc, in brcmf_translate_country_code()
|