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.c1459 int nr_count[hwmon_max] = { 0 }, nr_types = 0; in asus_ec_probe() local
1549 if (!nr_count[si->type]) in asus_ec_probe()
1551 ++nr_count[si->type]; in asus_ec_probe()
1554 if (nr_count[hwmon_temp]) in asus_ec_probe()
1555 nr_count[hwmon_chip]++, nr_types++; in asus_ec_probe()
1571 if (!nr_count[type]) in asus_ec_probe()
1575 nr_count[type], type, in asus_ec_probe()