Lines Matching defs:sensor
625 "Update Intervals not available for sensor ID:%d\n",
820 * scmi_sensor_reading_get - Read scalar sensor value
823 * @value: The 64bit value sensor reading
825 * This function returns a single 64 bit reading value representing the sensor
826 * value; if the platform SCMI Protocol implementation and the sensor support
839 struct scmi_msg_sensor_reading_get *sensor;
847 sizeof(*sensor), 0, &t);
851 sensor = t->tx.buf;
852 sensor->id = cpu_to_le32(sensor_id);
855 sensor->flags = cpu_to_le32(SENSOR_READ_ASYNC);
868 sensor->flags = cpu_to_le32(0);
907 struct scmi_msg_sensor_reading_get *sensor;
920 sizeof(*sensor), 0, &t);
924 sensor = t->tx.buf;
925 sensor->id = cpu_to_le32(sensor_id);
927 sensor->flags = cpu_to_le32(SENSOR_READ_ASYNC);
943 sensor->flags = cpu_to_le32(0);
1056 * readings defined for this sensor or 1 for scalar sensors.