Home
last modified time | relevance | path

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

/linux-4.4.14/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.h552 #define CHUNK_SIZE 16384 macro
/linux-4.4.14/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
/linux-4.4.14/arch/mips/dec/prom/
Dmemory.c28 #define CHUNK_SIZE 0x400000 macro
45 for (memory_page = (unsigned char *)CKSEG1 + CHUNK_SIZE; in pmax_setup_memory_region()
47 memory_page += CHUNK_SIZE) { in pmax_setup_memory_region()
52 add_memory_region(0, (unsigned long)memory_page - CKSEG1 - CHUNK_SIZE, in pmax_setup_memory_region()
/linux-4.4.14/tools/perf/util/
Dzlib.c11 #define CHUNK_SIZE 16384 macro
20 unsigned char buf[CHUNK_SIZE]; in gzip_decompress_to_file()
48 zs.avail_out = CHUNK_SIZE; in gzip_decompress_to_file()
62 len = CHUNK_SIZE - zs.avail_out; in gzip_decompress_to_file()
/linux-4.4.14/drivers/usb/mon/
Dmon_bin.c61 #define CHUNK_SIZE PAGE_SIZE macro
62 #define CHUNK_ALIGN(x) (((x)+CHUNK_SIZE-1) & ~(CHUNK_SIZE-1))
204 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in MON_OFF2HDR()
238 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in mon_copy_to_buff()
245 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in mon_copy_to_buff()
270 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in copy_from_buf()
277 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in copy_from_buf()
471 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in mon_bin_get_isodesc()
699 size = sizeof(struct mon_pgmap) * (rp->b_size/CHUNK_SIZE); in mon_bin_open()
705 if ((rc = mon_alloc_buff(rp->b_vec, rp->b_size/CHUNK_SIZE)) < 0) in mon_bin_open()
[all …]
/linux-4.4.14/mm/
Dzbud.c71 #define CHUNK_SIZE (1 << CHUNK_SHIFT) macro
72 #define ZHDR_SIZE_ALIGNED CHUNK_SIZE
231 return (size + CHUNK_SIZE - 1) >> CHUNK_SHIFT; in size_to_chunks()
363 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in zbud_alloc()
/linux-4.4.14/drivers/media/usb/s2255/
Ds2255drv.c530 #define CHUNK_SIZE 512 in s2255_fwchunk_complete() macro
536 len = (data->fw_loaded + CHUNK_SIZE) > data->fw_size ? in s2255_fwchunk_complete()
537 data->fw_size % CHUNK_SIZE : CHUNK_SIZE; in s2255_fwchunk_complete()
539 if (len < CHUNK_SIZE) in s2255_fwchunk_complete()
540 memset(data->pfw_data, 0, CHUNK_SIZE); in s2255_fwchunk_complete()
546 data->pfw_data, CHUNK_SIZE, in s2255_fwchunk_complete()
2212 dev->fw_data->fw->data, CHUNK_SIZE); in s2255_fwload_start()
2213 dev->fw_data->fw_loaded = CHUNK_SIZE; in s2255_fwload_start()
2217 CHUNK_SIZE, s2255_fwchunk_complete, in s2255_fwload_start()
2298 dev->fw_data->pfw_data = kzalloc(CHUNK_SIZE, GFP_KERNEL); in s2255_probe()
/linux-4.4.14/drivers/media/dvb-frontends/
Ddrxd_hard.c40 #define CHUNK_SIZE 48 macro
302 u8 mm[CHUNK_SIZE + 4] = { reg & 0xff, (reg >> 16) & 0xff, in write_chunk()
320 u16 Chunk = BlockSize > CHUNK_SIZE ? CHUNK_SIZE : BlockSize; in WriteBlock()
/linux-4.4.14/fs/reiserfs/
Djournal.c670 #define CHUNK_SIZE 32 macro
672 struct buffer_head *bh[CHUNK_SIZE];
698 BUG_ON(chunk->nr >= CHUNK_SIZE); in add_to_chunk()
700 if (chunk->nr >= CHUNK_SIZE) { in add_to_chunk()