Searched refs:nr_count (Results 1 – 1 of 1) sorted by relevance
118 int nr_count[hwmon_max] = {0}, nr_types = 0; in scmi_hwmon_probe() local150 if (!nr_count[type]) in scmi_hwmon_probe()152 nr_count[type]++; in scmi_hwmon_probe()157 if (nr_count[hwmon_temp]) in scmi_hwmon_probe()158 nr_count[hwmon_chip]++, nr_types++; in scmi_hwmon_probe()174 if (!nr_count[type]) in scmi_hwmon_probe()177 scmi_hwmon_add_chan_info(scmi_hwmon_chan, dev, nr_count[type], in scmi_hwmon_probe()182 devm_kcalloc(dev, nr_count[type], in scmi_hwmon_probe()200 idx = --nr_count[type]; in scmi_hwmon_probe()