Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl12xx/
H A 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 in wl1271_cmd_radio_parms()
230 struct wl128x_nvs_file *nvs = (struct wl128x_nvs_file *)wl->nvs; wl128x_cmd_radio_parms() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl12xx/
H A 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 in wl1271_cmd_radio_parms()
230 struct wl128x_nvs_file *nvs = (struct wl128x_nvs_file *)wl->nvs; wl128x_cmd_radio_parms() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
H A Dboot.c283 if (wl->nvs == NULL) { in wlcore_boot_upload_nvs()
292 struct wl1271_nvs_file *nvs = in wlcore_boot_upload_nvs() local
293 (struct wl1271_nvs_file *)wl->nvs; in wlcore_boot_upload_nvs()
301 if (nvs->general_params.dual_mode_select) in wlcore_boot_upload_nvs()
311 kfree(wl->nvs); in wlcore_boot_upload_nvs()
312 wl->nvs = NULL; in wlcore_boot_upload_nvs()
318 nvs_len = sizeof(nvs->nvs); in wlcore_boot_upload_nvs()
319 nvs_ptr = (u8 *) nvs->nvs; in wlcore_boot_upload_nvs()
321 struct wl128x_nvs_file *nvs = (struct wl128x_nvs_file *)wl->nvs; wlcore_boot_upload_nvs() local
[all...]
H A Dini.h179 u8 nvs[WL1271_INI_NVS_SECTION_SIZE]; member
200 u8 nvs[WL1271_INI_NVS_SECTION_SIZE]; member
H A Dwlcore.h213 void *nvs; member
H A Dmain.c2575 * TODO: after the nvs issue will be solved, move this block in wl1271_op_add_interface()
2581 * while uploading the nvs in wl1271_op_add_interface()
6140 /* NOTE: The wl->nvs->nvs element must be first, in in wl1271_register_hw()
6142 * the beginning of the wl->nvs structure. in wl1271_register_hw()
6144 u8 *nvs_ptr = (u8 *)wl->nvs; in wl1271_register_hw()
6160 wl1271_warning("Detected unconfigured mac address in nvs, derive from fuse instead."); in wl1271_register_hw()
6162 wl1271_warning("This default nvs file can be removed from the file system"); in wl1271_register_hw()
6527 kfree(wl->nvs); in wlcore_free_hw()
6528 wl->nvs in wlcore_free_hw()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/
H A Dboot.c283 if (wl->nvs == NULL) { in wlcore_boot_upload_nvs()
292 struct wl1271_nvs_file *nvs = in wlcore_boot_upload_nvs() local
293 (struct wl1271_nvs_file *)wl->nvs; in wlcore_boot_upload_nvs()
301 if (nvs->general_params.dual_mode_select) in wlcore_boot_upload_nvs()
311 kfree(wl->nvs); in wlcore_boot_upload_nvs()
312 wl->nvs = NULL; in wlcore_boot_upload_nvs()
318 nvs_len = sizeof(nvs->nvs); in wlcore_boot_upload_nvs()
319 nvs_ptr = (u8 *) nvs->nvs; in wlcore_boot_upload_nvs()
321 struct wl128x_nvs_file *nvs = (struct wl128x_nvs_file *)wl->nvs; wlcore_boot_upload_nvs() local
[all...]
H A Dini.h179 u8 nvs[WL1271_INI_NVS_SECTION_SIZE]; member
200 u8 nvs[WL1271_INI_NVS_SECTION_SIZE]; member
H A Dwlcore.h213 void *nvs; member
H A Dmain.c2556 * TODO: after the nvs issue will be solved, move this block in wl1271_op_add_interface()
2562 * while uploading the nvs in wl1271_op_add_interface()
6072 /* NOTE: The wl->nvs->nvs element must be first, in in wl1271_register_hw()
6074 * the beginning of the wl->nvs structure. in wl1271_register_hw()
6076 u8 *nvs_ptr = (u8 *)wl->nvs; in wl1271_register_hw()
6092 wl1271_warning("Detected unconfigured mac address in nvs, derive from fuse instead."); in wl1271_register_hw()
6094 wl1271_warning("This default nvs file can be removed from the file system"); in wl1271_register_hw()
6459 kfree(wl->nvs); in wlcore_free_hw()
6460 wl->nvs in wlcore_free_hw()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
H A 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()
425 "nvs burst write 0x%x: 0x%x", in wl1251_boot_upload_nvs()
439 nvs_len -= nvs_ptr - nvs; in wl1251_boot_upload_nvs()
455 "nvs write table 0x%x: 0x%x", in wl1251_boot_upload_nvs()
H A Dmain.c100 wl1251_error("could not get nvs file: %d", ret); in wl1251_fetch_nvs()
105 wl1251_error("nvs size is not multiple of 32 bits: %zu", in wl1251_fetch_nvs()
111 wl->nvs = kmemdup(fw->data, fw->size, GFP_KERNEL); in wl1251_fetch_nvs()
113 if (!wl->nvs) { in wl1251_fetch_nvs()
114 wl1251_error("could not allocate memory for the nvs file"); 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()
1461 /* 00:00:20:07:03:09 is in example file wl1251-nvs in wl1251_read_nvs_mac()
[all...]
H A Dwl1251.h287 u8 *nvs; member
422 #define WL1251_NVS_NAME "ti-connectivity/wl1251-nvs.bin"
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/
H A 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()
425 "nvs burst write 0x%x: 0x%x", in wl1251_boot_upload_nvs()
439 nvs_len -= nvs_ptr - nvs; in wl1251_boot_upload_nvs()
455 "nvs write table 0x%x: 0x%x", in wl1251_boot_upload_nvs()
H A Dmain.c100 wl1251_error("could not get nvs file: %d", ret); in wl1251_fetch_nvs()
105 wl1251_error("nvs size is not multiple of 32 bits: %zu", in wl1251_fetch_nvs()
111 wl->nvs = kmemdup(fw->data, fw->size, GFP_KERNEL); in wl1251_fetch_nvs()
113 if (!wl->nvs) { in wl1251_fetch_nvs()
114 wl1251_error("could not allocate memory for the nvs file"); in wl1251_fetch_nvs()
1442 if (wl->nvs[NVS_OFF_MAC_LEN] != 2 || in wl1251_check_nvs_mac()
1443 wl->nvs[NVS_OFF_MAC_ADDR_LO] != 0x6d || in wl1251_check_nvs_mac()
1444 wl->nvs[NVS_OFF_MAC_ADDR_HI] != 0x54) in wl1251_check_nvs_mac()
1461 mac[i] = wl->nvs[NVS_OFF_MAC_DATA + ETH_ALEN - i - 1]; in wl1251_read_nvs_mac()
1463 /* 00:00:20:07:03:09 is in example file wl1251-nvs in wl1251_read_nvs_mac()
[all...]
H A Dwl1251.h286 u8 *nvs; member
421 #define WL1251_NVS_NAME "ti-connectivity/wl1251-nvs.bin"
/kernel/linux/linux-6.6/drivers/acpi/
H A DMakefile27 acpi-y += nvs.o

Completed in 32 milliseconds