Searched refs:can_be_top (Results 1 – 1 of 1) sorted by relevance
1699 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in spi_nor_sr_lock() local1719 can_be_top = false; in spi_nor_sr_lock()1721 if (!can_be_bottom && !can_be_top) in spi_nor_sr_lock()1725 use_top = can_be_top; in spi_nor_sr_lock()1784 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in spi_nor_sr_unlock() local1799 can_be_top = false; in spi_nor_sr_unlock()1806 if (!can_be_bottom && !can_be_top) in spi_nor_sr_unlock()1810 use_top = can_be_top; in spi_nor_sr_unlock()