Lines Matching refs:hwc

733 	struct hw_perf_event *hwc = &event->hw;  in armv7pmu_read_counter()  local
734 int idx = hwc->idx; in armv7pmu_read_counter()
753 struct hw_perf_event *hwc = &event->hw; in armv7pmu_write_counter() local
754 int idx = hwc->idx; in armv7pmu_write_counter()
850 struct hw_perf_event *hwc = &event->hw; in armv7pmu_enable_event() local
852 int idx = hwc->idx; in armv7pmu_enable_event()
876 armv7_pmnc_write_evtsel(idx, hwc->config_base); in armv7pmu_enable_event()
891 struct hw_perf_event *hwc = &event->hw; in armv7pmu_disable_event() local
893 int idx = hwc->idx; in armv7pmu_disable_event()
942 struct hw_perf_event *hwc; in armv7pmu_handle_irq() local
955 hwc = &event->hw; in armv7pmu_handle_irq()
957 perf_sample_data_init(&data, 0, hwc->last_period); in armv7pmu_handle_irq()
994 struct hw_perf_event *hwc = &event->hw; in armv7pmu_get_event_idx() local
995 unsigned long evtype = hwc->config_base & ARMV7_EVTYPE_EVENT; in armv7pmu_get_event_idx()
1456 struct hw_perf_event *hwc = &event->hw; in krait_pmu_disable_event() local
1457 int idx = hwc->idx; in krait_pmu_disable_event()
1467 if (hwc->config_base & KRAIT_EVENT_MASK) in krait_pmu_disable_event()
1468 krait_clearpmu(hwc->config_base); in krait_pmu_disable_event()
1476 struct hw_perf_event *hwc = &event->hw; in krait_pmu_enable_event() local
1477 int idx = hwc->idx; in krait_pmu_enable_event()
1492 if (hwc->config_base & KRAIT_EVENT_MASK) in krait_pmu_enable_event()
1493 krait_evt_setup(idx, hwc->config_base); in krait_pmu_enable_event()
1495 armv7_pmnc_write_evtsel(idx, hwc->config_base); in krait_pmu_enable_event()
1533 struct hw_perf_event *hwc = &event->hw; in krait_event_to_bit() local
1536 if (hwc->config_base & VENUM_EVENT) in krait_event_to_bit()
1560 struct hw_perf_event *hwc = &event->hw; in krait_pmu_get_event_idx() local
1561 unsigned int region = EVENT_REGION(hwc->config_base); in krait_pmu_get_event_idx()
1562 unsigned int code = EVENT_CODE(hwc->config_base); in krait_pmu_get_event_idx()
1563 unsigned int group = EVENT_GROUP(hwc->config_base); in krait_pmu_get_event_idx()
1564 bool venum_event = EVENT_VENUM(hwc->config_base); in krait_pmu_get_event_idx()
1565 bool krait_event = EVENT_CPU(hwc->config_base); in krait_pmu_get_event_idx()
1590 struct hw_perf_event *hwc = &event->hw; in krait_pmu_clear_event_idx() local
1591 unsigned int region = EVENT_REGION(hwc->config_base); in krait_pmu_clear_event_idx()
1592 unsigned int group = EVENT_GROUP(hwc->config_base); in krait_pmu_clear_event_idx()
1593 bool venum_event = EVENT_VENUM(hwc->config_base); in krait_pmu_clear_event_idx()
1594 bool krait_event = EVENT_CPU(hwc->config_base); in krait_pmu_clear_event_idx()
1777 struct hw_perf_event *hwc = &event->hw; in scorpion_pmu_disable_event() local
1778 int idx = hwc->idx; in scorpion_pmu_disable_event()
1788 if (hwc->config_base & KRAIT_EVENT_MASK) in scorpion_pmu_disable_event()
1789 scorpion_clearpmu(hwc->config_base); in scorpion_pmu_disable_event()
1797 struct hw_perf_event *hwc = &event->hw; in scorpion_pmu_enable_event() local
1798 int idx = hwc->idx; in scorpion_pmu_enable_event()
1813 if (hwc->config_base & KRAIT_EVENT_MASK) in scorpion_pmu_enable_event()
1814 scorpion_evt_setup(idx, hwc->config_base); in scorpion_pmu_enable_event()
1816 armv7_pmnc_write_evtsel(idx, hwc->config_base); in scorpion_pmu_enable_event()
1854 struct hw_perf_event *hwc = &event->hw; in scorpion_event_to_bit() local
1857 if (hwc->config_base & VENUM_EVENT) in scorpion_event_to_bit()
1881 struct hw_perf_event *hwc = &event->hw; in scorpion_pmu_get_event_idx() local
1882 unsigned int region = EVENT_REGION(hwc->config_base); in scorpion_pmu_get_event_idx()
1883 unsigned int group = EVENT_GROUP(hwc->config_base); in scorpion_pmu_get_event_idx()
1884 bool venum_event = EVENT_VENUM(hwc->config_base); in scorpion_pmu_get_event_idx()
1885 bool scorpion_event = EVENT_CPU(hwc->config_base); in scorpion_pmu_get_event_idx()
1908 struct hw_perf_event *hwc = &event->hw; in scorpion_pmu_clear_event_idx() local
1909 unsigned int region = EVENT_REGION(hwc->config_base); in scorpion_pmu_clear_event_idx()
1910 unsigned int group = EVENT_GROUP(hwc->config_base); in scorpion_pmu_clear_event_idx()
1911 bool venum_event = EVENT_VENUM(hwc->config_base); in scorpion_pmu_clear_event_idx()
1912 bool scorpion_event = EVENT_CPU(hwc->config_base); in scorpion_pmu_clear_event_idx()