Home
last modified time | relevance | path

Searched refs:hfi_instance (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/thermal/intel/
H A Dintel_hfi.c118 struct hfi_instance { struct
156 struct hfi_instance *hfi_instance; member
163 static struct hfi_instance *hfi_instances;
172 static void get_hfi_caps(struct hfi_instance *hfi_instance, in get_hfi_caps() argument
177 raw_spin_lock_irq(&hfi_instance->table_lock); in get_hfi_caps()
178 for_each_cpu(cpu, hfi_instance->cpus) { in get_hfi_caps()
183 caps = hfi_instance->data + index * hfi_features.cpu_stride; in get_hfi_caps()
195 raw_spin_unlock_irq(&hfi_instance->table_lock); in get_hfi_caps()
201 static void update_capabilities(struct hfi_instance *hfi_instance) in update_capabilities() argument
209 cpu_count = cpumask_weight(hfi_instance->cpus); in update_capabilities()
[all …]