Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mtd/spi-nor/
Dswp.c163 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in spi_nor_sr_lock() local
183 can_be_top = false; in spi_nor_sr_lock()
185 if (!can_be_bottom && !can_be_top) in spi_nor_sr_lock()
189 use_top = 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
268 can_be_top = false; in spi_nor_sr_unlock()
275 if (!can_be_bottom && !can_be_top) in spi_nor_sr_unlock()
279 use_top = can_be_top; in spi_nor_sr_unlock()