Lines Matching refs:bat0
50 struct i2c_client *bat0; member
209 struct i2c_client *client = cdata->bat0; in mshw0011_bix()
273 struct i2c_client *client = cdata->bat0; in mshw0011_bst()
433 dev_info(&cdata->bat0->dev, "command(0x%02x) is not supported.\n", gsb->cmd.arg1); in mshw0011_space_handler()
510 struct i2c_client *bat0; in mshw0011_probe() local
524 bat0 = i2c_acpi_new_device(dev, 1, &board_info); in mshw0011_probe()
525 if (IS_ERR(bat0)) in mshw0011_probe()
526 return PTR_ERR(bat0); in mshw0011_probe()
528 data->bat0 = bat0; in mshw0011_probe()
529 i2c_set_clientdata(bat0, data); in mshw0011_probe()
553 i2c_unregister_device(data->bat0); in mshw0011_probe()
566 i2c_unregister_device(cdata->bat0); in mshw0011_remove()