Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dscmi_protocol.h71 struct scmi_protocol_handle;
85 int (*count_get)(const struct scmi_protocol_handle *ph);
88 (const struct scmi_protocol_handle *ph, u32 clk_id);
89 int (*rate_get)(const struct scmi_protocol_handle *ph, u32 clk_id,
91 int (*rate_set)(const struct scmi_protocol_handle *ph, u32 clk_id,
93 int (*enable)(const struct scmi_protocol_handle *ph, u32 clk_id);
94 int (*disable)(const struct scmi_protocol_handle *ph, u32 clk_id);
95 int (*enable_atomic)(const struct scmi_protocol_handle *ph, u32 clk_id);
96 int (*disable_atomic)(const struct scmi_protocol_handle *ph,
130 int (*num_domains_get)(const struct scmi_protocol_handle *ph);
[all …]
/linux-6.6.21/drivers/firmware/arm_scmi/
Dprotocols.h173 struct scmi_protocol_handle { struct
177 int (*set_priv)(const struct scmi_protocol_handle *ph, void *priv); argument
178 void *(*get_priv)(const struct scmi_protocol_handle *ph); argument
220 int (*process_response)(const struct scmi_protocol_handle *ph,
258 int (*extended_name_get)(const struct scmi_protocol_handle *ph,
260 void *(*iter_response_init)(const struct scmi_protocol_handle *ph,
265 void (*fastchannel_init)(const struct scmi_protocol_handle *ph,
288 int (*version_get)(const struct scmi_protocol_handle *ph, u32 *version);
289 int (*xfer_get_init)(const struct scmi_protocol_handle *ph, u8 msg_id,
292 void (*reset_rx_to_maxsz)(const struct scmi_protocol_handle *ph,
[all …]
Dreset.c70 static int scmi_reset_attributes_get(const struct scmi_protocol_handle *ph, in scmi_reset_attributes_get()
93 scmi_reset_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_reset_domain_attributes_get()
136 static int scmi_reset_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_reset_num_domains_get()
144 scmi_reset_name_get(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_name_get()
153 static int scmi_reset_latency_get(const struct scmi_protocol_handle *ph, in scmi_reset_latency_get()
162 static int scmi_domain_reset(const struct scmi_protocol_handle *ph, u32 domain, in scmi_domain_reset()
196 static int scmi_reset_domain_reset(const struct scmi_protocol_handle *ph, in scmi_reset_domain_reset()
204 scmi_reset_domain_assert(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_domain_assert()
211 scmi_reset_domain_deassert(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_domain_deassert()
225 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 const struct scmi_protocol_handle *ph,
Dperf.c190 static int scmi_perf_attributes_get(const struct scmi_protocol_handle *ph, in scmi_perf_attributes_get()
237 scmi_perf_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_perf_domain_attributes_get()
384 iter_perf_levels_process_response(const struct scmi_protocol_handle *ph, in iter_perf_levels_process_response()
407 scmi_perf_describe_levels_get(const struct scmi_protocol_handle *ph, in scmi_perf_describe_levels_get()
440 static int scmi_perf_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_perf_num_domains_get()
448 scmi_perf_domain_lookup(const struct scmi_protocol_handle *ph, u32 domain) in scmi_perf_domain_lookup()
459 scmi_perf_info_get(const struct scmi_protocol_handle *ph, u32 domain) in scmi_perf_info_get()
470 static int scmi_perf_msg_limits_set(const struct scmi_protocol_handle *ph, in scmi_perf_msg_limits_set()
493 static int __scmi_perf_limits_set(const struct scmi_protocol_handle *ph, in __scmi_perf_limits_set()
511 static int scmi_perf_limits_set(const struct scmi_protocol_handle *ph, in scmi_perf_limits_set()
[all …]
Dpower.c74 static int scmi_power_attributes_get(const struct scmi_protocol_handle *ph, in scmi_power_attributes_get()
101 scmi_power_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_power_domain_attributes_get()
143 static int scmi_power_state_set(const struct scmi_protocol_handle *ph, in scmi_power_state_set()
165 static int scmi_power_state_get(const struct scmi_protocol_handle *ph, in scmi_power_state_get()
185 static int scmi_power_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_power_num_domains_get()
193 scmi_power_name_get(const struct scmi_protocol_handle *ph, in scmi_power_name_get()
209 static int scmi_power_request_notify(const struct scmi_protocol_handle *ph, in scmi_power_request_notify()
231 static int scmi_power_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_power_set_notify_enabled()
245 scmi_power_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_power_fill_custom_report()
265 static int scmi_power_get_num_sources(const struct scmi_protocol_handle *ph) in scmi_power_get_num_sources()
[all …]
Dclock.c111 scmi_clock_protocol_attributes_get(const struct scmi_protocol_handle *ph, in scmi_clock_protocol_attributes_get()
135 static int scmi_clock_attributes_get(const struct scmi_protocol_handle *ph, in scmi_clock_attributes_get()
254 iter_clk_describe_process_response(const struct scmi_protocol_handle *ph, in iter_clk_describe_process_response()
288 scmi_clock_describe_rates_get(const struct scmi_protocol_handle *ph, u32 clk_id, in scmi_clock_describe_rates_get()
328 scmi_clock_rate_get(const struct scmi_protocol_handle *ph, in scmi_clock_rate_get()
349 static int scmi_clock_rate_set(const struct scmi_protocol_handle *ph, in scmi_clock_rate_set()
397 scmi_clock_config_set(const struct scmi_protocol_handle *ph, u32 clk_id, in scmi_clock_config_set()
421 static int scmi_clock_enable(const struct scmi_protocol_handle *ph, u32 clk_id) in scmi_clock_enable()
426 static int scmi_clock_disable(const struct scmi_protocol_handle *ph, u32 clk_id) in scmi_clock_disable()
431 static int scmi_clock_enable_atomic(const struct scmi_protocol_handle *ph, in scmi_clock_enable_atomic()
[all …]
Dpowercap.c133 static int scmi_powercap_notify(const struct scmi_protocol_handle *ph,
137 scmi_powercap_attributes_get(const struct scmi_protocol_handle *ph, in scmi_powercap_attributes_get()
178 scmi_powercap_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_powercap_domain_attributes_get()
279 static int scmi_powercap_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_powercap_num_domains_get()
287 scmi_powercap_dom_info_get(const struct scmi_protocol_handle *ph, u32 domain_id) in scmi_powercap_dom_info_get()
297 static int scmi_powercap_xfer_cap_get(const struct scmi_protocol_handle *ph, in scmi_powercap_xfer_cap_get()
318 static int __scmi_powercap_cap_get(const struct scmi_protocol_handle *ph, in __scmi_powercap_cap_get()
332 static int scmi_powercap_cap_get(const struct scmi_protocol_handle *ph, in scmi_powercap_cap_get()
347 static int scmi_powercap_xfer_cap_set(const struct scmi_protocol_handle *ph, in scmi_powercap_xfer_cap_set()
389 static int __scmi_powercap_cap_set(const struct scmi_protocol_handle *ph, in __scmi_powercap_cap_set()
[all …]
Dvoltage.c71 static int scmi_protocol_attributes_get(const struct scmi_protocol_handle *ph, in scmi_protocol_attributes_get()
162 iter_volt_levels_process_response(const struct scmi_protocol_handle *ph, in iter_volt_levels_process_response()
178 static int scmi_voltage_levels_get(const struct scmi_protocol_handle *ph, in scmi_voltage_levels_get()
209 static int scmi_voltage_descriptors_get(const struct scmi_protocol_handle *ph, in scmi_voltage_descriptors_get()
260 static int __scmi_voltage_get_u32(const struct scmi_protocol_handle *ph, in __scmi_voltage_get_u32()
283 static int scmi_voltage_config_set(const struct scmi_protocol_handle *ph, in scmi_voltage_config_set()
309 static int scmi_voltage_config_get(const struct scmi_protocol_handle *ph, in scmi_voltage_config_get()
316 static int scmi_voltage_level_set(const struct scmi_protocol_handle *ph, in scmi_voltage_level_set()
365 static int scmi_voltage_level_get(const struct scmi_protocol_handle *ph, in scmi_voltage_level_get()
373 scmi_voltage_info_get(const struct scmi_protocol_handle *ph, u32 domain_id) in scmi_voltage_info_get()
[all …]
Dbase.c64 static int scmi_base_attributes_get(const struct scmi_protocol_handle *ph) in scmi_base_attributes_get()
97 scmi_base_vendor_id_get(const struct scmi_protocol_handle *ph, bool sub_vendor) in scmi_base_vendor_id_get()
139 scmi_base_implementation_version_get(const struct scmi_protocol_handle *ph) in scmi_base_implementation_version_get()
172 scmi_base_implementation_list_get(const struct scmi_protocol_handle *ph, in scmi_base_implementation_list_get()
262 static int scmi_base_discover_agent_get(const struct scmi_protocol_handle *ph, in scmi_base_discover_agent_get()
287 static int scmi_base_error_notify(const struct scmi_protocol_handle *ph, in scmi_base_error_notify()
309 static int scmi_base_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_base_set_notify_enabled()
321 static void *scmi_base_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_base_fill_custom_report()
373 static int scmi_base_protocol_init(const struct scmi_protocol_handle *ph) in scmi_base_protocol_init()
Dsensors.c222 static int scmi_sensor_attributes_get(const struct scmi_protocol_handle *ph, in scmi_sensor_attributes_get()
324 iter_intervals_process_response(const struct scmi_protocol_handle *ph, in iter_intervals_process_response()
337 static int scmi_sensor_update_intervals(const struct scmi_protocol_handle *ph, in scmi_sensor_update_intervals()
394 iter_axes_desc_process_response(const struct scmi_protocol_handle *ph, in iter_axes_desc_process_response()
448 iter_axes_extended_name_process_response(const struct scmi_protocol_handle *ph, in iter_axes_extended_name_process_response()
474 scmi_sensor_axis_extended_names_get(const struct scmi_protocol_handle *ph, in scmi_sensor_axis_extended_names_get()
509 static int scmi_sensor_axis_description(const struct scmi_protocol_handle *ph, in scmi_sensor_axis_description()
570 iter_sens_descr_process_response(const struct scmi_protocol_handle *ph, in iter_sens_descr_process_response()
675 static int scmi_sensor_description_get(const struct scmi_protocol_handle *ph, in scmi_sensor_description_get()
695 scmi_sensor_request_notify(const struct scmi_protocol_handle *ph, u32 sensor_id, in scmi_sensor_request_notify()
[all …]
Dsystem.c38 static int scmi_system_request_notify(const struct scmi_protocol_handle *ph, in scmi_system_request_notify()
59 static int scmi_system_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_system_set_notify_enabled()
72 scmi_system_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_system_fill_custom_report()
126 static int scmi_system_protocol_init(const struct scmi_protocol_handle *ph) in scmi_system_protocol_init()
Dscmi_pm_domain.c18 const struct scmi_protocol_handle *ph;
64 struct scmi_protocol_handle *ph; in scmi_pm_domain_probe()
Ddriver.c100 struct scmi_protocol_handle ph;
1005 static void xfer_put(const struct scmi_protocol_handle *ph, in xfer_put()
1165 static int do_xfer(const struct scmi_protocol_handle *ph, in do_xfer()
1237 static void reset_rx_to_maxsz(const struct scmi_protocol_handle *ph, in reset_rx_to_maxsz()
1270 static int do_xfer_with_response(const struct scmi_protocol_handle *ph, in do_xfer_with_response()
1317 static int xfer_get_init(const struct scmi_protocol_handle *ph, in xfer_get_init()
1370 static int version_get(const struct scmi_protocol_handle *ph, u32 *version) in version_get()
1398 static int scmi_set_protocol_priv(const struct scmi_protocol_handle *ph, in scmi_set_protocol_priv()
1415 static void *scmi_get_protocol_priv(const struct scmi_protocol_handle *ph) in scmi_get_protocol_priv()
1447 static int scmi_common_extended_name_get(const struct scmi_protocol_handle *ph, in scmi_common_extended_name_get()
[all …]
Dcommon.h140 scmi_revision_area_get(const struct scmi_protocol_handle *ph);
141 void scmi_setup_protocol_implemented(const struct scmi_protocol_handle *ph,
Dnotify.c307 const struct scmi_protocol_handle *ph;
749 const struct scmi_protocol_handle *ph, in scmi_register_protocol_events()
/linux-6.6.21/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()
/linux-6.6.21/drivers/hwmon/
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-6.6.21/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()
/linux-6.6.21/drivers/clk/
Dclk-scmi.c22 const struct scmi_protocol_handle *ph;
179 struct scmi_protocol_handle *ph; in scmi_clocks_probe()
/linux-6.6.21/drivers/iio/common/scmi_sensors/
Dscmi_iio.c28 struct scmi_protocol_handle *ph;
570 struct scmi_protocol_handle *ph, in scmi_alloc_iiodev()
646 struct scmi_protocol_handle *ph; in scmi_iio_dev_probe()
/linux-6.6.21/drivers/powercap/
Darm_scmi_powercap.c27 struct scmi_protocol_handle *ph;
423 struct scmi_protocol_handle *ph; in scmi_powercap_probe()
/linux-6.6.21/drivers/cpufreq/
Dscmi-cpufreq.c31 static struct scmi_protocol_handle *ph;