Home
last modified time | relevance | path

Searched defs:sensor (Results 1 – 25 of 152) sorted by relevance

1234567

/Linux-v6.1/drivers/media/i2c/ccs/
Dccs-quirk.c17 static int ccs_write_addr_8s(struct ccs_sensor *sensor, in ccs_write_addr_8s()
36 static int jt8ew9_limits(struct ccs_sensor *sensor) in jt8ew9_limits()
49 static int jt8ew9_post_poweron(struct ccs_sensor *sensor) in jt8ew9_post_poweron()
92 static int imx125es_post_poweron(struct ccs_sensor *sensor) in imx125es_post_poweron()
112 static int jt8ev1_limits(struct ccs_sensor *sensor) in jt8ev1_limits()
120 static int jt8ev1_post_poweron(struct ccs_sensor *sensor) in jt8ev1_post_poweron()
166 static int jt8ev1_pre_streamon(struct ccs_sensor *sensor) in jt8ev1_pre_streamon()
171 static int jt8ev1_post_streamoff(struct ccs_sensor *sensor) in jt8ev1_post_streamoff()
191 static int jt8ev1_init(struct ccs_sensor *sensor) in jt8ev1_init()
209 static int tcm8500md_limits(struct ccs_sensor *sensor) in tcm8500md_limits()
Dccs-core.c90 static int ccs_limit_ptr(struct ccs_sensor *sensor, unsigned int limit, in ccs_limit_ptr()
110 void ccs_replace_limit(struct ccs_sensor *sensor, in ccs_replace_limit()
130 u32 ccs_get_limit(struct ccs_sensor *sensor, unsigned int limit, in ccs_get_limit()
159 static int ccs_read_all_limits(struct ccs_sensor *sensor) in ccs_read_all_limits()
238 static int ccs_read_frame_fmt(struct ccs_sensor *sensor) in ccs_read_frame_fmt()
364 static int ccs_pll_configure(struct ccs_sensor *sensor) in ccs_pll_configure()
425 static int ccs_pll_try(struct ccs_sensor *sensor, struct ccs_pll *pll) in ccs_pll_try()
476 static int ccs_pll_update(struct ccs_sensor *sensor) in ccs_pll_update()
506 static void __ccs_update_exposure_limits(struct ccs_sensor *sensor) in __ccs_update_exposure_limits()
559 static u32 ccs_pixel_order(struct ccs_sensor *sensor) in ccs_pixel_order()
[all …]
Dccs-reg-access.c69 static int ____ccs_read_addr(struct ccs_sensor *sensor, u16 reg, u16 len, in ____ccs_read_addr()
116 static int ____ccs_read_addr_8only(struct ccs_sensor *sensor, u16 reg, in ____ccs_read_addr_8only()
157 u32 ccs_reg_conv(struct ccs_sensor *sensor, u32 reg, u32 val) in ccs_reg_conv()
178 static int __ccs_read_addr(struct ccs_sensor *sensor, u32 reg, u32 *val, in __ccs_read_addr()
238 static int ccs_read_data(struct ccs_sensor *sensor, u32 reg, u32 *val) in ccs_read_data()
250 static int ccs_read_addr_raw(struct ccs_sensor *sensor, u32 reg, u32 *val, in ccs_read_addr_raw()
279 int ccs_read_addr(struct ccs_sensor *sensor, u32 reg, u32 *val) in ccs_read_addr()
284 int ccs_read_addr_8only(struct ccs_sensor *sensor, u32 reg, u32 *val) in ccs_read_addr_8only()
289 int ccs_read_addr_noconv(struct ccs_sensor *sensor, u32 reg, u32 *val) in ccs_read_addr_noconv()
321 int ccs_write_addr_no_quirk(struct ccs_sensor *sensor, u32 reg, u32 val) in ccs_write_addr_no_quirk()
[all …]
/Linux-v6.1/drivers/media/i2c/
Dov2680.c186 static struct device *ov2680_to_dev(struct ov2680_dev *sensor) in ov2680_to_dev()
197 static int __ov2680_write_reg(struct ov2680_dev *sensor, u16 reg, in __ov2680_write_reg()
227 static int __ov2680_read_reg(struct ov2680_dev *sensor, u16 reg, in __ov2680_read_reg()
269 static int ov2680_mod_reg(struct ov2680_dev *sensor, u16 reg, u8 mask, u8 val) in ov2680_mod_reg()
285 static int ov2680_load_regs(struct ov2680_dev *sensor, in ov2680_load_regs()
306 static void ov2680_power_up(struct ov2680_dev *sensor) in ov2680_power_up()
315 static void ov2680_power_down(struct ov2680_dev *sensor) in ov2680_power_down()
324 static int ov2680_bayer_order(struct ov2680_dev *sensor) in ov2680_bayer_order()
346 static int ov2680_vflip_enable(struct ov2680_dev *sensor) in ov2680_vflip_enable()
357 static int ov2680_vflip_disable(struct ov2680_dev *sensor) in ov2680_vflip_disable()
[all …]
Dov5640.c480 static inline bool ov5640_is_csi2(const struct ov5640_dev *sensor) in ov5640_is_csi2()
486 ov5640_formats(struct ov5640_dev *sensor) in ov5640_formats()
493 ov5640_code_to_pixfmt(struct ov5640_dev *sensor, u32 code) in ov5640_code_to_pixfmt()
506 static u32 ov5640_code_to_bpp(struct ov5640_dev *sensor, u32 code) in ov5640_code_to_bpp()
1130 ov5640_timings(const struct ov5640_dev *sensor, in ov5640_timings()
1139 static int ov5640_init_slave_id(struct ov5640_dev *sensor) in ov5640_init_slave_id()
1167 static int ov5640_write_reg(struct ov5640_dev *sensor, u16 reg, u8 val) in ov5640_write_reg()
1193 static int ov5640_read_reg(struct ov5640_dev *sensor, u16 reg, u8 *val) in ov5640_read_reg()
1224 static int ov5640_read_reg16(struct ov5640_dev *sensor, u16 reg, u16 *val) in ov5640_read_reg16()
1240 static int ov5640_write_reg16(struct ov5640_dev *sensor, u16 reg, u16 val) in ov5640_write_reg16()
[all …]
Dmt9m032.c155 #define to_dev(sensor) \ argument
168 static u32 mt9m032_row_time(struct mt9m032 *sensor, unsigned int width) in mt9m032_row_time()
179 static int mt9m032_update_timing(struct mt9m032 *sensor, in mt9m032_update_timing()
215 static int mt9m032_update_geom_timing(struct mt9m032 *sensor) in mt9m032_update_geom_timing()
236 static int update_formatter2(struct mt9m032 *sensor, bool streaming) in update_formatter2()
249 static int mt9m032_setup_pll(struct mt9m032 *sensor) in mt9m032_setup_pll()
341 __mt9m032_get_pad_crop(struct mt9m032 *sensor, in __mt9m032_get_pad_crop()
364 __mt9m032_get_pad_format(struct mt9m032 *sensor, in __mt9m032_get_pad_format()
383 struct mt9m032 *sensor = to_mt9m032(subdev); in mt9m032_get_pad_format() local
396 struct mt9m032 *sensor = to_mt9m032(subdev); in mt9m032_set_pad_format() local
[all …]
Dar0521.c141 static int ar0521_write_regs(struct ar0521_dev *sensor, const __be16 *data, in ar0521_write_regs()
163 static int ar0521_write_reg(struct ar0521_dev *sensor, u16 reg, u16 val) in ar0521_write_reg()
170 static int ar0521_set_geometry(struct ar0521_dev *sensor) in ar0521_set_geometry()
190 static int ar0521_set_gains(struct ar0521_dev *sensor) in ar0521_set_gains()
211 static u32 calc_pll(struct ar0521_dev *sensor, int num, u32 freq, u16 *pre_ptr, in calc_pll()
248 static void ar0521_calc_mode(struct ar0521_dev *sensor) in ar0521_calc_mode()
269 static int ar0521_write_mode(struct ar0521_dev *sensor) in ar0521_write_mode()
312 static int ar0521_set_stream(struct ar0521_dev *sensor, bool on) in ar0521_set_stream()
387 struct ar0521_dev *sensor = to_ar0521_dev(sd); in ar0521_get_fmt() local
408 struct ar0521_dev *sensor = to_ar0521_dev(sd); in ar0521_set_fmt() local
[all …]
Dov5648.c966 static int ov5648_read(struct ov5648_sensor *sensor, u16 address, u8 *value) in ov5648_read()
989 static int ov5648_write(struct ov5648_sensor *sensor, u16 address, u8 value) in ov5648_write()
1005 static int ov5648_write_sequence(struct ov5648_sensor *sensor, in ov5648_write_sequence()
1025 static int ov5648_update_bits(struct ov5648_sensor *sensor, u16 address, in ov5648_update_bits()
1047 static int ov5648_sw_reset(struct ov5648_sensor *sensor) in ov5648_sw_reset()
1052 static int ov5648_sw_standby(struct ov5648_sensor *sensor, int standby) in ov5648_sw_standby()
1062 static int ov5648_chip_id_check(struct ov5648_sensor *sensor) in ov5648_chip_id_check()
1086 static int ov5648_avdd_internal_power(struct ov5648_sensor *sensor, int on) in ov5648_avdd_internal_power()
1092 static int ov5648_pad_configure(struct ov5648_sensor *sensor) in ov5648_pad_configure()
1113 static int ov5648_mipi_configure(struct ov5648_sensor *sensor) in ov5648_mipi_configure()
[all …]
Ds5k6a3.c126 struct s5k6a3 *sensor, struct v4l2_subdev_state *sd_state, in __s5k6a3_get_format()
140 struct s5k6a3 *sensor = sd_to_s5k6a3(sd); in s5k6a3_set_fmt() local
158 struct s5k6a3 *sensor = sd_to_s5k6a3(sd); in s5k6a3_get_fmt() local
192 static int __s5k6a3_power_on(struct s5k6a3 *sensor) in __s5k6a3_power_on()
239 static int __s5k6a3_power_off(struct s5k6a3 *sensor) in __s5k6a3_power_off()
255 struct s5k6a3 *sensor = sd_to_s5k6a3(sd); in s5k6a3_s_power() local
286 struct s5k6a3 *sensor; in s5k6a3_probe() local
Dov8865.c1348 static int ov8865_read(struct ov8865_sensor *sensor, u16 address, u8 *value) in ov8865_read()
1371 static int ov8865_write(struct ov8865_sensor *sensor, u16 address, u8 value) in ov8865_write()
1387 static int ov8865_write_sequence(struct ov8865_sensor *sensor, in ov8865_write_sequence()
1407 static int ov8865_update_bits(struct ov8865_sensor *sensor, u16 address, in ov8865_update_bits()
1425 static int ov8865_sw_reset(struct ov8865_sensor *sensor) in ov8865_sw_reset()
1430 static int ov8865_sw_standby(struct ov8865_sensor *sensor, int standby) in ov8865_sw_standby()
1440 static int ov8865_chip_id_check(struct ov8865_sensor *sensor) in ov8865_chip_id_check()
1466 static int ov8865_charge_pump_configure(struct ov8865_sensor *sensor) in ov8865_charge_pump_configure()
1472 static int ov8865_mipi_configure(struct ov8865_sensor *sensor) in ov8865_mipi_configure()
1521 static int ov8865_black_level_configure(struct ov8865_sensor *sensor) in ov8865_black_level_configure()
[all …]
/Linux-v6.1/drivers/thermal/st/
Dst_thermal.c23 static int st_thermal_alloc_regfields(struct st_thermal_sensor *sensor) in st_thermal_alloc_regfields()
48 static int st_thermal_sensor_on(struct st_thermal_sensor *sensor) in st_thermal_sensor_on()
68 static int st_thermal_sensor_off(struct st_thermal_sensor *sensor) in st_thermal_sensor_off()
81 static int st_thermal_calibration(struct st_thermal_sensor *sensor) in st_thermal_calibration()
111 struct st_thermal_sensor *sensor = th->devdata; in st_thermal_get_temp() local
140 struct st_thermal_sensor *sensor = th->devdata; in st_thermal_get_trip_type() local
158 struct st_thermal_sensor *sensor = th->devdata; in st_thermal_get_trip_temp() local
182 struct st_thermal_sensor *sensor; in st_thermal_register() local
268 struct st_thermal_sensor *sensor = platform_get_drvdata(pdev); in st_thermal_unregister() local
280 struct st_thermal_sensor *sensor = dev_get_drvdata(dev); in st_thermal_suspend() local
[all …]
Dstm_thermal.c102 static int stm_enable_irq(struct stm_thermal_sensor *sensor) in stm_enable_irq()
127 struct stm_thermal_sensor *sensor = sdata; in stm_thermal_irq_handler() local
142 static int stm_sensor_power_on(struct stm_thermal_sensor *sensor) in stm_sensor_power_on()
175 static int stm_sensor_power_off(struct stm_thermal_sensor *sensor) in stm_sensor_power_off()
200 static int stm_thermal_calibration(struct stm_thermal_sensor *sensor) in stm_thermal_calibration()
244 static int stm_thermal_read_factory_settings(struct stm_thermal_sensor *sensor) in stm_thermal_read_factory_settings()
273 static int stm_thermal_calculate_threshold(struct stm_thermal_sensor *sensor, in stm_thermal_calculate_threshold()
293 static int stm_disable_irq(struct stm_thermal_sensor *sensor) in stm_disable_irq()
307 struct stm_thermal_sensor *sensor = tz->devdata; in stm_thermal_set_trips() local
355 struct stm_thermal_sensor *sensor = tz->devdata; in stm_thermal_get_temp() local
[all …]
Dst_thermal_memmap.c39 struct st_thermal_sensor *sensor = sdata; in st_mmap_thermal_trip_handler() local
48 static int st_mmap_power_ctrl(struct st_thermal_sensor *sensor, in st_mmap_power_ctrl()
57 static int st_mmap_alloc_regfields(struct st_thermal_sensor *sensor) in st_mmap_alloc_regfields()
76 static int st_mmap_enable_irq(struct st_thermal_sensor *sensor) in st_mmap_enable_irq()
90 static int st_mmap_register_enable_irq(struct st_thermal_sensor *sensor) in st_mmap_register_enable_irq()
118 static int st_mmap_regmap_init(struct st_thermal_sensor *sensor) in st_mmap_regmap_init()
/Linux-v6.1/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_shub.c158 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_shub_wait_complete() local
244 static int st_lsm6dsx_shub_master_enable(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_master_enable()
285 st_lsm6dsx_shub_read(struct st_lsm6dsx_sensor *sensor, u8 addr, in st_lsm6dsx_shub_read()
337 st_lsm6dsx_shub_write(struct st_lsm6dsx_sensor *sensor, u8 addr, in st_lsm6dsx_shub_write()
388 st_lsm6dsx_shub_write_with_mask(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_write_with_mask()
404 st_lsm6dsx_shub_get_odr_val(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_get_odr_val()
424 st_lsm6dsx_shub_set_odr(struct st_lsm6dsx_sensor *sensor, u32 odr) in st_lsm6dsx_shub_set_odr()
443 st_lsm6dsx_shub_config_channels(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_config_channels()
480 int st_lsm6dsx_shub_set_enable(struct st_lsm6dsx_sensor *sensor, bool enable) in st_lsm6dsx_shub_set_enable()
519 st_lsm6dsx_shub_read_oneshot(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_read_oneshot()
[all …]
Dst_lsm6dsx_core.c1217 static int st_lsm6dsx_set_full_scale(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_set_full_scale()
1245 int st_lsm6dsx_check_odr(struct st_lsm6dsx_sensor *sensor, u32 odr, u8 *val) in st_lsm6dsx_check_odr()
1284 st_lsm6dsx_set_odr(struct st_lsm6dsx_sensor *sensor, u32 req_odr) in st_lsm6dsx_set_odr()
1337 __st_lsm6dsx_sensor_set_enable(struct st_lsm6dsx_sensor *sensor, in __st_lsm6dsx_sensor_set_enable()
1357 st_lsm6dsx_check_events(struct st_lsm6dsx_sensor *sensor, bool enable) in st_lsm6dsx_check_events()
1367 int st_lsm6dsx_sensor_set_enable(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_sensor_set_enable()
1376 static int st_lsm6dsx_read_oneshot(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_read_oneshot()
1413 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_read_raw() local
1447 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_write_raw() local
1510 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_read_event() local
[all …]
Dst_lsm6dsx_buffer.c83 st_lsm6dsx_get_decimator_val(struct st_lsm6dsx_sensor *sensor, u32 max_odr) in st_lsm6dsx_get_decimator_val()
104 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_get_max_min_odr() local
122 static u8 st_lsm6dsx_get_sip(struct st_lsm6dsx_sensor *sensor, u32 min_odr) in st_lsm6dsx_get_sip()
132 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_update_decimators() local
198 static int st_lsm6dsx_set_fifo_odr(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_set_fifo_odr()
232 int st_lsm6dsx_update_watermark(struct st_lsm6dsx_sensor *sensor, u16 watermark) in st_lsm6dsx_update_watermark()
283 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_reset_hw_ts() local
501 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_push_tagged_data() local
657 int st_lsm6dsx_update_fifo(struct st_lsm6dsx_sensor *sensor, bool enable) in st_lsm6dsx_update_fifo()
716 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_buffer_preenable() local
[all …]
/Linux-v6.1/drivers/media/i2c/et8ek8/
Det8ek8_driver.c554 static int et8ek8_set_gain(struct et8ek8_sensor *sensor, s32 gain) in et8ek8_set_gain()
582 static int et8ek8_set_test_pattern(struct et8ek8_sensor *sensor, s32 mode) in et8ek8_set_test_pattern()
638 struct et8ek8_sensor *sensor = in et8ek8_set_ctrl() local
681 static int et8ek8_init_controls(struct et8ek8_sensor *sensor) in et8ek8_init_controls()
721 static void et8ek8_update_controls(struct et8ek8_sensor *sensor) in et8ek8_update_controls()
746 static int et8ek8_configure(struct et8ek8_sensor *sensor) in et8ek8_configure()
772 static int et8ek8_stream_on(struct et8ek8_sensor *sensor) in et8ek8_stream_on()
779 static int et8ek8_stream_off(struct et8ek8_sensor *sensor) in et8ek8_stream_off()
788 struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev); in et8ek8_s_stream() local
805 static int et8ek8_power_off(struct et8ek8_sensor *sensor) in et8ek8_power_off()
[all …]
/Linux-v6.1/drivers/media/pci/intel/ipu3/
Dcio2-bridge.c93 static u32 cio2_bridge_parse_rotation(struct cio2_sensor *sensor) in cio2_bridge_parse_rotation()
108 static enum v4l2_fwnode_orientation cio2_bridge_parse_orientation(struct cio2_sensor *sensor) in cio2_bridge_parse_orientation()
128 struct cio2_sensor *sensor, in cio2_bridge_create_fwnode_properties()
185 static void cio2_bridge_init_swnode_names(struct cio2_sensor *sensor) in cio2_bridge_init_swnode_names()
199 struct cio2_sensor *sensor) in cio2_bridge_create_connection_swnodes()
224 static void cio2_bridge_instantiate_vcm_i2c_client(struct cio2_sensor *sensor) in cio2_bridge_instantiate_vcm_i2c_client()
250 struct cio2_sensor *sensor; in cio2_bridge_unregister_sensors() local
267 struct cio2_sensor *sensor; in cio2_bridge_connect_sensor() local
/Linux-v6.1/drivers/thermal/
Dhisi_thermal.c78 struct hisi_thermal_sensor *sensor; member
253 static inline void hi6220_thermal_sensor_select(void __iomem *addr, int sensor) in hi6220_thermal_sensor_select()
275 static int hi6220_thermal_irq_handler(struct hisi_thermal_sensor *sensor) in hi6220_thermal_irq_handler()
283 static int hi3660_thermal_irq_handler(struct hisi_thermal_sensor *sensor) in hi3660_thermal_irq_handler()
291 static int hi6220_thermal_get_temp(struct hisi_thermal_sensor *sensor) in hi6220_thermal_get_temp()
298 static int hi3660_thermal_get_temp(struct hisi_thermal_sensor *sensor) in hi3660_thermal_get_temp()
305 static int hi6220_thermal_disable_sensor(struct hisi_thermal_sensor *sensor) in hi6220_thermal_disable_sensor()
319 static int hi3660_thermal_disable_sensor(struct hisi_thermal_sensor *sensor) in hi3660_thermal_disable_sensor()
328 static int hi6220_thermal_enable_sensor(struct hisi_thermal_sensor *sensor) in hi6220_thermal_enable_sensor()
366 static int hi3660_thermal_enable_sensor(struct hisi_thermal_sensor *sensor) in hi3660_thermal_enable_sensor()
[all …]
/Linux-v6.1/drivers/input/rmi4/
Drmi_2d_sensor.c22 void rmi_2d_sensor_abs_process(struct rmi_2d_sensor *sensor, in rmi_2d_sensor_abs_process()
66 void rmi_2d_sensor_abs_report(struct rmi_2d_sensor *sensor, in rmi_2d_sensor_abs_report()
113 void rmi_2d_sensor_rel_report(struct rmi_2d_sensor *sensor, int x, int y) in rmi_2d_sensor_rel_report()
136 static void rmi_2d_sensor_set_input_params(struct rmi_2d_sensor *sensor) in rmi_2d_sensor_set_input_params()
209 struct rmi_2d_sensor *sensor) in rmi_2d_sensor_configure_input()
/Linux-v6.1/drivers/iio/common/scmi_sensors/
Dscmi_iio.c41 struct scmi_iio_priv *sensor; in scmi_iio_sensor_update_cb() local
86 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_buffer_preenable() local
108 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_buffer_postdisable() local
133 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_set_odr_val() local
219 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_read_avail() local
249 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_get_odr_val() local
285 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_read_channel_data() local
332 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_read_raw() local
373 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_get_raw_available() local
517 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_set_sampling_freq_avail() local
[all …]
/Linux-v6.1/drivers/hwmon/
Dscmi-hwmon.c38 static int scmi_hwmon_scale(const struct scmi_sensor_info *sensor, u64 *value) in scmi_hwmon_scale()
73 const struct scmi_sensor_info *sensor, in scmi_hwmon_read_scaled_value()
93 const struct scmi_sensor_info *sensor; in scmi_hwmon_read() local
105 const struct scmi_sensor_info *sensor; in scmi_hwmon_read_string() local
118 const struct scmi_sensor_info *sensor; in scmi_hwmon_is_visible() local
194 const struct scmi_sensor_info *sensor) in scmi_thermal_sensor_register()
235 const struct scmi_sensor_info *sensor; in scmi_hwmon_probe() local
Dscpi-hwmon.c57 static void scpi_scale_reading(u64 *value, struct sensor_data *sensor) in scpi_scale_reading()
70 struct sensor_data *sensor = &scpi_sensors->data[zone->sensor_id]; in scpi_read_temp() local
90 struct sensor_data *sensor; in scpi_show_sensor() local
117 struct sensor_data *sensor; in scpi_show_label() local
180 struct sensor_data *sensor = &scpi_sensors->data[idx]; in scpi_hwmon_probe() local
265 struct sensor_data *sensor = &scpi_sensors->data[i]; in scpi_hwmon_probe() local
/Linux-v6.1/drivers/iio/temperature/
Dltc2983.c234 struct ltc2983_sensor sensor; member
241 struct ltc2983_sensor sensor; member
250 struct ltc2983_sensor sensor; member
258 struct ltc2983_sensor sensor; member
265 struct ltc2983_sensor sensor; member
270 struct ltc2983_sensor sensor; member
317 const struct ltc2983_sensor *sensor, in __ltc2983_chan_assign_common()
510 const struct ltc2983_sensor *sensor) in ltc2983_thermocouple_assign_chan()
530 const struct ltc2983_sensor *sensor) in ltc2983_rtd_assign_chan()
552 const struct ltc2983_sensor *sensor) in ltc2983_thermistor_assign_chan()
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/
Dbase.c101 struct nvkm_iccsense_sensor *sensor) in nvkm_iccsense_sensor_config()
134 struct nvkm_iccsense_sensor *sensor, *tmps; in nvkm_iccsense_dtor() local
157 struct nvkm_iccsense_sensor *sensor; in nvkm_iccsense_create_sensor() local
207 struct nvkm_iccsense_sensor *sensor; in nvkm_iccsense_get_sensor() local
244 struct nvkm_iccsense_sensor *sensor; in nvkm_iccsense_oneinit() local
301 struct nvkm_iccsense_sensor *sensor; in nvkm_iccsense_init() local

1234567