Searched refs:nvs (Results 1 – 9 of 9) sorted by relevance
36 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() local202 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 …]
291 if (wl->nvs == NULL) { in wlcore_boot_upload_nvs()297 struct wl1271_nvs_file *nvs = in wlcore_boot_upload_nvs() local298 (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() local328 if (nvs->general_params.dual_mode_select) in wlcore_boot_upload_nvs()[all …]
193 u8 nvs[WL1271_INI_NVS_SECTION_SIZE]; member214 u8 nvs[WL1271_INI_NVS_SECTION_SIZE]; member
222 void *nvs; member
6034 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()
407 u8 *nvs_ptr, *nvs; in wl1251_boot_upload_nvs() local409 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()
126 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()
301 u8 *nvs; member
21 acpi-y += nvs.o