• Home
  • Raw
  • Download

Lines Matching refs:hwc

749 	struct hw_perf_event *hwc = &event->hw;  in armv7pmu_read_counter()  local
750 int idx = hwc->idx; in armv7pmu_read_counter()
769 struct hw_perf_event *hwc = &event->hw; in armv7pmu_write_counter() local
770 int idx = hwc->idx; in armv7pmu_write_counter()
874 struct hw_perf_event *hwc = &event->hw; in armv7pmu_enable_event() local
877 int idx = hwc->idx; in armv7pmu_enable_event()
902 armv7_pmnc_write_evtsel(idx, hwc->config_base); in armv7pmu_enable_event()
920 struct hw_perf_event *hwc = &event->hw; in armv7pmu_disable_event() local
923 int idx = hwc->idx; in armv7pmu_disable_event()
975 struct hw_perf_event *hwc; in armv7pmu_handle_irq() local
988 hwc = &event->hw; in armv7pmu_handle_irq()
990 perf_sample_data_init(&data, 0, hwc->last_period); in armv7pmu_handle_irq()
1037 struct hw_perf_event *hwc = &event->hw; in armv7pmu_get_event_idx() local
1038 unsigned long evtype = hwc->config_base & ARMV7_EVTYPE_EVENT; in armv7pmu_get_event_idx()
1496 struct hw_perf_event *hwc = &event->hw; in krait_pmu_disable_event() local
1497 int idx = hwc->idx; in krait_pmu_disable_event()
1510 if (hwc->config_base & KRAIT_EVENT_MASK) in krait_pmu_disable_event()
1511 krait_clearpmu(hwc->config_base); in krait_pmu_disable_event()
1522 struct hw_perf_event *hwc = &event->hw; in krait_pmu_enable_event() local
1523 int idx = hwc->idx; in krait_pmu_enable_event()
1541 if (hwc->config_base & KRAIT_EVENT_MASK) in krait_pmu_enable_event()
1542 krait_evt_setup(idx, hwc->config_base); in krait_pmu_enable_event()
1544 armv7_pmnc_write_evtsel(idx, hwc->config_base); in krait_pmu_enable_event()
1584 struct hw_perf_event *hwc = &event->hw; in krait_event_to_bit() local
1587 if (hwc->config_base & VENUM_EVENT) in krait_event_to_bit()
1611 struct hw_perf_event *hwc = &event->hw; in krait_pmu_get_event_idx() local
1612 unsigned int region = EVENT_REGION(hwc->config_base); in krait_pmu_get_event_idx()
1613 unsigned int code = EVENT_CODE(hwc->config_base); in krait_pmu_get_event_idx()
1614 unsigned int group = EVENT_GROUP(hwc->config_base); in krait_pmu_get_event_idx()
1615 bool venum_event = EVENT_VENUM(hwc->config_base); in krait_pmu_get_event_idx()
1616 bool krait_event = EVENT_CPU(hwc->config_base); in krait_pmu_get_event_idx()
1641 struct hw_perf_event *hwc = &event->hw; in krait_pmu_clear_event_idx() local
1642 unsigned int region = EVENT_REGION(hwc->config_base); in krait_pmu_clear_event_idx()
1643 unsigned int group = EVENT_GROUP(hwc->config_base); in krait_pmu_clear_event_idx()
1644 bool venum_event = EVENT_VENUM(hwc->config_base); in krait_pmu_clear_event_idx()
1645 bool krait_event = EVENT_CPU(hwc->config_base); in krait_pmu_clear_event_idx()
1829 struct hw_perf_event *hwc = &event->hw; in scorpion_pmu_disable_event() local
1830 int idx = hwc->idx; in scorpion_pmu_disable_event()
1843 if (hwc->config_base & KRAIT_EVENT_MASK) in scorpion_pmu_disable_event()
1844 scorpion_clearpmu(hwc->config_base); in scorpion_pmu_disable_event()
1855 struct hw_perf_event *hwc = &event->hw; in scorpion_pmu_enable_event() local
1856 int idx = hwc->idx; in scorpion_pmu_enable_event()
1874 if (hwc->config_base & KRAIT_EVENT_MASK) in scorpion_pmu_enable_event()
1875 scorpion_evt_setup(idx, hwc->config_base); in scorpion_pmu_enable_event()
1877 armv7_pmnc_write_evtsel(idx, hwc->config_base); in scorpion_pmu_enable_event()
1917 struct hw_perf_event *hwc = &event->hw; in scorpion_event_to_bit() local
1920 if (hwc->config_base & VENUM_EVENT) in scorpion_event_to_bit()
1944 struct hw_perf_event *hwc = &event->hw; in scorpion_pmu_get_event_idx() local
1945 unsigned int region = EVENT_REGION(hwc->config_base); in scorpion_pmu_get_event_idx()
1946 unsigned int group = EVENT_GROUP(hwc->config_base); in scorpion_pmu_get_event_idx()
1947 bool venum_event = EVENT_VENUM(hwc->config_base); in scorpion_pmu_get_event_idx()
1948 bool scorpion_event = EVENT_CPU(hwc->config_base); in scorpion_pmu_get_event_idx()
1971 struct hw_perf_event *hwc = &event->hw; in scorpion_pmu_clear_event_idx() local
1972 unsigned int region = EVENT_REGION(hwc->config_base); in scorpion_pmu_clear_event_idx()
1973 unsigned int group = EVENT_GROUP(hwc->config_base); in scorpion_pmu_clear_event_idx()
1974 bool venum_event = EVENT_VENUM(hwc->config_base); in scorpion_pmu_clear_event_idx()
1975 bool scorpion_event = EVENT_CPU(hwc->config_base); in scorpion_pmu_clear_event_idx()