Lines Matching refs:t
67 struct scmi_xfer *t; in scmi_base_attributes_get() local
72 0, sizeof(*attr_info), &t); in scmi_base_attributes_get()
76 ret = ph->xops->do_xfer(ph, t); in scmi_base_attributes_get()
78 attr_info = t->rx.buf; in scmi_base_attributes_get()
83 ph->xops->xfer_put(ph, t); in scmi_base_attributes_get()
102 struct scmi_xfer *t; in scmi_base_vendor_id_get() local
116 ret = ph->xops->xfer_get_init(ph, cmd, 0, size, &t); in scmi_base_vendor_id_get()
120 ret = ph->xops->do_xfer(ph, t); in scmi_base_vendor_id_get()
122 strscpy(vendor_id, t->rx.buf, size); in scmi_base_vendor_id_get()
124 ph->xops->xfer_put(ph, t); in scmi_base_vendor_id_get()
143 struct scmi_xfer *t; in scmi_base_implementation_version_get() local
147 0, sizeof(*impl_ver), &t); in scmi_base_implementation_version_get()
151 ret = ph->xops->do_xfer(ph, t); in scmi_base_implementation_version_get()
153 impl_ver = t->rx.buf; in scmi_base_implementation_version_get()
157 ph->xops->xfer_put(ph, t); in scmi_base_implementation_version_get()
177 struct scmi_xfer *t; in scmi_base_implementation_list_get() local
184 sizeof(*num_skip), 0, &t); in scmi_base_implementation_list_get()
188 num_skip = t->tx.buf; in scmi_base_implementation_list_get()
189 num_ret = t->rx.buf; in scmi_base_implementation_list_get()
190 list = t->rx.buf + sizeof(*num_ret); in scmi_base_implementation_list_get()
199 ret = ph->xops->do_xfer(ph, t); in scmi_base_implementation_list_get()
213 if (t->rx.len < (sizeof(u32) * 2)) { in scmi_base_implementation_list_get()
215 t->rx.len); in scmi_base_implementation_list_get()
220 real_list_sz = t->rx.len - sizeof(u32); in scmi_base_implementation_list_get()
242 ph->xops->reset_rx_to_maxsz(ph, t); in scmi_base_implementation_list_get()
245 ph->xops->xfer_put(ph, t); in scmi_base_implementation_list_get()
267 struct scmi_xfer *t; in scmi_base_discover_agent_get() local
270 sizeof(__le32), sizeof(*agent_info), &t); in scmi_base_discover_agent_get()
274 put_unaligned_le32(id, t->tx.buf); in scmi_base_discover_agent_get()
276 ret = ph->xops->do_xfer(ph, t); in scmi_base_discover_agent_get()
278 agent_info = t->rx.buf; in scmi_base_discover_agent_get()
282 ph->xops->xfer_put(ph, t); in scmi_base_discover_agent_get()
292 struct scmi_xfer *t; in scmi_base_error_notify() local
296 sizeof(*cfg), 0, &t); in scmi_base_error_notify()
300 cfg = t->tx.buf; in scmi_base_error_notify()
303 ret = ph->xops->do_xfer(ph, t); in scmi_base_error_notify()
305 ph->xops->xfer_put(ph, t); in scmi_base_error_notify()