Lines Matching defs:client
17 static int bpa_rs600_read_byte_data(struct i2c_client *client, int page, int reg)
30 ret = pmbus_read_byte_data(client, 0, PMBUS_FAN_CONFIG_12);
47 static int bpa_rs600_read_vin(struct i2c_client *client)
51 ret = pmbus_read_word_data(client, 0, 0xff, PMBUS_READ_VIN);
72 static int bpa_rs600_read_pin_max(struct i2c_client *client)
76 ret = pmbus_read_word_data(client, 0, 0xff, PMBUS_MFR_PIN_MAX);
88 static int bpa_rs600_read_word_data(struct i2c_client *client, int page, int phase, int reg)
112 ret = bpa_rs600_read_vin(client);
115 ret = bpa_rs600_read_pin_max(client);
156 static int bpa_rs600_probe(struct i2c_client *client)
158 struct device *dev = &client->dev;
163 if (!i2c_check_functionality(client->adapter,
169 ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, buf);
185 return pmbus_do_probe(client, &bpa_rs600_info);