Searched refs:nvs (Results 1 - 10 of 10) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/power/
H A DMakefile13 obj-$(CONFIG_SUSPEND_NVS) += nvs.o
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/wl12xx/
H A Dwl1251_boot.c409 u8 *nvs_ptr, *nvs; local
411 nvs = wl->nvs;
412 if (nvs == NULL)
415 nvs_ptr = nvs;
441 "nvs burst write 0x%x: 0x%x",
455 nvs_len -= nvs_ptr - nvs;
473 "nvs write table 0x%x: 0x%x",
H A Dwl1271_testmode.c194 wl1271_debug(DEBUG_TESTMODE, "testmode cmd nvs push");
205 wl1271_error("nvs size is not as expected: %zu != %zu",
212 kfree(wl->nvs);
214 wl->nvs = kzalloc(sizeof(struct wl1271_nvs_file), GFP_KERNEL);
215 if (!wl->nvs) {
216 wl1271_error("could not allocate memory for the nvs file");
221 memcpy(wl->nvs, buf, len);
223 wl1271_debug(DEBUG_TESTMODE, "testmode pushed nvs");
H A Dwl1271_boot.c225 if (wl->nvs == NULL)
229 nvs_len = sizeof(wl->nvs->nvs);
230 nvs_ptr = (u8 *)wl->nvs->nvs;
263 "nvs burst write 0x%x: 0x%x",
277 nvs_len -= nvs_ptr - (u8 *)wl->nvs->nvs;
H A Dwl1271_cmd.c112 if (!wl->nvs)
121 memcpy(&gen_parms->general_params, &wl->nvs->general_params,
135 struct wl1271_ini_general_params *gp = &wl->nvs->general_params;
138 if (!wl->nvs)
148 memcpy(&radio_parms->static_params_2, &wl->nvs->stat_radio_params_2,
151 &wl->nvs->dyn_radio_params_2[gp->tx_bip_fem_manufacturer].params,
156 &wl->nvs->stat_radio_params_5,
159 &wl->nvs->dyn_radio_params_5[gp->tx_bip_fem_manufacturer].params,
H A Dwl1271_ini.h104 u8 nvs[WL1271_INI_NVS_SECTION_SIZE]; member in struct:wl1271_nvs_file
H A Dwl1251_main.c115 wl1251_error("could not get nvs file: %d", ret);
120 wl1251_error("nvs size is not multiple of 32 bits: %zu",
127 wl->nvs = kmemdup(fw->data, wl->nvs_len, GFP_KERNEL);
129 if (!wl->nvs) {
130 wl1251_error("could not allocate memory for the nvs file");
203 if (wl->nvs == NULL && !wl->use_eeprom) {
1410 kfree(wl->nvs);
1411 wl->nvs = NULL;
H A Dwl1251.h291 u8 *nvs; member in struct:wl1251
418 #define WL1251_NVS_NAME "wl1251-nvs.bin"
H A Dwl1271.h115 #define WL1271_NVS_NAME "wl1271-nvs.bin"
362 struct wl1271_nvs_file *nvs; member in struct:wl1271
H A Dwl1271_main.c560 wl1271_error("could not get nvs file: %d", ret);
567 wl1271_error("nvs size is not as expected: %zu != %zu",
573 wl->nvs = kmemdup(fw->data, sizeof(struct wl1271_nvs_file), GFP_KERNEL);
575 if (!wl->nvs) {
576 wl1271_error("could not allocate memory for the nvs file");
670 if (wl->nvs == NULL) {
2462 kfree(wl->nvs);
2463 wl->nvs = NULL;

Completed in 188 milliseconds