potter: back to N power HAL

Change-Id: Ibaf21913ba08750d69479b07a5b31bb31fdb7418
This commit is contained in:
Vachounet
2017-09-16 13:43:15 +02:00
parent a70996813e
commit be87305271
27 changed files with 3665 additions and 626 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2013,2015-2017, The Linux Foundation. All rights reserved.
* Copyright (c) 2012, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -33,7 +33,6 @@ int sysfs_read(char *path, char *s, int num_bytes);
int sysfs_write(char *path, char *s);
int get_scaling_governor(char governor[], int size);
int get_scaling_governor_check_cores(char governor[], int size,int core_num);
int is_interactive_governor(char*);
void vote_ondemand_io_busy_off();
void unvote_ondemand_io_busy_off();
@@ -42,6 +41,9 @@ void unvote_ondemand_sdf_low();
void perform_hint_action(int hint_id, int resource_values[],
int num_resources);
void undo_hint_action(int hint_id);
void release_request(int lock_handle);
int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]);
int perf_hint_enable(int hint_id, int duration);
void undo_initial_hint_action();
void set_profile(int profile);
void start_prefetch(int pid, const char *packageName);
long long calc_timespan_us(struct timespec start, struct timespec end);
int get_soc_id(void);