Lines Matching full:phase
3 * Hardware monitoring driver for MPS Multi-phase Digital VR Controllers
83 * Obtain resolution selector for total and phase current report and protection. in mp2888_current_sense_gain_and_resolution_get()
84 * 0: original resolution; 1: half resolution (in such case phase current value should in mp2888_current_sense_gain_and_resolution_get()
94 mp2888_read_phase(struct i2c_client *client, struct mp2888_data *data, int page, int phase, u8 reg) in mp2888_read_phase() argument
98 ret = pmbus_read_word_data(client, page, phase, reg); in mp2888_read_phase()
102 if (!((phase + 1) % 2)) in mp2888_read_phase()
113 * - Rcs is the internal phase current sense resistor. This parameter depends on hardware in mp2888_read_phase()
116 * If phase current resolution bit is set to 1, READ_CSx value should be doubled. in mp2888_read_phase()
117 * Note, that current phase sensing, providing by the device is not accurate. This is in mp2888_read_phase()
128 mp2888_read_phases(struct i2c_client *client, struct mp2888_data *data, int page, int phase) in mp2888_read_phases() argument
132 switch (phase) { in mp2888_read_phases()
134 ret = mp2888_read_phase(client, data, page, phase, MP2888_MFR_READ_CS1_2); in mp2888_read_phases()
137 ret = mp2888_read_phase(client, data, page, phase, MP2888_MFR_READ_CS3_4); in mp2888_read_phases()
140 ret = mp2888_read_phase(client, data, page, phase, MP2888_MFR_READ_CS5_6); in mp2888_read_phases()
143 ret = mp2888_read_phase(client, data, page, phase, MP2888_MFR_READ_CS7_8); in mp2888_read_phases()
146 ret = mp2888_read_phase(client, data, page, phase, MP2888_MFR_READ_CS9_10); in mp2888_read_phases()
154 static int mp2888_read_word_data(struct i2c_client *client, int page, int phase, int reg) in mp2888_read_word_data() argument
162 ret = pmbus_read_word_data(client, page, phase, reg); in mp2888_read_word_data()
174 ret = pmbus_read_word_data(client, page, phase, reg); in mp2888_read_word_data()
184 if (phase != 0xff) in mp2888_read_word_data()
185 return mp2888_read_phases(client, data, page, phase); in mp2888_read_word_data()
187 ret = pmbus_read_word_data(client, page, phase, reg); in mp2888_read_word_data()
198 ret = pmbus_read_word_data(client, page, phase, reg); in mp2888_read_word_data()
211 ret = pmbus_read_word_data(client, page, phase, reg); in mp2888_read_word_data()
217 ret = pmbus_read_word_data(client, page, phase, reg); in mp2888_read_word_data()
312 * The device provides a total of 10 PWM pins, and can be configured to different phase in mp2888_identify_multiphase()