Lines Matching refs:t
141 struct scmi_xfer *t; in scmi_powercap_attributes_get() local
144 sizeof(u32), &t); in scmi_powercap_attributes_get()
148 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_attributes_get()
152 attributes = get_unaligned_le32(t->rx.buf); in scmi_powercap_attributes_get()
156 ph->xops->xfer_put(ph, t); in scmi_powercap_attributes_get()
183 struct scmi_xfer *t; in scmi_powercap_domain_attributes_get() local
188 sizeof(domain), sizeof(*resp), &t); in scmi_powercap_domain_attributes_get()
192 put_unaligned_le32(domain, t->tx.buf); in scmi_powercap_domain_attributes_get()
193 resp = t->rx.buf; in scmi_powercap_domain_attributes_get()
195 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_domain_attributes_get()
265 ph->xops->xfer_put(ph, t); in scmi_powercap_domain_attributes_get()
301 struct scmi_xfer *t; in scmi_powercap_xfer_cap_get() local
304 sizeof(u32), &t); in scmi_powercap_xfer_cap_get()
308 put_unaligned_le32(domain_id, t->tx.buf); in scmi_powercap_xfer_cap_get()
309 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_xfer_cap_get()
311 *power_cap = get_unaligned_le32(t->rx.buf); in scmi_powercap_xfer_cap_get()
313 ph->xops->xfer_put(ph, t); in scmi_powercap_xfer_cap_get()
352 struct scmi_xfer *t; in scmi_powercap_xfer_cap_set() local
356 sizeof(*msg), 0, &t); in scmi_powercap_xfer_cap_set()
360 msg = t->tx.buf; in scmi_powercap_xfer_cap_set()
368 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_xfer_cap_set()
370 ret = ph->xops->do_xfer_with_response(ph, t); in scmi_powercap_xfer_cap_set()
374 resp = t->rx.buf; in scmi_powercap_xfer_cap_set()
385 ph->xops->xfer_put(ph, t); in scmi_powercap_xfer_cap_set()
452 struct scmi_xfer *t; in scmi_powercap_xfer_pai_get() local
455 sizeof(u32), &t); in scmi_powercap_xfer_pai_get()
459 put_unaligned_le32(domain_id, t->tx.buf); in scmi_powercap_xfer_pai_get()
460 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_xfer_pai_get()
462 *pai = get_unaligned_le32(t->rx.buf); in scmi_powercap_xfer_pai_get()
464 ph->xops->xfer_put(ph, t); in scmi_powercap_xfer_pai_get()
493 struct scmi_xfer *t; in scmi_powercap_xfer_pai_set() local
497 sizeof(*msg), 0, &t); in scmi_powercap_xfer_pai_set()
501 msg = t->tx.buf; in scmi_powercap_xfer_pai_set()
506 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_xfer_pai_set()
508 ph->xops->xfer_put(ph, t); in scmi_powercap_xfer_pai_set()
540 struct scmi_xfer *t; in scmi_powercap_measurements_get() local
549 sizeof(u32), sizeof(*resp), &t); in scmi_powercap_measurements_get()
553 resp = t->rx.buf; in scmi_powercap_measurements_get()
554 put_unaligned_le32(domain_id, t->tx.buf); in scmi_powercap_measurements_get()
555 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_measurements_get()
561 ph->xops->xfer_put(ph, t); in scmi_powercap_measurements_get()
725 struct scmi_xfer *t; in scmi_powercap_notify() local
733 sizeof(*notify), 0, &t); in scmi_powercap_notify()
737 notify = t->tx.buf; in scmi_powercap_notify()
767 sizeof(*notify), 0, &t); in scmi_powercap_notify()
771 notify = t->tx.buf; in scmi_powercap_notify()
782 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_notify()
784 ph->xops->xfer_put(ph, t); in scmi_powercap_notify()