scpi_sensors       29 drivers/hwmon/scpi-hwmon.c 	struct scpi_sensors *scpi_sensors;
scpi_sensors       68 drivers/hwmon/scpi-hwmon.c 	struct scpi_sensors *scpi_sensors = zone->scpi_sensors;
scpi_sensors       69 drivers/hwmon/scpi-hwmon.c 	struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops;
scpi_sensors       70 drivers/hwmon/scpi-hwmon.c 	struct sensor_data *sensor = &scpi_sensors->data[zone->sensor_id];
scpi_sensors       88 drivers/hwmon/scpi-hwmon.c 	struct scpi_sensors *scpi_sensors = dev_get_drvdata(dev);
scpi_sensors       89 drivers/hwmon/scpi-hwmon.c 	struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops;
scpi_sensors      134 drivers/hwmon/scpi-hwmon.c 	struct scpi_sensors *scpi_sensors;
scpi_sensors      149 drivers/hwmon/scpi-hwmon.c 	scpi_sensors = devm_kzalloc(dev, sizeof(*scpi_sensors), GFP_KERNEL);
scpi_sensors      150 drivers/hwmon/scpi-hwmon.c 	if (!scpi_sensors)
scpi_sensors      153 drivers/hwmon/scpi-hwmon.c 	scpi_sensors->data = devm_kcalloc(dev, nr_sensors,
scpi_sensors      154 drivers/hwmon/scpi-hwmon.c 				   sizeof(*scpi_sensors->data), GFP_KERNEL);
scpi_sensors      155 drivers/hwmon/scpi-hwmon.c 	if (!scpi_sensors->data)
scpi_sensors      158 drivers/hwmon/scpi-hwmon.c 	scpi_sensors->attrs = devm_kcalloc(dev, (nr_sensors * 2) + 1,
scpi_sensors      159 drivers/hwmon/scpi-hwmon.c 				   sizeof(*scpi_sensors->attrs), GFP_KERNEL);
scpi_sensors      160 drivers/hwmon/scpi-hwmon.c 	if (!scpi_sensors->attrs)
scpi_sensors      163 drivers/hwmon/scpi-hwmon.c 	scpi_sensors->scpi_ops = scpi_ops;
scpi_sensors      173 drivers/hwmon/scpi-hwmon.c 		struct sensor_data *sensor = &scpi_sensors->data[idx];
scpi_sensors      229 drivers/hwmon/scpi-hwmon.c 		scpi_sensors->attrs[idx << 1] = &sensor->dev_attr_input.attr;
scpi_sensors      230 drivers/hwmon/scpi-hwmon.c 		scpi_sensors->attrs[(idx << 1) + 1] = &sensor->dev_attr_label.attr;
scpi_sensors      232 drivers/hwmon/scpi-hwmon.c 		sysfs_attr_init(scpi_sensors->attrs[idx << 1]);
scpi_sensors      233 drivers/hwmon/scpi-hwmon.c 		sysfs_attr_init(scpi_sensors->attrs[(idx << 1) + 1]);
scpi_sensors      237 drivers/hwmon/scpi-hwmon.c 	scpi_sensors->group.attrs = scpi_sensors->attrs;
scpi_sensors      238 drivers/hwmon/scpi-hwmon.c 	scpi_sensors->groups[0] = &scpi_sensors->group;
scpi_sensors      240 drivers/hwmon/scpi-hwmon.c 	platform_set_drvdata(pdev, scpi_sensors);
scpi_sensors      243 drivers/hwmon/scpi-hwmon.c 			"scpi_sensors", scpi_sensors, scpi_sensors->groups);
scpi_sensors      256 drivers/hwmon/scpi-hwmon.c 	INIT_LIST_HEAD(&scpi_sensors->thermal_zones);
scpi_sensors      258 drivers/hwmon/scpi-hwmon.c 		struct sensor_data *sensor = &scpi_sensors->data[i];
scpi_sensors      270 drivers/hwmon/scpi-hwmon.c 		zone->scpi_sensors = scpi_sensors;