/linux-master/drivers/mtd/nand/raw/ |
H A D | nand_esmt.c | 14 struct nand_ecc_props requirements = {}; local 18 /* Extract ECC requirements from 5th id byte. */ 20 requirements.step_size = 512; 23 requirements.strength = 4; 26 requirements.strength = 2; 29 requirements.strength = 1; 33 requirements.step_size = 0; 38 nanddev_set_ecc_requirements(base, &requirements);
|
H A D | nand_samsung.c | 14 struct nand_ecc_props requirements = {}; local 73 /* Extract ECC requirements from 5th id byte*/ 76 requirements.step_size = 512; 77 requirements.strength = 1 << extid; 79 requirements.step_size = 1024; 82 requirements.strength = 24; 85 requirements.strength = 40; 88 requirements.strength = 60; 92 requirements.step_size = 0; 102 requirements [all...] |
H A D | nand_hynix.c | 498 struct nand_ecc_props requirements = {}; local 503 requirements.step_size = 1024; 507 requirements.step_size = 0; 508 requirements.strength = 0; 511 requirements.strength = 4; 514 requirements.strength = 24; 517 requirements.strength = 32; 520 requirements.strength = 40; 523 requirements.strength = 50; 526 requirements [all...] |
H A D | nand_toshiba.c | 149 struct nand_ecc_props requirements = {}; local 173 * Extract ECC requirements from 6th id byte. 180 requirements.step_size = 512; 183 requirements.strength = 1; 186 requirements.strength = 4; 189 requirements.strength = 8; 193 requirements.step_size = 0; 198 nanddev_set_ecc_requirements(base, &requirements);
|
H A D | nand_micron.c | 416 const struct nand_ecc_props *requirements = local 430 if (requirements->strength != 4 && requirements->strength != 8) 471 if (requirements->strength != 4 && requirements->strength != 8) 480 const struct nand_ecc_props *requirements = local 531 if (requirements->strength == 4) { 541 if (requirements->strength == 4) 548 chip->ecc.bytes = requirements->strength * 2; 550 chip->ecc.strength = requirements [all...] |
H A D | nand_onfi.c | 38 struct nand_ecc_props requirements; local 99 requirements.strength = ecc->ecc_bits; 100 requirements.step_size = 1 << ecc->codeword_size; 101 nanddev_set_ecc_requirements(base, &requirements); 272 struct nand_ecc_props requirements = { local 277 nanddev_set_ecc_requirements(base, &requirements); 294 pr_warn("Could not retrieve ONFI ECC requirements\n");
|
H A D | nand_jedec.c | 126 struct nand_ecc_props requirements = { local 131 nanddev_set_ecc_requirements(base, &requirements);
|
H A D | pl35x-nand-controller.c | 941 const struct nand_ecc_props *requirements = local 950 if (requirements->step_size && requirements->strength) { 951 chip->ecc.size = requirements->step_size; 952 chip->ecc.strength = requirements->strength;
|
H A D | tegra_nand.c | 847 const struct nand_ecc_props *requirements = local 864 if (strength_sel < requirements->strength) 917 const struct nand_ecc_props *requirements = local 930 if (requirements->step_size != 512) { 932 requirements->step_size); 963 requirements->strength);
|
H A D | renesas-nand-controller.c | 1078 const struct nand_ecc_props *requirements = local 1085 if (requirements->step_size && requirements->strength) { 1086 ecc->size = requirements->step_size; 1087 ecc->strength = requirements->strength;
|
H A D | marvell_nand.c | 64 * chip ECC requirements. For instance, using 2kiB ECC chunks 2322 const struct nand_ecc_props *requirements = local 2329 if (requirements->step_size && requirements->strength) { 2330 ecc->size = requirements->step_size; 2331 ecc->strength = requirements->strength;
|
H A D | mtk_nand.c | 1229 const struct nand_ecc_props *requirements = local 1243 /* use datasheet requirements */ 1244 nand->ecc.strength = requirements->strength; 1245 nand->ecc.size = requirements->step_size;
|
H A D | nand_base.c | 5075 struct nand_ecc_props requirements; local 5097 requirements.strength = NAND_ECC_STRENGTH(type); 5098 requirements.step_size = NAND_ECC_STEP(type); 5099 nanddev_set_ecc_requirements(base, &requirements); 6069 const struct nand_ecc_props *requirements = local 6073 int req_step = requirements->step_size; 6074 int req_strength = requirements->strength;
|
H A D | sunxi_nand.c | 1726 const struct nand_ecc_props *requirements = local 1741 ecc->size = requirements->step_size; 1742 ecc->strength = requirements->strength;
|
/linux-master/drivers/gpu/drm/panfrost/ |
H A D | panfrost_job.h | 26 __u32 requirements; member in struct:panfrost_job
|
H A D | panfrost_drv.c | 249 if (args->requirements && args->requirements != PANFROST_JD_REQ_FS) 268 job->requirements = args->requirements;
|
H A D | panfrost_job.c | 112 if (job->requirements & PANFROST_JD_REQ_FS) 117 if (job->requirements & PANFROST_JD_REQ_ONLY_COMPUTE) { 118 if ((job->requirements & PANFROST_JD_REQ_CORE_GRP_MASK) && 129 u32 requirements, 220 panfrost_job_write_affinity(pfdev, job->requirements, js); 128 panfrost_job_write_affinity(struct panfrost_device *pfdev, u32 requirements, int js) argument
|
/linux-master/include/uapi/drm/ |
H A D | panfrost_drm.h | 70 __u32 requirements; member in struct:drm_panfrost_submit
|
/linux-master/include/linux/mtd/ |
H A D | nand.h | 382 * @requirements: ECC requirements from the NAND chip perspective 384 * @ctx: ECC context for the ECC engine, derived from the device @requirements 391 struct nand_ecc_props requirements; member in struct:nand_ecc 410 * struct_nand_device->memorg and struct_nand_device->ecc.requirements should 412 * capabilities/requirements. Once this is done nanddev_init() can be called. 655 * nanddev_get_ecc_requirements() - Extract the ECC requirements from a NAND 662 return &nand->ecc.requirements; 666 * nanddev_set_ecc_requirements() - Assign the ECC requirements of a NAND 675 nand->ecc.requirements [all...] |
/linux-master/drivers/mtd/nand/raw/gpmi-nand/ |
H A D | gpmi-nand.c | 454 const struct nand_ecc_props *requirements = local 462 if (!(requirements->strength > 0 && 463 requirements->step_size > 0)) 465 geo->ecc_strength = requirements->strength; 489 while (!(geo->ecc_strength < requirements->strength)) { 497 geo->ecc_strength = requirements->strength; 695 const struct nand_ecc_props *requirements = local 705 !(requirements->strength > 0 && requirements->step_size > 0)) { 722 err = set_geometry_by_ecc_info(this, requirements [all...] |
/linux-master/drivers/mtd/nand/raw/atmel/ |
H A D | nand-controller.c | 1112 const struct nand_ecc_props *requirements = local 1144 else if (requirements->strength) 1145 req.ecc.strength = requirements->strength; 1151 else if (requirements->step_size) 1152 req.ecc.sectorsize = requirements->step_size;
|
/linux-master/drivers/mtd/nand/spi/ |
H A D | core.c | 263 nand->ecc.ctx.conf.step_size = nand->ecc.requirements.step_size; 264 nand->ecc.ctx.conf.strength = nand->ecc.requirements.strength;
|
/linux-master/drivers/mtd/nand/raw/brcmnand/ |
H A D | brcmnand.c | 2675 const struct nand_ecc_props *requirements = local 2755 if (requirements->step_size && requirements->strength) { 2757 chip->ecc.size = requirements->step_size; 2758 chip->ecc.strength = requirements->strength;
|
/linux-master/drivers/media/platform/qcom/venus/ |
H A D | hfi_helper.h | 1088 struct hfi_resource_ocmem_requirement requirements[1]; member in struct:hfi_resource_ocmem_requirement_info
|
/linux-master/drivers/mtd/nand/ |
H A D | ecc-mxic.c | 223 struct nand_ecc_props *reqs = &nand->ecc.requirements;
|