Lines Matching full:orientation
82 enum typec_orientation orientation; member
222 typec_switch_set(alt_port->typec_switch, alt_port->orientation); in pmic_glink_altmode_worker()
240 static enum typec_orientation pmic_glink_altmode_orientation(unsigned int orientation) in pmic_glink_altmode_orientation() argument
242 if (orientation == 0) in pmic_glink_altmode_orientation()
244 else if (orientation == 1) in pmic_glink_altmode_orientation()
263 u8 orientation; in pmic_glink_altmode_sc8180xp_notify() local
279 orientation = FIELD_GET(SC8180X_ORIENTATION_MASK, notification); in pmic_glink_altmode_sc8180xp_notify()
293 alt_port->orientation = pmic_glink_altmode_orientation(orientation); in pmic_glink_altmode_sc8180xp_notify()
310 u8 orientation; in pmic_glink_altmode_sc8280xp_notify() local
325 orientation = notify->payload[1]; in pmic_glink_altmode_sc8280xp_notify()
336 alt_port->orientation = pmic_glink_altmode_orientation(orientation); in pmic_glink_altmode_sc8280xp_notify()
500 "failed to acquire orientation-switch for port: %d\n", in pmic_glink_altmode_probe()