Searched refs:valid_state (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/net/ipa/ |
D | ipa_smp2p.c | 62 struct qcom_smem_state *valid_state; member 105 qcom_smem_state_update_bits(smp2p->valid_state, mask, value); in ipa_smp2p_notify() 226 struct qcom_smem_state *valid_state; in ipa_smp2p_init() local 232 valid_state = qcom_smem_state_get(dev, "ipa-clock-enabled-valid", in ipa_smp2p_init() 234 if (IS_ERR(valid_state)) in ipa_smp2p_init() 235 return PTR_ERR(valid_state); in ipa_smp2p_init() 256 smp2p->valid_state = valid_state; in ipa_smp2p_init() 342 qcom_smem_state_update_bits(smp2p->valid_state, mask, 0); in ipa_smp2p_notify_reset()
|
/linux-6.6.21/kernel/power/ |
D | suspend.c | 163 static bool valid_state(suspend_state_t state) in valid_state() function 214 if (valid_state(PM_SUSPEND_STANDBY)) { in suspend_set_ops() 220 if (valid_state(PM_SUSPEND_MEM)) { in suspend_set_ops() 247 (valid_state(state) && !cxl_mem_active()); in sleep_state_supported() 565 } else if (!valid_state(state)) { in enter_state()
|
/linux-6.6.21/kernel/locking/ |
D | lockdep.c | 4008 valid_state(struct task_struct *curr, struct held_lock *this, in valid_state() function 4216 if (!valid_state(curr, this, new_bit, excl_bit)) in mark_lock_irq() 4222 if (!read && !valid_state(curr, this, new_bit, in mark_lock_irq()
|