| /linux/drivers/thermal/st/ |
| H A D | st_thermal.c | 24 static int st_thermal_alloc_regfields(struct st_thermal_sensor *sensor) in st_thermal_alloc_regfields() 49 static int st_thermal_sensor_on(struct st_thermal_sensor *sensor) in st_thermal_sensor_on() 69 static int st_thermal_sensor_off(struct st_thermal_sensor *sensor) in st_thermal_sensor_off() 82 static int st_thermal_calibration(struct st_thermal_sensor *sensor) in st_thermal_calibration() 112 struct st_thermal_sensor *sensor = thermal_zone_device_priv(th); in st_thermal_get_temp() local 142 struct st_thermal_sensor *sensor; in st_thermal_register() local 225 struct st_thermal_sensor *sensor = platform_get_drvdata(pdev); in st_thermal_unregister() local 235 struct st_thermal_sensor *sensor = dev_get_drvdata(dev); in st_thermal_suspend() local 243 struct st_thermal_sensor *sensor = dev_get_drvdata(dev); in st_thermal_resume() local
|
| /linux/drivers/iio/imu/st_lsm6dsx/ |
| H A D | st_lsm6dsx_shub.c | 158 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_shub_wait_complete() local 242 static int st_lsm6dsx_shub_master_enable(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_master_enable() 283 st_lsm6dsx_shub_read(struct st_lsm6dsx_sensor *sensor, u8 addr, in st_lsm6dsx_shub_read() 335 st_lsm6dsx_shub_write(struct st_lsm6dsx_sensor *sensor, u8 addr, in st_lsm6dsx_shub_write() 386 st_lsm6dsx_shub_write_with_mask(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_write_with_mask() 402 st_lsm6dsx_shub_get_odr_val(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_get_odr_val() 422 st_lsm6dsx_shub_set_odr(struct st_lsm6dsx_sensor *sensor, u32 odr) in st_lsm6dsx_shub_set_odr() 441 st_lsm6dsx_shub_config_channels(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_config_channels() 478 int st_lsm6dsx_shub_set_enable(struct st_lsm6dsx_sensor *sensor, bool enable) in st_lsm6dsx_shub_set_enable() 517 st_lsm6dsx_shub_read_oneshot(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_read_oneshot() [all …]
|
| H A D | st_lsm6dsx_core.c | 1610 static int st_lsm6dsx_set_full_scale(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_set_full_scale() 1638 int st_lsm6dsx_check_odr(struct st_lsm6dsx_sensor *sensor, u32 odr, u8 *val) in st_lsm6dsx_check_odr() 1677 st_lsm6dsx_set_odr(struct st_lsm6dsx_sensor *sensor, u32 req_odr) in st_lsm6dsx_set_odr() 1730 __st_lsm6dsx_sensor_set_enable(struct st_lsm6dsx_sensor *sensor, in __st_lsm6dsx_sensor_set_enable() 1750 st_lsm6dsx_check_events(struct st_lsm6dsx_sensor *sensor, bool enable) in st_lsm6dsx_check_events() 1760 int st_lsm6dsx_sensor_set_enable(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_sensor_set_enable() 1769 static int st_lsm6dsx_read_oneshot(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_read_oneshot() 1806 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_read_raw() local 1839 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_write_raw() local 1903 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_read_event() local [all …]
|
| H A D | st_lsm6dsx_buffer.c | 106 st_lsm6dsx_get_decimator_val(struct st_lsm6dsx_sensor *sensor, u32 max_odr) in st_lsm6dsx_get_decimator_val() 127 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_get_max_min_odr() local 145 static u8 st_lsm6dsx_get_sip(struct st_lsm6dsx_sensor *sensor, u32 min_odr) in st_lsm6dsx_get_sip() 155 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_update_decimators() local 221 static int st_lsm6dsx_set_fifo_odr(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_set_fifo_odr() 255 int st_lsm6dsx_update_watermark(struct st_lsm6dsx_sensor *sensor, u16 watermark) in st_lsm6dsx_update_watermark() 306 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_reset_hw_ts() local 541 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_push_tagged_data() local 701 st_lsm6dsx_update_samples_to_discard(struct st_lsm6dsx_sensor *sensor) in st_lsm6dsx_update_samples_to_discard() 724 int st_lsm6dsx_update_fifo(struct st_lsm6dsx_sensor *sensor, bool enable) in st_lsm6dsx_update_fifo() [all …]
|
| /linux/drivers/media/pci/intel/ |
| H A D | ipu-bridge.c | 211 static int ipu_bridge_check_ivsc_dev(struct ipu_sensor *sensor, in ipu_bridge_check_ivsc_dev() 327 int ipu_bridge_parse_ssdb(struct acpi_device *adev, struct ipu_sensor *sensor) in ipu_bridge_parse_ssdb() 360 struct ipu_sensor *sensor, in ipu_bridge_create_fwnode_properties() 447 static void ipu_bridge_init_swnode_names(struct ipu_sensor *sensor) in ipu_bridge_init_swnode_names() 474 static void ipu_bridge_init_swnode_group(struct ipu_sensor *sensor) in ipu_bridge_init_swnode_group() 507 struct ipu_sensor *sensor) in ipu_bridge_create_connection_swnodes() 566 struct device *sensor; member 617 int ipu_bridge_instantiate_vcm(struct device *sensor) in ipu_bridge_instantiate_vcm() 665 static int ipu_bridge_instantiate_ivsc(struct ipu_sensor *sensor) in ipu_bridge_instantiate_ivsc() 683 struct ipu_sensor *sensor; in ipu_bridge_unregister_sensors() local [all …]
|
| /linux/drivers/iio/common/scmi_sensors/ |
| H A D | scmi_iio.c | 44 struct scmi_iio_priv *sensor; in scmi_iio_sensor_update_cb() local 88 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_buffer_preenable() local 110 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_buffer_postdisable() local 135 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_set_odr_val() local 203 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_write_raw() local 222 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_read_avail() local 252 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_get_odr_val() local 288 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_read_channel_data() local 335 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_read_raw() local 375 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_get_raw_available() local [all …]
|
| /linux/drivers/iio/temperature/ |
| H A D | ltc2983.c | 262 struct ltc2983_sensor sensor; member 269 struct ltc2983_sensor sensor; member 278 struct ltc2983_sensor sensor; member 286 struct ltc2983_sensor sensor; member 293 struct ltc2983_sensor sensor; member 298 struct ltc2983_sensor sensor; member 303 struct ltc2983_sensor sensor; member 351 const struct ltc2983_sensor *sensor, in __ltc2983_chan_assign_common() 540 const struct ltc2983_sensor *sensor) in ltc2983_thermocouple_assign_chan() 560 const struct ltc2983_sensor *sensor) in ltc2983_rtd_assign_chan() [all …]
|
| /linux/drivers/hwmon/ |
| H A D | scpi-hwmon.c | 57 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
|
| H A D | cgbc-hwmon.c | 99 struct cgbc_hwmon_sensor *sensor = hwmon->sensors; in cgbc_hwmon_probe_sensors() local 167 struct cgbc_hwmon_sensor *sensor = NULL; in cgbc_hwmon_find_sensor() local 192 struct cgbc_hwmon_sensor *sensor = cgbc_hwmon_find_sensor(hwmon, type, channel); in cgbc_hwmon_read() local 217 struct cgbc_hwmon_sensor *sensor; in cgbc_hwmon_is_visible() local 230 struct cgbc_hwmon_sensor *sensor = cgbc_hwmon_find_sensor(hwmon, type, channel); in cgbc_hwmon_read_string() local
|
| H A D | asus_wmi_sensors.c | 381 struct asus_wmi_sensor_info *sensor; in asus_wmi_update_values_for_source() local 417 static int asus_wmi_get_cached_value_or_update(const struct asus_wmi_sensor_info *sensor, in asus_wmi_get_cached_value_or_update() 449 const struct asus_wmi_sensor_info *sensor; in asus_wmi_hwmon_read() local 471 const struct asus_wmi_sensor_info *sensor; in asus_wmi_hwmon_read_string() local 484 const struct asus_wmi_sensor_info *sensor; in asus_wmi_hwmon_is_visible() local 518 struct asus_wmi_sensor_info sensor; in asus_wmi_configure_sensor_setup() local
|
| H A D | ibmpex.c | 174 static int ibmpex_query_sensor_name(struct ibmpex_bmc_data *data, int sensor) in ibmpex_query_sensor_name() 189 static int ibmpex_query_sensor_data(struct ibmpex_bmc_data *data, int sensor) in ibmpex_query_sensor_data() 326 int counter, int sensor, int func) in create_sensor()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/ |
| H A D | base.c | 101 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
|
| /linux/drivers/input/rmi4/ |
| H A D | rmi_f12.c | 30 struct rmi_2d_sensor sensor; member 67 struct rmi_2d_sensor *sensor = &f12->sensor; in rmi_f12_read_sensor_tuning() local 170 struct rmi_2d_sensor *sensor = &f12->sensor; in rmi_f12_process_objects() local 228 struct rmi_2d_sensor *sensor = &f12->sensor; in rmi_f12_attention() local 321 struct rmi_2d_sensor *sensor; in rmi_f12_config() local 349 struct rmi_2d_sensor *sensor; in rmi_f12_probe() local
|
| H A D | rmi_f11.c | 533 struct rmi_2d_sensor sensor; member 550 struct rmi_2d_sensor *sensor = &f11->sensor; in rmi_f11_rel_pos_report() local 561 struct rmi_2d_sensor *sensor, in rmi_f11_abs_pos_process() 595 struct rmi_2d_sensor *sensor, int size) in rmi_f11_finger_handler() 658 struct rmi_2d_sensor *sensor = &f11->sensor; in f11_2d_construct_data() local 1074 struct rmi_2d_sensor *sensor; in rmi_f11_initialize() local 1278 struct rmi_2d_sensor *sensor = &f11->sensor; in rmi_f11_config() local
|
| /linux/drivers/thermal/ |
| H A D | thermal_mmio.c | 26 struct thermal_mmio *sensor = thermal_zone_device_priv(tz); in thermal_mmio_get_temperature() local 42 struct thermal_mmio *sensor; in thermal_mmio_probe() local 88 struct thermal_mmio *sensor) in al_thermal_init()
|
| H A D | imx_sc_thermal.c | 48 struct imx_sc_sensor *sensor = thermal_zone_device_priv(tz); in imx_sc_thermal_get_temp() local 74 struct imx_sc_sensor *sensor; in imx_sc_thermal_probe() local
|
| /linux/drivers/comedi/drivers/ |
| H A D | jr3_pci.c | 107 struct jr3_sensor __iomem *sensor; member 128 static int is_complete(struct jr3_sensor __iomem *sensor) in is_complete() 133 static void set_transforms(struct jr3_sensor __iomem *sensor, in set_transforms() 151 static void use_transform(struct jr3_sensor __iomem *sensor, in use_transform() 157 static void use_offset(struct jr3_sensor __iomem *sensor, short offset_num) in use_offset() 162 static void set_offset(struct jr3_sensor __iomem *sensor) in set_offset() 176 static void set_full_scales(struct jr3_sensor __iomem *sensor, in set_full_scales() 188 static struct six_axis_t get_max_full_scales(struct jr3_sensor __iomem *sensor) in get_max_full_scales() 429 struct jr3_sensor __iomem *sensor; in jr3_pci_poll_subdevice() local
|
| /linux/drivers/media/i2c/ccs/ |
| H A D | ccs-reg-access.h | 33 #define ccs_read(sensor, reg_name, val) \ argument 36 #define ccs_write(sensor, reg_name, val) \ argument
|
| H A D | ccs-quirk.h | 65 #define ccs_call_quirk(sensor, _quirk, ...) \ argument 70 #define ccs_needs_quirk(sensor, _quirk) \ argument
|
| /linux/drivers/iio/imu/smi330/ |
| H A D | smi330_core.c | 305 enum smi330_sensor sensor, in smi330_get_attributes() 329 static int smi330_get_config_reg(enum smi330_sensor sensor, int *reg) in smi330_get_config_reg() 344 enum smi330_sensor sensor, in smi330_get_sensor_config() 386 enum smi330_sensor sensor, in smi330_set_sensor_config() 501 enum smi330_sensor sensor; in smi330_read_raw() local 569 enum smi330_sensor sensor; in smi330_write_raw() local
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| H A D | g84.c | 56 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in g84_therm_program_alarms() local 143 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in g84_therm_intr() local
|
| H A D | temp.c | 166 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in alarm_timer_callback() local 195 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in nvkm_therm_program_alarms_polling() local
|
| H A D | ic.c | 34 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in probe_monitoring_device() local
|
| /linux/drivers/media/usb/gspca/ |
| H A D | sq930x.c | 33 u8 sensor; member 484 const struct sensor_s *sensor; in i2c_write() local 629 const struct sensor_s *sensor; in cmos_probe() local 754 const struct sensor_s *sensor; in setexposure() local 1121 #define ST(sensor, type) \ argument
|
| /linux/drivers/nvme/host/ |
| H A D | hwmon.c | 19 static int nvme_get_temp_thresh(struct nvme_ctrl *ctrl, int sensor, bool under, in nvme_get_temp_thresh() 40 static int nvme_set_temp_thresh(struct nvme_ctrl *ctrl, int sensor, bool under, in nvme_set_temp_thresh()
|