Searched refs:spinand_device (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/include/linux/mtd/ |
D | spinand.h | 170 struct spinand_device; 219 int (*init)(struct spinand_device *spinand); 220 void (*cleanup)(struct spinand_device *spinand); 282 int (*get_status)(struct spinand_device *spinand, u8 status); 319 int (*select_target)(struct spinand_device *spinand, 389 struct spinand_device { struct 404 int (*select_target)(struct spinand_device *spinand, argument 424 static inline struct spinand_device *mtd_to_spinand(struct mtd_info *mtd) in mtd_to_spinand() argument 426 return container_of(mtd_to_nanddev(mtd), struct spinand_device, base); in mtd_to_spinand() 435 static inline struct mtd_info *spinand_to_mtd(struct spinand_device *spinand) in spinand_to_mtd() [all …]
|
/Linux-v5.10/drivers/mtd/nand/spi/ |
D | core.c | 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_init_cfg_cache(struct spinand_device *spinand) in spinand_init_cfg_cache() 173 static int spinand_init_quad_enable(struct spinand_device *spinand) in spinand_init_quad_enable() 189 static int spinand_ecc_enable(struct spinand_device *spinand, in spinand_ecc_enable() [all …]
|
D | micron.c | 77 static int micron_select_target(struct spinand_device *spinand, in micron_select_target() 91 static int micron_8_ecc_get_status(struct spinand_device *spinand, in micron_8_ecc_get_status() 222 static int micron_spinand_init(struct spinand_device *spinand) in micron_spinand_init()
|
D | gigadevice.c | 81 static int gd5fxgq4xa_ecc_get_status(struct spinand_device *spinand, in gd5fxgq4xa_ecc_get_status() 164 static int gd5fxgq4uexxg_ecc_get_status(struct spinand_device *spinand, in gd5fxgq4uexxg_ecc_get_status() 206 static int gd5fxgq4ufxxg_ecc_get_status(struct spinand_device *spinand, in gd5fxgq4ufxxg_ecc_get_status()
|
D | winbond.c | 63 static int w25m02gv_select_target(struct spinand_device *spinand, in w25m02gv_select_target() 99 static int winbond_spinand_init(struct spinand_device *spinand) in winbond_spinand_init()
|
D | macronix.c | 52 static int mx35lf1ge4ab_get_eccsr(struct spinand_device *spinand, u8 *eccsr) in mx35lf1ge4ab_get_eccsr() 67 static int mx35lf1ge4ab_ecc_get_status(struct spinand_device *spinand, in mx35lf1ge4ab_ecc_get_status()
|
D | paragon.c | 70 static int pn26g0xa_ecc_get_status(struct spinand_device *spinand, in pn26g0xa_ecc_get_status()
|
D | toshiba.c | 71 static int tx58cxgxsxraix_ecc_get_status(struct spinand_device *spinand, in tx58cxgxsxraix_ecc_get_status()
|