Home
last modified time | relevance | path

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

/linux/drivers/mtd/spi-nor/
A 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()
248 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in spi_nor_sr_unlock() local
263 can_be_top = false; in spi_nor_sr_unlock()
270 if (!can_be_bottom && !can_be_top) in spi_nor_sr_unlock()
274 use_top = can_be_top; in spi_nor_sr_unlock()

Completed in 3 milliseconds