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()
795 pdo_max_current(pdo), in tcpm_log_source_caps() 814 pdo_max_current(pdo)); in tcpm_log_source_caps() 956 unsigned int curr = pdo_max_current(pdo); in tcpm_rp_cc() 3926 pdo_max = pdo_max_current(pdo); in tcpm_pd_check_request() 3967 #define min_current(x, y) min(pdo_max_current(x), pdo_max_current(y))4015 src_ma = pdo_max_current(pdo); in tcpm_pd_select_pdo() 4163 else if (pdo_max_current(matching_snk_pdo) > in tcpm_pd_build_request() 4164 pdo_max_current(pdo)) in tcpm_pd_build_request() 4165 max_ma = pdo_max_current(matching_snk_pd in tcpm_pd_build_request() [all...]
320 static inline unsigned int pdo_max_current(u32 pdo) in pdo_max_current() function