TYPEC_PLUG_SOP_P
p_desc.index = TYPEC_PLUG_SOP_P;
return typec_cable_altmode_vdm(dp->plug_prime, TYPEC_PLUG_SOP_P, header, &conf, 2);
ret = typec_cable_altmode_enter(dp->alt, TYPEC_PLUG_SOP_P, NULL);
if (typec_cable_altmode_exit(dp->plug_prime, TYPEC_PLUG_SOP_P))
ret = typec_cable_altmode_enter(alt, TYPEC_PLUG_SOP_P, NULL);
struct typec_altmode *plug = typec_altmode_get_plug(alt, TYPEC_PLUG_SOP_P);
if (tbt->plug[TYPEC_PLUG_SOP_P]) {
ret = typec_cable_altmode_enter(alt, TYPEC_PLUG_SOP_P, NULL);
if (sop == TYPEC_PLUG_SOP_P) {
if (tbt->plug[TYPEC_PLUG_SOP_P])
data.cable_mode = tbt->plug[TYPEC_PLUG_SOP_P]->vdo;
else if (tbt->plug[TYPEC_PLUG_SOP_P])
if (tbt->plug[TYPEC_PLUG_SOP_P])
plug = tbt->plug[TYPEC_PLUG_SOP_P];
ret = typec_cable_altmode_enter(tbt->alt, TYPEC_PLUG_SOP_P, NULL);
dev_dbg(&tbt->plug[TYPEC_PLUG_SOP_P]->dev,
typec_cable_altmode_exit(tbt->alt, TYPEC_PLUG_SOP_P);
port->plug_prime_desc.index = TYPEC_PLUG_SOP_P;
typec_cable_altmode_vdm(adev, TYPEC_PLUG_SOP_P, p[0], &p[1], cnt);
typec_cable_altmode_vdm(adev, TYPEC_PLUG_SOP_P, p[0], &p[1], cnt);
if (typec_cable_altmode_vdm(adev, TYPEC_PLUG_SOP_P,
struct typec_plug_desc desc = {.index = TYPEC_PLUG_SOP_P};