Lines Matching refs:sop
253 * @sop: Cable plug target for Enter Mode command
259 int typec_cable_altmode_enter(struct typec_altmode *adev, enum typec_plug_index sop, u32 *vdo)
278 return pdev->cable_ops->enter(pdev, sop, vdo);
285 * @sop: Cable plug target for Exit Mode command
289 int typec_cable_altmode_exit(struct typec_altmode *adev, enum typec_plug_index sop)
305 return pdev->cable_ops->exit(pdev, sop);
312 * @sop: Cable plug target for VDM
321 int typec_cable_altmode_vdm(struct typec_altmode *adev, enum typec_plug_index sop,
337 if (!altmode->plug[sop])
339 pdev = &altmode->plug[sop]->adev;
345 return pdev->cable_ops->vdm(pdev, sop, header, vdo, count);