Home
last modified time | relevance | path

Searched refs:CHUNK_SIZE (Results 1 – 7 of 7) sorted by relevance

/drivers/net/wireless/ti/wlcore/
Dboot.c187 fw_data_len, CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk()
194 chunk = kmalloc(CHUNK_SIZE, GFP_KERNEL); in wl1271_boot_upload_firmware_chunk()
210 while (chunk_num < fw_data_len / CHUNK_SIZE) { in wl1271_boot_upload_firmware_chunk()
212 addr = dest + (chunk_num + 2) * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
214 addr = dest + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
215 partition_limit = chunk_num * CHUNK_SIZE + in wl1271_boot_upload_firmware_chunk()
224 addr = dest + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
225 p = buf + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
226 memcpy(chunk, p, CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk()
229 ret = wlcore_write(wl, addr, chunk, CHUNK_SIZE, false); in wl1271_boot_upload_firmware_chunk()
[all …]
Dwlcore.h556 #define CHUNK_SIZE 16384 macro
/drivers/net/wireless/ti/wl1251/
Dboot.c333 CHUNK_SIZE); in wl1251_boot_upload_firmware()
340 buf = kmalloc(CHUNK_SIZE, GFP_KERNEL); in wl1251_boot_upload_firmware()
355 while (chunk_num < fw_data_len / CHUNK_SIZE) { in wl1251_boot_upload_firmware()
358 (chunk_num + 2) * CHUNK_SIZE; in wl1251_boot_upload_firmware()
361 chunk_num * CHUNK_SIZE; in wl1251_boot_upload_firmware()
362 partition_limit = chunk_num * CHUNK_SIZE + in wl1251_boot_upload_firmware()
372 addr = WL1251_PART_DOWN_MEM_START + chunk_num * CHUNK_SIZE; in wl1251_boot_upload_firmware()
373 p = wl->fw + FW_HDR_SIZE + chunk_num * CHUNK_SIZE; in wl1251_boot_upload_firmware()
378 len = CHUNK_SIZE; in wl1251_boot_upload_firmware()
386 addr = WL1251_PART_DOWN_MEM_START + chunk_num * CHUNK_SIZE; in wl1251_boot_upload_firmware()
[all …]
Dreg.h494 #define CHUNK_SIZE 512 macro
/drivers/usb/mon/
Dmon_bin.c64 #define CHUNK_SIZE PAGE_SIZE macro
65 #define CHUNK_ALIGN(x) (((x)+CHUNK_SIZE-1) & ~(CHUNK_SIZE-1))
207 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in MON_OFF2HDR()
241 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in mon_copy_to_buff()
248 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in mon_copy_to_buff()
273 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in copy_from_buf()
280 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in copy_from_buf()
474 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in mon_bin_get_isodesc()
702 size = sizeof(struct mon_pgmap) * (rp->b_size/CHUNK_SIZE); in mon_bin_open()
708 if ((rc = mon_alloc_buff(rp->b_vec, rp->b_size/CHUNK_SIZE)) < 0) in mon_bin_open()
[all …]
/drivers/media/usb/s2255/
Ds2255drv.c526 #define CHUNK_SIZE 512 in s2255_fwchunk_complete() macro
532 len = (data->fw_loaded + CHUNK_SIZE) > data->fw_size ? in s2255_fwchunk_complete()
533 data->fw_size % CHUNK_SIZE : CHUNK_SIZE; in s2255_fwchunk_complete()
535 if (len < CHUNK_SIZE) in s2255_fwchunk_complete()
536 memset(data->pfw_data, 0, CHUNK_SIZE); in s2255_fwchunk_complete()
542 data->pfw_data, CHUNK_SIZE, in s2255_fwchunk_complete()
2218 dev->fw_data->fw->data, CHUNK_SIZE); in s2255_fwload_start()
2219 dev->fw_data->fw_loaded = CHUNK_SIZE; in s2255_fwload_start()
2223 CHUNK_SIZE, s2255_fwchunk_complete, in s2255_fwload_start()
2302 dev->fw_data->pfw_data = kzalloc(CHUNK_SIZE, GFP_KERNEL); in s2255_probe()
/drivers/media/dvb-frontends/
Ddrxd_hard.c36 #define CHUNK_SIZE 48 macro
298 u8 mm[CHUNK_SIZE + 4] = { reg & 0xff, (reg >> 16) & 0xff, in write_chunk()
316 u16 Chunk = BlockSize > CHUNK_SIZE ? CHUNK_SIZE : BlockSize; in WriteBlock()