Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/spi-nor/
H A Dswp.c163 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in spi_nor_sr_lock() local
178 can_be_bottom = false; in spi_nor_sr_lock()
185 if (!can_be_bottom && !can_be_top) in spi_nor_sr_lock()
253 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in spi_nor_sr_unlock() local
273 can_be_bottom = false; in spi_nor_sr_unlock()
275 if (!can_be_bottom && !can_be_top) in spi_nor_sr_unlock()
/openbmc/u-boot/drivers/mtd/spi/
H A Dspi-nor-core.c977 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in stm_lock() local
990 can_be_bottom = false; in stm_lock()
997 if (!can_be_bottom && !can_be_top) in stm_lock()
1057 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in stm_unlock() local
1075 can_be_bottom = false; in stm_unlock()
1077 if (!can_be_bottom && !can_be_top) in stm_unlock()