to_typec_plug
struct typec_plug *plug = to_typec_plug(dev);
struct typec_plug *plug = to_typec_plug(kobj_to_dev(kobj));
struct typec_plug *plug = to_typec_plug(adev->dev.parent);
struct typec_plug *plug = to_typec_plug(adev->dev.parent);
ids = &to_typec_plug(dev)->mode_ids;
ids = &to_typec_plug(dev)->mode_ids;
plug = to_typec_plug(dev);