Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/wireless/ti/wlcore/
A 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()
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()
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()
226 addr = dest + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
227 p = buf + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
228 memcpy(chunk, p, fw_data_len % CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk()
[all …]
A Dwlcore.h543 #define CHUNK_SIZE 16384 macro
/linux-6.3-rc2/drivers/net/wireless/ti/wl1251/
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()
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()
373 p = wl->fw + FW_HDR_SIZE + chunk_num * CHUNK_SIZE; in wl1251_boot_upload_firmware()
[all …]
A Dreg.h480 #define CHUNK_SIZE 512 macro
/linux-6.3-rc2/arch/mips/dec/prom/
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-6.3-rc2/tools/perf/util/
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-6.3-rc2/drivers/usb/mon/
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()
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()
1034 ret = mon_alloc_buff(vec, size/CHUNK_SIZE); in mon_bin_ioctl()
1043 mon_free_buff(vec, size/CHUNK_SIZE); in mon_bin_ioctl()
[all …]
/linux-6.3-rc2/mm/
A Dzbud.c71 #define CHUNK_SIZE (1 << CHUNK_SHIFT) macro
72 #define ZHDR_SIZE_ALIGNED CHUNK_SIZE
139 return (size + CHUNK_SIZE - 1) >> CHUNK_SHIFT; in size_to_chunks()
269 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in zbud_alloc()
A Dz3fold.c57 #define CHUNK_SIZE (1 << CHUNK_SHIFT) macro
58 #define ZHDR_SIZE_ALIGNED round_up(sizeof(struct z3fold_header), CHUNK_SIZE)
195 return (size + CHUNK_SIZE - 1) >> CHUNK_SHIFT; in size_to_chunks()
1016 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in z3fold_alloc()
1666 BUILD_BUG_ON(ZHDR_SIZE_ALIGNED > PAGE_SIZE - CHUNK_SIZE); in init_z3fold()
/linux-6.3-rc2/drivers/spi/
A Dspi-npcm-fiu.c187 #define CHUNK_SIZE 16 macro
449 num_data_chunks = op->data.nbytes / CHUNK_SIZE; in npcm_fiu_manualwrite()
450 remain_data = op->data.nbytes % CHUNK_SIZE; in npcm_fiu_manualwrite()
466 &data[1], CHUNK_SIZE - 1); in npcm_fiu_manualwrite()
470 data += CHUNK_SIZE; in npcm_fiu_manualwrite()
/linux-6.3-rc2/drivers/media/usb/s2255/
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()
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.3-rc2/drivers/gpu/drm/amd/display/dc/dcn201/
A Ddcn201_hubp.c81 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp201_program_requestor()
/linux-6.3-rc2/drivers/media/pci/intel/ipu3/
A Dipu3-cio2-main.c1899 #define CHUNK_SIZE(a) ((a)->end - (a)->begin + 1) in arrange() macro
1902 while (CHUNK_SIZE(&arr[0]) && CHUNK_SIZE(&arr[1])) { in arrange()
1909 size0 = min(CHUNK_SIZE(&arr[0]), CHUNK_SIZE(&arr[1])); in arrange()
1921 if (CHUNK_SIZE(&arr[0]) > CHUNK_SIZE(&arr[1])) { in arrange()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_dsc.h141 DSC_SF(DSCC0_DSCC_PPS_CONFIG1, CHUNK_SIZE, mask_sh), \
312 type CHUNK_SIZE; \
A Ddcn20_dsc.c166 REG_GET(DSCC_PPS_CONFIG1, CHUNK_SIZE, &s->dsc_chunk_size); in dsc2_read_state()
653 CHUNK_SIZE, reg_vals->pps.slice_chunk_size); in dsc_write_to_registers()
A Ddcn20_hubp.c208 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp2_program_requestor()
1305 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp2_read_state()
1348 CHUNK_SIZE, &rq_regs.rq_regs_l.chunk_size, in hubp2_validate_dml_output()
/linux-6.3-rc2/drivers/mtd/nand/
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-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/
A Ddcn31_hubp.h132 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn21/
A 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.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_hubp.c439 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp3_read_state()
A Ddcn30_hubp.h148 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_hubp.h348 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
549 type CHUNK_SIZE;\
A 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.3-rc2/drivers/media/dvb-frontends/
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-6.3-rc2/fs/reiserfs/
A Djournal.c666 #define CHUNK_SIZE 32 macro
668 struct buffer_head *bh[CHUNK_SIZE];
694 BUG_ON(chunk->nr >= CHUNK_SIZE); in add_to_chunk()
696 if (chunk->nr >= CHUNK_SIZE) { in add_to_chunk()

Completed in 93 milliseconds

12