Home
last modified time | relevance | path

Searched refs:nvs (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/net/wireless/ti/wl12xx/
Dcmd.c22 if (!wl->nvs) in wl1271_cmd_ext_radio_parms()
53 &((struct wl1271_nvs_file *)wl->nvs)->general_params; in wl1271_cmd_general_parms()
58 if (!wl->nvs) in wl1271_cmd_general_parms()
120 &((struct wl128x_nvs_file *)wl->nvs)->general_params; in wl128x_cmd_general_parms()
125 if (!wl->nvs) in wl128x_cmd_general_parms()
186 struct wl1271_nvs_file *nvs = (struct wl1271_nvs_file *)wl->nvs; in wl1271_cmd_radio_parms() local
188 struct wl1271_ini_general_params *gp = &nvs->general_params; in wl1271_cmd_radio_parms()
191 if (!wl->nvs) in wl1271_cmd_radio_parms()
203 memcpy(&radio_parms->static_params_2, &nvs->stat_radio_params_2, in wl1271_cmd_radio_parms()
206 &nvs->dyn_radio_params_2[fem_idx].params, in wl1271_cmd_radio_parms()
[all …]
/Linux-v5.4/drivers/net/wireless/ti/wlcore/
Dboot.c280 if (wl->nvs == NULL) { in wlcore_boot_upload_nvs()
289 struct wl1271_nvs_file *nvs = in wlcore_boot_upload_nvs() local
290 (struct wl1271_nvs_file *)wl->nvs; in wlcore_boot_upload_nvs()
298 if (nvs->general_params.dual_mode_select) in wlcore_boot_upload_nvs()
308 kfree(wl->nvs); in wlcore_boot_upload_nvs()
309 wl->nvs = NULL; in wlcore_boot_upload_nvs()
315 nvs_len = sizeof(nvs->nvs); in wlcore_boot_upload_nvs()
316 nvs_ptr = (u8 *) nvs->nvs; in wlcore_boot_upload_nvs()
318 struct wl128x_nvs_file *nvs = (struct wl128x_nvs_file *)wl->nvs; in wlcore_boot_upload_nvs() local
321 if (nvs->general_params.dual_mode_select) in wlcore_boot_upload_nvs()
[all …]
Dini.h179 u8 nvs[WL1271_INI_NVS_SECTION_SIZE]; member
200 u8 nvs[WL1271_INI_NVS_SECTION_SIZE]; member
Dwlcore.h213 void *nvs; member
Dmain.c6140 u8 *nvs_ptr = (u8 *)wl->nvs; in wl1271_register_hw()
6521 kfree(wl->nvs); in wlcore_free_hw()
6522 wl->nvs = NULL; in wlcore_free_hw()
6561 wl->nvs = kmemdup(fw->data, fw->size, GFP_KERNEL); in wlcore_nvs_cb()
6562 if (!wl->nvs) { in wlcore_nvs_cb()
6570 wl->nvs = NULL; in wlcore_nvs_cb()
6573 wl->nvs = NULL; in wlcore_nvs_cb()
6673 kfree(wl->nvs); in wlcore_nvs_cb()
/Linux-v5.4/drivers/net/wireless/ti/wl1251/
Dboot.c393 u8 *nvs_ptr, *nvs; in wl1251_boot_upload_nvs() local
395 nvs = wl->nvs; in wl1251_boot_upload_nvs()
396 if (nvs == NULL) in wl1251_boot_upload_nvs()
399 nvs_ptr = nvs; in wl1251_boot_upload_nvs()
439 nvs_len -= nvs_ptr - nvs; in wl1251_boot_upload_nvs()
Dmain.c111 wl->nvs = kmemdup(fw->data, fw->size, GFP_KERNEL); in wl1251_fetch_nvs()
113 if (!wl->nvs) { in wl1251_fetch_nvs()
1440 if (wl->nvs[NVS_OFF_MAC_LEN] != 2 || in wl1251_check_nvs_mac()
1441 wl->nvs[NVS_OFF_MAC_ADDR_LO] != 0x6d || in wl1251_check_nvs_mac()
1442 wl->nvs[NVS_OFF_MAC_ADDR_HI] != 0x54) in wl1251_check_nvs_mac()
1459 mac[i] = wl->nvs[NVS_OFF_MAC_DATA + ETH_ALEN - i - 1]; in wl1251_read_nvs_mac()
1479 wl->nvs[NVS_OFF_MAC_DATA + i] = wl->mac_addr[ETH_ALEN - i - 1]; in wl1251_write_nvs_mac()
1527 if (wl->nvs == NULL && !wl->use_eeprom) { in wl1251_init_ieee80211()
1651 kfree(wl->nvs); in wl1251_free_hw()
1652 wl->nvs = NULL; in wl1251_free_hw()
Dwl1251.h287 u8 *nvs; member
/Linux-v5.4/drivers/acpi/
DMakefile22 acpi-y += nvs.o