/Linux-v5.10/include/linux/ |
D | scmi_protocol.h | 58 struct scmi_handle; 72 int (*count_get)(const struct scmi_handle *handle); 75 (const struct scmi_handle *handle, u32 clk_id); 76 int (*rate_get)(const struct scmi_handle *handle, u32 clk_id, 78 int (*rate_set)(const struct scmi_handle *handle, u32 clk_id, 80 int (*enable)(const struct scmi_handle *handle, u32 clk_id); 81 int (*disable)(const struct scmi_handle *handle, u32 clk_id); 103 int (*limits_set)(const struct scmi_handle *handle, u32 domain, 105 int (*limits_get)(const struct scmi_handle *handle, u32 domain, 107 int (*level_set)(const struct scmi_handle *handle, u32 domain, [all …]
|
/Linux-v5.10/drivers/firmware/arm_scmi/ |
D | notify.h | 49 int (*set_notify_enabled)(const struct scmi_handle *handle, 51 void *(*fill_custom_report)(const struct scmi_handle *handle, 57 int scmi_notification_init(struct scmi_handle *handle); 58 void scmi_notification_exit(struct scmi_handle *handle); 60 int scmi_register_protocol_events(const struct scmi_handle *handle, 65 int scmi_notify(const struct scmi_handle *handle, u8 proto_id, u8 evt_id,
|
D | common.h | 144 void scmi_xfer_put(const struct scmi_handle *h, struct scmi_xfer *xfer); 145 int scmi_do_xfer(const struct scmi_handle *h, struct scmi_xfer *xfer); 146 int scmi_do_xfer_with_response(const struct scmi_handle *h, 148 int scmi_xfer_get_init(const struct scmi_handle *h, u8 msg_id, u8 prot_id, 150 void scmi_reset_rx_to_maxsz(const struct scmi_handle *handle, 152 int scmi_handle_put(const struct scmi_handle *handle); 153 struct scmi_handle *scmi_handle_get(struct device *dev); 155 int scmi_version_get(const struct scmi_handle *h, u8 protocol, u32 *version); 156 void scmi_setup_protocol_implemented(const struct scmi_handle *handle, 159 int scmi_base_protocol_init(struct scmi_handle *h); [all …]
|
D | reset.c | 67 static int scmi_reset_attributes_get(const struct scmi_handle *handle, in scmi_reset_attributes_get() 90 scmi_reset_domain_attributes_get(const struct scmi_handle *handle, u32 domain, in scmi_reset_domain_attributes_get() 122 static int scmi_reset_num_domains_get(const struct scmi_handle *handle) in scmi_reset_num_domains_get() 129 static char *scmi_reset_name_get(const struct scmi_handle *handle, u32 domain) in scmi_reset_name_get() 137 static int scmi_reset_latency_get(const struct scmi_handle *handle, u32 domain) in scmi_reset_latency_get() 145 static int scmi_domain_reset(const struct scmi_handle *handle, u32 domain, in scmi_domain_reset() 176 static int scmi_reset_domain_reset(const struct scmi_handle *handle, u32 domain) in scmi_reset_domain_reset() 183 scmi_reset_domain_assert(const struct scmi_handle *handle, u32 domain) in scmi_reset_domain_assert() 190 scmi_reset_domain_deassert(const struct scmi_handle *handle, u32 domain) in scmi_reset_domain_deassert() 204 static int scmi_reset_notify(const struct scmi_handle *handle, u32 domain_id, in scmi_reset_notify() [all …]
|
D | power.c | 71 static int scmi_power_attributes_get(const struct scmi_handle *handle, in scmi_power_attributes_get() 98 scmi_power_domain_attributes_get(const struct scmi_handle *handle, u32 domain, in scmi_power_domain_attributes_get() 129 scmi_power_state_set(const struct scmi_handle *handle, u32 domain, u32 state) in scmi_power_state_set() 152 scmi_power_state_get(const struct scmi_handle *handle, u32 domain, u32 *state) in scmi_power_state_get() 172 static int scmi_power_num_domains_get(const struct scmi_handle *handle) in scmi_power_num_domains_get() 179 static char *scmi_power_name_get(const struct scmi_handle *handle, u32 domain) in scmi_power_name_get() 194 static int scmi_power_request_notify(const struct scmi_handle *handle, in scmi_power_request_notify() 216 static int scmi_power_set_notify_enabled(const struct scmi_handle *handle, in scmi_power_set_notify_enabled() 229 static void *scmi_power_fill_custom_report(const struct scmi_handle *handle, in scmi_power_fill_custom_report() 263 static int scmi_power_protocol_init(struct scmi_handle *handle) in scmi_power_protocol_init()
|
D | base.c | 57 static int scmi_base_attributes_get(const struct scmi_handle *handle) in scmi_base_attributes_get() 90 scmi_base_vendor_id_get(const struct scmi_handle *handle, bool sub_vendor) in scmi_base_vendor_id_get() 131 scmi_base_implementation_version_get(const struct scmi_handle *handle) in scmi_base_implementation_version_get() 163 static int scmi_base_implementation_list_get(const struct scmi_handle *handle, in scmi_base_implementation_list_get() 221 static int scmi_base_discover_agent_get(const struct scmi_handle *handle, in scmi_base_discover_agent_get() 244 static int scmi_base_error_notify(const struct scmi_handle *handle, bool enable) in scmi_base_error_notify() 265 static int scmi_base_set_notify_enabled(const struct scmi_handle *handle, in scmi_base_set_notify_enabled() 277 static void *scmi_base_fill_custom_report(const struct scmi_handle *handle, in scmi_base_fill_custom_report() 321 int scmi_base_protocol_init(struct scmi_handle *h) in scmi_base_protocol_init() 327 const struct scmi_handle *handle = h; in scmi_base_protocol_init()
|
D | clock.c | 77 static int scmi_clock_protocol_attributes_get(const struct scmi_handle *handle, in scmi_clock_protocol_attributes_get() 101 static int scmi_clock_attributes_get(const struct scmi_handle *handle, in scmi_clock_attributes_get() 139 scmi_clock_describe_rates_get(const struct scmi_handle *handle, u32 clk_id, in scmi_clock_describe_rates_get() 216 scmi_clock_rate_get(const struct scmi_handle *handle, u32 clk_id, u64 *value) in scmi_clock_rate_get() 236 static int scmi_clock_rate_set(const struct scmi_handle *handle, u32 clk_id, in scmi_clock_rate_set() 273 scmi_clock_config_set(const struct scmi_handle *handle, u32 clk_id, u32 config) in scmi_clock_config_set() 294 static int scmi_clock_enable(const struct scmi_handle *handle, u32 clk_id) in scmi_clock_enable() 299 static int scmi_clock_disable(const struct scmi_handle *handle, u32 clk_id) in scmi_clock_disable() 304 static int scmi_clock_count_get(const struct scmi_handle *handle) in scmi_clock_count_get() 312 scmi_clock_info_get(const struct scmi_handle *handle, u32 clk_id) in scmi_clock_info_get() [all …]
|
D | perf.c | 178 static int scmi_perf_attributes_get(const struct scmi_handle *handle, in scmi_perf_attributes_get() 208 scmi_perf_domain_attributes_get(const struct scmi_handle *handle, u32 domain, in scmi_perf_domain_attributes_get() 260 scmi_perf_describe_levels_get(const struct scmi_handle *handle, u32 domain, in scmi_perf_describe_levels_get() 356 static int scmi_perf_mb_limits_set(const struct scmi_handle *handle, u32 domain, in scmi_perf_mb_limits_set() 379 static int scmi_perf_limits_set(const struct scmi_handle *handle, u32 domain, in scmi_perf_limits_set() 395 static int scmi_perf_mb_limits_get(const struct scmi_handle *handle, u32 domain, in scmi_perf_mb_limits_get() 421 static int scmi_perf_limits_get(const struct scmi_handle *handle, u32 domain, in scmi_perf_limits_get() 436 static int scmi_perf_mb_level_set(const struct scmi_handle *handle, u32 domain, in scmi_perf_mb_level_set() 459 static int scmi_perf_level_set(const struct scmi_handle *handle, u32 domain, in scmi_perf_level_set() 474 static int scmi_perf_mb_level_get(const struct scmi_handle *handle, u32 domain, in scmi_perf_mb_level_get() [all …]
|
D | sensors.c | 90 static int scmi_sensor_attributes_get(const struct scmi_handle *handle, in scmi_sensor_attributes_get() 117 static int scmi_sensor_description_get(const struct scmi_handle *handle, in scmi_sensor_description_get() 181 static int scmi_sensor_trip_point_notify(const struct scmi_handle *handle, in scmi_sensor_trip_point_notify() 205 scmi_sensor_trip_point_config(const struct scmi_handle *handle, u32 sensor_id, in scmi_sensor_trip_point_config() 230 static int scmi_sensor_reading_get(const struct scmi_handle *handle, in scmi_sensor_reading_get() 266 scmi_sensor_info_get(const struct scmi_handle *handle, u32 sensor_id) in scmi_sensor_info_get() 273 static int scmi_sensor_count_get(const struct scmi_handle *handle) in scmi_sensor_count_get() 287 static int scmi_sensor_set_notify_enabled(const struct scmi_handle *handle, in scmi_sensor_set_notify_enabled() 300 static void *scmi_sensor_fill_custom_report(const struct scmi_handle *handle, in scmi_sensor_fill_custom_report() 334 static int scmi_sensors_protocol_init(struct scmi_handle *handle) in scmi_sensors_protocol_init()
|
D | system.c | 35 static int scmi_system_request_notify(const struct scmi_handle *handle, in scmi_system_request_notify() 56 static int scmi_system_set_notify_enabled(const struct scmi_handle *handle, in scmi_system_set_notify_enabled() 68 static void *scmi_system_fill_custom_report(const struct scmi_handle *handle, in scmi_system_fill_custom_report() 104 static int scmi_system_protocol_init(struct scmi_handle *handle) in scmi_system_protocol_init()
|
D | driver.c | 92 struct scmi_handle handle; 154 static struct scmi_xfer *scmi_xfer_get(const struct scmi_handle *handle, in scmi_xfer_get() 324 void scmi_xfer_put(const struct scmi_handle *handle, struct scmi_xfer *xfer) in scmi_xfer_put() 352 int scmi_do_xfer(const struct scmi_handle *handle, struct scmi_xfer *xfer) in scmi_do_xfer() 405 void scmi_reset_rx_to_maxsz(const struct scmi_handle *handle, in scmi_reset_rx_to_maxsz() 425 int scmi_do_xfer_with_response(const struct scmi_handle *handle, in scmi_do_xfer_with_response() 457 int scmi_xfer_get_init(const struct scmi_handle *handle, u8 msg_id, u8 prot_id, in scmi_xfer_get_init() 500 int scmi_version_get(const struct scmi_handle *handle, u8 protocol, in scmi_version_get() 522 void scmi_setup_protocol_implemented(const struct scmi_handle *handle, in scmi_setup_protocol_implemented() 531 scmi_is_protocol_implemented(const struct scmi_handle *handle, u8 prot_id) in scmi_is_protocol_implemented() [all …]
|
D | scmi_pm_domain.c | 16 const struct scmi_handle *handle; 62 const struct scmi_handle *handle = sdev->handle; in scmi_pm_domain_probe()
|
D | notify.c | 221 struct scmi_handle *handle; 575 int scmi_notify(const struct scmi_handle *handle, u8 proto_id, u8 evt_id, in scmi_notify() 751 int scmi_register_protocol_events(const struct scmi_handle *handle, in scmi_register_protocol_events() 1282 static int scmi_register_notifier(const struct scmi_handle *handle, in scmi_register_notifier() 1331 static int scmi_unregister_notifier(const struct scmi_handle *handle, in scmi_unregister_notifier() 1461 int scmi_notification_init(struct scmi_handle *handle) in scmi_notification_init() 1514 void scmi_notification_exit(struct scmi_handle *handle) in scmi_notification_exit()
|
D | bus.c | 54 static int scmi_protocol_init(int protocol_id, struct scmi_handle *handle) in scmi_protocol_init() 63 static int scmi_protocol_dummy_init(struct scmi_handle *handle) in scmi_protocol_dummy_init()
|
/Linux-v5.10/drivers/reset/ |
D | reset-scmi.c | 21 const struct scmi_handle *handle; 40 const struct scmi_handle *handle = to_scmi_handle(rcdev); in scmi_reset_assert() 58 const struct scmi_handle *handle = to_scmi_handle(rcdev); in scmi_reset_deassert() 76 const struct scmi_handle *handle = to_scmi_handle(rcdev); in scmi_reset_reset() 92 const struct scmi_handle *handle = sdev->handle; in scmi_reset_probe()
|
/Linux-v5.10/drivers/hwmon/ |
D | scmi-hwmon.c | 17 const struct scmi_handle *handle; 72 const struct scmi_handle *h = scmi_sensors->handle; in scmi_hwmon_read() 171 const struct scmi_handle *handle = sdev->handle; in scmi_hwmon_probe()
|
/Linux-v5.10/drivers/clk/ |
D | clk-scmi.c | 20 const struct scmi_handle *handle; 144 const struct scmi_handle *handle = sdev->handle; in scmi_clocks_probe()
|
/Linux-v5.10/drivers/cpufreq/ |
D | scmi-cpufreq.c | 28 static const struct scmi_handle *handle;
|