Lines Matching refs:orientation
1729 return sprintf(buf, "%s\n", typec_orientations[port->orientation]);
1731 static DEVICE_ATTR_RO(orientation);
1995 * typec_find_orientation - Convert orientation string to enum typec_orientation
2000 * Returns the orientation value on success, otherwise negative error code.
2057 * typec_set_orientation - Set USB Type-C cable plug orientation
2059 * @orientation: USB Type-C cable plug orientation
2061 * Set cable plug orientation for @port.
2064 enum typec_orientation orientation)
2068 ret = typec_switch_set(port->sw, orientation);
2072 port->orientation = orientation;
2073 sysfs_notify(&port->dev.kobj, NULL, "orientation");
2081 * typec_get_orientation - Get USB Type-C cable plug orientation
2084 * Get current cable plug orientation for @port.
2088 return port->orientation;