Lines Matching refs:base_id
1709 unsigned int base_id = raw_id & 0x7f; in mipsxx_pmu_map_raw_event() local
1713 if (IS_BOTH_COUNTERS_24K_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1727 if (IS_BOTH_COUNTERS_34K_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1733 if (IS_RANGE_P_34K_EVENT(raw_id, base_id)) in mipsxx_pmu_map_raw_event()
1743 if (IS_BOTH_COUNTERS_74K_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1753 if (IS_BOTH_COUNTERS_PROAPTIV_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1766 base_id = raw_id & 0xff; in mipsxx_pmu_map_raw_event()
1767 if (IS_BOTH_COUNTERS_P5600_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1779 base_id = config & 0xff; in mipsxx_pmu_map_raw_event()
1783 if (IS_BOTH_COUNTERS_1004K_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1789 if (IS_RANGE_P_1004K_EVENT(raw_id, base_id)) in mipsxx_pmu_map_raw_event()
1798 if (IS_BOTH_COUNTERS_INTERAPTIV_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1804 if (IS_RANGE_P_INTERAPTIV_EVENT(raw_id, base_id)) in mipsxx_pmu_map_raw_event()
1813 if (IS_BOTH_COUNTERS_BMIPS5000_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1828 base_id = config & 0x3ff; in mipsxx_pmu_map_raw_event()
1831 if ((base_id >= 1 && base_id < 28) || in mipsxx_pmu_map_raw_event()
1832 (base_id >= 64 && base_id < 90) || in mipsxx_pmu_map_raw_event()
1833 (base_id >= 128 && base_id < 164) || in mipsxx_pmu_map_raw_event()
1834 (base_id >= 192 && base_id < 200) || in mipsxx_pmu_map_raw_event()
1835 (base_id >= 256 && base_id < 275) || in mipsxx_pmu_map_raw_event()
1836 (base_id >= 320 && base_id < 361) || in mipsxx_pmu_map_raw_event()
1837 (base_id >= 384 && base_id < 574)) in mipsxx_pmu_map_raw_event()
1842 base_id = raw_id; in mipsxx_pmu_map_raw_event()
1849 raw_event.event_id = base_id; in mipsxx_pmu_map_raw_event()
1856 unsigned int base_id = config & 0x7f; in octeon_pmu_map_raw_event() local
1861 raw_event.event_id = base_id; in octeon_pmu_map_raw_event()
1870 if (base_id > event_max) { in octeon_pmu_map_raw_event()
1874 switch (base_id) { in octeon_pmu_map_raw_event()