Home
last modified time | relevance | path

Searched refs:scmi_protocol_handle (Results 1 – 25 of 37) sorted by relevance

12

/linux/include/linux/
H A Dscmi_protocol.h77 struct scmi_protocol_handle;
103 int (*count_get)(const struct scmi_protocol_handle *ph);
106 (const struct scmi_protocol_handle *ph, u32 clk_id);
107 int (*rate_get)(const struct scmi_protocol_handle *ph, u32 clk_id,
109 int (*rate_set)(const struct scmi_protocol_handle *ph, u32 clk_id,
111 int (*enable)(const struct scmi_protocol_handle *ph, u32 clk_id,
113 int (*disable)(const struct scmi_protocol_handle *ph, u32 clk_id,
115 int (*state_get)(const struct scmi_protocol_handle *ph, u32 clk_id,
117 int (*config_oem_get)(const struct scmi_protocol_handle *ph, u32 clk_id,
120 int (*config_oem_set)(const struct scmi_protocol_handle *ph, u32 clk_id,
[all …]
H A Dscmi_imx_protocol.h26 int (*rtc_time_set)(const struct scmi_protocol_handle *ph, u32 id,
28 int (*rtc_time_get)(const struct scmi_protocol_handle *ph, u32 id,
30 int (*rtc_alarm_set)(const struct scmi_protocol_handle *ph, u32 id,
32 int (*button_get)(const struct scmi_protocol_handle *ph, u32 *state);
56 int (*misc_ctrl_set)(const struct scmi_protocol_handle *ph, u32 id,
58 int (*misc_ctrl_get)(const struct scmi_protocol_handle *ph, u32 id,
60 int (*misc_ctrl_req_notify)(const struct scmi_protocol_handle *ph,
62 int (*misc_syslog)(const struct scmi_protocol_handle *ph, u16 *size,
85 int (*lmm_power_boot)(const struct scmi_protocol_handle *ph, u32 lmid,
87 int (*lmm_info)(const struct scmi_protocol_handle *ph, u32 lmid,
[all …]
/linux/drivers/firmware/arm_scmi/
H A Dprotocols.h181 struct scmi_protocol_handle { struct
186 int (*set_priv)(const struct scmi_protocol_handle *ph, void *priv); argument
187 void *(*get_priv)(const struct scmi_protocol_handle *ph); argument
229 int (*process_response)(const struct scmi_protocol_handle *ph,
271 int (*extended_name_get)(const struct scmi_protocol_handle *ph,
274 void *(*iter_response_init)(const struct scmi_protocol_handle *ph,
279 int (*protocol_msg_check)(const struct scmi_protocol_handle *ph,
281 void (*fastchannel_init)(const struct scmi_protocol_handle *ph,
288 int (*get_max_msg_size)(const struct scmi_protocol_handle *ph);
305 int (*xfer_get_init)(const struct scmi_protocol_handle *ph, u8 msg_id,
[all …]
H A Dreset.c73 static int scmi_reset_attributes_get(const struct scmi_protocol_handle *ph, in scmi_reset_attributes_get()
101 scmi_reset_domain_lookup(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_domain_lookup()
112 scmi_reset_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_reset_domain_attributes_get()
158 static int scmi_reset_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_reset_num_domains_get()
166 scmi_reset_name_get(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_name_get()
177 static int scmi_reset_latency_get(const struct scmi_protocol_handle *ph, in scmi_reset_latency_get()
189 static int scmi_domain_reset(const struct scmi_protocol_handle *ph, u32 domain, in scmi_domain_reset()
222 static int scmi_reset_domain_reset(const struct scmi_protocol_handle *ph, in scmi_reset_domain_reset()
230 scmi_reset_domain_assert(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_domain_assert()
237 scmi_reset_domain_deassert(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_domain_deassert()
[all …]
H A Dnotify.h34 struct scmi_protocol_handle;
55 bool (*is_notify_supported)(const struct scmi_protocol_handle *ph,
57 int (*get_num_sources)(const struct scmi_protocol_handle *ph);
58 int (*set_notify_enabled)(const struct scmi_protocol_handle *ph,
60 void *(*fill_custom_report)(const struct scmi_protocol_handle *ph,
87 const struct scmi_protocol_handle *ph,
H A Dpinctrl.c128 static int scmi_pinctrl_attributes_get(const struct scmi_protocol_handle *ph, in scmi_pinctrl_attributes_get()
156 static int scmi_pinctrl_count_get(const struct scmi_protocol_handle *ph, in scmi_pinctrl_count_get()
173 static int scmi_pinctrl_validate_id(const struct scmi_protocol_handle *ph, in scmi_pinctrl_validate_id()
189 static int scmi_pinctrl_attributes(const struct scmi_protocol_handle *ph, in scmi_pinctrl_attributes()
272 iter_pinctrl_assoc_process_response(const struct scmi_protocol_handle *ph, in iter_pinctrl_assoc_process_response()
285 static int scmi_pinctrl_list_associations(const struct scmi_protocol_handle *ph, in scmi_pinctrl_list_associations()
369 iter_pinctrl_settings_get_process_response(const struct scmi_protocol_handle *ph, in iter_pinctrl_settings_get_process_response()
393 scmi_pinctrl_settings_get(const struct scmi_protocol_handle *ph, u32 selector, in scmi_pinctrl_settings_get()
435 static int scmi_pinctrl_settings_get_one(const struct scmi_protocol_handle *ph, in scmi_pinctrl_settings_get_one()
447 static int scmi_pinctrl_settings_get_all(const struct scmi_protocol_handle *ph, in scmi_pinctrl_settings_get_all()
[all …]
H A Dperf.c195 static int scmi_perf_attributes_get(const struct scmi_protocol_handle *ph, in scmi_perf_attributes_get()
251 scmi_perf_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_perf_domain_attributes_get()
435 iter_perf_levels_process_response(const struct scmi_protocol_handle *ph, in iter_perf_levels_process_response()
465 scmi_perf_describe_levels_get(const struct scmi_protocol_handle *ph, in scmi_perf_describe_levels_get()
494 static int scmi_perf_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_perf_num_domains_get()
502 scmi_perf_domain_lookup(const struct scmi_protocol_handle *ph, u32 domain) in scmi_perf_domain_lookup()
513 scmi_perf_info_get(const struct scmi_protocol_handle *ph, u32 domain) in scmi_perf_info_get()
524 static int scmi_perf_msg_limits_set(const struct scmi_protocol_handle *ph, in scmi_perf_msg_limits_set()
547 static int __scmi_perf_limits_set(const struct scmi_protocol_handle *ph, in __scmi_perf_limits_set()
565 static int scmi_perf_limits_set(const struct scmi_protocol_handle *ph, in scmi_perf_limits_set()
[all …]
H A Dpowercap.c137 static int scmi_powercap_notify(const struct scmi_protocol_handle *ph,
141 scmi_powercap_attributes_get(const struct scmi_protocol_handle *ph, in scmi_powercap_attributes_get()
194 scmi_powercap_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_powercap_domain_attributes_get()
297 static int scmi_powercap_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_powercap_num_domains_get()
305 scmi_powercap_dom_info_get(const struct scmi_protocol_handle *ph, u32 domain_id) in scmi_powercap_dom_info_get()
315 static int scmi_powercap_xfer_cap_get(const struct scmi_protocol_handle *ph, in scmi_powercap_xfer_cap_get()
336 static int __scmi_powercap_cap_get(const struct scmi_protocol_handle *ph, in __scmi_powercap_cap_get()
350 static int scmi_powercap_cap_get(const struct scmi_protocol_handle *ph, in scmi_powercap_cap_get()
365 static int scmi_powercap_xfer_cap_set(const struct scmi_protocol_handle *ph, in scmi_powercap_xfer_cap_set()
407 static int __scmi_powercap_cap_set(const struct scmi_protocol_handle *ph, in __scmi_powercap_cap_set()
[all …]
H A Dpower.c77 static int scmi_power_attributes_get(const struct scmi_protocol_handle *ph, in scmi_power_attributes_get()
109 scmi_power_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_power_domain_attributes_get()
153 static int scmi_power_state_set(const struct scmi_protocol_handle *ph, in scmi_power_state_set()
175 static int scmi_power_state_get(const struct scmi_protocol_handle *ph, in scmi_power_state_get()
195 static int scmi_power_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_power_num_domains_get()
203 scmi_power_name_get(const struct scmi_protocol_handle *ph, in scmi_power_name_get()
219 static int scmi_power_request_notify(const struct scmi_protocol_handle *ph, in scmi_power_request_notify()
241 static bool scmi_power_notify_supported(const struct scmi_protocol_handle *ph, in scmi_power_notify_supported()
255 static int scmi_power_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_power_set_notify_enabled()
269 scmi_power_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_power_fill_custom_report()
[all …]
H A Dclock.c166 int (*clock_config_set)(const struct scmi_protocol_handle *ph,
170 int (*clock_config_get)(const struct scmi_protocol_handle *ph,
191 scmi_clock_protocol_attributes_get(const struct scmi_protocol_handle *ph, in scmi_clock_protocol_attributes_get()
274 static int iter_clk_possible_parents_process_response(const struct scmi_protocol_handle *ph, in iter_clk_possible_parents_process_response()
289 static int scmi_clock_possible_parents(const struct scmi_protocol_handle *ph, u32 clk_id, in scmi_clock_possible_parents()
319 scmi_clock_get_permissions(const struct scmi_protocol_handle *ph, u32 clk_id, in scmi_clock_get_permissions()
347 static int scmi_clock_attributes_get(const struct scmi_protocol_handle *ph, in scmi_clock_attributes_get()
477 iter_clk_describe_process_response(const struct scmi_protocol_handle *ph, in iter_clk_describe_process_response()
511 scmi_clock_describe_rates_get(const struct scmi_protocol_handle *ph, u32 clk_id, in scmi_clock_describe_rates_get()
551 scmi_clock_rate_get(const struct scmi_protocol_handle *ph, in scmi_clock_rate_get()
[all …]
H A Dvoltage.c73 static int scmi_protocol_attributes_get(const struct scmi_protocol_handle *ph, in scmi_protocol_attributes_get()
164 iter_volt_levels_process_response(const struct scmi_protocol_handle *ph, in iter_volt_levels_process_response()
180 static int scmi_voltage_levels_get(const struct scmi_protocol_handle *ph, in scmi_voltage_levels_get()
211 static int scmi_voltage_descriptors_get(const struct scmi_protocol_handle *ph, in scmi_voltage_descriptors_get()
264 static int __scmi_voltage_get_u32(const struct scmi_protocol_handle *ph, in __scmi_voltage_get_u32()
287 static int scmi_voltage_config_set(const struct scmi_protocol_handle *ph, in scmi_voltage_config_set()
313 static int scmi_voltage_config_get(const struct scmi_protocol_handle *ph, in scmi_voltage_config_get()
320 static int scmi_voltage_level_set(const struct scmi_protocol_handle *ph, in scmi_voltage_level_set()
369 static int scmi_voltage_level_get(const struct scmi_protocol_handle *ph, in scmi_voltage_level_get()
377 scmi_voltage_info_get(const struct scmi_protocol_handle *ph, u32 domain_id) in scmi_voltage_info_get()
[all …]
H A Dsensors.c226 static int scmi_sensor_attributes_get(const struct scmi_protocol_handle *ph, in scmi_sensor_attributes_get()
340 iter_intervals_process_response(const struct scmi_protocol_handle *ph, in iter_intervals_process_response()
353 static int scmi_sensor_update_intervals(const struct scmi_protocol_handle *ph, in scmi_sensor_update_intervals()
410 iter_axes_desc_process_response(const struct scmi_protocol_handle *ph, in iter_axes_desc_process_response()
464 iter_axes_extended_name_process_response(const struct scmi_protocol_handle *ph, in iter_axes_extended_name_process_response()
490 scmi_sensor_axis_extended_names_get(const struct scmi_protocol_handle *ph, in scmi_sensor_axis_extended_names_get()
525 static int scmi_sensor_axis_description(const struct scmi_protocol_handle *ph, in scmi_sensor_axis_description()
585 iter_sens_descr_process_response(const struct scmi_protocol_handle *ph, in iter_sens_descr_process_response()
691 static int scmi_sensor_description_get(const struct scmi_protocol_handle *ph, in scmi_sensor_description_get()
711 scmi_sensor_request_notify(const struct scmi_protocol_handle *ph, u32 sensor_id, in scmi_sensor_request_notify()
[all …]
H A Dbase.c66 static int scmi_base_attributes_get(const struct scmi_protocol_handle *ph) in scmi_base_attributes_get()
99 scmi_base_vendor_id_get(const struct scmi_protocol_handle *ph, bool sub_vendor) in scmi_base_vendor_id_get()
140 scmi_base_implementation_version_get(const struct scmi_protocol_handle *ph) in scmi_base_implementation_version_get()
173 scmi_base_implementation_list_get(const struct scmi_protocol_handle *ph, in scmi_base_implementation_list_get()
263 static int scmi_base_discover_agent_get(const struct scmi_protocol_handle *ph, in scmi_base_discover_agent_get()
288 static int scmi_base_error_notify(const struct scmi_protocol_handle *ph, in scmi_base_error_notify()
310 static int scmi_base_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_base_set_notify_enabled()
322 static void *scmi_base_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_base_fill_custom_report()
374 static int scmi_base_protocol_init(const struct scmi_protocol_handle *ph) in scmi_base_protocol_init()
H A Dsystem.c41 static bool scmi_system_notify_supported(const struct scmi_protocol_handle *ph, in scmi_system_notify_supported()
52 static int scmi_system_request_notify(const struct scmi_protocol_handle *ph, in scmi_system_request_notify()
73 static int scmi_system_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_system_set_notify_enabled()
86 scmi_system_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_system_fill_custom_report()
141 static int scmi_system_protocol_init(const struct scmi_protocol_handle *ph) in scmi_system_protocol_init()
H A Ddriver.c113 struct scmi_protocol_handle ph;
1230 static void xfer_put(const struct scmi_protocol_handle *ph, in xfer_put()
1392 static int do_xfer(const struct scmi_protocol_handle *ph, in do_xfer()
1472 static void reset_rx_to_maxsz(const struct scmi_protocol_handle *ph, in reset_rx_to_maxsz()
1505 static int do_xfer_with_response(const struct scmi_protocol_handle *ph, in do_xfer_with_response()
1552 static int xfer_get_init(const struct scmi_protocol_handle *ph, in xfer_get_init()
1605 static int version_get(const struct scmi_protocol_handle *ph, u32 *version) in version_get()
1633 static int scmi_set_protocol_priv(const struct scmi_protocol_handle *ph, in scmi_set_protocol_priv()
1650 static void *scmi_get_protocol_priv(const struct scmi_protocol_handle *ph) in scmi_get_protocol_priv()
1682 static int scmi_common_extended_name_get(const struct scmi_protocol_handle *ph, in scmi_common_extended_name_get()
[all …]
/linux/drivers/reset/
H A Dreset-scmi.c23 const struct scmi_protocol_handle *ph;
42 const struct scmi_protocol_handle *ph = to_scmi_handle(rcdev); in scmi_reset_assert()
60 const struct scmi_protocol_handle *ph = to_scmi_handle(rcdev); in scmi_reset_deassert()
78 const struct scmi_protocol_handle *ph = to_scmi_handle(rcdev); in scmi_reset_reset()
95 struct scmi_protocol_handle *ph; in scmi_reset_probe()
/linux/drivers/firmware/arm_scmi/vendors/imx/
H A Dimx-sm-misc.c105 static int scmi_imx_misc_attributes_get(const struct scmi_protocol_handle *ph, in scmi_imx_misc_attributes_get()
133 static int scmi_imx_misc_ctrl_validate_id(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_validate_id()
150 static int scmi_imx_misc_ctrl_notify(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_notify()
178 scmi_imx_misc_ctrl_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_set_notify_enabled()
196 scmi_imx_misc_ctrl_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_fill_custom_report()
239 static int scmi_imx_misc_ctrl_get(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_get()
278 static int scmi_imx_misc_ctrl_set(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_set()
312 static int scmi_imx_misc_build_info_discover(const struct scmi_protocol_handle *ph) in scmi_imx_misc_build_info_discover()
339 static int scmi_imx_misc_board_info(const struct scmi_protocol_handle *ph) in scmi_imx_misc_board_info()
363 static int scmi_imx_misc_cfg_info_get(const struct scmi_protocol_handle *ph) in scmi_imx_misc_cfg_info_get()
[all …]
H A Dimx-sm-bbm.c91 static int scmi_imx_bbm_attributes_get(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_attributes_get()
115 static int scmi_imx_bbm_notify(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_notify()
158 static int scmi_imx_bbm_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_set_notify_enabled()
175 static void *scmi_imx_bbm_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_fill_custom_report()
234 static int scmi_imx_bbm_rtc_time_set(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_rtc_time_set()
262 static int scmi_imx_bbm_rtc_time_get(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_rtc_time_get()
291 static int scmi_imx_bbm_rtc_alarm_set(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_rtc_alarm_set()
320 static int scmi_imx_bbm_button_get(const struct scmi_protocol_handle *ph, u32 *state) in scmi_imx_bbm_button_get()
345 static int scmi_imx_bbm_protocol_init(const struct scmi_protocol_handle *ph) in scmi_imx_bbm_protocol_init()
H A Dimx-sm-cpu.c65 static int scmi_imx_cpu_validate_cpuid(const struct scmi_protocol_handle *ph, in scmi_imx_cpu_validate_cpuid()
76 static int scmi_imx_cpu_start(const struct scmi_protocol_handle *ph, in scmi_imx_cpu_start()
104 static int scmi_imx_cpu_reset_vector_set(const struct scmi_protocol_handle *ph, in scmi_imx_cpu_reset_vector_set()
139 static int scmi_imx_cpu_started(const struct scmi_protocol_handle *ph, u32 cpuid, in scmi_imx_cpu_started()
180 static int scmi_imx_cpu_protocol_attributes_get(const struct scmi_protocol_handle *ph, in scmi_imx_cpu_protocol_attributes_get()
206 static int scmi_imx_cpu_attributes_get(const struct scmi_protocol_handle *ph, in scmi_imx_cpu_attributes_get()
233 static int scmi_imx_cpu_protocol_init(const struct scmi_protocol_handle *ph) in scmi_imx_cpu_protocol_init()
H A Dimx-sm-lmm.c66 static int scmi_imx_lmm_validate_lmid(const struct scmi_protocol_handle *ph, u32 lmid) in scmi_imx_lmm_validate_lmid()
76 static int scmi_imx_lmm_attributes(const struct scmi_protocol_handle *ph, in scmi_imx_lmm_attributes()
107 scmi_imx_lmm_power_boot(const struct scmi_protocol_handle *ph, u32 lmid, bool boot) in scmi_imx_lmm_power_boot()
134 static int scmi_imx_lmm_reset_vector_set(const struct scmi_protocol_handle *ph, in scmi_imx_lmm_reset_vector_set()
159 static int scmi_imx_lmm_shutdown(const struct scmi_protocol_handle *ph, u32 lmid, in scmi_imx_lmm_shutdown()
195 static int scmi_imx_lmm_protocol_attributes_get(const struct scmi_protocol_handle *ph, in scmi_imx_lmm_protocol_attributes_get()
226 static int scmi_imx_lmm_protocol_init(const struct scmi_protocol_handle *ph) in scmi_imx_lmm_protocol_init()
/linux/drivers/rtc/
H A Drtc-imx-sm-bbm.c16 struct scmi_protocol_handle *ph;
23 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_read_time()
39 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_set_time()
50 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_alarm_irq_enable()
62 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_set_alarm()
119 struct scmi_protocol_handle *ph; in scmi_imx_bbm_rtc_probe()
/linux/drivers/hwmon/
H A Dscmi-hwmon.c19 const struct scmi_protocol_handle *ph;
24 const struct scmi_protocol_handle *ph;
72 static int scmi_hwmon_read_scaled_value(const struct scmi_protocol_handle *ph, in scmi_hwmon_read_scaled_value()
193 const struct scmi_protocol_handle *ph, in scmi_thermal_sensor_register()
242 struct scmi_protocol_handle *ph; in scmi_hwmon_probe()
/linux/drivers/input/keyboard/
H A Dimx-sm-bbm-key.c20 struct scmi_protocol_handle *ph;
34 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_pwrkey_check_for_events()
162 struct scmi_protocol_handle *ph; in scmi_imx_bbm_key_probe()
/linux/drivers/pmdomain/arm/
H A Dscmi_pm_domain.c18 const struct scmi_protocol_handle *ph;
51 struct scmi_protocol_handle *ph; in scmi_pm_domain_probe()
H A Dscmi_perf_domain.c19 const struct scmi_protocol_handle *ph;
82 struct scmi_protocol_handle *ph; in scmi_perf_domain_probe()

12