Lines Matching refs:sensor_groups
64 } sensor_groups[] = { variable
311 if (!strcmp(str, sensor_groups[type].name)) in get_sensor_type()
331 return ++sensor_groups[sdata->type].hwmon_index; in get_sensor_hwmon_index()
375 sensor_groups[type].attr_count++; in init_sensor_group_data()
452 sensor_groups[type].attr_count++; in populate_attr_groups()
458 sensor_groups[type].attr_count++; in populate_attr_groups()
460 sensor_groups[type].attr_count++; in populate_attr_groups()
462 sensor_groups[type].attr_count++; in populate_attr_groups()
468 sensor_groups[type].group.attrs = devm_kcalloc(&pdev->dev, in populate_attr_groups()
469 sensor_groups[type].attr_count + 1, in populate_attr_groups()
472 if (!sensor_groups[type].group.attrs) in populate_attr_groups()
475 pgroups[type] = &sensor_groups[type].group; in populate_attr_groups()
476 pdata->sensors_count += sensor_groups[type].attr_count; in populate_attr_groups()
477 sensor_groups[type].attr_count = 0; in populate_attr_groups()
492 sensor_groups[sdata->type].name, sdata->hwmon_index, in create_hwmon_attr()
522 pgroup->attrs[sensor_groups[type].attr_count++] = &sdata->dev_attr.attr; in populate_sensor()