Home
last modified time | relevance | path

Searched refs:sensors_count (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/sensor/
H A Demc141x.c47 unsigned sensors_count; member
66 if (tempid >= sc->sensors_count) { in OBJECT_DECLARE_TYPE()
93 if (tempid >= sc->sensors_count) { in emc141x_set_temperature()
286 ec->sensors_count = 3; in emc1413_class_init()
295 ec->sensors_count = 4; in emc1414_class_init()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhwmon.c298 u32 sensors_count; in mlx5_hwmon_alloc() local
315 sensors_count = hwmon->asic_platform_scount + hwmon->module_scount; in mlx5_hwmon_alloc()
316 hwmon->temp_channel_desc = kcalloc(sensors_count, sizeof(*hwmon->temp_channel_desc), in mlx5_hwmon_alloc()
324 hwmon->temp_channel_config = kcalloc(sensors_count + 1, sizeof(*hwmon->temp_channel_config), in mlx5_hwmon_alloc()
/openbmc/linux/drivers/hwmon/
H A Dibmpowernv.c93 u32 sensors_count; /* Total count of sensors from each group */ member
476 pdata->sensors_count += sensor_groups[type].attr_count; in populate_attr_groups()
562 pdata->sensors_count, sizeof(*sdata), in create_device_attrs()
673 pdata->sensors_count = 0; in ibmpowernv_probe()