Lines Matching refs:t
78 struct scmi_xfer *t; in scmi_power_attributes_get() local
82 0, sizeof(*attr), &t); in scmi_power_attributes_get()
86 attr = t->rx.buf; in scmi_power_attributes_get()
88 ret = ph->xops->do_xfer(ph, t); in scmi_power_attributes_get()
96 ph->xops->xfer_put(ph, t); in scmi_power_attributes_get()
107 struct scmi_xfer *t; in scmi_power_domain_attributes_get() local
111 sizeof(domain), sizeof(*attr), &t); in scmi_power_domain_attributes_get()
115 put_unaligned_le32(domain, t->tx.buf); in scmi_power_domain_attributes_get()
116 attr = t->rx.buf; in scmi_power_domain_attributes_get()
118 ret = ph->xops->do_xfer(ph, t); in scmi_power_domain_attributes_get()
127 ph->xops->xfer_put(ph, t); in scmi_power_domain_attributes_get()
147 struct scmi_xfer *t; in scmi_power_state_set() local
150 ret = ph->xops->xfer_get_init(ph, POWER_STATE_SET, sizeof(*st), 0, &t); in scmi_power_state_set()
154 st = t->tx.buf; in scmi_power_state_set()
159 ret = ph->xops->do_xfer(ph, t); in scmi_power_state_set()
161 ph->xops->xfer_put(ph, t); in scmi_power_state_set()
169 struct scmi_xfer *t; in scmi_power_state_get() local
171 ret = ph->xops->xfer_get_init(ph, POWER_STATE_GET, sizeof(u32), sizeof(u32), &t); in scmi_power_state_get()
175 put_unaligned_le32(domain, t->tx.buf); in scmi_power_state_get()
177 ret = ph->xops->do_xfer(ph, t); in scmi_power_state_get()
179 *state = get_unaligned_le32(t->rx.buf); in scmi_power_state_get()
181 ph->xops->xfer_put(ph, t); in scmi_power_state_get()
213 struct scmi_xfer *t; in scmi_power_request_notify() local
217 sizeof(*notify), 0, &t); in scmi_power_request_notify()
221 notify = t->tx.buf; in scmi_power_request_notify()
225 ret = ph->xops->do_xfer(ph, t); in scmi_power_request_notify()
227 ph->xops->xfer_put(ph, t); in scmi_power_request_notify()