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

12

/linux-master/tools/perf/util/
H A Dzlib.c14 #define CHUNK_SIZE 16384 macro
23 unsigned char buf[CHUNK_SIZE];
51 zs.avail_out = CHUNK_SIZE;
65 len = CHUNK_SIZE - zs.avail_out;
/linux-master/arch/mips/dec/prom/
H A Dmemory.c28 #define CHUNK_SIZE 0x400000 macro
45 for (memory_page = (unsigned char *)CKSEG1 + CHUNK_SIZE;
47 memory_page += CHUNK_SIZE) {
52 memblock_add(0, (unsigned long)memory_page - CKSEG1 - CHUNK_SIZE);
/linux-master/drivers/net/wireless/ti/wl1251/
H A Dboot.c319 CHUNK_SIZE);
326 buf = kmalloc(CHUNK_SIZE, GFP_KERNEL);
341 while (chunk_num < fw_data_len / CHUNK_SIZE) {
344 (chunk_num + 2) * CHUNK_SIZE;
347 chunk_num * CHUNK_SIZE;
348 partition_limit = chunk_num * CHUNK_SIZE +
358 addr = WL1251_PART_DOWN_MEM_START + chunk_num * CHUNK_SIZE;
359 p = wl->fw + FW_HDR_SIZE + chunk_num * CHUNK_SIZE;
364 len = CHUNK_SIZE;
372 addr = WL1251_PART_DOWN_MEM_START + chunk_num * CHUNK_SIZE;
[all...]
H A Dreg.h480 #define CHUNK_SIZE 512 macro
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dboot.c173 fw_data_len, CHUNK_SIZE);
180 chunk = kmalloc(CHUNK_SIZE, GFP_KERNEL);
196 while (chunk_num < fw_data_len / CHUNK_SIZE) {
198 addr = dest + (chunk_num + 2) * CHUNK_SIZE;
200 addr = dest + chunk_num * CHUNK_SIZE;
201 partition_limit = chunk_num * CHUNK_SIZE +
210 addr = dest + chunk_num * CHUNK_SIZE;
211 p = buf + chunk_num * CHUNK_SIZE;
212 memcpy(chunk, p, CHUNK_SIZE);
215 ret = wlcore_write(wl, addr, chunk, CHUNK_SIZE, fals
[all...]
H A Dwlcore.h543 #define CHUNK_SIZE 16384 macro
/linux-master/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);
244 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1));
251 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE;
276 in_page = CHUNK_SIZE
[all...]
/linux-master/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;
162 * Add CHUNK_SIZE to the handle if it is the first allocation to jump
256 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE)
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;
1016 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE)
1431 BUILD_BUG_ON(ZHDR_SIZE_ALIGNED > PAGE_SIZE - CHUNK_SIZE);
/linux-master/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-master/drivers/gpu/drm/amd/display/dc/dcn201/
H A Ddcn201_hubp.c81 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size,
/linux-master/drivers/spi/
H A Dspi-npcm-fiu.c187 #define CHUNK_SIZE 16 macro
450 num_data_chunks = op->data.nbytes / CHUNK_SIZE;
451 remain_data = op->data.nbytes % CHUNK_SIZE;
467 &data[1], CHUNK_SIZE - 1);
471 data += CHUNK_SIZE;
/linux-master/drivers/media/usb/s2255/
H A Ds2255drv.c511 #define CHUNK_SIZE 512 macro
517 len = (data->fw_loaded + CHUNK_SIZE) > data->fw_size ?
518 data->fw_size % CHUNK_SIZE : CHUNK_SIZE;
520 if (len < CHUNK_SIZE)
521 memset(data->pfw_data, 0, CHUNK_SIZE);
527 data->pfw_data, CHUNK_SIZE,
2189 dev->fw_data->fw->data, CHUNK_SIZE);
2190 dev->fw_data->fw_loaded = CHUNK_SIZE;
2194 CHUNK_SIZE, s2255_fwchunk_complet
[all...]
/linux-master/drivers/media/pci/intel/ipu3/
H A Dipu3-cio2.c1853 #define CHUNK_SIZE(a) ((a)->end - (a)->begin + 1) macro
1856 while (CHUNK_SIZE(&arr[0]) && CHUNK_SIZE(&arr[1])) {
1863 size0 = min(CHUNK_SIZE(&arr[0]), CHUNK_SIZE(&arr[1]));
1875 if (CHUNK_SIZE(&arr[0]) > CHUNK_SIZE(&arr[1])) {
/linux-master/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_hubp.h132 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
/linux-master/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_hubp.c435 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size,
H A Ddcn30_hubp.h148 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
/linux-master/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hubp.h348 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
549 type CHUNK_SIZE;\
H A Ddcn10_hubp.c566 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size,
1080 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size,
/linux-master/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));
/linux-master/drivers/gpu/drm/amd/display/dc/dsc/dcn20/
H A Ddcn20_dsc.c165 REG_GET(DSCC_PPS_CONFIG1, CHUNK_SIZE, &s->dsc_chunk_size);
652 CHUNK_SIZE, reg_vals->pps.slice_chunk_size);
H A Ddcn20_dsc.h141 DSC_SF(DSCC0_DSCC_PPS_CONFIG1, CHUNK_SIZE, mask_sh), \
312 type CHUNK_SIZE; \
/linux-master/drivers/gpu/drm/amd/display/dc/dcn21/
H A Ddcn21_hubp.c153 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size,
275 CHUNK_SIZE, &rq_regs.rq_regs_l.chunk_size,
309 DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:CHUNK_SIZE - Expected: %u Actual: %u\n",
/linux-master/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hubp.c210 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size,
1315 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size,
1358 CHUNK_SIZE, &rq_regs.rq_regs_l.chunk_size,
1393 DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:CHUNK_SIZE - Expected: %u Actual: %u\n",
/linux-master/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,
304 u16 Chunk = BlockSize > CHUNK_SIZE ? CHUNK_SIZE : BlockSize;

Completed in 314 milliseconds

12