/linux-4.1.27/drivers/media/i2c/smiapp/ |
D | smiapp-core.c | 66 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 …]
|
D | smiapp-quirk.c | 23 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 …]
|
D | smiapp-quirk.h | 48 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 …]
|
D | smiapp-regs.c | 75 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 …]
|
D | smiapp-regs.h | 38 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);
|
D | Kconfig | 2 tristate "SMIA++/SMIA sensor support"
|
D | smiapp.h | 172 struct smiapp_sensor *sensor; member 255 (to_smiapp_subdev(_sd)->sensor)
|
/linux-4.1.27/drivers/thermal/st/ |
D | st_thermal.c | 28 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 …]
|
D | st_thermal_memmap.c | 43 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 …]
|
D | st_thermal_syscfg.c | 67 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.1.27/drivers/media/i2c/ |
D | mt9m032.c | 168 #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 …]
|
D | s5k6a3.c | 126 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 …]
|
D | vs6624.c | 599 struct vs6624 *sensor = to_vs6624(sd); in vs6624_s_mbus_fmt() local 646 sensor->fmt = *fmt; in vs6624_s_mbus_fmt() 654 struct vs6624 *sensor = to_vs6624(sd); in vs6624_g_mbus_fmt() local 656 *fmt = sensor->fmt; in vs6624_g_mbus_fmt() 662 struct vs6624 *sensor = to_vs6624(sd); in vs6624_g_parm() local 670 cp->timeperframe.numerator = sensor->frame_rate.denominator; in vs6624_g_parm() 671 cp->timeperframe.denominator = sensor->frame_rate.numerator; in vs6624_g_parm() 677 struct vs6624 *sensor = to_vs6624(sd); in vs6624_s_parm() local 692 sensor->frame_rate.numerator = tpf->denominator; in vs6624_s_parm() 693 sensor->frame_rate.denominator = tpf->numerator; in vs6624_s_parm() [all …]
|
D | Kconfig | 292 This is a Video4Linux2 sensor-level driver for the TI TVP5146/47 461 comment "Camera sensor devices" 470 tristate "OmniVision OV2659 sensor support" 474 This is a Video4Linux2 sensor-level driver for the OmniVision 481 tristate "OmniVision OV7640 sensor support" 485 This is a Video4Linux2 sensor-level driver for the OmniVision 492 tristate "OmniVision OV7670 sensor support" 496 This is a Video4Linux2 sensor-level driver for the OmniVision 501 tristate "OmniVision OV9650/OV9652 sensor support" 504 This is a V4L2 sensor-level driver for the Omnivision [all …]
|
/linux-4.1.27/drivers/input/misc/ |
D | mpu3050.c | 198 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.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | g84.c | 61 struct nvbios_therm_sensor *sensor = &priv->bios_sensor; in g84_therm_program_alarms() local 64 spin_lock_irqsave(&priv->sensor.alarm_program_lock, flags); in g84_therm_program_alarms() 70 nv_wr32(therm, 0x20484, sensor->thrs_shutdown.hysteresis); in g84_therm_program_alarms() 71 nv_wr32(therm, 0x20480, sensor->thrs_shutdown.temp); in g84_therm_program_alarms() 74 nv_wr32(therm, 0x204c4, sensor->thrs_fan_boost.temp); in g84_therm_program_alarms() 77 nv_wr32(therm, 0x204c0, sensor->thrs_critical.temp); in g84_therm_program_alarms() 80 nv_wr32(therm, 0x20414, sensor->thrs_down_clock.temp); in g84_therm_program_alarms() 81 spin_unlock_irqrestore(&priv->sensor.alarm_program_lock, flags); in g84_therm_program_alarms() 85 sensor->thrs_fan_boost.temp, sensor->thrs_fan_boost.hysteresis, in g84_therm_program_alarms() 86 sensor->thrs_down_clock.temp, in g84_therm_program_alarms() [all …]
|
D | temp.c | 67 priv->sensor.alarm_state[thrs] = st; in nvkm_therm_sensor_set_threshold_state() 76 return priv->sensor.alarm_state[thrs]; in nvkm_therm_sensor_get_threshold_state() 170 container_of(alarm, struct nvkm_therm_priv, sensor.therm_poll_alarm); in alarm_timer_callback() 171 struct nvbios_therm_sensor *sensor = &priv->bios_sensor; in alarm_timer_callback() local 176 spin_lock_irqsave(&priv->sensor.alarm_program_lock, flags); in alarm_timer_callback() 178 nvkm_therm_threshold_hyst_polling(therm, &sensor->thrs_fan_boost, in alarm_timer_callback() 181 nvkm_therm_threshold_hyst_polling(therm, &sensor->thrs_down_clock, in alarm_timer_callback() 184 nvkm_therm_threshold_hyst_polling(therm, &sensor->thrs_critical, in alarm_timer_callback() 187 nvkm_therm_threshold_hyst_polling(therm, &sensor->thrs_shutdown, in alarm_timer_callback() 190 spin_unlock_irqrestore(&priv->sensor.alarm_program_lock, flags); in alarm_timer_callback() [all …]
|
D | nv50.c | 133 struct nvbios_therm_sensor *sensor = &priv->bios_sensor; in nv50_temp_get() local 139 if (!sensor->slope_div || !sensor->slope_mult || in nv50_temp_get() 140 !sensor->offset_num || !sensor->offset_den) in nv50_temp_get() 143 core_temp = core_temp * sensor->slope_mult / sensor->slope_div; in nv50_temp_get() 144 core_temp = core_temp + sensor->offset_num / sensor->offset_den; in nv50_temp_get() 145 core_temp = core_temp + sensor->offset_constant - 8; in nv50_temp_get() 173 priv->base.sensor.program_alarms = nvkm_therm_program_alarms_polling; in nv50_therm_ctor()
|
D | nv40.c | 84 struct nvbios_therm_sensor *sensor = &priv->bios_sensor; in nv40_temp_get() local 98 if (!sensor->slope_div || !sensor->slope_mult || in nv40_temp_get() 99 !sensor->offset_num || !sensor->offset_den) in nv40_temp_get() 102 core_temp = core_temp * sensor->slope_mult / sensor->slope_div; in nv40_temp_get() 103 core_temp = core_temp + sensor->offset_num / sensor->offset_den; in nv40_temp_get() 104 core_temp = core_temp + sensor->offset_constant - 8; in nv40_temp_get() 201 priv->base.sensor.program_alarms = nvkm_therm_program_alarms_polling; in nv40_therm_ctor()
|
D | base.c | 249 priv->sensor.program_alarms(therm); in nvkm_therm_attr_set() 253 priv->sensor.program_alarms(therm); in nvkm_therm_attr_set() 257 priv->sensor.program_alarms(therm); in nvkm_therm_attr_set() 261 priv->sensor.program_alarms(therm); in nvkm_therm_attr_set() 265 priv->sensor.program_alarms(therm); in nvkm_therm_attr_set() 269 priv->sensor.program_alarms(therm); in nvkm_therm_attr_set() 273 priv->sensor.program_alarms(therm); in nvkm_therm_attr_set() 277 priv->sensor.program_alarms(therm); in nvkm_therm_attr_set() 338 spin_lock_init(&priv->sensor.alarm_program_lock); in nvkm_therm_create_()
|
D | ic.c | 34 struct nvbios_therm_sensor *sensor = &priv->bios_sensor; in probe_monitoring_device() local 52 info->type, info->addr, sensor->offset_constant); in probe_monitoring_device()
|
/linux-4.1.27/drivers/media/usb/gspca/ |
D | t613.c | 51 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 …]
|
D | sq930x.c | 46 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 …]
|
D | sonixb.c | 80 __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 …]
|
D | sonixj.c | 82 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 …]
|
D | ov534.c | 86 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 …]
|
D | ov519.c | 111 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 …]
|
D | vc032x.c | 44 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 …]
|
D | zc3xx.c | 61 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 …]
|
D | topro.c | 137 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 …]
|
D | sn9c20x.c | 111 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 …]
|
D | ov534_9.c | 56 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 …]
|
D | etoms.c | 37 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()
|
D | spca561.c | 386 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.1.27/Documentation/devicetree/bindings/hwmon/ |
D | ibmpowernv.txt | 6 "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";
|
/linux-4.1.27/drivers/media/usb/gspca/m5602/ |
D | m5602_core.c | 105 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.1.27/Documentation/video4linux/ |
D | sh_mobile_ceu_camera.txt | 7 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 …]
|
D | soc-camera.txt | 8 - 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 …]
|
D | cpia2_overview.txt | 8 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,
|
D | cafe_ccic | 9 sensor is known to work with this controller at this time. 45 - flip: If this boolean parameter is set, the sensor will be instructed to
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | therm.c | 71 struct nvbios_therm_sensor *sensor) in nvbios_therm_sensor_parse() argument 98 sensor->offset_constant = offset; in nvbios_therm_sensor_parse() 104 sensor->thrs_critical.temp = (value & 0xff0) >> 4; in nvbios_therm_sensor_parse() 105 sensor->thrs_critical.hysteresis = value & 0xf; in nvbios_therm_sensor_parse() 111 sensor->thrs_down_clock.temp = (value & 0xff0) >> 4; in nvbios_therm_sensor_parse() 112 sensor->thrs_down_clock.hysteresis = value & 0xf; in nvbios_therm_sensor_parse() 118 sensor->thrs_fan_boost.temp = (value & 0xff0) >> 4; in nvbios_therm_sensor_parse() 119 sensor->thrs_fan_boost.hysteresis = value & 0xf; in nvbios_therm_sensor_parse() 125 sensor->offset_num = value; in nvbios_therm_sensor_parse() 130 sensor->offset_den = value; in nvbios_therm_sensor_parse() [all …]
|
/linux-4.1.27/drivers/hwmon/pmbus/ |
D | pmbus_core.c | 389 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.1.27/Documentation/devicetree/bindings/media/i2c/ |
D | mt9v032.txt | 3 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
|
D | nokia,smia.txt | 1 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
|
D | mt9p031.txt | 3 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
|
D | ov2640.txt | 1 * Omnivision OV2640 CMOS sensor 3 The Omnivision OV2640 sensor support multiple resolutions output, such as
|
D | mt9m111.txt | 3 The Micron MT9M111 is a CMOS active pixel digital image sensor with an active
|
/linux-4.1.27/drivers/iio/light/ |
D | Kconfig | 9 tristate "ADJD-S311-CR999 digital color sensor" 15 digital color light sensor. 21 tristate "AL3320A ambient light sensor" 25 ambient light sensor. 31 tristate "APDS9300 ambient light sensor" 35 ambient light sensor. 45 This option enables ambient light sensor using 53 tristate "CM3232 ambient light sensor" 56 This option enables ambient light sensor using 64 tristate "Capella CM3323 color light sensor" [all …]
|
D | Makefile | 14 obj-$(CONFIG_HID_SENSOR_ALS) += hid-sensor-als.o 15 obj-$(CONFIG_HID_SENSOR_PROX) += hid-sensor-prox.o
|
/linux-4.1.27/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx.c | 87 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 …]
|
D | stv06xx_hdcs.c | 372 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()
|
D | stv06xx_pb0100.c | 170 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()
|
D | stv06xx_sensor.h | 35 #define IS_1020(sd) ((sd)->sensor == &stv06xx_sensor_hdcs1020)
|
D | stv06xx.h | 90 const struct stv06xx_sensor *sensor; member
|
/linux-4.1.27/drivers/thermal/ |
D | dove_thermal.c | 47 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()
|
D | tegra_soctherm.c | 217 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 …]
|
D | kirkwood_thermal.c | 32 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()
|
D | rockchip_thermal.c | 346 rockchip_thermal_toggle_sensor(struct rockchip_thermal_sensor *sensor, bool on) in rockchip_thermal_toggle_sensor() argument 348 struct thermal_zone_device *tzd = sensor->tzd; in rockchip_thermal_toggle_sensor() 371 struct rockchip_thermal_sensor *sensor = _sensor; in rockchip_thermal_get_temp() local 372 struct rockchip_thermal_data *thermal = sensor->thermal; in rockchip_thermal_get_temp() 373 const struct rockchip_tsadc_chip *tsadc = sensor->thermal->chip; in rockchip_thermal_get_temp() 376 retval = tsadc->get_temp(sensor->id, thermal->regs, out_temp); in rockchip_thermal_get_temp() 378 sensor->id, *out_temp, retval); in rockchip_thermal_get_temp() 447 struct rockchip_thermal_sensor *sensor, in rockchip_thermal_register_sensor() argument 456 sensor->thermal = thermal; in rockchip_thermal_register_sensor() 457 sensor->id = id; in rockchip_thermal_register_sensor() [all …]
|
D | armada_thermal.c | 48 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()
|
D | Kconfig | 24 In case a sensor is registered with the thermal 26 as a hwmon. The sensor will then have the common 140 tristate "Temperature sensor driver for Freescale i.MX SoCs" 151 bool "SPEAr thermal sensor driver" 155 Enable this to plug the SPEAr thermal sensor driver into the Linux 163 Rockchip thermal driver provides support for Temperature sensor 173 Enable this to plug the R-Car thermal sensor driver into the Linux 177 tristate "Temperature sensor on Marvell Kirkwood SoCs" 181 Support for the Kirkwood thermal sensor driver into the Linux thermal 182 framework. Only kirkwood 88F6282 and 88F6283 have this sensor. [all …]
|
/linux-4.1.27/drivers/iio/pressure/ |
D | Kconfig | 9 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 Specialities MS5611 pressure sensor driver" 59 MS5611 pressure and temperature sensor. 83 tristate "STMicroelectronics pressure sensor Driver" [all …]
|
D | Makefile | 7 obj-$(CONFIG_HID_SENSOR_PRESS) += hid-sensor-press.o
|
/linux-4.1.27/Documentation/hwmon/ |
D | abituguru-datasheet | 60 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 …]
|
D | tmp102 | 16 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
|
D | lm92 | 29 temperature sensor. 31 Each LM92 temperature sensor supports a single temperature sensor. There are
|
D | nct7904 | 18 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
|
D | ibmpowernv | 16 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'
|
D | ab8500 | 20 Currently only the AB8500 internal sensor and one external sensor for battery
|
D | lm77 | 16 The LM77 implements one temperature sensor. The temperature 17 sensor incorporates a band-gap type temperature sensor,
|
D | ibmaem | 20 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
|
D | lm70 | 21 temperature sensor. 23 The LM70 temperature sensor chip supports a single temperature sensor.
|
D | thmc50 | 33 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.
|
D | adm1026 | 42 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
|
D | lm83 | 21 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
|
D | jc42 | 45 * 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
|
D | lm95234 | 31 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
|
D | max6697 | 42 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.
|
D | w83781d | 75 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 …]
|
D | max1619 | 18 The MAX1619 is a digital temperature sensor. It senses its own temperature as 24 Only the external sensor has high and low limits.
|
D | abx500 | 21 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
|
D | adt7411 | 21 internal temperature sensor, but an external one can also be connected (one 42 SPI, external temperature sensor and limit registers are not supported yet.
|
D | sis5595 | 57 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
|
D | amc6821 | 18 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,
|
D | sht21 | 9 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
|
D | userspace-tools | 4 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
|
D | adm1021 | 74 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
|
D | lm95245 | 31 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
|
D | tmp401 | 36 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
|
D | lm90 | 138 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.
|
D | abituguru | 53 0 volt sensor 54 1 temp sensor 86 Sandberg <ollebull@gmail.com> has managed to reverse engineer the sensor part
|
D | pc87427 | 55 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
|
D | adc128d818 | 19 The ADC128D818 implements one temperature sensor and seven voltage sensors. 38 caches the alarm status for each sensor until it is at least reported
|
D | k10temp | 48 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
|
D | smsc47m192 | 21 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
|
D | adt7462 | 47 The driver will report sensor labels when it is able to determine that 66 temperature sensor associated with the PWM control exceeds temp#_max.
|
D | abituguru3 | 54 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
|
D | ad7314 | 19 sensor with 1lsb = 0.25 degrees centigrade. The adt7301 and
|
D | max6642 | 17 The MAX6642 is a digital temperature sensor. It senses its own temperature as
|
D | ltc2978 | 118 Not supported for chip temperature sensor on LTC2974. 120 temperature sensor on LTC2974. 122 temperature sensor on LTC2974.
|
D | it87 | 201 wired and configured. Beeping can be enabled or disabled per sensor type 207 To change sensor N to a thermistor, 'echo 4 > tempN_type' where N is 1, 2, 208 or 3. To change sensor N to a thermal diode, 'echo 3 > tempN_type'. 209 Give 0 for unused sensor. Any other value is invalid. To configure this at 260 If a temperature sensor is configured for thermistors, the attribute values 261 are ignored. If the thermal sensor type is Intel PECI, the temperature offset
|
D | tmp103 | 16 The TMP103 is a digital output temperature sensor in a four-ball
|
/linux-4.1.27/drivers/hwmon/ |
D | asus_atk0110.c | 190 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 …]
|
D | ibmpex.c | 187 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 …]
|
D | Kconfig | 47 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 …]
|
D | ab8500.c | 80 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()
|
D | abituguru3.c | 844 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()
|
/linux-4.1.27/drivers/iio/common/hid-sensors/ |
D | Makefile | 5 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
|
D | Kconfig | 11 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.1.27/Documentation/devicetree/bindings/thermal/ |
D | thermal.txt | 25 * 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. 146 - thermal-sensors: A list of thermal sensor phandles and sensor specifier 148 phandles + sensor [all …]
|
D | st-thermal.txt | 19 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
|
D | armada-thermal.txt | 13 The first one is required for the sensor register; 15 to be used for sensor initialization (a.k.a. calibration).
|
D | exynos-thermal.txt | 70 #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"
|
D | rockchip-thermal.txt | 15 - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description. 32 #thermal-sensor-cells = <1>; 44 /* sensor ID */
|
D | tegra-soctherm.txt | 25 - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description 42 #thermal-sensor-cells = <1>;
|
D | ti_soc_thermal.txt | 4 and a temperature sensor feature that are gathered in the band 5 gap voltage and temperature sensor (VBGAPTS) module. The band
|
D | spear-thermal.txt | 6 - st,thermal-flags: flags used to enable thermal sensor
|
D | kirkwood-thermal.txt | 4 don't contain a thermal sensor.
|
D | dove-thermal.txt | 3 This driver is for Dove SoCs which contain a thermal sensor.
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
D | opal-sensor.c | 83 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()
|
D | Makefile | 3 obj-y += rng.o opal-elog.o opal-dump.o opal-sysparam.o opal-sensor.o
|
/linux-4.1.27/drivers/iio/temperature/ |
D | Kconfig | 2 # 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.
|
/linux-4.1.27/drivers/macintosh/ |
D | windfarm_pm121.c | 363 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.1.27/Documentation/hid/ |
D | hid-sensor.txt | 4 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.1.27/drivers/media/usb/gspca/gl860/ |
D | gl860.c | 54 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 …]
|
D | gl860.h | 35 #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.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sysfs.c | 49 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.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_hwmon.c | 50 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.1.27/drivers/iio/proximity/ |
D | Kconfig | 8 tristate "AS3935 Franklin lightning sensor" 14 Microsystems AS3935 lightning detection sensor. 24 tristate "SX9500 Semtech proximity sensor" 31 proximity/button sensor.
|
/linux-4.1.27/Documentation/devicetree/bindings/media/ |
D | samsung-s5k6a3.txt | 1 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.
|
D | samsung-s5c73m3.txt | 16 - 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
|
D | samsung-fimc.txt | 102 - 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 {
|
D | samsung-s5k5baf.txt | 7 - reg : I2C slave address of the sensor; 18 - clock-names : should include "mclk" for the sensor's master clock;
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
D | media-dev.c | 44 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 …]
|
D | fimc-is.c | 167 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()
|
D | fimc-is-param.c | 54 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()
|
D | fimc-is.h | 223 struct sensor_param sensor; member 256 struct fimc_is_sensor sensor[FIMC_IS_SENSORS_NUM]; member
|
D | fimc-capture.c | 874 static int fimc_get_sensor_frame_desc(struct v4l2_subdev *sensor, in fimc_get_sensor_frame_desc() argument 885 pad = sensor->entity.num_pads - 1; in fimc_get_sensor_frame_desc() 887 ret = v4l2_subdev_call(sensor, pad, set_frame_desc, pad, &fd); in fimc_get_sensor_frame_desc() 889 ret = v4l2_subdev_call(sensor, pad, get_frame_desc, pad, &fd); in fimc_get_sensor_frame_desc() 901 v4l2_err(sensor->v4l2_dev, "Unsupported buffer size: %u\n", in fimc_get_sensor_frame_desc() 988 struct v4l2_subdev *sensor; in __video_try_or_set_format() local 992 sensor = __fimc_md_get_subdev(ve->pipe, IDX_SENSOR); in __video_try_or_set_format() 993 if (sensor) in __video_try_or_set_format() 994 fimc_get_sensor_frame_desc(sensor, pix->plane_fmt, in __video_try_or_set_format() 1398 struct v4l2_subdev *sensor; in fimc_link_setup() local [all …]
|
/linux-4.1.27/drivers/media/platform/s3c-camif/ |
D | camif-core.c | 198 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 …]
|
D | camif-capture.c | 72 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 (!on == camif->sensor.power_count) 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 (!on == camif->sensor.stream_count) 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.1.27/Documentation/devicetree/bindings/iio/light/ |
D | gp2ap020a00f.txt | 1 * Sharp GP2AP020A00F I2C Proximity/ALS sensor 3 The proximity detector sensor requires power supply 9 - reg : the I2C slave address of the light sensor
|
D | tsl2563.txt | 1 * AMS TAOS TSL2563 ambient light sensor 6 - reg : the I2C address of the sensor
|
D | apds9300.txt | 1 * Avago APDS9300 ambient light sensor 8 - reg : the I2C address of the sensor
|
D | cm36651.txt | 1 * Capella CM36651 I2C Proximity and Color Light sensor
|
/linux-4.1.27/Documentation/devicetree/bindings/misc/ |
D | ifm-csi.txt | 1 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.1.27/Documentation/devicetree/bindings/iio/ |
D | st-sensors.txt | 3 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.
|
D | sensorhub.txt | 4 of a virtual sensor device.
|
/linux-4.1.27/drivers/staging/iio/Documentation/ |
D | sysfs-bus-iio-light | 19 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
|
D | device.txt | 45 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.1.27/drivers/iio/orientation/ |
D | Makefile | 6 obj-$(CONFIG_HID_SENSOR_INCLINOMETER_3D) += hid-sensor-incl-3d.o 7 obj-$(CONFIG_HID_SENSOR_DEVICE_ROTATION) += hid-sensor-rotation.o
|
D | Kconfig | 28 device rotation. The output of a device rotation sensor
|
/linux-4.1.27/drivers/iio/humidity/ |
D | Kconfig | 2 # humidity sensor drivers 16 tristate "SI7005 relative humidity and temperature sensor" 20 humidity and temperature sensor.
|
/linux-4.1.27/drivers/media/i2c/m5mols/ |
D | Kconfig | 2 tristate "Fujitsu M-5MOLS 8MP sensor support" 6 This driver supports Fujitsu M-5MOLS camera sensor with ISP
|
/linux-4.1.27/drivers/media/i2c/soc_camera/ |
D | Kconfig | 1 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.1.27/drivers/staging/iio/cdc/ |
D | Kconfig | 7 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.1.27/Documentation/devicetree/bindings/iio/humidity/ |
D | dht11.txt | 1 * DHT11 humidity/temperature sensor (and compatibles like DHT22) 5 - gpios: Should specify the GPIO connected to the sensor's data
|
/linux-4.1.27/Documentation/input/ |
D | edt-ft5x06.txt | 36 (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.1.27/Documentation/devicetree/bindings/iio/accel/ |
D | bma180.txt | 1 * Bosch BMA180 triaxial acceleration sensor 8 - reg : the I2C address of the sensor
|
/linux-4.1.27/Documentation/devicetree/bindings/input/ |
D | cap11xx.txt | 24 microchip,sensor-gain: Defines the gain of the sensor circuitry. This 50 microchip,sensor-gain = <2>;
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | exynos4412-tmu-sensor-conf.dtsi | 2 * Device tree sources for Exynos4412 TMU sensor configuration 14 #thermal-sensor-cells = <0>;
|
D | exynos5440-tmu-sensor-conf.dtsi | 2 * Device tree sources for Exynos5440 TMU sensor configuration 14 #thermal-sensor-cells = <0>;
|
D | ste-href-tvk1281618.dtsi | 26 /* Proximity sensor */ 32 /* Hall sensor */ 121 /* Barometer/pressure sensor */
|
D | ste-href-stuib.dtsi | 24 /* Proximity sensor */ 30 /* Hall sensor */
|
D | omap5-gpu-thermal.dtsi | 18 /* sensor ID */
|
D | omap5-core-thermal.dtsi | 18 /* sensor ID */
|
D | exynos5440.dtsi | 222 #include "exynos5440-tmu-sensor-conf.dtsi" 231 #include "exynos5440-tmu-sensor-conf.dtsi" 240 #include "exynos5440-tmu-sensor-conf.dtsi"
|
D | omap4-cpu-thermal.dtsi | 18 /* sensor ID */
|
D | tegra30-colibri.dtsi | 178 * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and 299 * LM95245 temperature sensor 302 temp-sensor@4c {
|
/linux-4.1.27/drivers/thermal/ti-soc-thermal/ |
D | Kconfig | 2 tristate "Texas Instruments SoCs temperature sensor driver" 7 OMAP4460+ on die bandgap temperature sensor support. The register 19 framework for the Texas Instruments on die bandgap temperature sensor.
|
/linux-4.1.27/Documentation/thermal/ |
D | exynos_thermal_emulation | 14 sensor's value. 53 current temp : sensor 50 70 20 sensor
|
/linux-4.1.27/Documentation/devicetree/bindings/input/touchscreen/ |
D | sun4i.txt | 9 - #thermal-sensor-cells: shall be 0 34 #thermal-sensor-cells = <0>;
|
/linux-4.1.27/drivers/misc/ |
D | Kconfig | 302 light sensor. 308 tristate "Intersil ISL29003 ambient light sensor" 312 ambient light sensor. 318 tristate "Intersil ISL29020 ambient light sensor" 322 ambient light sensor. 328 tristate "Taos TSL2550 ambient light sensor" 332 ambient light sensor. 338 tristate "ROHM BH1780GLI ambient light sensor" 342 ambient light sensor. 348 tristate "BH1770GLC / SFH7770 combined ALS - Proximity sensor" [all …]
|
/linux-4.1.27/drivers/char/ |
D | i8k.c | 317 static int i8k_get_temp_type(int sensor) in i8k_get_temp_type() argument 321 regs.ebx = sensor & 0xff; in i8k_get_temp_type() 328 static int _i8k_get_temp(int sensor) in _i8k_get_temp() argument 332 .ebx = sensor & 0xff, in _i8k_get_temp() 338 static int i8k_get_temp(int sensor) in i8k_get_temp() argument 340 int temp = _i8k_get_temp(sensor); in i8k_get_temp() 351 temp = _i8k_get_temp(sensor); in i8k_get_temp()
|
/linux-4.1.27/drivers/staging/iio/light/ |
D | Kconfig | 7 tristate "ISL 29018 light and proximity sensor" 16 Data from sensor is accessible via sysfs.
|
/linux-4.1.27/Documentation/misc-devices/ |
D | isl29003 | 16 The ISL29003 is an integrated light sensor with a 16-bit integrating type 61 returns the value from the last sensor reading
|
D | apds990x.txt | 16 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.1.27/drivers/media/usb/stkwebcam/ |
D | Makefile | 1 stkwebcam-objs := stk-webcam.o stk-sensor.o
|
/linux-4.1.27/drivers/media/platform/davinci/ |
D | Kconfig | 40 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.1.27/include/media/ |
D | s3c_camif.h | 36 struct s3c_camif_sensor_info sensor; member
|
/linux-4.1.27/Documentation/w1/slaves/ |
D | 00-INDEX | 4 - The Maxim/Dallas Semiconductor ds18*20 temperature sensor.
|
/linux-4.1.27/Documentation/devicetree/bindings/i2c/ |
D | ina209.txt | 14 temp-sensor@4c {
|
/linux-4.1.27/drivers/iio/magnetometer/ |
D | Makefile | 8 obj-$(CONFIG_HID_SENSOR_MAGNETOMETER_3D) += hid-sensor-magn-3d.o
|
/linux-4.1.27/drivers/iio/accel/ |
D | Kconfig | 15 BMA250 triaxial acceleration sensor. 47 module will be called hid-sensor-accel-3d. 108 triaxial acceleration sensor. This driver also supports KXCJ9-1008
|
D | Makefile | 8 obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o
|
/linux-4.1.27/drivers/staging/media/omap4iss/ |
D | iss.c | 1142 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 == NULL) 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.1.27/Documentation/ABI/testing/ |
D | sysfs-class-backlight-driver-adp8870 | 36 Get conversion value of the light sensor. 37 This value is updated every 80 ms (when the light sensor
|
D | sysfs-driver-hid-roccat-lua | 5 When read, actual cpi setting and sensor data are returned.
|
D | sysfs-platform-dell-laptop | 9 light sensor. Write 1 to this file to enable the auto 19 as reported by the ambient light sensor.
|
D | sysfs-bus-iio-mpu6050 | 12 [1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and device are perfectly
|
/linux-4.1.27/Documentation/devicetree/bindings/iio/magnetometer/ |
D | ak8975.txt | 1 * AsahiKASEI AK8975 magnetometer sensor
|
D | hmc5843.txt | 1 * Honeywell HMC5843 magnetometer sensor
|
/linux-4.1.27/drivers/iio/gyro/ |
D | Makefile | 13 obj-$(CONFIG_HID_SENSOR_GYRO_3D) += hid-sensor-gyro-3d.o
|
/linux-4.1.27/Documentation/laptops/ |
D | toshiba_haps.txt | 28 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.1.27/Documentation/spi/ |
D | 00-INDEX | 16 - Connecting an LM70-LLP sensor to the kernel via the SPI subsys.
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | rtas.h | 345 extern int rtas_get_sensor(int sensor, int index, int *state); 346 extern int rtas_get_sensor_fast(int sensor, int index, int *state);
|
/linux-4.1.27/arch/powerpc/boot/dts/ |
D | mpc8308_p1m.dts | 143 sensor@48 { 147 sensor@49 { 151 sensor@4b {
|
/linux-4.1.27/drivers/platform/mips/ |
D | Kconfig | 28 Loongson-3A/3B CPU Hwmon (temperature sensor) driver.
|
/linux-4.1.27/drivers/iio/common/ssp_sensors/ |
D | Kconfig | 2 # SSP sensor drivers and commons configuration
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | rtas-proc.c | 122 struct individual_sensor sensor[MAX_SENSORS]; member 428 struct individual_sensor *p = &sensors.sensor[i]; in ppc_rtas_sensors_show() 470 sensors.sensor[i].token = *utmp++; in ppc_rtas_find_all_sensors() 471 sensors.sensor[i].quant = *utmp++; in ppc_rtas_find_all_sensors()
|
/linux-4.1.27/Documentation/devicetree/bindings/iio/proximity/ |
D | as3935.txt | 1 Austrian Microsystems AS3935 Franklin lightning sensor device driver
|
/linux-4.1.27/drivers/media/usb/pwc/ |
D | pwc-ctrl.c | 535 int pwc_get_cmos_sensor(struct pwc_device *pdev, int *sensor) in pwc_get_cmos_sensor() argument 550 *sensor = pdev->ctrl_buf[0] | 0x100; in pwc_get_cmos_sensor() 552 *sensor = pdev->ctrl_buf[0]; in pwc_get_cmos_sensor()
|