Lines Matching defs:instance
960 struct thermal_instance *instance;
962 instance =
965 if (instance->trip == THERMAL_TRIPS_NONE)
968 return sprintf(buf, "%d\n", instance->trip);
974 struct thermal_instance *instance;
976 instance = container_of(attr, struct thermal_instance, weight_attr);
978 return sprintf(buf, "%d\n", instance->weight);
984 struct thermal_instance *instance;
991 instance = container_of(attr, struct thermal_instance, weight_attr);
992 instance->weight = weight;