Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Dasus_wmi_sensors.c509 int nr_count[hwmon_max] = {}, nr_types = 0; in asus_wmi_configure_sensor_setup() local
531 if (!nr_count[type]) in asus_wmi_configure_sensor_setup()
533 nr_count[type]++; in asus_wmi_configure_sensor_setup()
538 if (nr_count[hwmon_temp]) in asus_wmi_configure_sensor_setup()
539 nr_count[hwmon_chip]++, nr_types++; in asus_wmi_configure_sensor_setup()
563 if (!nr_count[type]) in asus_wmi_configure_sensor_setup()
567 nr_count[type], type, in asus_wmi_configure_sensor_setup()
575 nr_count[type], in asus_wmi_configure_sensor_setup()
598 idx = --nr_count[type]; in asus_wmi_configure_sensor_setup()
H A Dasus-ec-sensors.c1349 int nr_count[hwmon_max] = { 0 }, nr_types = 0; in asus_ec_probe() local
1438 if (!nr_count[si->type]) in asus_ec_probe()
1440 ++nr_count[si->type]; in asus_ec_probe()
1443 if (nr_count[hwmon_temp]) in asus_ec_probe()
1444 nr_count[hwmon_chip]++, nr_types++; in asus_ec_probe()
1460 if (!nr_count[type]) in asus_ec_probe()
1464 nr_count[type], type, in asus_ec_probe()