Home
last modified time | relevance | path

Searched refs:MAX_EVENT_CACHE (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_OffloadManager.cpp60 memset(event_cache, 0, MAX_EVENT_CACHE*sizeof(framework_event_cache)); in IPACM_OffloadManager()
238 for(int i = 0; i < MAX_EVENT_CACHE ;i++) in addDownstream()
269 latest_cache_index = (latest_cache_index + 1)% MAX_EVENT_CACHE; in addDownstream()
272 latest_cache_index = (latest_cache_index + 1)% MAX_EVENT_CACHE; in addDownstream()
273 if(i == MAX_EVENT_CACHE - 1) in addDownstream()
368 for (index = 0; index < MAX_EVENT_CACHE; index++) { in setUpstream()
412 for(int i = 0; i < MAX_EVENT_CACHE ;i++) in setUpstream()
441 latest_cache_index = (latest_cache_index + 1)% MAX_EVENT_CACHE; in setUpstream()
444 latest_cache_index = (latest_cache_index + 1)% MAX_EVENT_CACHE; in setUpstream()
445 if(i == MAX_EVENT_CACHE - 1) in setUpstream()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_OffloadManager.cpp60 memset(event_cache, 0, MAX_EVENT_CACHE*sizeof(framework_event_cache)); in IPACM_OffloadManager()
230 for(int i = 0; i < MAX_EVENT_CACHE ;i++) in addDownstream()
261 latest_cache_index = (latest_cache_index + 1)% MAX_EVENT_CACHE; in addDownstream()
264 latest_cache_index = (latest_cache_index + 1)% MAX_EVENT_CACHE; in addDownstream()
265 if(i == MAX_EVENT_CACHE - 1) in addDownstream()
352 for (index = 0; index < MAX_EVENT_CACHE; index++) { in setUpstream()
356 memset(event_cache, 0, MAX_EVENT_CACHE*sizeof(framework_event_cache)); in setUpstream()
389 for(int i = 0; i < MAX_EVENT_CACHE ;i++) in setUpstream()
418 latest_cache_index = (latest_cache_index + 1)% MAX_EVENT_CACHE; in setUpstream()
421 latest_cache_index = (latest_cache_index + 1)% MAX_EVENT_CACHE; in setUpstream()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_OffloadManager.h46 #define MAX_EVENT_CACHE 10 macro
116 framework_event_cache event_cache[MAX_EVENT_CACHE];
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_OffloadManager.h46 #define MAX_EVENT_CACHE 10 macro
120 framework_event_cache event_cache[MAX_EVENT_CACHE];