Lines Matching refs:t

226 	struct scmi_xfer *t;  in scmi_sensor_attributes_get()  local
230 0, sizeof(*attr), &t); in scmi_sensor_attributes_get()
234 attr = t->rx.buf; in scmi_sensor_attributes_get()
236 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_attributes_get()
245 ph->xops->xfer_put(ph, t); in scmi_sensor_attributes_get()
700 struct scmi_xfer *t; in scmi_sensor_request_notify() local
703 ret = ph->xops->xfer_get_init(ph, message_id, sizeof(*cfg), 0, &t); in scmi_sensor_request_notify()
707 cfg = t->tx.buf; in scmi_sensor_request_notify()
711 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_request_notify()
713 ph->xops->xfer_put(ph, t); in scmi_sensor_request_notify()
740 struct scmi_xfer *t; in scmi_sensor_trip_point_config() local
744 sizeof(*trip), 0, &t); in scmi_sensor_trip_point_config()
748 trip = t->tx.buf; in scmi_sensor_trip_point_config()
754 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_trip_point_config()
756 ph->xops->xfer_put(ph, t); in scmi_sensor_trip_point_config()
764 struct scmi_xfer *t; in scmi_sensor_config_get() local
771 sizeof(__le32), sizeof(__le32), &t); in scmi_sensor_config_get()
775 put_unaligned_le32(sensor_id, t->tx.buf); in scmi_sensor_config_get()
776 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_config_get()
780 *sensor_config = get_unaligned_le64(t->rx.buf); in scmi_sensor_config_get()
784 ph->xops->xfer_put(ph, t); in scmi_sensor_config_get()
792 struct scmi_xfer *t; in scmi_sensor_config_set() local
800 sizeof(*msg), 0, &t); in scmi_sensor_config_set()
804 msg = t->tx.buf; in scmi_sensor_config_set()
808 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_config_set()
815 ph->xops->xfer_put(ph, t); in scmi_sensor_config_set()
838 struct scmi_xfer *t; in scmi_sensor_reading_get() local
847 sizeof(*sensor), 0, &t); in scmi_sensor_reading_get()
851 sensor = t->tx.buf; in scmi_sensor_reading_get()
856 ret = ph->xops->do_xfer_with_response(ph, t); in scmi_sensor_reading_get()
860 resp = t->rx.buf; in scmi_sensor_reading_get()
869 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_reading_get()
871 *value = get_unaligned_le64(t->rx.buf); in scmi_sensor_reading_get()
874 ph->xops->xfer_put(ph, t); in scmi_sensor_reading_get()
906 struct scmi_xfer *t; in scmi_sensor_reading_get_timestamped() local
920 sizeof(*sensor), 0, &t); in scmi_sensor_reading_get_timestamped()
924 sensor = t->tx.buf; in scmi_sensor_reading_get_timestamped()
928 ret = ph->xops->do_xfer_with_response(ph, t); in scmi_sensor_reading_get_timestamped()
933 resp = t->rx.buf; in scmi_sensor_reading_get_timestamped()
944 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_reading_get_timestamped()
949 resp_readings = t->rx.buf; in scmi_sensor_reading_get_timestamped()
956 ph->xops->xfer_put(ph, t); in scmi_sensor_reading_get_timestamped()