Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/net/wireless/ti/wlcore/
Dboot.c176 fw_data_len, CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk()
183 chunk = kmalloc(CHUNK_SIZE, GFP_KERNEL); in wl1271_boot_upload_firmware_chunk()
199 while (chunk_num < fw_data_len / CHUNK_SIZE) { in wl1271_boot_upload_firmware_chunk()
201 addr = dest + (chunk_num + 2) * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
203 addr = dest + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
204 partition_limit = chunk_num * CHUNK_SIZE + in wl1271_boot_upload_firmware_chunk()
213 addr = dest + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
214 p = buf + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
215 memcpy(chunk, p, CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk()
218 ret = wlcore_write(wl, addr, chunk, CHUNK_SIZE, false); in wl1271_boot_upload_firmware_chunk()
[all …]
Dwlcore.h543 #define CHUNK_SIZE 16384 macro
/linux-6.6.21/drivers/net/wireless/ti/wl1251/
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 …]
Dreg.h480 #define CHUNK_SIZE 512 macro
/linux-6.6.21/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 memblock_add(0, (unsigned long)memory_page - CKSEG1 - CHUNK_SIZE); in pmax_setup_memory_region()
/linux-6.6.21/tools/perf/util/
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-6.6.21/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()
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-6.6.21/mm/
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()
256 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in zbud_alloc()
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()
1015 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in z3fold_alloc()
1430 BUILD_BUG_ON(ZHDR_SIZE_ALIGNED > PAGE_SIZE - CHUNK_SIZE); in init_z3fold()
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dqplib_tlv.h12 #define CHUNK_SIZE 16 macro
13 #define CHUNKS(x) (((x) + CHUNK_SIZE - 1) / CHUNK_SIZE)
/linux-6.6.21/drivers/spi/
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-6.6.21/drivers/media/usb/s2255/
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()
2188 dev->fw_data->fw->data, CHUNK_SIZE); in s2255_fwload_start()
2189 dev->fw_data->fw_loaded = CHUNK_SIZE; in s2255_fwload_start()
2193 CHUNK_SIZE, s2255_fwchunk_complete, in s2255_fwload_start()
2272 dev->fw_data->pfw_data = kzalloc(CHUNK_SIZE, GFP_KERNEL); in s2255_probe()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_hubp.c81 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp201_program_requestor()
/linux-6.6.21/drivers/media/pci/intel/ipu3/
Dipu3-cio2.c1904 #define CHUNK_SIZE(a) ((a)->end - (a)->begin + 1) in arrange() macro
1907 while (CHUNK_SIZE(&arr[0]) && CHUNK_SIZE(&arr[1])) { in arrange()
1914 size0 = min(CHUNK_SIZE(&arr[0]), CHUNK_SIZE(&arr[1])); in arrange()
1926 if (CHUNK_SIZE(&arr[0]) > CHUNK_SIZE(&arr[1])) { in arrange()
/linux-6.6.21/drivers/mtd/nand/
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-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dsc.h141 DSC_SF(DSCC0_DSCC_PPS_CONFIG1, CHUNK_SIZE, mask_sh), \
312 type CHUNK_SIZE; \
Ddcn20_dsc.c157 REG_GET(DSCC_PPS_CONFIG1, CHUNK_SIZE, &s->dsc_chunk_size); in dsc2_read_state()
644 CHUNK_SIZE, reg_vals->pps.slice_chunk_size); in dsc_write_to_registers()
Ddcn20_hubp.c208 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp2_program_requestor()
1313 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp2_read_state()
1356 CHUNK_SIZE, &rq_regs.rq_regs_l.chunk_size, in hubp2_validate_dml_output()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hubp.h132 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hubp.c151 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp21_program_requestor()
273 CHUNK_SIZE, &rq_regs.rq_regs_l.chunk_size, in hubp21_validate_dml_output()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hubp.c435 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp3_read_state()
Ddcn30_hubp.h148 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubp.h348 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
549 type CHUNK_SIZE;\
Ddcn10_hubp.c566 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp1_program_requestor()
1080 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp1_read_state()
/linux-6.6.21/drivers/media/dvb-frontends/
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()

12