Searched refs:nr_count (Results 1 – 2 of 2) sorted by relevance
509 int nr_count[hwmon_max] = {}, nr_types = 0; in asus_wmi_configure_sensor_setup() local531 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()
1459 int nr_count[hwmon_max] = { 0 }, nr_types = 0; in asus_ec_probe() local1549 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()