Searched refs:nr_sensors (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/hwmon/ |
D | scpi-hwmon.c | 137 u16 nr_sensors, i; in scpi_hwmon_probe() local 150 ret = scpi_ops->sensor_get_capability(&nr_sensors); in scpi_hwmon_probe() 154 if (!nr_sensors) in scpi_hwmon_probe() 161 scpi_sensors->data = devm_kcalloc(dev, nr_sensors, in scpi_hwmon_probe() 166 scpi_sensors->attrs = devm_kcalloc(dev, (nr_sensors * 2) + 1, in scpi_hwmon_probe() 179 for (i = 0, idx = 0; i < nr_sensors; i++) { in scpi_hwmon_probe() 264 for (i = 0; i < nr_sensors; i++) { in scpi_hwmon_probe()
|
D | scmi-hwmon.c | 232 u16 nr_sensors; in scmi_hwmon_probe() local 251 nr_sensors = sensor_ops->count_get(ph); in scmi_hwmon_probe() 252 if (!nr_sensors) in scmi_hwmon_probe() 261 for (i = 0; i < nr_sensors; i++) { in scmi_hwmon_probe() 311 for (i = nr_sensors - 1; i >= 0 ; i--) { in scmi_hwmon_probe()
|
D | asus-ec-sensors.c | 530 u8 nr_sensors; member 570 for (i = 0; i < ec->nr_sensors; i++) { in find_ec_sensor_index() 622 for (i = 0; i < ec->nr_sensors; ++i) { in fill_ec_registers() 751 sensor_end = ec->sensors + ec->nr_sensors; in update_sensor_values() 938 ec_data->nr_sensors = hweight_long(ec_data->board_info->sensors); in asus_ec_probe() 939 ec_data->sensors = devm_kcalloc(dev, ec_data->nr_sensors, in asus_ec_probe() 961 for (i = 0; i < ec_data->nr_sensors; ++i) { in asus_ec_probe() 995 ec_data->nr_sensors, ec_data->nr_registers); in asus_ec_probe()
|
/linux-6.1.9/drivers/thermal/ |
D | sprd_thermal.c | 91 int nr_sensors; member 356 thm->nr_sensors = of_get_child_count(np); in sprd_thm_probe() 357 if (thm->nr_sensors == 0 || thm->nr_sensors > SPRD_THM_MAX_SENSOR) { in sprd_thm_probe() 434 for (i = 0; i < thm->nr_sensors; i++) in sprd_thm_probe() 452 for (i = 0; i < thm->nr_sensors; i++) { in sprd_thm_hw_suspend() 466 for (i = 0; i < thm->nr_sensors; i++) in sprd_thm_suspend() 479 for (i = 0; i < thm->nr_sensors; i++) { in sprd_thm_hw_resume() 508 for (i = 0; i < thm->nr_sensors; i++) in sprd_thm_resume() 524 for (i = 0; i < thm->nr_sensors; i++) { in sprd_thm_remove()
|
D | hisi_thermal.c | 82 int nr_sensors; member 409 data->nr_sensors = 1; in hi6220_thermal_probe() 419 data->nr_sensors = 1; in hi3660_thermal_probe() 422 data->nr_sensors, GFP_KERNEL); in hi3660_thermal_probe() 574 for (i = 0; i < data->nr_sensors; i++) { in hisi_thermal_probe() 614 for (i = 0; i < data->nr_sensors; i++) { in hisi_thermal_remove() 629 for (i = 0; i < data->nr_sensors; i++) in hisi_thermal_suspend() 640 for (i = 0; i < data->nr_sensors; i++) in hisi_thermal_resume()
|
/linux-6.1.9/drivers/iio/common/scmi_sensors/ |
D | scmi_iio.c | 644 u16 nr_sensors; in scmi_iio_dev_probe() local 656 nr_sensors = sensor_ops->count_get(ph); in scmi_iio_dev_probe() 657 if (!nr_sensors) { in scmi_iio_dev_probe() 662 for (i = 0; i < nr_sensors; i++) { in scmi_iio_dev_probe()
|
/linux-6.1.9/arch/mips/include/asm/mach-loongson64/ |
D | boot_param.h | 93 u32 nr_sensors; member
|