Lines Matching refs:commands

20 Unfortunately, while PMBus commands are standardized, there are no mandatory
21 commands, and manufacturers can add as many non-standard commands as they like.
22 Also, different PMBUs devices act differently if non-supported commands are
46 PMBus commands. Auto-detection is somewhat limited, since there are simply too
48 which PMBus commands are paged and which commands are replicated across all
52 all commands can be auto-detected. The data structures in this driver can be
56 Some commands are always auto-detected. This applies to all limit commands
66 standard PMBus commands and virtual PMBus commands.
68 Standard PMBus commands
71 Standard PMBus commands (commands values 0x00 to 0xff) are defined in the PMBUs
74 Virtual PMBus commands
77 Virtual PMBus commands are provided to enable support for non-standard
81 Virtual PMBus commands start with command value 0x100 and can thus easily be
82 distinguished from standard PMBus commands (which can not have values larger
83 than 0xff). Support for virtual PMBus commands is device specific and thus has
86 Virtual commands are named PMBUS_VIRT_xxx and start with PMBUS_VIRT_BASE. All
87 virtual commands are word sized.
89 There are currently two types of virtual commands.
91 - READ commands are read-only; writes are either ignored or return an error.
92 - RESET commands are read/write. Reading reset registers returns zero
96 Virtual commands have to be handled in device specific driver code. Chip driver
116 necessary for chips which react badly if non-supported commands are executed,
120 non-standard PMBus commands to standard commands, or to augment standard
132 negative return value indicates that the commands does not exist for this
136 As mentioned above, an exception to this rule applies to virtual commands,
147 if (command >= PMBUS_VIRT_BASE) /* For word commands/registers only */
184 PMBus registers. Chip drivers may also use direct I2C commands. If direct I2C
185 commands are used, the chip driver code must not directly modify the current
192 Set PMBus page register to <page> for subsequent commands.
281 Some i2c controllers do not support single-byte commands (write commands with