Lines Matching refs:orientation
141 enum typec_orientation orientation;
183 return port->orientation - 1;
191 return port->orientation - 1;
296 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT;
346 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT;
399 req.mode_data |= (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT;
483 if (port->orientation == TYPEC_ORIENTATION_NONE)
514 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE)
545 enum typec_orientation orientation)
551 port->orientation = orientation;
591 ret = fwnode_property_read_string(fwnode, "sbu-orientation", &str);
595 ret = fwnode_property_read_string(fwnode, "hsl-orientation", &str);