Home
last modified time | relevance | path

Searched refs:sensor_count (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/hwmon/
Dasus_wmi_sensors.c159 int sensor_count; member
386 for (i = 0; i < sensor_data->wmi.sensor_count; i++) { in asus_wmi_update_values_for_source()
521 for (i = 0; i < sensor_data->wmi.sensor_count; i++) { in asus_wmi_configure_sensor_setup()
557 sensor_data->wmi.info_by_id = devm_kcalloc(dev, sensor_data->wmi.sensor_count, in asus_wmi_configure_sensor_setup()
584 for (i = sensor_data->wmi.sensor_count - 1; i >= 0; i--) { in asus_wmi_configure_sensor_setup()
608 sensor_data->wmi.sensor_count); in asus_wmi_configure_sensor_setup()
632 if (asus_wmi_get_item_count(&sensor_data->wmi.sensor_count)) in asus_wmi_probe()
635 if (sensor_data->wmi.sensor_count <= 0 || version < 2) { in asus_wmi_probe()
637 version, sensor_data->wmi.sensor_count); in asus_wmi_probe()
/linux-5.19.10/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c109 for (i = 0; i < bgp->conf->sensor_count; i++) in ti_bandgap_power()
212 for (i = 0; i < bgp->conf->sensor_count; i++) { in ti_bandgap_talert_irq_handler()
322 if ((id < 0) || (id >= bgp->conf->sensor_count)) { in ti_bandgap_validate()
658 for (i = 0; i < bgp->conf->sensor_count; i++) { in ti_bandgap_set_continuous_mode()
841 bgp->regval = devm_kcalloc(&pdev->dev, bgp->conf->sensor_count, in ti_bandgap_build()
926 for (i = 0; i < bgp->conf->sensor_count; i++) { in ti_bandgap_probe()
968 for (i = 0; i < bgp->conf->sensor_count; i++) in ti_bandgap_probe()
972 for (i = 0; i < bgp->conf->sensor_count; i++) { in ti_bandgap_probe()
1002 for (i = 0; i < bgp->conf->sensor_count; i++) in ti_bandgap_probe()
1007 for (i = 0; i < bgp->conf->sensor_count; i++) { in ti_bandgap_probe()
[all …]
Domap4-thermal-data.c81 .sensor_count = 1,
212 .sensor_count = 1,
243 .sensor_count = 1,
Domap3-thermal-data.c89 .sensor_count = 1,
157 .sensor_count = 1,
Domap5-thermal-data.c302 .sensor_count = 3,
Dti-bandgap.h330 int sensor_count; member
Ddra752-thermal-data.c371 .sensor_count = 5,
/linux-5.19.10/drivers/platform/chrome/
Dcros_ec_proto.c883 int ret, sensor_count; in cros_ec_get_sensor_count() local
905 sensor_count = ret; in cros_ec_get_sensor_count()
908 sensor_count = resp->dump.sensor_count; in cros_ec_get_sensor_count()
916 if (sensor_count < 0 && ec->cmd_offset == 0 && ec_dev->cmd_readmem) { in cros_ec_get_sensor_count()
924 sensor_count = 2; in cros_ec_get_sensor_count()
929 sensor_count = 0; in cros_ec_get_sensor_count()
932 return sensor_count; in cros_ec_get_sensor_count()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore_hwmon.c53 u8 sensor_count; member
254 module = mlxsw_hwmon_attr->type_index - mlxsw_hwmon_dev->sensor_count; in mlxsw_hwmon_module_temp_get()
294 module = mlxsw_hwmon_attr->type_index - mlxsw_hwmon_dev->sensor_count; in mlxsw_hwmon_module_temp_fault_show()
335 module = mlxsw_hwmon_attr->type_index - mlxsw_hwmon_dev->sensor_count; in mlxsw_hwmon_module_temp_critical_get()
372 module = mlxsw_hwmon_attr->type_index - mlxsw_hwmon_dev->sensor_count; in mlxsw_hwmon_module_temp_emergency_get()
617 mlxsw_hwmon_dev->sensor_count = mlxsw_reg_mtcap_sensor_count_get(mtcap_pl); in mlxsw_hwmon_temp_init()
618 for (i = 0; i < mlxsw_hwmon_dev->sensor_count; i++) { in mlxsw_hwmon_temp_init()
705 mlxsw_hwmon_dev->module_sensor_max = mlxsw_hwmon_dev->sensor_count + in mlxsw_hwmon_module_init()
707 for (i = mlxsw_hwmon_dev->sensor_count; in mlxsw_hwmon_module_init()
802 linecard->sensor_count = 1; in mlxsw_hwmon_got_active()
Dreg.h9791 MLXSW_ITEM32(reg, mtcap, sensor_count, 0x00, 0, 7);
/linux-5.19.10/include/linux/platform_data/
Dcros_ec_commands.h2686 uint8_t sensor_count; member