Lines Matching refs:spinand
93 struct spinand_device *spinand = mtd_to_spinand(mtd); in micron_4_ooblayout_ecc() local
95 if (section >= spinand->base.memorg.pagesize / in micron_4_ooblayout_ecc()
108 struct spinand_device *spinand = mtd_to_spinand(mtd); in micron_4_ooblayout_free() local
110 if (section >= spinand->base.memorg.pagesize / in micron_4_ooblayout_free()
131 static int micron_select_target(struct spinand_device *spinand, in micron_select_target() argument
135 spinand->scratchbuf); in micron_select_target()
140 *spinand->scratchbuf = MICRON_SELECT_DIE(target); in micron_select_target()
142 return spi_mem_exec_op(spinand->spimem, &op); in micron_select_target()
145 static int micron_8_ecc_get_status(struct spinand_device *spinand, in micron_8_ecc_get_status() argument
286 static int micron_spinand_init(struct spinand_device *spinand) in micron_spinand_init() argument
293 if (spinand->flags & SPINAND_HAS_CR_FEAT_BIT) in micron_spinand_init()
294 return spinand_upd_cfg(spinand, MICRON_CFG_CR, 0); in micron_spinand_init()