Lines Matching refs:polarity
699 enum typec_orientation polarity;
702 polarity = TYPEC_ORIENTATION_NONE;
703 else if (!resp->polarity)
704 polarity = TYPEC_ORIENTATION_NORMAL;
706 polarity = TYPEC_ORIENTATION_REVERSE;
709 typec_set_orientation(port, polarity);
716 enum typec_orientation polarity;
721 polarity = TYPEC_ORIENTATION_NONE;
722 else if (!resp->polarity)
723 polarity = TYPEC_ORIENTATION_NORMAL;
725 polarity = TYPEC_ORIENTATION_REVERSE;
726 typec_set_orientation(port, polarity);
1131 dev_dbg(typec->dev, "Polarity %d: 0x%hhx\n", port_num, resp.polarity);