Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/firmware/arm_scmi/vendors/imx/
Dimx-sm-bbm.c99 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, sizeof(*attr), &t); in scmi_imx_bbm_attributes_get()
105 ret = ph->xops->do_xfer(ph, t); in scmi_imx_bbm_attributes_get()
111 ph->xops->xfer_put(ph, t); in scmi_imx_bbm_attributes_get()
125 ret = ph->xops->xfer_get_init(ph, message_id, in scmi_imx_bbm_notify()
137 ret = ph->xops->xfer_get_init(ph, message_id, in scmi_imx_bbm_notify()
148 ret = ph->xops->do_xfer(ph, t); in scmi_imx_bbm_notify()
150 ph->xops->xfer_put(ph, t); in scmi_imx_bbm_notify()
246 ret = ph->xops->xfer_get_init(ph, IMX_BBM_RTC_TIME_SET, sizeof(*cfg), 0, &t); in scmi_imx_bbm_rtc_time_set()
256 ret = ph->xops->do_xfer(ph, t); in scmi_imx_bbm_rtc_time_set()
258 ph->xops->xfer_put(ph, t); in scmi_imx_bbm_rtc_time_set()
[all …]
Dimx-sm-misc.c75 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_imx_misc_attributes_get()
82 ret = ph->xops->do_xfer(ph, t); in scmi_imx_misc_attributes_get()
91 ph->xops->xfer_put(ph, t); in scmi_imx_misc_attributes_get()
124 ret = ph->xops->xfer_get_init(ph, SCMI_IMX_MISC_CTRL_NOTIFY, in scmi_imx_misc_ctrl_notify()
133 ret = ph->xops->do_xfer(ph, t); in scmi_imx_misc_ctrl_notify()
135 ph->xops->xfer_put(ph, t); in scmi_imx_misc_ctrl_notify()
215 ret = ph->xops->xfer_get_init(ph, SCMI_IMX_MISC_CTRL_GET, sizeof(u32), in scmi_imx_misc_ctrl_get()
221 ret = ph->xops->do_xfer(ph, t); in scmi_imx_misc_ctrl_get()
228 ph->xops->xfer_put(ph, t); in scmi_imx_misc_ctrl_get()
236 ph->xops->xfer_put(ph, t); in scmi_imx_misc_ctrl_get()
[all …]
/linux-6.12.1/drivers/firmware/arm_scmi/
Dbase.c73 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_base_attributes_get()
78 ret = ph->xops->do_xfer(ph, t); in scmi_base_attributes_get()
85 ph->xops->xfer_put(ph, t); in scmi_base_attributes_get()
117 ret = ph->xops->xfer_get_init(ph, cmd, 0, size, &t); in scmi_base_vendor_id_get()
121 ret = ph->xops->do_xfer(ph, t); in scmi_base_vendor_id_get()
125 ph->xops->xfer_put(ph, t); in scmi_base_vendor_id_get()
147 ret = ph->xops->xfer_get_init(ph, BASE_DISCOVER_IMPLEMENT_VERSION, in scmi_base_implementation_version_get()
152 ret = ph->xops->do_xfer(ph, t); in scmi_base_implementation_version_get()
158 ph->xops->xfer_put(ph, t); in scmi_base_implementation_version_get()
184 ret = ph->xops->xfer_get_init(ph, BASE_DISCOVER_LIST_PROTOCOLS, in scmi_base_implementation_list_get()
[all …]
Dpower.c85 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_power_attributes_get()
92 ret = ph->xops->do_xfer(ph, t); in scmi_power_attributes_get()
100 ph->xops->xfer_put(ph, t); in scmi_power_attributes_get()
119 ret = ph->xops->xfer_get_init(ph, POWER_DOMAIN_ATTRIBUTES, in scmi_power_domain_attributes_get()
127 ret = ph->xops->do_xfer(ph, t); in scmi_power_domain_attributes_get()
138 ph->xops->xfer_put(ph, t); in scmi_power_domain_attributes_get()
161 ret = ph->xops->xfer_get_init(ph, POWER_STATE_SET, sizeof(*st), 0, &t); in scmi_power_state_set()
170 ret = ph->xops->do_xfer(ph, t); in scmi_power_state_set()
172 ph->xops->xfer_put(ph, t); in scmi_power_state_set()
182 ret = ph->xops->xfer_get_init(ph, POWER_STATE_GET, sizeof(u32), sizeof(u32), &t); in scmi_power_state_get()
[all …]
Dvoltage.c80 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_protocol_attributes_get()
85 ret = ph->xops->do_xfer(ph, t); in scmi_protocol_attributes_get()
90 ph->xops->xfer_put(ph, t); in scmi_protocol_attributes_get()
219 ret = ph->xops->xfer_get_init(ph, VOLTAGE_DOMAIN_ATTRIBUTES, in scmi_voltage_descriptors_get()
232 if (ph->xops->do_xfer(ph, td)) { in scmi_voltage_descriptors_get()
233 ph->xops->reset_rx_to_maxsz(ph, td); in scmi_voltage_descriptors_get()
260 ph->xops->xfer_put(ph, td); in scmi_voltage_descriptors_get()
275 ret = ph->xops->xfer_get_init(ph, cmd_id, sizeof(__le32), 0, &t); in __scmi_voltage_get_u32()
280 ret = ph->xops->do_xfer(ph, t); in __scmi_voltage_get_u32()
284 ph->xops->xfer_put(ph, t); in __scmi_voltage_get_u32()
[all …]
Dclock.c198 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_clock_protocol_attributes_get()
205 ret = ph->xops->do_xfer(ph, t); in scmi_clock_protocol_attributes_get()
211 ph->xops->xfer_put(ph, t); in scmi_clock_protocol_attributes_get()
326 ret = ph->xops->xfer_get_init(ph, CLOCK_GET_PERMISSIONS, in scmi_clock_get_permissions()
333 ret = ph->xops->do_xfer(ph, t); in scmi_clock_get_permissions()
342 ph->xops->xfer_put(ph, t); in scmi_clock_get_permissions()
357 ret = ph->xops->xfer_get_init(ph, CLOCK_ATTRIBUTES, in scmi_clock_attributes_get()
365 ret = ph->xops->do_xfer(ph, t); in scmi_clock_attributes_get()
377 ph->xops->xfer_put(ph, t); in scmi_clock_attributes_get()
552 ret = ph->xops->xfer_get_init(ph, CLOCK_RATE_GET, in scmi_clock_rate_get()
[all …]
Dreset.c81 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_reset_attributes_get()
86 ret = ph->xops->do_xfer(ph, t); in scmi_reset_attributes_get()
92 ph->xops->xfer_put(ph, t); in scmi_reset_attributes_get()
112 ret = ph->xops->xfer_get_init(ph, RESET_DOMAIN_ATTRIBUTES, in scmi_reset_domain_attributes_get()
120 ret = ph->xops->do_xfer(ph, t); in scmi_reset_domain_attributes_get()
134 ph->xops->xfer_put(ph, t); in scmi_reset_domain_attributes_get()
191 ret = ph->xops->xfer_get_init(ph, RESET, sizeof(*dom), 0, &t); in scmi_domain_reset()
201 ret = ph->xops->do_xfer_with_response(ph, t); in scmi_domain_reset()
203 ret = ph->xops->do_xfer(ph, t); in scmi_domain_reset()
205 ph->xops->xfer_put(ph, t); in scmi_domain_reset()
[all …]
Dpowercap.c148 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_powercap_attributes_get()
153 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_attributes_get()
161 ph->xops->xfer_put(ph, t); in scmi_powercap_attributes_get()
204 ret = ph->xops->xfer_get_init(ph, POWERCAP_DOMAIN_ATTRIBUTES, in scmi_powercap_domain_attributes_get()
212 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_domain_attributes_get()
284 ph->xops->xfer_put(ph, t); in scmi_powercap_domain_attributes_get()
322 ret = ph->xops->xfer_get_init(ph, POWERCAP_CAP_GET, sizeof(u32), in scmi_powercap_xfer_cap_get()
328 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_xfer_cap_get()
332 ph->xops->xfer_put(ph, t); in scmi_powercap_xfer_cap_get()
374 ret = ph->xops->xfer_get_init(ph, POWERCAP_CAP_SET, in scmi_powercap_xfer_cap_set()
[all …]
Dsensors.c234 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_sensor_attributes_get()
241 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_attributes_get()
250 ph->xops->xfer_put(ph, t); in scmi_sensor_attributes_get()
721 ret = ph->xops->xfer_get_init(ph, message_id, sizeof(*cfg), 0, &t); in scmi_sensor_request_notify()
729 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_request_notify()
731 ph->xops->xfer_put(ph, t); in scmi_sensor_request_notify()
761 ret = ph->xops->xfer_get_init(ph, SENSOR_TRIP_POINT_CONFIG, in scmi_sensor_trip_point_config()
772 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_trip_point_config()
774 ph->xops->xfer_put(ph, t); in scmi_sensor_trip_point_config()
788 ret = ph->xops->xfer_get_init(ph, SENSOR_CONFIG_GET, in scmi_sensor_config_get()
[all …]
Dpinctrl.c136 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, sizeof(*attr), &t); in scmi_pinctrl_attributes_get()
142 ret = ph->xops->do_xfer(ph, t); in scmi_pinctrl_attributes_get()
153 ph->xops->xfer_put(ph, t); in scmi_pinctrl_attributes_get()
208 ret = ph->xops->xfer_get_init(ph, PINCTRL_ATTRIBUTES, sizeof(*tx), in scmi_pinctrl_attributes()
218 ret = ph->xops->do_xfer(ph, t); in scmi_pinctrl_attributes()
228 ph->xops->xfer_put(ph, t); in scmi_pinctrl_attributes()
490 ret = ph->xops->xfer_get_init(ph, PINCTRL_SETTINGS_CONFIGURE, in scmi_pinctrl_settings_conf()
510 ret = ph->xops->do_xfer(ph, t); in scmi_pinctrl_settings_conf()
512 ph->xops->xfer_put(ph, t); in scmi_pinctrl_settings_conf()
537 ret = ph->xops->xfer_get_init(ph, PINCTRL_SETTINGS_CONFIGURE, in scmi_pinctrl_function_select()
[all …]
Dperf.c203 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_perf_attributes_get()
210 ret = ph->xops->do_xfer(ph, t); in scmi_perf_attributes_get()
227 ph->xops->xfer_put(ph, t); in scmi_perf_attributes_get()
262 ret = ph->xops->xfer_get_init(ph, PERF_DOMAIN_ATTRIBUTES, in scmi_perf_domain_attributes_get()
270 ret = ph->xops->do_xfer(ph, t); in scmi_perf_domain_attributes_get()
320 ph->xops->xfer_put(ph, t); in scmi_perf_domain_attributes_get()
542 ret = ph->xops->xfer_get_init(ph, PERF_LIMITS_SET, in scmi_perf_msg_limits_set()
552 ret = ph->xops->do_xfer(ph, t); in scmi_perf_msg_limits_set()
554 ph->xops->xfer_put(ph, t); in scmi_perf_msg_limits_set()
622 ret = ph->xops->xfer_get_init(ph, PERF_LIMITS_GET, in scmi_perf_msg_limits_get()
[all …]
Dsystem.c60 ret = ph->xops->xfer_get_init(ph, SYSTEM_POWER_STATE_NOTIFY, in scmi_system_request_notify()
68 ret = ph->xops->do_xfer(ph, t); in scmi_system_request_notify()
70 ph->xops->xfer_put(ph, t); in scmi_system_request_notify()
148 ret = ph->xops->version_get(ph, &version); in scmi_system_protocol_init()
Ddriver.c1672 ret = ph->xops->xfer_get_init(ph, cmd_id, txlen, sizeof(*resp), &t); in scmi_common_extended_name_get()
1681 ret = ph->xops->do_xfer(ph, t); in scmi_common_extended_name_get()
1685 ph->xops->xfer_put(ph, t); in scmi_common_extended_name_get()
1749 ret = ph->xops->xfer_get_init(ph, msg_id, tx_size, 0, &i->t); in scmi_iterator_init()
1779 ret = ph->xops->do_xfer(ph, i->t); in scmi_iterator_run()
1804 ph->xops->reset_rx_to_maxsz(ph, i->t); in scmi_iterator_run()
1813 ph->xops->xfer_put(ph, i->t); in scmi_iterator_run()
1862 ret = ph->xops->xfer_get_init(ph, describe_id, in scmi_common_fastchannel_init()
1876 ret = ph->xops->do_xfer(ph, t); in scmi_common_fastchannel_init()
1927 ph->xops->xfer_put(ph, t); in scmi_common_fastchannel_init()
[all …]
Dprotocols.h178 const struct scmi_xfer_ops *xops; member