Home
last modified time | relevance | path

Searched refs:pdo_max_current (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/usb/typec/ucsi/
Dpsy.c130 val->intval = pdo_max_current(pdo) * 1000; in ucsi_psy_get_current_max()
/linux-5.19.10/include/linux/usb/
Dpd.h315 static inline unsigned int pdo_max_current(u32 pdo) in pdo_max_current() function
/linux-5.19.10/drivers/usb/typec/
Drt1719.c333 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()
/linux-5.19.10/drivers/usb/typec/tcpm/
Dtcpm.c674 pdo_max_current(pdo), in tcpm_log_source_caps()
693 pdo_max_current(pdo)); in tcpm_log_source_caps()
835 unsigned int curr = pdo_max_current(pdo); in tcpm_rp_cc()
3027 pdo_max = pdo_max_current(pdo); in tcpm_pd_check_request()
3068 #define min_current(x, y) min(pdo_max_current(x), pdo_max_current(y))
3116 src_ma = pdo_max_current(pdo); in tcpm_pd_select_pdo()
3318 else if (pdo_max_current(matching_snk_pdo) > in tcpm_pd_build_request()
3319 pdo_max_current(pdo)) in tcpm_pd_build_request()
3320 max_ma = pdo_max_current(matching_snk_pdo); in tcpm_pd_build_request()