Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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
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()
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/
H A Dcore.c1700 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in spi_nor_sr_lock() local
1720 can_be_top = false; in spi_nor_sr_lock()
1722 if (!can_be_bottom && !can_be_top) in spi_nor_sr_lock()
1726 use_top = can_be_top; in spi_nor_sr_lock()
1785 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in spi_nor_sr_unlock() local
1800 can_be_top = false; in spi_nor_sr_unlock()
1807 if (!can_be_bottom && !can_be_top) in spi_nor_sr_unlock()
1811 use_top = can_be_top; in spi_nor_sr_unlock()

Completed in 8 milliseconds