Home
last modified time | relevance | path

Searched refs:plug_prime (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/usb/typec/altmodes/
Ddisplayport.c74 struct typec_altmode *plug_prime; member
108 if (dp->plug_prime) in dp_altmode_configure()
109 pin_assign &= DP_CAP_DFP_D_PIN_ASSIGN(dp->plug_prime->vdo); in dp_altmode_configure()
117 if (dp->plug_prime) in dp_altmode_configure()
118 pin_assign &= DP_CAP_UFP_D_PIN_ASSIGN(dp->plug_prime->vdo); in dp_altmode_configure()
144 if (dp->plug_prime) in dp_altmode_configure()
160 dp->state = dp->plug_prime ? DP_STATE_CONFIGURE_PRIME : in dp_altmode_status_update()
167 dp->state = dp->plug_prime ? DP_STATE_CONFIGURE_PRIME : in dp_altmode_status_update()
230 int svdm_version = typec_altmode_get_cable_svdm_version(dp->plug_prime); in dp_altmode_configure_vdm_cable()
238 return typec_cable_altmode_vdm(dp->plug_prime, TYPEC_PLUG_SOP_P, header, &conf, 2); in dp_altmode_configure_vdm_cable()
[all …]
/linux-6.12.1/drivers/usb/typec/tcpm/
Dtcpm.c338 struct typec_plug *plug_prime; member
1646 if (IS_ERR_OR_NULL(port->plug_prime)) { in svdm_consume_identity_sop_prime()
1648 port->plug_prime = typec_register_plug(port->cable, in svdm_consume_identity_sop_prime()
1772 typec_plug_set_num_altmodes(port->plug_prime, modep->altmodes); in tcpm_register_plug_altmodes()
1775 altmode = typec_plug_register_altmode(port->plug_prime, in tcpm_register_plug_altmodes()
4343 typec_unregister_plug(port->plug_prime); in tcpm_typec_disconnect()
4345 port->plug_prime = NULL; in tcpm_typec_disconnect()