Lines Matching +full:negative +full:- +full:phase
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * pmbus.h - Common defines and structures for PMBus devices
146 * READ registers are read-only; writes are either ignored or return an error.
151 * driver code returns non-negative register values if a virtual register is
152 * supported, or a negative error code if not. The chip driver may return
153 * -ENODATA or any other error code in this case, though an error code other
154 * than -ENODATA is handled more efficiently and thus preferred. Either case,
203 * PMBUS_VIRT_PWM_[1-4] and PMBUS_VIRT_PWM_ENABLE_[1-4] in the
207 * PMBUS_VIRT_FAN_TARGET_[1-4].
441 u32 pfunc[PMBUS_PHASES];/* Functionality, per phase */
447 * successful. A return value of -ENODATA indicates that there is no
449 * may exist. Any other negative return value indicates that the
454 int (*read_word_data)(struct i2c_client *client, int page, int phase,
464 * chips, and the chip functionality is not pre-determined.
531 int pmbus_set_page(struct i2c_client *client, int page, int phase);
532 int pmbus_read_word_data(struct i2c_client *client, int page, int phase,