int (*get_policy)(char *res_name, char *policy);
};
-
/*
- * Define the specific resource structure.
+ * Define the resource structure for CPU H/W.
*
* @common : common resource structure.
- * @dvfs : function lists for the DVFS (Dynamic Volt. & Freq. Scaling).
+ * @dvfs : function lists for the DVFS (Dynamic Volt. & Freq. Scaling).
* @tmu : function lists for the TMU (Thermal Management Unit).
- * @hotplug : function lists for the Dynamic Hotplug.
- *
- * PASS hal support following kind of h/w resources:
- * - CPU, struct pass_resource_cpu
- * - BUS, struct pass_resource_bus
- * - GPU, struct pass_resource_gpu
+ * @hotplug : function lists for the CPU on/off.
*/
struct pass_resource_cpu {
struct pass_resource_common common;
struct pass_resource_hotplug_ops hotplug;
};
+/*
+ * Define the resource structure for Memory Bus H/W.
+ *
+ * @common : common resource structure.
+ * @dvfs : function lists for the DVFS (Dynamic Volt. & Freq. Scaling).
+ * @tmu : function lists for the TMU (Thermal Management Unit).
+ */
struct pass_resource_bus {
struct pass_resource_common common;
struct pass_resource_tmu_ops tmu;
};
+/*
+ * Define the resource structure for GPU H/W.
+ *
+ * @common : common resource structure.
+ * @dvfs : function lists for the DVFS (Dynamic Volt. & Freq. Scaling).
+ * @tmu : function lists for the TMU (Thermal Management Unit).
+ */
struct pass_resource_gpu {
struct pass_resource_common common;