Searched refs:pdo_max_power (Results 1 – 3 of 3) sorted by relevance
244 return sysfs_emit(buf, "%umW\n", pdo_max_power(to_pdo(dev)->pdo)); in maximum_power_show()251 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
717 pdo_max_power(pdo)); in tcpm_log_source_caps()3147 pdo_max = pdo_max_power(pdo); in tcpm_pd_check_request()3167 #define min_power(x, y) min(pdo_max_power(x), pdo_max_power(y))3220 src_mw = pdo_max_power(pdo); in tcpm_pd_select_pdo()3362 (pdo_max_power(matching_snk_pdo) > pdo_max_power(pdo))) in tcpm_pd_build_request()3363 max_mw = pdo_max_power(matching_snk_pdo); in tcpm_pd_build_request()