Home
last modified time | relevance | path

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

/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.c506 engine_conf->code_size = 3; in nand_ecc_sw_hamming_init_ctx()
516 nand->ecc.ctx.total = nand->ecc.ctx.nsteps * engine_conf->code_size; in nand_ecc_sw_hamming_init_ctx()
550 int eccbytes = engine_conf->code_size; in nand_ecc_sw_hamming_prepare_io_req()
588 int eccbytes = engine_conf->code_size; in nand_ecc_sw_hamming_finish_io_req()
/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()
/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
/drivers/staging/media/atomisp/pci/runtime/spctrl/src/
Dspctrl.c32 u32 code_size; member
67 code_addr = hmm_alloc(spctrl_cfg->code_size, HMM_BO_PRIVATE, 0, NULL, 0); in ia_css_spctrl_load_fw()
70 hmm_store(code_addr, spctrl_cfg->code, spctrl_cfg->code_size); in ia_css_spctrl_load_fw()
/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()
/drivers/gpu/drm/nouveau/include/nvfw/
Dfw.h22 u32 code_size; member
/drivers/staging/media/atomisp/pci/runtime/spctrl/interface/
Dia_css_spctrl.h33 u32 code_size; member
/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dpmu.h24 u32 code_size; member
/drivers/gpu/drm/nouveau/nvkm/nvfw/
Dfw.c47 nvkm_debug(subdev, "\tcodeSize : 0x%x\n", hdr->code_size); in nvfw_bl_desc()
/drivers/gpu/drm/tegra/
Dfalcon.h72 u32 code_size; member
Dfalcon.c97 falcon->firmware.code.size = os->code_size; in falcon_parse_firmware_image()
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dpmu.c96 info->code_size = nvbios_rd32(bios, data + 0x20); in nvbios_pmuRm()
/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()
/drivers/staging/media/atomisp/pci/
Dsh_css.c1537 spctrl_cfg->code_size = fw->blob.size; in sh_css_setup_spctrl_config()