Home
last modified time | relevance | path

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

/linux/drivers/platform/chrome/
H A Dcros_typec_vdm.c43 amode = typec_match_altmode(typec->ports[port_num]->port_altmode, in cros_typec_handle_vdm_attention()
81 amode = typec_match_altmode(typec->ports[port_num]->port_altmode, CROS_EC_ALTMODE_MAX, in cros_typec_handle_vdm_response()
/linux/drivers/usb/typec/ucsi/
H A Ddisplayport.c78 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter()
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c606 struct typec_altmode *port_altmode[ALTMODE_DISCOVERY_MAX]; member
2558 adev = typec_match_altmode(port->port_altmode, ALTMODE_DISCOVERY_MAX, in tcpm_handle_vdm_request()
8601 port->port_altmode, ALTMODE_DISCOVERY_MAX); in tcpm_register_port()
8602 typec_port_register_cable_ops(port->port_altmode, ARRAY_SIZE(port->port_altmode), in tcpm_register_port()
8640 for (i = 0; i < ARRAY_SIZE(port->port_altmode); i++) in tcpm_unregister_port()
8641 typec_unregister_altmode(port->port_altmode[i]); in tcpm_unregister_port()