Searched refs:to_dtpm (Results 1 – 2 of 2) sorted by relevance
52 struct dtpm *dtpm = to_dtpm(pcz); in get_max_power_range_uw()84 return __get_power_uw(to_dtpm(pcz), power_uw); in get_power_uw()171 struct dtpm *dtpm = to_dtpm(pcz); in dtpm_release_zone()193 *power_limit = to_dtpm(pcz)->power_limit; in get_power_limit_uw()270 struct dtpm *dtpm = to_dtpm(pcz); in set_power_limit_uw()294 *max_power = to_dtpm(pcz)->power_max; in get_max_power_uw()
55 static inline struct dtpm *to_dtpm(struct powercap_zone *zone) in to_dtpm() function