Searched refs:pm_events (Results 1 – 4 of 4) sorted by relevance
928 if (!(rps->pm_events & GEN6_PM_RP_UP_THRESHOLD)) { in __rps_up_interrupt()978 if (!(rps->pm_events & GEN6_PM_RP_DOWN_THRESHOLD)) { in __rps_down_interrupt()1026 u32 pm_events; in live_rps_interrupt() local1037 pm_events = rps->pm_events; in live_rps_interrupt()1039 if (!pm_events) { in live_rps_interrupt()1053 if (pm_events & GEN6_PM_RP_UP_THRESHOLD) { in live_rps_interrupt()1069 if (pm_events & GEN6_PM_RP_DOWN_THRESHOLD) { in live_rps_interrupt()
72 u32 pm_events; member
182 mask &= rps->pm_events; in rps_pm_mask()199 rps->pm_events, rps_pm_mask(rps, rps->last_freq)); in rps_enable_interrupts()204 gen6_gt_pm_enable_irq(gt, rps->pm_events); in rps_enable_interrupts()1232 rps->pm_events = GEN6_PM_RP_UP_THRESHOLD | GEN6_PM_RP_DOWN_THRESHOLD; in gen9_rps_enable()1259 rps->pm_events = (GEN6_PM_RP_UP_THRESHOLD | in gen6_rps_enable()1349 rps->pm_events = (GEN6_PM_RP_UP_THRESHOLD | in chv_rps_enable()1453 rps->pm_events = GEN6_PM_RP_UP_EI_EXPIRED; in vlv_rps_enable()1813 pm_iir = fetch_and_zero(&rps->pm_iir) & rps->pm_events; in rps_work()1889 gen6_gt_pm_unmask_irq(gt, rps->pm_events); in rps_work()1896 const u32 events = rps->pm_events & pm_iir; in gen11_rps_irq_handler()[all …]
996 static const pm_event pm_events[] = { variable1061 for (i = 0; i < ARRAY_SIZE(pm_events); i++) { in pmu_init()1062 const pm_event *cnt = &pm_events[i]; in pmu_init()1395 count = pm_events[event_idx].get_count(env); in pmevcntr_op_start()1424 overflow_in = pm_events[event_idx].ns_per_count(delta); in pmevcntr_op_finish()1675 count = pm_events[event_idx].get_count(env); in pmevtyper_write()1732 pm_events[event_idx].get_count(env); in pmevtyper_rawwrite()