Searched refs:pdo_max_power (Results 1 – 3 of 3) sorted by relevance
238 return sysfs_emit(buf, "%umW\n", pdo_max_power(to_pdo(dev)->pdo)); in maximum_power_show()245 return sysfs_emit(buf, "%umW\n", pdo_max_power(to_pdo(dev)->pdo)); in operational_power_show()
320 static inline unsigned int pdo_max_power(u32 pdo) in pdo_max_power() function
708 pdo_max_power(pdo)); in tcpm_log_source_caps()3105 pdo_max = pdo_max_power(pdo); in tcpm_pd_check_request()3125 #define min_power(x, y) min(pdo_max_power(x), pdo_max_power(y))3178 src_mw = pdo_max_power(pdo); in tcpm_pd_select_pdo()3374 (pdo_max_power(matching_snk_pdo) > pdo_max_power(pdo))) in tcpm_pd_build_request()3375 max_mw = pdo_max_power(matching_snk_pdo); in tcpm_pd_build_request()