Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/mtd/
Dspi-nor.h114 #define SR_BP3 BIT(5) /* Block protect 3 */ macro
/Linux-v5.10/drivers/mtd/spi-nor/
Dcore.c1547 return mask | SR_BP3; in spi_nor_get_sr_bp_mask()
1586 val = (val & ~SR_BP3_BIT6) | SR_BP3; in spi_nor_get_locked_range_sr()
1727 if (nor->flags & SNOR_F_HAS_SR_BP3_BIT6 && val & SR_BP3) in spi_nor_sr_lock()
1728 val = (val & ~SR_BP3) | SR_BP3_BIT6; in spi_nor_sr_lock()
1812 if (nor->flags & SNOR_F_HAS_SR_BP3_BIT6 && val & SR_BP3) in spi_nor_sr_unlock()
1813 val = (val & ~SR_BP3) | SR_BP3_BIT6; in spi_nor_sr_unlock()