Searched refs:spinand_device (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/include/linux/mtd/ |
D | spinand.h | 170 struct spinand_device; 241 int (*init)(struct spinand_device *spinand); 242 void (*cleanup)(struct spinand_device *spinand); 308 int (*get_status)(struct spinand_device *spinand, u8 status); 354 int (*select_target)(struct spinand_device *spinand, 426 struct spinand_device { struct 441 int (*select_target)(struct spinand_device *spinand, argument 461 static inline struct spinand_device *mtd_to_spinand(struct mtd_info *mtd) in mtd_to_spinand() argument 463 return container_of(mtd_to_nanddev(mtd), struct spinand_device, base); in mtd_to_spinand() 472 static inline struct mtd_info *spinand_to_mtd(struct spinand_device *spinand) in spinand_to_mtd() [all …]
|
/linux-6.6.21/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_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() [all …]
|
D | micron.c | 93 struct spinand_device *spinand = mtd_to_spinand(mtd); in micron_4_ooblayout_ecc() 108 struct spinand_device *spinand = mtd_to_spinand(mtd); in micron_4_ooblayout_free() 131 static int micron_select_target(struct spinand_device *spinand, in micron_select_target() 145 static int micron_8_ecc_get_status(struct spinand_device *spinand, in micron_8_ecc_get_status() 286 static int micron_spinand_init(struct spinand_device *spinand) in micron_spinand_init()
|
D | winbond.c | 63 static int w25m02gv_select_target(struct spinand_device *spinand, in w25m02gv_select_target() 106 static int w25n02kv_ecc_get_status(struct spinand_device *spinand, in w25n02kv_ecc_get_status() 174 static int winbond_spinand_init(struct spinand_device *spinand) in winbond_spinand_init()
|
D | gigadevice.c | 100 static int gd5fxgq4xa_ecc_get_status(struct spinand_device *spinand, in gd5fxgq4xa_ecc_get_status() 184 static int gd5fxgq4uexxg_ecc_get_status(struct spinand_device *spinand, in gd5fxgq4uexxg_ecc_get_status() 227 static int gd5fxgq5xexxg_ecc_get_status(struct spinand_device *spinand, in gd5fxgq5xexxg_ecc_get_status() 265 static int gd5fxgq4ufxxg_ecc_get_status(struct spinand_device *spinand, in gd5fxgq4ufxxg_ecc_get_status()
|
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 | xtx.c | 63 static int xt26g0xa_ecc_get_status(struct spinand_device *spinand, in xt26g0xa_ecc_get_status()
|
D | alliancememory.c | 95 static int am_ecc_get_status(struct spinand_device *spinand, u8 status) in am_ecc_get_status()
|
D | toshiba.c | 71 static int tx58cxgxsxraix_ecc_get_status(struct spinand_device *spinand, in tx58cxgxsxraix_ecc_get_status()
|