Searched refs:nvs_len (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ti/wlcore/
H A Dboot.c285 size_t nvs_len, burst_len; wlcore_boot_upload_nvs() local
304 if (wl->nvs_len == sizeof(struct wl1271_nvs_file) || wlcore_boot_upload_nvs()
305 wl->nvs_len == WL1271_INI_LEGACY_NVS_FILE_SIZE) { wlcore_boot_upload_nvs()
310 if (wl->nvs_len != sizeof(struct wl1271_nvs_file) && wlcore_boot_upload_nvs()
311 (wl->nvs_len != WL1271_INI_LEGACY_NVS_FILE_SIZE || wlcore_boot_upload_nvs()
314 wl->nvs_len, sizeof(struct wl1271_nvs_file)); wlcore_boot_upload_nvs()
317 wl->nvs_len = 0; wlcore_boot_upload_nvs()
322 nvs_len = sizeof(nvs->nvs); wlcore_boot_upload_nvs()
327 if (wl->nvs_len == sizeof(struct wl128x_nvs_file)) { wlcore_boot_upload_nvs()
332 wl->nvs_len, wlcore_boot_upload_nvs()
336 wl->nvs_len = 0; wlcore_boot_upload_nvs()
341 nvs_len = sizeof(nvs->nvs); wlcore_boot_upload_nvs()
378 if (nvs_ptr + 3 >= (u8 *) wl->nvs + nvs_len) wlcore_boot_upload_nvs()
395 if (nvs_ptr >= (u8 *) wl->nvs + nvs_len) wlcore_boot_upload_nvs()
409 if (nvs_ptr >= (u8 *) wl->nvs + nvs_len) wlcore_boot_upload_nvs()
412 nvs_len -= nvs_ptr - (u8 *)wl->nvs; wlcore_boot_upload_nvs()
420 nvs_aligned = kmemdup(nvs_ptr, nvs_len, GFP_KERNEL); wlcore_boot_upload_nvs()
425 ret = wlcore_write_data(wl, REG_CMD_MBOX_ADDRESS, nvs_aligned, nvs_len, wlcore_boot_upload_nvs()
H A Dwlcore.h223 size_t nvs_len; member in struct:wl1271
H A Dmain.c6035 if (wl->nvs_len >= 12) { wl1271_register_hw()
6441 wl->nvs_len = fw->size; wlcore_nvs_cb()
6446 wl->nvs_len = 0; wlcore_nvs_cb()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
H A Dboot.c404 size_t nvs_len, nvs_bytes_written, burst_len; wl1251_boot_upload_nvs() local
415 nvs_len = wl->nvs_len; wl1251_boot_upload_nvs()
453 nvs_len -= nvs_ptr - nvs; wl1251_boot_upload_nvs()
454 nvs_len = ALIGN(nvs_len, 4); wl1251_boot_upload_nvs()
464 while (nvs_bytes_written < nvs_len) { wl1251_boot_upload_nvs()
H A Dwl1251.h302 size_t nvs_len; member in struct:wl1251
H A Dmain.c125 wl->nvs_len = fw->size; wl1251_fetch_nvs()
126 wl->nvs = kmemdup(fw->data, wl->nvs_len, GFP_KERNEL); wl1251_fetch_nvs()

Completed in 194 milliseconds