Searched refs:spinand_device (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/include/linux/mtd/ |
D | spinand.h | 140 struct spinand_device; 179 int (*detect)(struct spinand_device *spinand); 180 int (*init)(struct spinand_device *spinand); 181 void (*cleanup)(struct spinand_device *spinand); 235 int (*get_status)(struct spinand_device *spinand, u8 status); 271 int (*select_target)(struct spinand_device *spinand, 329 struct spinand_device { struct 342 int (*select_target)(struct spinand_device *spinand, argument 362 static inline struct spinand_device *mtd_to_spinand(struct mtd_info *mtd) in mtd_to_spinand() argument 364 return container_of(mtd_to_nanddev(mtd), struct spinand_device, base); in mtd_to_spinand() [all …]
|
/Linux-v4.19/drivers/mtd/nand/spi/ |
D | core.c | 22 static void spinand_cache_op_adjust_colum(struct spinand_device *spinand, in spinand_cache_op_adjust_colum() 37 static int spinand_read_reg_op(struct spinand_device *spinand, u8 reg, u8 *val) in spinand_read_reg_op() 51 static int spinand_write_reg_op(struct spinand_device *spinand, u8 reg, u8 val) in spinand_write_reg_op() 60 static int spinand_read_status(struct spinand_device *spinand, u8 *status) in spinand_read_status() 65 static int spinand_get_cfg(struct spinand_device *spinand, u8 *cfg) in spinand_get_cfg() 77 static int spinand_set_cfg(struct spinand_device *spinand, u8 cfg) in spinand_set_cfg() 107 int spinand_upd_cfg(struct spinand_device *spinand, u8 mask, u8 val) in spinand_upd_cfg() 131 int spinand_select_target(struct spinand_device *spinand, unsigned int target) in spinand_select_target() 155 static int spinand_init_cfg_cache(struct spinand_device *spinand) in spinand_init_cfg_cache() 187 static int spinand_init_quad_enable(struct spinand_device *spinand) in spinand_init_quad_enable() [all …]
|
D | winbond.c | 63 static int w25m02gv_select_target(struct spinand_device *spinand, in w25m02gv_select_target() 94 static int winbond_spinand_detect(struct spinand_device *spinand) in winbond_spinand_detect() 114 static int winbond_spinand_init(struct spinand_device *spinand) in winbond_spinand_init()
|
D | macronix.c | 51 static int mx35lf1ge4ab_get_eccsr(struct spinand_device *spinand, u8 *eccsr) in mx35lf1ge4ab_get_eccsr() 61 static int mx35lf1ge4ab_ecc_get_status(struct spinand_device *spinand, in mx35lf1ge4ab_ecc_get_status() 115 static int macronix_spinand_detect(struct spinand_device *spinand) in macronix_spinand_detect()
|
D | micron.c | 67 static int mt29f2g01abagd_ecc_get_status(struct spinand_device *spinand, in mt29f2g01abagd_ecc_get_status() 105 static int micron_spinand_detect(struct spinand_device *spinand) in micron_spinand_detect()
|