Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/typec/
Dclass.c1237 port->prefer_role = role; in preferred_role_store()
1250 if (port->prefer_role < 0) in preferred_role_show()
1253 return sprintf(buf, "%s\n", typec_roles[port->prefer_role]); in preferred_role_show()
1926 cap->prefer_role = TYPEC_NO_PREFERRED_ROLE; in typec_get_fw_cap()
1933 cap->prefer_role = ret; in typec_get_fw_cap()
2062 if (cap->prefer_role != TYPEC_NO_PREFERRED_ROLE) in typec_register_port()
2063 port->pwr_role = cap->prefer_role; in typec_register_port()
2077 if (cap->prefer_role == TYPEC_SOURCE) in typec_register_port()
2090 port->prefer_role = cap->prefer_role; in typec_register_port()
Dclass.h43 int prefer_role; member
Dwusb3801.c108 if (wusb3801->cap.prefer_role == TYPEC_SOURCE) in wusb3801_get_default_role()
215 wusb3801_map_try_role(wusb3801->cap.prefer_role) | in wusb3801_hw_init()
Dhd3ss3220.c194 typec_cap.prefer_role = TYPEC_NO_PREFERRED_ROLE; in hd3ss3220_probe()
Dqcom-pmic-typec.c186 cap.prefer_role = TYPEC_NO_PREFERRED_ROLE; in qcom_pmic_typec_probe()
Dstusb160x.c559 chip->capability.prefer_role = TYPEC_SINK; in stusb160x_get_fw_caps()
/linux-5.19.10/include/linux/usb/
Dtypec.h253 int prefer_role; member
/linux-5.19.10/drivers/platform/chrome/
Dcros_ec_typec.c122 cap->prefer_role = TYPEC_NO_PREFERRED_ROLE; in cros_typec_parse_port_props()
127 cap->prefer_role = ret; in cros_typec_parse_port_props()
/linux-5.19.10/drivers/usb/typec/tipd/
Dcore.c782 typec_cap.prefer_role = TYPEC_NO_PREFERRED_ROLE; in tps6598x_probe()
/linux-5.19.10/Documentation/driver-api/usb/
Dtypec.rst68 When registering the ports, the prefer_role member in struct typec_capability
/linux-5.19.10/drivers/usb/typec/ucsi/
Ducsi.c1106 cap->prefer_role = TYPEC_NO_PREFERRED_ROLE; in ucsi_register_port()
/linux-5.19.10/drivers/usb/typec/tcpm/
Dtcpm.c6368 port->try_role = port->typec_caps.prefer_role; in tcpm_register_port()