Searched refs:type_and_num (Results 1 – 1 of 1) sorted by relevance
117 long type_and_num; member154 return ((union hwmon_pmu_event_key)key).type_and_num; in hwmon_pmu__event_hashmap_hash()159 return ((union hwmon_pmu_event_key)key1).type_and_num == in hwmon_pmu__event_hashmap_equal()160 ((union hwmon_pmu_event_key)key2).type_and_num; in hwmon_pmu__event_hashmap_equal()281 union hwmon_pmu_event_key key = { .type_and_num = 0 }; in hwmon_pmu__read_events()293 if (!hashmap__find(&pmu->events, key.type_and_num, &value)) { in hwmon_pmu__read_events()299 err = hashmap__add(&pmu->events, key.type_and_num, value); in hwmon_pmu__read_events()348 .type_and_num = cur->key, in hwmon_pmu__read_events()355 hashmap__delete(&pmu->events, key.type_and_num, &key, &value); in hwmon_pmu__read_events()511 .type_and_num = cur->key, in hwmon_pmu__for_each_event()[all …]