Searched refs:nr_count (Results 1 – 1 of 1) sorted by relevance
167 int nr_count[hwmon_max] = {0}, nr_types = 0; in scmi_hwmon_probe() local204 if (!nr_count[type]) in scmi_hwmon_probe()206 nr_count[type]++; in scmi_hwmon_probe()211 if (nr_count[hwmon_temp]) { in scmi_hwmon_probe()212 nr_count[hwmon_chip]++; in scmi_hwmon_probe()230 if (!nr_count[type]) in scmi_hwmon_probe()233 scmi_hwmon_add_chan_info(scmi_hwmon_chan, dev, nr_count[type], in scmi_hwmon_probe()238 devm_kcalloc(dev, nr_count[type], in scmi_hwmon_probe()256 idx = --nr_count[type]; in scmi_hwmon_probe()