• Home
  • Raw
  • Download

Lines Matching refs:nand

61 	struct nand_chip nand;  member
619 cafe->nand.bbt_td = &cafe_bbt_main_descr_2048; in cafe_nand_attach_chip()
620 cafe->nand.bbt_md = &cafe_bbt_mirror_descr_2048; in cafe_nand_attach_chip()
622 cafe->nand.bbt_td = &cafe_bbt_main_descr_512; in cafe_nand_attach_chip()
623 cafe->nand.bbt_md = &cafe_bbt_mirror_descr_512; in cafe_nand_attach_chip()
632 cafe->nand.ecc.engine_type = NAND_ECC_ENGINE_TYPE_ON_HOST; in cafe_nand_attach_chip()
633 cafe->nand.ecc.placement = NAND_ECC_PLACEMENT_INTERLEAVED; in cafe_nand_attach_chip()
634 cafe->nand.ecc.size = mtd->writesize; in cafe_nand_attach_chip()
635 cafe->nand.ecc.bytes = 14; in cafe_nand_attach_chip()
636 cafe->nand.ecc.strength = 4; in cafe_nand_attach_chip()
637 cafe->nand.ecc.write_page = cafe_nand_write_page_lowlevel; in cafe_nand_attach_chip()
638 cafe->nand.ecc.write_oob = cafe_nand_write_oob; in cafe_nand_attach_chip()
639 cafe->nand.ecc.read_page = cafe_nand_read_page; in cafe_nand_attach_chip()
640 cafe->nand.ecc.read_oob = cafe_nand_read_oob; in cafe_nand_attach_chip()
685 mtd = nand_to_mtd(&cafe->nand); in cafe_nand_probe()
687 nand_set_controller_data(&cafe->nand, cafe); in cafe_nand_probe()
703 cafe->nand.legacy.cmdfunc = cafe_nand_cmdfunc; in cafe_nand_probe()
704 cafe->nand.legacy.dev_ready = cafe_device_ready; in cafe_nand_probe()
705 cafe->nand.legacy.read_byte = cafe_read_byte; in cafe_nand_probe()
706 cafe->nand.legacy.read_buf = cafe_read_buf; in cafe_nand_probe()
707 cafe->nand.legacy.write_buf = cafe_write_buf; in cafe_nand_probe()
708 cafe->nand.legacy.select_chip = cafe_select_chip; in cafe_nand_probe()
709 cafe->nand.legacy.set_features = nand_get_set_features_notsupp; in cafe_nand_probe()
710 cafe->nand.legacy.get_features = nand_get_set_features_notsupp; in cafe_nand_probe()
712 cafe->nand.legacy.chip_delay = 0; in cafe_nand_probe()
715 cafe->nand.bbt_options = NAND_BBT_USE_FLASH; in cafe_nand_probe()
718 cafe->nand.options |= NAND_SKIP_BBTSCAN | NAND_NO_BBM_QUIRK; in cafe_nand_probe()
778 cafe->nand.legacy.dummy_controller.ops = &cafe_nand_controller_ops; in cafe_nand_probe()
779 err = nand_scan(&cafe->nand, 2); in cafe_nand_probe()
793 nand_cleanup(&cafe->nand); in cafe_nand_probe()