Lines Matching defs:client
21 struct i2c_client *client = file->private_data;
26 rc = i2c_smbus_read_block_data(client, ACBEL_MFR_FW_REVISION, data);
41 static void acbel_fsg032_init_debugfs(struct i2c_client *client)
43 struct dentry *debugfs = pmbus_get_debugfs_dir(client);
48 debugfs_create_file("fw_version", 0444, debugfs, client, &acbel_debugfs_ops);
66 static int acbel_fsg032_probe(struct i2c_client *client)
69 struct device *dev = &client->dev;
72 rc = i2c_smbus_read_block_data(client, PMBUS_MFR_ID, buf);
83 rc = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, buf);
95 rc = pmbus_do_probe(client, &acbel_fsg032_info);
99 acbel_fsg032_init_debugfs(client);