Lines Matching refs:config_base

876 		armv7_pmnc_write_evtsel(idx, hwc->config_base);  in armv7pmu_enable_event()
995 unsigned long evtype = hwc->config_base & ARMV7_EVTYPE_EVENT; in armv7pmu_get_event_idx()
1030 unsigned long config_base = 0; in armv7pmu_set_event_filter() local
1037 config_base |= ARMV7_EXCLUDE_USER; in armv7pmu_set_event_filter()
1039 config_base |= ARMV7_EXCLUDE_PL1; in armv7pmu_set_event_filter()
1041 config_base |= ARMV7_INCLUDE_HYP; in armv7pmu_set_event_filter()
1047 event->config_base = config_base; in armv7pmu_set_event_filter()
1376 static void krait_evt_setup(int idx, u32 config_base) in krait_evt_setup() argument
1381 unsigned int region = EVENT_REGION(config_base); in krait_evt_setup()
1382 unsigned int group = EVENT_GROUP(config_base); in krait_evt_setup()
1383 unsigned int code = EVENT_CODE(config_base); in krait_evt_setup()
1385 bool venum_event = EVENT_VENUM(config_base); in krait_evt_setup()
1397 val |= config_base & (ARMV7_EXCLUDE_USER | ARMV7_EXCLUDE_PL1); in krait_evt_setup()
1433 static void krait_clearpmu(u32 config_base) in krait_clearpmu() argument
1437 unsigned int region = EVENT_REGION(config_base); in krait_clearpmu()
1438 unsigned int group = EVENT_GROUP(config_base); in krait_clearpmu()
1439 bool venum_event = EVENT_VENUM(config_base); in krait_clearpmu()
1467 if (hwc->config_base & KRAIT_EVENT_MASK) in krait_pmu_disable_event()
1468 krait_clearpmu(hwc->config_base); in krait_pmu_disable_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()
1536 if (hwc->config_base & VENUM_EVENT) in krait_event_to_bit()
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()
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()
1711 static void scorpion_evt_setup(int idx, u32 config_base) in scorpion_evt_setup() argument
1716 unsigned int region = EVENT_REGION(config_base); in scorpion_evt_setup()
1717 unsigned int group = EVENT_GROUP(config_base); in scorpion_evt_setup()
1718 unsigned int code = EVENT_CODE(config_base); in scorpion_evt_setup()
1720 bool venum_event = EVENT_VENUM(config_base); in scorpion_evt_setup()
1732 val |= config_base & (ARMV7_EXCLUDE_USER | ARMV7_EXCLUDE_PL1); in scorpion_evt_setup()
1754 static void scorpion_clearpmu(u32 config_base) in scorpion_clearpmu() argument
1758 unsigned int region = EVENT_REGION(config_base); in scorpion_clearpmu()
1759 unsigned int group = EVENT_GROUP(config_base); in scorpion_clearpmu()
1760 bool venum_event = EVENT_VENUM(config_base); in scorpion_clearpmu()
1788 if (hwc->config_base & KRAIT_EVENT_MASK) in scorpion_pmu_disable_event()
1789 scorpion_clearpmu(hwc->config_base); in scorpion_pmu_disable_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()
1857 if (hwc->config_base & VENUM_EVENT) in scorpion_event_to_bit()
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()
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()