sgrp_data 81 drivers/hwmon/ibmpowernv.c struct sensor_group_data *sgrp_data; sgrp_data 92 drivers/hwmon/ibmpowernv.c struct sensor_group_data *sgrp_data; sgrp_data 105 drivers/hwmon/ibmpowernv.c if (sdata->sgrp_data && !sdata->sgrp_data->enable) sgrp_data 129 drivers/hwmon/ibmpowernv.c return sprintf(buf, "%u\n", sdata->sgrp_data->enable); sgrp_data 138 drivers/hwmon/ibmpowernv.c struct sensor_group_data *sgrp_data = sdata->sgrp_data; sgrp_data 146 drivers/hwmon/ibmpowernv.c ret = mutex_lock_interruptible(&sgrp_data->mutex); sgrp_data 150 drivers/hwmon/ibmpowernv.c if (data != sgrp_data->enable) { sgrp_data 151 drivers/hwmon/ibmpowernv.c ret = sensor_group_enable(sgrp_data->gid, data); sgrp_data 153 drivers/hwmon/ibmpowernv.c sgrp_data->enable = data; sgrp_data 159 drivers/hwmon/ibmpowernv.c mutex_unlock(&sgrp_data->mutex); sgrp_data 337 drivers/hwmon/ibmpowernv.c struct sensor_group_data *sgrp_data; sgrp_data 355 drivers/hwmon/ibmpowernv.c sgrp_data = devm_kcalloc(&pdev->dev, pdata->nr_sensor_groups, sgrp_data 356 drivers/hwmon/ibmpowernv.c sizeof(*sgrp_data), GFP_KERNEL); sgrp_data 357 drivers/hwmon/ibmpowernv.c if (!sgrp_data) { sgrp_data 376 drivers/hwmon/ibmpowernv.c sgrp_data[count].gid = gid; sgrp_data 377 drivers/hwmon/ibmpowernv.c mutex_init(&sgrp_data[count].mutex); sgrp_data 378 drivers/hwmon/ibmpowernv.c sgrp_data[count++].enable = false; sgrp_data 381 drivers/hwmon/ibmpowernv.c pdata->sgrp_data = sgrp_data; sgrp_data 391 drivers/hwmon/ibmpowernv.c struct sensor_group_data *sgrp_data = pdata->sgrp_data; sgrp_data 421 drivers/hwmon/ibmpowernv.c if (gid == sgrp_data[i].gid) { sgrp_data 424 drivers/hwmon/ibmpowernv.c return &sgrp_data[i]; sgrp_data 509 drivers/hwmon/ibmpowernv.c struct sensor_group_data *sgrp_data, sgrp_data 523 drivers/hwmon/ibmpowernv.c sdata->sgrp_data = sgrp_data; sgrp_data 569 drivers/hwmon/ibmpowernv.c struct sensor_group_data *sgrp_data; sgrp_data 608 drivers/hwmon/ibmpowernv.c sgrp_data = get_sensor_group(pdata, np, type); sgrp_data 610 drivers/hwmon/ibmpowernv.c attr_name, type, pgroups[type], sgrp_data, sgrp_data 633 drivers/hwmon/ibmpowernv.c pgroups[type], sgrp_data, show_sensor, sgrp_data 642 drivers/hwmon/ibmpowernv.c pgroups[type], sgrp_data, show_sensor, sgrp_data 647 drivers/hwmon/ibmpowernv.c if (sgrp_data && !sgrp_data->enable) { sgrp_data 648 drivers/hwmon/ibmpowernv.c sgrp_data->enable = true; sgrp_data 651 drivers/hwmon/ibmpowernv.c sgrp_data->gid, "enable", type, sgrp_data 652 drivers/hwmon/ibmpowernv.c pgroups[type], sgrp_data, show_enable,