* - hal_power_dvfs_get_load_table
*
* The hardware operations provided by CPU hotplug involve getting or setting information related to online CPU. \n
- * This information includes online CPU list and the number of minimum/maximun online CPU.
+ * This information includes online CPU list and the number of minimum/maximum online CPU.
*
* The Power functions of CPU hotplug includes:
* - hal_power_hotplug_get_online_state
int (*set_max_freq)(char *res_name, int freq); /**< Set the maximum frequency */
int (*get_available_min_freq)(char *res_name); /**< Get the minimum frequency which can be set to resource */
- int (*get_available_max_freq)(char *res_name); /**< Get the maxinum frequency which can be set to resource */
+ int (*get_available_max_freq)(char *res_name); /**< Get the maximum frequency which can be set to resource */
int (*get_up_threshold)(char *res_name); /**< Get the up_threshold to support boosting */
int (*set_up_threshold)(char *res_name, int up_threshold); /**< Set the up_threshold to support boosting */
int (*get_policy)(char *res_thermal_name, char *policy); /**< Get the policy of thermal management unit */
- int (*set_cooling_device_state)(char *coolign_device_name, int state); /**< Set the state of thermal cooling-device */
+ int (*set_cooling_device_state)(char *cooling_device_name, int state); /**< Set the state of thermal cooling-device */
int (*get_cooling_device_state)(char *cooling_device_name); /**< Get the state of thermal cooling-device */
int (*get_cooling_device_max_state)(char *cooling_device_name); /**< Get the maximum state of thermal cooling-device */
* @since HAL_MODULE_POWER 1.0
*/
struct pass_resource_battery_ops {
- int (*set_charging_status)(char *res_name, int state); /**< Set the state of batterh charging */
- int (*get_charging_status)(char *res_name); /**< Get the state of batterh charging */
+ int (*set_charging_status)(char *res_name, int state); /**< Set the state of battery charging */
+ int (*get_charging_status)(char *res_name); /**< Get the state of battery charging */
- int (*set_charging_current)(char *res_name, int charing_current_uA); /**< Set the battery charging current (unit: uA) */
+ int (*set_charging_current)(char *res_name, int charging_current_uA); /**< Set the battery charging current (unit: uA) */
int (*get_charging_current)(char *res_name); /**< Get the battery charging current (unit: uA) */
};