Lines Matching refs:client
130 static int cpld_reg0_probe(struct i2c_client *client, in cpld_reg0_probe() argument
137 .addr = client->addr, in cpld_reg0_probe()
143 .addr = client->addr, in cpld_reg0_probe()
151 i2c_transfer(client->adapter, msg, 1); in cpld_reg0_probe()
153 i2c_transfer(client->adapter, msg + 1, 1); in cpld_reg0_probe()
186 static int evm_led_setup(struct i2c_client *client, int gpio, in evm_led_setup() argument
201 evm_led_dev->dev.parent = &client->dev; in evm_led_setup()
210 static int evm_led_teardown(struct i2c_client *client, int gpio, in evm_led_teardown() argument
222 static int evm_sw_setup(struct i2c_client *client, int gpio, in evm_sw_setup() argument
261 static int evm_sw_teardown(struct i2c_client *client, int gpio, in evm_sw_teardown() argument
276 static int evm_pcf_setup(struct i2c_client *client, int gpio, in evm_pcf_setup() argument
284 status = evm_sw_setup(client, gpio, 4, c); in evm_pcf_setup()
288 return evm_led_setup(client, gpio+4, 4, c); in evm_pcf_setup()
291 static int evm_pcf_teardown(struct i2c_client *client, int gpio, in evm_pcf_teardown() argument
296 evm_sw_teardown(client, gpio, 4, c); in evm_pcf_teardown()
297 evm_led_teardown(client, gpio+4, 4, c); in evm_pcf_teardown()
352 static int cpld_video_probe(struct i2c_client *client, in cpld_video_probe() argument
355 cpld_client = client; in cpld_video_probe()
359 static int cpld_video_remove(struct i2c_client *client) in cpld_video_remove() argument