Lines Matching defs:index
49 int index;
63 int index; /* sensor index */
147 tdata->index, &t);
165 static int hwmon_thermal_add_sensor(struct device *dev, int index)
177 tdata->index = index;
179 tzd = devm_thermal_zone_of_sensor_register(dev, index, tdata,
185 index + 1);
231 static void hwmon_thermal_notify(struct device *dev, int index)
237 if (tzdata->index == index) {
250 static void hwmon_thermal_notify(struct device *dev, int index) { }
270 ret = hattr->ops->read(dev, hattr->type, hattr->attr, hattr->index,
275 trace_hwmon_attr_show(hattr->index + hwmon_attr_base(hattr->type),
291 hattr->index, &s);
295 trace_hwmon_attr_show_string(hattr->index + hwmon_attr_base(type),
313 ret = hattr->ops->write(dev, hattr->type, hattr->attr, hattr->index,
318 trace_hwmon_attr_store(hattr->index + hwmon_attr_base(hattr->type),
338 int index,
353 mode = ops->is_visible(drvdata, type, attr, index);
371 index + hwmon_attr_base(type));
377 hattr->index = index;