Home
last modified time | relevance | path

Searched refs:pdo_type (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/usb/typec/
H A Dpd.c411 if (pdo_type(pdo) == PDO_TYPE_APDO) { in add_pdo()
427 type = source_type[pdo_type(pdo)]; in add_pdo()
429 type = sink_type[pdo_type(pdo)]; in add_pdo()
431 name = supply_name[pdo_type(pdo)]; in add_pdo()
H A Drt1719.c318 enum pd_pdo_type type = pdo_type(pdo); in rt1719_update_operating_status()
475 enum pd_pdo_type type = pdo_type(data->spdos[i]); in rt1719_usbpd_request_voltage()
H A Danx7411.c1214 switch (pdo_type(typecp->sink_pdo[i])) { in anx7411_typec_port_probe()
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c683 enum pd_pdo_type type = pdo_type(pdo); in tcpm_log_source_caps()
850 if (pdo_type(pdo) == PDO_TYPE_FIXED && in tcpm_rp_cc()
1119 switch (pdo_type(pdo)) { in tcpm_forge_legacy_pdo()
2151 if (pdo_type(pdo[i]) < pdo_type(pdo[i - 1])) { in tcpm_caps_err()
2153 } else if (pdo_type(pdo[i]) == pdo_type(pdo[i - 1])) { in tcpm_caps_err()
3130 type = pdo_type(pdo); in tcpm_pd_check_request()
3197 enum pd_pdo_type type = pdo_type(pdo); in tcpm_pd_select_pdo()
3241 switch (pdo_type(pdo)) { in tcpm_pd_select_pdo()
3285 switch (pdo_type(pdo)) { in tcpm_pd_select_pps_apdo()
3339 type = pdo_type(pdo); in tcpm_pd_build_request()
[all …]
/openbmc/linux/include/linux/usb/
H A Dpd.h295 static inline enum pd_pdo_type pdo_type(u32 pdo) in pdo_type() function