Home
last modified time | relevance | path

Searched refs:pdo_fixed_voltage (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/usb/typec/ucsi/
H A Dpsy.c71 val->intval = pdo_fixed_voltage(pdo) * 1000; in ucsi_psy_get_voltage_min()
95 val->intval = pdo_fixed_voltage(pdo) * 1000; in ucsi_psy_get_voltage_max()
124 val->intval = pdo_fixed_voltage(pdo) * 1000; in ucsi_psy_get_voltage_now()
/openbmc/linux/drivers/usb/typec/
H A Drt1719.c332 voltage = pdo_fixed_voltage(data->spdos[data->spdo_sel - 1]); in rt1719_update_operating_status()
447 src_voltage = pdo_fixed_voltage(data->spdos[data->spdo_sel - 1]); in rt1719_usbpd_request_voltage()
480 src_voltage = pdo_fixed_voltage(data->spdos[i]); in rt1719_usbpd_request_voltage()
H A Dpd.c104 return sysfs_emit(buf, "%umV\n", pdo_fixed_voltage(to_pdo(dev)->pdo)); in voltage_show()
H A Danx7411.c1216 ret = pdo_fixed_voltage(typecp->sink_pdo[i]); in anx7411_typec_port_probe()
/openbmc/linux/include/linux/usb/
H A Dpd.h300 static inline unsigned int pdo_fixed_voltage(u32 pdo) in pdo_fixed_voltage() function
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c690 pdo_fixed_voltage(pdo), in tcpm_log_source_caps()
851 pdo_fixed_voltage(pdo) == 5000) { in tcpm_rp_cc()
2147 pdo_fixed_voltage(pdo[0]) != VSAFE5V) in tcpm_caps_err()
2163 if (pdo_fixed_voltage(pdo[i]) <= in tcpm_caps_err()
2164 pdo_fixed_voltage(pdo[i - 1])) in tcpm_caps_err()
3146 pdo_fixed_voltage(pdo), pdo_max, op, max); in tcpm_pd_check_request()
3201 max_src_mv = pdo_fixed_voltage(pdo); in tcpm_pd_select_pdo()
3243 max_snk_mv = pdo_fixed_voltage(pdo); in tcpm_pd_select_pdo()
3343 mv = pdo_fixed_voltage(pdo); in tcpm_pd_build_request()
6362 src_mv = pdo_fixed_voltage(pdo); in tcpm_psy_get_input_power_limit()