Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/typec/
Dbus.c34 struct altmode *port_altmode; in typec_altmode_set_state() local
36 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()
/linux-5.19.10/drivers/usb/typec/ucsi/
Ducsi.c276 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()
Ddisplayport.c77 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter()
Ducsi.h328 struct typec_altmode *port_altmode[UCSI_MAX_ALTMODES]; member
/linux-5.19.10/drivers/usb/typec/tcpm/
Dtcpm.c449 struct typec_altmode *port_altmode[ALTMODE_DISCOVERY_MAX]; member
1762 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()