Lines Matching defs:flash
114 static int read_sr(struct m25p *flash) in read_sr()
135 static int write_sr(struct m25p *flash, u8 val) in write_sr()
147 static inline int write_enable(struct m25p *flash) in write_enable()
157 static inline int write_disable(struct m25p *flash) in write_disable()
167 static inline int set_4byte(struct m25p *flash, u32 jedec_id, int enable) in set_4byte()
185 static int wait_till_ready(struct m25p *flash) in wait_till_ready()
210 static int erase_chip(struct m25p *flash) in erase_chip()
230 static void m25p_addr2cmd(struct m25p *flash, unsigned int addr, u8 *cmd) in m25p_addr2cmd()
239 static int m25p_cmdsz(struct m25p *flash) in m25p_cmdsz()
250 static int erase_sector(struct m25p *flash, u32 offset) in erase_sector()
283 struct m25p *flash = mtd_to_m25p(mtd); in m25p80_erase() local
345 struct m25p *flash = mtd_to_m25p(mtd); in m25p80_read() local
412 struct m25p *flash = mtd_to_m25p(mtd); in m25p80_write() local
503 struct m25p *flash = mtd_to_m25p(mtd); in sst_write() local
822 struct m25p *flash; in m25p_probe() local
979 struct m25p *flash = dev_get_drvdata(&spi->dev); in m25p_remove() local