Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | pmbus_driver_info |
Enumerations | |
enum | pmbus_sensor_classes { PSC_VOLTAGE_IN = 0, PSC_VOLTAGE_OUT, PSC_CURRENT_IN, PSC_CURRENT_OUT, PSC_POWER, PSC_TEMPERATURE, PSC_FAN, PSC_NUM_CLASSES } |
enum | pmbus_data_format { linear = 0, direct, vid } |
#define PMBUS_VIRT_READ_IIN_AVG (PMBUS_VIRT_BASE + 8) |
#define PMBUS_VIRT_READ_IIN_MAX (PMBUS_VIRT_BASE + 10) |
#define PMBUS_VIRT_READ_IIN_MIN (PMBUS_VIRT_BASE + 9) |
#define PMBUS_VIRT_READ_IOUT_AVG (PMBUS_VIRT_BASE + 22) |
#define PMBUS_VIRT_READ_IOUT_MAX (PMBUS_VIRT_BASE + 24) |
#define PMBUS_VIRT_READ_IOUT_MIN (PMBUS_VIRT_BASE + 23) |
#define PMBUS_VIRT_READ_PIN_AVG (PMBUS_VIRT_BASE + 12) |
#define PMBUS_VIRT_READ_PIN_MAX (PMBUS_VIRT_BASE + 13) |
#define PMBUS_VIRT_READ_POUT_AVG (PMBUS_VIRT_BASE + 15) |
#define PMBUS_VIRT_READ_POUT_MAX (PMBUS_VIRT_BASE + 16) |
#define PMBUS_VIRT_READ_TEMP2_AVG (PMBUS_VIRT_BASE + 26) |
#define PMBUS_VIRT_READ_TEMP2_MAX (PMBUS_VIRT_BASE + 28) |
#define PMBUS_VIRT_READ_TEMP2_MIN (PMBUS_VIRT_BASE + 27) |
#define PMBUS_VIRT_READ_TEMP_AVG (PMBUS_VIRT_BASE + 0) |
#define PMBUS_VIRT_READ_TEMP_MAX (PMBUS_VIRT_BASE + 2) |
#define PMBUS_VIRT_READ_TEMP_MIN (PMBUS_VIRT_BASE + 1) |
#define PMBUS_VIRT_READ_VIN_AVG (PMBUS_VIRT_BASE + 4) |
#define PMBUS_VIRT_READ_VIN_MAX (PMBUS_VIRT_BASE + 6) |
#define PMBUS_VIRT_READ_VIN_MIN (PMBUS_VIRT_BASE + 5) |
#define PMBUS_VIRT_READ_VOUT_AVG (PMBUS_VIRT_BASE + 18) |
#define PMBUS_VIRT_READ_VOUT_MAX (PMBUS_VIRT_BASE + 20) |
#define PMBUS_VIRT_READ_VOUT_MIN (PMBUS_VIRT_BASE + 19) |
#define PMBUS_VIRT_RESET_IIN_HISTORY (PMBUS_VIRT_BASE + 11) |
#define PMBUS_VIRT_RESET_IOUT_HISTORY (PMBUS_VIRT_BASE + 25) |
#define PMBUS_VIRT_RESET_PIN_HISTORY (PMBUS_VIRT_BASE + 14) |
#define PMBUS_VIRT_RESET_POUT_HISTORY (PMBUS_VIRT_BASE + 17) |
#define PMBUS_VIRT_RESET_TEMP2_HISTORY (PMBUS_VIRT_BASE + 29) |
#define PMBUS_VIRT_RESET_TEMP_HISTORY (PMBUS_VIRT_BASE + 3) |
#define PMBUS_VIRT_RESET_VIN_HISTORY (PMBUS_VIRT_BASE + 7) |
#define PMBUS_VIRT_RESET_VOUT_HISTORY (PMBUS_VIRT_BASE + 21) |
enum pmbus_data_format |
enum pmbus_sensor_classes |
bool pmbus_check_byte_register | ( | struct i2c_client * | client, |
int | page, | ||
int | reg | ||
) |
Definition at line 316 of file pmbus_core.c.
bool pmbus_check_word_register | ( | struct i2c_client * | client, |
int | page, | ||
int | reg | ||
) |
Definition at line 329 of file pmbus_core.c.
void pmbus_clear_faults | ( | struct i2c_client * | client | ) |
Definition at line 293 of file pmbus_core.c.
int pmbus_do_probe | ( | struct i2c_client * | client, |
const struct i2c_device_id * | id, | ||
struct pmbus_driver_info * | info | ||
) |
Definition at line 1665 of file pmbus_core.c.
int pmbus_do_remove | ( | struct i2c_client * | client | ) |
Definition at line 1784 of file pmbus_core.c.
|
read |
Definition at line 342 of file pmbus_core.c.
int pmbus_read_byte_data | ( | struct i2c_client * | client, |
int | page, | ||
u8 | reg | ||
) |
Definition at line 256 of file pmbus_core.c.
int pmbus_read_word_data | ( | struct i2c_client * | client, |
u8 | page, | ||
u8 | reg | ||
) |
Definition at line 224 of file pmbus_core.c.
int pmbus_set_page | ( | struct i2c_client * | client, |
u8 | page | ||
) |
Definition at line 141 of file pmbus_core.c.
int pmbus_write_byte | ( | struct i2c_client * | client, |
int | page, | ||
u8 | value | ||
) |
Definition at line 159 of file pmbus_core.c.
Definition at line 191 of file pmbus_core.c.