Lines Matching refs:era
3198 struct er_account *era; in __intel_shared_reg_get_constraints() local
3211 era = &cpuc->shared_regs->regs[idx]; in __intel_shared_reg_get_constraints()
3216 raw_spin_lock_irqsave(&era->lock, flags); in __intel_shared_reg_get_constraints()
3218 if (!atomic_read(&era->ref) || era->config == reg->config) { in __intel_shared_reg_get_constraints()
3244 era->config = reg->config; in __intel_shared_reg_get_constraints()
3245 era->reg = reg->reg; in __intel_shared_reg_get_constraints()
3248 atomic_inc(&era->ref); in __intel_shared_reg_get_constraints()
3258 raw_spin_unlock_irqrestore(&era->lock, flags); in __intel_shared_reg_get_constraints()
3262 raw_spin_unlock_irqrestore(&era->lock, flags); in __intel_shared_reg_get_constraints()
3271 struct er_account *era; in __intel_shared_reg_put_constraints() local
3284 era = &cpuc->shared_regs->regs[reg->idx]; in __intel_shared_reg_put_constraints()
3287 atomic_dec(&era->ref); in __intel_shared_reg_put_constraints()