Searched refs:requirements (Results 1 - 25 of 26) sorted by relevance

12

/linux-master/drivers/mtd/nand/raw/
H A Dnand_esmt.c14 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 Dnand_samsung.c14 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 Dnand_hynix.c498 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 Dnand_toshiba.c149 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 Dnand_micron.c416 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 Dnand_onfi.c38 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 Dnand_jedec.c126 struct nand_ecc_props requirements = { local
131 nanddev_set_ecc_requirements(base, &requirements);
H A Dpl35x-nand-controller.c941 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 Dtegra_nand.c847 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 Drenesas-nand-controller.c1078 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 Dmarvell_nand.c64 * 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 Dmtk_nand.c1229 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 Dnand_base.c5075 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 Dsunxi_nand.c1726 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 Dpanfrost_job.h26 __u32 requirements; member in struct:panfrost_job
H A Dpanfrost_drv.c249 if (args->requirements && args->requirements != PANFROST_JD_REQ_FS)
268 job->requirements = args->requirements;
H A Dpanfrost_job.c112 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 Dpanfrost_drm.h70 __u32 requirements; member in struct:drm_panfrost_submit
/linux-master/include/linux/mtd/
H A Dnand.h382 * @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 Dgpmi-nand.c454 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 Dnand-controller.c1112 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 Dcore.c263 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 Dbrcmnand.c2675 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 Dhfi_helper.h1088 struct hfi_resource_ocmem_requirement requirements[1]; member in struct:hfi_resource_ocmem_requirement_info
/linux-master/drivers/mtd/nand/
H A Decc-mxic.c223 struct nand_ecc_props *reqs = &nand->ecc.requirements;

Completed in 293 milliseconds

12