Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/firmware/arm_scmi/
H A Dbase.c65 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_base_attributes_get()
70 ret = ph->xops->do_xfer(ph, t); in scmi_base_attributes_get()
77 ph->xops->xfer_put(ph, t); in scmi_base_attributes_get()
110 ret = ph->xops->xfer_get_init(ph, cmd, 0, size, &t); in scmi_base_vendor_id_get()
114 ret = ph->xops->do_xfer(ph, t); in scmi_base_vendor_id_get()
118 ph->xops->xfer_put(ph, t); in scmi_base_vendor_id_get()
140 ret = ph->xops->xfer_get_init(ph, BASE_DISCOVER_IMPLEMENT_VERSION, in scmi_base_implementation_version_get()
145 ret = ph->xops->do_xfer(ph, t); in scmi_base_implementation_version_get()
151 ph->xops->xfer_put(ph, t); in scmi_base_implementation_version_get()
176 ret = ph->xops->xfer_get_init(ph, BASE_DISCOVER_LIST_PROTOCOLS, in scmi_base_implementation_list_get()
[all …]
H A 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 …]
H A Dvoltage.c68 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_protocol_attributes_get()
73 ret = ph->xops->do_xfer(ph, t); in scmi_protocol_attributes_get()
78 ph->xops->xfer_put(ph, t); in scmi_protocol_attributes_get()
121 ret = ph->xops->xfer_get_init(ph, VOLTAGE_DOMAIN_ATTRIBUTES, in scmi_voltage_descriptors_get()
127 ret = ph->xops->xfer_get_init(ph, VOLTAGE_DESCRIBE_LEVELS, in scmi_voltage_descriptors_get()
141 ret = ph->xops->do_xfer(ph, td); in scmi_voltage_descriptors_get()
159 ret = ph->xops->do_xfer(ph, tl); in scmi_voltage_descriptors_get()
197 ph->xops->reset_rx_to_maxsz(ph, tl); in scmi_voltage_descriptors_get()
206 ph->xops->reset_rx_to_maxsz(ph, td); in scmi_voltage_descriptors_get()
209 ph->xops->xfer_put(ph, tl); in scmi_voltage_descriptors_get()
[all …]
H A 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 …]
H A 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 …]
H A 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()
160 ret = ph->xops->xfer_get_init(ph, RESET, sizeof(*dom), 0, &t); in scmi_domain_reset()
170 ret = ph->xops->do_xfer_with_response(ph, t); in scmi_domain_reset()
172 ret = ph->xops->do_xfer(ph, t); in scmi_domain_reset()
174 ph->xops->xfer_put(ph, t); in scmi_domain_reset()
[all …]
H A 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 …]
H A 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()
H A Dcommon.h171 const struct scmi_xfer_ops *xops; member
H A Ddriver.c721 pi->ph.xops = &xfer_ops; in scmi_get_protocol_instance()