/kernel/linux/linux-5.10/drivers/thermal/st/ |
D | stm_thermal.c | 102 static int stm_enable_irq(struct stm_thermal_sensor *sensor) in stm_enable_irq() argument 106 dev_dbg(sensor->dev, "low:%d high:%d\n", sensor->low_temp_enabled, in stm_enable_irq() 107 sensor->high_temp_enabled); in stm_enable_irq() 110 value = readl_relaxed(sensor->base + DTS_ITENR_OFFSET); in stm_enable_irq() 113 if (sensor->low_temp_enabled) in stm_enable_irq() 116 if (sensor->high_temp_enabled) in stm_enable_irq() 120 writel_relaxed(value, sensor->base + DTS_ITENR_OFFSET); in stm_enable_irq() 127 struct stm_thermal_sensor *sensor = sdata; in stm_thermal_irq_handler() local 129 dev_dbg(sensor->dev, "sr:%d\n", in stm_thermal_irq_handler() 130 readl_relaxed(sensor->base + DTS_SR_OFFSET)); in stm_thermal_irq_handler() [all …]
|
D | st_thermal.c | 23 static int st_thermal_alloc_regfields(struct st_thermal_sensor *sensor) in st_thermal_alloc_regfields() argument 25 struct device *dev = sensor->dev; in st_thermal_alloc_regfields() 26 struct regmap *regmap = sensor->regmap; in st_thermal_alloc_regfields() 27 const struct reg_field *reg_fields = sensor->cdata->reg_fields; in st_thermal_alloc_regfields() 29 sensor->dcorrect = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields() 32 sensor->overflow = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields() 35 sensor->temp_data = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields() 38 if (IS_ERR(sensor->dcorrect) || in st_thermal_alloc_regfields() 39 IS_ERR(sensor->overflow) || in st_thermal_alloc_regfields() 40 IS_ERR(sensor->temp_data)) { in st_thermal_alloc_regfields() [all …]
|
D | st_thermal_memmap.c | 39 struct st_thermal_sensor *sensor = sdata; in st_mmap_thermal_trip_handler() local 41 thermal_zone_device_update(sensor->thermal_dev, in st_mmap_thermal_trip_handler() 48 static int st_mmap_power_ctrl(struct st_thermal_sensor *sensor, in st_mmap_power_ctrl() argument 54 return regmap_update_bits(sensor->regmap, STIH416_MPE_CONF, mask, val); in st_mmap_power_ctrl() 57 static int st_mmap_alloc_regfields(struct st_thermal_sensor *sensor) in st_mmap_alloc_regfields() argument 59 struct device *dev = sensor->dev; in st_mmap_alloc_regfields() 60 struct regmap *regmap = sensor->regmap; in st_mmap_alloc_regfields() 61 const struct reg_field *reg_fields = sensor->cdata->reg_fields; in st_mmap_alloc_regfields() 63 sensor->int_thresh_hi = devm_regmap_field_alloc(dev, regmap, in st_mmap_alloc_regfields() 65 sensor->int_enable = devm_regmap_field_alloc(dev, regmap, in st_mmap_alloc_regfields() [all …]
|
/kernel/linux/linux-5.10/drivers/media/i2c/smiapp/ |
D | smiapp-core.c | 60 static u32 smiapp_get_limit(struct smiapp_sensor *sensor, in smiapp_get_limit() argument 66 return sensor->limits[limit]; in smiapp_get_limit() 69 #define SMIA_LIM(sensor, limit) \ argument 70 smiapp_get_limit(sensor, SMIAPP_LIMIT_##limit) 72 static int smiapp_read_all_smia_limits(struct smiapp_sensor *sensor) in smiapp_read_all_smia_limits() argument 74 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_read_all_smia_limits() 82 sensor, smiapp_reg_limits[i].addr, &val); in smiapp_read_all_smia_limits() 86 sensor->limits[i] = val; in smiapp_read_all_smia_limits() 93 if (SMIA_LIM(sensor, SCALER_N_MIN) == 0) in smiapp_read_all_smia_limits() 94 smiapp_replace_limit(sensor, SMIAPP_LIMIT_SCALER_N_MIN, 16); in smiapp_read_all_smia_limits() [all …]
|
D | smiapp-quirk.c | 15 static int smiapp_write_8(struct smiapp_sensor *sensor, u16 reg, u8 val) in smiapp_write_8() argument 17 return smiapp_write(sensor, SMIAPP_REG_MK_U8(reg), val); in smiapp_write_8() 20 static int smiapp_write_8s(struct smiapp_sensor *sensor, in smiapp_write_8s() argument 23 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_write_8s() 27 rval = smiapp_write_8(sensor, regs->reg, regs->val); in smiapp_write_8s() 39 void smiapp_replace_limit(struct smiapp_sensor *sensor, in smiapp_replace_limit() argument 42 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_replace_limit() 47 sensor->limits[limit] = val; in smiapp_replace_limit() 50 static int jt8ew9_limits(struct smiapp_sensor *sensor) in jt8ew9_limits() argument 52 if (sensor->minfo.revision_number_major < 0x03) in jt8ew9_limits() [all …]
|
D | smiapp-quirk.h | 40 int (*limits)(struct smiapp_sensor *sensor); 41 int (*post_poweron)(struct smiapp_sensor *sensor); 42 int (*pre_streamon)(struct smiapp_sensor *sensor); 43 int (*post_streamoff)(struct smiapp_sensor *sensor); 44 unsigned long (*pll_flags)(struct smiapp_sensor *sensor); 45 int (*init)(struct smiapp_sensor *sensor); 46 int (*reg_access)(struct smiapp_sensor *sensor, bool write, u32 *reg, 58 void smiapp_replace_limit(struct smiapp_sensor *sensor, 67 #define smiapp_call_quirk(sensor, _quirk, ...) \ argument 68 ((sensor)->minfo.quirk && \ [all …]
|
D | smiapp-regs.c | 69 static int ____smiapp_read(struct smiapp_sensor *sensor, u16 reg, in ____smiapp_read() argument 72 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in ____smiapp_read() 116 static int ____smiapp_read_8only(struct smiapp_sensor *sensor, u16 reg, in ____smiapp_read_8only() argument 127 rval = ____smiapp_read(sensor, reg + i, 1, &val8); in ____smiapp_read_8only() 140 static int __smiapp_read(struct smiapp_sensor *sensor, u32 reg, u32 *val, in __smiapp_read() argument 143 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in __smiapp_read() 152 rval = ____smiapp_read(sensor, SMIAPP_REG_ADDR(reg), len, val); in __smiapp_read() 154 rval = ____smiapp_read_8only(sensor, SMIAPP_REG_ADDR(reg), len, in __smiapp_read() 165 int smiapp_read_no_quirk(struct smiapp_sensor *sensor, u32 reg, u32 *val) in smiapp_read_no_quirk() argument 168 sensor, reg, val, in smiapp_read_no_quirk() [all …]
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | ov5640.c | 602 static int ov5640_init_slave_id(struct ov5640_dev *sensor) in ov5640_init_slave_id() argument 604 struct i2c_client *client = sensor->i2c_client; in ov5640_init_slave_id() 630 static int ov5640_write_reg(struct ov5640_dev *sensor, u16 reg, u8 val) in ov5640_write_reg() argument 632 struct i2c_client *client = sensor->i2c_client; in ov5640_write_reg() 656 static int ov5640_read_reg(struct ov5640_dev *sensor, u16 reg, u8 *val) in ov5640_read_reg() argument 658 struct i2c_client *client = sensor->i2c_client; in ov5640_read_reg() 687 static int ov5640_read_reg16(struct ov5640_dev *sensor, u16 reg, u16 *val) in ov5640_read_reg16() argument 692 ret = ov5640_read_reg(sensor, reg, &hi); in ov5640_read_reg16() 695 ret = ov5640_read_reg(sensor, reg + 1, &lo); in ov5640_read_reg16() 703 static int ov5640_write_reg16(struct ov5640_dev *sensor, u16 reg, u16 val) in ov5640_write_reg16() argument [all …]
|
D | ov2680.c | 186 static struct device *ov2680_to_dev(struct ov2680_dev *sensor) in ov2680_to_dev() argument 188 return &sensor->i2c_client->dev; in ov2680_to_dev() 197 static int __ov2680_write_reg(struct ov2680_dev *sensor, u16 reg, in __ov2680_write_reg() argument 200 struct i2c_client *client = sensor->i2c_client; in __ov2680_write_reg() 227 static int __ov2680_read_reg(struct ov2680_dev *sensor, u16 reg, in __ov2680_read_reg() argument 230 struct i2c_client *client = sensor->i2c_client; in __ov2680_read_reg() 269 static int ov2680_mod_reg(struct ov2680_dev *sensor, u16 reg, u8 mask, u8 val) in ov2680_mod_reg() argument 274 ret = ov2680_read_reg(sensor, reg, &readval); in ov2680_mod_reg() 282 return ov2680_write_reg(sensor, reg, val); in ov2680_mod_reg() 285 static int ov2680_load_regs(struct ov2680_dev *sensor, in ov2680_load_regs() argument [all …]
|
D | mt9m032.c | 155 #define to_dev(sensor) \ argument 156 (&((struct i2c_client *)v4l2_get_subdevdata(&(sensor)->subdev))->dev) 168 static u32 mt9m032_row_time(struct mt9m032 *sensor, unsigned int width) in mt9m032_row_time() argument 174 ns = div_u64(1000000000ULL * effective_width, sensor->pix_clock); in mt9m032_row_time() 175 dev_dbg(to_dev(sensor), "MT9M032 line time: %u ns\n", ns); in mt9m032_row_time() 179 static int mt9m032_update_timing(struct mt9m032 *sensor, in mt9m032_update_timing() argument 182 struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev); in mt9m032_update_timing() 183 struct v4l2_rect *crop = &sensor->crop; in mt9m032_update_timing() 189 interval = &sensor->frame_interval; in mt9m032_update_timing() 191 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() 148 mutex_unlock(&sensor->lock); in s5k6a3_set_fmt() 157 struct s5k6a3 *sensor = sd_to_s5k6a3(sd); in s5k6a3_get_fmt() local 160 mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which); in s5k6a3_get_fmt() 162 mutex_lock(&sensor->lock); in s5k6a3_get_fmt() [all …]
|
/kernel/linux/linux-5.10/drivers/thermal/ |
D | hisi_thermal.c | 77 int (*get_temp)(struct hisi_thermal_sensor *sensor); 78 int (*enable_sensor)(struct hisi_thermal_sensor *sensor); 79 int (*disable_sensor)(struct hisi_thermal_sensor *sensor); 80 int (*irq_handler)(struct hisi_thermal_sensor *sensor); 86 struct hisi_thermal_sensor *sensor; member 261 static inline void hi6220_thermal_sensor_select(void __iomem *addr, int sensor) in hi6220_thermal_sensor_select() argument 264 (sensor << 12), addr + HI6220_TEMP0_CFG); in hi6220_thermal_sensor_select() 283 static int hi6220_thermal_irq_handler(struct hisi_thermal_sensor *sensor) in hi6220_thermal_irq_handler() argument 285 struct hisi_thermal_data *data = sensor->data; in hi6220_thermal_irq_handler() 291 static int hi3660_thermal_irq_handler(struct hisi_thermal_sensor *sensor) in hi3660_thermal_irq_handler() argument [all …]
|
D | thermal_mmio.c | 26 struct thermal_mmio *sensor = in thermal_mmio_get_temperature() local 29 t = sensor->read_mmio(sensor->mmio_base) & sensor->mask; in thermal_mmio_get_temperature() 30 t *= sensor->factor; in thermal_mmio_get_temperature() 44 struct thermal_mmio *sensor; in thermal_mmio_probe() local 46 struct thermal_mmio *sensor); in thermal_mmio_probe() 51 sensor = devm_kzalloc(&pdev->dev, sizeof(*sensor), GFP_KERNEL); in thermal_mmio_probe() 52 if (!sensor) in thermal_mmio_probe() 56 sensor->mmio_base = devm_ioremap_resource(&pdev->dev, resource); in thermal_mmio_probe() 57 if (IS_ERR(sensor->mmio_base)) { in thermal_mmio_probe() 59 PTR_ERR(sensor->mmio_base)); in thermal_mmio_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | scpi-hwmon.c | 57 static void scpi_scale_reading(u64 *value, struct sensor_data *sensor) in scpi_scale_reading() argument 59 if (scpi_scale[sensor->info.class] != sensor->scale) { in scpi_scale_reading() 60 *value *= scpi_scale[sensor->info.class]; in scpi_scale_reading() 61 do_div(*value, sensor->scale); in scpi_scale_reading() 70 struct sensor_data *sensor = &scpi_sensors->data[zone->sensor_id]; in scpi_read_temp() local 74 ret = scpi_ops->sensor_get_value(sensor->info.sensor_id, &value); in scpi_read_temp() 78 scpi_scale_reading(&value, sensor); in scpi_read_temp() 90 struct sensor_data *sensor; in scpi_show_sensor() local 94 sensor = container_of(attr, struct sensor_data, dev_attr_input); in scpi_show_sensor() 96 ret = scpi_ops->sensor_get_value(sensor->info.sensor_id, &value); in scpi_show_sensor() [all …]
|
/kernel/linux/linux-5.10/drivers/input/rmi4/ |
D | rmi_2d_sensor.c | 22 void rmi_2d_sensor_abs_process(struct rmi_2d_sensor *sensor, in rmi_2d_sensor_abs_process() argument 26 struct rmi_2d_axis_alignment *axis_align = &sensor->axis_align; in rmi_2d_sensor_abs_process() 33 obj->x = sensor->max_x - obj->x; in rmi_2d_sensor_abs_process() 36 obj->y = sensor->max_y - obj->y; in rmi_2d_sensor_abs_process() 56 obj->x = min(sensor->max_x, obj->x); in rmi_2d_sensor_abs_process() 59 obj->y = min(sensor->max_y, obj->y); in rmi_2d_sensor_abs_process() 61 sensor->tracking_pos[slot].x = obj->x; in rmi_2d_sensor_abs_process() 62 sensor->tracking_pos[slot].y = obj->y; in rmi_2d_sensor_abs_process() 66 void rmi_2d_sensor_abs_report(struct rmi_2d_sensor *sensor, in rmi_2d_sensor_abs_report() argument 70 struct rmi_2d_axis_alignment *axis_align = &sensor->axis_align; in rmi_2d_sensor_abs_report() [all …]
|
D | rmi_f11.c | 511 struct rmi_2d_sensor sensor; member 528 struct rmi_2d_sensor *sensor = &f11->sensor; in rmi_f11_rel_pos_report() local 535 rmi_2d_sensor_rel_report(sensor, x, y); in rmi_f11_rel_pos_report() 539 struct rmi_2d_sensor *sensor, in rmi_f11_abs_pos_process() argument 563 rmi_2d_sensor_abs_process(sensor, obj, n_finger); in rmi_f11_abs_pos_process() 573 struct rmi_2d_sensor *sensor, int size) in rmi_f11_finger_handler() argument 580 int abs_size = sensor->nbr_fingers * RMI_F11_ABS_BYTES; in rmi_f11_finger_handler() 582 if (sensor->report_abs) { in rmi_f11_finger_handler() 586 abs_fingers = sensor->nbr_fingers; in rmi_f11_finger_handler() 597 rmi_f11_abs_pos_process(f11, sensor, &sensor->objs[i], in rmi_f11_finger_handler() [all …]
|
D | rmi_f12.c | 29 struct rmi_2d_sensor sensor; member 66 struct rmi_2d_sensor *sensor = &f12->sensor; in rmi_f12_read_sensor_tuning() local 67 struct rmi_function *fn = sensor->fn; in rmi_f12_read_sensor_tuning() 100 sensor->max_x = (buf[offset + 1] << 8) | buf[offset]; in rmi_f12_read_sensor_tuning() 101 sensor->max_y = (buf[offset + 3] << 8) | buf[offset + 2]; in rmi_f12_read_sensor_tuning() 106 sensor->max_x, sensor->max_y); in rmi_f12_read_sensor_tuning() 135 sensor->x_mm = (pitch_x * rx_receivers) >> 12; in rmi_f12_read_sensor_tuning() 136 sensor->y_mm = (pitch_y * tx_receivers) >> 12; in rmi_f12_read_sensor_tuning() 139 sensor->x_mm, sensor->y_mm); in rmi_f12_read_sensor_tuning() 147 struct rmi_2d_sensor *sensor = &f12->sensor; in rmi_f12_process_objects() local [all …]
|
/kernel/linux/linux-5.10/drivers/media/i2c/et8ek8/ |
D | et8ek8_driver.c | 554 static int et8ek8_set_gain(struct et8ek8_sensor *sensor, s32 gain) in et8ek8_set_gain() argument 556 struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev); in et8ek8_set_gain() 582 static int et8ek8_set_test_pattern(struct et8ek8_sensor *sensor, s32 mode) in et8ek8_set_test_pattern() argument 584 struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev); in et8ek8_set_test_pattern() 638 struct et8ek8_sensor *sensor = in et8ek8_set_ctrl() local 643 return et8ek8_set_gain(sensor, ctrl->val); in et8ek8_set_ctrl() 648 v4l2_get_subdevdata(&sensor->subdev); in et8ek8_set_ctrl() 655 return et8ek8_set_test_pattern(sensor, ctrl->val); in et8ek8_set_ctrl() 681 static int et8ek8_init_controls(struct et8ek8_sensor *sensor) in et8ek8_init_controls() argument 685 v4l2_ctrl_handler_init(&sensor->ctrl_handler, 4); in et8ek8_init_controls() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/ |
D | base.c | 70 return nvkm_iccsense_poll_lane(rail->sensor->i2c, rail->sensor->addr, in nvkm_iccsense_ina2x9_read() 93 return nvkm_iccsense_poll_lane(rail->sensor->i2c, rail->sensor->addr, in nvkm_iccsense_ina3221_read() 101 struct nvkm_iccsense_sensor *sensor) in nvkm_iccsense_sensor_config() argument 104 nvkm_trace(subdev, "write config of extdev %i: 0x%04x\n", sensor->id, sensor->config); in nvkm_iccsense_sensor_config() 105 nv_wr16i2cr(sensor->i2c, sensor->addr, 0x00, sensor->config); in nvkm_iccsense_sensor_config() 134 struct nvkm_iccsense_sensor *sensor, *tmps; in nvkm_iccsense_dtor() local 137 list_for_each_entry_safe(sensor, tmps, &iccsense->sensors, head) { in nvkm_iccsense_dtor() 138 list_del(&sensor->head); in nvkm_iccsense_dtor() 139 kfree(sensor); in nvkm_iccsense_dtor() 157 struct nvkm_iccsense_sensor *sensor; in nvkm_iccsense_create_sensor() local [all …]
|
/kernel/linux/linux-5.10/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_shub.c | 158 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_shub_wait_complete() local 161 sensor = iio_priv(hw->iio_devs[ST_LSM6DSX_ID_ACC]); in st_lsm6dsx_shub_wait_complete() 162 odr = (hw->enable_mask & BIT(ST_LSM6DSX_ID_ACC)) ? sensor->odr : 12500; in st_lsm6dsx_shub_wait_complete() 244 static int st_lsm6dsx_shub_master_enable(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_master_enable() argument 248 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_master_enable() 253 err = st_lsm6dsx_sensor_set_enable(sensor, enable); in st_lsm6dsx_shub_master_enable() 285 st_lsm6dsx_shub_read(struct st_lsm6dsx_sensor *sensor, u8 addr, in st_lsm6dsx_shub_read() argument 290 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_read() 301 config[0] = (sensor->ext_info.addr << 1) | 1; in st_lsm6dsx_shub_read() 310 err = st_lsm6dsx_shub_master_enable(sensor, true); in st_lsm6dsx_shub_read() [all …]
|
D | st_lsm6dsx_buffer.c | 82 st_lsm6dsx_get_decimator_val(struct st_lsm6dsx_sensor *sensor, u32 max_odr) in st_lsm6dsx_get_decimator_val() argument 85 u32 decimator = max_odr / sensor->odr; in st_lsm6dsx_get_decimator_val() 96 sensor->decimator = decimator; in st_lsm6dsx_get_decimator_val() 103 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_get_max_min_odr() local 111 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_get_max_min_odr() 113 if (!(hw->enable_mask & BIT(sensor->id))) in st_lsm6dsx_get_max_min_odr() 116 *max_odr = max_t(u32, *max_odr, sensor->odr); in st_lsm6dsx_get_max_min_odr() 117 *min_odr = min_t(u32, *min_odr, sensor->odr); in st_lsm6dsx_get_max_min_odr() 121 static u8 st_lsm6dsx_get_sip(struct st_lsm6dsx_sensor *sensor, u32 min_odr) in st_lsm6dsx_get_sip() argument 123 u8 sip = sensor->odr / min_odr; in st_lsm6dsx_get_sip() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | jr3_pci.c | 108 struct jr3_sensor __iomem *sensor; member 129 static int is_complete(struct jr3_sensor __iomem *sensor) in is_complete() argument 131 return get_s16(&sensor->command_word0) == 0; in is_complete() 134 static void set_transforms(struct jr3_sensor __iomem *sensor, in set_transforms() argument 141 set_u16(&sensor->transforms[num].link[i].link_type, in set_transforms() 144 set_s16(&sensor->transforms[num].link[i].link_amount, in set_transforms() 152 static void use_transform(struct jr3_sensor __iomem *sensor, in use_transform() argument 155 set_s16(&sensor->command_word0, 0x0500 + (transf_num & 0x000f)); in use_transform() 158 static void use_offset(struct jr3_sensor __iomem *sensor, short offset_num) in use_offset() argument 160 set_s16(&sensor->command_word0, 0x0600 + (offset_num & 0x000f)); in use_offset() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/temperature/ |
D | ltc2983.c | 173 container_of(_sensor, struct ltc2983_thermocouple, sensor) 176 container_of(_sensor, struct ltc2983_rtd, sensor) 179 container_of(_sensor, struct ltc2983_thermistor, sensor) 182 container_of(_sensor, struct ltc2983_diode, sensor) 185 container_of(_sensor, struct ltc2983_rsense, sensor) 188 container_of(_sensor, struct ltc2983_adc, sensor) 213 const struct ltc2983_sensor *sensor); 230 struct ltc2983_sensor sensor; member 237 struct ltc2983_sensor sensor; member 246 struct ltc2983_sensor sensor; member [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | g84.c | 56 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 …]
|
/kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
D | i2c-cardlist.rst | 55 Camera sensor devices 61 et8ek8 ET8EK8 camera sensor 62 hi556 Hynix Hi-556 sensor 63 imx214 Sony IMX214 sensor 64 imx219 Sony IMX219 sensor 65 imx258 Sony IMX258 sensor 66 imx274 Sony IMX274 sensor 67 imx290 Sony IMX290 sensor 68 imx319 Sony IMX319 sensor 69 imx355 Sony IMX355 sensor [all …]
|