Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/ti/wlcore/
H A Dboot.c173 fw_data_len, CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk()
180 chunk = kmalloc(CHUNK_SIZE, GFP_KERNEL); in wl1271_boot_upload_firmware_chunk()
196 while (chunk_num < fw_data_len / CHUNK_SIZE) { in wl1271_boot_upload_firmware_chunk()
198 addr = dest + (chunk_num + 2) * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
200 addr = dest + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
201 partition_limit = chunk_num * CHUNK_SIZE + in wl1271_boot_upload_firmware_chunk()
210 addr = dest + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
211 p = buf + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
212 memcpy(chunk, p, CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk()
215 ret = wlcore_write(wl, addr, chunk, CHUNK_SIZE, false); in wl1271_boot_upload_firmware_chunk()
[all …]
H A Dwlcore.h543 #define CHUNK_SIZE 16384 macro
/linux/drivers/net/wireless/ti/wl1251/
H A Dboot.c319 CHUNK_SIZE); in wl1251_boot_upload_firmware()
326 buf = kmalloc(CHUNK_SIZE, GFP_KERNEL); in wl1251_boot_upload_firmware()
341 while (chunk_num < fw_data_len / CHUNK_SIZE) { in wl1251_boot_upload_firmware()
344 (chunk_num + 2) * CHUNK_SIZE; in wl1251_boot_upload_firmware()
347 chunk_num * CHUNK_SIZE; in wl1251_boot_upload_firmware()
348 partition_limit = chunk_num * CHUNK_SIZE + in wl1251_boot_upload_firmware()
358 addr = WL1251_PART_DOWN_MEM_START + chunk_num * CHUNK_SIZE; in wl1251_boot_upload_firmware()
359 p = wl->fw + FW_HDR_SIZE + chunk_num * CHUNK_SIZE; in wl1251_boot_upload_firmware()
364 len = CHUNK_SIZE; in wl1251_boot_upload_firmware()
372 addr = WL1251_PART_DOWN_MEM_START + chunk_num * CHUNK_SIZE; in wl1251_boot_upload_firmware()
[all …]
H A Dreg.h480 #define CHUNK_SIZE 512 macro
/linux/arch/mips/dec/prom/
H A 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 memblock_add(0, (unsigned long)memory_page - CKSEG1 - CHUNK_SIZE); in pmax_setup_memory_region()
/linux/tools/perf/util/
H A Dzlib.c14 #define CHUNK_SIZE 16384 macro
23 unsigned char buf[CHUNK_SIZE]; in gzip_decompress_to_file()
51 zs.avail_out = CHUNK_SIZE; in gzip_decompress_to_file()
65 len = CHUNK_SIZE - zs.avail_out; in gzip_decompress_to_file()
/linux/drivers/usb/mon/
H A 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()
244 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in mon_copy_to_buff()
251 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in mon_copy_to_buff()
276 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in copy_from_buf()
283 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in copy_from_buf()
477 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in mon_bin_get_isodesc()
705 size = sizeof(struct mon_pgmap) * (rp->b_size/CHUNK_SIZE); in mon_bin_open()
711 if ((rc = mon_alloc_buff(rp->b_vec, rp->b_size/CHUNK_SIZE)) < 0) in mon_bin_open()
[all …]
/linux/mm/
H A Dzbud.c71 #define CHUNK_SIZE (1 << CHUNK_SHIFT) macro
72 #define ZHDR_SIZE_ALIGNED CHUNK_SIZE
129 return (size + CHUNK_SIZE - 1) >> CHUNK_SHIFT; in size_to_chunks()
162 * Add CHUNK_SIZE to the handle if it is the first allocation to jump in encode_handle()
256 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in zbud_alloc()
H A Dz3fold.c57 #define CHUNK_SIZE (1 << CHUNK_SHIFT) macro
58 #define ZHDR_SIZE_ALIGNED round_up(sizeof(struct z3fold_header), CHUNK_SIZE)
188 return (size + CHUNK_SIZE - 1) >> CHUNK_SHIFT; in size_to_chunks()
1016 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in z3fold_alloc()
1431 BUILD_BUG_ON(ZHDR_SIZE_ALIGNED > PAGE_SIZE - CHUNK_SIZE); in init_z3fold()
/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_tlv.h12 #define CHUNK_SIZE 16 macro
13 #define CHUNKS(x) (((x) + CHUNK_SIZE - 1) / CHUNK_SIZE)
/linux/drivers/spi/
H A Dspi-npcm-fiu.c187 #define CHUNK_SIZE 16 macro
450 num_data_chunks = op->data.nbytes / CHUNK_SIZE; in npcm_fiu_manualwrite()
451 remain_data = op->data.nbytes % CHUNK_SIZE; in npcm_fiu_manualwrite()
467 &data[1], CHUNK_SIZE - 1); in npcm_fiu_manualwrite()
471 data += CHUNK_SIZE; in npcm_fiu_manualwrite()
/linux/drivers/media/usb/s2255/
H A Ds2255drv.c511 #define CHUNK_SIZE 512 in s2255_fwchunk_complete() macro
517 len = (data->fw_loaded + CHUNK_SIZE) > data->fw_size ? in s2255_fwchunk_complete()
518 data->fw_size % CHUNK_SIZE : CHUNK_SIZE; in s2255_fwchunk_complete()
520 if (len < CHUNK_SIZE) in s2255_fwchunk_complete()
521 memset(data->pfw_data, 0, CHUNK_SIZE); in s2255_fwchunk_complete()
527 data->pfw_data, CHUNK_SIZE, in s2255_fwchunk_complete()
2189 dev->fw_data->fw->data, CHUNK_SIZE); in s2255_fwload_start()
2190 dev->fw_data->fw_loaded = CHUNK_SIZE; in s2255_fwload_start()
2194 CHUNK_SIZE, s2255_fwchunk_complete, in s2255_fwload_start()
2273 dev->fw_data->pfw_data = kzalloc(CHUNK_SIZE, GFP_KERNEL); in s2255_probe()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn201/
H A Ddcn201_hubp.c82 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp201_program_requestor()
/linux/drivers/media/pci/intel/ipu3/
H A Dipu3-cio2.c1842 #define CHUNK_SIZE(a) ((a)->end - (a)->begin + 1) in arrange() macro
1845 while (CHUNK_SIZE(&arr[0]) && CHUNK_SIZE(&arr[1])) { in arrange()
1852 size0 = min(CHUNK_SIZE(&arr[0]), CHUNK_SIZE(&arr[1])); in arrange()
1864 if (CHUNK_SIZE(&arr[0]) > CHUNK_SIZE(&arr[1])) { in arrange()
/linux/drivers/gpu/drm/amd/display/dc/dsc/dcn401/
H A Ddcn401_dsc.c128 REG_GET(DSCC_PPS_CONFIG1, CHUNK_SIZE, &s->dsc_chunk_size); in dsc401_read_state()
287 CHUNK_SIZE, reg_vals->pps.slice_chunk_size); in dsc_write_to_registers()
/linux/drivers/mtd/nand/
H A Decc-mxic.c54 #define CHUNK_SIZE 0x20 macro
327 dev_err(dev, "Chunk size: %d\n", readl(mxic->regs + CHUNK_SIZE)); in mxic_ecc_init_ctx()
/linux/drivers/gpu/drm/amd/display/dc/dsc/dcn20/
H A Ddcn20_dsc.h143 DSC_SF(DSCC0_DSCC_PPS_CONFIG1, CHUNK_SIZE, mask_sh), \
318 type CHUNK_SIZE; \
H A Ddcn20_dsc.c157 REG_GET(DSCC_PPS_CONFIG1, CHUNK_SIZE, &s->dsc_chunk_size); in dsc2_read_state()
647 CHUNK_SIZE, reg_vals->pps.slice_chunk_size); in dsc_write_to_registers()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
H A Ddcn401_hubp.c183 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp401_program_requestor()
777 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp401_read_state()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn21/
H A Ddcn21_hubp.c153 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp21_program_requestor()
275 CHUNK_SIZE, &rq_regs.rq_regs_l.chunk_size, in hubp21_validate_dml_output()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn31/
H A Ddcn31_hubp.h132 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
/linux/drivers/media/dvb-frontends/
H A Ddrxd_hard.c24 #define CHUNK_SIZE 48 macro
286 u8 mm[CHUNK_SIZE + 4] = { reg & 0xff, (reg >> 16) & 0xff, in write_chunk()
304 u16 Chunk = BlockSize > CHUNK_SIZE ? CHUNK_SIZE : BlockSize; in WriteBlock()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
H A Ddcn10_hubp.h348 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
549 type CHUNK_SIZE;\
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c210 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp2_program_requestor()
1316 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp2_read_state()
1365 CHUNK_SIZE, &rq_regs.rq_regs_l.chunk_size, in hubp2_validate_dml_output()
1400 DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:CHUNK_SIZE - Expected: %u Actual: %u\n", in hubp2_validate_dml_output()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn30/
H A Ddcn30_hubp.c435 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp3_read_state()

12