* powercap: powercap: make documentation reflect code powercap/intel_rapl: add support for AlderLake powercap/intel_rapl: add support for RocketLake powercap/intel_rapl: add support for TigerLake Desktop
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -44,19 +44,18 @@ struct powercap_control_type_ops { · 43 unmodified lines | ||
| 44 | 44 | }; |
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | − * struct powercap_control_type- Defines a powercap control_type | |
| 48 | − * @name: name of control_type | |
| 47 | + * struct powercap_control_type - Defines a powercap control_type | |
| 49 | 48 | * @dev: device for this control_type |
| 50 | 49 | * @idr: idr to have unique id for its child |
| 51 | − * @root_node: Root holding power zones for this control_type | |
| 50 | + * @nr_zones: counter for number of zones of this type | |
| 52 | 51 | * @ops: Pointer to callback struct |
| 53 | − * @node_lock: mutex for control type | |
| 52 | + * @lock: mutex for control type | |
| 54 | 53 | * @allocated: This is possible that client owns the memory |
| 55 | 54 | * used by this structure. In this case |
| 56 | 55 | * this flag is set to false by framework to |
| 57 | 56 | * prevent deallocation during release process. |
| 58 | 57 | * Otherwise this flag is set to true. |
| 59 | − * @ctrl_inst: link to the control_type list | |
| 58 | + * @node: linked-list node | |
| 60 | 59 | * |
| 61 | 60 | * Defines powercap control_type. This acts as a container for power |
| 62 | 61 | * zones, which use same method to control power. E.g. RAPL, RAPL-PCI etc. |
| @@ -129,7 +128,7 @@ struct powercap_zone_ops { · 66 unmodified lines | ||
| 129 | 128 | * this flag is set to false by framework to |
| 130 | 129 | * prevent deallocation during release process. |
| 131 | 130 | * Otherwise this flag is set to true. |
| 132 | − * @constraint_ptr: List of constraints for this zone. | |
| 131 | + * @constraints: List of constraints for this zone. | |
| 133 | 132 | * |
| 134 | 133 | * This defines a power zone instance. The fields of this structure are |
| 135 | 134 | * private, and should not be used by client drivers. |