Home
last modified time | relevance | path

Searched refs:prefer_role (Results 1 – 9 of 9) sorted by relevance

/drivers/usb/typec/
Dclass.c1240 port->prefer_role = role; in preferred_role_store()
1253 if (port->prefer_role < 0) in preferred_role_show()
1256 return sprintf(buf, "%s\n", typec_roles[port->prefer_role]); in preferred_role_show()
1929 cap->prefer_role = TYPEC_NO_PREFERRED_ROLE; in typec_get_fw_cap()
1936 cap->prefer_role = ret; in typec_get_fw_cap()
2065 if (cap->prefer_role != TYPEC_NO_PREFERRED_ROLE) in typec_register_port()
2066 port->pwr_role = cap->prefer_role; in typec_register_port()
2080 if (cap->prefer_role == TYPEC_SOURCE) in typec_register_port()
2095 port->prefer_role = cap->prefer_role; in typec_register_port()
Dclass.h47 int prefer_role; member
Dqcom-pmic-typec.c186 cap.prefer_role = TYPEC_NO_PREFERRED_ROLE; in qcom_pmic_typec_probe()
Dhd3ss3220.c196 typec_cap.prefer_role = TYPEC_NO_PREFERRED_ROLE; in hd3ss3220_probe()
Dstusb160x.c559 chip->capability.prefer_role = TYPEC_SINK; in stusb160x_get_fw_caps()
/drivers/usb/typec/tipd/
Dcore.c652 typec_cap.prefer_role = TYPEC_NO_PREFERRED_ROLE; in tps6598x_probe()
/drivers/platform/chrome/
Dcros_ec_typec.c127 cap->prefer_role = ret; in cros_typec_parse_port_props()
/drivers/usb/typec/ucsi/
Ducsi.c1092 cap->prefer_role = TYPEC_NO_PREFERRED_ROLE; in ucsi_register_port()
/drivers/usb/typec/tcpm/
Dtcpm.c6535 port->try_role = port->typec_caps.prefer_role; in tcpm_register_port()