Searched refs:pdo_max_current (Results 1 – 5 of 5) sorted by relevance
152 val->intval = pdo_max_current(pdo) * 1000; in ucsi_psy_get_current_max()
327 max_current = pdo_max_current(data->spdos[data->spdo_sel - 1]); in rt1719_update_operating_status()349 op_current = min(max_current, pdo_max_current(data->snkcaps[snk_sel])); in rt1719_update_operating_status()
109 return sysfs_emit(buf, "%umA\n", pdo_max_current(to_pdo(dev)->pdo)); in current_show()
752 pdo_max_current(pdo), in tcpm_log_source_caps()771 pdo_max_current(pdo)); in tcpm_log_source_caps()913 unsigned int curr = pdo_max_current(pdo); in tcpm_rp_cc()3802 pdo_max = pdo_max_current(pdo); in tcpm_pd_check_request()3843 #define min_current(x, y) min(pdo_max_current(x), pdo_max_current(y))3891 src_ma = pdo_max_current(pdo); in tcpm_pd_select_pdo()4039 else if (pdo_max_current(matching_snk_pdo) > in tcpm_pd_build_request()4040 pdo_max_current(pdo)) in tcpm_pd_build_request()4041 max_ma = pdo_max_current(matching_snk_pdo); in tcpm_pd_build_request()4999 pdo_max_current(port->snk_pdo[0])); in run_state_machine()[all …]
316 static inline unsigned int pdo_max_current(u32 pdo) in pdo_max_current() function