Home
last modified time | relevance | path

Searched refs:spi_nor_read_sr (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/mtd/spi-nor/
H A Datmel.c81 ret = spi_nor_read_sr(nor, nor->bouncebuf); in atmel_nor_set_global_protection()
139 ret = spi_nor_read_sr(nor, nor->bouncebuf); in atmel_nor_is_global_protected()
H A Dswp.c169 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_lock()
258 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_unlock()
335 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_is_locked()
H A Dcore.c447 * spi_nor_read_sr() - Read the Status Register.
454 int spi_nor_read_sr(struct spi_nor *nor, u8 *sr) in spi_nor_read_sr() function
621 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr_ready()
839 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_write_sr1_and_check()
900 ret = spi_nor_read_sr(nor, sr_cr); in spi_nor_write_16bit_sr_and_check()
943 ret = spi_nor_read_sr(nor, sr_cr); in spi_nor_write_16bit_cr_and_check()
955 ret = spi_nor_read_sr(nor, sr_cr); in spi_nor_write_16bit_cr_and_check()
1855 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spi_nor_sr1_bit6_quad_enable()
H A Dspansion.c403 ret = spi_nor_read_sr(nor, &nor->bouncebuf[1]); in cypress_nor_determine_addr_mode_by_sr1()
1064 ret = spi_nor_read_sr(nor, nor->bouncebuf); in spansion_nor_sr_ready_and_clear()
H A Dcore.h623 int spi_nor_read_sr(struct spi_nor *nor, u8 *sr);