Home
last modified time | relevance | path

Searched refs:sensor_data (Results 1 – 5 of 5) sorted by relevance

/drivers/hwmon/
Dscpi-hwmon.c25 struct sensor_data { struct
42 struct sensor_data *data; argument
54 struct sensor_data *sensor = &scpi_sensors->data[zone->sensor_id]; in scpi_read_temp()
72 struct sensor_data *sensor; in scpi_show_sensor()
76 sensor = container_of(attr, struct sensor_data, dev_attr_input); in scpi_show_sensor()
88 struct sensor_data *sensor; in scpi_show_label()
90 sensor = container_of(attr, struct sensor_data, dev_attr_label); in scpi_show_label()
150 struct sensor_data *sensor = &scpi_sensors->data[idx]; in scpi_hwmon_probe()
226 struct sensor_data *sensor = &scpi_sensors->data[i]; in scpi_hwmon_probe()
Dibmpowernv.c71 struct sensor_data { struct
89 struct sensor_data *sdata = container_of(devattr, struct sensor_data, in show_sensor() argument
111 struct sensor_data *sdata = container_of(devattr, struct sensor_data, in show_label()
129 struct sensor_data *sdata, const char *label) in make_sensor_label()
264 static u32 get_sensor_hwmon_index(struct sensor_data *sdata, in get_sensor_hwmon_index()
265 struct sensor_data *sdata_table, int count) in get_sensor_hwmon_index()
326 static void create_hwmon_attr(struct sensor_data *sdata, const char *attr_name, in create_hwmon_attr()
352 struct sensor_data *sdata; in create_device_attrs()
/drivers/media/usb/gspca/
Dsonixb.c95 struct sensor_data { struct
435 static const struct sensor_data sensor_data[] = { variable
557 i2cOV[1] = sensor_data[sd->sensor].sensor_addr; in setbrightness()
645 i2c[1] = sensor_data[sd->sensor].sensor_addr; in setgain()
777 i2c[1] = sensor_data[sd->sensor].sensor_addr; in setexposure()
883 i2c[1] = sensor_data[sd->sensor].sensor_addr; in setfreq()
904 if (sensor_data[sd->sensor].flags & F_SIF) { in do_autogain()
944 if (!(sensor_data[sd->sensor].flags & F_SIF)) { in sd_config()
1110 memcpy(&regs[0x01], sensor_data[sd->sensor].bridge_init, 0x19); in sd_start()
1125 if (sensor_data[sd->sensor].flags & F_SIF) { in sd_start()
[all …]
Dt613.c148 static const struct additional_sensor_data sensor_data[] = { variable
526 all_gain_reg[7] = sensor_data[sd->sensor].reg80; in setawb_n_RGB()
644 sensor = &sensor_data[sd->sensor]; in sd_init()
798 sensor = &sensor_data[sd->sensor]; in sd_start()
818 reg_w_buf(gspca_dev, sensor_data[sd->sensor].stream, in sd_stopN()
819 sizeof sensor_data[sd->sensor].stream); in sd_stopN()
820 reg_w_buf(gspca_dev, sensor_data[sd->sensor].stream, in sd_stopN()
821 sizeof sensor_data[sd->sensor].stream); in sd_stopN()
/drivers/thermal/
Dof-thermal.c87 void *sensor_data; member
101 return data->ops->get_temp(data->sensor_data, temp); in of_thermal_get_temp()
187 return data->ops->set_emul_temp(data->sensor_data, temp); in of_thermal_set_emul_temp()
200 r = data->ops->get_trend(data->sensor_data, &dev_trend); in of_thermal_get_trend()
421 tz->sensor_data = data; in thermal_zone_of_add_sensor()
560 tz->sensor_data = NULL; in thermal_zone_of_sensor_unregister()