Lines Matching +full:cap +full:- +full:get
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2018-2021 ARM Ltd.
21 * struct scmi_revision_info - version information structure
30 * @impl_ver: A vendor-specific implementation version.
32 * @sub_vendor_id: A sub-vendor identifier(Null terminated ASCII string)
87 * struct scmi_clk_proto_ops - represents the various operations provided
90 * @count_get: get the count of clocks provided by SCMI
91 * @info_get: get the information of the specified clock
96 * @state_get: get the status of the specified clock
97 * @config_oem_get: get the value of an OEM specific clock config
99 * @parent_get: get the parent id of a clk
133 * struct scmi_perf_proto_ops - represents the various operations provided
137 * @info_get: get the information of a performance domain
191 * struct scmi_power_proto_ops - represents the various operations provided
194 * @num_domains_get: get the count of power domains provided by SCMI
204 #define SCMI_POWER_STATE_ID_MASK (BIT(28) - 1)
217 * struct scmi_sensor_reading - represent a timestamped read
231 * struct scmi_range_attrs - specifies a sensor or axis values' range
241 * struct scmi_sensor_axis_info - describes one sensor axes
244 * @scale: Power-of-10 multiplier applied to the axis unit.
245 * @name: NULL-terminated string representing axes name as advertised by
251 * @exponent: Extended attribute representing the power-of-10 multiplier that
269 * struct scmi_sensor_intervals_info - describes number and type of available
280 * lesser-than-64-bytes dynamic allocation for small @count
304 * struct scmi_sensor_info - represents information related to one of the
308 * @scale: Power-of-10 multiplier applied to the sensor unit.
313 * @tstamp_scale: Power-of-10 multiplier applied to the sensor timestamps to
321 * @name: NULL-terminated string representing sensor name as advertised by
332 * @exponent: Extended attribute representing the power-of-10 multiplier that is
495 * struct scmi_sensor_proto_ops - represents the various operations provided
498 * @count_get: get the count of sensors provided by SCMI
499 * @info_get: get the information of the specified sensor
500 * @trip_point_config: selects and configures a trip-point of interest
504 * Supports multi-axis sensors for sensors which
507 * @config_get: Get sensor current configuration
528 * struct scmi_reset_proto_ops - represents the various operations provided
531 * @num_domains_get: get the count of reset domains provided by SCMI
554 * struct scmi_voltage_info - describe one available SCMI Voltage Domain
558 * - when True the entries are to be interpreted as triplets,
561 * - when False the entries simply represent a single discrete
586 * struct scmi_voltage_proto_ops - represents the various operations provided
589 * @num_domains_get: get the count of voltage domains provided by SCMI
590 * @info_get: get the information of the specified domain
592 * @config_get: get the config of the specified domain
594 * @level_get: get the voltage level of the specified domain
613 * struct scmi_powercap_info - Describe one available Powercap domain
616 * @notify_powercap_cap_change: CAP change notification support.
619 * @async_powercap_cap_set: Asynchronous CAP set support.
620 * @powercap_cap_config: CAP configuration support.
632 * @min_power_cap: Minimum configurable CAP.
633 * @max_power_cap: Maximum configurable CAP.
634 * @power_cap_step: Step size between two consecutive CAP values.
669 * struct scmi_powercap_proto_ops - represents the various operations provided
672 * @num_domains_get: get the count of powercap domains provided by SCMI.
673 * @info_get: get the information for the specified domain.
674 * @cap_get: get the current CAP value for the specified domain.
677 * @cap_set: set the CAP value for the specified domain to the provided value;
678 * if the domain supports setting the CAP with an asynchronous command
683 * the platform supports disabling a powercap by setting its cap to
685 * be used for that. (@cap_enable_set/get)
693 * @cap_enable_get: get the current CAP enable status for the specified domain.
694 * @pai_get: get the current PAI value for the specified domain.
710 * @measurements_threshold_get: get the currently configured low and high power
773 * struct scmi_pinctrl_proto_ops - represents the various operations provided
824 * struct scmi_notify_ops - represents notifications' operations provided by
881 * struct scmi_handle - Handle returned to ARM SCMI clients for usage.
885 * @devm_protocol_acquire: devres managed method to get hold of a protocol,
888 * @devm_protocol_get: devres managed method to acquire a protocol and get specific
975 return -EINVAL; in scmi_driver_register()
987 * module_scmi_driver() - Helper macro for registering a scmi driver
998 * module_scmi_protocol() - Helper macro for registering a scmi protocol
1013 /* SCMI Notification API - Custom Event Reports */