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