Lines Matching refs:t
115 struct scmi_xfer *t; in scmi_clock_protocol_attributes_get() local
119 0, sizeof(*attr), &t); in scmi_clock_protocol_attributes_get()
123 attr = t->rx.buf; in scmi_clock_protocol_attributes_get()
125 ret = ph->xops->do_xfer(ph, t); in scmi_clock_protocol_attributes_get()
131 ph->xops->xfer_put(ph, t); in scmi_clock_protocol_attributes_get()
141 struct scmi_xfer *t; in scmi_clock_attributes_get() local
145 sizeof(clk_id), sizeof(*attr), &t); in scmi_clock_attributes_get()
149 put_unaligned_le32(clk_id, t->tx.buf); in scmi_clock_attributes_get()
150 attr = t->rx.buf; in scmi_clock_attributes_get()
152 ret = ph->xops->do_xfer(ph, t); in scmi_clock_attributes_get()
163 ph->xops->xfer_put(ph, t); in scmi_clock_attributes_get()
332 struct scmi_xfer *t; in scmi_clock_rate_get() local
335 sizeof(__le32), sizeof(u64), &t); in scmi_clock_rate_get()
339 put_unaligned_le32(clk_id, t->tx.buf); in scmi_clock_rate_get()
341 ret = ph->xops->do_xfer(ph, t); in scmi_clock_rate_get()
343 *value = get_unaligned_le64(t->rx.buf); in scmi_clock_rate_get()
345 ph->xops->xfer_put(ph, t); in scmi_clock_rate_get()
354 struct scmi_xfer *t; in scmi_clock_rate_set() local
358 ret = ph->xops->xfer_get_init(ph, CLOCK_RATE_SET, sizeof(*cfg), 0, &t); in scmi_clock_rate_set()
366 cfg = t->tx.buf; in scmi_clock_rate_set()
373 ret = ph->xops->do_xfer_with_response(ph, t); in scmi_clock_rate_set()
377 resp = t->rx.buf; in scmi_clock_rate_set()
386 ret = ph->xops->do_xfer(ph, t); in scmi_clock_rate_set()
392 ph->xops->xfer_put(ph, t); in scmi_clock_rate_set()
401 struct scmi_xfer *t; in scmi_clock_config_set() local
405 sizeof(*cfg), 0, &t); in scmi_clock_config_set()
409 t->hdr.poll_completion = atomic; in scmi_clock_config_set()
411 cfg = t->tx.buf; in scmi_clock_config_set()
415 ret = ph->xops->do_xfer(ph, t); in scmi_clock_config_set()
417 ph->xops->xfer_put(ph, t); in scmi_clock_config_set()
481 struct scmi_xfer *t; in scmi_clk_rate_notify() local
484 ret = ph->xops->xfer_get_init(ph, message_id, sizeof(*notify), 0, &t); in scmi_clk_rate_notify()
488 notify = t->tx.buf; in scmi_clk_rate_notify()
492 ret = ph->xops->do_xfer(ph, t); in scmi_clk_rate_notify()
494 ph->xops->xfer_put(ph, t); in scmi_clk_rate_notify()