Searched refs:nr_count (Results 1 – 1 of 1) sorted by relevance
166 int nr_count[hwmon_max] = {0}, nr_types = 0; in scmi_hwmon_probe() local198 if (!nr_count[type]) in scmi_hwmon_probe()200 nr_count[type]++; in scmi_hwmon_probe()205 if (nr_count[hwmon_temp]) in scmi_hwmon_probe()206 nr_count[hwmon_chip]++, nr_types++; in scmi_hwmon_probe()222 if (!nr_count[type]) in scmi_hwmon_probe()225 scmi_hwmon_add_chan_info(scmi_hwmon_chan, dev, nr_count[type], in scmi_hwmon_probe()230 devm_kcalloc(dev, nr_count[type], in scmi_hwmon_probe()248 idx = --nr_count[type]; in scmi_hwmon_probe()