Lines Matching refs:client
35 static int keywest_probe(struct i2c_client *client, in keywest_probe() argument
38 i2c_set_clientdata(client, keywest_ctx); in keywest_probe()
60 keywest_ctx->client = i2c_new_device(adapter, &info); in keywest_attach_adapter()
61 if (!keywest_ctx->client) in keywest_attach_adapter()
68 if (!keywest_ctx->client->driver) { in keywest_attach_adapter()
69 i2c_unregister_device(keywest_ctx->client); in keywest_attach_adapter()
70 keywest_ctx->client = NULL; in keywest_attach_adapter()
78 list_add_tail(&keywest_ctx->client->detected, in keywest_attach_adapter()
79 &keywest_ctx->client->driver->clients); in keywest_attach_adapter()
83 static int keywest_remove(struct i2c_client *client) in keywest_remove() argument
87 if (client == keywest_ctx->client) in keywest_remove()
88 keywest_ctx->client = NULL; in keywest_remove()
122 if (!keywest_ctx || !keywest_ctx->client) in snd_pmac_tumbler_post_init()