Home
last modified time | relevance | path

Searched refs:sensor (Results 1 – 200 of 437) sorted by relevance

123

/linux-4.4.14/drivers/media/i2c/smiapp/
Dsmiapp-core.c66 static int smiapp_read_frame_fmt(struct smiapp_sensor *sensor) in smiapp_read_frame_fmt() argument
68 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_read_frame_fmt()
76 rval = smiapp_read(sensor, SMIAPP_REG_U8_FRAME_FORMAT_MODEL_TYPE, in smiapp_read_frame_fmt()
81 rval = smiapp_read(sensor, SMIAPP_REG_U8_FRAME_FORMAT_MODEL_SUBTYPE, in smiapp_read_frame_fmt()
107 sensor, in smiapp_read_frame_fmt()
121 sensor, in smiapp_read_frame_fmt()
178 || pixels >= sensor->limits[SMIAPP_LIMIT_MIN_FRAME_LENGTH_LINES] / 2) in smiapp_read_frame_fmt()
198 static int smiapp_pll_configure(struct smiapp_sensor *sensor) in smiapp_pll_configure() argument
200 struct smiapp_pll *pll = &sensor->pll; in smiapp_pll_configure()
204 sensor, SMIAPP_REG_U16_VT_PIX_CLK_DIV, pll->vt.pix_clk_div); in smiapp_pll_configure()
[all …]
Dsmiapp-quirk.c23 static int smiapp_write_8(struct smiapp_sensor *sensor, u16 reg, u8 val) in smiapp_write_8() argument
25 return smiapp_write(sensor, SMIAPP_REG_MK_U8(reg), val); in smiapp_write_8()
28 static int smiapp_write_8s(struct smiapp_sensor *sensor, in smiapp_write_8s() argument
31 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_write_8s()
35 rval = smiapp_write_8(sensor, regs->reg, regs->val); in smiapp_write_8s()
47 void smiapp_replace_limit(struct smiapp_sensor *sensor, in smiapp_replace_limit() argument
50 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_replace_limit()
55 sensor->limits[limit] = val; in smiapp_replace_limit()
58 static int jt8ew9_limits(struct smiapp_sensor *sensor) in jt8ew9_limits() argument
60 if (sensor->minfo.revision_number_major < 0x03) in jt8ew9_limits()
[all …]
Dsmiapp-quirk.h48 int (*limits)(struct smiapp_sensor *sensor);
49 int (*post_poweron)(struct smiapp_sensor *sensor);
50 int (*pre_streamon)(struct smiapp_sensor *sensor);
51 int (*post_streamoff)(struct smiapp_sensor *sensor);
52 unsigned long (*pll_flags)(struct smiapp_sensor *sensor);
53 int (*init)(struct smiapp_sensor *sensor);
54 int (*reg_access)(struct smiapp_sensor *sensor, bool write, u32 *reg,
66 void smiapp_replace_limit(struct smiapp_sensor *sensor,
75 #define smiapp_call_quirk(sensor, _quirk, ...) \ argument
76 ((sensor)->minfo.quirk && \
[all …]
Dsmiapp-regs.c75 static int ____smiapp_read(struct smiapp_sensor *sensor, u16 reg, in ____smiapp_read() argument
78 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in ____smiapp_read()
134 static int ____smiapp_read_8only(struct smiapp_sensor *sensor, u16 reg, in ____smiapp_read_8only() argument
145 rval = ____smiapp_read(sensor, reg + i, 1, &val8); in ____smiapp_read_8only()
158 static int __smiapp_read(struct smiapp_sensor *sensor, u32 reg, u32 *val, in __smiapp_read() argument
161 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in __smiapp_read()
170 rval = ____smiapp_read(sensor, SMIAPP_REG_ADDR(reg), len, val); in __smiapp_read()
172 rval = ____smiapp_read_8only(sensor, SMIAPP_REG_ADDR(reg), len, in __smiapp_read()
183 int smiapp_read_no_quirk(struct smiapp_sensor *sensor, u32 reg, u32 *val) in smiapp_read_no_quirk() argument
186 sensor, reg, val, in smiapp_read_no_quirk()
[all …]
Dsmiapp-regs.h38 int smiapp_read_no_quirk(struct smiapp_sensor *sensor, u32 reg, u32 *val);
39 int smiapp_read(struct smiapp_sensor *sensor, u32 reg, u32 *val);
40 int smiapp_read_8only(struct smiapp_sensor *sensor, u32 reg, u32 *val);
41 int smiapp_write_no_quirk(struct smiapp_sensor *sensor, u32 reg, u32 val);
42 int smiapp_write(struct smiapp_sensor *sensor, u32 reg, u32 val);
DKconfig2 tristate "SMIA++/SMIA sensor support"
Dsmiapp.h172 struct smiapp_sensor *sensor; member
255 (to_smiapp_subdev(_sd)->sensor)
/linux-4.4.14/drivers/thermal/st/
Dst_thermal.c28 static int st_thermal_alloc_regfields(struct st_thermal_sensor *sensor) in st_thermal_alloc_regfields() argument
30 struct device *dev = sensor->dev; in st_thermal_alloc_regfields()
31 struct regmap *regmap = sensor->regmap; in st_thermal_alloc_regfields()
32 const struct reg_field *reg_fields = sensor->cdata->reg_fields; in st_thermal_alloc_regfields()
34 sensor->dcorrect = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields()
37 sensor->overflow = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields()
40 sensor->temp_data = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields()
43 if (IS_ERR(sensor->dcorrect) || in st_thermal_alloc_regfields()
44 IS_ERR(sensor->overflow) || in st_thermal_alloc_regfields()
45 IS_ERR(sensor->temp_data)) { in st_thermal_alloc_regfields()
[all …]
Dst_thermal_memmap.c43 struct st_thermal_sensor *sensor = sdata; in st_mmap_thermal_trip_handler() local
45 thermal_zone_device_update(sensor->thermal_dev); in st_mmap_thermal_trip_handler()
51 static int st_mmap_power_ctrl(struct st_thermal_sensor *sensor, in st_mmap_power_ctrl() argument
57 return regmap_update_bits(sensor->regmap, STIH416_MPE_CONF, mask, val); in st_mmap_power_ctrl()
60 static int st_mmap_alloc_regfields(struct st_thermal_sensor *sensor) in st_mmap_alloc_regfields() argument
62 struct device *dev = sensor->dev; in st_mmap_alloc_regfields()
63 struct regmap *regmap = sensor->regmap; in st_mmap_alloc_regfields()
64 const struct reg_field *reg_fields = sensor->cdata->reg_fields; in st_mmap_alloc_regfields()
66 sensor->int_thresh_hi = devm_regmap_field_alloc(dev, regmap, in st_mmap_alloc_regfields()
68 sensor->int_enable = devm_regmap_field_alloc(dev, regmap, in st_mmap_alloc_regfields()
[all …]
Dst_thermal_syscfg.c67 static int st_syscfg_power_ctrl(struct st_thermal_sensor *sensor, in st_syscfg_power_ctrl() argument
70 return regmap_field_write(sensor->pwr, power_state); in st_syscfg_power_ctrl()
73 static int st_syscfg_alloc_regfields(struct st_thermal_sensor *sensor) in st_syscfg_alloc_regfields() argument
75 struct device *dev = sensor->dev; in st_syscfg_alloc_regfields()
77 sensor->pwr = devm_regmap_field_alloc(dev, sensor->regmap, in st_syscfg_alloc_regfields()
78 sensor->cdata->reg_fields[TEMP_PWR]); in st_syscfg_alloc_regfields()
80 if (IS_ERR(sensor->pwr)) { in st_syscfg_alloc_regfields()
82 return PTR_ERR(sensor->pwr); in st_syscfg_alloc_regfields()
88 static int st_syscfg_regmap_init(struct st_thermal_sensor *sensor) in st_syscfg_regmap_init() argument
90 sensor->regmap = in st_syscfg_regmap_init()
[all …]
/linux-4.4.14/drivers/media/i2c/
Dmt9m032.c168 #define to_dev(sensor) \ argument
169 (&((struct i2c_client *)v4l2_get_subdevdata(&(sensor)->subdev))->dev)
181 static u32 mt9m032_row_time(struct mt9m032 *sensor, unsigned int width) in mt9m032_row_time() argument
187 ns = div_u64(1000000000ULL * effective_width, sensor->pix_clock); in mt9m032_row_time()
188 dev_dbg(to_dev(sensor), "MT9M032 line time: %u ns\n", ns); in mt9m032_row_time()
192 static int mt9m032_update_timing(struct mt9m032 *sensor, in mt9m032_update_timing() argument
195 struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev); in mt9m032_update_timing()
196 struct v4l2_rect *crop = &sensor->crop; in mt9m032_update_timing()
202 interval = &sensor->frame_interval; in mt9m032_update_timing()
204 row_time = mt9m032_row_time(sensor, crop->width); in mt9m032_update_timing()
[all …]
Ds5k6a3.c126 struct s5k6a3 *sensor, struct v4l2_subdev_pad_config *cfg, in __s5k6a3_get_format() argument
130 return cfg ? v4l2_subdev_get_try_format(&sensor->subdev, cfg, pad) : NULL; in __s5k6a3_get_format()
132 return &sensor->format; in __s5k6a3_get_format()
139 struct s5k6a3 *sensor = sd_to_s5k6a3(sd); in s5k6a3_set_fmt() local
144 mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which); in s5k6a3_set_fmt()
146 mutex_lock(&sensor->lock); in s5k6a3_set_fmt()
149 mutex_unlock(&sensor->lock); in s5k6a3_set_fmt()
158 struct s5k6a3 *sensor = sd_to_s5k6a3(sd); in s5k6a3_get_fmt() local
161 mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which); in s5k6a3_get_fmt()
163 mutex_lock(&sensor->lock); in s5k6a3_get_fmt()
[all …]
Dvs6624.c576 struct vs6624 *sensor = to_vs6624(sd); in vs6624_set_fmt() local
646 sensor->fmt = *fmt; in vs6624_set_fmt()
655 struct vs6624 *sensor = to_vs6624(sd); in vs6624_get_fmt() local
660 format->format = sensor->fmt; in vs6624_get_fmt()
666 struct vs6624 *sensor = to_vs6624(sd); in vs6624_g_parm() local
674 cp->timeperframe.numerator = sensor->frame_rate.denominator; in vs6624_g_parm()
675 cp->timeperframe.denominator = sensor->frame_rate.numerator; in vs6624_g_parm()
681 struct vs6624 *sensor = to_vs6624(sd); in vs6624_s_parm() local
696 sensor->frame_rate.numerator = tpf->denominator; in vs6624_s_parm()
697 sensor->frame_rate.denominator = tpf->numerator; in vs6624_s_parm()
[all …]
DKconfig304 This is a Video4Linux2 sensor-level driver for the TI TVP5146/47
474 comment "Camera sensor devices"
483 tristate "OmniVision OV2659 sensor support"
487 This is a Video4Linux2 sensor-level driver for the OmniVision
494 tristate "OmniVision OV7640 sensor support"
498 This is a Video4Linux2 sensor-level driver for the OmniVision
505 tristate "OmniVision OV7670 sensor support"
509 This is a Video4Linux2 sensor-level driver for the OmniVision
514 tristate "OmniVision OV9650/OV9652 sensor support"
517 This is a V4L2 sensor-level driver for the Omnivision
[all …]
/linux-4.4.14/drivers/hwmon/
Dscpi-hwmon.c54 struct sensor_data *sensor = &scpi_sensors->data[zone->sensor_id]; in scpi_read_temp() local
58 ret = scpi_ops->sensor_get_value(sensor->info.sensor_id, &value); in scpi_read_temp()
72 struct sensor_data *sensor; in scpi_show_sensor() local
76 sensor = container_of(attr, struct sensor_data, dev_attr_input); in scpi_show_sensor()
78 ret = scpi_ops->sensor_get_value(sensor->info.sensor_id, &value); in scpi_show_sensor()
88 struct sensor_data *sensor; in scpi_show_label() local
90 sensor = container_of(attr, struct sensor_data, dev_attr_label); in scpi_show_label()
92 return sprintf(buf, "%s\n", sensor->info.name); in scpi_show_label()
150 struct sensor_data *sensor = &scpi_sensors->data[idx]; in scpi_hwmon_probe() local
152 ret = scpi_ops->sensor_get_info(i, &sensor->info); in scpi_hwmon_probe()
[all …]
Dasus_atk0110.c190 static int atk_read_value(struct atk_sensor_data *sensor, u64 *value);
455 static int atk_read_value_old(struct atk_sensor_data *sensor, u64 *value) in atk_read_value_old() argument
457 struct atk_data *data = sensor->data; in atk_read_value_old()
464 switch (sensor->type) { in atk_read_value_old()
479 id.integer.value = sensor->id; in atk_read_value_old()
608 static int atk_read_value_new(struct atk_sensor_data *sensor, u64 *value) in atk_read_value_new() argument
610 struct atk_data *data = sensor->data; in atk_read_value_new()
616 obj = atk_gitm(data, sensor->id); in atk_read_value_new()
627 dev_warn(dev, "Read failed, sensor = %#llx\n", sensor->id); in atk_read_value_new()
638 static int atk_read_value(struct atk_sensor_data *sensor, u64 *value) in atk_read_value() argument
[all …]
Dibmpex.c187 static int ibmpex_query_sensor_name(struct ibmpex_bmc_data *data, int sensor) in ibmpex_query_sensor_name() argument
190 data->tx_msg_data[1] = sensor; in ibmpex_query_sensor_name()
202 static int ibmpex_query_sensor_data(struct ibmpex_bmc_data *data, int sensor) in ibmpex_query_sensor_data() argument
205 data->tx_msg_data[1] = sensor; in ibmpex_query_sensor_data()
213 sensor); in ibmpex_query_sensor_data()
343 int counter, int sensor, int func) in create_sensor() argument
359 sysfs_attr_init(&data->sensors[sensor].attr[func].dev_attr.attr); in create_sensor()
360 data->sensors[sensor].attr[func].dev_attr.attr.name = n; in create_sensor()
361 data->sensors[sensor].attr[func].dev_attr.attr.mode = S_IRUGO; in create_sensor()
362 data->sensors[sensor].attr[func].dev_attr.show = ibmpex_show_sensor; in create_sensor()
[all …]
DKconfig47 If you say yes here you get support for the thermal sensor part
59 If you say yes here you get support for the sensor part of the first
74 If you say yes here you get support for the sensor part of the
119 and ADM1023 sensor chips and clones: Maxim MAX1617 and MAX1617A,
131 and Philips NE1619 sensor chips.
142 sensor chip.
152 sensor chip.
163 and ADM1030 sensor chips.
174 Dallas DS1780, National Semiconductor LM81 sensor chips.
265 tristate "AMD Athlon64/FX or Opteron temperature sensor"
[all …]
Dab8500.c80 static int ab8500_read_sensor(struct abx500_temp *data, u8 sensor, int *temp) in ab8500_read_sensor() argument
85 if (sensor == BAT_CTRL) { in ab8500_read_sensor()
87 } else if (sensor == BTEMP_BALL) { in ab8500_read_sensor()
90 voltage = ab8500_gpadc_convert(ab8500_data->gpadc, sensor); in ab8500_read_sensor()
Dabituguru3.c844 const struct abituguru3_sensor_info *sensor; in show_value() local
849 sensor = &data->sensors[attr->index]; in show_value()
853 value = data->settings[sensor->port][attr->nr]; in show_value()
855 value = data->value[sensor->port]; in show_value()
858 value = (value * sensor->multiplier) / sensor->divisor + in show_value()
859 sensor->offset; in show_value()
865 if (sensor->type == ABIT_UGURU3_TEMP_SENSOR) in show_value()
Ddell-smm-hwmon.c270 static int i8k_get_temp_type(int sensor) in i8k_get_temp_type() argument
274 regs.ebx = sensor & 0xff; in i8k_get_temp_type()
281 static int _i8k_get_temp(int sensor) in _i8k_get_temp() argument
285 .ebx = sensor & 0xff, in _i8k_get_temp()
291 static int i8k_get_temp(int sensor) in i8k_get_temp() argument
293 int temp = _i8k_get_temp(sensor); in i8k_get_temp()
304 temp = _i8k_get_temp(sensor); in i8k_get_temp()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dg84.c56 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in g84_therm_program_alarms() local
61 spin_lock_irqsave(&therm->sensor.alarm_program_lock, flags); in g84_therm_program_alarms()
67 nvkm_wr32(device, 0x20484, sensor->thrs_shutdown.hysteresis); in g84_therm_program_alarms()
68 nvkm_wr32(device, 0x20480, sensor->thrs_shutdown.temp); in g84_therm_program_alarms()
71 nvkm_wr32(device, 0x204c4, sensor->thrs_fan_boost.temp); in g84_therm_program_alarms()
74 nvkm_wr32(device, 0x204c0, sensor->thrs_critical.temp); in g84_therm_program_alarms()
77 nvkm_wr32(device, 0x20414, sensor->thrs_down_clock.temp); in g84_therm_program_alarms()
78 spin_unlock_irqrestore(&therm->sensor.alarm_program_lock, flags); in g84_therm_program_alarms()
82 sensor->thrs_fan_boost.temp, in g84_therm_program_alarms()
83 sensor->thrs_fan_boost.hysteresis, in g84_therm_program_alarms()
[all …]
Dtemp.c62 therm->sensor.alarm_state[thrs] = st; in nvkm_therm_sensor_set_threshold_state()
70 return therm->sensor.alarm_state[thrs]; in nvkm_therm_sensor_get_threshold_state()
165 container_of(alarm, struct nvkm_therm, sensor.therm_poll_alarm); in alarm_timer_callback()
166 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in alarm_timer_callback() local
170 spin_lock_irqsave(&therm->sensor.alarm_program_lock, flags); in alarm_timer_callback()
172 nvkm_therm_threshold_hyst_polling(therm, &sensor->thrs_fan_boost, in alarm_timer_callback()
176 &sensor->thrs_down_clock, in alarm_timer_callback()
179 nvkm_therm_threshold_hyst_polling(therm, &sensor->thrs_critical, in alarm_timer_callback()
182 nvkm_therm_threshold_hyst_polling(therm, &sensor->thrs_shutdown, in alarm_timer_callback()
185 spin_unlock_irqrestore(&therm->sensor.alarm_program_lock, flags); in alarm_timer_callback()
[all …]
Dnv50.c132 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in nv50_temp_get() local
138 if (!sensor->slope_div || !sensor->slope_mult || in nv50_temp_get()
139 !sensor->offset_num || !sensor->offset_den) in nv50_temp_get()
142 core_temp = core_temp * sensor->slope_mult / sensor->slope_div; in nv50_temp_get()
143 core_temp = core_temp + sensor->offset_num / sensor->offset_den; in nv50_temp_get()
144 core_temp = core_temp + sensor->offset_constant - 8; in nv50_temp_get()
Dnv40.c76 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in nv40_temp_get() local
90 if (!sensor->slope_div || !sensor->slope_mult || in nv40_temp_get()
91 !sensor->offset_num || !sensor->offset_den) in nv40_temp_get()
94 core_temp = core_temp * sensor->slope_mult / sensor->slope_div; in nv40_temp_get()
95 core_temp = core_temp + sensor->offset_num / sensor->offset_den; in nv40_temp_get()
96 core_temp = core_temp + sensor->offset_constant - 8; in nv40_temp_get()
Dic.c34 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in probe_monitoring_device() local
52 info->type, info->addr, sensor->offset_constant); in probe_monitoring_device()
/linux-4.4.14/drivers/thermal/
Dhisi_thermal.c80 struct hisi_thermal_sensor *sensor) in hisi_thermal_get_sensor_temp() argument
94 writel((sensor->id << 12), data->regs + TEMP0_CFG); in hisi_thermal_get_sensor_temp()
112 struct hisi_thermal_sensor *sensor; in hisi_thermal_enable_bind_irq_sensor() local
116 sensor = &data->sensors[data->irq_bind_sensor]; in hisi_thermal_enable_bind_irq_sensor()
126 writel((sensor->id << 12), data->regs + TEMP0_CFG); in hisi_thermal_enable_bind_irq_sensor()
129 writel(_temp_to_step(sensor->thres_temp) | 0x0FFFFFF00, in hisi_thermal_enable_bind_irq_sensor()
160 struct hisi_thermal_sensor *sensor = _sensor; in hisi_thermal_get_temp() local
161 struct hisi_thermal_data *data = sensor->thermal; in hisi_thermal_get_temp()
166 *temp = hisi_thermal_get_sensor_temp(data, sensor); in hisi_thermal_get_temp()
168 sensor->sensor_temp = *temp; in hisi_thermal_get_temp()
[all …]
Ddove_thermal.c47 void __iomem *sensor; member
78 reg = readl_relaxed(priv->sensor); in dove_init_sensor()
80 writel(reg, priv->sensor); in dove_init_sensor()
84 reg = readl_relaxed(priv->sensor); in dove_init_sensor()
114 reg = readl_relaxed(priv->sensor); in dove_get_temp()
142 priv->sensor = devm_ioremap_resource(&pdev->dev, res); in dove_thermal_probe()
143 if (IS_ERR(priv->sensor)) in dove_thermal_probe()
144 return PTR_ERR(priv->sensor); in dove_thermal_probe()
Dtegra_soctherm.c217 calculate_tsensor_calibration(const struct tegra_tsensor *sensor, in calculate_tsensor_calibration() argument
228 err = tegra_fuse_readl(sensor->calib_fuse_offset, &val); in calculate_tsensor_calibration()
240 mult = sensor->config->pdiv * sensor->config->tsample_ate; in calculate_tsensor_calibration()
241 div = sensor->config->tsample * sensor->config->pdiv_ate; in calculate_tsensor_calibration()
250 therma = div64_s64_precise((s64)therma * sensor->fuse_corr_alpha, in calculate_tsensor_calibration()
252 thermb = div64_s64_precise((s64)thermb * sensor->fuse_corr_alpha + in calculate_tsensor_calibration()
253 sensor->fuse_corr_beta, (s64)1000000LL); in calculate_tsensor_calibration()
262 const struct tegra_tsensor *sensor, in enable_tsensor() argument
265 void __iomem *base = tegra->regs + sensor->base; in enable_tsensor()
270 err = calculate_tsensor_calibration(sensor, shared, &calib); in enable_tsensor()
[all …]
Dkirkwood_thermal.c32 void __iomem *sensor; member
41 reg = readl_relaxed(priv->sensor); in kirkwood_get_temp()
83 priv->sensor = devm_ioremap_resource(&pdev->dev, res); in kirkwood_thermal_probe()
84 if (IS_ERR(priv->sensor)) in kirkwood_thermal_probe()
85 return PTR_ERR(priv->sensor); in kirkwood_thermal_probe()
Darmada_thermal.c48 void __iomem *sensor; member
94 reg = readl_relaxed(priv->sensor); in armadaxp_init_sensor()
96 writel(reg, priv->sensor); in armadaxp_init_sensor()
152 unsigned long reg = readl_relaxed(priv->sensor); in armada_is_valid()
171 reg = readl_relaxed(priv->sensor); in armada_get_temp()
272 priv->sensor = devm_ioremap_resource(&pdev->dev, res); in armada_thermal_probe()
273 if (IS_ERR(priv->sensor)) in armada_thermal_probe()
274 return PTR_ERR(priv->sensor); in armada_thermal_probe()
Drockchip_thermal.c494 rockchip_thermal_toggle_sensor(struct rockchip_thermal_sensor *sensor, bool on) in rockchip_thermal_toggle_sensor() argument
496 struct thermal_zone_device *tzd = sensor->tzd; in rockchip_thermal_toggle_sensor()
519 struct rockchip_thermal_sensor *sensor = _sensor; in rockchip_thermal_get_temp() local
520 struct rockchip_thermal_data *thermal = sensor->thermal; in rockchip_thermal_get_temp()
521 const struct rockchip_tsadc_chip *tsadc = sensor->thermal->chip; in rockchip_thermal_get_temp()
525 sensor->id, thermal->regs, out_temp); in rockchip_thermal_get_temp()
527 sensor->id, *out_temp, retval); in rockchip_thermal_get_temp()
595 struct rockchip_thermal_sensor *sensor, in rockchip_thermal_register_sensor() argument
605 sensor->thermal = thermal; in rockchip_thermal_register_sensor()
606 sensor->id = id; in rockchip_thermal_register_sensor()
[all …]
DKconfig24 In case a sensor is registered with the thermal
26 as a hwmon. The sensor will then have the common
182 Enable this to plug hisilicon's thermal sensor driver into the Linux
187 tristate "Temperature sensor driver for Freescale i.MX SoCs"
198 bool "SPEAr thermal sensor driver"
202 Enable this to plug the SPEAr thermal sensor driver into the Linux
210 Rockchip thermal driver provides support for Temperature sensor
220 Enable this to plug the R-Car thermal sensor driver into the Linux
224 tristate "Temperature sensor on Marvell Kirkwood SoCs"
228 Support for the Kirkwood thermal sensor driver into the Linux thermal
[all …]
/linux-4.4.14/drivers/input/misc/
Dmpu3050.c198 struct mpu3050_sensor *sensor = input_get_drvdata(input); in mpu3050_input_open() local
201 pm_runtime_get(sensor->dev); in mpu3050_input_open()
204 error = i2c_smbus_write_byte_data(sensor->client, MPU3050_INT_CFG, in mpu3050_input_open()
209 pm_runtime_put(sensor->dev); in mpu3050_input_open()
225 struct mpu3050_sensor *sensor = input_get_drvdata(input); in mpu3050_input_close() local
227 pm_runtime_put(sensor->dev); in mpu3050_input_close()
240 struct mpu3050_sensor *sensor = data; in mpu3050_interrupt_thread() local
243 mpu3050_read_xyz(sensor->client, &axis); in mpu3050_interrupt_thread()
245 input_report_abs(sensor->idev, ABS_X, axis.x); in mpu3050_interrupt_thread()
246 input_report_abs(sensor->idev, ABS_Y, axis.y); in mpu3050_interrupt_thread()
[all …]
/linux-4.4.14/drivers/media/usb/gspca/
Dt613.c51 u8 sensor; member
526 all_gain_reg[7] = sensor_data[sd->sensor].reg80; in setawb_n_RGB()
548 switch (sd->sensor) { in setfreq()
582 const struct additional_sensor_data *sensor; in sd_init() local
600 sd->sensor = SENSOR_TAS5130A; in sd_init()
604 sd->sensor = SENSOR_LT168G; in sd_init()
608 sd->sensor = SENSOR_OTHER; in sd_init()
612 sd->sensor = SENSOR_OM6802; in sd_init()
619 if (sd->sensor == SENSOR_OM6802) { in sd_init()
644 sensor = &sensor_data[sd->sensor]; in sd_init()
[all …]
Dsq930x.c46 u8 sensor; member
492 const struct sensor_s *sensor; in i2c_write() local
500 sensor = &sensor_tb[sd->sensor]; in i2c_write()
502 val = (sensor->i2c_addr << 8) | SQ930_CTRL_I2C_IO; in i2c_write()
506 *buf++ = sensor->i2c_dum; in i2c_write()
513 *buf++ = sensor->i2c_dum; in i2c_write()
637 const struct sensor_s *sensor; in cmos_probe() local
647 sensor = &sensor_tb[probe_order[i]]; in cmos_probe()
648 ucbus_write(&sd->gspca_dev, sensor->cmd, sensor->cmd_len, 8); in cmos_probe()
649 gpio_init(sd, sensor->gpio); in cmos_probe()
[all …]
Dsonixb.c80 __u8 sensor; /* Type of image sensor chip */ member
118 #define SENS(bridge, sensor, _flags, _sensor_addr) \ argument
121 .sensor_init = sensor, \
122 .sensor_init_size = sizeof(sensor), \
545 switch (sd->sensor) { in setbrightness()
552 i2cOV[1] = sensor_data[sd->sensor].sensor_addr; in setbrightness()
565 if (sd->sensor == SENSOR_PAS106) { in setbrightness()
592 switch (sd->sensor) { in setgain()
637 if (sd->sensor == SENSOR_OV7630 && gain >= 32) in setgain()
640 i2c[1] = sensor_data[sd->sensor].sensor_addr; in setgain()
[all …]
Dsonixj.c82 u8 sensor; /* Type of image sensor chip */ member
1244 switch (sd->sensor) { in i2c_w1()
1307 switch (sd->sensor) { in i2c_r()
1405 sd->sensor = SENSOR_MI0360B; in mi0360_probe()
1409 sd->sensor = SENSOR_MT9V111; in mi0360_probe()
1436 sd->sensor = SENSOR_SOI768; in ov7630_probe()
1476 sd->sensor = SENSOR_PO1030; in ov7648_probe()
1499 sd->sensor = SENSOR_GC0307; in po2030n_probe()
1529 sd->sensor = id->driver_info >> 8; in sd_config()
1533 if (sd->sensor == SENSOR_ADCM1700) { in sd_config()
[all …]
Dov534.c86 u8 sensor; member
787 if (sd->sensor != SENSOR_OV772x) in set_frame_rate()
813 if (sd->sensor == SENSOR_OV767x) { in sethue()
848 if (sd->sensor == SENSOR_OV767x) { in setsaturation()
872 if (sd->sensor == SENSOR_OV767x) { in setbrightness()
885 if (sd->sensor == SENSOR_OV767x) in setcontrast()
923 if (sd->sensor == SENSOR_OV767x) { in setexposure()
944 if (sd->sensor == SENSOR_OV767x) { in getexposure()
976 if (sd->sensor == SENSOR_OV772x) in setawb()
982 if (sd->sensor == SENSOR_OV772x) in setawb()
[all …]
Dov519.c111 s8 sensor; /* Type of image sensor chip (SEN_*) */ member
2664 sd->sensor = SEN_OV2610; in ov_hires_configure()
2668 sd->sensor = SEN_OV2610AE; in ov_hires_configure()
2672 sd->sensor = SEN_OV9600; in ov_hires_configure()
2679 sd->sensor = SEN_OV3610; in ov_hires_configure()
2704 sd->sensor = SEN_OV8610; in ov8xx0_configure()
2735 sd->sensor = SEN_OV7670; in ov7xx0_configure()
2738 sd->sensor = SEN_OV7610; in ov7xx0_configure()
2744 sd->sensor = SEN_OV7620AE; in ov7xx0_configure()
2747 sd->sensor = SEN_OV76BE; in ov7xx0_configure()
[all …]
Dvc032x.c44 u8 sensor; member
3142 sd->sensor = SENSOR_POxxxx; /* no probe */ in sd_config()
3152 int sensor; in sd_init() local
3167 if (sd->sensor != SENSOR_POxxxx) in sd_init()
3168 sensor = vc032x_probe_sensor(gspca_dev); in sd_init()
3170 sensor = sd->sensor; in sd_init()
3172 switch (sensor) { in sd_init()
3208 sd->sensor = sensor; in sd_init()
3215 switch (sensor) { in sd_init()
3238 cam->npkt = npkt[sd->sensor]; in sd_init()
[all …]
Dzc3xx.c61 u8 sensor; /* Type of image sensor chip */ member
5705 matrix = matrix_tb[sd->sensor]; in setmatrix()
5900 zc3_freq = freq_tb[sd->sensor][i]; in setlightfreq()
5904 switch (sd->sensor) { in setlightfreq()
5999 static void send_unknown(struct gspca_dev *gspca_dev, int sensor) in send_unknown() argument
6002 switch (sensor) { in send_unknown()
6024 if (sensor == SENSOR_PAS202B) in send_unknown()
6031 static void start_2wr_probe(struct gspca_dev *gspca_dev, int sensor) in start_2wr_probe() argument
6034 reg_w(gspca_dev, sensor, 0x0010); in start_2wr_probe()
6290 int sensor; in zcxx_probeSensor() local
[all …]
Dtopro.c137 u8 sensor; member
1414 if (sd->sensor == SENSOR_CX0342) { in setexposure()
1426 if (sd->sensor == SENSOR_CX0342) { in setexposure()
1459 if (sd->sensor == SENSOR_SOI763A) in set_dqt()
3910 if (sd->sensor == SENSOR_SOI763A) in set_resolution()
3957 sd->sensor == SENSOR_CX0342 ? 0x10 : 0x90); in setframerate()
3964 if (sd->sensor == SENSOR_CX0342) in setframerate()
3980 if (sd->sensor == SENSOR_CX0342) { in sd_setgain()
3992 if (sd->sensor == SENSOR_CX0342) in sd_setgain()
4065 sd->sensor = force_sensor; in sd_init()
[all …]
Dsn9c20x.c111 u8 sensor; member
1177 sd->sensor = SENSOR_MT9V011; in mt9v_init_sensor()
1195 sd->sensor = SENSOR_MT9V111; in mt9v_init_sensor()
1218 sd->sensor = SENSOR_MT9V112; in mt9v_init_sensor()
1376 switch (sd->sensor) { in set_hvflip()
1446 switch (sd->sensor) { in set_exposure()
1501 switch (sd->sensor) { in set_gain()
1569 if (sd->sensor >= SENSOR_MT9V011 && in sd_dbg_g_register()
1570 sd->sensor <= SENSOR_MT9M112) { in sd_dbg_g_register()
1593 if (sd->sensor >= SENSOR_MT9V011 && in sd_dbg_s_register()
[all …]
Dov534_9.c56 u8 sensor; member
1272 if (sd->sensor == SENSOR_OV562x) { in setbrightness()
1434 sd->sensor = SENSOR_OV965x; in sd_init()
1455 sd->sensor = SENSOR_OV971x; in sd_init()
1484 sd->sensor = SENSOR_OV562x; in sd_init()
1494 sd->sensor = SENSOR_OV361x; in sd_init()
1559 if (sd->sensor == SENSOR_OV971x) in sd_start()
1561 if (sd->sensor == SENSOR_OV562x) in sd_start()
1563 if (sd->sensor == SENSOR_OV361x) in sd_start()
1618 if (((struct sd *)gspca_dev)->sensor == SENSOR_OV361x) { in sd_stopN()
[all …]
Detoms.c37 char sensor; member
419 if (sd->sensor == SENSOR_PAS106) { in setcolors()
431 if (sd->sensor == SENSOR_PAS106) { in getcolors()
557 sd->sensor = id->driver_info; in sd_config()
558 if (sd->sensor == SENSOR_PAS106) { in sd_config()
574 if (sd->sensor == SENSOR_PAS106) in sd_init()
588 if (sd->sensor == SENSOR_PAS106) in sd_start()
609 if (sd->sensor == SENSOR_PAS106) { in Et_getgainG()
621 if (sd->sensor == SENSOR_PAS106) { in Et_setgainG()
742 if (sd->sensor == SENSOR_PAS106) in sd_init_controls()
Dspca561.c386 const __u16 (*sensor)[2]) in write_sensor_72a()
388 while ((*sensor)[0]) { in write_sensor_72a()
389 i2c_write(gspca_dev, (*sensor)[1], (*sensor)[0]); in write_sensor_72a()
390 sensor++; in write_sensor_72a()
/linux-4.4.14/Documentation/devicetree/bindings/hwmon/
Dibmpowernv.txt6 "ibm,opal-sensor-cooling-fan"
7 "ibm,opal-sensor-amb-temp"
8 "ibm,opal-sensor-power-supply"
9 "ibm,opal-sensor-power"
10 - sensor-id: an opaque id provided by the firmware to the kernel, identifies a
11 given sensor and its attribute data
16 sensor-id = <0x7052107>;
17 compatible = "ibm,opal-sensor-cooling-fan";
21 sensor-id = <0x5096000>;
22 compatible = "ibm,opal-sensor-amb-temp";
Dlm70.txt16 temperature-sensor@0 {
/linux-4.4.14/drivers/media/usb/gspca/m5602/
Dm5602_core.c105 if (!len || len > sd->sensor->i2c_regW) in m5602_read_sensor()
113 sd->sensor->i2c_slave_id); in m5602_read_sensor()
125 if (sd->sensor->i2c_regW == 1) { in m5602_read_sensor()
158 if (len > sd->sensor->i2c_regW || !len) in m5602_write_sensor()
164 buf[11] = sd->sensor->i2c_slave_id; in m5602_write_sensor()
209 sd->sensor = &po1030; in m5602_probe_sensor()
210 if (!sd->sensor->probe(sd)) in m5602_probe_sensor()
214 sd->sensor = &mt9m111; in m5602_probe_sensor()
215 if (!sd->sensor->probe(sd)) in m5602_probe_sensor()
219 sd->sensor = &s5k4aa; in m5602_probe_sensor()
[all …]
/linux-4.4.14/Documentation/video4linux/
Dsh_mobile_ceu_camera.txt7 sensor scales: horizontal and vertical scales, configured by the sensor driver
51 (1) to (2) - sensor cropped left or top
52 (2) to (2') - sensor cropped width or height
53 (3) to (3') - sensor scale
56 (5) to (5') - reverse sensor scale applied to CEU cropped width or height
57 (2) to (5) - reverse sensor scale applied to CEU cropped left or top
66 1. Calculate current sensor scales:
70 2. Calculate "effective" input crop (sensor subwindow) - CEU crop scaled back at
71 current sensor scales onto input window - this is user S_CROP:
80 4. Calculate sensor output window by applying combined scales to real input
[all …]
Dsoc-camera.txt8 - camera / camera device / camera sensor - a video-camera sensor chip, capable
22 drivers and camera sensor drivers. Later the soc-camera sensor API has been
33 sensor.
40 omap1_camera.c, pxa_camera.c, sh_mobile_ceu_camera.c, and multiple sensor
74 .add and .remove methods are called when a sensor is attached to or detached
76 parameters between the host and the sensor. .init_videobuf2 is called by
89 platform, and used to specify to which camera host bus the sensor is connected,
111 VIDIOC_S_CROP: sets location and sizes of the sensor window. Unit is one sensor
112 pixel. Changing sensor window sizes preserves any scaling factors, therefore
115 VIDIOC_S_FMT: sets user window. Should preserve previously set sensor window as
[all …]
Dcpia2_overview.txt8 CMOS sensors - the vvl6410 CIF sensor and the vvl6500 VGA sensor. These will
26 how the video from the sensor is processed. Examples are timing registers,
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dtherm.c69 struct nvbios_therm_sensor *sensor) in nvbios_therm_sensor_parse() argument
96 sensor->offset_constant = offset; in nvbios_therm_sensor_parse()
102 sensor->thrs_critical.temp = (value & 0xff0) >> 4; in nvbios_therm_sensor_parse()
103 sensor->thrs_critical.hysteresis = value & 0xf; in nvbios_therm_sensor_parse()
109 sensor->thrs_down_clock.temp = (value & 0xff0) >> 4; in nvbios_therm_sensor_parse()
110 sensor->thrs_down_clock.hysteresis = value & 0xf; in nvbios_therm_sensor_parse()
116 sensor->thrs_fan_boost.temp = (value & 0xff0) >> 4; in nvbios_therm_sensor_parse()
117 sensor->thrs_fan_boost.hysteresis = value & 0xf; in nvbios_therm_sensor_parse()
123 sensor->offset_num = value; in nvbios_therm_sensor_parse()
128 sensor->offset_den = value; in nvbios_therm_sensor_parse()
[all …]
/linux-4.4.14/drivers/iio/light/
DKconfig22 tristate "ADJD-S311-CR999 digital color sensor"
28 digital color light sensor.
34 tristate "AL3320A ambient light sensor"
38 ambient light sensor.
44 tristate "APDS9300 ambient light sensor"
48 ambient light sensor.
54 tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor"
61 APDS9960 gesture/RGB/ALS/proximity sensor.
67 tristate "ROHM BH1750 ambient light sensor"
81 This option enables ambient light sensor using
[all …]
DMakefile17 obj-$(CONFIG_HID_SENSOR_ALS) += hid-sensor-als.o
18 obj-$(CONFIG_HID_SENSOR_PROX) += hid-sensor-prox.o
/linux-4.4.14/drivers/hwmon/pmbus/
Dpmbus_core.c389 struct pmbus_sensor *sensor; in pmbus_update_device() local
420 for (sensor = data->sensors; sensor; sensor = sensor->next) { in pmbus_update_device()
421 if (!data->valid || sensor->update) in pmbus_update_device()
422 sensor->data in pmbus_update_device()
424 sensor->page, in pmbus_update_device()
425 sensor->reg); in pmbus_update_device()
440 struct pmbus_sensor *sensor) in pmbus_reg2data_linear() argument
446 if (sensor->class == PSC_VOLTAGE_OUT) { /* LINEAR16 */ in pmbus_reg2data_linear()
447 exponent = data->exponent[sensor->page]; in pmbus_reg2data_linear()
448 mantissa = (u16) sensor->data; in pmbus_reg2data_linear()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/media/i2c/
Dmt9v032.txt3 The Aptina MT9V032 is a 1/3-inch CMOS active pixel digital image sensor with
10 (a) "aptina,mt9v022" for MT9V022 color sensor
11 (b) "aptina,mt9v022m" for MT9V022 monochrome sensor
12 (c) "aptina,mt9v024" for MT9V024 color sensor
13 (d) "aptina,mt9v024m" for MT9V024 monochrome sensor
14 (e) "aptina,mt9v032" for MT9V032 color sensor
15 (f) "aptina,mt9v032m" for MT9V032 monochrome sensor
16 (g) "aptina,mt9v034" for MT9V034 color sensor
17 (h) "aptina,mt9v034m" for MT9V034 monochrome sensor
Dnokia,smia.txt1 SMIA/SMIA++ sensor
3 SMIA (Standard Mobile Imaging Architecture) is an image sensor standard
16 - vana-supply: Analogue voltage supply (VANA), typically 2,8 volts (sensor
18 - clocks: External clock to the sensor
19 - clock-frequency: Frequency of the external clock to the sensor
Dmt9p031.txt3 The Aptina MT9P031 is a 1/2.5-inch CMOS active pixel digital image sensor with
9 (a) "aptina,mt9p031" for mt9p031 sensor
10 (b) "aptina,mt9p031m" for mt9p031m sensor
Dov2640.txt1 * Omnivision OV2640 CMOS sensor
3 The Omnivision OV2640 sensor support multiple resolutions output, such as
Dmt9m111.txt3 The Micron MT9M111 is a CMOS active pixel digital image sensor with an active
/linux-4.4.14/drivers/media/usb/gspca/stv06xx/
Dstv06xx.c87 if (sd->sensor->i2c_len == 2) { in stv06xx_write_sensor()
130 buf[0x20] = sd->sensor->i2c_addr; in stv06xx_write_sensor_bytes()
162 buf[0x20] = sd->sensor->i2c_addr; in stv06xx_write_sensor_words()
182 err = stv06xx_write_bridge(sd, STV_I2C_FLUSH, sd->sensor->i2c_flush); in stv06xx_read_sensor()
190 buf[0x20] = sd->sensor->i2c_addr; in stv06xx_read_sensor()
205 0x04, 0xc0, 0x1410, 0, buf, sd->sensor->i2c_len, in stv06xx_read_sensor()
207 if (sd->sensor->i2c_len == 2) in stv06xx_read_sensor()
262 err = sd->sensor->init(sd); in stv06xx_init()
264 if (dump_sensor && sd->sensor->dump) in stv06xx_init()
265 sd->sensor->dump(sd); in stv06xx_init()
[all …]
Dstv06xx_hdcs.c372 u16 sensor; in hdcs_probe_1x00() local
375 ret = stv06xx_read_sensor(sd, HDCS_IDENT, &sensor); in hdcs_probe_1x00()
376 if (ret < 0 || sensor != 0x08) in hdcs_probe_1x00()
429 u16 sensor; in hdcs_probe_1020() local
432 ret = stv06xx_read_sensor(sd, HDCS_IDENT, &sensor); in hdcs_probe_1020()
433 if (ret < 0 || sensor != 0x10) in hdcs_probe_1020()
Dstv06xx_pb0100.c170 u16 sensor; in pb0100_probe() local
173 err = stv06xx_read_sensor(sd, PB_IDENT, &sensor); in pb0100_probe()
177 if ((sensor >> 8) != 0x64) in pb0100_probe()
204 max_packet_size = sd->sensor->max_packet_size[sd->gspca_dev.curr_mode]; in pb0100_start()
Dstv06xx_sensor.h35 #define IS_1020(sd) ((sd)->sensor == &stv06xx_sensor_hdcs1020)
Dstv06xx.h90 const struct stv06xx_sensor *sensor; member
/linux-4.4.14/drivers/iio/temperature/
DKconfig2 # Temperature sensor drivers
7 tristate "MLX90614 contact-less infrared sensor"
11 MLX90614 contact-less infrared sensor connected with I2C.
17 tristate "TMP006 infrared thermopile sensor"
21 TMP006 infrared thermopile sensor.
27 tristate "Measurement Specialties TSYS01 temperature sensor using I2C bus connection"
32 TSYS01 I2C temperature sensor.
38 tristate "Measurement Specialties TSYS02D temperature sensor"
43 TSYS02D temperature sensor.
/linux-4.4.14/drivers/iio/pressure/
DKconfig9 tristate "Bosch Sensortec BMP280 pressure sensor driver"
14 pressure and temperature sensor.
31 will be called hid-sensor-press.
34 tristate "Freescale MPL115A2 pressure sensor driver"
38 pressure sensor connected via I2C.
44 tristate "Freescale MPL3115A2 pressure sensor driver"
50 pressure sensor / altimeter.
56 tristate "Measurement Specialties MS5611 pressure sensor driver"
83 tristate "Measurement Specialties MS5637 pressure & temperature sensor"
88 MS5637 pressure and temperature sensor.
[all …]
DMakefile7 obj-$(CONFIG_HID_SENSOR_PRESS) += hid-sensor-press.o
/linux-4.4.14/Documentation/hwmon/
Dabituguru-datasheet60 in a bank for a sensor is one or more bytes large.
67 number of bytes data per sensor and contents/meaning of those bytes.
69 Although both this document and the kernel driver have kept the sensor
72 a sensor.
99 Sending bank and sensor addresses to the uGuru
109 Once DATA holds 0x08 again write the sensor address to CMD.
115 First send the bank and sensor addresses as described above.
134 First send the bank and sensor addresses as described above.
167 This bank contains 0 sensors, iow the sensor address is ignored (but must be
171 This byte holds the alarm flags for sensor 0-7 of Sensor Bank1, with bit 0
[all …]
Dtmp10216 The Texas Instruments TMP102 implements one temperature sensor. Limits can be
18 sensor is accurate to 0.5 degree over the range of -25 to +85 C, and to 1.0
19 degree from -40 to +125 C. Resolution of the sensor is 0.0625 degree. The
Dlm9229 temperature sensor.
31 Each LM92 temperature sensor supports a single temperature sensor. There are
Dnct790418 internal temperature sensor, Intel PECI and AMD SB-TSI CPU temperature
44 The driver checks sensor control registers and does not export the sensors
45 that are not enabled. Anyway, a sensor that is enabled may actually be not
Dibmpowernv16 for sensor devices during the __init phase and registers them with the 'hwmon'.
18 sensor type and its attribute data.
21 the DT maps to an attribute file in 'sysfs'. The node exports unique 'sensor-id'
Dab850020 Currently only the AB8500 internal sensor and one external sensor for battery
Dlm7716 The LM77 implements one temperature sensor. The temperature
17 sensor incorporates a band-gap type temperature sensor,
Dlm7021 temperature sensor.
23 The LM70 temperature sensor chip supports a single temperature sensor.
Dibmaem20 This driver implements sensor reading support for the energy and power meters
21 available on various IBM System X hardware through the BMC. All sensor banks
27 last BMC reset, and a power sensor that returns average power use over a
Dthmc5033 The THMC50 implements: an internal temperature sensor, support for an
34 external diode-type temperature sensor (compatible w/ the diode sensor inside
51 remote temperature sensor. The driver use the mode set by BIOS by default.
Dadm102642 sensor inputs and one internal sensor. Each sensor has a high and low
45 limits for each sensor. If this limit is exceeded, the #THERM output will
79 temperature sensor inputs. Both the PWM output and the DAC output can be
83 temperature sensor. The range of control is fixed at 20 °C, and the
Djc4245 * JEDEC JC 42.4 compliant temperature sensor chips
62 systems use the sensor to prevent memory overheating by automatically throttling
69 temperature sensor at address 0x18 on I2C bus #1:
74 A JC 42.4 compliant chip supports a single temperature sensor. Minimum, maximum,
85 If the BIOS has configured the sensor for automatic temperature management, it
Dlm8321 The LM83 is a digital temperature sensor. It senses its own temperature as
60 are sufficient, and there is no need for a four temperatures sensor
63 because you want an additional temperature sensor for each additional
67 monitoring chipset. One temperature sensor is used for the motherboard
79 Each sensor has its own high limit, but the critical limit is common to
Dlm9523431 the internal sensor). Resolution depends on temperature input and range.
33 Each sensor has its own maximum limit, but the hysteresis is common to all
40 values. Reading sensor values more often will do no harm, but will return
Dmax669742 This driver implements support for several MAX6697 compatible temperature sensor
43 chips. The chips support one local temperature sensor plus four, six, or seven
47 sensor.
Dw83781d75 temperature sensor, and one (W83783S) or two (W83781D and W83782D) other
76 sensors. An alarm is triggered for the main sensor once when the
84 For the other temperature sensor(s), an alarm is triggered when the
89 main temperature sensors has a resolution of 1 degree; the other sensor(s)
114 beta value in the sensor files. '1' is the PII/Celeron diode, '2' is the
284 - sensor 1: register 0x27
285 - sensor 2 & 3 are the 2 LM75's on the SMBus
286 - sensor 4: register 0x17
287 Remark: I noticed that on Intel boards sensor 2 is used for the CPU
288 and 4 is ignored/stuck, on AMD boards sensor 4 is the CPU and sensor 2 is
[all …]
Dmax161918 The MAX1619 is a digital temperature sensor. It senses its own temperature as
24 Only the external sensor has high and low limits.
Dabx50021 thermal sensors, and there is also a thermal sensor inside ABx500 too, which
27 the corresponding gpadc_addr should be set to 0, thus this sensor won't be
Dadt741121 internal temperature sensor, but an external one can also be connected (one
42 SPI, external temperature sensor and limit registers are not supported yet.
Dsis559557 The SiS5595 implements zero or one temperature sensor, two fan speed
61 temperature sensor.
63 On the second version of the chip, the temperature sensor (temp) and the
64 fifth voltage sensor (in4) share a pin which is configurable, but not
Damc682118 The chip has one on-chip and one remote temperature sensor and one pwm fan
22 The driver provides the following sensor accesses in sysfs:
51 remote-sensor temperature,
Dsht219 http://www.sensirion.com/en/pdf/product_information/Datasheet-humidity-sensor-SHT21.pdf
15 http://www.sensirion.com/en/pdf/product_information/Datasheet-humidity-sensor-SHT25.pdf
Duserspace-tools4 Most mainboards have sensor chips to monitor system health (like temperatures,
8 The kernel drivers make the data from the sensor chips available in the /sys
Dadm102174 indicates whether the remote sensor is connected.
76 Each sensor has its own low and high limits. When they are crossed, the
97 era (with 400 MHz FSB) had chips with only one temperature sensor.
104 will have to explicitly instantiate the sensor chips from user-space. See
Dlm9524531 Each sensor has its own critical limit. Additionally, there is a relative
40 values. Reading sensor values more often will do no harm, but will return
Dtmp40136 Celsius. Resolution of the remote sensor is 0.0625 degree. Local
37 sensor resolution can be set to 0.5, 0.25, 0.125 or 0.0625 degree (not
Dlm90138 The LM90 is a digital temperature sensor. It senses its own temperature as
173 * ALERT is triggered by open remote sensor.
182 * Remote sensor type selection
188 * Remote sensor type selection
192 * Remote sensor type selection
208 * Diode ideality factor configuration (remote sensor) at 0xE3
218 Each sensor has its own high and low limits, plus a critical limit.
Dabituguru53 0 volt sensor
54 1 temp sensor
86 Sandberg <ollebull@gmail.com> has managed to reverse engineer the sensor part
Dpc8742755 standard), so the resolution and range depend on the type of sensor
57 not. I couldn't find a way to figure out the external sensor data
Dadc128d81819 The ADC128D818 implements one temperature sensor and seven voltage sensors.
38 caches the alarm status for each sensor until it is at least reported
Dtc7414 The tc74 has an 8-bit sensor, with 1 degree centigrade resolution
Dsmsc47m19221 This driver implements support for the hardware sensor capabilities
61 This is the supply voltage of the sensor chip itself.
95 sensor are open or shorted, or any of the two is shorted
Dk10temp48 This driver permits reading of the internal temperature sensor of AMD
51 All these processors have a sensor, but on those for Socket F or AM2+,
52 the sensor may return inconsistent values (erratum 319). The driver
Dabituguru354 Louis Kruger has managed to reverse engineer the sensor part of the uGuru.
61 neither is writing any of the sensor settings and writing / reading the
Dadt746247 The driver will report sensor labels when it is able to determine that
66 temperature sensor associated with the PWM control exceeds temp#_max.
Dad731419 sensor with 1lsb = 0.25 degrees centigrade. The adt7301 and
Dmax664217 The MAX6642 is a digital temperature sensor. It senses its own temperature as
/linux-4.4.14/drivers/iio/common/hid-sensors/
DMakefile5 obj-$(CONFIG_HID_SENSOR_IIO_COMMON) += hid-sensor-iio-common.o
6 obj-$(CONFIG_HID_SENSOR_IIO_TRIGGER) += hid-sensor-trigger.o
7 hid-sensor-iio-common-y := hid-sensor-attributes.o
DKconfig11 Say yes here to build support for HID sensor to use
12 HID sensor common processing for attributes and IIO triggers.
14 HID sensor drivers, this module contains processing for those
26 hid-sensor-trigger.
/linux-4.4.14/Documentation/devicetree/bindings/thermal/
Dthermal.txt25 * Thermal sensor devices
27 Thermal sensor devices are nodes providing temperature sensing capabilities on
29 nodes providing temperature data to thermal zones. Thermal sensor devices may
33 - #thermal-sensor-cells: Used to provide sensor device specific information
34 Type: unsigned while referring to it. Typically 0 on thermal sensor
35 Size: one cell nodes with only one sensor, and at least 1 on nodes
37 to identify uniquely the sensor instances within
39 on how consumers refer to sensor devices.
147 - thermal-sensors: A list of thermal sensor phandles and sensor specifier
149 phandles + sensor
[all …]
Dhisilicon-thermal.txt6 - reg: physical base address of thermal sensor and length of memory mapped
12 - #thermal-sensor-cells: Should be 1. See ./thermal.txt for a description.
22 #thermal-sensor-cells = <1>;
Dst-thermal.txt19 clocks : Phandle of the clock used by the thermal sensor.
26 address and length of the sensor's registers.
30 NB: For thermal sensor's for which no interrupt has been
Darmada-thermal.txt13 The first one is required for the sensor register;
15 to be used for sensor initialization (a.k.a. calibration).
Dexynos-thermal.txt70 #include "exynos4412-tmu-sensor-conf.dtsi"
81 #include "exynos5440-tmu-sensor-conf.dtsi"
91 #include "exynos4412-tmu-sensor-conf.dtsi"
100 #include "exynos4412-tmu-sensor-conf.dtsi"
109 #include "exynos4412-tmu-sensor-conf.dtsi"
Drockchip-thermal.txt22 - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description.
41 #thermal-sensor-cells = <1>;
53 /* sensor ID */
Dqcom-spmi-temp-alarm.txt12 - #thermal-sensor-cells: Should be 0. See thermal.txt for a description.
25 #thermal-sensor-cells = <0>;
Dtegra-soctherm.txt25 - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description
42 #thermal-sensor-cells = <1>;
Dspear-thermal.txt6 - st,thermal-flags: flags used to enable thermal sensor
Dkirkwood-thermal.txt4 don't contain a thermal sensor.
Dti_soc_thermal.txt4 and a temperature sensor feature that are gathered in the band
5 gap voltage and temperature sensor (VBGAPTS) module. The band
Ddove-thermal.txt3 This driver is for Dove SoCs which contain a thermal sensor.
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dopal-sensor.c83 struct device_node *sensor; in opal_sensor_init() local
85 sensor = of_find_node_by_path("/ibm,opal/sensors"); in opal_sensor_init()
86 if (!sensor) { in opal_sensor_init()
91 pdev = of_platform_device_create(sensor, "opal-sensor", NULL); in opal_sensor_init()
92 of_node_put(sensor); in opal_sensor_init()
/linux-4.4.14/drivers/iio/proximity/
DKconfig8 tristate "AS3935 Franklin lightning sensor"
14 Microsystems AS3935 lightning detection sensor.
24 tristate "PulsedLight LIDAR sensor"
30 sensor.
36 tristate "SX9500 Semtech proximity sensor"
43 proximity/button sensor.
/linux-4.4.14/drivers/macintosh/
Dwindfarm_pm121.c363 struct wf_sensor **sensor; /* use sensor_id instead ? */ member
373 .sensor = &sensor_gpu_temp,
379 .sensor = &sensor_gpu_temp,
388 .sensor = &sensor_hard_drive_temp,
394 .sensor = &sensor_hard_drive_temp,
403 .sensor = &sensor_north_bridge_temp,
409 .sensor = &sensor_north_bridge_temp,
418 .sensor = &sensor_optical_drive_temp,
424 .sensor = &sensor_optical_drive_temp,
594 struct wf_sensor *sensor; in pm121_sys_fans_tick() local
[all …]
/linux-4.4.14/Documentation/hid/
Dhid-sensor.txt4 HID sensor framework provides necessary interfaces to implement sensor drivers,
5 which are connected to a sensor hub. The sensor hub is a HID device and it provides
6 a report descriptor conforming to HID 1.12 sensor usage tables.
9 "Standardization of HID usages for sensors would allow (but not require) sensor
15 This specification describes many usage IDs, which describe the type of sensor
16 and also the individual data fields. Each sensor can have variable number of
35 The report is indicating "sensor page (0x20)" contains an accelerometer-3D (0x73).
48 an ambient light sensor can send illumination data.
51 - Individual sensor processing part (sensor drivers)
55 The core driver registers (hid-sensor-hub) registers as a HID driver. It parses
[all …]
/linux-4.4.14/drivers/media/usb/gspca/gl860/
Dgl860.c54 static char sensor[7]; variable
55 module_param_string(sensor, sensor, sizeof(sensor), 0644);
56 MODULE_PARM_DESC(sensor,
342 sd->sensor = 0xff; in sd_config()
343 if (strcmp(sensor, "MI1320") == 0) in sd_config()
344 sd->sensor = ID_MI1320; in sd_config()
345 else if (strcmp(sensor, "OV2640") == 0) in sd_config()
346 sd->sensor = ID_OV2640; in sd_config()
347 else if (strcmp(sensor, "OV9655") == 0) in sd_config()
348 sd->sensor = ID_OV9655; in sd_config()
[all …]
Dgl860.h35 #define _MI1320_ (((struct sd *) gspca_dev)->sensor == ID_MI1320)
36 #define _MI2020_ (((struct sd *) gspca_dev)->sensor == ID_MI2020)
37 #define _OV2640_ (((struct sd *) gspca_dev)->sensor == ID_OV2640)
38 #define _OV9655_ (((struct sd *) gspca_dev)->sensor == ID_OV9655)
75 u8 sensor; member
/linux-4.4.14/drivers/iio/humidity/
DKconfig2 # humidity sensor drivers
16 tristate "TI HDC100x relative humidity and temperature sensor"
26 tristate "Measurement Specialties HTU21 humidity & temperature sensor"
31 HTU21 humidity and temperature sensor.
33 sensor
39 tristate "SI7005 relative humidity and temperature sensor"
43 humidity and temperature sensor.
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sysfs.c49 ixgbe_attr->sensor->location); in ixgbe_hwmon_show_location()
63 value = ixgbe_attr->sensor->temp; in ixgbe_hwmon_show_temp()
77 unsigned int value = ixgbe_attr->sensor->caution_thresh; in ixgbe_hwmon_show_cautionthresh()
91 unsigned int value = ixgbe_attr->sensor->max_op_thresh; in ixgbe_hwmon_show_maxopthresh()
145 ixgbe_attr->sensor = in ixgbe_add_hwmon_attr()
146 &adapter->hw.mac.thermal_sensor_data.sensor[offset]; in ixgbe_add_hwmon_attr()
200 if (adapter->hw.mac.thermal_sensor_data.sensor[i].location == 0) in ixgbe_sysfs_init()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_hwmon.c50 igb_attr->sensor->location); in igb_hwmon_show_location()
64 value = igb_attr->sensor->temp; in igb_hwmon_show_temp()
78 unsigned int value = igb_attr->sensor->caution_thresh; in igb_hwmon_show_cautionthresh()
92 unsigned int value = igb_attr->sensor->max_op_thresh; in igb_hwmon_show_maxopthresh()
146 igb_attr->sensor = in igb_add_hwmon_attr()
147 &adapter->hw.mac.thermal_sensor_data.sensor[offset]; in igb_add_hwmon_attr()
202 if (adapter->hw.mac.thermal_sensor_data.sensor[i].location == 0) in igb_sysfs_init()
/linux-4.4.14/Documentation/devicetree/bindings/media/
Dsamsung-s5k6a3.txt1 Samsung S5K6A3(YX) raw image sensor
4 S5K6A3(YX) is a raw image sensor with MIPI CSI-2 and CCP2 image data interfaces
10 - reg : I2C slave address of the sensor;
18 - clock-names : should contain "extclk" entry for the sensor's EXTCLK clock;
33 video-interfaces.txt. The sensor supports only one data lane.
Dsamsung-s5c73m3.txt16 - reg : I2C slave address of the sensor;
39 this purpose. The data link from a raw image sensor to the S5C73M3 can be
41 sensor are usually inseparable and form a hybrid module.
49 video-interfaces.txt. This sensor doesn't support data lane remapping
Dsamsung-fimc.txt102 - samsung,camclk-out (deprecated) : specifies clock output for remote sensor,
105 Image sensor nodes
108 The sensor device nodes should be added to their control bus controller (e.g.
118 /* Parallel bus IF sensor */
120 s5k6aa: sensor@3c {
140 /* MIPI CSI-2 bus IF sensor */
141 s5c73m3: sensor@0x1a {
Dsamsung-s5k5baf.txt7 - reg : I2C slave address of the sensor;
18 - clock-names : should include "mclk" for the sensor's master clock;
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dmedia-dev.c44 struct v4l2_subdev *sensor, in __setup_sensor_notification() argument
51 src_inf = v4l2_get_subdev_hostdata(sensor); in __setup_sensor_notification()
72 struct v4l2_subdev *sensor = NULL; in fimc_pipeline_prepare() local
98 sensor = sd; in fimc_pipeline_prepare()
123 if (sensor && p->subdevs[IDX_FIMC]) in fimc_pipeline_prepare()
124 __setup_sensor_notification(fmd, sensor, p->subdevs[IDX_FIMC]); in fimc_pipeline_prepare()
333 struct fimc_source_info *pd = &fmd->sensor[index].pdata; in fimc_md_parse_port_node()
387 if (WARN_ON(index >= ARRAY_SIZE(fmd->sensor))) in fimc_md_parse_port_node()
390 fmd->sensor[index].asd.match_type = V4L2_ASYNC_MATCH_OF; in fimc_md_parse_port_node()
391 fmd->sensor[index].asd.match.of.node = rem; in fimc_md_parse_port_node()
[all …]
Dfimc-is.c167 struct fimc_is_sensor *sensor = &is->sensor[index]; in fimc_is_parse_sensor_config() local
171 sensor->drvdata = fimc_is_sensor_get_drvdata(node); in fimc_is_parse_sensor_config()
172 if (!sensor->drvdata) { in fimc_is_parse_sensor_config()
194 sensor->i2c_bus = tmp - FIMC_INPUT_MIPI_CSI2_0; in fimc_is_parse_sensor_config()
618 struct fimc_is_sensor *sensor) in fimc_is_hw_open_sensor() argument
636 mcuctl_write(sensor->drvdata->id, is, MCUCTL_REG_ISSR(2)); in fimc_is_hw_open_sensor()
637 mcuctl_write(sensor->i2c_bus, is, MCUCTL_REG_ISSR(3)); in fimc_is_hw_open_sensor()
643 sensor->drvdata->open_timeout); in fimc_is_hw_open_sensor()
658 ret = fimc_is_hw_open_sensor(is, &is->sensor[0]); in fimc_is_hw_initialize()
Dfimc-is-param.c54 dst = &is->is_p_region->parameter.sensor.frame_rate; in __fimc_is_hw_update_param_sensor_framerate()
55 src = &is->config[is->config_index].sensor.frame_rate; in __fimc_is_hw_update_param_sensor_framerate()
258 switch (is->sensor->drvdata->id) { in fimc_is_hw_get_sensor_max_framerate()
269 struct sensor_param *sensor; in __is_set_sensor() local
272 sensor = &is->config[index].sensor; in __is_set_sensor()
276 sensor->frame_rate.frame_rate = in __is_set_sensor()
281 sensor->frame_rate.frame_rate = fps; in __is_set_sensor()
699 if (is->sensor->test_pattern) in fimc_is_set_initial_params()
Dfimc-is.h223 struct sensor_param sensor; member
256 struct fimc_is_sensor sensor[FIMC_IS_SENSORS_NUM]; member
/linux-4.4.14/drivers/media/platform/s3c-camif/
Dcamif-core.c198 struct s3c_camif_sensor_info *sensor = &camif->pdata.sensor; in camif_register_sensor() local
205 camif->sensor.sd = NULL; in camif_register_sensor()
207 if (sensor->i2c_board_info.addr == 0) in camif_register_sensor()
210 adapter = i2c_get_adapter(sensor->i2c_bus_num); in camif_register_sensor()
213 sensor->i2c_bus_num); in camif_register_sensor()
218 &sensor->i2c_board_info, NULL); in camif_register_sensor()
222 sensor->i2c_board_info.type); in camif_register_sensor()
225 camif->sensor.sd = sd; in camif_register_sensor()
248 struct v4l2_subdev *sd = camif->sensor.sd; in camif_unregister_sensor()
257 camif->sensor.sd = NULL; in camif_unregister_sensor()
[all …]
Dcamif-capture.c72 if (camif->sensor.sd == NULL || vp->out_fmt == NULL) in s3c_camif_hw_init()
115 struct cam_sensor *sensor = &camif->sensor; in sensor_set_power() local
118 if (camif->sensor.power_count == !on) in sensor_set_power()
119 err = v4l2_subdev_call(sensor->sd, core, s_power, on); in sensor_set_power()
121 sensor->power_count += on ? 1 : -1; in sensor_set_power()
124 on, sensor->power_count, err); in sensor_set_power()
131 struct cam_sensor *sensor = &camif->sensor; in sensor_set_streaming() local
134 if (camif->sensor.stream_count == !on) in sensor_set_streaming()
135 err = v4l2_subdev_call(sensor->sd, video, s_stream, on); in sensor_set_streaming()
137 sensor->stream_count += on ? 1 : -1; in sensor_set_streaming()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/iio/light/
Dgp2ap020a00f.txt1 * Sharp GP2AP020A00F I2C Proximity/ALS sensor
3 The proximity detector sensor requires power supply
9 - reg : the I2C slave address of the light sensor
Dtsl2563.txt1 * AMS TAOS TSL2563 ambient light sensor
6 - reg : the I2C address of the sensor
Dapds9300.txt1 * Avago APDS9300 ambient light sensor
8 - reg : the I2C address of the sensor
Dapds9960.txt1 * Avago APDS9960 gesture/RGB/ALS/proximity sensor
8 - reg: the I2c address of the sensor
Dus5182d.txt1 * UPISEMI us5182d I2C ALS and Proximity sensor
21 sensor on evaluation board - roughly between 12-32 lux.
Dcm36651.txt1 * Capella CM36651 I2C Proximity and Color Light sensor
/linux-4.4.14/Documentation/devicetree/bindings/misc/
Difm-csi.txt1 IFM camera sensor interface on mpc5200 LocalPlus bus
5 - reg: specifies sensor chip select number and associated address range
10 - ifm,csi-clk-handle: the phandle to a node in the DT describing the sensor
14 - ifm,csi-wait-cycles: sensor bus wait cycles
/linux-4.4.14/Documentation/devicetree/bindings/iio/
Dst-sensors.txt3 The STMicroelectronics sensor devices are pretty straight-forward I2C or
5 type of sensor it is.
13 power to the sensor.
15 VDD IO power to the sensor.
/linux-4.4.14/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-light19 Hardware dependent ADC resolution of the ambient light sensor
27 adc_resolution of the given sensor.
33 This should return the calculated lux from the light sensor. If
43 use a infrared sensor reading to remove infrared noise from the
45 do this calculation manually by reading the infrared sensor
53 used to return the value of a reading by the sensor. If this
104 light sensor. If it comes back in SI units, it should also
Ddevice.txt45 is used to read if an on sensor event detector is enabled.
47 Enable / disable an on sensor event detector.
49 Read value associated with on sensor event detectors. Note that
53 Write the value associated with on sensor event detectors. E.g.
/linux-4.4.14/drivers/iio/orientation/
DMakefile6 obj-$(CONFIG_HID_SENSOR_INCLINOMETER_3D) += hid-sensor-incl-3d.o
7 obj-$(CONFIG_HID_SENSOR_DEVICE_ROTATION) += hid-sensor-rotation.o
DKconfig28 device rotation. The output of a device rotation sensor
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-iio-adc-hi84356 Program sensor type for threshold detector inputs.
9 and 24..31 has common sensor types.
16 Channel Y low voltage threshold. If sensor input voltage goes lower then
33 Channel Y high voltage threshold. If sensor input voltage goes higher then
Dsysfs-bus-iio-chemical-vz89x6 Get the raw calibration VOC value from the sensor.
Dsysfs-class-backlight-driver-adp887036 Get conversion value of the light sensor.
37 This value is updated every 80 ms (when the light sensor
Dsysfs-bus-iio-humidity-hdc100x6 Controls the heater device within the humidity sensor to get
Dsysfs-bus-iio-meas-spec6 battery level supplied to sensor is below 2.25V.
/linux-4.4.14/drivers/media/i2c/m5mols/
DKconfig2 tristate "Fujitsu M-5MOLS 8MP sensor support"
6 This driver supports Fujitsu M-5MOLS camera sensor with ISP
/linux-4.4.14/drivers/media/i2c/soc_camera/
DKconfig1 comment "soc_camera sensor drivers"
51 This is a V4L2 camera driver for the OmniVision OV5642 sensor
54 tristate "ov6650 sensor support"
57 This is a V4L2 SoC camera driver for the OmniVision OV6650 sensor
/linux-4.4.14/drivers/staging/iio/cdc/
DKconfig7 tristate "Analog Devices ad7150/1/6 capacitive sensor driver"
17 tristate "Analog Devices ad7152/3 capacitive sensor driver"
27 tristate "Analog Devices AD7745, AD7746 AD7747 capacitive sensor driver"
/linux-4.4.14/Documentation/devicetree/bindings/iio/humidity/
Ddht11.txt1 * DHT11 humidity/temperature sensor (and compatibles like DHT22)
5 - gpios: Should specify the GPIO connected to the sensor's data
/linux-4.4.14/Documentation/input/
Dedt-ft5x06.txt36 (readonly) contains the number of sensor fields in X- and
40 allows switching the sensor between "factory mode" and "operation
42 possible to get the raw data from the sensor. Note that in factory
48 values for each sensor field. Note that each read() call on this
/linux-4.4.14/arch/arm/boot/dts/
Dexynos4412-tmu-sensor-conf.dtsi2 * Device tree sources for Exynos4412 TMU sensor configuration
14 #thermal-sensor-cells = <0>;
Dexynos5440-tmu-sensor-conf.dtsi2 * Device tree sources for Exynos5440 TMU sensor configuration
14 #thermal-sensor-cells = <0>;
Dste-href-tvk1281618.dtsi26 /* Proximity sensor */
32 /* Hall sensor */
124 /* Barometer/pressure sensor */
Dste-href-stuib.dtsi24 /* Proximity sensor */
30 /* Hall sensor */
Domap5-gpu-thermal.dtsi18 /* sensor ID */
Domap5-core-thermal.dtsi18 /* sensor ID */
Dtegra30-colibri.dtsi176 * temperature sensor therefore requires disabling for
203 * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
364 * LM95245 temperature sensor
367 temp-sensor@4c {
/linux-4.4.14/Documentation/devicetree/bindings/iio/adc/
Dberlin2_adc.txt3 The Berlin ADC has 8 channels, with one connected to a temperature sensor.
9 - interrupts: the interrupts for the ADC and the temperature sensor
Dhi8435.txt15 sensor@0 {
/linux-4.4.14/Documentation/devicetree/bindings/input/
Dcap11xx.txt24 microchip,sensor-gain: Defines the gain of the sensor circuitry. This
50 microchip,sensor-gain = <2>;
/linux-4.4.14/Documentation/thermal/
Dexynos_thermal_emulation14 sensor's value.
53 current temp : sensor 50 70 20 sensor
/linux-4.4.14/Documentation/devicetree/bindings/iio/temperature/
Dmlx90614.txt1 * Melexis MLX90614 contactless IR temperature sensor
8 - reg: the I2C address of the sensor
/linux-4.4.14/Documentation/devicetree/bindings/iio/accel/
Dbma180.txt1 * Bosch BMA180 / BMA250 triaxial acceleration sensor
9 - reg : the I2C address of the sensor
/linux-4.4.14/Documentation/devicetree/bindings/input/touchscreen/
Dsun4i.txt9 - #thermal-sensor-cells: shall be 0
34 #thermal-sensor-cells = <0>;
/linux-4.4.14/drivers/thermal/ti-soc-thermal/
DKconfig2 tristate "Texas Instruments SoCs temperature sensor driver"
5 OMAP4460+ on die bandgap temperature sensor support. The register
17 framework for the Texas Instruments on die bandgap temperature sensor.
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Darm,scpi.txt81 - #thermal-sensor-cells: should be set to 1. This property follows the
145 #thermal-sensor-cells = <1>;
166 /* sensor ID */
186 temperature sensor provided by SCP firmware to setup a thermal
187 zone. The ID "3" is the sensor identifier for the temperature sensor
/linux-4.4.14/drivers/misc/
DKconfig312 light sensor.
318 tristate "Intersil ISL29003 ambient light sensor"
322 ambient light sensor.
328 tristate "Intersil ISL29020 ambient light sensor"
332 ambient light sensor.
338 tristate "Taos TSL2550 ambient light sensor"
342 ambient light sensor.
348 tristate "ROHM BH1780GLI ambient light sensor"
352 ambient light sensor.
358 tristate "BH1770GLC / SFH7770 combined ALS - Proximity sensor"
[all …]
/linux-4.4.14/drivers/staging/iio/light/
DKconfig7 tristate "ISL 29018 light and proximity sensor"
16 Data from sensor is accessible via sysfs.
/linux-4.4.14/Documentation/misc-devices/
Disl2900316 The ISL29003 is an integrated light sensor with a 16-bit integrating type
61 returns the value from the last sensor reading
Dapds990x.txt16 APDS990x is a combined ambient light and proximity sensor. ALS and proximity
36 values are known. Otherwise plain sensor default values are used.
60 RO - lux0_input max value. Actually never reaches since sensor tends
/linux-4.4.14/drivers/media/usb/stkwebcam/
DMakefile1 stkwebcam-objs := stk-webcam.o stk-sensor.o
/linux-4.4.14/drivers/media/platform/davinci/
DKconfig40 sensor module such as MT9T001 over a raw interface. This
56 sensor module such as MT9T001 over a raw interface. This
71 a image sensor or YUV data from a YUV source.
/linux-4.4.14/include/media/
Ds3c_camif.h36 struct s3c_camif_sensor_info sensor; member
/linux-4.4.14/Documentation/devicetree/bindings/iio/magnetometer/
Dmmc35240.txt1 * MEMSIC MMC35240 magnetometer sensor
Dak8975.txt1 * AsahiKASEI AK8975 magnetometer sensor
Dhmc5843.txt1 * Honeywell HMC5843 magnetometer sensor
Dbmc150_magn.txt1 * Bosch BMC150 magnetometer sensor
/linux-4.4.14/Documentation/w1/slaves/
D00-INDEX4 - The Maxim/Dallas Semiconductor ds18*20 temperature sensor.
/linux-4.4.14/drivers/staging/media/omap4iss/
Diss.c1142 struct v4l2_subdev *sensor = NULL; in iss_register_subdev_group() local
1170 sensor = subdev; in iss_register_subdev_group()
1173 return sensor; in iss_register_subdev_group()
1225 struct v4l2_subdev *sensor; in iss_register_entities() local
1230 sensor = iss_register_subdev_group(iss, subdevs->subdevs); in iss_register_entities()
1231 if (!sensor) in iss_register_entities()
1234 sensor->host_priv = subdevs; in iss_register_entities()
1262 ret = media_entity_create_link(&sensor->entity, 0, input, pad, in iss_register_entities()
/linux-4.4.14/drivers/iio/chemical/
DKconfig8 tristate "SGX Sensortech MiCS VZ89X VOC sensor"
/linux-4.4.14/drivers/iio/magnetometer/
DMakefile9 obj-$(CONFIG_HID_SENSOR_MAGNETOMETER_3D) += hid-sensor-magn-3d.o
/linux-4.4.14/Documentation/ABI/obsolete/
Dsysfs-driver-hid-roccat-lua5 When read, actual cpi setting and sensor data are returned.
/linux-4.4.14/Documentation/devicetree/bindings/iio/imu/
Dinv_mpu6050.txt7 - reg : the I2C address of the sensor
/linux-4.4.14/drivers/iio/gyro/
DMakefile15 obj-$(CONFIG_HID_SENSOR_GYRO_3D) += hid-sensor-gyro-3d.o
/linux-4.4.14/Documentation/laptops/
Dtoshiba_haps.txt28 file to set the desired protection level or sensor sensibility.
51 This device does not report any axes, however, to query the sensor position
/linux-4.4.14/Documentation/devicetree/bindings/leds/
Dleds-aat1290.txt6 (e.g. CPU or camera sensor) there is an additional switch required, independent
39 the camera sensor):
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
DKconfig14 Say Y here if you want to expose thermal sensor data on
/linux-4.4.14/drivers/iio/accel/
DMakefile10 obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o

123