Searched refs:nr_count (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/hwmon/ |
D | scmi-hwmon.c | 236 int nr_count[hwmon_max] = {0}, nr_types = 0, nr_count_temp = 0; in scmi_hwmon_probe() local 273 if (!nr_count[type]) in scmi_hwmon_probe() 275 nr_count[type]++; in scmi_hwmon_probe() 280 if (nr_count[hwmon_temp]) in scmi_hwmon_probe() 281 nr_count_temp = nr_count[hwmon_temp]; in scmi_hwmon_probe() 297 if (!nr_count[type]) in scmi_hwmon_probe() 300 scmi_hwmon_add_chan_info(scmi_hwmon_chan, dev, nr_count[type], in scmi_hwmon_probe() 305 devm_kcalloc(dev, nr_count[type], in scmi_hwmon_probe() 323 idx = --nr_count[type]; in scmi_hwmon_probe()
|
D | asus_wmi_sensors.c | 509 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()
|
D | asus-ec-sensors.c | 945 int nr_count[hwmon_max] = { 0 }, nr_types = 0; in asus_ec_probe() local 1016 if (!nr_count[si->type]) in asus_ec_probe() 1018 ++nr_count[si->type]; in asus_ec_probe() 1021 if (nr_count[hwmon_temp]) in asus_ec_probe() 1022 nr_count[hwmon_chip]++, nr_types++; in asus_ec_probe() 1038 if (!nr_count[type]) in asus_ec_probe() 1042 nr_count[type], type, in asus_ec_probe()
|