Home
last modified time | relevance | path

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

/linux/drivers/mtd/spi-nor/
H A Dswp.c167 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in spi_nor_sr_lock() local
187 can_be_top = false; in spi_nor_sr_lock()
189 if (!can_be_bottom && !can_be_top) in spi_nor_sr_lock()
193 use_top = can_be_top; in spi_nor_sr_lock()
257 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in spi_nor_sr_unlock() local
272 can_be_top = false; in spi_nor_sr_unlock()
279 if (!can_be_bottom && !can_be_top) in spi_nor_sr_unlock()
283 use_top = can_be_top; in spi_nor_sr_unlock()