~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/obsolete/sysfs-class-typec

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 These files are deprecated and will be removed. The same files are available
  2 under /sys/bus/typec (see Documentation/ABI/testing/sysfs-bus-typec).
  3 
  4 What:           /sys/class/typec/<port|partner|cable>/<dev>/svid
  5 Date:           April 2017
  6 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
  7 Description:
  8                 The SVID (Standard or Vendor ID) assigned by USB-IF for this
  9                 alternate mode.
 10 
 11 What:           /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/
 12 Date:           April 2017
 13 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
 14 Description:
 15                 Every supported mode will have its own directory. The name of
 16                 a mode will be "mode<index>" (for example mode1), where <index>
 17                 is the actual index to the mode VDO returned by Discover Modes
 18                 USB power delivery command.
 19 
 20 What:           /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/description
 21 Date:           April 2017
 22 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
 23 Description:
 24                 Shows description of the mode. The description is optional for
 25                 the drivers, just like with the Billboard Devices.
 26 
 27 What:           /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo
 28 Date:           April 2017
 29 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
 30 Description:
 31                 Shows the VDO in hexadecimal returned by Discover Modes command
 32                 for this mode.
 33 
 34 What:           /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/active
 35 Date:           April 2017
 36 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
 37 Description:
 38                 Shows if the mode is active or not. The attribute can be used
 39                 for entering/exiting the mode with partners and cable plugs, and
 40                 with the port alternate modes it can be used for disabling
 41                 support for specific alternate modes. Entering/exiting modes is
 42                 supported as synchronous operation so write(2) to the attribute
 43                 does not return until the enter/exit mode operation has
 44                 finished. The attribute is notified when the mode is
 45                 entered/exited so poll(2) on the attribute wakes up.
 46                 Entering/exiting a mode will also generate uevent KOBJ_CHANGE.
 47 
 48                 Valid values: yes, no

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php