Lines Matching defs:spinand
23 static int spinand_read_reg_op(struct spinand_device *spinand, u8 reg, u8 *val) in spinand_read_reg_op()
37 static int spinand_write_reg_op(struct spinand_device *spinand, u8 reg, u8 val) in spinand_write_reg_op()
46 static int spinand_read_status(struct spinand_device *spinand, u8 *status) in spinand_read_status()
51 static int spinand_get_cfg(struct spinand_device *spinand, u8 *cfg) in spinand_get_cfg()
63 static int spinand_set_cfg(struct spinand_device *spinand, u8 cfg) in spinand_set_cfg()
93 int spinand_upd_cfg(struct spinand_device *spinand, u8 mask, u8 val) in spinand_upd_cfg()
117 int spinand_select_target(struct spinand_device *spinand, unsigned int target) in spinand_select_target()
141 static int spinand_read_cfg(struct spinand_device *spinand) in spinand_read_cfg()
165 static int spinand_init_cfg_cache(struct spinand_device *spinand) in spinand_init_cfg_cache()
180 static int spinand_init_quad_enable(struct spinand_device *spinand) in spinand_init_quad_enable()
196 static int spinand_ecc_enable(struct spinand_device *spinand, in spinand_ecc_enable()
203 static int spinand_check_ecc_status(struct spinand_device *spinand, u8 status) in spinand_check_ecc_status()
258 struct spinand_device *spinand = nand_to_spinand(nand); in spinand_ondie_ecc_init_ctx() local
288 struct spinand_device *spinand = nand_to_spinand(nand); in spinand_ondie_ecc_prepare_io_req() local
301 struct spinand_device *spinand = nand_to_spinand(nand); in spinand_ondie_ecc_finish_io_req() local
342 static int spinand_write_enable_op(struct spinand_device *spinand) in spinand_write_enable_op()
349 static int spinand_load_page_op(struct spinand_device *spinand, in spinand_load_page_op()
359 static int spinand_read_from_cache_op(struct spinand_device *spinand, in spinand_read_from_cache_op()
420 static int spinand_write_to_cache_op(struct spinand_device *spinand, in spinand_write_to_cache_op()
479 static int spinand_program_op(struct spinand_device *spinand, in spinand_program_op()
489 static int spinand_erase_op(struct spinand_device *spinand, in spinand_erase_op()
499 static int spinand_wait(struct spinand_device *spinand, in spinand_wait()
535 static int spinand_read_id_op(struct spinand_device *spinand, u8 naddr, in spinand_read_id_op()
549 static int spinand_reset_op(struct spinand_device *spinand) in spinand_reset_op()
564 static int spinand_lock_block(struct spinand_device *spinand, u8 lock) in spinand_lock_block()
569 static int spinand_read_page(struct spinand_device *spinand, in spinand_read_page()
600 static int spinand_write_page(struct spinand_device *spinand, in spinand_write_page()
636 struct spinand_device *spinand = mtd_to_spinand(mtd); in spinand_mtd_read() local
692 struct spinand_device *spinand = mtd_to_spinand(mtd); in spinand_mtd_write() local
726 struct spinand_device *spinand = nand_to_spinand(nand); in spinand_isbad() local
747 struct spinand_device *spinand = nand_to_spinand(nand); in spinand_mtd_block_isbad() local
761 struct spinand_device *spinand = nand_to_spinand(nand); in spinand_markbad() local
786 struct spinand_device *spinand = nand_to_spinand(nand); in spinand_mtd_block_markbad() local
800 struct spinand_device *spinand = nand_to_spinand(nand); in spinand_erase() local
830 struct spinand_device *spinand = mtd_to_spinand(mtd); in spinand_mtd_erase() local
842 struct spinand_device *spinand = mtd_to_spinand(mtd); in spinand_mtd_block_isreserved() local
855 static int spinand_create_dirmap(struct spinand_device *spinand, in spinand_create_dirmap()
912 static int spinand_create_dirmaps(struct spinand_device *spinand) in spinand_create_dirmaps()
951 static int spinand_manufacturer_match(struct spinand_device *spinand, in spinand_manufacturer_match()
978 static int spinand_id_detect(struct spinand_device *spinand) in spinand_id_detect()
1007 static int spinand_manufacturer_init(struct spinand_device *spinand) in spinand_manufacturer_init()
1015 static void spinand_manufacturer_cleanup(struct spinand_device *spinand) in spinand_manufacturer_cleanup()
1023 spinand_select_op_variant(struct spinand_device *spinand, in spinand_select_op_variant()
1071 int spinand_match_and_init(struct spinand_device *spinand, in spinand_match_and_init()
1121 static int spinand_detect(struct spinand_device *spinand) in spinand_detect()
1154 static int spinand_init_flash(struct spinand_device *spinand) in spinand_init_flash()
1199 struct spinand_device *spinand = mtd_to_spinand(mtd); in spinand_mtd_resume() local
1213 static int spinand_init(struct spinand_device *spinand) in spinand_init()
1314 static void spinand_cleanup(struct spinand_device *spinand) in spinand_cleanup()
1326 struct spinand_device *spinand; in spinand_probe() local
1360 struct spinand_device *spinand; in spinand_remove() local