Searched refs:can_be_bottom (Results 1 – 2 of 2) sorted by relevance
163 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in spi_nor_sr_lock() local178 can_be_bottom = false; in spi_nor_sr_lock()185 if (!can_be_bottom && !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() local273 can_be_bottom = false; in spi_nor_sr_unlock()275 if (!can_be_bottom && !can_be_top) in spi_nor_sr_unlock()
977 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in stm_lock() local990 can_be_bottom = false; in stm_lock()997 if (!can_be_bottom && !can_be_top) in stm_lock()1057 bool can_be_top = true, can_be_bottom = nor->flags & SNOR_F_HAS_SR_TB; in stm_unlock() local1075 can_be_bottom = false; in stm_unlock()1077 if (!can_be_bottom && !can_be_top) in stm_unlock()