Searched refs:valid_state (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ipa/ |
D | ipa_smp2p.c | 62 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/ |
D | suspend.c | 169 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/ |
D | lockdep.c | 4047 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()
|