Lines Matching +full:power +full:- +full:managed
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)
74 * struct scmi_clk_proto_ops - represents the various operations provided
101 * struct scmi_perf_proto_ops - represents the various operations provided
115 * @est_power_get: gets the estimated power cost for a given performance domain
119 * @power_scale_mw_get: indicates if the power values provided are in milliWatts
141 unsigned long *rate, unsigned long *power);
148 * struct scmi_power_proto_ops - represents the various operations provided
149 * by SCMI Power Protocol
151 * @num_domains_get: get the count of power domains provided by SCMI
152 * @name_get: gets the name of a power domain
153 * @state_set: sets the power state of a power domain
154 * @state_get: gets the power state of a power domain
161 #define SCMI_POWER_STATE_ID_MASK (BIT(28) - 1)
174 * struct scmi_sensor_reading - represent a timestamped read
188 * struct scmi_range_attrs - specifies a sensor or axis values' range
198 * struct scmi_sensor_axis_info - describes one sensor axes
201 * @scale: Power-of-10 multiplier applied to the axis unit.
202 * @name: NULL-terminated string representing axes name as advertised by
208 * @exponent: Extended attribute representing the power-of-10 multiplier that
226 * struct scmi_sensor_intervals_info - describes number and type of available
237 * lesser-than-64-bytes dynamic allocation for small @count
261 * struct scmi_sensor_info - represents information related to one of the
265 * @scale: Power-of-10 multiplier applied to the sensor unit.
270 * @tstamp_scale: Power-of-10 multiplier applied to the sensor timestamps to
278 * @name: NULL-terminated string representing sensor name as advertised by
282 * @sensor_power: Extended attribute representing the average power
289 * @exponent: Extended attribute representing the power-of-10 multiplier that is
361 POWER = 0x7, enumerator
452 * struct scmi_sensor_proto_ops - represents the various operations provided
457 * @trip_point_config: selects and configures a trip-point of interest
461 * Supports multi-axis sensors for sensors which
485 * struct scmi_reset_proto_ops - represents the various operations provided
511 * struct scmi_voltage_info - describe one available SCMI Voltage Domain
515 * - when True the entries are to be interpreted as triplets,
518 * - when False the entries simply represent a single discrete
543 * struct scmi_voltage_proto_ops - represents the various operations provided
570 * struct scmi_powercap_info - Describe one available Powercap domain
580 * @powercap_scale_mw: Domain reports power data in milliwatt units.
581 * @powercap_scale_uw: Domain reports power data in microwatt units.
584 * reports power data on an abstract linear scale.
592 * @sustainable_power: Maximum sustainable power consumption for this domain
594 * @accuracy: The accuracy with which the power is measured and reported in
596 * @parent_id: Identifier of the containing parent power capping domain, or the
626 * struct scmi_powercap_proto_ops - represents the various operations provided
639 * @measurements_get: retrieve the current average power measurements for the
642 * @measurements_threshold_set: set the desired low and high power thresholds
651 * proper update of the power thresholds configured
653 * @measurements_threshold_get: get the currently configured low and high power
680 * struct scmi_notify_ops - represents notifications' operations provided by
682 * @devm_event_notifier_register: Managed registration of a notifier_block for
684 * @devm_event_notifier_unregister: Managed unregistration of a notifier_block
695 * @sdev: The scmi_device to use when calling the devres managed ops devm_
697 * calling the managed ops devm_
739 * struct scmi_handle - Handle returned to ARM SCMI clients for usage.
743 * @devm_protocol_acquire: devres managed method to get hold of a protocol,
746 * @devm_protocol_get: devres managed method to acquire a protocol and get specific
748 * @devm_protocol_put: devres managed method to release a protocol
837 return -EINVAL; in scmi_driver_register()
849 * module_scmi_driver() - Helper macro for registering a scmi driver
860 * module_scmi_protocol() - Helper macro for registering a scmi protocol
875 /* SCMI Notification API - Custom Event Reports */
971 unsigned int power; member