Home
last modified time | relevance | path

Searched refs:meas (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.6/lib/
Dwin_minmax.c67 u32 minmax_running_max(struct minmax *m, u32 win, u32 t, u32 meas) in minmax_running_max() argument
69 struct minmax_sample val = { .t = t, .v = meas }; in minmax_running_max()
73 return minmax_reset(m, t, meas); /* forget earlier samples */ in minmax_running_max()
85 u32 minmax_running_min(struct minmax *m, u32 win, u32 t, u32 meas) in minmax_running_min() argument
87 struct minmax_sample val = { .t = t, .v = meas }; in minmax_running_min()
91 return minmax_reset(m, t, meas); /* forget earlier samples */ in minmax_running_min()
/Linux-v6.6/include/linux/
Dwin_minmax.h27 static inline u32 minmax_reset(struct minmax *m, u32 t, u32 meas) in minmax_reset() argument
29 struct minmax_sample val = { .t = t, .v = meas }; in minmax_reset()
35 u32 minmax_running_max(struct minmax *m, u32 win, u32 t, u32 meas);
36 u32 minmax_running_min(struct minmax *m, u32 win, u32 t, u32 meas);
/Linux-v6.6/drivers/iio/chemical/
Dscd30_core.c119 ret = state->command(state, CMD_READ_MEAS, 0, state->meas, sizeof(state->meas)); in scd30_read_meas()
123 be32_to_cpu_array(state->meas, (__be32 *)state->meas, ARRAY_SIZE(state->meas)); in scd30_read_meas()
125 for (i = 0; i < ARRAY_SIZE(state->meas); i++) in scd30_read_meas()
126 state->meas[i] = scd30_float_to_fp(state->meas[i]); in scd30_read_meas()
132 state->meas[SCD30_TEMP] *= 10; in scd30_read_meas()
133 state->meas[SCD30_HR] *= 10; in scd30_read_meas()
224 *val = state->meas[chan->address]; in scd30_read_raw()
607 memcpy(scan.data, state->meas, sizeof(state->meas)); in scd30_trigger_handler()
Dsps30_i2c.c165 static int sps30_i2c_read_meas(struct sps30_state *state, __be32 *meas, size_t num) in sps30_i2c_read_meas() argument
174 return sps30_i2c_command(state, SPS30_I2C_READ_MEAS, NULL, 0, meas, sizeof(num) * num); in sps30_i2c_read_meas()
Dsps30_serial.c298 static int sps30_serial_read_meas(struct sps30_state *state, __be32 *meas, size_t num) in sps30_serial_read_meas() argument
306 ret = sps30_serial_command(state, SPS30_SERIAL_READ_MEAS, NULL, 0, meas, num * sizeof(num)); in sps30_serial_read_meas()
312 if (ret != num * sizeof(*meas)) in sps30_serial_read_meas()
Dscd30.h66 int meas[SCD30_MEAS_COUNT]; member
Dsps30.h11 int (*read_meas)(struct sps30_state *state, __be32 *meas, size_t num);
Dscd4x.c271 static int scd4x_read_meas(struct scd4x_state *state, uint16_t *meas) in scd4x_read_meas() argument
281 meas[i] = be16_to_cpu(buf[i]); in scd4x_read_meas()
/Linux-v6.6/drivers/platform/chrome/
Dcros_usbpd_logger.c84 struct usb_chg_measures *meas; in cros_usbpd_print_log_entry() local
121 meas = (struct usb_chg_measures *)r->payload; in cros_usbpd_print_log_entry()
125 chg_type, meas->voltage_now, in cros_usbpd_print_log_entry()
126 meas->voltage_max, meas->current_max); in cros_usbpd_print_log_entry()
/Linux-v6.6/drivers/power/supply/
Dcros_usbpd-charger.c227 port->psy_voltage_max_design = resp.meas.voltage_max; in cros_usbpd_charger_get_power_info()
228 port->psy_voltage_now = resp.meas.voltage_now; in cros_usbpd_charger_get_power_info()
229 port->psy_current_max = resp.meas.current_max; in cros_usbpd_charger_get_power_info()
290 port->port_number, resp.type, resp.meas.voltage_max, in cros_usbpd_charger_get_power_info()
291 resp.meas.voltage_now, resp.meas.current_max, in cros_usbpd_charger_get_power_info()
292 resp.meas.current_lim, resp.max_power); in cros_usbpd_charger_get_power_info()
/Linux-v6.6/Documentation/devicetree/bindings/hwmon/
Dltc2990.txt6 - lltc,meas-mode:
35 lltc,meas-mode = <7 3>; /* V1, V2, V3, V4 */
/Linux-v6.6/tools/testing/selftests/drivers/s390x/uvdevice/
Dtest_uvdevice.c148 uint8_t meas[64]; member
170 self->uvio_attest.meas_addr = (__u64)&self->attest_buffer.meas; in FIXTURE_SETUP()
171 self->uvio_attest.meas_len = sizeof(self->attest_buffer.meas); in FIXTURE_SETUP()
/Linux-v6.6/drivers/s390/char/
Duvdevice.c85 u8 *meas, u8 *add_data, struct uvio_attest *uvio_attest) in uvio_build_uvcb_attest() argument
99 uvcb_attest->meas_addr = (u64)meas; in uvio_build_uvcb_attest()
/Linux-v6.6/drivers/iio/temperature/
Dmlx90632.c267 static int mlx90632_get_measurement_time(struct regmap *regmap, u16 meas) in mlx90632_get_measurement_time() argument
272 ret = regmap_read(regmap, meas, &reg); in mlx90632_get_measurement_time()
612 s32 ret, meas; in mlx90632_read_all_channel_extended() local
621 ret = read_poll_timeout(mlx90632_perform_measurement, meas, meas == 19, in mlx90632_read_all_channel_extended()
/Linux-v6.6/drivers/media/platform/rockchip/rkisp1/
Drkisp1-params.c1454 params->ops->awb_meas_config(params, &new_params->meas.awb_meas_config); in rkisp1_isp_isr_meas_config()
1458 &new_params->meas.awb_meas_config, in rkisp1_isp_isr_meas_config()
1464 &new_params->meas.afc_config); in rkisp1_isp_isr_meas_config()
1480 &new_params->meas.hst_config); in rkisp1_isp_isr_meas_config()
1484 &new_params->meas.hst_config, in rkisp1_isp_isr_meas_config()
1490 &new_params->meas.aec_config); in rkisp1_isp_isr_meas_config()
/Linux-v6.6/include/uapi/linux/
Drkisp1-config.h846 struct rkisp1_cif_isp_isp_meas_cfg meas; member
/Linux-v6.6/Documentation/networking/device_drivers/can/ctu/
Dctucanfd-driver.rst15 at the `Department of Measurement <https://meas.fel.cvut.cz/>`_
544 * `Department of Measurement <https://meas.fel.cvut.cz/>`_,
/Linux-v6.6/include/linux/platform_data/
Dcros_ec_commands.h5028 struct usb_chg_measures meas; member