Home
last modified time | relevance | path

Searched refs:code_size (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v6.1/drivers/mtd/nand/
Decc-sw-bch.c29 memset(code, 0, engine_conf->code_size); in nand_ecc_sw_bch_calculate()
33 for (i = 0; i < engine_conf->code_size; i++) in nand_ecc_sw_bch_calculate()
112 unsigned int eccbytes = engine_conf->code_size; in nand_ecc_sw_bch_init()
175 unsigned int code_size = 0, nsteps; in nand_ecc_sw_bch_init_ctx() local
214 code_size = (mtd->oobsize - 2) / nsteps; in nand_ecc_sw_bch_init_ctx()
215 conf->strength = code_size * 8 / fls(8 * conf->step_size); in nand_ecc_sw_bch_init_ctx()
218 if (!code_size) in nand_ecc_sw_bch_init_ctx()
219 code_size = DIV_ROUND_UP(conf->strength * in nand_ecc_sw_bch_init_ctx()
223 conf->strength = (code_size * 8) / fls(8 * conf->step_size); in nand_ecc_sw_bch_init_ctx()
225 if (!code_size && !conf->strength) { in nand_ecc_sw_bch_init_ctx()
[all …]
Decc-sw-hamming.c507 engine_conf->code_size = 3; in nand_ecc_sw_hamming_init_ctx()
517 nand->ecc.ctx.total = nand->ecc.ctx.nsteps * engine_conf->code_size; in nand_ecc_sw_hamming_init_ctx()
551 int eccbytes = engine_conf->code_size; in nand_ecc_sw_hamming_prepare_io_req()
589 int eccbytes = engine_conf->code_size; in nand_ecc_sw_hamming_finish_io_req()
/Linux-v6.1/drivers/crypto/cavium/nitrox/
Dnitrox_main.c63 __be32 code_size; member
74 u32 code_size; in write_to_ucd_unit() local
97 code_size = roundup(ucode_size, 16); in write_to_ucd_unit()
98 while (code_size) { in write_to_ucd_unit()
103 code_size -= 8; in write_to_ucd_unit()
134 ucode_size = be32_to_cpu(ucode->code_size) * 2; in nitrox_load_fw()
185 ucode_size = be32_to_cpu(ucode->code_size) * 2; in nitrox_load_fw()
/Linux-v6.1/drivers/staging/media/atomisp/pci/runtime/spctrl/src/
Dspctrl.c32 u32 code_size; member
67 code_addr = hmm_alloc(spctrl_cfg->code_size); in ia_css_spctrl_load_fw()
70 hmm_store(code_addr, spctrl_cfg->code, spctrl_cfg->code_size); in ia_css_spctrl_load_fw()
/Linux-v6.1/drivers/crypto/cavium/cpt/
Dcptpf_main.c133 if (mcode->code_size == 0) { in cpt_load_microcode()
272 mcode->code_size = code_length * 2; in cpt_ucode_load_fw()
279 mcode->code = dma_alloc_coherent(&cpt->pdev->dev, mcode->code_size, in cpt_ucode_load_fw()
288 mcode->code_size); in cpt_ucode_load_fw()
291 for (j = 0; j < (mcode->code_size / 8); j++) in cpt_ucode_load_fw()
294 for (j = 0; j < (mcode->code_size / 2); j++) in cpt_ucode_load_fw()
297 dev_dbg(dev, "mcode->code_size = %u\n", mcode->code_size); in cpt_ucode_load_fw()
420 dma_free_coherent(&cpt->pdev->dev, mcode->code_size, in cpt_unload_microcode()
Dcptpf.h27 u32 code_size; member
/Linux-v6.1/tools/perf/util/
Djitdump.h72 uint64_t code_size; member
88 uint64_t code_size; member
Djitdump.c339 jr->load.code_size = bswap_64(jr->load.code_size); in jit_get_next_entry()
351 jr->move.code_size = bswap_64(jr->move.code_size); in jit_get_next_entry()
444 csize = jr->load.code_size; in jit_repipe_code_load()
587 event->mmap2.len = usize ? ALIGN_8(jr->move.code_size) + usize in jit_repipe_code_move()
588 : jr->move.code_size; in jit_repipe_code_move()
/Linux-v6.1/tools/perf/jvmti/
Dlibjvmti.c232 jint code_size, in compiled_method_load_cb() argument
306 if (jvmti_write_code(jvmti_agent, str, addr, code_addr, code_size)) in compiled_method_load_cb()
327 jint code_size) in code_generated_cb() argument
332 ret = jvmti_write_code(jvmti_agent, name, addr, code_addr, code_size); in code_generated_cb()
Djvmti_agent.h24 const unsigned int code_size);
/Linux-v6.1/drivers/gpu/drm/nouveau/include/nvfw/
Dfw.h22 u32 code_size; member
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dhsfw.c143 hsfw->imem_size = desc->code_size; in nvkm_acr_hsfw_load_bl()
145 hsfw->imem = kmemdup(data + desc->code_off, desc->code_size, GFP_KERNEL); in nvkm_acr_hsfw_load_bl()
Dlsfw.c217 lsfw->bootloader_size = ALIGN(desc->code_size, 256); in nvkm_acr_lsfw_load_bl_inst_data_sig()
/Linux-v6.1/include/uapi/linux/
Dcycx_cfm.h100 unsigned long code_size; member
/Linux-v6.1/drivers/staging/media/atomisp/pci/runtime/spctrl/interface/
Dia_css_spctrl.h33 u32 code_size; member
/Linux-v6.1/include/linux/mtd/
Dnand-ecc-sw-bch.h27 unsigned int code_size; member
Dnand-ecc-sw-hamming.h26 unsigned int code_size; member
/Linux-v6.1/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dpmu.h24 u32 code_size; member
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/nvfw/
Dfw.c47 nvkm_debug(subdev, "\tcodeSize : 0x%x\n", hdr->code_size); in nvfw_bl_desc()
/Linux-v6.1/drivers/gpu/drm/tegra/
Dfalcon.h73 u32 code_size; member
Dfalcon.c105 falcon->firmware.code.size = os->code_size; in falcon_parse_firmware_image()
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dpmu.c93 info->code_size = nvbios_rd32(bios, data + 0x20); in nvbios_pmuRm()
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dgm200.c96 pmu_code(init, pmu.code_addr_pmu, pmu.code_addr, pmu.code_size, true); in pmu_load()
/Linux-v6.1/arch/powerpc/platforms/cell/
Dspu_base.c250 void *code, int code_size) in spu_setup_kernel_slbs() argument
257 code, code + code_size - 1 in spu_setup_kernel_slbs()
/Linux-v6.1/arch/s390/net/
Dbpf_jit_comp.c1739 u32 code_size; in bpf_jit_alloc() local
1744 code_size = roundup(jit->size, in bpf_jit_alloc()
1748 header = bpf_jit_binary_alloc(code_size + extable_size, &jit->prg_buf, in bpf_jit_alloc()
1753 (jit->prg_buf + code_size); in bpf_jit_alloc()

12