Lines Matching defs:mchp48l640_flash
32 struct mchp48l640_flash {
58 #define to_mchp48l640_flash(x) container_of(x, struct mchp48l640_flash, mtd)
60 static int mchp48l640_mkcmd(struct mchp48l640_flash *flash, u8 cmd, loff_t addr, char *buf)
69 static int mchp48l640_read_status(struct mchp48l640_flash *flash, int *status)
86 static int mchp48l640_waitforbit(struct mchp48l640_flash *flash, int bit, bool set)
115 static int mchp48l640_write_prepare(struct mchp48l640_flash *flash, bool enable)
141 static int mchp48l640_set_mode(struct mchp48l640_flash *flash)
162 static int mchp48l640_wait_rdy(struct mchp48l640_flash *flash)
170 struct mchp48l640_flash *flash = to_mchp48l640_flash(mtd);
212 struct mchp48l640_flash *flash = to_mchp48l640_flash(mtd);
238 struct mchp48l640_flash *flash = to_mchp48l640_flash(mtd);
270 struct mchp48l640_flash *flash = to_mchp48l640_flash(mtd);
300 struct mchp48l640_flash *flash;
346 struct mchp48l640_flash *flash = spi_get_drvdata(spi);