Home
last modified time | relevance | path

Searched refs:fw_data_len (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dboot.c175 size_t fw_data_len, u32 dest) in wl1271_boot_upload_firmware_chunk() argument
187 fw_data_len, CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk()
189 if ((fw_data_len % 4) != 0) { in wl1271_boot_upload_firmware_chunk()
210 while (chunk_num < fw_data_len / CHUNK_SIZE) { in wl1271_boot_upload_firmware_chunk()
239 memcpy(chunk, p, fw_data_len % CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk()
241 fw_data_len % CHUNK_SIZE, p, addr); in wl1271_boot_upload_firmware_chunk()
242 ret = wlcore_write(wl, addr, chunk, fw_data_len % CHUNK_SIZE, false); in wl1271_boot_upload_firmware_chunk()
/Linux-v4.19/drivers/net/wireless/ti/wl1251/
Dboot.c320 size_t fw_data_len, len; in wl1251_boot_upload_firmware() local
329 fw_data_len = (wl->fw[4] << 24) | (wl->fw[5] << 16) | in wl1251_boot_upload_firmware()
332 wl1251_debug(DEBUG_BOOT, "fw_data_len %zu chunk_size %d", fw_data_len, in wl1251_boot_upload_firmware()
335 if ((fw_data_len % 4) != 0) { in wl1251_boot_upload_firmware()
355 while (chunk_num < fw_data_len / CHUNK_SIZE) { in wl1251_boot_upload_firmware()
390 len = fw_data_len % CHUNK_SIZE; in wl1251_boot_upload_firmware()