Lines Matching full:orientation
81 enum typec_orientation orientation; member
223 typec_switch_set(alt_port->typec_switch, alt_port->orientation); in pmic_glink_altmode_worker()
241 static enum typec_orientation pmic_glink_altmode_orientation(unsigned int orientation) in pmic_glink_altmode_orientation() argument
243 if (orientation == 0) in pmic_glink_altmode_orientation()
245 else if (orientation == 1) in pmic_glink_altmode_orientation()
264 u8 orientation; in pmic_glink_altmode_sc8180xp_notify() local
280 orientation = FIELD_GET(SC8180X_ORIENTATION_MASK, notification); in pmic_glink_altmode_sc8180xp_notify()
294 alt_port->orientation = pmic_glink_altmode_orientation(orientation); in pmic_glink_altmode_sc8180xp_notify()
311 u8 orientation; in pmic_glink_altmode_sc8280xp_notify() local
326 orientation = notify->payload[1]; in pmic_glink_altmode_sc8280xp_notify()
337 alt_port->orientation = pmic_glink_altmode_orientation(orientation); in pmic_glink_altmode_sc8280xp_notify()
501 "failed to acquire orientation-switch for port: %d\n", in pmic_glink_altmode_probe()