Home
last modified time | relevance | path

Searched refs:xops (Results 1 – 10 of 10) sorted by relevance

/drivers/firmware/arm_scmi/
Dbase.c71 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_base_attributes_get()
76 ret = ph->xops->do_xfer(ph, t); in scmi_base_attributes_get()
83 ph->xops->xfer_put(ph, t); in scmi_base_attributes_get()
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()
124 ph->xops->xfer_put(ph, t); in scmi_base_vendor_id_get()
146 ret = ph->xops->xfer_get_init(ph, BASE_DISCOVER_IMPLEMENT_VERSION, in scmi_base_implementation_version_get()
151 ret = ph->xops->do_xfer(ph, t); in scmi_base_implementation_version_get()
157 ph->xops->xfer_put(ph, t); in scmi_base_implementation_version_get()
182 ret = ph->xops->xfer_get_init(ph, BASE_DISCOVER_LIST_PROTOCOLS, in scmi_base_implementation_list_get()
[all …]
Dclock.c86 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_clock_protocol_attributes_get()
93 ret = ph->xops->do_xfer(ph, t); in scmi_clock_protocol_attributes_get()
99 ph->xops->xfer_put(ph, t); in scmi_clock_protocol_attributes_get()
110 ret = ph->xops->xfer_get_init(ph, CLOCK_ATTRIBUTES, in scmi_clock_attributes_get()
118 ret = ph->xops->do_xfer(ph, t); in scmi_clock_attributes_get()
124 ph->xops->xfer_put(ph, t); in scmi_clock_attributes_get()
153 ret = ph->xops->xfer_get_init(ph, CLOCK_DESCRIBE_RATES, in scmi_clock_describe_rates_get()
166 ret = ph->xops->do_xfer(ph, t); in scmi_clock_describe_rates_get()
198 ph->xops->reset_rx_to_maxsz(ph, t); in scmi_clock_describe_rates_get()
214 ph->xops->xfer_put(ph, t); in scmi_clock_describe_rates_get()
[all …]
Dvoltage.c69 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_protocol_attributes_get()
74 ret = ph->xops->do_xfer(ph, t); in scmi_protocol_attributes_get()
79 ph->xops->xfer_put(ph, t); in scmi_protocol_attributes_get()
122 ret = ph->xops->xfer_get_init(ph, VOLTAGE_DOMAIN_ATTRIBUTES, in scmi_voltage_descriptors_get()
128 ret = ph->xops->xfer_get_init(ph, VOLTAGE_DESCRIBE_LEVELS, in scmi_voltage_descriptors_get()
142 ret = ph->xops->do_xfer(ph, td); in scmi_voltage_descriptors_get()
160 ret = ph->xops->do_xfer(ph, tl); in scmi_voltage_descriptors_get()
198 ph->xops->reset_rx_to_maxsz(ph, tl); in scmi_voltage_descriptors_get()
207 ph->xops->reset_rx_to_maxsz(ph, td); in scmi_voltage_descriptors_get()
210 ph->xops->xfer_put(ph, tl); in scmi_voltage_descriptors_get()
[all …]
Dpower.c79 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_power_attributes_get()
86 ret = ph->xops->do_xfer(ph, t); in scmi_power_attributes_get()
94 ph->xops->xfer_put(ph, t); in scmi_power_attributes_get()
106 ret = ph->xops->xfer_get_init(ph, POWER_DOMAIN_ATTRIBUTES, in scmi_power_domain_attributes_get()
114 ret = ph->xops->do_xfer(ph, t); in scmi_power_domain_attributes_get()
124 ph->xops->xfer_put(ph, t); in scmi_power_domain_attributes_get()
135 ret = ph->xops->xfer_get_init(ph, POWER_STATE_SET, sizeof(*st), 0, &t); in scmi_power_state_set()
144 ret = ph->xops->do_xfer(ph, t); in scmi_power_state_set()
146 ph->xops->xfer_put(ph, t); in scmi_power_state_set()
156 ret = ph->xops->xfer_get_init(ph, POWER_STATE_GET, sizeof(u32), sizeof(u32), &t); in scmi_power_state_get()
[all …]
Dsensors.c213 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_sensor_attributes_get()
220 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_attributes_get()
229 ph->xops->xfer_put(ph, t); in scmi_sensor_attributes_get()
250 ret = ph->xops->xfer_get_init(ph, SENSOR_LIST_UPDATE_INTERVALS, in scmi_sensor_update_intervals()
264 ret = ph->xops->do_xfer(ph, ti); in scmi_sensor_update_intervals()
318 ph->xops->reset_rx_to_maxsz(ph, ti); in scmi_sensor_update_intervals()
325 ph->xops->xfer_put(ph, ti); in scmi_sensor_update_intervals()
344 ret = ph->xops->xfer_get_init(ph, SENSOR_AXIS_DESCRIPTION_GET, in scmi_sensor_axis_description()
359 ret = ph->xops->do_xfer(ph, te); in scmi_sensor_axis_description()
410 ph->xops->reset_rx_to_maxsz(ph, te); in scmi_sensor_axis_description()
[all …]
Dreset.c75 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_reset_attributes_get()
80 ret = ph->xops->do_xfer(ph, t); in scmi_reset_attributes_get()
86 ph->xops->xfer_put(ph, t); in scmi_reset_attributes_get()
98 ret = ph->xops->xfer_get_init(ph, RESET_DOMAIN_ATTRIBUTES, in scmi_reset_domain_attributes_get()
106 ret = ph->xops->do_xfer(ph, t); in scmi_reset_domain_attributes_get()
118 ph->xops->xfer_put(ph, t); in scmi_reset_domain_attributes_get()
164 ret = ph->xops->xfer_get_init(ph, RESET, sizeof(*dom), 0, &t); in scmi_domain_reset()
174 ret = ph->xops->do_xfer_with_response(ph, t); in scmi_domain_reset()
176 ret = ph->xops->do_xfer(ph, t); in scmi_domain_reset()
178 ph->xops->xfer_put(ph, t); in scmi_domain_reset()
[all …]
Dperf.c186 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_perf_attributes_get()
193 ret = ph->xops->do_xfer(ph, t); in scmi_perf_attributes_get()
204 ph->xops->xfer_put(ph, t); in scmi_perf_attributes_get()
216 ret = ph->xops->xfer_get_init(ph, PERF_DOMAIN_ATTRIBUTES, in scmi_perf_domain_attributes_get()
224 ret = ph->xops->do_xfer(ph, t); in scmi_perf_domain_attributes_get()
248 ph->xops->xfer_put(ph, t); in scmi_perf_domain_attributes_get()
271 ret = ph->xops->xfer_get_init(ph, PERF_DESCRIBE_LEVELS, in scmi_perf_describe_levels_get()
284 ret = ph->xops->do_xfer(ph, t); in scmi_perf_describe_levels_get()
308 ph->xops->reset_rx_to_maxsz(ph, t); in scmi_perf_describe_levels_get()
316 ph->xops->xfer_put(ph, t); in scmi_perf_describe_levels_get()
[all …]
Dsystem.c43 ret = ph->xops->xfer_get_init(ph, SYSTEM_POWER_STATE_NOTIFY, in scmi_system_request_notify()
51 ret = ph->xops->do_xfer(ph, t); in scmi_system_request_notify()
53 ph->xops->xfer_put(ph, t); in scmi_system_request_notify()
119 ph->xops->version_get(ph, &version); in scmi_system_protocol_init()
Dcommon.h238 const struct scmi_xfer_ops *xops; member
Ddriver.c1066 pi->ph.xops = &xfer_ops; in scmi_alloc_init_protocol_instance()