Lines Matching refs:client
129 static int cpld_reg0_probe(struct i2c_client *client, in cpld_reg0_probe() argument
136 .addr = client->addr, in cpld_reg0_probe()
142 .addr = client->addr, in cpld_reg0_probe()
150 i2c_transfer(client->adapter, msg, 1); in cpld_reg0_probe()
152 i2c_transfer(client->adapter, msg + 1, 1); in cpld_reg0_probe()
185 static int evm_led_setup(struct i2c_client *client, int gpio, in evm_led_setup() argument
200 evm_led_dev->dev.parent = &client->dev; in evm_led_setup()
209 static int evm_led_teardown(struct i2c_client *client, int gpio, in evm_led_teardown() argument
221 static int evm_sw_setup(struct i2c_client *client, int gpio, in evm_sw_setup() argument
260 static int evm_sw_teardown(struct i2c_client *client, int gpio, in evm_sw_teardown() argument
275 static int evm_pcf_setup(struct i2c_client *client, int gpio, in evm_pcf_setup() argument
283 status = evm_sw_setup(client, gpio, 4, c); in evm_pcf_setup()
287 return evm_led_setup(client, gpio+4, 4, c); in evm_pcf_setup()
290 static int evm_pcf_teardown(struct i2c_client *client, int gpio, in evm_pcf_teardown() argument
295 evm_sw_teardown(client, gpio, 4, c); in evm_pcf_teardown()
296 evm_led_teardown(client, gpio+4, 4, c); in evm_pcf_teardown()
351 static int cpld_video_probe(struct i2c_client *client, in cpld_video_probe() argument
354 cpld_client = client; in cpld_video_probe()
358 static int cpld_video_remove(struct i2c_client *client) in cpld_video_remove() argument