Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ipa/
Dipa_smp2p.c62 struct qcom_smem_state *valid_state; member
103 qcom_smem_state_update_bits(smp2p->valid_state, mask, value); in ipa_smp2p_notify()
227 struct qcom_smem_state *valid_state; in ipa_smp2p_init() local
233 valid_state = qcom_smem_state_get(dev, "ipa-clock-enabled-valid", in ipa_smp2p_init()
235 if (IS_ERR(valid_state)) in ipa_smp2p_init()
236 return PTR_ERR(valid_state); in ipa_smp2p_init()
257 smp2p->valid_state = valid_state; in ipa_smp2p_init()
343 qcom_smem_state_update_bits(smp2p->valid_state, mask, 0); in ipa_smp2p_notify_reset()
/linux-6.12.1/kernel/power/
Dsuspend.c169 static bool valid_state(suspend_state_t state) in valid_state() function
221 if (valid_state(PM_SUSPEND_STANDBY)) { in suspend_set_ops()
227 if (valid_state(PM_SUSPEND_MEM)) { in suspend_set_ops()
254 (valid_state(state) && !cxl_mem_active()); in sleep_state_supported()
571 } else if (!valid_state(state)) { in enter_state()
/linux-6.12.1/kernel/locking/
Dlockdep.c4047 valid_state(struct task_struct *curr, struct held_lock *this, in valid_state() function
4263 if (!valid_state(curr, this, new_bit, excl_bit)) in mark_lock_irq()
4269 if (!read && !valid_state(curr, this, new_bit, in mark_lock_irq()