Lines Matching refs:version
127 int version; member
216 return tps6586x->version; in tps6586x_get_version()
477 static void tps6586x_print_version(struct i2c_client *client, int version) in tps6586x_print_version() argument
481 switch (version) { in tps6586x_print_version()
503 dev_info(&client->dev, "Found %s, VERSIONCRC is %02x\n", name, version); in tps6586x_print_version()
512 int version; in tps6586x_i2c_probe() local
522 version = i2c_smbus_read_byte_data(client, TPS6586X_VERSIONCRC); in tps6586x_i2c_probe()
523 if (version < 0) { in tps6586x_i2c_probe()
524 dev_err(&client->dev, "Chip ID read failed: %d\n", version); in tps6586x_i2c_probe()
532 tps6586x->version = version; in tps6586x_i2c_probe()
533 tps6586x_print_version(client, tps6586x->version); in tps6586x_i2c_probe()