Searched refs:port_altmode (Results 1 – 5 of 5) sorted by relevance
34 struct altmode *port_altmode; in typec_altmode_set_state() local36 port_altmode = is_port ? to_altmode(adev) : to_altmode(adev)->partner; in typec_altmode_set_state()38 return typec_altmode_set_mux(port_altmode, conf, data); in typec_altmode_set_state()
276 altmode = typec_altmode_get_partner(con->port_altmode[cur]); in ucsi_altmode_update_active()334 i = ucsi_next_altmode(con->port_altmode); in ucsi_register_altmode()340 ret = ucsi_altmode_next_mode(con->port_altmode, desc->svid); in ucsi_register_altmode()368 con->port_altmode[i] = alt; in ucsi_register_altmode()553 adev = con->port_altmode; in ucsi_unregister_altmodes()
77 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter()
328 struct typec_altmode *port_altmode[UCSI_MAX_ALTMODES]; member
449 struct typec_altmode *port_altmode[ALTMODE_DISCOVERY_MAX]; member1762 adev = typec_match_altmode(port->port_altmode, ALTMODE_DISCOVERY_MAX, in tcpm_handle_vdm_request()6400 port->port_altmode, ALTMODE_DISCOVERY_MAX); in tcpm_register_port()6432 for (i = 0; i < ARRAY_SIZE(port->port_altmode); i++) in tcpm_unregister_port()6433 typec_unregister_altmode(port->port_altmode[i]); in tcpm_unregister_port()