Home
last modified time | relevance | path

Searched refs:valid_state (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ipa/
Dipa_smp2p.c61 struct qcom_smem_state *valid_state; member
102 qcom_smem_state_update_bits(smp2p->valid_state, mask, value); in ipa_smp2p_notify()
215 struct qcom_smem_state *valid_state; in ipa_smp2p_init() local
221 valid_state = qcom_smem_state_get(dev, "ipa-clock-enabled-valid", in ipa_smp2p_init()
223 if (IS_ERR(valid_state)) in ipa_smp2p_init()
224 return PTR_ERR(valid_state); in ipa_smp2p_init()
245 smp2p->valid_state = valid_state; in ipa_smp2p_init()
328 qcom_smem_state_update_bits(smp2p->valid_state, mask, 0); in ipa_smp2p_notify_reset()
/kernel/linux/linux-5.10/kernel/power/
Dsuspend.c162 static bool valid_state(suspend_state_t state) in valid_state() function
209 if (valid_state(PM_SUSPEND_STANDBY)) { in suspend_set_ops()
215 if (valid_state(PM_SUSPEND_MEM)) { in suspend_set_ops()
557 } else if (!valid_state(state)) { in enter_state()
/kernel/linux/linux-5.10/kernel/locking/
Dlockdep.c3865 valid_state(struct task_struct *curr, struct held_lock *this, in valid_state() function
4073 if (!valid_state(curr, this, new_bit, excl_bit)) in mark_lock_irq()
4079 if (!read && !valid_state(curr, this, new_bit, in mark_lock_irq()