Home
last modified time | relevance | path

Searched refs:SR_BP3 (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mtd/spi-nor/
H A Dswp.c21 return mask | SR_BP3; in spi_nor_get_sr_bp_mask()
65 val = (val & ~SR_BP3_BIT6) | SR_BP3; in spi_nor_get_locked_range_sr()
208 if (nor->flags & SNOR_F_HAS_SR_BP3_BIT6 && val & SR_BP3) in spi_nor_sr_lock()
209 val = (val & ~SR_BP3) | SR_BP3_BIT6; in spi_nor_sr_lock()
298 if (nor->flags & SNOR_F_HAS_SR_BP3_BIT6 && val & SR_BP3) in spi_nor_sr_unlock()
299 val = (val & ~SR_BP3) | SR_BP3_BIT6; in spi_nor_sr_unlock()
/linux/include/linux/mtd/
H A Dspi-nor.h107 #define SR_BP3 BIT(5) /* Block protect 3 */ macro