Lines Matching refs:version
127 int version; member
216 return tps6586x->version; in tps6586x_get_version()
484 static void tps6586x_print_version(struct i2c_client *client, int version) in tps6586x_print_version() argument
488 switch (version) { in tps6586x_print_version()
510 dev_info(&client->dev, "Found %s, VERSIONCRC is %02x\n", name, version); in tps6586x_print_version()
519 int version; in tps6586x_i2c_probe() local
529 version = i2c_smbus_read_byte_data(client, TPS6586X_VERSIONCRC); in tps6586x_i2c_probe()
530 if (version < 0) { in tps6586x_i2c_probe()
531 dev_err(&client->dev, "Chip ID read failed: %d\n", version); in tps6586x_i2c_probe()
539 tps6586x->version = version; in tps6586x_i2c_probe()
540 tps6586x_print_version(client, tps6586x->version); in tps6586x_i2c_probe()