Searched refs:can_be_top (Results 1 – 2 of 2) sorted by relevance
719 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in stm_lock() local737 can_be_top = false; in stm_lock()739 if (!can_be_bottom && !can_be_top) in stm_lock()743 use_top = can_be_top; in stm_lock()799 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in stm_unlock() local812 can_be_top = false; in stm_unlock()819 if (!can_be_bottom && !can_be_top) in stm_unlock()823 use_top = can_be_top; in stm_unlock()
1791 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in spi_nor_sr_lock() local1811 can_be_top = false; in spi_nor_sr_lock()1813 if (!can_be_bottom && !can_be_top) in spi_nor_sr_lock()1817 use_top = can_be_top; in spi_nor_sr_lock()1876 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in spi_nor_sr_unlock() local1891 can_be_top = false; in spi_nor_sr_unlock()1898 if (!can_be_bottom && !can_be_top) in spi_nor_sr_unlock()1902 use_top = can_be_top; in spi_nor_sr_unlock()