Searched refs:pdo_max_current (Results 1 – 5 of 5) sorted by relevance
130 val->intval = pdo_max_current(pdo) * 1000; in ucsi_psy_get_current_max()
333 max_current = pdo_max_current(data->spdos[data->spdo_sel - 1]); in rt1719_update_operating_status()355 op_current = min(max_current, pdo_max_current(data->snkcaps[snk_sel])); in rt1719_update_operating_status()
105 return sysfs_emit(buf, "%umA\n", pdo_max_current(to_pdo(dev)->pdo)); in current_show()
315 static inline unsigned int pdo_max_current(u32 pdo) in pdo_max_current() function
682 pdo_max_current(pdo), in tcpm_log_source_caps()701 pdo_max_current(pdo)); in tcpm_log_source_caps()843 unsigned int curr = pdo_max_current(pdo); in tcpm_rp_cc()3085 pdo_max = pdo_max_current(pdo); in tcpm_pd_check_request()3126 #define min_current(x, y) min(pdo_max_current(x), pdo_max_current(y))3174 src_ma = pdo_max_current(pdo); in tcpm_pd_select_pdo()3376 else if (pdo_max_current(matching_snk_pdo) > in tcpm_pd_build_request()3377 pdo_max_current(pdo)) in tcpm_pd_build_request()3378 max_ma = pdo_max_current(matching_snk_pdo); in tcpm_pd_build_request()