Lines Matching refs:hw_event
334 static int cci400_validate_hw_event(struct cci_pmu *cci_pmu, unsigned long hw_event) in cci400_validate_hw_event() argument
336 u8 ev_source = CCI400_PMU_EVENT_SOURCE(hw_event); in cci400_validate_hw_event()
337 u8 ev_code = CCI400_PMU_EVENT_CODE(hw_event); in cci400_validate_hw_event()
340 if (hw_event & ~CCI400_PMU_EVENT_MASK) in cci400_validate_hw_event()
343 if (hw_event == CCI400_PMU_CYCLES) in cci400_validate_hw_event()
344 return hw_event; in cci400_validate_hw_event()
367 return hw_event; in cci400_validate_hw_event()
542 unsigned long hw_event) in cci500_validate_hw_event() argument
544 u32 ev_source = CCI5xx_PMU_EVENT_SOURCE(hw_event); in cci500_validate_hw_event()
545 u32 ev_code = CCI5xx_PMU_EVENT_CODE(hw_event); in cci500_validate_hw_event()
548 if (hw_event & ~CCI5xx_PMU_EVENT_MASK) in cci500_validate_hw_event()
578 return hw_event; in cci500_validate_hw_event()
593 unsigned long hw_event) in cci550_validate_hw_event() argument
595 u32 ev_source = CCI5xx_PMU_EVENT_SOURCE(hw_event); in cci550_validate_hw_event()
596 u32 ev_code = CCI5xx_PMU_EVENT_CODE(hw_event); in cci550_validate_hw_event()
599 if (hw_event & ~CCI5xx_PMU_EVENT_MASK) in cci550_validate_hw_event()
630 return hw_event; in cci550_validate_hw_event()