Searched refs:can_be_bottom (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() local732 can_be_bottom = false; in stm_lock()739 if (!can_be_bottom && !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() local817 can_be_bottom = false; in stm_unlock()819 if (!can_be_bottom && !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() local1806 can_be_bottom = false; in spi_nor_sr_lock()1813 if (!can_be_bottom && !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() local1896 can_be_bottom = false; in spi_nor_sr_unlock()1898 if (!can_be_bottom && !can_be_top) in spi_nor_sr_unlock()