Lines Matching refs:client
24 static int keywest_probe(struct i2c_client *client, in keywest_probe() argument
29 if (!keywest_ctx->client) in keywest_probe()
30 keywest_ctx->client = client; in keywest_probe()
31 i2c_set_clientdata(client, keywest_ctx); in keywest_probe()
53 keywest_ctx->client = i2c_new_device(adapter, &info); in keywest_attach_adapter()
54 if (!keywest_ctx->client) in keywest_attach_adapter()
61 if (!keywest_ctx->client->dev.driver) { in keywest_attach_adapter()
62 i2c_unregister_device(keywest_ctx->client); in keywest_attach_adapter()
63 keywest_ctx->client = NULL; in keywest_attach_adapter()
71 list_add_tail(&keywest_ctx->client->detected, in keywest_attach_adapter()
72 &to_i2c_driver(keywest_ctx->client->dev.driver)->clients); in keywest_attach_adapter()
76 static int keywest_remove(struct i2c_client *client) in keywest_remove() argument
80 if (client == keywest_ctx->client) in keywest_remove()
81 keywest_ctx->client = NULL; in keywest_remove()
116 if (!keywest_ctx || !keywest_ctx->client) in snd_pmac_tumbler_post_init()