Searched refs:max_src_mv (Results 1 – 1 of 1) sorted by relevance
3131 unsigned int i, j, max_src_mv = 0, min_src_mv = 0, max_mw = 0, in tcpm_pd_select_pdo() local3150 max_src_mv = pdo_fixed_voltage(pdo); in tcpm_pd_select_pdo()3151 min_src_mv = max_src_mv; in tcpm_pd_select_pdo()3155 max_src_mv = pdo_max_voltage(pdo); in tcpm_pd_select_pdo()3207 if (max_src_mv <= max_snk_mv && in tcpm_pd_select_pdo()3231 unsigned int min_src_mv, max_src_mv, src_ma, src_mw; in tcpm_pd_select_pps_apdo() local3253 max_src_mv = pdo_pps_apdo_max_voltage(pdo); in tcpm_pd_select_pps_apdo()3255 src_mw = (src_ma * max_src_mv) / 1000; in tcpm_pd_select_pps_apdo()3285 max_src_mv >= min_snk_mv) { in tcpm_pd_select_pps_apdo()3286 max_op_mv = min(max_src_mv, max_snk_mv); in tcpm_pd_select_pps_apdo()