Lines Matching refs:page
35 static int lt7182s_read_word_data(struct i2c_client *client, int page, int phase, int reg)
41 if (page == 0 || page == 1)
42 ret = pmbus_read_word_data(client, page, phase, MFR_READ_ITH);
47 ret = pmbus_read_word_data(client, page, phase, MFR_IOUT_PEAK);
50 ret = pmbus_read_word_data(client, page, phase, MFR_VOUT_PEAK);
53 ret = pmbus_read_word_data(client, page, phase, MFR_VIN_PEAK);
56 ret = pmbus_read_word_data(client, page, phase, MFR_TEMPERATURE_1_PEAK);
59 ret = (page == 0) ? 0 : -ENODATA;
68 static int lt7182s_write_word_data(struct i2c_client *client, int page, int reg, u16 word)