Home
last modified time | relevance | path

Searched refs:nvs_ptr (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/net/wireless/wl1251/
Dboot.c406 u8 *nvs_ptr, *nvs; in wl1251_boot_upload_nvs() local
412 nvs_ptr = nvs; in wl1251_boot_upload_nvs()
426 while (nvs_ptr[0]) { in wl1251_boot_upload_nvs()
427 burst_len = nvs_ptr[0]; in wl1251_boot_upload_nvs()
428 dest_addr = (nvs_ptr[1] & 0xfe) | ((u32)(nvs_ptr[2] << 8)); in wl1251_boot_upload_nvs()
431 nvs_ptr += 3; in wl1251_boot_upload_nvs()
434 val = (nvs_ptr[0] | (nvs_ptr[1] << 8) in wl1251_boot_upload_nvs()
435 | (nvs_ptr[2] << 16) | (nvs_ptr[3] << 24)); in wl1251_boot_upload_nvs()
442 nvs_ptr += 4; in wl1251_boot_upload_nvs()
451 nvs_ptr += 7; in wl1251_boot_upload_nvs()
[all …]
/linux-2.6.39/drivers/net/wireless/wl12xx/
Dboot.c241 u8 *nvs_ptr, *nvs_aligned; in wl1271_boot_upload_nvs() local
272 nvs_ptr = (u8 *)wl->nvs->nvs; in wl1271_boot_upload_nvs()
275 nvs_ptr[11] = wl->mac_addr[0]; in wl1271_boot_upload_nvs()
276 nvs_ptr[10] = wl->mac_addr[1]; in wl1271_boot_upload_nvs()
277 nvs_ptr[6] = wl->mac_addr[2]; in wl1271_boot_upload_nvs()
278 nvs_ptr[5] = wl->mac_addr[3]; in wl1271_boot_upload_nvs()
279 nvs_ptr[4] = wl->mac_addr[4]; in wl1271_boot_upload_nvs()
280 nvs_ptr[3] = wl->mac_addr[5]; in wl1271_boot_upload_nvs()
292 while (nvs_ptr[0]) { in wl1271_boot_upload_nvs()
293 burst_len = nvs_ptr[0]; in wl1271_boot_upload_nvs()
[all …]
Dmain.c3276 u8 *nvs_ptr = (u8 *)wl->nvs->nvs; in wl1271_register_hw() local
3278 wl->mac_addr[0] = nvs_ptr[11]; in wl1271_register_hw()
3279 wl->mac_addr[1] = nvs_ptr[10]; in wl1271_register_hw()
3280 wl->mac_addr[2] = nvs_ptr[6]; in wl1271_register_hw()
3281 wl->mac_addr[3] = nvs_ptr[5]; in wl1271_register_hw()
3282 wl->mac_addr[4] = nvs_ptr[4]; in wl1271_register_hw()
3283 wl->mac_addr[5] = nvs_ptr[3]; in wl1271_register_hw()