Searched refs:ate_resource (Results 1 – 2 of 2) sorted by relevance
20 static void mark_ate(struct ate_resource *ate_resource, int start, int number, in mark_ate() argument23 u64 *ate = ate_resource->ate; in mark_ate()35 static int find_free_ate(struct ate_resource *ate_resource, int start, in find_free_ate() argument38 u64 *ate = ate_resource->ate; in find_free_ate()42 for (index = start; index < ate_resource->num_ate;) { in find_free_ate()48 for (i = start_free; i < ate_resource->num_ate; i++) { in find_free_ate()57 if (i >= ate_resource->num_ate) in find_free_ate()69 static inline void free_ate_resource(struct ate_resource *ate_resource, in free_ate_resource() argument72 mark_ate(ate_resource, start, ate_resource->ate[start], 0); in free_ate_resource()73 if ((ate_resource->lowest_free_index > start) || in free_ate_resource()[all …]
94 struct ate_resource{ struct106 struct ate_resource pbi_int_ate_resource; argument