Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A 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()
/openbmc/linux/include/linux/
H A 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);
/openbmc/linux/drivers/iio/chemical/
H A 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()
H A 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()
H A 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()
H A Dsps30.h11 int (*read_meas)(struct sps30_state *state, __be32 *meas, size_t num);
H A Dscd30.h66 int meas[SCD30_MEAS_COUNT]; member
H A 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()
/openbmc/openbmc/poky/scripts/lib/build_perf/
H A Dreport.py297 def measurement_stats(meas, prefix='', time=0): argument
299 if not meas:
309 stats = {'name': meas['name']}
310 if meas['type'] == 'sysres':
312 values = meas['values']['elapsed_time']
313 elif meas['type'] == 'diskusage':
315 values = meas['values']['size']
317 raise Exception("Unknown measurement type '{}'".format(meas['type']))
/openbmc/linux/drivers/platform/chrome/
H A 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()
/openbmc/openbmc/poky/scripts/
H A Doe-build-perf-report230 for meas in measurements:
232 if meas in meas_l:
233 stats_l = measurement_stats(meas_l[meas], 'l.')
237 if meas in meas_r:
238 stats_r = measurement_stats(meas_r[meas], 'r.')
321 for meas in test_r['measurements'].keys():
322 meas_r = test_r['measurements'][meas]
333 not meas in test_data['tests'][test]['measurements']):
337 meas_i = test_i['measurements'][meas]
357 bs_key = test + '.' + meas
/openbmc/linux/drivers/power/supply/
H A Dcros_usbpd-charger.c228 port->psy_voltage_max_design = resp.meas.voltage_max; in cros_usbpd_charger_get_power_info()
229 port->psy_voltage_now = resp.meas.voltage_now; in cros_usbpd_charger_get_power_info()
230 port->psy_current_max = resp.meas.current_max; in cros_usbpd_charger_get_power_info()
291 port->port_number, resp.type, resp.meas.voltage_max, in cros_usbpd_charger_get_power_info()
292 resp.meas.voltage_now, resp.meas.current_max, in cros_usbpd_charger_get_power_info()
293 resp.meas.current_lim, resp.max_power); in cros_usbpd_charger_get_power_info()
/openbmc/linux/Documentation/devicetree/bindings/hwmon/
H A Dltc2990.txt6 - lltc,meas-mode:
35 lltc,meas-mode = <7 3>; /* V1, V2, V3, V4 */
/openbmc/linux/tools/testing/selftests/drivers/s390x/uvdevice/
H A 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()
/openbmc/linux/drivers/s390/char/
H A 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()
/openbmc/linux/drivers/iio/temperature/
H A 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()
/openbmc/linux/drivers/media/platform/rockchip/rkisp1/
H A 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()
/openbmc/linux/include/uapi/linux/
H A Drkisp1-config.h846 struct rkisp1_cif_isp_isp_meas_cfg meas; member
/openbmc/linux/Documentation/networking/device_drivers/can/ctu/
H A Dctucanfd-driver.rst15 at the `Department of Measurement <https://meas.fel.cvut.cz/>`_
544 * `Department of Measurement <https://meas.fel.cvut.cz/>`_,
/openbmc/u-boot/include/
H A Dec_commands.h4094 struct usb_chg_measures meas; member
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_commands.h5028 struct usb_chg_measures meas; member