Lines Matching defs:micron
84 struct nand_onfi_vendor_micron *micron = (void *)p->onfi->vendor;
86 chip->read_retries = micron->read_retry_options;
168 struct micron_nand *micron = nand_get_manufacturer_data(chip);
172 if (micron->ecc.forced)
175 if (micron->ecc.enabled == enable)
183 micron->ecc.enabled = enable;
192 struct micron_nand *micron = nand_get_manufacturer_data(chip);
242 ret = nand_read_page_op(chip, page, 0, micron->ecc.rawbuf,
252 rawbuf = micron->ecc.rawbuf + offs;
259 rawbuf = micron->ecc.rawbuf + mtd->writesize + offs;
483 struct micron_nand *micron;
487 micron = kzalloc(sizeof(*micron), GFP_KERNEL);
488 if (!micron)
491 nand_set_manufacturer_data(chip, micron);
519 micron->ecc.forced = true;
520 micron->ecc.enabled = true;
532 micron->ecc.rawbuf = kmalloc(mtd->writesize +
535 if (!micron->ecc.rawbuf) {
569 kfree(micron->ecc.rawbuf);
570 kfree(micron);
577 struct micron_nand *micron = nand_get_manufacturer_data(chip);
579 kfree(micron->ecc.rawbuf);
580 kfree(micron);