Searched refs:hfi_instance (Results 1 – 1 of 1) sorted by relevance
118 struct hfi_instance { struct156 struct hfi_instance *hfi_instance; member163 static struct hfi_instance *hfi_instances;172 static void get_hfi_caps(struct hfi_instance *hfi_instance, in get_hfi_caps() argument177 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() argument209 cpu_count = cpumask_weight(hfi_instance->cpus); in update_capabilities()[all …]