/drivers/mtd/nand/ |
D | ecc-sw-bch.c | 29 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 …]
|
D | ecc-sw-hamming.c | 506 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/ |
D | nitrox_main.c | 63 __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/ |
D | cptpf_main.c | 133 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()
|
D | cptpf.h | 27 u32 code_size; member
|
/drivers/staging/media/atomisp/pci/runtime/spctrl/src/ |
D | spctrl.c | 32 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/ |
D | hsfw.c | 143 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()
|
D | lsfw.c | 217 lsfw->bootloader_size = ALIGN(desc->code_size, 256); in nvkm_acr_lsfw_load_bl_inst_data_sig()
|
/drivers/gpu/drm/nouveau/include/nvfw/ |
D | fw.h | 22 u32 code_size; member
|
/drivers/staging/media/atomisp/pci/runtime/spctrl/interface/ |
D | ia_css_spctrl.h | 33 u32 code_size; member
|
/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | pmu.h | 24 u32 code_size; member
|
/drivers/gpu/drm/nouveau/nvkm/nvfw/ |
D | fw.c | 47 nvkm_debug(subdev, "\tcodeSize : 0x%x\n", hdr->code_size); in nvfw_bl_desc()
|
/drivers/gpu/drm/tegra/ |
D | falcon.h | 72 u32 code_size; member
|
D | falcon.c | 97 falcon->firmware.code.size = os->code_size; in falcon_parse_firmware_image()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | pmu.c | 96 info->code_size = nvbios_rd32(bios, data + 0x20); in nvbios_pmuRm()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | gm200.c | 96 pmu_code(init, pmu.code_addr_pmu, pmu.code_addr, pmu.code_size, true); in pmu_load()
|
/drivers/staging/media/atomisp/pci/ |
D | sh_css.c | 1537 spctrl_cfg->code_size = fw->blob.size; in sh_css_setup_spctrl_config()
|