Home
last modified time | relevance | path

Searched refs:SR_SRWD (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/mtd/spi-nor/
H A Datmel.c88 if (sr & SR_SRWD) { in atmel_nor_set_global_protection()
89 sr &= ~SR_SRWD; in atmel_nor_set_global_protection()
106 sr |= SR_SRWD; in atmel_nor_set_global_protection()
H A Dswp.c223 status_new |= SR_SRWD; in spi_nor_sr_lock()
306 status_new &= ~SR_SRWD; in spi_nor_sr_unlock()
/openbmc/linux/include/linux/mtd/
H A Dspi-nor.h111 #define SR_SRWD BIT(7) /* SR write protect */ macro
/openbmc/u-boot/include/linux/mtd/
H A Dspi-nor.h141 #define SR_SRWD BIT(7) /* SR write protect */ macro
/openbmc/linux/drivers/mtd/devices/
H A Dspear_smi.c82 #define SR_SRWD 0x80 /* SR write protect */ macro
/openbmc/u-boot/drivers/mtd/spi/
H A Dspi-nor-core.c1029 status_new |= SR_SRWD; in stm_lock()
1112 status_new &= ~SR_SRWD; in stm_unlock()