/linux/drivers/net/wireless/ti/wlcore/ |
H A D | boot.c | 173 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 D | wlcore.h | 543 #define CHUNK_SIZE 16384 macro
|
/linux/drivers/net/wireless/ti/wl1251/ |
H A D | boot.c | 319 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 D | reg.h | 480 #define CHUNK_SIZE 512 macro
|
/linux/arch/mips/dec/prom/ |
H A D | memory.c | 28 #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 D | zlib.c | 14 #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/mm/ |
H A D | zbud.c | 71 #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 D | z3fold.c | 57 #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 D | qplib_tlv.h | 12 #define CHUNK_SIZE 16 macro 13 #define CHUNKS(x) (((x) + CHUNK_SIZE - 1) / CHUNK_SIZE)
|
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn201/ |
H A D | dcn201_hubp.c | 82 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp201_program_requestor()
|
/linux/drivers/media/pci/intel/ipu3/ |
H A D | ipu3-cio2.c | 1840 #define CHUNK_SIZE(a) ((a)->end - (a)->begin + 1) in arrange() macro 1843 while (CHUNK_SIZE(&arr[0]) && CHUNK_SIZE(&arr[1])) { in arrange() 1850 size0 = min(CHUNK_SIZE(&arr[0]), CHUNK_SIZE(&arr[1])); in arrange() 1862 if (CHUNK_SIZE(&arr[0]) > CHUNK_SIZE(&arr[1])) { in arrange()
|
/linux/drivers/gpu/drm/amd/display/dc/dsc/dcn401/ |
H A D | dcn401_dsc.c | 128 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()
|
H A D | dcn401_dsc.h | 81 DSC_SF(DSCC0_DSCC_PPS_CONFIG1, CHUNK_SIZE, mask_sh), \
|
/linux/drivers/gpu/drm/amd/display/dc/dsc/dcn20/ |
H A D | dcn20_dsc.h | 143 DSC_SF(DSCC0_DSCC_PPS_CONFIG1, CHUNK_SIZE, mask_sh), \ 318 type CHUNK_SIZE; \
|
H A D | dcn20_dsc.c | 157 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/mtd/nand/ |
H A D | ecc-mxic.c | 54 #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/hubp/dcn21/ |
H A D | dcn21_hubp.c | 153 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/dcn401/ |
H A D | dcn401_hubp.c | 197 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp401_program_requestor() 803 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp401_read_state()
|
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn31/ |
H A D | dcn31_hubp.h | 132 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
|
/linux/drivers/media/dvb-frontends/ |
H A D | drxd_hard.c | 24 #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 D | dcn10_hubp.h | 348 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\ 549 type CHUNK_SIZE;\
|
H A D | dcn10_hubp.c | 586 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp1_program_requestor() 1101 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp1_read_state()
|
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/ |
H A D | dcn20_hubp.c | 210 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp2_program_requestor() 1332 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp2_read_state() 1381 CHUNK_SIZE, &rq_regs.rq_regs_l.chunk_size, in hubp2_validate_dml_output()
|
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn30/ |
H A D | dcn30_hubp.c | 451 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp3_read_state()
|
H A D | dcn30_hubp.h | 148 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
|