Lines Matching defs:pmbus_data
82 struct pmbus_data { struct
83 struct device *dev;
84 struct device *hwmon_dev;
85 struct regulator_dev **rdevs;
87 u32 flags; /* from platform data */
89 u8 revision; /* The PMBus revision the device is compliant with */
91 int exponent[PMBUS_PAGES];
94 const struct pmbus_driver_info *info;
96 int max_attributes;
97 int num_attributes;
98 struct attribute_group group;
99 const struct attribute_group **groups;
100 struct dentry *debugfs; /* debugfs device directory */
102 struct pmbus_sensor *sensors;
104 struct mutex update_lock;
106 bool has_status_word; /* device uses STATUS_WORD register */
107 int (*read_status)(struct i2c_client *client, int page);
109 s16 currpage; /* current page, -1 for unknown/unset */
110 s16 currphase; /* current phase, 0xff for all, -1 for unknown/unset */
112 int vout_low[PMBUS_PAGES]; /* voltage low margin */
113 int vout_high[PMBUS_PAGES]; /* voltage high margin */
114 ktime_t write_time; /* Last SMBUS write timestamp */
115 ktime_t access_time; /* Last SMBUS access timestamp */
1344 struct pmbus_data *pmbus_data; member
1352 struct pmbus_data *pmbus_data = tdata->pmbus_data; in pmbus_thermal_get_temp() local
1378 static int pmbus_thermal_add_sensor(struct pmbus_data *pmbus_data, in pmbus_thermal_add_sensor()