Home
last modified time | relevance | path

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

/linux/include/linux/
A Dscmi_protocol.h61 struct scmi_protocol_handle;
75 int (*count_get)(const struct scmi_protocol_handle *ph);
78 (const struct scmi_protocol_handle *ph, u32 clk_id);
121 int (*device_opps_add)(const struct scmi_protocol_handle *ph,
144 int (*num_domains_get)(const struct scmi_protocol_handle *ph);
454 int (*count_get)(const struct scmi_protocol_handle *ph);
456 (const struct scmi_protocol_handle *ph, u32 sensor_id);
464 int (*config_get)(const struct scmi_protocol_handle *ph,
466 int (*config_set)(const struct scmi_protocol_handle *ph,
535 (const struct scmi_protocol_handle *ph, u32 domain_id);
[all …]
/linux/drivers/firmware/arm_scmi/
A 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()
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()
207 static int scmi_reset_notify(const struct scmi_protocol_handle *ph, in scmi_reset_notify()
243 scmi_reset_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_reset_fill_custom_report()
263 static int scmi_reset_get_num_sources(const struct scmi_protocol_handle *ph) in scmi_reset_get_num_sources()
[all …]
A Dcommon.h236 struct scmi_protocol_handle { struct
239 int (*set_priv)(const struct scmi_protocol_handle *ph, void *priv); argument
240 void *(*get_priv)(const struct scmi_protocol_handle *ph); argument
258 int (*version_get)(const struct scmi_protocol_handle *ph, u32 *version);
259 int (*xfer_get_init)(const struct scmi_protocol_handle *ph, u8 msg_id,
262 void (*reset_rx_to_maxsz)(const struct scmi_protocol_handle *ph,
264 int (*do_xfer)(const struct scmi_protocol_handle *ph,
266 int (*do_xfer_with_response)(const struct scmi_protocol_handle *ph,
268 void (*xfer_put)(const struct scmi_protocol_handle *ph,
273 scmi_revision_area_get(const struct scmi_protocol_handle *ph);
[all …]
A 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,
A 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 …]
A 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()
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()
495 static int scmi_perf_level_get(const struct scmi_protocol_handle *ph, in scmi_perf_level_get()
[all …]
A 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()
218 scmi_clock_rate_get(const struct scmi_protocol_handle *ph, in scmi_clock_rate_get()
239 static int scmi_clock_rate_set(const struct scmi_protocol_handle *ph, in scmi_clock_rate_set()
275 scmi_clock_config_set(const struct scmi_protocol_handle *ph, u32 clk_id, in scmi_clock_config_set()
297 static int scmi_clock_enable(const struct scmi_protocol_handle *ph, u32 clk_id) in scmi_clock_enable()
302 static int scmi_clock_disable(const struct scmi_protocol_handle *ph, u32 clk_id) in scmi_clock_disable()
307 static int scmi_clock_count_get(const struct scmi_protocol_handle *ph) in scmi_clock_count_get()
315 scmi_clock_info_get(const struct scmi_protocol_handle *ph, u32 clk_id) in scmi_clock_info_get()
[all …]
A 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()
230 static int scmi_base_discover_agent_get(const struct scmi_protocol_handle *ph, in scmi_base_discover_agent_get()
255 static int scmi_base_error_notify(const struct scmi_protocol_handle *ph, in scmi_base_error_notify()
277 static int scmi_base_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_base_set_notify_enabled()
289 static void *scmi_base_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_base_fill_custom_report()
341 static int scmi_base_protocol_init(const struct scmi_protocol_handle *ph) in scmi_base_protocol_init()
A Dvoltage.c63 static int scmi_protocol_attributes_get(const struct scmi_protocol_handle *ph, in scmi_protocol_attributes_get()
113 static int scmi_voltage_descriptors_get(const struct scmi_protocol_handle *ph, in scmi_voltage_descriptors_get()
217 static int __scmi_voltage_get_u32(const struct scmi_protocol_handle *ph, in __scmi_voltage_get_u32()
240 static int scmi_voltage_config_set(const struct scmi_protocol_handle *ph, in scmi_voltage_config_set()
266 static int scmi_voltage_config_get(const struct scmi_protocol_handle *ph, in scmi_voltage_config_get()
273 static int scmi_voltage_level_set(const struct scmi_protocol_handle *ph, in scmi_voltage_level_set()
300 static int scmi_voltage_level_get(const struct scmi_protocol_handle *ph, in scmi_voltage_level_get()
308 scmi_voltage_info_get(const struct scmi_protocol_handle *ph, u32 domain_id) in scmi_voltage_info_get()
319 static int scmi_voltage_domains_num_get(const struct scmi_protocol_handle *ph) in scmi_voltage_domains_num_get()
335 static int scmi_voltage_protocol_init(const struct scmi_protocol_handle *ph) in scmi_voltage_protocol_init()
A 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()
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()
697 static int scmi_sensor_reading_get(const struct scmi_protocol_handle *ph, in scmi_sensor_reading_get()
760 scmi_sensor_reading_get_timestamped(const struct scmi_protocol_handle *ph, in scmi_sensor_reading_get_timestamped()
816 scmi_sensor_info_get(const struct scmi_protocol_handle *ph, u32 sensor_id) in scmi_sensor_info_get()
823 static int scmi_sensor_count_get(const struct scmi_protocol_handle *ph) in scmi_sensor_count_get()
[all …]
A 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()
A Ddriver.c109 struct scmi_protocol_handle ph;
718 static void xfer_put(const struct scmi_protocol_handle *ph, in xfer_put()
753 static int do_xfer(const struct scmi_protocol_handle *ph, in do_xfer()
843 static void reset_rx_to_maxsz(const struct scmi_protocol_handle *ph, in reset_rx_to_maxsz()
864 static int do_xfer_with_response(const struct scmi_protocol_handle *ph, in do_xfer_with_response()
899 static int xfer_get_init(const struct scmi_protocol_handle *ph, in xfer_get_init()
943 static int version_get(const struct scmi_protocol_handle *ph, u32 *version) in version_get()
971 static int scmi_set_protocol_priv(const struct scmi_protocol_handle *ph, in scmi_set_protocol_priv()
988 static void *scmi_get_protocol_priv(const struct scmi_protocol_handle *ph) in scmi_get_protocol_priv()
1016 scmi_revision_area_get(const struct scmi_protocol_handle *ph) in scmi_revision_area_get()
[all …]
A Dscmi_pm_domain.c19 const struct scmi_protocol_handle *ph;
86 struct scmi_protocol_handle *ph; in scmi_pm_domain_probe()
A Dnotify.c307 const struct scmi_protocol_handle *ph;
749 const struct scmi_protocol_handle *ph, in scmi_register_protocol_events()
/linux/drivers/reset/
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/regulator/
A 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/drivers/clk/
A Dclk-scmi.c22 const struct scmi_protocol_handle *ph;
147 struct scmi_protocol_handle *ph; in scmi_clocks_probe()
/linux/drivers/hwmon/
A Dscmi-hwmon.c19 const struct scmi_protocol_handle *ph;
173 struct scmi_protocol_handle *ph; in scmi_hwmon_probe()
/linux/drivers/iio/common/scmi_sensors/
A Dscmi_iio.c26 struct scmi_protocol_handle *ph;
511 struct scmi_protocol_handle *ph, in scmi_alloc_iiodev()
586 struct scmi_protocol_handle *ph; in scmi_iio_dev_probe()
/linux/drivers/cpufreq/
A Dscmi-cpufreq.c30 static struct scmi_protocol_handle *ph;

Completed in 36 milliseconds