Searched refs:nr_count (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/hwmon/
H A Dscmi-hwmon.c236 int nr_count[hwmon_max] = {0}, nr_types = 0, nr_count_temp = 0; local
273 if (!nr_count[type])
275 nr_count[type]++;
280 if (nr_count[hwmon_temp])
281 nr_count_temp = nr_count[hwmon_temp];
297 if (!nr_count[type])
300 scmi_hwmon_add_chan_info(scmi_hwmon_chan, dev, nr_count[type],
305 devm_kcalloc(dev, nr_count[type],
323 idx = --nr_count[type];
H A Dasus_wmi_sensors.c509 int nr_count[hwmon_max] = {}, nr_types = 0; local
531 if (!nr_count[type])
533 nr_count[type]++;
538 if (nr_count[hwmon_temp])
539 nr_count[hwmon_chip]++, nr_types++;
563 if (!nr_count[type])
567 nr_count[type], type,
575 nr_count[type],
598 idx = --nr_count[type];
H A Dasus-ec-sensors.c957 int nr_count[hwmon_max] = { 0 }, nr_types = 0; local
1028 if (!nr_count[si->type])
1030 ++nr_count[si->type];
1033 if (nr_count[hwmon_temp])
1034 nr_count[hwmon_chip]++, nr_types++;
1050 if (!nr_count[type])
1054 nr_count[type], type,

Completed in 88 milliseconds