/openbmc/linux/drivers/media/i2c/ccs/ |
H A D | ccs-quirk.c | 17 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()
|
H A D | ccs-core.c | 110 void ccs_replace_limit(struct ccs_sensor *sensor, in ccs_replace_limit() 476 static int ccs_pll_update(struct ccs_sensor *sensor) in ccs_pll_update() 611 struct ccs_sensor *sensor = in ccs_set_ctrl() local 1549 struct ccs_sensor *sensor = in ccs_power_on() local 1692 struct ccs_sensor *sensor = in ccs_power_off() local 1922 struct ccs_sensor *sensor = to_ccs_sensor(subdev); in ccs_set_stream() local 1956 struct ccs_sensor *sensor = to_ccs_sensor(subdev); in ccs_pre_streamon() local 3025 static void ccs_cleanup(struct ccs_sensor *sensor) in ccs_cleanup() 3081 struct ccs_sensor *sensor = ssd->sensor; in ccs_open() local 3275 struct ccs_sensor *sensor, char *filename, in ccs_firmware_name() [all …]
|
H A D | ccs-reg-access.c | 69 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() 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() 357 int ccs_write_addr(struct ccs_sensor *sensor, u32 reg, u32 val) in ccs_write_addr() [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | ov2680.c | 318 __ov2680_get_pad_crop(struct ov2680_dev *sensor, in __ov2680_get_pad_crop() 558 struct ov2680_dev *sensor = to_ov2680_dev(sd); in ov2680_s_g_frame_interval() local 569 struct ov2680_dev *sensor = to_ov2680_dev(sd); in ov2680_s_stream() local 604 struct ov2680_dev *sensor = to_ov2680_dev(sd); in ov2680_enum_mbus_code() local 618 struct ov2680_dev *sensor = to_ov2680_dev(sd); in ov2680_get_fmt() local 635 struct ov2680_dev *sensor = to_ov2680_dev(sd); in ov2680_set_fmt() local 678 struct ov2680_dev *sensor = to_ov2680_dev(sd); in ov2680_get_selection() local 708 struct ov2680_dev *sensor = to_ov2680_dev(sd); in ov2680_set_selection() local 761 struct ov2680_dev *sensor = to_ov2680_dev(sd); in ov2680_init_cfg() local 774 struct ov2680_dev *sensor = to_ov2680_dev(sd); in ov2680_enum_frame_size() local [all …]
|
H A D | ov5640.c | 487 ov5640_formats(struct ov5640_dev *sensor) in ov5640_formats() 1141 ov5640_timings(const struct ov5640_dev *sensor, in ov5640_timings() 2791 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_get_fmt() local 2816 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_try_fmt_internal() local 2954 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_set_fmt() local 3000 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_get_selection() local 3321 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_g_volatile_ctrl() local 3353 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_s_ctrl() local 3550 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_enum_frame_size() local 3583 struct ov5640_dev *sensor = to_ov5640_dev(sd); in ov5640_enum_frame_interval() local [all …]
|
H A D | st-vgxy61.c | 715 struct vgxy61_dev *sensor = to_vgxy61_dev(sd); in vgxy61_try_fmt_internal() local 742 struct vgxy61_dev *sensor = to_vgxy61_dev(sd); in vgxy61_get_selection() local 777 struct vgxy61_dev *sensor = to_vgxy61_dev(sd); in vgxy61_get_fmt() local 812 struct vgxy61_dev *sensor = to_vgxy61_dev(sd); in vgxy61_enum_frame_size() local 1261 struct vgxy61_dev *sensor = to_vgxy61_dev(sd); in vgxy61_s_stream() local 1280 struct vgxy61_dev *sensor = to_vgxy61_dev(sd); in vgxy61_set_fmt() local 1334 struct vgxy61_dev *sensor = to_vgxy61_dev(sd); in vgxy61_init_cfg() local 1346 struct vgxy61_dev *sensor = to_vgxy61_dev(sd); in vgxy61_s_ctrl() local 1713 struct vgxy61_dev *sensor = to_vgxy61_dev(sd); in vgxy61_power_on() local 1770 struct vgxy61_dev *sensor = to_vgxy61_dev(sd); in vgxy61_power_off() local [all …]
|
H A D | ar0521.c | 445 struct ar0521_dev *sensor = to_ar0521_dev(sd); in ar0521_get_fmt() local 466 struct ar0521_dev *sensor = to_ar0521_dev(sd); in ar0521_set_fmt() local 533 struct ar0521_dev *sensor = to_ar0521_dev(sd); in ar0521_s_ctrl() local 844 struct ar0521_dev *sensor = to_ar0521_dev(sd); in ar0521_power_off() local 862 struct ar0521_dev *sensor = to_ar0521_dev(sd); in ar0521_power_on() local 922 struct ar0521_dev *sensor = to_ar0521_dev(sd); in ar0521_enum_mbus_code() local 951 struct ar0521_dev *sensor = to_ar0521_dev(sd); in ar0521_pre_streamon() local 982 struct ar0521_dev *sensor = to_ar0521_dev(sd); in ar0521_post_streamoff() local 990 struct ar0521_dev *sensor = to_ar0521_dev(sd); in ar0521_s_stream() local 1029 struct ar0521_dev *sensor = to_ar0521_dev(sd); in ar0521_suspend() local [all …]
|
H A D | imx415.c | 581 static int imx415_ctrls_init(struct imx415 *sensor) in imx415_ctrls_init() 715 static int imx415_wakeup(struct imx415 *sensor) in imx415_wakeup() 733 static int imx415_stream_on(struct imx415 *sensor) in imx415_stream_on() 744 static int imx415_stream_off(struct imx415 *sensor) in imx415_stream_off() 757 struct imx415 *sensor = to_imx415(sd); in imx415_s_stream() local 960 static int imx415_power_on(struct imx415 *sensor) in imx415_power_on() 992 static void imx415_power_off(struct imx415 *sensor) in imx415_power_off() 1170 struct imx415 *sensor; in imx415_probe() local 1239 struct imx415 *sensor = to_imx415(subdev); in imx415_remove() local 1259 struct imx415 *sensor = to_imx415(subdev); in imx415_runtime_resume() local [all …]
|
H A D | imx296.c | 253 static int imx296_power_on(struct imx296 *sensor) in imx296_power_on() 292 static void imx296_power_off(struct imx296 *sensor) in imx296_power_off() 386 static int imx296_ctrls_init(struct imx296 *sensor) in imx296_ctrls_init() 575 static int imx296_stream_on(struct imx296 *sensor) in imx296_stream_on() 598 struct imx296 *sensor = to_imx296(sd); in imx296_s_stream() local 658 struct imx296 *sensor = to_imx296(sd); in imx296_enum_mbus_code() local 692 struct imx296 *sensor = to_imx296(sd); in imx296_set_format() local 892 struct imx296 *sensor = to_imx296(subdev); in imx296_runtime_resume() local 901 struct imx296 *sensor = to_imx296(subdev); in imx296_runtime_suspend() local 1018 struct imx296 *sensor; in imx296_probe() local [all …]
|
H A D | s5k6a3.c | 126 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
|
H A D | ov5648.c | 1047 static int ov5648_sw_reset(struct ov5648_sensor *sensor) in ov5648_sw_reset() 1062 static int ov5648_chip_id_check(struct ov5648_sensor *sensor) in ov5648_chip_id_check() 1092 static int ov5648_pad_configure(struct ov5648_sensor *sensor) in ov5648_pad_configure() 1160 static int ov5648_isp_configure(struct ov5648_sensor *sensor) in ov5648_isp_configure() 1779 static int ov5648_state_init(struct ov5648_sensor *sensor) in ov5648_state_init() 1793 static int ov5648_sensor_init(struct ov5648_sensor *sensor) in ov5648_sensor_init() 1940 struct ov5648_sensor *sensor = ov5648_subdev_sensor(subdev); in ov5648_g_volatile_ctrl() local 1965 struct ov5648_sensor *sensor = ov5648_subdev_sensor(subdev); in ov5648_s_ctrl() local 2039 static int ov5648_ctrls_init(struct ov5648_sensor *sensor) in ov5648_ctrls_init() 2136 struct ov5648_sensor *sensor = ov5648_subdev_sensor(subdev); in ov5648_s_stream() local [all …]
|
/openbmc/linux/drivers/thermal/st/ |
H A D | st_thermal.c | 23 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 = thermal_zone_device_priv(th); in st_thermal_get_temp() local 143 struct st_thermal_sensor *sensor; in st_thermal_register() local 232 struct st_thermal_sensor *sensor = platform_get_drvdata(pdev); in st_thermal_unregister() local 242 struct st_thermal_sensor *sensor = dev_get_drvdata(dev); in st_thermal_suspend() local 250 struct st_thermal_sensor *sensor = dev_get_drvdata(dev); in st_thermal_resume() local
|
H A D | stm_thermal.c | 99 static int stm_enable_irq(struct stm_thermal_sensor *sensor) in stm_enable_irq() 124 struct stm_thermal_sensor *sensor = sdata; in stm_thermal_irq_handler() local 139 static int stm_sensor_power_on(struct stm_thermal_sensor *sensor) in stm_sensor_power_on() 172 static int stm_sensor_power_off(struct stm_thermal_sensor *sensor) in stm_sensor_power_off() 290 static int stm_disable_irq(struct stm_thermal_sensor *sensor) in stm_disable_irq() 378 static int stm_register_irq(struct stm_thermal_sensor *sensor) in stm_register_irq() 419 static int stm_thermal_prepare(struct stm_thermal_sensor *sensor) in stm_thermal_prepare() 446 struct stm_thermal_sensor *sensor = dev_get_drvdata(dev); in stm_thermal_suspend() local 454 struct stm_thermal_sensor *sensor = dev_get_drvdata(dev); in stm_thermal_resume() local 487 struct stm_thermal_sensor *sensor; in stm_thermal_probe() local [all …]
|
H A D | st_thermal_memmap.c | 39 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()
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | fan.cpp | 87 for (auto& sensor : _sensors) in Fan() local 179 std::for_each(_sensors.begin(), _sensors.end(), [this](auto& sensor) { in startMonitor() 229 void Fan::tachChanged(TachSensor& sensor) in tachChanged() 253 void Fan::countTimerExpired(TachSensor& sensor) in countTimerExpired() 262 void Fan::process(TachSensor& sensor) in process() 353 bool Fan::outOfRange(const TachSensor& sensor) in outOfRange() 367 void Fan::updateState(TachSensor& sensor) in updateState() 481 std::for_each(_sensors.begin(), _sensors.end(), [](auto& sensor) { in presenceChanged() 504 void Fan::sensorErrorTimerExpired(const TachSensor& sensor) in sensorErrorTimerExpired() 521 std::for_each(_sensors.begin(), _sensors.end(), [this](auto& sensor) { in powerStateChanged() [all …]
|
/openbmc/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 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() 402 st_lsm6dsx_shub_get_odr_val(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_get_odr_val() 517 st_lsm6dsx_shub_read_oneshot(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_read_oneshot() 556 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_shub_read_raw() local 587 st_lsm6dsx_shub_set_full_scale(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_set_full_scale() 621 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_shub_write_raw() local 732 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_shub_alloc_iiodev() local 826 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_shub_check_wai() local [all …]
|
H A D | st_lsm6dsx_core.c | 1781 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_read_raw() local 1815 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_write_raw() local 1878 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_read_event() local 1898 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_write_event() local 1928 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_read_event_config() local 1943 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_write_event_config() local 1988 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_set_watermark() local 2366 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_alloc_iiodev() local 2493 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_sw_trigger_handler_thread() local 2796 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_suspend() local [all …]
|
H A D | st_lsm6dsx_buffer.c | 83 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() 283 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_reset_hw_ts() local 515 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_push_tagged_data() local 672 st_lsm6dsx_update_samples_to_discard(struct st_lsm6dsx_sensor *sensor) in st_lsm6dsx_update_samples_to_discard() 695 int st_lsm6dsx_update_fifo(struct st_lsm6dsx_sensor *sensor, bool enable) in st_lsm6dsx_update_fifo() 749 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_buffer_preenable() local [all …]
|
/openbmc/linux/drivers/media/i2c/et8ek8/ |
H A D | et8ek8_driver.c | 638 struct et8ek8_sensor *sensor = in et8ek8_set_ctrl() local 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() 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() 815 static int et8ek8_power_on(struct et8ek8_sensor *sensor) in et8ek8_power_on() 992 __et8ek8_get_pad_format(struct et8ek8_sensor *sensor, in __et8ek8_get_pad_format() 1011 struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev); in et8ek8_get_pad_format() local 1028 struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev); in et8ek8_set_pad_format() local 1327 struct et8ek8_sensor *sensor = to_et8ek8_sensor(sd); in et8ek8_open() local [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | hisi_thermal.c | 77 struct hisi_thermal_sensor *sensor; member 274 static int hi6220_thermal_irq_handler(struct hisi_thermal_sensor *sensor) in hi6220_thermal_irq_handler() 282 static int hi3660_thermal_irq_handler(struct hisi_thermal_sensor *sensor) in hi3660_thermal_irq_handler() 290 static int hi6220_thermal_get_temp(struct hisi_thermal_sensor *sensor) in hi6220_thermal_get_temp() 297 static int hi3660_thermal_get_temp(struct hisi_thermal_sensor *sensor) in hi3660_thermal_get_temp() 434 struct hisi_thermal_sensor *sensor = thermal_zone_device_priv(tz); in hisi_thermal_get_temp() local 448 struct hisi_thermal_sensor *sensor = dev; in hisi_thermal_alarm_irq_thread() local 474 struct hisi_thermal_sensor *sensor) in hisi_thermal_register_sensor() 532 static void hisi_thermal_toggle_sensor(struct hisi_thermal_sensor *sensor, in hisi_thermal_toggle_sensor() 566 struct hisi_thermal_sensor *sensor = &data->sensor[i]; in hisi_thermal_probe() local [all …]
|
/openbmc/linux/drivers/media/pci/intel/ |
H A D | ipu-bridge.c | 161 static int ipu_bridge_check_ivsc_dev(struct ipu_sensor *sensor, in ipu_bridge_check_ivsc_dev() 275 int ipu_bridge_parse_ssdb(struct acpi_device *adev, struct ipu_sensor *sensor) in ipu_bridge_parse_ssdb() 308 struct ipu_sensor *sensor, in ipu_bridge_create_fwnode_properties() 395 static void ipu_bridge_init_swnode_names(struct ipu_sensor *sensor) in ipu_bridge_init_swnode_names() 422 static void ipu_bridge_init_swnode_group(struct ipu_sensor *sensor) in ipu_bridge_init_swnode_group() 455 struct ipu_sensor *sensor) in ipu_bridge_create_connection_swnodes() 516 struct device *sensor; member 567 int ipu_bridge_instantiate_vcm(struct device *sensor) in ipu_bridge_instantiate_vcm() 615 static int ipu_bridge_instantiate_ivsc(struct ipu_sensor *sensor) in ipu_bridge_instantiate_ivsc() 633 struct ipu_sensor *sensor; in ipu_bridge_unregister_sensors() local [all …]
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_2d_sensor.c | 22 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()
|
/openbmc/telemetry/src/ |
H A D | on_change_threshold.cpp | 15 for (auto& sensor : sensors) in initialize() local 26 for (const auto& sensor : newSensors) in updateSensors() local 45 for (auto& sensor : oldSensors) in updateSensors() local 54 void OnChangeThreshold::sensorUpdated(interfaces::Sensor& sensor, in sensorUpdated()
|
/openbmc/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 89 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_buffer_preenable() local 111 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_buffer_postdisable() local 136 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_set_odr_val() local 204 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_write_raw() local 223 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_read_avail() local 253 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_get_odr_val() local 289 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_read_channel_data() local 336 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_read_raw() local 377 struct scmi_iio_priv *sensor = iio_priv(iio_dev); in scmi_iio_get_raw_available() local [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | scmi-hwmon.c | 38 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
|