Searched refs:sensors_count (Results 1 – 3 of 3) sorted by relevance
298 u32 sensors_count; in mlx5_hwmon_alloc() local315 sensors_count = hwmon->asic_platform_scount + hwmon->module_scount; in mlx5_hwmon_alloc()317 sensors_count); in mlx5_hwmon_alloc()324 hwmon->temp_channel_config = kcalloc(sensors_count + 1, sizeof(*hwmon->temp_channel_config), in mlx5_hwmon_alloc()
93 u32 sensors_count; /* Total count of sensors from each group */ member476 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()
801 u32 sensors_count = 0, i; in aie2_get_sensors() local817 sensors_count++; in aie2_get_sensors()818 if (args->buffer_size <= sensors_count * sizeof(sensor)) in aie2_get_sensors()829 if (copy_to_user(u64_to_user_ptr(args->buffer) + sensors_count * sizeof(sensor), in aie2_get_sensors()833 sensors_count++; in aie2_get_sensors()834 if (args->buffer_size <= sensors_count * sizeof(sensor)) in aie2_get_sensors()839 args->buffer_size = sensors_count * sizeof(sensor); in aie2_get_sensors()