Home
last modified time | relevance | path

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

/drivers/firmware/arm_scmi/
Dcommon.h169 struct scmi_protocol_handle { struct
172 int (*set_priv)(const struct scmi_protocol_handle *ph, void *priv); argument
173 void *(*get_priv)(const struct scmi_protocol_handle *ph); argument
191 int (*version_get)(const struct scmi_protocol_handle *ph, u32 *version);
192 int (*xfer_get_init)(const struct scmi_protocol_handle *ph, u8 msg_id,
195 void (*reset_rx_to_maxsz)(const struct scmi_protocol_handle *ph,
197 int (*do_xfer)(const struct scmi_protocol_handle *ph,
199 int (*do_xfer_with_response)(const struct scmi_protocol_handle *ph,
201 void (*xfer_put)(const struct scmi_protocol_handle *ph,
206 scmi_get_revision_area(const struct scmi_protocol_handle *ph);
[all …]
Dreset.c68 static int scmi_reset_attributes_get(const struct scmi_protocol_handle *ph, in scmi_reset_attributes_get()
91 scmi_reset_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_reset_domain_attributes_get()
122 static int scmi_reset_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_reset_num_domains_get()
129 static char *scmi_reset_name_get(const struct scmi_protocol_handle *ph, in scmi_reset_name_get()
139 static int scmi_reset_latency_get(const struct scmi_protocol_handle *ph, in scmi_reset_latency_get()
148 static int scmi_domain_reset(const struct scmi_protocol_handle *ph, u32 domain, in scmi_domain_reset()
178 static int scmi_reset_domain_reset(const struct scmi_protocol_handle *ph, in scmi_reset_domain_reset()
186 scmi_reset_domain_assert(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_domain_assert()
193 scmi_reset_domain_deassert(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_domain_deassert()
207 static int scmi_reset_notify(const struct scmi_protocol_handle *ph, in scmi_reset_notify()
[all …]
Dnotify.h34 struct scmi_protocol_handle;
53 int (*get_num_sources)(const struct scmi_protocol_handle *ph);
54 int (*set_notify_enabled)(const struct scmi_protocol_handle *ph,
56 void *(*fill_custom_report)(const struct scmi_protocol_handle *ph,
83 struct scmi_protocol_handle;
85 const struct scmi_protocol_handle *ph,
Dpower.c72 static int scmi_power_attributes_get(const struct scmi_protocol_handle *ph, in scmi_power_attributes_get()
99 scmi_power_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_power_domain_attributes_get()
128 static int scmi_power_state_set(const struct scmi_protocol_handle *ph, in scmi_power_state_set()
150 static int scmi_power_state_get(const struct scmi_protocol_handle *ph, in scmi_power_state_get()
170 static int scmi_power_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_power_num_domains_get()
177 static char *scmi_power_name_get(const struct scmi_protocol_handle *ph, in scmi_power_name_get()
193 static int scmi_power_request_notify(const struct scmi_protocol_handle *ph, in scmi_power_request_notify()
215 static int scmi_power_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_power_set_notify_enabled()
229 scmi_power_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_power_fill_custom_report()
249 static int scmi_power_get_num_sources(const struct scmi_protocol_handle *ph) in scmi_power_get_num_sources()
[all …]
Dperf.c179 static int scmi_perf_attributes_get(const struct scmi_protocol_handle *ph, in scmi_perf_attributes_get()
209 scmi_perf_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_perf_domain_attributes_get()
260 scmi_perf_describe_levels_get(const struct scmi_protocol_handle *ph, u32 domain, in scmi_perf_describe_levels_get()
356 static int scmi_perf_mb_limits_set(const struct scmi_protocol_handle *ph, in scmi_perf_mb_limits_set()
379 static int scmi_perf_limits_set(const struct scmi_protocol_handle *ph, in scmi_perf_limits_set()
395 static int scmi_perf_mb_limits_get(const struct scmi_protocol_handle *ph, in scmi_perf_mb_limits_get()
421 static int scmi_perf_limits_get(const struct scmi_protocol_handle *ph, in scmi_perf_limits_get()
436 static int scmi_perf_mb_level_set(const struct scmi_protocol_handle *ph, in scmi_perf_mb_level_set()
458 static int scmi_perf_level_set(const struct scmi_protocol_handle *ph, in scmi_perf_level_set()
473 static int scmi_perf_mb_level_get(const struct scmi_protocol_handle *ph, in scmi_perf_mb_level_get()
[all …]
Dclock.c79 scmi_clock_protocol_attributes_get(const struct scmi_protocol_handle *ph, in scmi_clock_protocol_attributes_get()
103 static int scmi_clock_attributes_get(const struct scmi_protocol_handle *ph, in scmi_clock_attributes_get()
141 scmi_clock_describe_rates_get(const struct scmi_protocol_handle *ph, u32 clk_id, in scmi_clock_describe_rates_get()
219 scmi_clock_rate_get(const struct scmi_protocol_handle *ph, in scmi_clock_rate_get()
240 static int scmi_clock_rate_set(const struct scmi_protocol_handle *ph, in scmi_clock_rate_set()
276 scmi_clock_config_set(const struct scmi_protocol_handle *ph, u32 clk_id, in scmi_clock_config_set()
298 static int scmi_clock_enable(const struct scmi_protocol_handle *ph, u32 clk_id) in scmi_clock_enable()
303 static int scmi_clock_disable(const struct scmi_protocol_handle *ph, u32 clk_id) in scmi_clock_disable()
308 static int scmi_clock_count_get(const struct scmi_protocol_handle *ph) in scmi_clock_count_get()
316 scmi_clock_info_get(const struct scmi_protocol_handle *ph, u32 clk_id) in scmi_clock_info_get()
[all …]
Dbase.c58 static int scmi_base_attributes_get(const struct scmi_protocol_handle *ph) in scmi_base_attributes_get()
91 scmi_base_vendor_id_get(const struct scmi_protocol_handle *ph, bool sub_vendor) in scmi_base_vendor_id_get()
133 scmi_base_implementation_version_get(const struct scmi_protocol_handle *ph) in scmi_base_implementation_version_get()
166 scmi_base_implementation_list_get(const struct scmi_protocol_handle *ph, in scmi_base_implementation_list_get()
224 static int scmi_base_discover_agent_get(const struct scmi_protocol_handle *ph, in scmi_base_discover_agent_get()
246 static int scmi_base_error_notify(const struct scmi_protocol_handle *ph, in scmi_base_error_notify()
268 static int scmi_base_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_base_set_notify_enabled()
280 static void *scmi_base_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_base_fill_custom_report()
332 static int scmi_base_protocol_init(const struct scmi_protocol_handle *ph) in scmi_base_protocol_init()
Dvoltage.c62 static int scmi_protocol_attributes_get(const struct scmi_protocol_handle *ph, in scmi_protocol_attributes_get()
112 static int scmi_voltage_descriptors_get(const struct scmi_protocol_handle *ph, in scmi_voltage_descriptors_get()
216 static int __scmi_voltage_get_u32(const struct scmi_protocol_handle *ph, in __scmi_voltage_get_u32()
239 static int scmi_voltage_config_set(const struct scmi_protocol_handle *ph, in scmi_voltage_config_set()
265 static int scmi_voltage_config_get(const struct scmi_protocol_handle *ph, in scmi_voltage_config_get()
272 static int scmi_voltage_level_set(const struct scmi_protocol_handle *ph, in scmi_voltage_level_set()
299 static int scmi_voltage_level_get(const struct scmi_protocol_handle *ph, in scmi_voltage_level_get()
307 scmi_voltage_info_get(const struct scmi_protocol_handle *ph, u32 domain_id) in scmi_voltage_info_get()
318 static int scmi_voltage_domains_num_get(const struct scmi_protocol_handle *ph) in scmi_voltage_domains_num_get()
334 static int scmi_voltage_protocol_init(const struct scmi_protocol_handle *ph) in scmi_voltage_protocol_init()
Dsensors.c206 static int scmi_sensor_attributes_get(const struct scmi_protocol_handle *ph, in scmi_sensor_attributes_get()
240 static int scmi_sensor_update_intervals(const struct scmi_protocol_handle *ph, in scmi_sensor_update_intervals()
329 static int scmi_sensor_axis_description(const struct scmi_protocol_handle *ph, in scmi_sensor_axis_description()
421 static int scmi_sensor_description_get(const struct scmi_protocol_handle *ph, in scmi_sensor_description_get()
564 scmi_sensor_request_notify(const struct scmi_protocol_handle *ph, u32 sensor_id, in scmi_sensor_request_notify()
586 static int scmi_sensor_trip_point_notify(const struct scmi_protocol_handle *ph, in scmi_sensor_trip_point_notify()
595 scmi_sensor_continuous_update_notify(const struct scmi_protocol_handle *ph, in scmi_sensor_continuous_update_notify()
604 scmi_sensor_trip_point_config(const struct scmi_protocol_handle *ph, in scmi_sensor_trip_point_config()
629 static int scmi_sensor_config_get(const struct scmi_protocol_handle *ph, in scmi_sensor_config_get()
654 static int scmi_sensor_config_set(const struct scmi_protocol_handle *ph, in scmi_sensor_config_set()
[all …]
Dsystem.c36 static int scmi_system_request_notify(const struct scmi_protocol_handle *ph, in scmi_system_request_notify()
57 static int scmi_system_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_system_set_notify_enabled()
70 scmi_system_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_system_fill_custom_report()
114 static int scmi_system_protocol_init(const struct scmi_protocol_handle *ph) in scmi_system_protocol_init()
Ddriver.c103 struct scmi_protocol_handle ph;
398 static void xfer_put(const struct scmi_protocol_handle *ph, in xfer_put()
428 static int do_xfer(const struct scmi_protocol_handle *ph, in do_xfer()
491 static void reset_rx_to_maxsz(const struct scmi_protocol_handle *ph, in reset_rx_to_maxsz()
512 static int do_xfer_with_response(const struct scmi_protocol_handle *ph, in do_xfer_with_response()
550 static int xfer_get_init(const struct scmi_protocol_handle *ph, in xfer_get_init()
594 static int version_get(const struct scmi_protocol_handle *ph, u32 *version) in version_get()
622 static int scmi_set_protocol_priv(const struct scmi_protocol_handle *ph, in scmi_set_protocol_priv()
639 static void *scmi_get_protocol_priv(const struct scmi_protocol_handle *ph) in scmi_get_protocol_priv()
667 scmi_get_revision_area(const struct scmi_protocol_handle *ph) in scmi_get_revision_area()
[all …]
Dscmi_pm_domain.c18 const struct scmi_protocol_handle *ph;
64 struct scmi_protocol_handle *ph; in scmi_pm_domain_probe()
Dnotify.c307 const struct scmi_protocol_handle *ph;
749 const struct scmi_protocol_handle *ph, in scmi_register_protocol_events()
/drivers/reset/
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()
/drivers/regulator/
Dscmi-regulator.c41 struct scmi_protocol_handle *ph;
256 struct scmi_protocol_handle *ph, in process_scmi_regulator_of_node()
303 struct scmi_protocol_handle *ph; in scmi_regulator_probe()
/drivers/clk/
Dclk-scmi.c22 const struct scmi_protocol_handle *ph;
147 struct scmi_protocol_handle *ph; in scmi_clocks_probe()
/drivers/hwmon/
Dscmi-hwmon.c19 const struct scmi_protocol_handle *ph;
173 struct scmi_protocol_handle *ph; in scmi_hwmon_probe()
/drivers/cpufreq/
Dscmi-cpufreq.c28 static struct scmi_protocol_handle *ph;