Home
last modified time | relevance | path

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

/drivers/net/wireless/ti/wl12xx/
Dcmd.c36 if (!wl->nvs) in wl1271_cmd_ext_radio_parms()
67 &((struct wl1271_nvs_file *)wl->nvs)->general_params; in wl1271_cmd_general_parms()
72 if (!wl->nvs) in wl1271_cmd_general_parms()
134 &((struct wl128x_nvs_file *)wl->nvs)->general_params; in wl128x_cmd_general_parms()
139 if (!wl->nvs) in wl128x_cmd_general_parms()
200 struct wl1271_nvs_file *nvs = (struct wl1271_nvs_file *)wl->nvs; in wl1271_cmd_radio_parms() local
202 struct wl1271_ini_general_params *gp = &nvs->general_params; in wl1271_cmd_radio_parms()
205 if (!wl->nvs) in wl1271_cmd_radio_parms()
217 memcpy(&radio_parms->static_params_2, &nvs->stat_radio_params_2, in wl1271_cmd_radio_parms()
220 &nvs->dyn_radio_params_2[fem_idx].params, in wl1271_cmd_radio_parms()
[all …]
/drivers/net/wireless/ti/wlcore/
Dboot.c291 if (wl->nvs == NULL) { in wlcore_boot_upload_nvs()
297 struct wl1271_nvs_file *nvs = in wlcore_boot_upload_nvs() local
298 (struct wl1271_nvs_file *)wl->nvs; in wlcore_boot_upload_nvs()
306 if (nvs->general_params.dual_mode_select) in wlcore_boot_upload_nvs()
315 kfree(wl->nvs); in wlcore_boot_upload_nvs()
316 wl->nvs = NULL; in wlcore_boot_upload_nvs()
322 nvs_len = sizeof(nvs->nvs); in wlcore_boot_upload_nvs()
323 nvs_ptr = (u8 *) nvs->nvs; in wlcore_boot_upload_nvs()
325 struct wl128x_nvs_file *nvs = (struct wl128x_nvs_file *)wl->nvs; in wlcore_boot_upload_nvs() local
328 if (nvs->general_params.dual_mode_select) in wlcore_boot_upload_nvs()
[all …]
Dini.h193 u8 nvs[WL1271_INI_NVS_SECTION_SIZE]; member
214 u8 nvs[WL1271_INI_NVS_SECTION_SIZE]; member
Dwlcore.h222 void *nvs; member
Dmain.c6034 u8 *nvs_ptr = (u8 *)wl->nvs; in wl1271_register_hw()
6390 kfree(wl->nvs); in wlcore_free_hw()
6391 wl->nvs = NULL; in wlcore_free_hw()
6430 wl->nvs = kmemdup(fw->data, fw->size, GFP_KERNEL); in wlcore_nvs_cb()
6431 if (!wl->nvs) { in wlcore_nvs_cb()
6439 wl->nvs = NULL; in wlcore_nvs_cb()
6524 kfree(wl->nvs); in wlcore_nvs_cb()
/drivers/net/wireless/ti/wl1251/
Dboot.c407 u8 *nvs_ptr, *nvs; in wl1251_boot_upload_nvs() local
409 nvs = wl->nvs; in wl1251_boot_upload_nvs()
410 if (nvs == NULL) in wl1251_boot_upload_nvs()
413 nvs_ptr = nvs; in wl1251_boot_upload_nvs()
453 nvs_len -= nvs_ptr - nvs; in wl1251_boot_upload_nvs()
Dmain.c126 wl->nvs = kmemdup(fw->data, wl->nvs_len, GFP_KERNEL); in wl1251_fetch_nvs()
128 if (!wl->nvs) { in wl1251_fetch_nvs()
205 if (wl->nvs == NULL && !wl->use_eeprom) { in wl1251_chip_wakeup()
1595 kfree(wl->nvs); in wl1251_free_hw()
1596 wl->nvs = NULL; in wl1251_free_hw()
Dwl1251.h301 u8 *nvs; member
/drivers/acpi/
DMakefile21 acpi-y += nvs.o