Searched refs:prefer_role (Results 1 – 10 of 10) sorted by relevance
1396 port->prefer_role = role; in preferred_role_store()1409 if (port->prefer_role < 0) in preferred_role_show()1412 return sprintf(buf, "%s\n", typec_roles[port->prefer_role]); in preferred_role_show()2087 cap->prefer_role = TYPEC_NO_PREFERRED_ROLE; in typec_get_fw_cap()2094 cap->prefer_role = ret; in typec_get_fw_cap()2233 if (cap->prefer_role != TYPEC_NO_PREFERRED_ROLE) in typec_register_port()2234 port->pwr_role = cap->prefer_role; in typec_register_port()2248 if (cap->prefer_role == TYPEC_SOURCE) in typec_register_port()2261 port->prefer_role = cap->prefer_role; in typec_register_port()
108 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()
51 int prefer_role; member
213 typec_cap.prefer_role = TYPEC_NO_PREFERRED_ROLE; in hd3ss3220_probe()
559 chip->capability.prefer_role = TYPEC_SINK; in stusb160x_get_fw_caps()
1184 cap->prefer_role = ret; in anx7411_typec_port_probe()
61 cap->prefer_role = TYPEC_NO_PREFERRED_ROLE; in cros_typec_parse_port_props()66 cap->prefer_role = ret; in cros_typec_parse_port_props()
811 typec_cap.prefer_role = TYPEC_NO_PREFERRED_ROLE; in tps6598x_probe()
1251 cap->prefer_role = TYPEC_NO_PREFERRED_ROLE; in ucsi_register_port()
6835 port->try_role = port->typec_caps.prefer_role; in tcpm_register_port()