/linux-6.12.1/include/linux/ |
D | scmi_protocol.h | 77 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 …]
|
D | scmi_imx_protocol.h | 22 int (*rtc_time_set)(const struct scmi_protocol_handle *ph, u32 id, 24 int (*rtc_time_get)(const struct scmi_protocol_handle *ph, u32 id, 26 int (*rtc_alarm_set)(const struct scmi_protocol_handle *ph, u32 id, 28 int (*button_get)(const struct scmi_protocol_handle *ph, u32 *state); 52 int (*misc_ctrl_set)(const struct scmi_protocol_handle *ph, u32 id, 54 int (*misc_ctrl_get)(const struct scmi_protocol_handle *ph, u32 id, 56 int (*misc_ctrl_req_notify)(const struct scmi_protocol_handle *ph,
|
/linux-6.12.1/drivers/firmware/arm_scmi/ |
D | protocols.h | 176 struct scmi_protocol_handle { struct 180 int (*set_priv)(const struct scmi_protocol_handle *ph, void *priv, argument 182 void *(*get_priv)(const struct scmi_protocol_handle *ph); argument 224 int (*process_response)(const struct scmi_protocol_handle *ph, 266 int (*extended_name_get)(const struct scmi_protocol_handle *ph, 269 void *(*iter_response_init)(const struct scmi_protocol_handle *ph, 274 int (*protocol_msg_check)(const struct scmi_protocol_handle *ph, 276 void (*fastchannel_init)(const struct scmi_protocol_handle *ph, 283 int (*get_max_msg_size)(const struct scmi_protocol_handle *ph); 301 int (*version_get)(const struct scmi_protocol_handle *ph, u32 *version); [all …]
|
D | notify.h | 34 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,
|
D | reset.c | 74 static int scmi_reset_attributes_get(const struct scmi_protocol_handle *ph, in scmi_reset_attributes_get() 102 scmi_reset_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_reset_domain_attributes_get() 149 static int scmi_reset_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_reset_num_domains_get() 157 scmi_reset_name_get(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_name_get() 166 static int scmi_reset_latency_get(const struct scmi_protocol_handle *ph, in scmi_reset_latency_get() 175 static int scmi_domain_reset(const struct scmi_protocol_handle *ph, u32 domain, in scmi_domain_reset() 209 static int scmi_reset_domain_reset(const struct scmi_protocol_handle *ph, in scmi_reset_domain_reset() 217 scmi_reset_domain_assert(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_domain_assert() 224 scmi_reset_domain_deassert(const struct scmi_protocol_handle *ph, u32 domain) in scmi_reset_domain_deassert() 238 static bool scmi_reset_notify_supported(const struct scmi_protocol_handle *ph, in scmi_reset_notify_supported() [all …]
|
D | pinctrl.c | 129 static int scmi_pinctrl_attributes_get(const struct scmi_protocol_handle *ph, in scmi_pinctrl_attributes_get() 157 static int scmi_pinctrl_count_get(const struct scmi_protocol_handle *ph, in scmi_pinctrl_count_get() 174 static int scmi_pinctrl_validate_id(const struct scmi_protocol_handle *ph, in scmi_pinctrl_validate_id() 190 static int scmi_pinctrl_attributes(const struct scmi_protocol_handle *ph, in scmi_pinctrl_attributes() 273 iter_pinctrl_assoc_process_response(const struct scmi_protocol_handle *ph, in iter_pinctrl_assoc_process_response() 286 static int scmi_pinctrl_list_associations(const struct scmi_protocol_handle *ph, in scmi_pinctrl_list_associations() 370 iter_pinctrl_settings_get_process_response(const struct scmi_protocol_handle *ph, in iter_pinctrl_settings_get_process_response() 394 scmi_pinctrl_settings_get(const struct scmi_protocol_handle *ph, u32 selector, in scmi_pinctrl_settings_get() 436 static int scmi_pinctrl_settings_get_one(const struct scmi_protocol_handle *ph, in scmi_pinctrl_settings_get_one() 448 static int scmi_pinctrl_settings_get_all(const struct scmi_protocol_handle *ph, in scmi_pinctrl_settings_get_all() [all …]
|
D | perf.c | 196 static int scmi_perf_attributes_get(const struct scmi_protocol_handle *ph, in scmi_perf_attributes_get() 252 scmi_perf_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_perf_domain_attributes_get() 442 iter_perf_levels_process_response(const struct scmi_protocol_handle *ph, in iter_perf_levels_process_response() 472 scmi_perf_describe_levels_get(const struct scmi_protocol_handle *ph, in scmi_perf_describe_levels_get() 505 static int scmi_perf_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_perf_num_domains_get() 513 scmi_perf_domain_lookup(const struct scmi_protocol_handle *ph, u32 domain) in scmi_perf_domain_lookup() 524 scmi_perf_info_get(const struct scmi_protocol_handle *ph, u32 domain) in scmi_perf_info_get() 535 static int scmi_perf_msg_limits_set(const struct scmi_protocol_handle *ph, in scmi_perf_msg_limits_set() 558 static int __scmi_perf_limits_set(const struct scmi_protocol_handle *ph, in __scmi_perf_limits_set() 576 static int scmi_perf_limits_set(const struct scmi_protocol_handle *ph, in scmi_perf_limits_set() [all …]
|
D | power.c | 78 static int scmi_power_attributes_get(const struct scmi_protocol_handle *ph, in scmi_power_attributes_get() 110 scmi_power_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_power_domain_attributes_get() 154 static int scmi_power_state_set(const struct scmi_protocol_handle *ph, in scmi_power_state_set() 176 static int scmi_power_state_get(const struct scmi_protocol_handle *ph, in scmi_power_state_get() 196 static int scmi_power_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_power_num_domains_get() 204 scmi_power_name_get(const struct scmi_protocol_handle *ph, in scmi_power_name_get() 220 static int scmi_power_request_notify(const struct scmi_protocol_handle *ph, in scmi_power_request_notify() 242 static bool scmi_power_notify_supported(const struct scmi_protocol_handle *ph, in scmi_power_notify_supported() 256 static int scmi_power_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_power_set_notify_enabled() 270 scmi_power_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_power_fill_custom_report() [all …]
|
D | powercap.c | 138 static int scmi_powercap_notify(const struct scmi_protocol_handle *ph, 142 scmi_powercap_attributes_get(const struct scmi_protocol_handle *ph, in scmi_powercap_attributes_get() 195 scmi_powercap_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_powercap_domain_attributes_get() 298 static int scmi_powercap_num_domains_get(const struct scmi_protocol_handle *ph) in scmi_powercap_num_domains_get() 306 scmi_powercap_dom_info_get(const struct scmi_protocol_handle *ph, u32 domain_id) in scmi_powercap_dom_info_get() 316 static int scmi_powercap_xfer_cap_get(const struct scmi_protocol_handle *ph, in scmi_powercap_xfer_cap_get() 337 static int __scmi_powercap_cap_get(const struct scmi_protocol_handle *ph, in __scmi_powercap_cap_get() 351 static int scmi_powercap_cap_get(const struct scmi_protocol_handle *ph, in scmi_powercap_cap_get() 366 static int scmi_powercap_xfer_cap_set(const struct scmi_protocol_handle *ph, in scmi_powercap_xfer_cap_set() 408 static int __scmi_powercap_cap_set(const struct scmi_protocol_handle *ph, in __scmi_powercap_cap_set() [all …]
|
D | clock.c | 166 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() 472 iter_clk_describe_process_response(const struct scmi_protocol_handle *ph, in iter_clk_describe_process_response() 506 scmi_clock_describe_rates_get(const struct scmi_protocol_handle *ph, u32 clk_id, in scmi_clock_describe_rates_get() 546 scmi_clock_rate_get(const struct scmi_protocol_handle *ph, in scmi_clock_rate_get() [all …]
|
D | voltage.c | 74 static int scmi_protocol_attributes_get(const struct scmi_protocol_handle *ph, in scmi_protocol_attributes_get() 165 iter_volt_levels_process_response(const struct scmi_protocol_handle *ph, in iter_volt_levels_process_response() 181 static int scmi_voltage_levels_get(const struct scmi_protocol_handle *ph, in scmi_voltage_levels_get() 212 static int scmi_voltage_descriptors_get(const struct scmi_protocol_handle *ph, in scmi_voltage_descriptors_get() 265 static int __scmi_voltage_get_u32(const struct scmi_protocol_handle *ph, in __scmi_voltage_get_u32() 288 static int scmi_voltage_config_set(const struct scmi_protocol_handle *ph, in scmi_voltage_config_set() 314 static int scmi_voltage_config_get(const struct scmi_protocol_handle *ph, in scmi_voltage_config_get() 321 static int scmi_voltage_level_set(const struct scmi_protocol_handle *ph, in scmi_voltage_level_set() 370 static int scmi_voltage_level_get(const struct scmi_protocol_handle *ph, in scmi_voltage_level_get() 378 scmi_voltage_info_get(const struct scmi_protocol_handle *ph, u32 domain_id) in scmi_voltage_info_get() [all …]
|
D | sensors.c | 227 static int scmi_sensor_attributes_get(const struct scmi_protocol_handle *ph, in scmi_sensor_attributes_get() 341 iter_intervals_process_response(const struct scmi_protocol_handle *ph, in iter_intervals_process_response() 354 static int scmi_sensor_update_intervals(const struct scmi_protocol_handle *ph, in scmi_sensor_update_intervals() 411 iter_axes_desc_process_response(const struct scmi_protocol_handle *ph, in iter_axes_desc_process_response() 465 iter_axes_extended_name_process_response(const struct scmi_protocol_handle *ph, in iter_axes_extended_name_process_response() 491 scmi_sensor_axis_extended_names_get(const struct scmi_protocol_handle *ph, in scmi_sensor_axis_extended_names_get() 526 static int scmi_sensor_axis_description(const struct scmi_protocol_handle *ph, in scmi_sensor_axis_description() 587 iter_sens_descr_process_response(const struct scmi_protocol_handle *ph, in iter_sens_descr_process_response() 693 static int scmi_sensor_description_get(const struct scmi_protocol_handle *ph, in scmi_sensor_description_get() 713 scmi_sensor_request_notify(const struct scmi_protocol_handle *ph, u32 sensor_id, in scmi_sensor_request_notify() [all …]
|
D | base.c | 66 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()
|
D | system.c | 42 static bool scmi_system_notify_supported(const struct scmi_protocol_handle *ph, in scmi_system_notify_supported() 53 static int scmi_system_request_notify(const struct scmi_protocol_handle *ph, in scmi_system_request_notify() 74 static int scmi_system_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_system_set_notify_enabled() 87 scmi_system_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_system_fill_custom_report() 142 static int scmi_system_protocol_init(const struct scmi_protocol_handle *ph) in scmi_system_protocol_init()
|
D | driver.c | 109 struct scmi_protocol_handle ph; 1212 static void xfer_put(const struct scmi_protocol_handle *ph, in xfer_put() 1371 static int do_xfer(const struct scmi_protocol_handle *ph, in do_xfer() 1449 static void reset_rx_to_maxsz(const struct scmi_protocol_handle *ph, in reset_rx_to_maxsz() 1482 static int do_xfer_with_response(const struct scmi_protocol_handle *ph, in do_xfer_with_response() 1529 static int xfer_get_init(const struct scmi_protocol_handle *ph, in xfer_get_init() 1582 static int version_get(const struct scmi_protocol_handle *ph, u32 *version) in version_get() 1611 static int scmi_set_protocol_priv(const struct scmi_protocol_handle *ph, in scmi_set_protocol_priv() 1629 static void *scmi_get_protocol_priv(const struct scmi_protocol_handle *ph) in scmi_get_protocol_priv() 1662 static int scmi_common_extended_name_get(const struct scmi_protocol_handle *ph, in scmi_common_extended_name_get() [all …]
|
D | common.h | 140 scmi_revision_area_get(const struct scmi_protocol_handle *ph); 141 void scmi_setup_protocol_implemented(const struct scmi_protocol_handle *ph,
|
/linux-6.12.1/drivers/reset/ |
D | reset-scmi.c | 23 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.12.1/drivers/rtc/ |
D | rtc-imx-sm-bbm.c | 16 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-6.12.1/drivers/firmware/arm_scmi/vendors/imx/ |
D | imx-sm-misc.c | 68 static int scmi_imx_misc_attributes_get(const struct scmi_protocol_handle *ph, in scmi_imx_misc_attributes_get() 96 static int scmi_imx_misc_ctrl_validate_id(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_validate_id() 113 static int scmi_imx_misc_ctrl_notify(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_notify() 141 scmi_imx_misc_ctrl_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_set_notify_enabled() 159 scmi_imx_misc_ctrl_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_fill_custom_report() 202 static int scmi_imx_misc_ctrl_get(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_get() 241 static int scmi_imx_misc_ctrl_set(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_set() 281 static int scmi_imx_misc_protocol_init(const struct scmi_protocol_handle *ph) in scmi_imx_misc_protocol_init()
|
D | imx-sm-bbm.c | 92 static int scmi_imx_bbm_attributes_get(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_attributes_get() 116 static int scmi_imx_bbm_notify(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_notify() 159 static int scmi_imx_bbm_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_set_notify_enabled() 176 static void *scmi_imx_bbm_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_fill_custom_report() 235 static int scmi_imx_bbm_rtc_time_set(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_rtc_time_set() 263 static int scmi_imx_bbm_rtc_time_get(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_rtc_time_get() 292 static int scmi_imx_bbm_rtc_alarm_set(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_rtc_alarm_set() 321 static int scmi_imx_bbm_button_get(const struct scmi_protocol_handle *ph, u32 *state) in scmi_imx_bbm_button_get() 346 static int scmi_imx_bbm_protocol_init(const struct scmi_protocol_handle *ph) in scmi_imx_bbm_protocol_init()
|
/linux-6.12.1/drivers/hwmon/ |
D | scmi-hwmon.c | 19 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.12.1/drivers/input/keyboard/ |
D | imx-sm-bbm-key.c | 20 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-6.12.1/drivers/pmdomain/arm/ |
D | scmi_pm_domain.c | 18 const struct scmi_protocol_handle *ph; 64 struct scmi_protocol_handle *ph; in scmi_pm_domain_probe()
|
D | scmi_perf_domain.c | 19 const struct scmi_protocol_handle *ph; 82 struct scmi_protocol_handle *ph; in scmi_perf_domain_probe()
|
/linux-6.12.1/drivers/regulator/ |
D | scmi-regulator.c | 41 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()
|