Home
last modified time | relevance | path

Searched refs:num_axis (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/firmware/arm_scmi/
Dsensors.c489 iter = ph->hops->iter_response_init(ph, &ops, s->num_axis, in scmi_sensor_axis_extended_names_get()
525 s->axis = devm_kcalloc(ph->dev, s->num_axis, in scmi_sensor_axis_description()
530 iter = ph->hops->iter_response_init(ph, &ops, s->num_axis, in scmi_sensor_axis_description()
633 s->num_axis = min_t(unsigned int, in iter_sens_descr_process_response()
654 if (s->num_axis == 0) { in iter_sens_descr_process_response()
667 if (s->num_axis > 0) in iter_sens_descr_process_response()
916 (!s->num_axis && count > 1) || (s->num_axis && count > s->num_axis)) in scmi_sensor_reading_get_timestamped()
1058 r->readings_count = s->num_axis ?: 1; in scmi_sensor_fill_custom_report()
/linux-6.6.21/drivers/iio/common/scmi_sensors/
Dscmi_iio.c307 sensor->sensor_info->num_axis, readings); in scmi_iio_read_channel_data()
596 iiodev->num_channels = sensor_info->num_axis + 1; in scmi_alloc_iiodev()
611 for (i = 0; i < sensor_info->num_axis; i++) { in scmi_alloc_iiodev()
675 if (sensor_info->num_axis != SCMI_IIO_NUM_OF_AXIS) in scmi_iio_dev_probe()
/linux-6.6.21/include/linux/
Dscmi_protocol.h317 unsigned int num_axis; member