Searched refs:sensor_count (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/drivers/hwmon/ |
D | asus_wmi_sensors.c | 159 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/ |
D | ti-bandgap.c | 109 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 …]
|
D | omap4-thermal-data.c | 81 .sensor_count = 1, 212 .sensor_count = 1, 243 .sensor_count = 1,
|
D | omap3-thermal-data.c | 89 .sensor_count = 1, 157 .sensor_count = 1,
|
D | omap5-thermal-data.c | 302 .sensor_count = 3,
|
D | ti-bandgap.h | 330 int sensor_count; member
|
D | dra752-thermal-data.c | 371 .sensor_count = 5,
|
/linux-5.19.10/drivers/platform/chrome/ |
D | cros_ec_proto.c | 883 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/ |
D | core_hwmon.c | 53 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()
|
D | reg.h | 9791 MLXSW_ITEM32(reg, mtcap, sensor_count, 0x00, 0, 7);
|
/linux-5.19.10/include/linux/platform_data/ |
D | cros_ec_commands.h | 2686 uint8_t sensor_count; member
|