Home
last modified time | relevance | path

Searched refs:spinand_device (Results 1 – 8 of 8) sorted by relevance

/external/u-boot/include/linux/mtd/
Dspinand.h147 struct spinand_device;
186 int (*detect)(struct spinand_device *spinand);
187 int (*init)(struct spinand_device *spinand);
188 void (*cleanup)(struct spinand_device *spinand);
243 int (*get_status)(struct spinand_device *spinand, u8 status);
279 int (*select_target)(struct spinand_device *spinand,
337 struct spinand_device { struct
354 int (*select_target)(struct spinand_device *spinand, argument
374 static inline struct spinand_device *mtd_to_spinand(struct mtd_info *mtd) in mtd_to_spinand() argument
376 return container_of(mtd_to_nanddev(mtd), struct spinand_device, base); in mtd_to_spinand()
[all …]
/external/u-boot/drivers/mtd/nand/spi/
Dcore.c33 static void spinand_cache_op_adjust_colum(struct spinand_device *spinand, in spinand_cache_op_adjust_colum()
48 static int spinand_read_reg_op(struct spinand_device *spinand, u8 reg, u8 *val) in spinand_read_reg_op()
62 static int spinand_write_reg_op(struct spinand_device *spinand, u8 reg, u8 val) in spinand_write_reg_op()
71 static int spinand_read_status(struct spinand_device *spinand, u8 *status) in spinand_read_status()
76 static int spinand_get_cfg(struct spinand_device *spinand, u8 *cfg) in spinand_get_cfg()
88 static int spinand_set_cfg(struct spinand_device *spinand, u8 cfg) in spinand_set_cfg()
118 int spinand_upd_cfg(struct spinand_device *spinand, u8 mask, u8 val) in spinand_upd_cfg()
142 int spinand_select_target(struct spinand_device *spinand, unsigned int target) in spinand_select_target()
166 static int spinand_init_cfg_cache(struct spinand_device *spinand) in spinand_init_cfg_cache()
198 static int spinand_init_quad_enable(struct spinand_device *spinand) in spinand_init_quad_enable()
[all …]
Dwinbond.c65 static int w25m02gv_select_target(struct spinand_device *spinand, in w25m02gv_select_target()
96 static int winbond_spinand_detect(struct spinand_device *spinand) in winbond_spinand_detect()
116 static int winbond_spinand_init(struct spinand_device *spinand) in winbond_spinand_init()
Dmacronix.c53 static int mx35lf1ge4ab_get_eccsr(struct spinand_device *spinand, u8 *eccsr) in mx35lf1ge4ab_get_eccsr()
63 static int mx35lf1ge4ab_ecc_get_status(struct spinand_device *spinand, in mx35lf1ge4ab_ecc_get_status()
117 static int macronix_spinand_detect(struct spinand_device *spinand) in macronix_spinand_detect()
Dmicron.c69 static int mt29f2g01abagd_ecc_get_status(struct spinand_device *spinand, in mt29f2g01abagd_ecc_get_status()
107 static int micron_spinand_detect(struct spinand_device *spinand) in micron_spinand_detect()
Dgigadevice.c62 static int gd5fxgq4xexxg_ecc_get_status(struct spinand_device *spinand, in gd5fxgq4xexxg_ecc_get_status()
121 static int gigadevice_spinand_detect(struct spinand_device *spinand) in gigadevice_spinand_detect()
/external/arm-trusted-firmware/include/drivers/
Dspi_nand.h32 struct spinand_device { struct
47 int plat_get_spi_nand_data(struct spinand_device *device); argument
/external/arm-trusted-firmware/drivers/mtd/nand/
Dspi_nand.c22 static struct spinand_device spinand_dev;
25 int plat_get_spi_nand_data(struct spinand_device *device) in plat_get_spi_nand_data()