Searched refs:type_and_num (Results 1 – 3 of 3) sorted by relevance
140 return ((union hwmon_pmu_event_key)key).type_and_num; in hwmon_pmu__event_hashmap_hash()145 return ((union hwmon_pmu_event_key)key1).type_and_num == in hwmon_pmu__event_hashmap_equal()146 ((union hwmon_pmu_event_key)key2).type_and_num; in hwmon_pmu__event_hashmap_equal()258 union hwmon_pmu_event_key key = { .type_and_num = 0 }; in hwmon_pmu__read_events()270 if (!hashmap__find(&pmu->events, key.type_and_num, &value)) { in hwmon_pmu__read_events()276 err = hashmap__add(&pmu->events, key.type_and_num, value); in hwmon_pmu__read_events()325 .type_and_num = cur->key, in hwmon_pmu__read_events()332 hashmap__delete(&pmu->events, key.type_and_num, &key, &value); in hwmon_pmu__read_events()499 .type_and_num = cur->key, in hwmon_pmu__for_each_event()558 union hwmon_pmu_event_key key = { .type_and_num = 0 }; in hwmon_pmu__have_event()[all …]
103 long type_and_num; member
194 if (evsel->core.attr.config != (u64)test_events[i].key.type_and_num) { in do_test()198 test_events[i].key.type_and_num); in do_test()