Home
last modified time | relevance | path

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

/Linux-v5.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()
653 for (i = 0; i < bgp->conf->sensor_count; i++) { in ti_bandgap_set_continuous_mode()
836 bgp->regval = devm_kcalloc(&pdev->dev, bgp->conf->sensor_count, in ti_bandgap_build()
921 for (i = 0; i < bgp->conf->sensor_count; i++) { in ti_bandgap_probe()
963 for (i = 0; i < bgp->conf->sensor_count; i++) in ti_bandgap_probe()
967 for (i = 0; i < bgp->conf->sensor_count; i++) { in ti_bandgap_probe()
997 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()
[all …]
Domap4-thermal-data.c80 .sensor_count = 1,
211 .sensor_count = 1,
242 .sensor_count = 1,
Domap3-thermal-data.c89 .sensor_count = 1,
157 .sensor_count = 1,
Domap5-thermal-data.c302 .sensor_count = 3,
Dti-bandgap.h328 int sensor_count; member
Ddra752-thermal-data.c371 .sensor_count = 5,
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore_hwmon.c52 u8 sensor_count; member
234 module = mlwsw_hwmon_attr->type_index - mlxsw_hwmon->sensor_count; in mlxsw_hwmon_module_temp_get()
272 module = mlwsw_hwmon_attr->type_index - mlxsw_hwmon->sensor_count; in mlxsw_hwmon_module_temp_fault_show()
312 module = mlwsw_hwmon_attr->type_index - mlxsw_hwmon->sensor_count; in mlxsw_hwmon_module_temp_critical_get()
346 module = mlwsw_hwmon_attr->type_index - mlxsw_hwmon->sensor_count; in mlxsw_hwmon_module_temp_emergency_get()
587 mlxsw_hwmon->sensor_count = mlxsw_reg_mtcap_sensor_count_get(mtcap_pl); in mlxsw_hwmon_temp_init()
588 for (i = 0; i < mlxsw_hwmon->sensor_count; i++) { in mlxsw_hwmon_temp_init()
674 mlxsw_hwmon->module_sensor_max = mlxsw_hwmon->sensor_count + in mlxsw_hwmon_module_init()
676 for (i = mlxsw_hwmon->sensor_count; in mlxsw_hwmon_module_init()
Dreg.h8458 MLXSW_ITEM32(reg, mtcap, sensor_count, 0x00, 0, 7);
/Linux-v5.10/drivers/platform/chrome/
Dcros_ec_proto.c844 int ret, sensor_count; in cros_ec_get_sensor_count() local
866 sensor_count = ret; in cros_ec_get_sensor_count()
869 sensor_count = resp->dump.sensor_count; in cros_ec_get_sensor_count()
877 if (sensor_count < 0 && ec->cmd_offset == 0 && ec_dev->cmd_readmem) { in cros_ec_get_sensor_count()
885 sensor_count = 2; in cros_ec_get_sensor_count()
890 sensor_count = 0; in cros_ec_get_sensor_count()
893 return sensor_count; in cros_ec_get_sensor_count()
/Linux-v5.10/include/linux/platform_data/
Dcros_ec_commands.h2670 uint8_t sensor_count; member