client            457 arch/arm/mach-davinci/board-da830-evm.c static int __init da830_evm_ui_expander_setup(struct i2c_client *client,
client            472 arch/arm/mach-davinci/board-da830-evm.c static int da830_evm_ui_expander_teardown(struct i2c_client *client, int gpio,
client            463 arch/arm/mach-davinci/board-da850-evm.c static int da850_evm_ui_expander_setup(struct i2c_client *client, unsigned gpio,
client            522 arch/arm/mach-davinci/board-da850-evm.c static int da850_evm_ui_expander_teardown(struct i2c_client *client,
client            671 arch/arm/mach-davinci/board-da850-evm.c static int da850_evm_bb_expander_setup(struct i2c_client *client,
client            703 arch/arm/mach-davinci/board-da850-evm.c static int da850_evm_bb_expander_teardown(struct i2c_client *client,
client            341 arch/arm/mach-davinci/board-dm644x-evm.c evm_led_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c)
client            358 arch/arm/mach-davinci/board-dm644x-evm.c 	evm_led_dev->dev.parent = &client->dev;
client            368 arch/arm/mach-davinci/board-dm644x-evm.c evm_led_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c)
client            400 arch/arm/mach-davinci/board-dm644x-evm.c evm_u18_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c)
client            410 arch/arm/mach-davinci/board-dm644x-evm.c 		status = device_create_file(&client->dev, &dev_attr_user_sw);
client            430 arch/arm/mach-davinci/board-dm644x-evm.c evm_u18_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c)
client            437 arch/arm/mach-davinci/board-dm644x-evm.c 		device_remove_file(&client->dev, &dev_attr_user_sw);
client            454 arch/arm/mach-davinci/board-dm644x-evm.c evm_u35_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c)
client            490 arch/arm/mach-davinci/board-dm644x-evm.c evm_u35_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c)
client            549 arch/arm/mach-davinci/board-dm644x-evm.c static int dm6446evm_msp_probe(struct i2c_client *client,
client            552 arch/arm/mach-davinci/board-dm644x-evm.c 	dm6446evm_msp = client;
client            556 arch/arm/mach-davinci/board-dm644x-evm.c static int dm6446evm_msp_remove(struct i2c_client *client)
client            163 arch/arm/mach-davinci/board-dm646x-evm.c static int cpld_reg0_probe(struct i2c_client *client,
client            170 arch/arm/mach-davinci/board-dm646x-evm.c 				.addr = client->addr,
client            176 arch/arm/mach-davinci/board-dm646x-evm.c 				.addr = client->addr,
client            184 arch/arm/mach-davinci/board-dm646x-evm.c 		i2c_transfer(client->adapter, msg, 1);
client            186 arch/arm/mach-davinci/board-dm646x-evm.c 		i2c_transfer(client->adapter, msg + 1, 1);
client            219 arch/arm/mach-davinci/board-dm646x-evm.c static int evm_led_setup(struct i2c_client *client, int gpio,
client            234 arch/arm/mach-davinci/board-dm646x-evm.c 	evm_led_dev->dev.parent = &client->dev;
client            243 arch/arm/mach-davinci/board-dm646x-evm.c static int evm_led_teardown(struct i2c_client *client, int gpio,
client            255 arch/arm/mach-davinci/board-dm646x-evm.c static int evm_sw_setup(struct i2c_client *client, int gpio,
client            294 arch/arm/mach-davinci/board-dm646x-evm.c static int evm_sw_teardown(struct i2c_client *client, int gpio,
client            309 arch/arm/mach-davinci/board-dm646x-evm.c static int evm_pcf_setup(struct i2c_client *client, int gpio,
client            317 arch/arm/mach-davinci/board-dm646x-evm.c 	status = evm_sw_setup(client, gpio, 4, c);
client            321 arch/arm/mach-davinci/board-dm646x-evm.c 	return evm_led_setup(client, gpio+4, 4, c);
client            324 arch/arm/mach-davinci/board-dm646x-evm.c static int evm_pcf_teardown(struct i2c_client *client, int gpio,
client            329 arch/arm/mach-davinci/board-dm646x-evm.c 	evm_sw_teardown(client, gpio, 4, c);
client            330 arch/arm/mach-davinci/board-dm646x-evm.c 	evm_led_teardown(client, gpio+4, 4, c);
client            405 arch/arm/mach-davinci/board-dm646x-evm.c static int cpld_video_probe(struct i2c_client *client,
client            408 arch/arm/mach-davinci/board-dm646x-evm.c 	cpld_client = client;
client            412 arch/arm/mach-davinci/board-dm646x-evm.c static int cpld_video_remove(struct i2c_client *client)
client            315 arch/arm/mach-omap1/board-h2.c static int tps_setup(struct i2c_client *client, void *context)
client            192 arch/arm/mach-omap1/board-osk.c static int osk_tps_setup(struct i2c_client *client, void *context)
client            229 arch/arm/mach-omap1/board-osk.c 	osk5912_tps_leds.dev.parent = &client->dev;
client            740 arch/arm/mach-pxa/zeus.c static int zeus_get_pcb_info(struct i2c_client *client, unsigned gpio,
client            750 arch/arm/mach-pxa/zeus.c 			dev_err(&client->dev, "Can't request pcb info %d\n", i);
client            755 arch/arm/mach-pxa/zeus.c 			dev_err(&client->dev, "Can't read pcb info %d\n", i);
client            765 arch/arm/mach-pxa/zeus.c 	dev_info(&client->dev, "Zeus PCB version %d issue %d\n",
client            312 arch/arm/mach-s3c24xx/mach-osiris.c static int osiris_tps_setup(struct i2c_client *client, void *context)
client            314 arch/arm/mach-s3c24xx/mach-osiris.c 	osiris_tps_device.dev.parent = &client->dev;
client            318 arch/arm/mach-s3c24xx/mach-osiris.c static int osiris_tps_remove(struct i2c_client *client, void *context)
client             78 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 	struct i2c_client *client;
client             94 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 	client = to_i2c_client(dev);
client             95 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 	dev_dbg(dev, "Detected %s\n", client->name);
client            106 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 		if (pos->np->parent != client->dev.parent->of_node)
client            109 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 		dev_info(&client->dev, "clearing %s@0x%02x interrupts\n",
client            112 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 		ret = i2c_transfer(client->adapter, &pos->i2c_msg, 1);
client            114 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 			dev_err(&client->dev, "i2c error %d\n", ret);
client             92 arch/arm/plat-samsung/adc.c 				  struct s3c_adc_client *client)
client             97 arch/arm/plat-samsung/adc.c 	client->select_cb(client, 1);
client            104 arch/arm/plat-samsung/adc.c 	if (!client->is_ts) {
client            106 arch/arm/plat-samsung/adc.c 			writel(client->channel & 0xf, adc->regs + S5P_ADCMUX);
client            108 arch/arm/plat-samsung/adc.c 			writel(client->channel & 0xf,
client            111 arch/arm/plat-samsung/adc.c 			con |= S3C2410_ADCCON_SELMUX(client->channel);
client            145 arch/arm/plat-samsung/adc.c int s3c_adc_start(struct s3c_adc_client *client,
client            158 arch/arm/plat-samsung/adc.c 	if (client->is_ts && adc->ts_pend) {
client            163 arch/arm/plat-samsung/adc.c 	client->channel = channel;
client            164 arch/arm/plat-samsung/adc.c 	client->nr_samples = nr_samples;
client            166 arch/arm/plat-samsung/adc.c 	if (client->is_ts)
client            167 arch/arm/plat-samsung/adc.c 		adc->ts_pend = client;
client            169 arch/arm/plat-samsung/adc.c 		list_add_tail(&client->pend, &adc_pending);
client            180 arch/arm/plat-samsung/adc.c static void s3c_convert_done(struct s3c_adc_client *client,
client            183 arch/arm/plat-samsung/adc.c 	client->result = v;
client            184 arch/arm/plat-samsung/adc.c 	wake_up(client->wait);
client            187 arch/arm/plat-samsung/adc.c int s3c_adc_read(struct s3c_adc_client *client, unsigned int ch)
client            192 arch/arm/plat-samsung/adc.c 	client->convert_cb = s3c_convert_done;
client            193 arch/arm/plat-samsung/adc.c 	client->wait = &wake;
client            194 arch/arm/plat-samsung/adc.c 	client->result = -1;
client            196 arch/arm/plat-samsung/adc.c 	ret = s3c_adc_start(client, ch, 1);
client            200 arch/arm/plat-samsung/adc.c 	ret = wait_event_timeout(wake, client->result >= 0, HZ / 2);
client            201 arch/arm/plat-samsung/adc.c 	if (client->result < 0) {
client            206 arch/arm/plat-samsung/adc.c 	client->convert_cb = NULL;
client            207 arch/arm/plat-samsung/adc.c 	return client->result;
client            214 arch/arm/plat-samsung/adc.c static void s3c_adc_default_select(struct s3c_adc_client *client,
client            220 arch/arm/plat-samsung/adc.c 					void (*select)(struct s3c_adc_client *client,
client            222 arch/arm/plat-samsung/adc.c 					void (*conv)(struct s3c_adc_client *client,
client            227 arch/arm/plat-samsung/adc.c 	struct s3c_adc_client *client;
client            237 arch/arm/plat-samsung/adc.c 	client = kzalloc(sizeof(*client), GFP_KERNEL);
client            238 arch/arm/plat-samsung/adc.c 	if (!client)
client            241 arch/arm/plat-samsung/adc.c 	client->pdev = pdev;
client            242 arch/arm/plat-samsung/adc.c 	client->is_ts = is_ts;
client            243 arch/arm/plat-samsung/adc.c 	client->select_cb = select;
client            244 arch/arm/plat-samsung/adc.c 	client->convert_cb = conv;
client            246 arch/arm/plat-samsung/adc.c 	return client;
client            250 arch/arm/plat-samsung/adc.c void s3c_adc_release(struct s3c_adc_client *client)
client            257 arch/arm/plat-samsung/adc.c 	if (adc_dev->cur == client)
client            259 arch/arm/plat-samsung/adc.c 	if (adc_dev->ts_pend == client)
client            267 arch/arm/plat-samsung/adc.c 			if (tmp == client)
client            276 arch/arm/plat-samsung/adc.c 	kfree(client);
client            283 arch/arm/plat-samsung/adc.c 	struct s3c_adc_client *client = adc->cur;
client            287 arch/arm/plat-samsung/adc.c 	if (!client) {
client            294 arch/arm/plat-samsung/adc.c 	adc_dbg(adc, "read %d: 0x%04x, 0x%04x\n", client->nr_samples, data0, data1);
client            296 arch/arm/plat-samsung/adc.c 	client->nr_samples--;
client            307 arch/arm/plat-samsung/adc.c 	if (client->convert_cb)
client            308 arch/arm/plat-samsung/adc.c 		(client->convert_cb)(client, data0, data1, &client->nr_samples);
client            310 arch/arm/plat-samsung/adc.c 	if (client->nr_samples > 0) {
client            313 arch/arm/plat-samsung/adc.c 		client->select_cb(client, 1);
client            317 arch/arm/plat-samsung/adc.c 		(client->select_cb)(client, 0);
client             16 arch/arm/plat-samsung/include/plat/adc.h extern int s3c_adc_start(struct s3c_adc_client *client,
client             19 arch/arm/plat-samsung/include/plat/adc.h extern int s3c_adc_read(struct s3c_adc_client *client, unsigned int ch);
client             23 arch/arm/plat-samsung/include/plat/adc.h 			 void (*select)(struct s3c_adc_client *client,
client             25 arch/arm/plat-samsung/include/plat/adc.h 			 void (*conv)(struct s3c_adc_client *client,
client             30 arch/arm/plat-samsung/include/plat/adc.h extern void s3c_adc_release(struct s3c_adc_client *client);
client            190 arch/powerpc/include/asm/pmac_pfunc.h 				   struct pmf_irq_client *client);
client            192 arch/powerpc/include/asm/pmac_pfunc.h extern void pmf_unregister_irq_client(struct pmf_irq_client *client);
client             89 arch/powerpc/platforms/44x/ppc476.c static int avr_probe(struct i2c_client *client,
client             92 arch/powerpc/platforms/44x/ppc476.c 	avr_i2c_client = client;
client            189 arch/powerpc/platforms/44x/warp.c 				     struct i2c_client *client)
client            199 arch/powerpc/platforms/44x/warp.c 	i2c_smbus_write_byte_data(client, 2, 65); /* Thigh */
client            200 arch/powerpc/platforms/44x/warp.c 	i2c_smbus_write_byte_data(client, 3,  0); /* Tlow */
client            232 arch/powerpc/platforms/44x/warp.c 	struct i2c_client *client;
client            238 arch/powerpc/platforms/44x/warp.c 	client = of_find_i2c_device_by_node(np);
client            239 arch/powerpc/platforms/44x/warp.c 	if (client == NULL) {
client            244 arch/powerpc/platforms/44x/warp.c 	pika_setup_critical_temp(np, client);
client            253 arch/powerpc/platforms/44x/warp.c 		val = i2c_smbus_read_word_data(client, 0);
client            255 arch/powerpc/platforms/44x/warp.c 			dev_dbg(&client->dev, "DTM read temp failed.\n");
client             36 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 	struct i2c_client *client;
client             50 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 		ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL);
client             57 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 			i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL,
client             76 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 	ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL);
client             91 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 	i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL,
client            107 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 	i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL, mcu->reg_ctrl);
client            145 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c static int mcu_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            155 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 	mcu->client = client;
client            156 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 	i2c_set_clientdata(client, mcu);
client            158 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 	ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL);
client            171 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 		dev_info(&client->dev, "will provide power-off service\n");
client            174 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 	if (device_create_file(&client->dev, &dev_attr_status))
client            175 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 		dev_err(&client->dev,
client            187 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c static int mcu_remove(struct i2c_client *client)
client            189 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 	struct mcu *mcu = i2c_get_clientdata(client);
client            194 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c 	device_remove_file(&client->dev, &dev_attr_status);
client            864 arch/powerpc/platforms/powermac/pfunc_core.c 			    struct pmf_irq_client *client)
client            884 arch/powerpc/platforms/powermac/pfunc_core.c 	list_add(&client->link, &func->irq_clients);
client            887 arch/powerpc/platforms/powermac/pfunc_core.c 	client->func = func;
client            894 arch/powerpc/platforms/powermac/pfunc_core.c void pmf_unregister_irq_client(struct pmf_irq_client *client)
client            896 arch/powerpc/platforms/powermac/pfunc_core.c 	struct pmf_function *func = client->func;
client            903 arch/powerpc/platforms/powermac/pfunc_core.c 	client->func = NULL;
client            907 arch/powerpc/platforms/powermac/pfunc_core.c 	list_del(&client->link);
client            921 arch/powerpc/platforms/powermac/pfunc_core.c 	struct pmf_irq_client *client;
client            927 arch/powerpc/platforms/powermac/pfunc_core.c 	list_for_each_entry(client, &func->irq_clients, link) {
client            928 arch/powerpc/platforms/powermac/pfunc_core.c 		if (!try_module_get(client->owner))
client            930 arch/powerpc/platforms/powermac/pfunc_core.c 		client->handler(client->data);
client            931 arch/powerpc/platforms/powermac/pfunc_core.c 		module_put(client->owner);
client             75 arch/sparc/include/asm/mdesc.h void mdesc_register_notifier(struct mdesc_notifier_client *client);
client            287 arch/sparc/kernel/mdesc.c void mdesc_register_notifier(struct mdesc_notifier_client *client)
client            297 arch/sparc/kernel/mdesc.c 		if (strcmp(md_node_ops_table[i].name, client->node_name) == 0) {
client            304 arch/sparc/kernel/mdesc.c 		pr_err("MD: %s node not supported\n", client->node_name);
client            309 arch/sparc/kernel/mdesc.c 	client->next = client_list;
client            310 arch/sparc/kernel/mdesc.c 	client_list = client;
client            312 arch/sparc/kernel/mdesc.c 	mdesc_for_each_node_by_name(cur_mdesc, node, client->node_name)
client            313 arch/sparc/kernel/mdesc.c 		client->add(cur_mdesc, node, client->node_name);
client            286 arch/x86/platform/intel-mid/sfi.c 		struct i2c_client *client;
client            290 arch/x86/platform/intel-mid/sfi.c 			client = i2c_new_device(adapter, i2c_devs[i]);
client            291 arch/x86/platform/intel-mid/sfi.c 			if (!client)
client             51 drivers/auxdisplay/ht16k33.c 	struct i2c_client *client;
client             72 drivers/auxdisplay/ht16k33.c 	struct i2c_client *client;
client            108 drivers/auxdisplay/ht16k33.c 	return i2c_smbus_write_byte(priv->client, data);
client            113 drivers/auxdisplay/ht16k33.c 	return i2c_smbus_write_byte(priv->client, REG_DISPLAY_SETUP);
client            164 drivers/auxdisplay/ht16k33.c 	if (!i2c_smbus_write_i2c_block_data(priv->client, first, len, p2))
client            178 drivers/auxdisplay/ht16k33.c 	err = i2c_smbus_write_block_data(priv->client, 0, sizeof(data), data);
client            184 drivers/auxdisplay/ht16k33.c 	err = i2c_smbus_write_byte(priv->client, byte);
client            190 drivers/auxdisplay/ht16k33.c 	if (priv->client->irq > 0)
client            192 drivers/auxdisplay/ht16k33.c 	return i2c_smbus_write_byte(priv->client, byte);
client            207 drivers/auxdisplay/ht16k33.c 	return i2c_smbus_write_byte(priv->client,
client            255 drivers/auxdisplay/ht16k33.c 	rc = i2c_smbus_read_i2c_block_data(keypad->client, 0x40,
client            258 drivers/auxdisplay/ht16k33.c 		dev_err(&keypad->client->dev,
client            302 drivers/auxdisplay/ht16k33.c 	enable_irq(keypad->client->irq);
client            314 drivers/auxdisplay/ht16k33.c 	disable_irq(keypad->client->irq);
client            317 drivers/auxdisplay/ht16k33.c static int ht16k33_keypad_probe(struct i2c_client *client,
client            320 drivers/auxdisplay/ht16k33.c 	struct device_node *node = client->dev.of_node;
client            325 drivers/auxdisplay/ht16k33.c 	keypad->client = client;
client            328 drivers/auxdisplay/ht16k33.c 	keypad->dev = devm_input_allocate_device(&client->dev);
client            345 drivers/auxdisplay/ht16k33.c 		dev_err(&client->dev, "key debounce delay not specified\n");
client            349 drivers/auxdisplay/ht16k33.c 	err = matrix_keypad_parse_of_params(&client->dev, &rows, &cols);
client            354 drivers/auxdisplay/ht16k33.c 		dev_err(&client->dev, "%u rows or %u cols out of range in DT\n",
client            366 drivers/auxdisplay/ht16k33.c 		dev_err(&client->dev, "failed to build keymap\n");
client            370 drivers/auxdisplay/ht16k33.c 	err = devm_request_threaded_irq(&client->dev, client->irq,
client            375 drivers/auxdisplay/ht16k33.c 		dev_err(&client->dev, "irq request failed %d, error %d\n",
client            376 drivers/auxdisplay/ht16k33.c 			client->irq, err);
client            389 drivers/auxdisplay/ht16k33.c static int ht16k33_probe(struct i2c_client *client,
client            398 drivers/auxdisplay/ht16k33.c 	struct device_node *node = client->dev.of_node;
client            400 drivers/auxdisplay/ht16k33.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            401 drivers/auxdisplay/ht16k33.c 		dev_err(&client->dev, "i2c_check_functionality error\n");
client            405 drivers/auxdisplay/ht16k33.c 	if (client->irq <= 0) {
client            406 drivers/auxdisplay/ht16k33.c 		dev_err(&client->dev, "No IRQ specified\n");
client            410 drivers/auxdisplay/ht16k33.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client            414 drivers/auxdisplay/ht16k33.c 	priv->client = client;
client            415 drivers/auxdisplay/ht16k33.c 	i2c_set_clientdata(client, priv);
client            428 drivers/auxdisplay/ht16k33.c 	fbdev->cache = devm_kmalloc(&client->dev, HT16K33_FB_SIZE, GFP_KERNEL);
client            434 drivers/auxdisplay/ht16k33.c 	fbdev->info = framebuffer_alloc(0, &client->dev);
client            443 drivers/auxdisplay/ht16k33.c 		dev_err(&client->dev, "refresh rate not specified\n");
client            462 drivers/auxdisplay/ht16k33.c 	err = ht16k33_keypad_probe(client, &priv->keypad);
client            471 drivers/auxdisplay/ht16k33.c 	bl = devm_backlight_device_register(&client->dev, DRIVER_NAME"-bl",
client            472 drivers/auxdisplay/ht16k33.c 					    &client->dev, priv,
client            475 drivers/auxdisplay/ht16k33.c 		dev_err(&client->dev, "failed to register backlight\n");
client            485 drivers/auxdisplay/ht16k33.c 		dev_warn(&client->dev,
client            507 drivers/auxdisplay/ht16k33.c static int ht16k33_remove(struct i2c_client *client)
client            509 drivers/auxdisplay/ht16k33.c 	struct ht16k33_priv *priv = i2c_get_clientdata(client);
client            205 drivers/block/rbd.c 	struct ceph_client	*client;
client            758 drivers/block/rbd.c 	rbdc->client = ceph_create_client(ceph_opts, rbdc);
client            759 drivers/block/rbd.c 	if (IS_ERR(rbdc->client))
client            763 drivers/block/rbd.c 	ret = ceph_open_session(rbdc->client);
client            775 drivers/block/rbd.c 	ceph_destroy_client(rbdc->client);
client            807 drivers/block/rbd.c 		if (!ceph_compare_options(ceph_opts, client_node->client)) {
client            985 drivers/block/rbd.c 	ceph_destroy_client(rbdc->client);
client           1018 drivers/block/rbd.c 		ret = ceph_wait_for_latest_osdmap(rbdc->client,
client           1019 drivers/block/rbd.c 					rbdc->client->options->mount_timeout);
client           1569 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           1864 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           1922 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           1961 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           2195 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           3758 drivers/block/rbd.c 	cid.gid = ceph_client_gid(rbd_dev->rbd_client->client);
client           3798 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           3821 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           3844 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           3990 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           4037 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           4080 drivers/block/rbd.c 	struct ceph_client *client = rbd_dev->rbd_client->client;
client           4105 drivers/block/rbd.c 		ret = ceph_monc_blacklist_add(&client->monc,
client           4113 drivers/block/rbd.c 		ret = ceph_cls_break_lock(&client->osdc, &rbd_dev->header_oid,
client           4449 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           4577 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           4598 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           4654 drivers/block/rbd.c 	ceph_osdc_flush_notifies(&rbd_dev->rbd_client->client->osdc);
client           4662 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           4750 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           4934 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           5179 drivers/block/rbd.c 	if (!ceph_test_opt(rbd_dev->rbd_client->client, NOCRC))
client           5255 drivers/block/rbd.c 	    ceph_client_addr(rbd_dev->rbd_client->client);
client           5267 drivers/block/rbd.c 		       ceph_client_gid(rbd_dev->rbd_client->client));
client           5275 drivers/block/rbd.c 	return sprintf(buf, "%pU\n", &rbd_dev->rbd_client->client->fsid);
client           5835 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           5878 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           6216 drivers/block/rbd.c 	struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc;
client           7077 drivers/block/rbd.c 	rc = ceph_pg_poolid_by_name(rbdc->client->osdc.osdmap, spec->pool_name);
client             65 drivers/char/agp/compat_ioctl.c 	struct agp_client *client;
client             78 drivers/char/agp/compat_ioctl.c 	client = agp_find_client_by_pid(kreserve.pid);
client             88 drivers/char/agp/compat_ioctl.c 		if (client == NULL) {
client            131 drivers/char/agp/compat_ioctl.c 		if (client == NULL) {
client            133 drivers/char/agp/compat_ioctl.c 			client = agp_create_client(kreserve.pid);
client            135 drivers/char/agp/compat_ioctl.c 			if (client == NULL) {
client            146 drivers/char/agp/compat_ioctl.c 		return agp_create_segment(client, &kreserve);
client            100 drivers/char/agp/compat_ioctl.h int agp_create_segment(struct agp_client *client, struct agp_region *region);
client            100 drivers/char/agp/frontend.c agp_segment_priv *agp_find_seg_in_client(const struct agp_client *client,
client            111 drivers/char/agp/frontend.c 	seg = *(client->segments);
client            112 drivers/char/agp/frontend.c 	num_segments = client->num_segments;
client            114 drivers/char/agp/frontend.c 	for (i = 0; i < client->num_segments; i++) {
client            125 drivers/char/agp/frontend.c static void agp_remove_seg_from_client(struct agp_client *client)
client            127 drivers/char/agp/frontend.c 	DBG("client=%p", client);
client            129 drivers/char/agp/frontend.c 	if (client->segments != NULL) {
client            130 drivers/char/agp/frontend.c 		if (*(client->segments) != NULL) {
client            131 drivers/char/agp/frontend.c 			DBG("Freeing %p from client %p", *(client->segments), client);
client            132 drivers/char/agp/frontend.c 			kfree(*(client->segments));
client            134 drivers/char/agp/frontend.c 		DBG("Freeing %p from client %p", client->segments, client);
client            135 drivers/char/agp/frontend.c 		kfree(client->segments);
client            136 drivers/char/agp/frontend.c 		client->segments = NULL;
client            140 drivers/char/agp/frontend.c static void agp_add_seg_to_client(struct agp_client *client,
client            145 drivers/char/agp/frontend.c 	prev_seg = client->segments;
client            148 drivers/char/agp/frontend.c 		agp_remove_seg_from_client(client);
client            150 drivers/char/agp/frontend.c 	DBG("Adding seg %p (%d segments) to client %p", seg, num_segments, client);
client            151 drivers/char/agp/frontend.c 	client->num_segments = num_segments;
client            152 drivers/char/agp/frontend.c 	client->segments = seg;
client            163 drivers/char/agp/frontend.c int agp_create_segment(struct agp_client *client, struct agp_region *region)
client            192 drivers/char/agp/frontend.c 	agp_add_seg_to_client(client, ret_seg, region->seg_count);
client            337 drivers/char/agp/frontend.c 	struct agp_client *client;
client            340 drivers/char/agp/frontend.c 	client = controller->clients;
client            342 drivers/char/agp/frontend.c 	while (client) {
client            345 drivers/char/agp/frontend.c 		temp = client;
client            353 drivers/char/agp/frontend.c 		client = client->next;
client            457 drivers/char/agp/frontend.c 	struct agp_client *client;
client            462 drivers/char/agp/frontend.c 	client = controller->clients;
client            464 drivers/char/agp/frontend.c 	while (client != NULL) {
client            465 drivers/char/agp/frontend.c 		if (client->pid == id)
client            466 drivers/char/agp/frontend.c 			return client;
client            467 drivers/char/agp/frontend.c 		client = client->next;
client            499 drivers/char/agp/frontend.c static void agp_insert_client(struct agp_client *client)
client            504 drivers/char/agp/frontend.c 	client->next = prev_client;
client            507 drivers/char/agp/frontend.c 		prev_client->prev = client;
client            509 drivers/char/agp/frontend.c 	agp_fe.current_controller->clients = client;
client            528 drivers/char/agp/frontend.c 	struct agp_client *client;
client            537 drivers/char/agp/frontend.c 	client = agp_find_client_in_controller(controller, id);
client            538 drivers/char/agp/frontend.c 	if (client == NULL)
client            541 drivers/char/agp/frontend.c 	prev_client = client->prev;
client            542 drivers/char/agp/frontend.c 	next_client = client->next;
client            556 drivers/char/agp/frontend.c 	agp_remove_seg_from_client(client);
client            557 drivers/char/agp/frontend.c 	kfree(client);
client            569 drivers/char/agp/frontend.c 	struct agp_client *client;
client            592 drivers/char/agp/frontend.c 		client = agp_find_client_by_pid(current->pid);
client            594 drivers/char/agp/frontend.c 		if (client == NULL)
client            597 drivers/char/agp/frontend.c 		if (!agp_find_seg_in_client(client, offset, size, vma->vm_page_prot))
client            678 drivers/char/agp/frontend.c 	struct agp_client *client;
client            698 drivers/char/agp/frontend.c 	client = agp_find_client_by_pid(current->pid);
client            700 drivers/char/agp/frontend.c 	if (client != NULL) {
client            706 drivers/char/agp/frontend.c 	DBG("private=%p, client=%p", priv, client);
client            802 drivers/char/agp/frontend.c 	struct agp_client *client;
client            812 drivers/char/agp/frontend.c 	client = agp_find_client_by_pid(reserve.pid);
client            822 drivers/char/agp/frontend.c 		if (client == NULL) {
client            846 drivers/char/agp/frontend.c 		if (client == NULL) {
client            848 drivers/char/agp/frontend.c 			client = agp_create_client(reserve.pid);
client            850 drivers/char/agp/frontend.c 			if (client == NULL) {
client            861 drivers/char/agp/frontend.c 		return agp_create_segment(client, &reserve);
client             57 drivers/char/ipmi/ipmb_dev_int.c 	struct i2c_client *client;
client            149 drivers/char/ipmi/ipmb_dev_int.c 	ret = i2c_smbus_xfer(ipmb_dev->client->adapter, rq_sa,
client            150 drivers/char/ipmi/ipmb_dev_int.c 			     ipmb_dev->client->flags,
client            235 drivers/char/ipmi/ipmb_dev_int.c static int ipmb_slave_cb(struct i2c_client *client,
client            238 drivers/char/ipmi/ipmb_dev_int.c 	struct ipmb_dev *ipmb_dev = i2c_get_clientdata(client);
client            264 drivers/char/ipmi/ipmb_dev_int.c 		buf[++ipmb_dev->msg_idx] = GET_8BIT_ADDR(client->addr);
client            277 drivers/char/ipmi/ipmb_dev_int.c 		if (is_ipmb_request(ipmb_dev, GET_8BIT_ADDR(client->addr)))
client            289 drivers/char/ipmi/ipmb_dev_int.c static int ipmb_probe(struct i2c_client *client,
client            295 drivers/char/ipmi/ipmb_dev_int.c 	ipmb_dev = devm_kzalloc(&client->dev, sizeof(*ipmb_dev),
client            309 drivers/char/ipmi/ipmb_dev_int.c 	ipmb_dev->miscdev.name = devm_kasprintf(&client->dev, GFP_KERNEL,
client            311 drivers/char/ipmi/ipmb_dev_int.c 						client->adapter->nr);
client            313 drivers/char/ipmi/ipmb_dev_int.c 	ipmb_dev->miscdev.parent = &client->dev;
client            318 drivers/char/ipmi/ipmb_dev_int.c 	ipmb_dev->client = client;
client            319 drivers/char/ipmi/ipmb_dev_int.c 	i2c_set_clientdata(client, ipmb_dev);
client            320 drivers/char/ipmi/ipmb_dev_int.c 	ret = i2c_slave_register(client, ipmb_slave_cb);
client            329 drivers/char/ipmi/ipmb_dev_int.c static int ipmb_remove(struct i2c_client *client)
client            331 drivers/char/ipmi/ipmb_dev_int.c 	struct ipmb_dev *ipmb_dev = i2c_get_clientdata(client);
client            333 drivers/char/ipmi/ipmb_dev_int.c 	i2c_slave_unregister(client);
client            190 drivers/char/ipmi/ipmi_ssif.c 	struct i2c_client *client;
client            264 drivers/char/ipmi/ipmi_ssif.c 	struct i2c_client *client;
client            332 drivers/char/ipmi/ipmi_ssif.c 		dev_err(&ssif_info->client->dev,
client            497 drivers/char/ipmi/ipmi_ssif.c 				ssif_info->client, ssif_info->i2c_command,
client            503 drivers/char/ipmi/ipmi_ssif.c 				ssif_info->client, ssif_info->i2c_command,
client            550 drivers/char/ipmi/ipmi_ssif.c 			dev_dbg(&ssif_info->client->dev,
client            596 drivers/char/ipmi/ipmi_ssif.c static void ssif_alert(struct i2c_client *client, enum i2c_alert_protocol type,
client            599 drivers/char/ipmi/ipmi_ssif.c 	struct ssif_info *ssif_info = i2c_get_clientdata(client);
client            653 drivers/char/ipmi/ipmi_ssif.c 			dev_dbg(&ssif_info->client->dev,
client            679 drivers/char/ipmi/ipmi_ssif.c 				dev_dbg(&ssif_info->client->dev,
client            693 drivers/char/ipmi/ipmi_ssif.c 				dev_dbg(&ssif_info->client->dev,
client            707 drivers/char/ipmi/ipmi_ssif.c 				dev_dbg(&ssif_info->client->dev,
client            717 drivers/char/ipmi/ipmi_ssif.c 				dev_dbg(&ssif_info->client->dev,
client            737 drivers/char/ipmi/ipmi_ssif.c 				dev_dbg(&ssif_info->client->dev,
client            753 drivers/char/ipmi/ipmi_ssif.c 					dev_dbg(&ssif_info->client->dev,
client            771 drivers/char/ipmi/ipmi_ssif.c 		dev_dbg(&ssif_info->client->dev,
client            810 drivers/char/ipmi/ipmi_ssif.c 			dev_warn(&ssif_info->client->dev,
client            820 drivers/char/ipmi/ipmi_ssif.c 			dev_warn(&ssif_info->client->dev,
client            834 drivers/char/ipmi/ipmi_ssif.c 			dev_warn(&ssif_info->client->dev,
client            839 drivers/char/ipmi/ipmi_ssif.c 			dev_warn(&ssif_info->client->dev,
client            857 drivers/char/ipmi/ipmi_ssif.c 			dev_warn(&ssif_info->client->dev,
client            881 drivers/char/ipmi/ipmi_ssif.c 			dev_warn(&ssif_info->client->dev,
client            909 drivers/char/ipmi/ipmi_ssif.c 		dev_dbg(&ssif_info->client->dev,
client            930 drivers/char/ipmi/ipmi_ssif.c 				dev_dbg(&ssif_info->client->dev,
client            943 drivers/char/ipmi/ipmi_ssif.c 			dev_dbg(&ssif_info->client->dev,
client            988 drivers/char/ipmi/ipmi_ssif.c 				dev_dbg(&ssif_info->client->dev,
client           1045 drivers/char/ipmi/ipmi_ssif.c 		dev_dbg(&ssif_info->client->dev,
client           1115 drivers/char/ipmi/ipmi_ssif.c 		dev_dbg(&ssif_info->client->dev,
client           1127 drivers/char/ipmi/ipmi_ssif.c 	data->dev = &ssif_info->client->dev;
client           1291 drivers/char/ipmi/ipmi_ssif.c 	device_remove_group(&ssif_info->client->dev, &ipmi_ssif_dev_attr_group);
client           1292 drivers/char/ipmi/ipmi_ssif.c 	dev_set_drvdata(&ssif_info->client->dev, NULL);
client           1307 drivers/char/ipmi/ipmi_ssif.c static int ssif_remove(struct i2c_client *client)
client           1309 drivers/char/ipmi/ipmi_ssif.c 	struct ssif_info *ssif_info = i2c_get_clientdata(client);
client           1322 drivers/char/ipmi/ipmi_ssif.c 		if (addr_info->client == client) {
client           1323 drivers/char/ipmi/ipmi_ssif.c 			addr_info->client = NULL;
client           1333 drivers/char/ipmi/ipmi_ssif.c static int read_response(struct i2c_client *client, unsigned char *resp)
client           1338 drivers/char/ipmi/ipmi_ssif.c 		ret = i2c_smbus_read_block_data(client, SSIF_IPMI_RESPONSE,
client           1351 drivers/char/ipmi/ipmi_ssif.c static int do_cmd(struct i2c_client *client, int len, unsigned char *msg,
client           1359 drivers/char/ipmi/ipmi_ssif.c 	ret = i2c_smbus_write_block_data(client, SSIF_IPMI_REQUEST, len, msg);
client           1367 drivers/char/ipmi/ipmi_ssif.c 	ret = read_response(client, resp);
client           1385 drivers/char/ipmi/ipmi_ssif.c static int ssif_detect(struct i2c_client *client, struct i2c_board_info *info)
client           1399 drivers/char/ipmi/ipmi_ssif.c 	rv = do_cmd(client, 2, msg, &len, resp);
client           1479 drivers/char/ipmi/ipmi_ssif.c static int find_slave_address(struct i2c_client *client, int slave_addr)
client           1485 drivers/char/ipmi/ipmi_ssif.c 			i2c_adapter_id(client->adapter),
client           1486 drivers/char/ipmi/ipmi_ssif.c 			client->addr);
client           1492 drivers/char/ipmi/ipmi_ssif.c static int start_multipart_test(struct i2c_client *client,
client           1498 drivers/char/ipmi/ipmi_ssif.c 	ret = i2c_smbus_write_block_data(client,
client           1505 drivers/char/ipmi/ipmi_ssif.c 		dev_err(&client->dev, "Could not write multi-part start, though the BMC said it could handle it.  Just limit sends to one part.\n");
client           1512 drivers/char/ipmi/ipmi_ssif.c 	ret = i2c_smbus_write_block_data(client,
client           1516 drivers/char/ipmi/ipmi_ssif.c 		dev_err(&client->dev, "Could not write multi-part middle, though the BMC said it could handle it.  Just limit sends to one part.\n");
client           1523 drivers/char/ipmi/ipmi_ssif.c static void test_multipart_messages(struct i2c_client *client,
client           1565 drivers/char/ipmi/ipmi_ssif.c 	ret = start_multipart_test(client, msg, do_middle);
client           1569 drivers/char/ipmi/ipmi_ssif.c 	ret = i2c_smbus_write_block_data(client,
client           1574 drivers/char/ipmi/ipmi_ssif.c 		ret = read_response(client, resp);
client           1582 drivers/char/ipmi/ipmi_ssif.c 	ret = start_multipart_test(client, msg, do_middle);
client           1584 drivers/char/ipmi/ipmi_ssif.c 		dev_err(&client->dev, "Second multipart test failed.\n");
client           1588 drivers/char/ipmi/ipmi_ssif.c 	ret = i2c_smbus_write_block_data(client,
client           1592 drivers/char/ipmi/ipmi_ssif.c 		ret = read_response(client, resp);
client           1613 drivers/char/ipmi/ipmi_ssif.c static void ssif_remove_dup(struct i2c_client *client)
client           1615 drivers/char/ipmi/ipmi_ssif.c 	struct ssif_info *ssif_info = i2c_get_clientdata(client);
client           1621 drivers/char/ipmi/ipmi_ssif.c static int ssif_add_infos(struct i2c_client *client)
client           1629 drivers/char/ipmi/ipmi_ssif.c 	info->client = client;
client           1630 drivers/char/ipmi/ipmi_ssif.c 	info->adapter_name = kstrdup(client->adapter->name, GFP_KERNEL);
client           1631 drivers/char/ipmi/ipmi_ssif.c 	info->binfo.addr = client->addr;
client           1641 drivers/char/ipmi/ipmi_ssif.c static int ssif_check_and_remove(struct i2c_client *client,
client           1647 drivers/char/ipmi/ipmi_ssif.c 		if (!info->client)
client           1649 drivers/char/ipmi/ipmi_ssif.c 		if (!strcmp(info->adapter_name, client->adapter->name) &&
client           1650 drivers/char/ipmi/ipmi_ssif.c 		    info->binfo.addr == client->addr) {
client           1656 drivers/char/ipmi/ipmi_ssif.c 				dev_info(&client->dev,
client           1659 drivers/char/ipmi/ipmi_ssif.c 				ssif_remove_dup(info->client);
client           1667 drivers/char/ipmi/ipmi_ssif.c static int ssif_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1692 drivers/char/ipmi/ipmi_ssif.c 	if (!check_acpi(ssif_info, &client->dev)) {
client           1693 drivers/char/ipmi/ipmi_ssif.c 		addr_info = ssif_info_find(client->addr, client->adapter->name,
client           1702 drivers/char/ipmi/ipmi_ssif.c 			addr_info->client = client;
client           1707 drivers/char/ipmi/ipmi_ssif.c 	rv = ssif_check_and_remove(client, ssif_info);
client           1710 drivers/char/ipmi/ipmi_ssif.c 		rv = ssif_add_infos(client);
client           1712 drivers/char/ipmi/ipmi_ssif.c 			dev_err(&client->dev, "Out of memory!, exiting ..\n");
client           1716 drivers/char/ipmi/ipmi_ssif.c 		dev_err(&client->dev, "Not probing, Interface already present\n");
client           1720 drivers/char/ipmi/ipmi_ssif.c 	slave_addr = find_slave_address(client, slave_addr);
client           1722 drivers/char/ipmi/ipmi_ssif.c 	dev_info(&client->dev,
client           1725 drivers/char/ipmi/ipmi_ssif.c 		client->addr, client->adapter->name, slave_addr);
client           1727 drivers/char/ipmi/ipmi_ssif.c 	ssif_info->client = client;
client           1728 drivers/char/ipmi/ipmi_ssif.c 	i2c_set_clientdata(client, ssif_info);
client           1734 drivers/char/ipmi/ipmi_ssif.c 	rv = do_cmd(client, 3, msg, &len, resp);
client           1738 drivers/char/ipmi/ipmi_ssif.c 				dev_dbg(&ssif_info->client->dev,
client           1776 drivers/char/ipmi/ipmi_ssif.c 		dev_info(&ssif_info->client->dev,
client           1786 drivers/char/ipmi/ipmi_ssif.c 	test_multipart_messages(client, ssif_info, resp);
client           1792 drivers/char/ipmi/ipmi_ssif.c 	rv = do_cmd(client, 3, msg, &len, resp);
client           1794 drivers/char/ipmi/ipmi_ssif.c 		dev_warn(&ssif_info->client->dev,
client           1801 drivers/char/ipmi/ipmi_ssif.c 	rv = do_cmd(client, 2, msg, &len, resp);
client           1803 drivers/char/ipmi/ipmi_ssif.c 		dev_warn(&ssif_info->client->dev,
client           1821 drivers/char/ipmi/ipmi_ssif.c 	rv = do_cmd(client, 3, msg, &len, resp);
client           1823 drivers/char/ipmi/ipmi_ssif.c 		dev_warn(&ssif_info->client->dev,
client           1843 drivers/char/ipmi/ipmi_ssif.c 	rv = do_cmd(client, 3, msg, &len, resp);
client           1845 drivers/char/ipmi/ipmi_ssif.c 		dev_warn(&ssif_info->client->dev,
client           1860 drivers/char/ipmi/ipmi_ssif.c 		dev_dbg(&ssif_info->client->dev,
client           1862 drivers/char/ipmi/ipmi_ssif.c 		       __func__, client->addr);
client           1874 drivers/char/ipmi/ipmi_ssif.c 		ssif_info->client->flags |= I2C_CLIENT_PEC;
client           1887 drivers/char/ipmi/ipmi_ssif.c 		thread_num = ((i2c_adapter_id(ssif_info->client->adapter)
client           1889 drivers/char/ipmi/ipmi_ssif.c 			      ssif_info->client->addr);
client           1895 drivers/char/ipmi/ipmi_ssif.c 			dev_notice(&ssif_info->client->dev,
client           1902 drivers/char/ipmi/ipmi_ssif.c 	dev_set_drvdata(&ssif_info->client->dev, ssif_info);
client           1903 drivers/char/ipmi/ipmi_ssif.c 	rv = device_add_group(&ssif_info->client->dev,
client           1906 drivers/char/ipmi/ipmi_ssif.c 		dev_err(&ssif_info->client->dev,
client           1914 drivers/char/ipmi/ipmi_ssif.c 			       &ssif_info->client->dev,
client           1917 drivers/char/ipmi/ipmi_ssif.c 		dev_err(&ssif_info->client->dev,
client           1925 drivers/char/ipmi/ipmi_ssif.c 			addr_info->client = NULL;
client           1927 drivers/char/ipmi/ipmi_ssif.c 		dev_err(&ssif_info->client->dev,
client           1936 drivers/char/ipmi/ipmi_ssif.c 	device_remove_group(&ssif_info->client->dev, &ipmi_ssif_dev_attr_group);
client           1937 drivers/char/ipmi/ipmi_ssif.c 	dev_set_drvdata(&ssif_info->client->dev, NULL);
client             35 drivers/char/tpm/eventlog/acpi.c 		} client;
client             78 drivers/char/tpm/eventlog/acpi.c 		len = buff->client.log_max_len;
client             79 drivers/char/tpm/eventlog/acpi.c 		start = buff->client.log_start_addr;
client             23 drivers/char/tpm/st33zp24/i2c.c 	struct i2c_client *client;
client             42 drivers/char/tpm/st33zp24/i2c.c 	return i2c_master_send(phy->client, phy->buf, tpm_size + 1);
client             62 drivers/char/tpm/st33zp24/i2c.c 		status = i2c_master_recv(phy->client, tpm_data, tpm_size);
client            109 drivers/char/tpm/st33zp24/i2c.c static int st33zp24_i2c_acpi_request_resources(struct i2c_client *client)
client            111 drivers/char/tpm/st33zp24/i2c.c 	struct tpm_chip *chip = i2c_get_clientdata(client);
client            115 drivers/char/tpm/st33zp24/i2c.c 	struct device *dev = &client->dev;
client            125 drivers/char/tpm/st33zp24/i2c.c 		dev_err(&client->dev,
client            141 drivers/char/tpm/st33zp24/i2c.c static int st33zp24_i2c_of_request_resources(struct i2c_client *client)
client            143 drivers/char/tpm/st33zp24/i2c.c 	struct tpm_chip *chip = i2c_get_clientdata(client);
client            150 drivers/char/tpm/st33zp24/i2c.c 	pp = client->dev.of_node;
client            152 drivers/char/tpm/st33zp24/i2c.c 		dev_err(&client->dev, "No platform data\n");
client            159 drivers/char/tpm/st33zp24/i2c.c 		dev_err(&client->dev,
client            170 drivers/char/tpm/st33zp24/i2c.c 	ret = devm_gpio_request_one(&client->dev, gpio,
client            173 drivers/char/tpm/st33zp24/i2c.c 		dev_err(&client->dev, "Failed to request lpcpd pin\n");
client            181 drivers/char/tpm/st33zp24/i2c.c static int st33zp24_i2c_request_resources(struct i2c_client *client)
client            183 drivers/char/tpm/st33zp24/i2c.c 	struct tpm_chip *chip = i2c_get_clientdata(client);
client            189 drivers/char/tpm/st33zp24/i2c.c 	pdata = client->dev.platform_data;
client            191 drivers/char/tpm/st33zp24/i2c.c 		dev_err(&client->dev, "No platform data\n");
client            199 drivers/char/tpm/st33zp24/i2c.c 		ret = devm_gpio_request_one(&client->dev,
client            203 drivers/char/tpm/st33zp24/i2c.c 			dev_err(&client->dev, "Failed to request lpcpd pin\n");
client            218 drivers/char/tpm/st33zp24/i2c.c static int st33zp24_i2c_probe(struct i2c_client *client,
client            225 drivers/char/tpm/st33zp24/i2c.c 	if (!client) {
client            231 drivers/char/tpm/st33zp24/i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            232 drivers/char/tpm/st33zp24/i2c.c 		dev_info(&client->dev, "client not i2c capable\n");
client            236 drivers/char/tpm/st33zp24/i2c.c 	phy = devm_kzalloc(&client->dev, sizeof(struct st33zp24_i2c_phy),
client            241 drivers/char/tpm/st33zp24/i2c.c 	phy->client = client;
client            243 drivers/char/tpm/st33zp24/i2c.c 	pdata = client->dev.platform_data;
client            244 drivers/char/tpm/st33zp24/i2c.c 	if (!pdata && client->dev.of_node) {
client            245 drivers/char/tpm/st33zp24/i2c.c 		ret = st33zp24_i2c_of_request_resources(client);
client            249 drivers/char/tpm/st33zp24/i2c.c 		ret = st33zp24_i2c_request_resources(client);
client            252 drivers/char/tpm/st33zp24/i2c.c 	} else if (ACPI_HANDLE(&client->dev)) {
client            253 drivers/char/tpm/st33zp24/i2c.c 		ret = st33zp24_i2c_acpi_request_resources(client);
client            258 drivers/char/tpm/st33zp24/i2c.c 	return st33zp24_probe(phy, &i2c_phy_ops, &client->dev, client->irq,
client            267 drivers/char/tpm/st33zp24/i2c.c static int st33zp24_i2c_remove(struct i2c_client *client)
client            269 drivers/char/tpm/st33zp24/i2c.c 	struct tpm_chip *chip = i2c_get_clientdata(client);
client             43 drivers/char/tpm/tpm_i2c_atmel.c 	struct i2c_client *client = to_i2c_client(chip->dev.parent);
client             51 drivers/char/tpm/tpm_i2c_atmel.c 	status = i2c_master_send(client, buf, len);
client             70 drivers/char/tpm/tpm_i2c_atmel.c 	struct i2c_client *client = to_i2c_client(chip->dev.parent);
client             94 drivers/char/tpm/tpm_i2c_atmel.c 	rc = i2c_master_recv(client, buf, expected_len);
client            110 drivers/char/tpm/tpm_i2c_atmel.c 	struct i2c_client *client = to_i2c_client(chip->dev.parent);
client            122 drivers/char/tpm/tpm_i2c_atmel.c 	rc = i2c_master_recv(client, priv->buffer, sizeof(priv->buffer));
client            149 drivers/char/tpm/tpm_i2c_atmel.c static int i2c_atmel_probe(struct i2c_client *client,
client            153 drivers/char/tpm/tpm_i2c_atmel.c 	struct device *dev = &client->dev;
client            156 drivers/char/tpm/tpm_i2c_atmel.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            182 drivers/char/tpm/tpm_i2c_atmel.c static int i2c_atmel_remove(struct i2c_client *client)
client            184 drivers/char/tpm/tpm_i2c_atmel.c 	struct device *dev = &(client->dev);
client             60 drivers/char/tpm/tpm_i2c_infineon.c 	struct i2c_client *client;
client             96 drivers/char/tpm/tpm_i2c_infineon.c 		.addr = tpm_dev.client->addr,
client            101 drivers/char/tpm/tpm_i2c_infineon.c 		.addr = tpm_dev.client->addr,
client            113 drivers/char/tpm/tpm_i2c_infineon.c 	if (!tpm_dev.client->adapter->algo->master_xfer)
client            115 drivers/char/tpm/tpm_i2c_infineon.c 	i2c_lock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT);
client            125 drivers/char/tpm/tpm_i2c_infineon.c 			rc = __i2c_transfer(tpm_dev.client->adapter, msgs, 2);
client            137 drivers/char/tpm/tpm_i2c_infineon.c 				rc = __i2c_transfer(tpm_dev.client->adapter,
client            162 drivers/char/tpm/tpm_i2c_infineon.c 				rc = __i2c_transfer(tpm_dev.client->adapter,
client            190 drivers/char/tpm/tpm_i2c_infineon.c 	i2c_unlock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT);
client            212 drivers/char/tpm/tpm_i2c_infineon.c 		.addr = tpm_dev.client->addr,
client            220 drivers/char/tpm/tpm_i2c_infineon.c 	if (!tpm_dev.client->adapter->algo->master_xfer)
client            222 drivers/char/tpm/tpm_i2c_infineon.c 	i2c_lock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT);
client            235 drivers/char/tpm/tpm_i2c_infineon.c 		rc = __i2c_transfer(tpm_dev.client->adapter, &msg1, 1);
client            241 drivers/char/tpm/tpm_i2c_infineon.c 	i2c_unlock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT);
client            658 drivers/char/tpm/tpm_i2c_infineon.c 	tpm_dev.client = NULL;
client            684 drivers/char/tpm/tpm_i2c_infineon.c static int tpm_tis_i2c_probe(struct i2c_client *client,
client            688 drivers/char/tpm/tpm_i2c_infineon.c 	struct device *dev = &(client->dev);
client            690 drivers/char/tpm/tpm_i2c_infineon.c 	if (tpm_dev.client != NULL) {
client            695 drivers/char/tpm/tpm_i2c_infineon.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            700 drivers/char/tpm/tpm_i2c_infineon.c 	tpm_dev.client = client;
client            701 drivers/char/tpm/tpm_i2c_infineon.c 	rc = tpm_tis_i2c_init(&client->dev);
client            703 drivers/char/tpm/tpm_i2c_infineon.c 		tpm_dev.client = NULL;
client            709 drivers/char/tpm/tpm_i2c_infineon.c static int tpm_tis_i2c_remove(struct i2c_client *client)
client            715 drivers/char/tpm/tpm_i2c_infineon.c 	tpm_dev.client = NULL;
client             52 drivers/char/tpm/tpm_i2c_nuvoton.c static s32 i2c_nuvoton_read_buf(struct i2c_client *client, u8 offset, u8 size,
client             57 drivers/char/tpm/tpm_i2c_nuvoton.c 	status = i2c_smbus_read_i2c_block_data(client, offset, size, data);
client             58 drivers/char/tpm/tpm_i2c_nuvoton.c 	dev_dbg(&client->dev,
client             64 drivers/char/tpm/tpm_i2c_nuvoton.c static s32 i2c_nuvoton_write_buf(struct i2c_client *client, u8 offset, u8 size,
client             69 drivers/char/tpm/tpm_i2c_nuvoton.c 	status = i2c_smbus_write_i2c_block_data(client, offset, size, data);
client             70 drivers/char/tpm/tpm_i2c_nuvoton.c 	dev_dbg(&client->dev,
client             90 drivers/char/tpm/tpm_i2c_nuvoton.c 	struct i2c_client *client = to_i2c_client(chip->dev.parent);
client             94 drivers/char/tpm/tpm_i2c_nuvoton.c 	status = i2c_nuvoton_read_buf(client, TPM_STS, 1, &data);
client            105 drivers/char/tpm/tpm_i2c_nuvoton.c static s32 i2c_nuvoton_write_status(struct i2c_client *client, u8 data)
client            112 drivers/char/tpm/tpm_i2c_nuvoton.c 		status = i2c_nuvoton_write_buf(client, TPM_STS, 1, &data);
client            123 drivers/char/tpm/tpm_i2c_nuvoton.c 	struct i2c_client *client = to_i2c_client(chip->dev.parent);
client            127 drivers/char/tpm/tpm_i2c_nuvoton.c 	status = i2c_nuvoton_write_status(client, TPM_STS_COMMAND_READY);
client            135 drivers/char/tpm/tpm_i2c_nuvoton.c static int i2c_nuvoton_get_burstcount(struct i2c_client *client,
client            146 drivers/char/tpm/tpm_i2c_nuvoton.c 		status = i2c_nuvoton_read_buf(client, TPM_BURST_COUNT, 1,
client            229 drivers/char/tpm/tpm_i2c_nuvoton.c static int i2c_nuvoton_recv_data(struct i2c_client *client,
client            240 drivers/char/tpm/tpm_i2c_nuvoton.c 		burst_count = i2c_nuvoton_get_burstcount(client, chip);
client            248 drivers/char/tpm/tpm_i2c_nuvoton.c 		rc = i2c_nuvoton_read_buf(client, TPM_DATA_FIFO_R,
client            268 drivers/char/tpm/tpm_i2c_nuvoton.c 	struct i2c_client *client = to_i2c_client(dev);
client            284 drivers/char/tpm/tpm_i2c_nuvoton.c 			i2c_nuvoton_write_status(client,
client            298 drivers/char/tpm/tpm_i2c_nuvoton.c 		burst_count = i2c_nuvoton_get_burstcount(client, chip);
client            304 drivers/char/tpm/tpm_i2c_nuvoton.c 		size = i2c_nuvoton_recv_data(client, chip, buf,
client            321 drivers/char/tpm/tpm_i2c_nuvoton.c 		rc = i2c_nuvoton_recv_data(client, chip, &buf[size],
client            356 drivers/char/tpm/tpm_i2c_nuvoton.c 	struct i2c_client *client = to_i2c_client(dev);
client            374 drivers/char/tpm/tpm_i2c_nuvoton.c 			burst_count = i2c_nuvoton_get_burstcount(client,
client            384 drivers/char/tpm/tpm_i2c_nuvoton.c 			rc = i2c_nuvoton_write_buf(client, TPM_DATA_FIFO_W,
client            411 drivers/char/tpm/tpm_i2c_nuvoton.c 		rc = i2c_nuvoton_write_buf(client, TPM_DATA_FIFO_W, 1,
client            438 drivers/char/tpm/tpm_i2c_nuvoton.c 	rc = i2c_nuvoton_write_status(client, TPM_STS_GO);
client            491 drivers/char/tpm/tpm_i2c_nuvoton.c static int get_vid(struct i2c_client *client, u32 *res)
client            497 drivers/char/tpm/tpm_i2c_nuvoton.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            499 drivers/char/tpm/tpm_i2c_nuvoton.c 	rc = i2c_nuvoton_read_buf(client, TPM_VID_DID_RID, 4, (u8 *)&temp);
client            510 drivers/char/tpm/tpm_i2c_nuvoton.c 		rc = i2c_nuvoton_read_buf(client, TPM_DATA_FIFO_W, 4,
client            525 drivers/char/tpm/tpm_i2c_nuvoton.c static int i2c_nuvoton_probe(struct i2c_client *client,
client            530 drivers/char/tpm/tpm_i2c_nuvoton.c 	struct device *dev = &client->dev;
client            534 drivers/char/tpm/tpm_i2c_nuvoton.c 	rc = get_vid(client, &vid);
client            574 drivers/char/tpm/tpm_i2c_nuvoton.c 	priv->irq = client->irq;
client            575 drivers/char/tpm/tpm_i2c_nuvoton.c 	if (client->irq) {
client            577 drivers/char/tpm/tpm_i2c_nuvoton.c 		rc = devm_request_irq(dev, client->irq,
client            602 drivers/char/tpm/tpm_i2c_nuvoton.c 				rc = i2c_nuvoton_write_buf(client,
client            625 drivers/char/tpm/tpm_i2c_nuvoton.c static int i2c_nuvoton_remove(struct i2c_client *client)
client            627 drivers/char/tpm/tpm_i2c_nuvoton.c 	struct tpm_chip *chip = i2c_get_clientdata(client);
client             78 drivers/clk/clk-cdce706.c 	struct i2c_client *client;
client            118 drivers/clk/clk-cdce706.c 		dev_err(&dev_data->client->dev, "error reading reg %u", reg);
client            128 drivers/clk/clk-cdce706.c 		dev_err(&dev_data->client->dev, "error writing reg %u", reg);
client            138 drivers/clk/clk-cdce706.c 		dev_err(&dev_data->client->dev, "error updating reg %u", reg);
client            167 drivers/clk/clk-cdce706.c 	dev_dbg(&hwd->dev_data->client->dev,
client            192 drivers/clk/clk-cdce706.c 	dev_dbg(&hwd->dev_data->client->dev,
client            202 drivers/clk/clk-cdce706.c 	dev_dbg(&hwd->dev_data->client->dev,
client            218 drivers/clk/clk-cdce706.c 	dev_dbg(&hwd->dev_data->client->dev,
client            282 drivers/clk/clk-cdce706.c 	dev_dbg(&hwd->dev_data->client->dev,
client            297 drivers/clk/clk-cdce706.c 	dev_dbg(&hwd->dev_data->client->dev,
client            336 drivers/clk/clk-cdce706.c 				dev_dbg(&hwd->dev_data->client->dev,
client            344 drivers/clk/clk-cdce706.c 		dev_dbg(&hwd->dev_data->client->dev,
client            351 drivers/clk/clk-cdce706.c 	dev_dbg(&hwd->dev_data->client->dev,
client            363 drivers/clk/clk-cdce706.c 	dev_dbg(&hwd->dev_data->client->dev,
client            459 drivers/clk/clk-cdce706.c 		ret = devm_clk_hw_register(&cdce->client->dev,
client            462 drivers/clk/clk-cdce706.c 			dev_err(&cdce->client->dev, "Failed to register %s\n",
client            482 drivers/clk/clk-cdce706.c 		struct clk *parent = devm_clk_get(&cdce->client->dev,
client            541 drivers/clk/clk-cdce706.c 		dev_dbg(&cdce->client->dev,
client            577 drivers/clk/clk-cdce706.c 		dev_dbg(&cdce->client->dev,
client            606 drivers/clk/clk-cdce706.c 		dev_dbg(&cdce->client->dev,
client            630 drivers/clk/clk-cdce706.c static int cdce706_probe(struct i2c_client *client,
client            633 drivers/clk/clk-cdce706.c 	struct i2c_adapter *adapter = client->adapter;
client            640 drivers/clk/clk-cdce706.c 	cdce = devm_kzalloc(&client->dev, sizeof(*cdce), GFP_KERNEL);
client            644 drivers/clk/clk-cdce706.c 	cdce->client = client;
client            645 drivers/clk/clk-cdce706.c 	cdce->regmap = devm_regmap_init_i2c(client, &cdce706_regmap_config);
client            647 drivers/clk/clk-cdce706.c 		dev_err(&client->dev, "Failed to initialize regmap\n");
client            651 drivers/clk/clk-cdce706.c 	i2c_set_clientdata(client, cdce);
client            665 drivers/clk/clk-cdce706.c 	return of_clk_add_hw_provider(client->dev.of_node, of_clk_cdce_get,
client            669 drivers/clk/clk-cdce706.c static int cdce706_remove(struct i2c_client *client)
client            671 drivers/clk/clk-cdce706.c 	of_clk_del_provider(client->dev.of_node);
client            637 drivers/clk/clk-cdce925.c static int cdce925_probe(struct i2c_client *client,
client            641 drivers/clk/clk-cdce925.c 	struct device_node *node = client->dev.of_node;
client            657 drivers/clk/clk-cdce925.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            659 drivers/clk/clk-cdce925.c 	err = cdce925_regulator_enable(&client->dev, "vdd");
client            663 drivers/clk/clk-cdce925.c 	err = cdce925_regulator_enable(&client->dev, "vddout");
client            667 drivers/clk/clk-cdce925.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            671 drivers/clk/clk-cdce925.c 	data->i2c_client = client;
client            675 drivers/clk/clk-cdce925.c 	data->regmap = devm_regmap_init(&client->dev, &regmap_cdce925_bus,
client            676 drivers/clk/clk-cdce925.c 			&client->dev, &config);
client            678 drivers/clk/clk-cdce925.c 		dev_err(&client->dev, "failed to allocate register map\n");
client            681 drivers/clk/clk-cdce925.c 	i2c_set_clientdata(client, data);
client            685 drivers/clk/clk-cdce925.c 		dev_err(&client->dev, "missing parent clock\n");
client            688 drivers/clk/clk-cdce925.c 	dev_dbg(&client->dev, "parent is: %s\n", parent_name);
client            707 drivers/clk/clk-cdce925.c 			client->dev.of_node, i);
client            712 drivers/clk/clk-cdce925.c 		err = devm_clk_hw_register(&client->dev, &data->pll[i].hw);
client            714 drivers/clk/clk-cdce925.c 			dev_err(&client->dev, "Failed register PLL %d\n", i);
client            725 drivers/clk/clk-cdce925.c 				dev_err(&client->dev,
client            748 drivers/clk/clk-cdce925.c 	init.name = kasprintf(GFP_KERNEL, "%pOFn.Y1", client->dev.of_node);
client            753 drivers/clk/clk-cdce925.c 	err = devm_clk_hw_register(&client->dev, &data->clk[0].hw);
client            756 drivers/clk/clk-cdce925.c 		dev_err(&client->dev, "clock registration Y1 failed\n");
client            766 drivers/clk/clk-cdce925.c 			client->dev.of_node, i+1);
client            793 drivers/clk/clk-cdce925.c 		err = devm_clk_hw_register(&client->dev, &data->clk[i].hw);
client            796 drivers/clk/clk-cdce925.c 			dev_err(&client->dev, "clock registration failed\n");
client            802 drivers/clk/clk-cdce925.c 	err = of_clk_add_hw_provider(client->dev.of_node, of_clk_cdce925_get,
client            805 drivers/clk/clk-cdce925.c 		dev_err(&client->dev, "unable to add OF clock provider\n");
client             67 drivers/clk/clk-cs2000-cp.c #define priv_to_client(priv)	(priv->client)
client             76 drivers/clk/clk-cs2000-cp.c 	struct i2c_client *client;
client            494 drivers/clk/clk-cs2000-cp.c static int cs2000_remove(struct i2c_client *client)
client            496 drivers/clk/clk-cs2000-cp.c 	struct cs2000_priv *priv = i2c_get_clientdata(client);
client            507 drivers/clk/clk-cs2000-cp.c static int cs2000_probe(struct i2c_client *client,
client            511 drivers/clk/clk-cs2000-cp.c 	struct device *dev = &client->dev;
client            518 drivers/clk/clk-cs2000-cp.c 	priv->client = client;
client            519 drivers/clk/clk-cs2000-cp.c 	i2c_set_clientdata(client, priv);
client            536 drivers/clk/clk-cs2000-cp.c 	cs2000_remove(client);
client             79 drivers/clk/clk-max9485.c 	struct i2c_client *client;
client             99 drivers/clk/clk-max9485.c 	dev_dbg(&drvdata->client->dev,
client            103 drivers/clk/clk-max9485.c 	ret = i2c_master_send(drvdata->client,
client            257 drivers/clk/clk-max9485.c static int max9485_i2c_probe(struct i2c_client *client,
client            261 drivers/clk/clk-max9485.c 	struct device *dev = &client->dev;
client            288 drivers/clk/clk-max9485.c 	i2c_set_clientdata(client, drvdata);
client            289 drivers/clk/clk-max9485.c 	drvdata->client = client;
client            291 drivers/clk/clk-max9485.c 	ret = i2c_master_recv(drvdata->client, &drvdata->reg_value,
client            336 drivers/clk/clk-max9485.c 	struct i2c_client *client = to_i2c_client(dev);
client            337 drivers/clk/clk-max9485.c 	struct max9485_driver_data *drvdata = i2c_get_clientdata(client);
client            346 drivers/clk/clk-max9485.c 	struct i2c_client *client = to_i2c_client(dev);
client            347 drivers/clk/clk-max9485.c 	struct max9485_driver_data *drvdata = i2c_get_clientdata(client);
client            352 drivers/clk/clk-max9485.c 	ret = i2c_master_send(client, &drvdata->reg_value,
client            156 drivers/clk/clk-rk808.c 	struct i2c_client *client = rk808->i2c;
client            157 drivers/clk/clk-rk808.c 	struct device_node *node = client->dev.of_node;
client            162 drivers/clk/clk-rk808.c 	rk808_clkout = devm_kzalloc(&client->dev,
client            179 drivers/clk/clk-rk808.c 	ret = devm_clk_hw_register(&client->dev, &rk808_clkout->clkout1_hw);
client            191 drivers/clk/clk-rk808.c 	ret = devm_clk_hw_register(&client->dev, &rk808_clkout->clkout2_hw);
client            330 drivers/clk/clk-si514.c static int si514_probe(struct i2c_client *client,
client            337 drivers/clk/clk-si514.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            345 drivers/clk/clk-si514.c 	data->i2c_client = client;
client            347 drivers/clk/clk-si514.c 	if (of_property_read_string(client->dev.of_node, "clock-output-names",
client            349 drivers/clk/clk-si514.c 		init.name = client->dev.of_node->name;
client            351 drivers/clk/clk-si514.c 	data->regmap = devm_regmap_init_i2c(client, &si514_regmap_config);
client            353 drivers/clk/clk-si514.c 		dev_err(&client->dev, "failed to allocate register map\n");
client            357 drivers/clk/clk-si514.c 	i2c_set_clientdata(client, data);
client            359 drivers/clk/clk-si514.c 	err = devm_clk_hw_register(&client->dev, &data->hw);
client            361 drivers/clk/clk-si514.c 		dev_err(&client->dev, "clock registration failed\n");
client            364 drivers/clk/clk-si514.c 	err = of_clk_add_hw_provider(client->dev.of_node, of_clk_hw_simple_get,
client            367 drivers/clk/clk-si514.c 		dev_err(&client->dev, "unable to add clk provider\n");
client            374 drivers/clk/clk-si514.c static int si514_remove(struct i2c_client *client)
client            376 drivers/clk/clk-si514.c 	of_clk_del_provider(client->dev.of_node);
client           1024 drivers/clk/clk-si5341.c static int si5341_dt_parse_dt(struct i2c_client *client,
client           1028 drivers/clk/clk-si5341.c 	struct device_node *np = client->dev.of_node;
client           1037 drivers/clk/clk-si5341.c 			dev_err(&client->dev, "missing reg property of %s\n",
client           1043 drivers/clk/clk-si5341.c 			dev_err(&client->dev, "invalid clkout %d\n", num);
client           1062 drivers/clk/clk-si5341.c 				dev_err(&client->dev,
client           1075 drivers/clk/clk-si5341.c 				dev_err(&client->dev,
client           1086 drivers/clk/clk-si5341.c 				dev_err(&client->dev,
client           1146 drivers/clk/clk-si5341.c static int si5341_probe(struct i2c_client *client,
client           1158 drivers/clk/clk-si5341.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client           1162 drivers/clk/clk-si5341.c 	data->i2c_client = client;
client           1164 drivers/clk/clk-si5341.c 	data->pxtal = devm_clk_get(&client->dev, "xtal");
client           1169 drivers/clk/clk-si5341.c 		dev_err(&client->dev, "Missing xtal clock input\n");
client           1172 drivers/clk/clk-si5341.c 	err = si5341_dt_parse_dt(client, config);
client           1176 drivers/clk/clk-si5341.c 	if (of_property_read_string(client->dev.of_node, "clock-output-names",
client           1178 drivers/clk/clk-si5341.c 		init.name = client->dev.of_node->name;
client           1181 drivers/clk/clk-si5341.c 	data->regmap = devm_regmap_init_i2c(client, &si5341_regmap_config);
client           1185 drivers/clk/clk-si5341.c 	i2c_set_clientdata(client, data);
client           1194 drivers/clk/clk-si5341.c 	if (of_property_read_bool(client->dev.of_node, "silabs,reprogram")) {
client           1241 drivers/clk/clk-si5341.c 	err = devm_clk_hw_register(&client->dev, &data->hw);
client           1243 drivers/clk/clk-si5341.c 		dev_err(&client->dev, "clock registration failed\n");
client           1251 drivers/clk/clk-si5341.c 		synth_clock_names[i] = devm_kasprintf(&client->dev, GFP_KERNEL,
client           1252 drivers/clk/clk-si5341.c 				"%s.N%u", client->dev.of_node->name, i);
client           1257 drivers/clk/clk-si5341.c 		err = devm_clk_hw_register(&client->dev, &data->synth[i].hw);
client           1259 drivers/clk/clk-si5341.c 			dev_err(&client->dev,
client           1269 drivers/clk/clk-si5341.c 			client->dev.of_node->name, i);
client           1282 drivers/clk/clk-si5341.c 		err = devm_clk_hw_register(&client->dev, &data->clk[i].hw);
client           1285 drivers/clk/clk-si5341.c 			dev_err(&client->dev,
client           1293 drivers/clk/clk-si5341.c 	err = of_clk_add_hw_provider(client->dev.of_node, of_clk_si5341_get,
client           1296 drivers/clk/clk-si5341.c 		dev_err(&client->dev, "unable to add clk provider\n");
client           1314 drivers/clk/clk-si5341.c 		 devm_kfree(&client->dev, (void *)synth_clock_names[i]);
client             51 drivers/clk/clk-si5351.c 	struct i2c_client	*client;
client             90 drivers/clk/clk-si5351.c 		dev_err(&drvdata->client->dev,
client            290 drivers/clk/clk-si5351.c 	dev_dbg(&drvdata->client->dev, "%s - clkin div = %d, rate = %lu\n",
client            311 drivers/clk/clk-si5351.c 	dev_warn(&hwdata->drvdata->client->dev, "VXCO currently unsupported\n");
client            436 drivers/clk/clk-si5351.c 	dev_dbg(&hwdata->drvdata->client->dev,
client            494 drivers/clk/clk-si5351.c 	dev_dbg(&hwdata->drvdata->client->dev,
client            523 drivers/clk/clk-si5351.c 	dev_dbg(&hwdata->drvdata->client->dev,
client            634 drivers/clk/clk-si5351.c 	dev_dbg(&hwdata->drvdata->client->dev,
client            747 drivers/clk/clk-si5351.c 	dev_dbg(&hwdata->drvdata->client->dev,
client            779 drivers/clk/clk-si5351.c 	dev_dbg(&hwdata->drvdata->client->dev,
client            916 drivers/clk/clk-si5351.c 	dev_dbg(&drvdata->client->dev, "%s - %s: pll = %d\n",
client            926 drivers/clk/clk-si5351.c 		hwdata->drvdata->client->dev.platform_data;
client           1073 drivers/clk/clk-si5351.c 	dev_dbg(&hwdata->drvdata->client->dev,
client           1124 drivers/clk/clk-si5351.c 	dev_dbg(&hwdata->drvdata->client->dev,
client           1156 drivers/clk/clk-si5351.c static int si5351_dt_parse(struct i2c_client *client,
client           1159 drivers/clk/clk-si5351.c 	struct device_node *child, *np = client->dev.of_node;
client           1169 drivers/clk/clk-si5351.c 	pdata = devm_kzalloc(&client->dev, sizeof(*pdata), GFP_KERNEL);
client           1179 drivers/clk/clk-si5351.c 			dev_err(&client->dev,
client           1186 drivers/clk/clk-si5351.c 			dev_err(&client->dev,
client           1197 drivers/clk/clk-si5351.c 				dev_err(&client->dev,
client           1205 drivers/clk/clk-si5351.c 			dev_err(&client->dev,
client           1214 drivers/clk/clk-si5351.c 			dev_err(&client->dev, "missing reg property of %pOFn\n",
client           1221 drivers/clk/clk-si5351.c 			dev_err(&client->dev, "invalid clkout %d\n", num);
client           1237 drivers/clk/clk-si5351.c 				dev_err(&client->dev,
client           1260 drivers/clk/clk-si5351.c 					dev_err(&client->dev,
client           1269 drivers/clk/clk-si5351.c 				dev_err(&client->dev,
client           1286 drivers/clk/clk-si5351.c 				dev_err(&client->dev,
client           1313 drivers/clk/clk-si5351.c 				dev_err(&client->dev,
client           1329 drivers/clk/clk-si5351.c 	client->dev.platform_data = pdata;
client           1351 drivers/clk/clk-si5351.c static int si5351_dt_parse(struct i2c_client *client, enum si5351_variant variant)
client           1363 drivers/clk/clk-si5351.c static int si5351_i2c_probe(struct i2c_client *client,
client           1374 drivers/clk/clk-si5351.c 	ret = si5351_dt_parse(client, variant);
client           1378 drivers/clk/clk-si5351.c 	pdata = client->dev.platform_data;
client           1382 drivers/clk/clk-si5351.c 	drvdata = devm_kzalloc(&client->dev, sizeof(*drvdata), GFP_KERNEL);
client           1386 drivers/clk/clk-si5351.c 	i2c_set_clientdata(client, drvdata);
client           1387 drivers/clk/clk-si5351.c 	drvdata->client = client;
client           1389 drivers/clk/clk-si5351.c 	drvdata->pxtal = devm_clk_get(&client->dev, "xtal");
client           1390 drivers/clk/clk-si5351.c 	drvdata->pclkin = devm_clk_get(&client->dev, "clkin");
client           1402 drivers/clk/clk-si5351.c 		dev_err(&client->dev, "missing parent clock\n");
client           1406 drivers/clk/clk-si5351.c 	drvdata->regmap = devm_regmap_init_i2c(client, &si5351_regmap_config);
client           1408 drivers/clk/clk-si5351.c 		dev_err(&client->dev, "failed to allocate register map\n");
client           1423 drivers/clk/clk-si5351.c 			dev_err(&client->dev,
client           1434 drivers/clk/clk-si5351.c 			dev_err(&client->dev,
client           1443 drivers/clk/clk-si5351.c 			dev_err(&client->dev,
client           1452 drivers/clk/clk-si5351.c 			dev_err(&client->dev,
client           1461 drivers/clk/clk-si5351.c 			dev_err(&client->dev,
client           1479 drivers/clk/clk-si5351.c 	ret = devm_clk_hw_register(&client->dev, &drvdata->xtal);
client           1481 drivers/clk/clk-si5351.c 		dev_err(&client->dev, "unable to register %s\n", init.name);
client           1496 drivers/clk/clk-si5351.c 		ret = devm_clk_hw_register(&client->dev, &drvdata->clkin);
client           1498 drivers/clk/clk-si5351.c 			dev_err(&client->dev, "unable to register %s\n",
client           1519 drivers/clk/clk-si5351.c 	ret = devm_clk_hw_register(&client->dev, &drvdata->pll[0].hw);
client           1521 drivers/clk/clk-si5351.c 		dev_err(&client->dev, "unable to register %s\n", init.name);
client           1543 drivers/clk/clk-si5351.c 	ret = devm_clk_hw_register(&client->dev, &drvdata->pll[1].hw);
client           1545 drivers/clk/clk-si5351.c 		dev_err(&client->dev, "unable to register %s\n", init.name);
client           1557 drivers/clk/clk-si5351.c 	drvdata->msynth = devm_kcalloc(&client->dev, num_clocks,
client           1559 drivers/clk/clk-si5351.c 	drvdata->clkout = devm_kcalloc(&client->dev, num_clocks,
client           1580 drivers/clk/clk-si5351.c 		ret = devm_clk_hw_register(&client->dev,
client           1583 drivers/clk/clk-si5351.c 			dev_err(&client->dev, "unable to register %s\n",
client           1608 drivers/clk/clk-si5351.c 		ret = devm_clk_hw_register(&client->dev,
client           1611 drivers/clk/clk-si5351.c 			dev_err(&client->dev, "unable to register %s\n",
client           1622 drivers/clk/clk-si5351.c 				dev_err(&client->dev, "Cannot set rate : %d\n",
client           1628 drivers/clk/clk-si5351.c 	ret = of_clk_add_hw_provider(client->dev.of_node, si53351_of_clk_get,
client           1631 drivers/clk/clk-si5351.c 		dev_err(&client->dev, "unable to add clk provider\n");
client           1638 drivers/clk/clk-si5351.c static int si5351_i2c_remove(struct i2c_client *client)
client           1640 drivers/clk/clk-si5351.c 	of_clk_del_provider(client->dev.of_node);
client            454 drivers/clk/clk-si544.c static int si544_probe(struct i2c_client *client,
client            461 drivers/clk/clk-si544.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            469 drivers/clk/clk-si544.c 	data->i2c_client = client;
client            472 drivers/clk/clk-si544.c 	if (of_property_read_string(client->dev.of_node, "clock-output-names",
client            474 drivers/clk/clk-si544.c 		init.name = client->dev.of_node->name;
client            476 drivers/clk/clk-si544.c 	data->regmap = devm_regmap_init_i2c(client, &si544_regmap_config);
client            480 drivers/clk/clk-si544.c 	i2c_set_clientdata(client, data);
client            487 drivers/clk/clk-si544.c 	err = devm_clk_hw_register(&client->dev, &data->hw);
client            489 drivers/clk/clk-si544.c 		dev_err(&client->dev, "clock registration failed\n");
client            492 drivers/clk/clk-si544.c 	err = devm_of_clk_add_hw_provider(&client->dev, of_clk_hw_simple_get,
client            495 drivers/clk/clk-si544.c 		dev_err(&client->dev, "unable to add clk provider\n");
client            337 drivers/clk/clk-si570.c 	struct i2c_client *client = data->i2c_client;
client            341 drivers/clk/clk-si570.c 		dev_err(&client->dev,
client            397 drivers/clk/clk-si570.c static int si570_probe(struct i2c_client *client,
client            406 drivers/clk/clk-si570.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            414 drivers/clk/clk-si570.c 	data->i2c_client = client;
client            417 drivers/clk/clk-si570.c 		err = of_property_read_u32(client->dev.of_node,
client            420 drivers/clk/clk-si570.c 			dev_err(&client->dev,
client            433 drivers/clk/clk-si570.c 	if (of_property_read_string(client->dev.of_node, "clock-output-names",
client            435 drivers/clk/clk-si570.c 		init.name = client->dev.of_node->name;
client            437 drivers/clk/clk-si570.c 	err = of_property_read_u32(client->dev.of_node, "factory-fout",
client            440 drivers/clk/clk-si570.c 		dev_err(&client->dev, "'factory-fout' property missing\n");
client            444 drivers/clk/clk-si570.c 	data->regmap = devm_regmap_init_i2c(client, &si570_regmap_config);
client            446 drivers/clk/clk-si570.c 		dev_err(&client->dev, "failed to allocate register map\n");
client            450 drivers/clk/clk-si570.c 	i2c_set_clientdata(client, data);
client            455 drivers/clk/clk-si570.c 	err = devm_clk_hw_register(&client->dev, &data->hw);
client            457 drivers/clk/clk-si570.c 		dev_err(&client->dev, "clock registration failed\n");
client            460 drivers/clk/clk-si570.c 	err = of_clk_add_hw_provider(client->dev.of_node, of_clk_hw_simple_get,
client            463 drivers/clk/clk-si570.c 		dev_err(&client->dev, "unable to add clk provider\n");
client            468 drivers/clk/clk-si570.c 	if (!of_property_read_u32(client->dev.of_node, "clock-frequency",
client            472 drivers/clk/clk-si570.c 			of_clk_del_provider(client->dev.of_node);
client            478 drivers/clk/clk-si570.c 	dev_info(&client->dev, "registered, current frequency %llu Hz\n",
client            484 drivers/clk/clk-si570.c static int si570_remove(struct i2c_client *client)
client            486 drivers/clk/clk-si570.c 	of_clk_del_provider(client->dev.of_node);
client            148 drivers/clk/clk-versaclock5.c 	struct i2c_client	*client;
client            230 drivers/clk/clk-versaclock5.c 	dev_warn(&vc5->client->dev,
client            631 drivers/clk/clk-versaclock5.c 	dev_warn(&vc5->client->dev,
client            693 drivers/clk/clk-versaclock5.c static int vc5_probe(struct i2c_client *client,
client            702 drivers/clk/clk-versaclock5.c 	vc5 = devm_kzalloc(&client->dev, sizeof(*vc5), GFP_KERNEL);
client            706 drivers/clk/clk-versaclock5.c 	i2c_set_clientdata(client, vc5);
client            707 drivers/clk/clk-versaclock5.c 	vc5->client = client;
client            708 drivers/clk/clk-versaclock5.c 	vc5->chip_info = of_device_get_match_data(&client->dev);
client            710 drivers/clk/clk-versaclock5.c 	vc5->pin_xin = devm_clk_get(&client->dev, "xin");
client            714 drivers/clk/clk-versaclock5.c 	vc5->pin_clkin = devm_clk_get(&client->dev, "clkin");
client            718 drivers/clk/clk-versaclock5.c 	vc5->regmap = devm_regmap_init_i2c(client, &vc5_regmap_config);
client            720 drivers/clk/clk-versaclock5.c 		dev_err(&client->dev, "failed to allocate register map\n");
client            731 drivers/clk/clk-versaclock5.c 		vc5->pin_xin = clk_register_fixed_rate(&client->dev,
client            747 drivers/clk/clk-versaclock5.c 		dev_err(&client->dev, "no input clock specified!\n");
client            756 drivers/clk/clk-versaclock5.c 	ret = devm_clk_hw_register(&client->dev, &vc5->clk_mux);
client            758 drivers/clk/clk-versaclock5.c 		dev_err(&client->dev, "unable to register %s\n", init.name);
client            771 drivers/clk/clk-versaclock5.c 		ret = devm_clk_hw_register(&client->dev, &vc5->clk_mul);
client            773 drivers/clk/clk-versaclock5.c 			dev_err(&client->dev, "unable to register %s\n",
client            790 drivers/clk/clk-versaclock5.c 	ret = devm_clk_hw_register(&client->dev, &vc5->clk_pfd);
client            792 drivers/clk/clk-versaclock5.c 		dev_err(&client->dev, "unable to register %s\n", init.name);
client            806 drivers/clk/clk-versaclock5.c 	ret = devm_clk_hw_register(&client->dev, &vc5->clk_pll.hw);
client            808 drivers/clk/clk-versaclock5.c 		dev_err(&client->dev, "unable to register %s\n", init.name);
client            824 drivers/clk/clk-versaclock5.c 		ret = devm_clk_hw_register(&client->dev, &vc5->clk_fod[n].hw);
client            826 drivers/clk/clk-versaclock5.c 			dev_err(&client->dev, "unable to register %s\n",
client            842 drivers/clk/clk-versaclock5.c 	ret = devm_clk_hw_register(&client->dev, &vc5->clk_out[0].hw);
client            844 drivers/clk/clk-versaclock5.c 		dev_err(&client->dev, "unable to register %s\n",
client            867 drivers/clk/clk-versaclock5.c 		ret = devm_clk_hw_register(&client->dev,
client            870 drivers/clk/clk-versaclock5.c 			dev_err(&client->dev, "unable to register %s\n",
client            876 drivers/clk/clk-versaclock5.c 	ret = of_clk_add_hw_provider(client->dev.of_node, vc5_of_clk_get, vc5);
client            878 drivers/clk/clk-versaclock5.c 		dev_err(&client->dev, "unable to add clk provider\n");
client            890 drivers/clk/clk-versaclock5.c static int vc5_remove(struct i2c_client *client)
client            892 drivers/clk/clk-versaclock5.c 	struct vc5_driver_data *vc5 = i2c_get_clientdata(client);
client            894 drivers/clk/clk-versaclock5.c 	of_clk_del_provider(client->dev.of_node);
client             42 drivers/crypto/atmel-ecc.c 	struct i2c_client *client;
client            103 drivers/crypto/atmel-ecc.c 		dev_err(&ctx->client->dev, "crypto_ecdh_decode_key failed\n");
client            132 drivers/crypto/atmel-ecc.c 	ret = atmel_i2c_send_receive(ctx->client, cmd);
client            203 drivers/crypto/atmel-ecc.c 	work_data->client = ctx->client;
client            221 drivers/crypto/atmel-ecc.c 	struct i2c_client *client = ERR_PTR(-ENODEV);
client            245 drivers/crypto/atmel-ecc.c 		client = min_i2c_priv->client;
client            250 drivers/crypto/atmel-ecc.c 	return client;
client            253 drivers/crypto/atmel-ecc.c static void atmel_ecc_i2c_client_free(struct i2c_client *client)
client            255 drivers/crypto/atmel-ecc.c 	struct atmel_i2c_client_priv *i2c_priv = i2c_get_clientdata(client);
client            266 drivers/crypto/atmel-ecc.c 	ctx->client = atmel_ecc_i2c_client_alloc();
client            267 drivers/crypto/atmel-ecc.c 	if (IS_ERR(ctx->client)) {
client            269 drivers/crypto/atmel-ecc.c 		return PTR_ERR(ctx->client);
client            274 drivers/crypto/atmel-ecc.c 		dev_err(&ctx->client->dev, "Failed to allocate transformation for '%s': %ld\n",
client            291 drivers/crypto/atmel-ecc.c 	atmel_ecc_i2c_client_free(ctx->client);
client            326 drivers/crypto/atmel-ecc.c static int atmel_ecc_probe(struct i2c_client *client,
client            332 drivers/crypto/atmel-ecc.c 	ret = atmel_i2c_probe(client, id);
client            336 drivers/crypto/atmel-ecc.c 	i2c_priv = i2c_get_clientdata(client);
client            349 drivers/crypto/atmel-ecc.c 		dev_err(&client->dev, "%s alg registration failed\n",
client            352 drivers/crypto/atmel-ecc.c 		dev_info(&client->dev, "atmel ecc algorithms registered in /proc/crypto\n");
client            358 drivers/crypto/atmel-ecc.c static int atmel_ecc_remove(struct i2c_client *client)
client            360 drivers/crypto/atmel-ecc.c 	struct atmel_i2c_client_priv *i2c_priv = i2c_get_clientdata(client);
client            364 drivers/crypto/atmel-ecc.c 		dev_err(&client->dev, "Device is busy\n");
client            168 drivers/crypto/atmel-i2c.c static int atmel_i2c_wakeup(struct i2c_client *client)
client            170 drivers/crypto/atmel-i2c.c 	struct atmel_i2c_client_priv *i2c_priv = i2c_get_clientdata(client);
client            179 drivers/crypto/atmel-i2c.c 	i2c_master_send(client, i2c_priv->wake_token, i2c_priv->wake_token_sz);
client            187 drivers/crypto/atmel-i2c.c 	ret = i2c_master_recv(client, status, STATUS_SIZE);
client            191 drivers/crypto/atmel-i2c.c 	return atmel_i2c_status(&client->dev, status);
client            194 drivers/crypto/atmel-i2c.c static int atmel_i2c_sleep(struct i2c_client *client)
client            198 drivers/crypto/atmel-i2c.c 	return i2c_master_send(client, &sleep, 1);
client            216 drivers/crypto/atmel-i2c.c int atmel_i2c_send_receive(struct i2c_client *client, struct atmel_i2c_cmd *cmd)
client            218 drivers/crypto/atmel-i2c.c 	struct atmel_i2c_client_priv *i2c_priv = i2c_get_clientdata(client);
client            223 drivers/crypto/atmel-i2c.c 	ret = atmel_i2c_wakeup(client);
client            228 drivers/crypto/atmel-i2c.c 	ret = i2c_master_send(client, (u8 *)cmd, cmd->count + WORD_ADDR_SIZE);
client            236 drivers/crypto/atmel-i2c.c 	ret = i2c_master_recv(client, cmd->data, cmd->rxsize);
client            241 drivers/crypto/atmel-i2c.c 	ret = atmel_i2c_sleep(client);
client            246 drivers/crypto/atmel-i2c.c 	return atmel_i2c_status(&client->dev, cmd->data);
client            258 drivers/crypto/atmel-i2c.c 	struct i2c_client *client = work_data->client;
client            261 drivers/crypto/atmel-i2c.c 	status = atmel_i2c_send_receive(client, cmd);
client            286 drivers/crypto/atmel-i2c.c static int device_sanity_check(struct i2c_client *client)
client            297 drivers/crypto/atmel-i2c.c 	ret = atmel_i2c_send_receive(client, cmd);
client            308 drivers/crypto/atmel-i2c.c 		dev_err(&client->dev, "Configuration or Data and OTP zones are unlocked!\n");
client            318 drivers/crypto/atmel-i2c.c int atmel_i2c_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            321 drivers/crypto/atmel-i2c.c 	struct device *dev = &client->dev;
client            325 drivers/crypto/atmel-i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            330 drivers/crypto/atmel-i2c.c 	bus_clk_rate = i2c_acpi_find_bus_speed(&client->adapter->dev);
client            332 drivers/crypto/atmel-i2c.c 		ret = device_property_read_u32(&client->adapter->dev,
client            350 drivers/crypto/atmel-i2c.c 	i2c_priv->client = client;
client            364 drivers/crypto/atmel-i2c.c 	i2c_set_clientdata(client, i2c_priv);
client            366 drivers/crypto/atmel-i2c.c 	ret = device_sanity_check(client);
client            136 drivers/crypto/atmel-i2c.h 	struct i2c_client *client;
client            162 drivers/crypto/atmel-i2c.h 	struct i2c_client *client;
client            170 drivers/crypto/atmel-i2c.h int atmel_i2c_probe(struct i2c_client *client, const struct i2c_device_id *id);
client            177 drivers/crypto/atmel-i2c.h int atmel_i2c_send_receive(struct i2c_client *client, struct atmel_i2c_cmd *cmd);
client             28 drivers/crypto/atmel-sha204a.c 		dev_warn_ratelimited(&i2c_priv->client->dev,
client             59 drivers/crypto/atmel-sha204a.c 		work_data->client = i2c_priv->client;
client             84 drivers/crypto/atmel-sha204a.c 	ret = atmel_i2c_send_receive(i2c_priv->client, &cmd);
client             94 drivers/crypto/atmel-sha204a.c static int atmel_sha204a_probe(struct i2c_client *client,
client            100 drivers/crypto/atmel-sha204a.c 	ret = atmel_i2c_probe(client, id);
client            104 drivers/crypto/atmel-sha204a.c 	i2c_priv = i2c_get_clientdata(client);
client            108 drivers/crypto/atmel-sha204a.c 	i2c_priv->hwrng.name = dev_name(&client->dev);
client            112 drivers/crypto/atmel-sha204a.c 	ret = devm_hwrng_register(&client->dev, &i2c_priv->hwrng);
client            114 drivers/crypto/atmel-sha204a.c 		dev_warn(&client->dev, "failed to register RNG (%d)\n", ret);
client            119 drivers/crypto/atmel-sha204a.c static int atmel_sha204a_remove(struct i2c_client *client)
client            121 drivers/crypto/atmel-sha204a.c 	struct atmel_i2c_client_priv *i2c_priv = i2c_get_clientdata(client);
client            124 drivers/crypto/atmel-sha204a.c 		dev_err(&client->dev, "Device is busy\n");
client            147 drivers/dma/bcm-sba-raid.c 	struct mbox_client client;
client           1681 drivers/dma/bcm-sba-raid.c 	sba->client.dev			= &pdev->dev;
client           1682 drivers/dma/bcm-sba-raid.c 	sba->client.rx_callback		= sba_receive_message;
client           1683 drivers/dma/bcm-sba-raid.c 	sba->client.tx_block		= false;
client           1684 drivers/dma/bcm-sba-raid.c 	sba->client.knows_txdone	= true;
client           1685 drivers/dma/bcm-sba-raid.c 	sba->client.tx_tout		= 0;
client           1688 drivers/dma/bcm-sba-raid.c 	sba->mchan = mbox_request_channel(&sba->client, 0);
client            465 drivers/dma/ste_dma40.c 	struct list_head		 client;
client            770 drivers/dma/ste_dma40.c 	if (!list_empty(&d40c->client)) {
client            774 drivers/dma/ste_dma40.c 		list_for_each_entry_safe(d, _d, &d40c->client, node) {
client           1138 drivers/dma/ste_dma40.c 	if (!list_empty(&d40c->client))
client           1139 drivers/dma/ste_dma40.c 		list_for_each_entry_safe(d40d, _d, &d40c->client, node) {
client           1616 drivers/dma/ste_dma40.c 			list_add_tail(&d40d->node, &d40c->client);
client           2804 drivers/dma/ste_dma40.c 		INIT_LIST_HEAD(&d40c->client);
client            260 drivers/extcon/extcon-fsa9480.c static int fsa9480_probe(struct i2c_client *client,
client            266 drivers/extcon/extcon-fsa9480.c 	if (!client->irq) {
client            267 drivers/extcon/extcon-fsa9480.c 		dev_err(&client->dev, "no interrupt provided\n");
client            271 drivers/extcon/extcon-fsa9480.c 	info = devm_kzalloc(&client->dev, sizeof(*info), GFP_KERNEL);
client            274 drivers/extcon/extcon-fsa9480.c 	info->dev = &client->dev;
client            276 drivers/extcon/extcon-fsa9480.c 	i2c_set_clientdata(client, info);
client            293 drivers/extcon/extcon-fsa9480.c 	info->regmap = devm_regmap_init_i2c(client, &fsa9480_regmap_config);
client            312 drivers/extcon/extcon-fsa9480.c 	ret = devm_request_threaded_irq(info->dev, client->irq, NULL,
client            327 drivers/extcon/extcon-fsa9480.c static int fsa9480_remove(struct i2c_client *client)
client            335 drivers/extcon/extcon-fsa9480.c 	struct i2c_client *client = to_i2c_client(dev);
client            337 drivers/extcon/extcon-fsa9480.c 	if (device_may_wakeup(&client->dev) && client->irq)
client            338 drivers/extcon/extcon-fsa9480.c 		enable_irq_wake(client->irq);
client            345 drivers/extcon/extcon-fsa9480.c 	struct i2c_client *client = to_i2c_client(dev);
client            347 drivers/extcon/extcon-fsa9480.c 	if (device_may_wakeup(&client->dev) && client->irq)
client            348 drivers/extcon/extcon-fsa9480.c 		disable_irq_wake(client->irq);
client             71 drivers/firewire/core-cdev.c static inline void client_get(struct client *client)
client             73 drivers/firewire/core-cdev.c 	kref_get(&client->kref);
client             78 drivers/firewire/core-cdev.c 	struct client *client = container_of(kref, struct client, kref);
client             80 drivers/firewire/core-cdev.c 	fw_device_put(client->device);
client             81 drivers/firewire/core-cdev.c 	kfree(client);
client             84 drivers/firewire/core-cdev.c static void client_put(struct client *client)
client             86 drivers/firewire/core-cdev.c 	kref_put(&client->kref, client_release);
client             90 drivers/firewire/core-cdev.c typedef void (*client_resource_release_fn_t)(struct client *,
client            101 drivers/firewire/core-cdev.c 	struct client *client;
client            125 drivers/firewire/core-cdev.c 	struct client *client;
client            136 drivers/firewire/core-cdev.c static void release_iso_resource(struct client *, struct client_resource *);
client            140 drivers/firewire/core-cdev.c 	client_get(r->client);
client            142 drivers/firewire/core-cdev.c 		client_put(r->client);
client            168 drivers/firewire/core-cdev.c 	struct client *client;
client            198 drivers/firewire/core-cdev.c 	struct client *client;
client            239 drivers/firewire/core-cdev.c 	struct client *client;
client            250 drivers/firewire/core-cdev.c 	client = kzalloc(sizeof(*client), GFP_KERNEL);
client            251 drivers/firewire/core-cdev.c 	if (client == NULL) {
client            256 drivers/firewire/core-cdev.c 	client->device = device;
client            257 drivers/firewire/core-cdev.c 	spin_lock_init(&client->lock);
client            258 drivers/firewire/core-cdev.c 	idr_init(&client->resource_idr);
client            259 drivers/firewire/core-cdev.c 	INIT_LIST_HEAD(&client->event_list);
client            260 drivers/firewire/core-cdev.c 	init_waitqueue_head(&client->wait);
client            261 drivers/firewire/core-cdev.c 	init_waitqueue_head(&client->tx_flush_wait);
client            262 drivers/firewire/core-cdev.c 	INIT_LIST_HEAD(&client->phy_receiver_link);
client            263 drivers/firewire/core-cdev.c 	INIT_LIST_HEAD(&client->link);
client            264 drivers/firewire/core-cdev.c 	kref_init(&client->kref);
client            266 drivers/firewire/core-cdev.c 	file->private_data = client;
client            271 drivers/firewire/core-cdev.c static void queue_event(struct client *client, struct event *event,
client            281 drivers/firewire/core-cdev.c 	spin_lock_irqsave(&client->lock, flags);
client            282 drivers/firewire/core-cdev.c 	if (client->in_shutdown)
client            285 drivers/firewire/core-cdev.c 		list_add_tail(&event->link, &client->event_list);
client            286 drivers/firewire/core-cdev.c 	spin_unlock_irqrestore(&client->lock, flags);
client            288 drivers/firewire/core-cdev.c 	wake_up_interruptible(&client->wait);
client            291 drivers/firewire/core-cdev.c static int dequeue_event(struct client *client,
client            298 drivers/firewire/core-cdev.c 	ret = wait_event_interruptible(client->wait,
client            299 drivers/firewire/core-cdev.c 			!list_empty(&client->event_list) ||
client            300 drivers/firewire/core-cdev.c 			fw_device_is_shutdown(client->device));
client            304 drivers/firewire/core-cdev.c 	if (list_empty(&client->event_list) &&
client            305 drivers/firewire/core-cdev.c 		       fw_device_is_shutdown(client->device))
client            308 drivers/firewire/core-cdev.c 	spin_lock_irq(&client->lock);
client            309 drivers/firewire/core-cdev.c 	event = list_first_entry(&client->event_list, struct event, link);
client            311 drivers/firewire/core-cdev.c 	spin_unlock_irq(&client->lock);
client            333 drivers/firewire/core-cdev.c 	struct client *client = file->private_data;
client            335 drivers/firewire/core-cdev.c 	return dequeue_event(client, buffer, count);
client            339 drivers/firewire/core-cdev.c 				 struct client *client)
client            341 drivers/firewire/core-cdev.c 	struct fw_card *card = client->device->card;
client            345 drivers/firewire/core-cdev.c 	event->closure	     = client->bus_reset_closure;
client            347 drivers/firewire/core-cdev.c 	event->generation    = client->device->generation;
client            348 drivers/firewire/core-cdev.c 	event->node_id       = client->device->node_id;
client            358 drivers/firewire/core-cdev.c 			    void (*callback)(struct client *client))
client            360 drivers/firewire/core-cdev.c 	struct client *c;
client            375 drivers/firewire/core-cdev.c static void queue_bus_reset_event(struct client *client)
client            383 drivers/firewire/core-cdev.c 	fill_bus_reset_event(&e->reset, client);
client            385 drivers/firewire/core-cdev.c 	queue_event(client, &e->event,
client            388 drivers/firewire/core-cdev.c 	spin_lock_irq(&client->lock);
client            389 drivers/firewire/core-cdev.c 	idr_for_each(&client->resource_idr, schedule_reallocations, client);
client            390 drivers/firewire/core-cdev.c 	spin_unlock_irq(&client->lock);
client            398 drivers/firewire/core-cdev.c static void wake_up_client(struct client *client)
client            400 drivers/firewire/core-cdev.c 	wake_up_interruptible(&client->wait);
client            431 drivers/firewire/core-cdev.c static int ioctl_get_info(struct client *client, union ioctl_arg *arg)
client            437 drivers/firewire/core-cdev.c 	client->version = a->version;
client            439 drivers/firewire/core-cdev.c 	a->card = client->device->card->index;
client            445 drivers/firewire/core-cdev.c 		size_t have = client->device->config_rom_length * 4;
client            448 drivers/firewire/core-cdev.c 				   client->device->config_rom, min(want, have));
client            450 drivers/firewire/core-cdev.c 	a->rom_length = client->device->config_rom_length * 4;
client            457 drivers/firewire/core-cdev.c 	mutex_lock(&client->device->client_list_mutex);
client            459 drivers/firewire/core-cdev.c 	client->bus_reset_closure = a->bus_reset_closure;
client            461 drivers/firewire/core-cdev.c 		fill_bus_reset_event(&bus_reset, client);
client            465 drivers/firewire/core-cdev.c 	if (ret == 0 && list_empty(&client->link))
client            466 drivers/firewire/core-cdev.c 		list_add_tail(&client->link, &client->device->client_list);
client            468 drivers/firewire/core-cdev.c 	mutex_unlock(&client->device->client_list_mutex);
client            473 drivers/firewire/core-cdev.c static int add_client_resource(struct client *client,
client            482 drivers/firewire/core-cdev.c 	spin_lock_irqsave(&client->lock, flags);
client            484 drivers/firewire/core-cdev.c 	if (client->in_shutdown)
client            487 drivers/firewire/core-cdev.c 		ret = idr_alloc(&client->resource_idr, resource, 0, 0,
client            491 drivers/firewire/core-cdev.c 		client_get(client);
client            495 drivers/firewire/core-cdev.c 	spin_unlock_irqrestore(&client->lock, flags);
client            502 drivers/firewire/core-cdev.c static int release_client_resource(struct client *client, u32 handle,
client            508 drivers/firewire/core-cdev.c 	spin_lock_irq(&client->lock);
client            509 drivers/firewire/core-cdev.c 	if (client->in_shutdown)
client            512 drivers/firewire/core-cdev.c 		resource = idr_find(&client->resource_idr, handle);
client            514 drivers/firewire/core-cdev.c 		idr_remove(&client->resource_idr, handle);
client            515 drivers/firewire/core-cdev.c 	spin_unlock_irq(&client->lock);
client            523 drivers/firewire/core-cdev.c 		resource->release(client, resource);
client            525 drivers/firewire/core-cdev.c 	client_put(client);
client            530 drivers/firewire/core-cdev.c static void release_transaction(struct client *client,
client            540 drivers/firewire/core-cdev.c 	struct client *client = e->client;
client            548 drivers/firewire/core-cdev.c 	spin_lock_irqsave(&client->lock, flags);
client            549 drivers/firewire/core-cdev.c 	idr_remove(&client->resource_idr, e->r.resource.handle);
client            550 drivers/firewire/core-cdev.c 	if (client->in_shutdown)
client            551 drivers/firewire/core-cdev.c 		wake_up(&client->tx_flush_wait);
client            552 drivers/firewire/core-cdev.c 	spin_unlock_irqrestore(&client->lock, flags);
client            565 drivers/firewire/core-cdev.c 		queue_event(client, &e->event, rsp, sizeof(*rsp),
client            568 drivers/firewire/core-cdev.c 		queue_event(client, &e->event, rsp, sizeof(*rsp) + rsp->length,
client            572 drivers/firewire/core-cdev.c 	client_put(client);
client            575 drivers/firewire/core-cdev.c static int init_request(struct client *client,
client            594 drivers/firewire/core-cdev.c 	e->client = client;
client            606 drivers/firewire/core-cdev.c 	ret = add_client_resource(client, &e->r.resource, GFP_KERNEL);
client            610 drivers/firewire/core-cdev.c 	fw_send_request(client->device->card, &e->r.transaction,
client            622 drivers/firewire/core-cdev.c static int ioctl_send_request(struct client *client, union ioctl_arg *arg)
client            641 drivers/firewire/core-cdev.c 	return init_request(client, &arg->send_request, client->device->node_id,
client            642 drivers/firewire/core-cdev.c 			    client->device->max_speed);
client            650 drivers/firewire/core-cdev.c static void release_request(struct client *client,
client            703 drivers/firewire/core-cdev.c 	ret = add_client_resource(handler->client, &r->resource, GFP_ATOMIC);
client            707 drivers/firewire/core-cdev.c 	if (handler->client->version < FW_CDEV_VERSION_EVENT_REQUEST2) {
client            736 drivers/firewire/core-cdev.c 	queue_event(handler->client, &e->event,
client            751 drivers/firewire/core-cdev.c static void release_address_handler(struct client *client,
client            761 drivers/firewire/core-cdev.c static int ioctl_allocate(struct client *client, union ioctl_arg *arg)
client            773 drivers/firewire/core-cdev.c 	if (client->version < FW_CDEV_VERSION_ALLOCATE_REGION_END)
client            782 drivers/firewire/core-cdev.c 	r->client    = client;
client            792 drivers/firewire/core-cdev.c 	ret = add_client_resource(client, &r->resource, GFP_KERNEL);
client            794 drivers/firewire/core-cdev.c 		release_address_handler(client, &r->resource);
client            802 drivers/firewire/core-cdev.c static int ioctl_deallocate(struct client *client, union ioctl_arg *arg)
client            804 drivers/firewire/core-cdev.c 	return release_client_resource(client, arg->deallocate.handle,
client            808 drivers/firewire/core-cdev.c static int ioctl_send_response(struct client *client, union ioctl_arg *arg)
client            815 drivers/firewire/core-cdev.c 	if (release_client_resource(client, a->handle,
client            842 drivers/firewire/core-cdev.c static int ioctl_initiate_bus_reset(struct client *client, union ioctl_arg *arg)
client            844 drivers/firewire/core-cdev.c 	fw_schedule_bus_reset(client->device->card, true,
client            849 drivers/firewire/core-cdev.c static void release_descriptor(struct client *client,
client            859 drivers/firewire/core-cdev.c static int ioctl_add_descriptor(struct client *client, union ioctl_arg *arg)
client            866 drivers/firewire/core-cdev.c 	if (!client->device->is_local)
client            891 drivers/firewire/core-cdev.c 	ret = add_client_resource(client, &r->resource, GFP_KERNEL);
client            905 drivers/firewire/core-cdev.c static int ioctl_remove_descriptor(struct client *client, union ioctl_arg *arg)
client            907 drivers/firewire/core-cdev.c 	return release_client_resource(client, arg->remove_descriptor.handle,
client            914 drivers/firewire/core-cdev.c 	struct client *client = data;
client            922 drivers/firewire/core-cdev.c 	e->interrupt.closure   = client->iso_closure;
client            926 drivers/firewire/core-cdev.c 	queue_event(client, &e->event, &e->interrupt,
client            933 drivers/firewire/core-cdev.c 	struct client *client = data;
client            941 drivers/firewire/core-cdev.c 	e->interrupt.closure   = client->iso_closure;
client            942 drivers/firewire/core-cdev.c 	e->interrupt.completed = fw_iso_buffer_lookup(&client->buffer,
client            944 drivers/firewire/core-cdev.c 	queue_event(client, &e->event, &e->interrupt,
client            956 drivers/firewire/core-cdev.c static int ioctl_create_iso_context(struct client *client, union ioctl_arg *arg)
client            992 drivers/firewire/core-cdev.c 	context = fw_iso_context_create(client->device->card, a->type,
client            993 drivers/firewire/core-cdev.c 			a->channel, a->speed, a->header_size, cb, client);
client            996 drivers/firewire/core-cdev.c 	if (client->version < FW_CDEV_VERSION_AUTO_FLUSH_ISO_OVERFLOW)
client           1000 drivers/firewire/core-cdev.c 	spin_lock_irq(&client->lock);
client           1001 drivers/firewire/core-cdev.c 	if (client->iso_context != NULL) {
client           1002 drivers/firewire/core-cdev.c 		spin_unlock_irq(&client->lock);
client           1007 drivers/firewire/core-cdev.c 	if (!client->buffer_is_mapped) {
client           1008 drivers/firewire/core-cdev.c 		ret = fw_iso_buffer_map_dma(&client->buffer,
client           1009 drivers/firewire/core-cdev.c 					    client->device->card,
client           1012 drivers/firewire/core-cdev.c 			spin_unlock_irq(&client->lock);
client           1017 drivers/firewire/core-cdev.c 		client->buffer_is_mapped = true;
client           1019 drivers/firewire/core-cdev.c 	client->iso_closure = a->closure;
client           1020 drivers/firewire/core-cdev.c 	client->iso_context = context;
client           1021 drivers/firewire/core-cdev.c 	spin_unlock_irq(&client->lock);
client           1028 drivers/firewire/core-cdev.c static int ioctl_set_iso_channels(struct client *client, union ioctl_arg *arg)
client           1031 drivers/firewire/core-cdev.c 	struct fw_iso_context *ctx = client->iso_context;
client           1047 drivers/firewire/core-cdev.c static int ioctl_queue_iso(struct client *client, union ioctl_arg *arg)
client           1051 drivers/firewire/core-cdev.c 	struct fw_iso_context *ctx = client->iso_context;
client           1072 drivers/firewire/core-cdev.c 	payload = (unsigned long)a->data - client->vm_start;
client           1073 drivers/firewire/core-cdev.c 	buffer_end = client->buffer.page_count << PAGE_SHIFT;
client           1074 drivers/firewire/core-cdev.c 	if (a->data == 0 || client->buffer.pages == NULL ||
client           1133 drivers/firewire/core-cdev.c 					 &client->buffer, payload))
client           1144 drivers/firewire/core-cdev.c 	a->data     = client->vm_start + payload;
client           1149 drivers/firewire/core-cdev.c static int ioctl_start_iso(struct client *client, union ioctl_arg *arg)
client           1160 drivers/firewire/core-cdev.c 	if (client->iso_context == NULL || a->handle != 0)
client           1163 drivers/firewire/core-cdev.c 	if (client->iso_context->type == FW_ISO_CONTEXT_RECEIVE &&
client           1167 drivers/firewire/core-cdev.c 	return fw_iso_context_start(client->iso_context,
client           1171 drivers/firewire/core-cdev.c static int ioctl_stop_iso(struct client *client, union ioctl_arg *arg)
client           1175 drivers/firewire/core-cdev.c 	if (client->iso_context == NULL || a->handle != 0)
client           1178 drivers/firewire/core-cdev.c 	return fw_iso_context_stop(client->iso_context);
client           1181 drivers/firewire/core-cdev.c static int ioctl_flush_iso(struct client *client, union ioctl_arg *arg)
client           1185 drivers/firewire/core-cdev.c 	if (client->iso_context == NULL || a->handle != 0)
client           1188 drivers/firewire/core-cdev.c 	return fw_iso_context_flush_completions(client->iso_context);
client           1191 drivers/firewire/core-cdev.c static int ioctl_get_cycle_timer2(struct client *client, union ioctl_arg *arg)
client           1194 drivers/firewire/core-cdev.c 	struct fw_card *card = client->device->card;
client           1220 drivers/firewire/core-cdev.c static int ioctl_get_cycle_timer(struct client *client, union ioctl_arg *arg)
client           1226 drivers/firewire/core-cdev.c 	ioctl_get_cycle_timer2(client, (union ioctl_arg *)&ct2);
client           1239 drivers/firewire/core-cdev.c 	struct client *client = r->client;
client           1243 drivers/firewire/core-cdev.c 	spin_lock_irq(&client->lock);
client           1244 drivers/firewire/core-cdev.c 	generation = client->device->generation;
client           1249 drivers/firewire/core-cdev.c 			  client->device->card->reset_jiffies + HZ)) {
client           1261 drivers/firewire/core-cdev.c 	spin_unlock_irq(&client->lock);
client           1268 drivers/firewire/core-cdev.c 	fw_iso_resource_manage(client->device->card, generation,
client           1284 drivers/firewire/core-cdev.c 	spin_lock_irq(&client->lock);
client           1296 drivers/firewire/core-cdev.c 	    !client->in_shutdown &&
client           1297 drivers/firewire/core-cdev.c 	    idr_remove(&client->resource_idr, r->resource.handle)) {
client           1298 drivers/firewire/core-cdev.c 		client_put(client);
client           1301 drivers/firewire/core-cdev.c 	spin_unlock_irq(&client->lock);
client           1320 drivers/firewire/core-cdev.c 	queue_event(client, &e->event,
client           1330 drivers/firewire/core-cdev.c 	client_put(client);
client           1333 drivers/firewire/core-cdev.c static void release_iso_resource(struct client *client,
client           1339 drivers/firewire/core-cdev.c 	spin_lock_irq(&client->lock);
client           1342 drivers/firewire/core-cdev.c 	spin_unlock_irq(&client->lock);
client           1345 drivers/firewire/core-cdev.c static int init_iso_resource(struct client *client,
client           1365 drivers/firewire/core-cdev.c 	r->client	= client;
client           1380 drivers/firewire/core-cdev.c 		ret = add_client_resource(client, &r->resource, GFP_KERNEL);
client           1399 drivers/firewire/core-cdev.c static int ioctl_allocate_iso_resource(struct client *client,
client           1402 drivers/firewire/core-cdev.c 	return init_iso_resource(client,
client           1406 drivers/firewire/core-cdev.c static int ioctl_deallocate_iso_resource(struct client *client,
client           1409 drivers/firewire/core-cdev.c 	return release_client_resource(client,
client           1413 drivers/firewire/core-cdev.c static int ioctl_allocate_iso_resource_once(struct client *client,
client           1416 drivers/firewire/core-cdev.c 	return init_iso_resource(client,
client           1420 drivers/firewire/core-cdev.c static int ioctl_deallocate_iso_resource_once(struct client *client,
client           1423 drivers/firewire/core-cdev.c 	return init_iso_resource(client,
client           1432 drivers/firewire/core-cdev.c static int ioctl_get_speed(struct client *client, union ioctl_arg *arg)
client           1434 drivers/firewire/core-cdev.c 	return client->device->max_speed;
client           1437 drivers/firewire/core-cdev.c static int ioctl_send_broadcast_request(struct client *client,
client           1454 drivers/firewire/core-cdev.c 	return init_request(client, a, LOCAL_BUS | 0x3f, SCODE_100);
client           1457 drivers/firewire/core-cdev.c static int ioctl_send_stream_packet(struct client *client, union ioctl_arg *arg)
client           1463 drivers/firewire/core-cdev.c 	if (a->speed > client->device->card->link_speed ||
client           1477 drivers/firewire/core-cdev.c 	return init_request(client, &request, dest, a->speed);
client           1501 drivers/firewire/core-cdev.c 	queue_event(e->client, &e->event, &e->phy_packet,
client           1503 drivers/firewire/core-cdev.c 	client_put(e->client);
client           1506 drivers/firewire/core-cdev.c static int ioctl_send_phy_packet(struct client *client, union ioctl_arg *arg)
client           1509 drivers/firewire/core-cdev.c 	struct fw_card *card = client->device->card;
client           1513 drivers/firewire/core-cdev.c 	if (!client->device->is_local)
client           1520 drivers/firewire/core-cdev.c 	client_get(client);
client           1521 drivers/firewire/core-cdev.c 	e->client		= client;
client           1539 drivers/firewire/core-cdev.c static int ioctl_receive_phy_packets(struct client *client, union ioctl_arg *arg)
client           1542 drivers/firewire/core-cdev.c 	struct fw_card *card = client->device->card;
client           1545 drivers/firewire/core-cdev.c 	if (!client->device->is_local)
client           1550 drivers/firewire/core-cdev.c 	list_move_tail(&client->phy_receiver_link, &card->phy_receiver_list);
client           1551 drivers/firewire/core-cdev.c 	client->phy_receiver_closure = a->closure;
client           1560 drivers/firewire/core-cdev.c 	struct client *client;
client           1566 drivers/firewire/core-cdev.c 	list_for_each_entry(client, &card->phy_receiver_list, phy_receiver_link) {
client           1571 drivers/firewire/core-cdev.c 		e->phy_packet.closure	= client->phy_receiver_closure;
client           1577 drivers/firewire/core-cdev.c 		queue_event(client, &e->event,
client           1584 drivers/firewire/core-cdev.c static int (* const ioctl_handlers[])(struct client *, union ioctl_arg *) = {
client           1612 drivers/firewire/core-cdev.c static int dispatch_ioctl(struct client *client,
client           1618 drivers/firewire/core-cdev.c 	if (fw_device_is_shutdown(client->device))
client           1632 drivers/firewire/core-cdev.c 	ret = ioctl_handlers[_IOC_NR(cmd)](client, &buffer);
client           1659 drivers/firewire/core-cdev.c 	struct client *client = file->private_data;
client           1663 drivers/firewire/core-cdev.c 	if (fw_device_is_shutdown(client->device))
client           1667 drivers/firewire/core-cdev.c 	if (client->buffer.pages != NULL)
client           1676 drivers/firewire/core-cdev.c 	client->vm_start = vma->vm_start;
client           1682 drivers/firewire/core-cdev.c 	ret = fw_iso_buffer_alloc(&client->buffer, page_count);
client           1686 drivers/firewire/core-cdev.c 	spin_lock_irq(&client->lock);
client           1687 drivers/firewire/core-cdev.c 	if (client->iso_context) {
client           1688 drivers/firewire/core-cdev.c 		ret = fw_iso_buffer_map_dma(&client->buffer,
client           1689 drivers/firewire/core-cdev.c 				client->device->card,
client           1690 drivers/firewire/core-cdev.c 				iso_dma_direction(client->iso_context));
client           1691 drivers/firewire/core-cdev.c 		client->buffer_is_mapped = (ret == 0);
client           1693 drivers/firewire/core-cdev.c 	spin_unlock_irq(&client->lock);
client           1697 drivers/firewire/core-cdev.c 	ret = fw_iso_buffer_map_vma(&client->buffer, vma);
client           1703 drivers/firewire/core-cdev.c 	fw_iso_buffer_destroy(&client->buffer, client->device->card);
client           1714 drivers/firewire/core-cdev.c static int has_outbound_transactions(struct client *client)
client           1718 drivers/firewire/core-cdev.c 	spin_lock_irq(&client->lock);
client           1719 drivers/firewire/core-cdev.c 	ret = idr_for_each(&client->resource_idr,
client           1721 drivers/firewire/core-cdev.c 	spin_unlock_irq(&client->lock);
client           1729 drivers/firewire/core-cdev.c 	struct client *client = data;
client           1731 drivers/firewire/core-cdev.c 	resource->release(client, resource);
client           1732 drivers/firewire/core-cdev.c 	client_put(client);
client           1739 drivers/firewire/core-cdev.c 	struct client *client = file->private_data;
client           1742 drivers/firewire/core-cdev.c 	spin_lock_irq(&client->device->card->lock);
client           1743 drivers/firewire/core-cdev.c 	list_del(&client->phy_receiver_link);
client           1744 drivers/firewire/core-cdev.c 	spin_unlock_irq(&client->device->card->lock);
client           1746 drivers/firewire/core-cdev.c 	mutex_lock(&client->device->client_list_mutex);
client           1747 drivers/firewire/core-cdev.c 	list_del(&client->link);
client           1748 drivers/firewire/core-cdev.c 	mutex_unlock(&client->device->client_list_mutex);
client           1750 drivers/firewire/core-cdev.c 	if (client->iso_context)
client           1751 drivers/firewire/core-cdev.c 		fw_iso_context_destroy(client->iso_context);
client           1753 drivers/firewire/core-cdev.c 	if (client->buffer.pages)
client           1754 drivers/firewire/core-cdev.c 		fw_iso_buffer_destroy(&client->buffer, client->device->card);
client           1757 drivers/firewire/core-cdev.c 	spin_lock_irq(&client->lock);
client           1758 drivers/firewire/core-cdev.c 	client->in_shutdown = true;
client           1759 drivers/firewire/core-cdev.c 	spin_unlock_irq(&client->lock);
client           1761 drivers/firewire/core-cdev.c 	wait_event(client->tx_flush_wait, !has_outbound_transactions(client));
client           1763 drivers/firewire/core-cdev.c 	idr_for_each(&client->resource_idr, shutdown_resource, client);
client           1764 drivers/firewire/core-cdev.c 	idr_destroy(&client->resource_idr);
client           1766 drivers/firewire/core-cdev.c 	list_for_each_entry_safe(event, next_event, &client->event_list, link)
client           1769 drivers/firewire/core-cdev.c 	client_put(client);
client           1776 drivers/firewire/core-cdev.c 	struct client *client = file->private_data;
client           1779 drivers/firewire/core-cdev.c 	poll_wait(file, &client->wait, pt);
client           1781 drivers/firewire/core-cdev.c 	if (fw_device_is_shutdown(client->device))
client           1783 drivers/firewire/core-cdev.c 	if (!list_empty(&client->event_list))
client            137 drivers/firewire/nosy.c packet_buffer_get(struct client *client, char __user *data, size_t user_length)
client            139 drivers/firewire/nosy.c 	struct packet_buffer *buffer = &client->buffer;
client            145 drivers/firewire/nosy.c 				     list_empty(&client->lynx->link))
client            267 drivers/firewire/nosy.c 	struct client *client;
client            280 drivers/firewire/nosy.c 	client = kmalloc(sizeof *client, GFP_KERNEL);
client            281 drivers/firewire/nosy.c 	if (client == NULL)
client            284 drivers/firewire/nosy.c 	client->tcode_mask = ~0;
client            285 drivers/firewire/nosy.c 	client->lynx = lynx;
client            286 drivers/firewire/nosy.c 	INIT_LIST_HEAD(&client->link);
client            288 drivers/firewire/nosy.c 	if (packet_buffer_init(&client->buffer, 128 * 1024) < 0)
client            291 drivers/firewire/nosy.c 	file->private_data = client;
client            295 drivers/firewire/nosy.c 	kfree(client);
client            304 drivers/firewire/nosy.c 	struct client *client = file->private_data;
client            305 drivers/firewire/nosy.c 	struct pcilynx *lynx = client->lynx;
client            308 drivers/firewire/nosy.c 	list_del_init(&client->link);
client            311 drivers/firewire/nosy.c 	packet_buffer_destroy(&client->buffer);
client            312 drivers/firewire/nosy.c 	kfree(client);
client            321 drivers/firewire/nosy.c 	struct client *client = file->private_data;
client            324 drivers/firewire/nosy.c 	poll_wait(file, &client->buffer.wait, pt);
client            326 drivers/firewire/nosy.c 	if (atomic_read(&client->buffer.size) > 0)
client            329 drivers/firewire/nosy.c 	if (list_empty(&client->lynx->link))
client            338 drivers/firewire/nosy.c 	struct client *client = file->private_data;
client            340 drivers/firewire/nosy.c 	return packet_buffer_get(client, buffer, count);
client            346 drivers/firewire/nosy.c 	struct client *client = file->private_data;
client            347 drivers/firewire/nosy.c 	spinlock_t *client_list_lock = &client->lynx->client_list_lock;
client            353 drivers/firewire/nosy.c 		stats.total_packet_count = client->buffer.total_packet_count;
client            354 drivers/firewire/nosy.c 		stats.lost_packet_count  = client->buffer.lost_packet_count;
client            364 drivers/firewire/nosy.c 		list_add_tail(&client->link, &client->lynx->client_list);
client            371 drivers/firewire/nosy.c 		list_del_init(&client->link);
client            378 drivers/firewire/nosy.c 		client->tcode_mask = arg;
client            403 drivers/firewire/nosy.c 	struct client *client;
client            424 drivers/firewire/nosy.c 	list_for_each_entry(client, &lynx->client_list, link)
client            425 drivers/firewire/nosy.c 		if (client->tcode_mask & tcode_mask)
client            426 drivers/firewire/nosy.c 			packet_buffer_put(&client->buffer,
client            435 drivers/firewire/nosy.c 	struct client *client;
client            444 drivers/firewire/nosy.c 	list_for_each_entry(client, &lynx->client_list, link)
client            445 drivers/firewire/nosy.c 		packet_buffer_put(&client->buffer, &timestamp, 4);
client            494 drivers/firewire/nosy.c 	struct client *client;
client            505 drivers/firewire/nosy.c 	list_for_each_entry(client, &lynx->client_list, link)
client            506 drivers/firewire/nosy.c 		wake_up_interruptible(&client->buffer.wait);
client             29 drivers/firmware/stratix10-rsu.c typedef void (*rsu_callback)(struct stratix10_svc_client *client,
client             47 drivers/firmware/stratix10-rsu.c 	struct stratix10_svc_client client;
client             70 drivers/firmware/stratix10-rsu.c static void rsu_status_callback(struct stratix10_svc_client *client,
client             73 drivers/firmware/stratix10-rsu.c 	struct stratix10_rsu_priv *priv = client->priv;
client             87 drivers/firmware/stratix10-rsu.c 		dev_err(client->dev, "COMMAND_RSU_STATUS returned 0x%lX\n",
client            107 drivers/firmware/stratix10-rsu.c static void rsu_command_callback(struct stratix10_svc_client *client,
client            110 drivers/firmware/stratix10-rsu.c 	struct stratix10_rsu_priv *priv = client->priv;
client            113 drivers/firmware/stratix10-rsu.c 		dev_err(client->dev, "RSU returned status is %i\n",
client            128 drivers/firmware/stratix10-rsu.c static void rsu_retry_callback(struct stratix10_svc_client *client,
client            131 drivers/firmware/stratix10-rsu.c 	struct stratix10_rsu_priv *priv = client->priv;
client            137 drivers/firmware/stratix10-rsu.c 		dev_err(client->dev, "Failed to get retry counter %i\n",
client            166 drivers/firmware/stratix10-rsu.c 	priv->client.receive_cb = callback;
client            179 drivers/firmware/stratix10-rsu.c 		dev_err(priv->client.dev,
client            184 drivers/firmware/stratix10-rsu.c 		dev_err(priv->client.dev,
client            385 drivers/firmware/stratix10-rsu.c 	priv->client.dev = dev;
client            386 drivers/firmware/stratix10-rsu.c 	priv->client.receive_cb = NULL;
client            387 drivers/firmware/stratix10-rsu.c 	priv->client.priv = priv;
client            397 drivers/firmware/stratix10-rsu.c 	priv->chan = stratix10_svc_request_channel_byname(&priv->client,
client            726 drivers/firmware/stratix10-svc.c 	struct stratix10_svc_client *client, const char *name)
client            728 drivers/firmware/stratix10-svc.c 	struct device *dev = client->dev;
client            759 drivers/firmware/stratix10-svc.c 	chan->scl = client;
client             26 drivers/firmware/tegra/bpmp-tegra186.c 		struct mbox_client client;
client             32 drivers/firmware/tegra/bpmp-tegra186.c mbox_client_to_bpmp(struct mbox_client *client)
client             36 drivers/firmware/tegra/bpmp-tegra186.c 	priv = container_of(client, struct tegra186_bpmp, mbox.client);
client            156 drivers/firmware/tegra/bpmp-tegra186.c static void mbox_handle_rx(struct mbox_client *client, void *data)
client            158 drivers/firmware/tegra/bpmp-tegra186.c 	struct tegra_bpmp *bpmp = mbox_client_to_bpmp(client);
client            222 drivers/firmware/tegra/bpmp-tegra186.c 	priv->mbox.client.dev = bpmp->dev;
client            223 drivers/firmware/tegra/bpmp-tegra186.c 	priv->mbox.client.rx_callback = mbox_handle_rx;
client            224 drivers/firmware/tegra/bpmp-tegra186.c 	priv->mbox.client.tx_block = false;
client            225 drivers/firmware/tegra/bpmp-tegra186.c 	priv->mbox.client.knows_txdone = false;
client            227 drivers/firmware/tegra/bpmp-tegra186.c 	priv->mbox.channel = mbox_request_channel(&priv->mbox.client, 0);
client             28 drivers/firmware/tegra/bpmp.c mbox_client_to_bpmp(struct mbox_client *client)
client             30 drivers/firmware/tegra/bpmp.c 	return container_of(client, struct tegra_bpmp, mbox.client);
client             39 drivers/fpga/stratix10-soc.c 	struct stratix10_svc_client client;
client             50 drivers/fpga/stratix10-soc.c 	struct device *dev = priv->client.dev;
client            142 drivers/fpga/stratix10-soc.c static void s10_receive_callback(struct stratix10_svc_client *client,
client            145 drivers/fpga/stratix10-soc.c 	struct s10_priv *priv = client->priv;
client            179 drivers/fpga/stratix10-soc.c 	struct device *dev = priv->client.dev;
client            247 drivers/fpga/stratix10-soc.c 	struct device *dev = priv->client.dev;
client            286 drivers/fpga/stratix10-soc.c 	struct device *dev = priv->client.dev;
client            365 drivers/fpga/stratix10-soc.c 	struct device *dev = priv->client.dev;
client            436 drivers/fpga/stratix10-soc.c 	priv->client.dev = dev;
client            437 drivers/fpga/stratix10-soc.c 	priv->client.receive_cb = s10_receive_callback;
client            438 drivers/fpga/stratix10-soc.c 	priv->client.priv = priv;
client            440 drivers/fpga/stratix10-soc.c 	priv->chan = stratix10_svc_request_channel_byname(&priv->client,
client             73 drivers/fsi/fsi-occ.c 	struct occ_client *client = kzalloc(sizeof(*client), GFP_KERNEL);
client             77 drivers/fsi/fsi-occ.c 	if (!client)
client             80 drivers/fsi/fsi-occ.c 	client->buffer = (u8 *)__get_free_page(GFP_KERNEL);
client             81 drivers/fsi/fsi-occ.c 	if (!client->buffer) {
client             82 drivers/fsi/fsi-occ.c 		kfree(client);
client             86 drivers/fsi/fsi-occ.c 	client->occ = occ;
client             87 drivers/fsi/fsi-occ.c 	mutex_init(&client->lock);
client             88 drivers/fsi/fsi-occ.c 	file->private_data = client;
client            100 drivers/fsi/fsi-occ.c 	struct occ_client *client = file->private_data;
client            103 drivers/fsi/fsi-occ.c 	if (!client)
client            109 drivers/fsi/fsi-occ.c 	mutex_lock(&client->lock);
client            112 drivers/fsi/fsi-occ.c 	if (WARN_ON_ONCE(client->read_offset > client->data_size)) {
client            118 drivers/fsi/fsi-occ.c 	rc = min(len, client->data_size - client->read_offset);
client            119 drivers/fsi/fsi-occ.c 	if (copy_to_user(buf, client->buffer + client->read_offset, rc))
client            122 drivers/fsi/fsi-occ.c 		client->read_offset += rc;
client            125 drivers/fsi/fsi-occ.c 	mutex_unlock(&client->lock);
client            133 drivers/fsi/fsi-occ.c 	struct occ_client *client = file->private_data;
client            139 drivers/fsi/fsi-occ.c 	if (!client)
client            145 drivers/fsi/fsi-occ.c 	mutex_lock(&client->lock);
client            148 drivers/fsi/fsi-occ.c 	cmd = client->buffer;
client            181 drivers/fsi/fsi-occ.c 	rc = fsi_occ_submit(client->occ->dev, cmd, data_length + 6, cmd,
client            187 drivers/fsi/fsi-occ.c 	client->data_size = rlen;
client            188 drivers/fsi/fsi-occ.c 	client->read_offset = 0;
client            194 drivers/fsi/fsi-occ.c 	mutex_unlock(&client->lock);
client            201 drivers/fsi/fsi-occ.c 	struct occ_client *client = file->private_data;
client            203 drivers/fsi/fsi-occ.c 	free_page((unsigned long)client->buffer);
client            204 drivers/fsi/fsi-occ.c 	kfree(client);
client             21 drivers/gpio/gpio-adnp.c 	struct i2c_client *client;
client             40 drivers/gpio/gpio-adnp.c 	err = i2c_smbus_read_byte_data(adnp->client, offset);
client             55 drivers/gpio/gpio-adnp.c 	err = i2c_smbus_write_byte_data(adnp->client, offset, value);
client            259 drivers/gpio/gpio-adnp.c 	chip->label = adnp->client->name;
client            260 drivers/gpio/gpio-adnp.c 	chip->parent = &adnp->client->dev;
client            264 drivers/gpio/gpio-adnp.c 	err = devm_gpiochip_add_data(&adnp->client->dev, chip, adnp);
client            457 drivers/gpio/gpio-adnp.c 	err = devm_request_threaded_irq(chip->parent, adnp->client->irq,
client            463 drivers/gpio/gpio-adnp.c 			adnp->client->irq, err);
client            478 drivers/gpio/gpio-adnp.c 	gpiochip_set_nested_irqchip(chip, &adnp_irq_chip, adnp->client->irq);
client            483 drivers/gpio/gpio-adnp.c static int adnp_i2c_probe(struct i2c_client *client,
client            486 drivers/gpio/gpio-adnp.c 	struct device_node *np = client->dev.of_node;
client            495 drivers/gpio/gpio-adnp.c 	client->irq = irq_of_parse_and_map(np, 0);
client            496 drivers/gpio/gpio-adnp.c 	if (!client->irq)
client            499 drivers/gpio/gpio-adnp.c 	adnp = devm_kzalloc(&client->dev, sizeof(*adnp), GFP_KERNEL);
client            504 drivers/gpio/gpio-adnp.c 	adnp->client = client;
client            516 drivers/gpio/gpio-adnp.c 	i2c_set_clientdata(client, adnp);
client             31 drivers/gpio/gpio-adp5588.c 	struct i2c_client *client;
client             45 drivers/gpio/gpio-adp5588.c static int adp5588_gpio_read(struct i2c_client *client, u8 reg)
client             47 drivers/gpio/gpio-adp5588.c 	int ret = i2c_smbus_read_byte_data(client, reg);
client             50 drivers/gpio/gpio-adp5588.c 		dev_err(&client->dev, "Read Error\n");
client             55 drivers/gpio/gpio-adp5588.c static int adp5588_gpio_write(struct i2c_client *client, u8 reg, u8 val)
client             57 drivers/gpio/gpio-adp5588.c 	int ret = i2c_smbus_write_byte_data(client, reg, val);
client             60 drivers/gpio/gpio-adp5588.c 		dev_err(&client->dev, "Write Error\n");
client             77 drivers/gpio/gpio-adp5588.c 		val = adp5588_gpio_read(dev->client, GPIO_DAT_STAT1 + bank);
client             99 drivers/gpio/gpio-adp5588.c 	adp5588_gpio_write(dev->client, GPIO_DAT_OUT1 + bank,
client            114 drivers/gpio/gpio-adp5588.c 	ret = adp5588_gpio_write(dev->client, GPIO_DIR1 + bank, dev->dir[bank]);
client            138 drivers/gpio/gpio-adp5588.c 	ret = adp5588_gpio_write(dev->client, GPIO_DAT_OUT1 + bank,
client            140 drivers/gpio/gpio-adp5588.c 	ret |= adp5588_gpio_write(dev->client, GPIO_DIR1 + bank,
client            176 drivers/gpio/gpio-adp5588.c 			adp5588_gpio_write(dev->client, GPIO_DIR1 + i,
client            183 drivers/gpio/gpio-adp5588.c 			adp5588_gpio_write(dev->client, GPI_EM1 + i,
client            243 drivers/gpio/gpio-adp5588.c 	int status = adp5588_gpio_read(dev->client, INT_STAT);
client            246 drivers/gpio/gpio-adp5588.c 		int ev_cnt = adp5588_gpio_read(dev->client, KEY_LCK_EC_STAT);
client            252 drivers/gpio/gpio-adp5588.c 				int key = adp5588_gpio_read(dev->client,
client            270 drivers/gpio/gpio-adp5588.c 	adp5588_gpio_write(dev->client, INT_STAT, status); /* Status is W1C */
client            277 drivers/gpio/gpio-adp5588.c 	struct i2c_client *client = dev->client;
client            280 drivers/gpio/gpio-adp5588.c 			dev_get_platdata(&client->dev);
client            283 drivers/gpio/gpio-adp5588.c 	adp5588_gpio_write(client, CFG, ADP5588_AUTO_INC);
client            284 drivers/gpio/gpio-adp5588.c 	adp5588_gpio_write(client, INT_STAT, -1); /* status is W1C */
client            288 drivers/gpio/gpio-adp5588.c 	ret = devm_request_threaded_irq(&client->dev, client->irq,
client            291 drivers/gpio/gpio-adp5588.c 					dev_name(&client->dev), dev);
client            293 drivers/gpio/gpio-adp5588.c 		dev_err(&client->dev, "failed to request irq %d\n",
client            294 drivers/gpio/gpio-adp5588.c 			client->irq);
client            302 drivers/gpio/gpio-adp5588.c 		dev_err(&client->dev,
client            308 drivers/gpio/gpio-adp5588.c 				    client->irq);
client            310 drivers/gpio/gpio-adp5588.c 	adp5588_gpio_write(client, CFG,
client            319 drivers/gpio/gpio-adp5588.c 	struct i2c_client *client = dev->client;
client            320 drivers/gpio/gpio-adp5588.c 	dev_warn(&client->dev, "interrupt support not compiled in\n");
client            327 drivers/gpio/gpio-adp5588.c static int adp5588_gpio_probe(struct i2c_client *client)
client            330 drivers/gpio/gpio-adp5588.c 			dev_get_platdata(&client->dev);
client            336 drivers/gpio/gpio-adp5588.c 	if (!i2c_check_functionality(client->adapter,
client            338 drivers/gpio/gpio-adp5588.c 		dev_err(&client->dev, "SMBUS Byte Data not Supported\n");
client            342 drivers/gpio/gpio-adp5588.c 	dev = devm_kzalloc(&client->dev, sizeof(*dev), GFP_KERNEL);
client            346 drivers/gpio/gpio-adp5588.c 	dev->client = client;
client            355 drivers/gpio/gpio-adp5588.c 	gc->parent = &client->dev;
client            364 drivers/gpio/gpio-adp5588.c 	gc->label = client->name;
client            369 drivers/gpio/gpio-adp5588.c 	ret = adp5588_gpio_read(dev->client, DEV_ID);
client            376 drivers/gpio/gpio-adp5588.c 		dev->dat_out[i] = adp5588_gpio_read(client, GPIO_DAT_OUT1 + i);
client            377 drivers/gpio/gpio-adp5588.c 		dev->dir[i] = adp5588_gpio_read(client, GPIO_DIR1 + i);
client            378 drivers/gpio/gpio-adp5588.c 		ret |= adp5588_gpio_write(client, KP_GPIO1 + i, 0);
client            379 drivers/gpio/gpio-adp5588.c 		ret |= adp5588_gpio_write(client, GPIO_PULL1 + i,
client            381 drivers/gpio/gpio-adp5588.c 		ret |= adp5588_gpio_write(client, GPIO_INT_EN1 + i, 0);
client            386 drivers/gpio/gpio-adp5588.c 	if (client->irq) {
client            388 drivers/gpio/gpio-adp5588.c 			dev_warn(&client->dev, "GPIO int not supported\n");
client            396 drivers/gpio/gpio-adp5588.c 	ret = devm_gpiochip_add_data(&client->dev, &dev->gpio_chip, dev);
client            401 drivers/gpio/gpio-adp5588.c 		ret = pdata->setup(client, gc->base, gc->ngpio, pdata->context);
client            403 drivers/gpio/gpio-adp5588.c 			dev_warn(&client->dev, "setup failed, %d\n", ret);
client            406 drivers/gpio/gpio-adp5588.c 	i2c_set_clientdata(client, dev);
client            411 drivers/gpio/gpio-adp5588.c static int adp5588_gpio_remove(struct i2c_client *client)
client            414 drivers/gpio/gpio-adp5588.c 			dev_get_platdata(&client->dev);
client            415 drivers/gpio/gpio-adp5588.c 	struct adp5588_gpio *dev = i2c_get_clientdata(client);
client            419 drivers/gpio/gpio-adp5588.c 		ret = pdata->teardown(client,
client            423 drivers/gpio/gpio-adp5588.c 			dev_err(&client->dev, "teardown failed %d\n", ret);
client            428 drivers/gpio/gpio-adp5588.c 	if (dev->client->irq)
client            429 drivers/gpio/gpio-adp5588.c 		free_irq(dev->client->irq, dev);
client             26 drivers/gpio/gpio-gw-pld.c 	struct i2c_client *client;
client             40 drivers/gpio/gpio-gw-pld.c 	return i2c_smbus_write_byte(gw->client, gw->out);
client             48 drivers/gpio/gpio-gw-pld.c 	val = i2c_smbus_read_byte(gw->client);
client             62 drivers/gpio/gpio-gw-pld.c 	return i2c_smbus_write_byte(gw->client, gw->out);
client             70 drivers/gpio/gpio-gw-pld.c static int gw_pld_probe(struct i2c_client *client,
client             73 drivers/gpio/gpio-gw-pld.c 	struct device *dev = &client->dev;
client             93 drivers/gpio/gpio-gw-pld.c 	gw->client = client;
client            100 drivers/gpio/gpio-gw-pld.c 	client->flags |= I2C_M_IGNORE_NAK;
client            103 drivers/gpio/gpio-gw-pld.c 	i2c_set_clientdata(client, gw);
client             19 drivers/gpio/gpio-max7300.c 	struct i2c_client *client = to_i2c_client(dev);
client             21 drivers/gpio/gpio-max7300.c 	return i2c_smbus_write_byte_data(client, reg, val);
client             26 drivers/gpio/gpio-max7300.c 	struct i2c_client *client = to_i2c_client(dev);
client             28 drivers/gpio/gpio-max7300.c 	return i2c_smbus_read_byte_data(client, reg);
client             31 drivers/gpio/gpio-max7300.c static int max7300_probe(struct i2c_client *client,
client             36 drivers/gpio/gpio-max7300.c 	if (!i2c_check_functionality(client->adapter,
client             40 drivers/gpio/gpio-max7300.c 	ts = devm_kzalloc(&client->dev, sizeof(struct max7301), GFP_KERNEL);
client             46 drivers/gpio/gpio-max7300.c 	ts->dev = &client->dev;
client             51 drivers/gpio/gpio-max7300.c static int max7300_remove(struct i2c_client *client)
client             53 drivers/gpio/gpio-max7300.c 	return __max730x_remove(&client->dev);
client            136 drivers/gpio/gpio-max732x.c 	struct i2c_client *client;	/* "main" client */
client            160 drivers/gpio/gpio-max732x.c 	struct i2c_client *client;
client            163 drivers/gpio/gpio-max732x.c 	client = group_a ? chip->client_group_a : chip->client_group_b;
client            164 drivers/gpio/gpio-max732x.c 	ret = i2c_smbus_write_byte(client, val);
client            166 drivers/gpio/gpio-max732x.c 		dev_err(&client->dev, "failed writing\n");
client            175 drivers/gpio/gpio-max732x.c 	struct i2c_client *client;
client            178 drivers/gpio/gpio-max732x.c 	client = group_a ? chip->client_group_a : chip->client_group_b;
client            179 drivers/gpio/gpio-max732x.c 	ret = i2c_smbus_read_byte(client);
client            181 drivers/gpio/gpio-max732x.c 		dev_err(&client->dev, "failed reading\n");
client            258 drivers/gpio/gpio-max732x.c 		dev_dbg(&chip->client->dev, "%s port %d is output only\n",
client            259 drivers/gpio/gpio-max732x.c 			chip->client->name, off);
client            280 drivers/gpio/gpio-max732x.c 		dev_dbg(&chip->client->dev, "%s port %d is input only\n",
client            281 drivers/gpio/gpio-max732x.c 			chip->client->name, off);
client            400 drivers/gpio/gpio-max732x.c 		dev_dbg(&chip->client->dev, "%s port %d is output only\n",
client            401 drivers/gpio/gpio-max732x.c 			chip->client->name, off);
client            406 drivers/gpio/gpio-max732x.c 		dev_err(&chip->client->dev, "irq %d: unsupported type %d\n",
client            428 drivers/gpio/gpio-max732x.c 	irq_set_irq_wake(chip->client->irq, on);
client            498 drivers/gpio/gpio-max732x.c 	struct i2c_client *client = chip->client;
client            499 drivers/gpio/gpio-max732x.c 	struct max732x_platform_data *pdata = dev_get_platdata(&client->dev);
client            504 drivers/gpio/gpio-max732x.c 	if (((pdata && pdata->irq_base) || client->irq)
client            511 drivers/gpio/gpio-max732x.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            514 drivers/gpio/gpio-max732x.c 				dev_name(&client->dev), chip);
client            516 drivers/gpio/gpio-max732x.c 			dev_err(&client->dev, "failed to request irq %d\n",
client            517 drivers/gpio/gpio-max732x.c 				client->irq);
client            526 drivers/gpio/gpio-max732x.c 			dev_err(&client->dev,
client            532 drivers/gpio/gpio-max732x.c 					    client->irq);
client            542 drivers/gpio/gpio-max732x.c 	struct i2c_client *client = chip->client;
client            543 drivers/gpio/gpio-max732x.c 	struct max732x_platform_data *pdata = dev_get_platdata(&client->dev);
client            546 drivers/gpio/gpio-max732x.c 	if (((pdata && pdata->irq_base) || client->irq) && has_irq != INT_NONE)
client            547 drivers/gpio/gpio-max732x.c 		dev_warn(&client->dev, "interrupt support not compiled in\n");
client            596 drivers/gpio/gpio-max732x.c 	gc->label = chip->client->name;
client            597 drivers/gpio/gpio-max732x.c 	gc->parent = &chip->client->dev;
client            616 drivers/gpio/gpio-max732x.c static int max732x_probe(struct i2c_client *client,
client            626 drivers/gpio/gpio-max732x.c 	pdata = dev_get_platdata(&client->dev);
client            627 drivers/gpio/gpio-max732x.c 	node = client->dev.of_node;
client            630 drivers/gpio/gpio-max732x.c 		pdata = of_gpio_max732x(&client->dev);
client            633 drivers/gpio/gpio-max732x.c 		dev_dbg(&client->dev, "no platform data\n");
client            637 drivers/gpio/gpio-max732x.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client            640 drivers/gpio/gpio-max732x.c 	chip->client = client;
client            643 drivers/gpio/gpio-max732x.c 	chip->gpio_chip.parent = &client->dev;
client            645 drivers/gpio/gpio-max732x.c 	addr_a = (client->addr & 0x0f) | 0x60;
client            646 drivers/gpio/gpio-max732x.c 	addr_b = (client->addr & 0x0f) | 0x50;
client            648 drivers/gpio/gpio-max732x.c 	switch (client->addr & 0x70) {
client            650 drivers/gpio/gpio-max732x.c 		chip->client_group_a = client;
client            652 drivers/gpio/gpio-max732x.c 			c = devm_i2c_new_dummy_device(&client->dev,
client            653 drivers/gpio/gpio-max732x.c 						      client->adapter, addr_b);
client            655 drivers/gpio/gpio-max732x.c 				dev_err(&client->dev,
client            663 drivers/gpio/gpio-max732x.c 		chip->client_group_b = client;
client            665 drivers/gpio/gpio-max732x.c 			c = devm_i2c_new_dummy_device(&client->dev,
client            666 drivers/gpio/gpio-max732x.c 						      client->adapter, addr_a);
client            668 drivers/gpio/gpio-max732x.c 				dev_err(&client->dev,
client            676 drivers/gpio/gpio-max732x.c 		dev_err(&client->dev, "invalid I2C address specified %02x\n",
client            677 drivers/gpio/gpio-max732x.c 				client->addr);
client            682 drivers/gpio/gpio-max732x.c 		dev_err(&client->dev,
client            698 drivers/gpio/gpio-max732x.c 	ret = devm_gpiochip_add_data(&client->dev, &chip->gpio_chip, chip);
client            707 drivers/gpio/gpio-max732x.c 		ret = pdata->setup(client, chip->gpio_chip.base,
client            710 drivers/gpio/gpio-max732x.c 			dev_warn(&client->dev, "setup failed, %d\n", ret);
client            713 drivers/gpio/gpio-max732x.c 	i2c_set_clientdata(client, chip);
client            717 drivers/gpio/gpio-max732x.c static int max732x_remove(struct i2c_client *client)
client            719 drivers/gpio/gpio-max732x.c 	struct max732x_platform_data *pdata = dev_get_platdata(&client->dev);
client            720 drivers/gpio/gpio-max732x.c 	struct max732x_chip *chip = i2c_get_clientdata(client);
client            725 drivers/gpio/gpio-max732x.c 		ret = pdata->teardown(client, chip->gpio_chip.base,
client            728 drivers/gpio/gpio-max732x.c 			dev_err(&client->dev, "%s failed, %d\n",
client             19 drivers/gpio/gpio-mc9s08dz60.c 	struct i2c_client *client;
client             36 drivers/gpio/gpio-mc9s08dz60.c 	value = i2c_smbus_read_byte_data(mc9s->client, reg);
client             47 drivers/gpio/gpio-mc9s08dz60.c 	value = i2c_smbus_read_byte_data(mc9s->client, reg);
client             54 drivers/gpio/gpio-mc9s08dz60.c 		return i2c_smbus_write_byte_data(mc9s->client, reg, value);
client             76 drivers/gpio/gpio-mc9s08dz60.c static int mc9s08dz60_probe(struct i2c_client *client,
client             81 drivers/gpio/gpio-mc9s08dz60.c 	mc9s = devm_kzalloc(&client->dev, sizeof(*mc9s), GFP_KERNEL);
client             85 drivers/gpio/gpio-mc9s08dz60.c 	mc9s->chip.label = client->name;
client             87 drivers/gpio/gpio-mc9s08dz60.c 	mc9s->chip.parent = &client->dev;
client             94 drivers/gpio/gpio-mc9s08dz60.c 	mc9s->client = client;
client             95 drivers/gpio/gpio-mc9s08dz60.c 	i2c_set_clientdata(client, mc9s);
client             97 drivers/gpio/gpio-mc9s08dz60.c 	return devm_gpiochip_add_data(&client->dev, &mc9s->chip, mc9s);
client            157 drivers/gpio/gpio-pca953x.c 	struct i2c_client *client;
client            343 drivers/gpio/gpio-pca953x.c 		dev_err(&chip->client->dev, "failed writing register\n");
client            357 drivers/gpio/gpio-pca953x.c 		dev_err(&chip->client->dev, "failed reading register\n");
client            557 drivers/gpio/gpio-pca953x.c 	gc->label = dev_name(&chip->client->dev);
client            558 drivers/gpio/gpio-pca953x.c 	gc->parent = &chip->client->dev;
client            590 drivers/gpio/gpio-pca953x.c 	return irq_set_irq_wake(chip->client->irq, on);
client            647 drivers/gpio/gpio-pca953x.c 		dev_err(&chip->client->dev, "irq %d: unsupported type %d\n",
client            768 drivers/gpio/gpio-pca953x.c 	struct i2c_client *client = chip->client;
client            773 drivers/gpio/gpio-pca953x.c 	if (!client->irq)
client            796 drivers/gpio/gpio-pca953x.c 	ret = devm_request_threaded_irq(&client->dev, client->irq,
client            800 drivers/gpio/gpio-pca953x.c 					dev_name(&client->dev), chip);
client            802 drivers/gpio/gpio-pca953x.c 		dev_err(&client->dev, "failed to request irq %d\n",
client            803 drivers/gpio/gpio-pca953x.c 			client->irq);
client            807 drivers/gpio/gpio-pca953x.c 	irq_chip->name = dev_name(&chip->client->dev);
client            820 drivers/gpio/gpio-pca953x.c 		dev_err(&client->dev,
client            825 drivers/gpio/gpio-pca953x.c 	gpiochip_set_nested_irqchip(&chip->gpio_chip, irq_chip, client->irq);
client            834 drivers/gpio/gpio-pca953x.c 	struct i2c_client *client = chip->client;
client            836 drivers/gpio/gpio-pca953x.c 	if (client->irq && irq_base != -1 && (chip->driver_data & PCA_INT))
client            837 drivers/gpio/gpio-pca953x.c 		dev_warn(&client->dev, "interrupt support not compiled in\n");
client            891 drivers/gpio/gpio-pca953x.c static int pca953x_probe(struct i2c_client *client,
client            901 drivers/gpio/gpio-pca953x.c 	chip = devm_kzalloc(&client->dev,
client            906 drivers/gpio/gpio-pca953x.c 	pdata = dev_get_platdata(&client->dev);
client            925 drivers/gpio/gpio-pca953x.c 		reset_gpio = devm_gpiod_get_optional(&client->dev, "reset",
client            931 drivers/gpio/gpio-pca953x.c 	chip->client = client;
client            933 drivers/gpio/gpio-pca953x.c 	reg = devm_regulator_get(&client->dev, "vcc");
client            937 drivers/gpio/gpio-pca953x.c 			dev_err(&client->dev, "reg get err: %d\n", ret);
client            942 drivers/gpio/gpio-pca953x.c 		dev_err(&client->dev, "reg en err: %d\n", ret);
client            952 drivers/gpio/gpio-pca953x.c 		match = device_get_match_data(&client->dev);
client            961 drivers/gpio/gpio-pca953x.c 	i2c_set_clientdata(client, chip);
client            963 drivers/gpio/gpio-pca953x.c 	chip->regmap = devm_regmap_init_i2c(client, &pca953x_i2c_regmap);
client            989 drivers/gpio/gpio-pca953x.c 			     i2c_adapter_depth(client->adapter));
client           1006 drivers/gpio/gpio-pca953x.c 	ret = devm_gpiochip_add_data(&client->dev, &chip->gpio_chip, chip);
client           1015 drivers/gpio/gpio-pca953x.c 		ret = pdata->setup(client, chip->gpio_chip.base,
client           1018 drivers/gpio/gpio-pca953x.c 			dev_warn(&client->dev, "setup failed, %d\n", ret);
client           1028 drivers/gpio/gpio-pca953x.c static int pca953x_remove(struct i2c_client *client)
client           1030 drivers/gpio/gpio-pca953x.c 	struct pca953x_platform_data *pdata = dev_get_platdata(&client->dev);
client           1031 drivers/gpio/gpio-pca953x.c 	struct pca953x_chip *chip = i2c_get_clientdata(client);
client           1035 drivers/gpio/gpio-pca953x.c 		ret = pdata->teardown(client, chip->gpio_chip.base,
client           1038 drivers/gpio/gpio-pca953x.c 			dev_err(&client->dev, "teardown failed, %d\n", ret);
client             75 drivers/gpio/gpio-pcf857x.c 	struct i2c_client	*client;
client             81 drivers/gpio/gpio-pcf857x.c 	int (*write)(struct i2c_client *client, unsigned data);
client             82 drivers/gpio/gpio-pcf857x.c 	int (*read)(struct i2c_client *client);
client             89 drivers/gpio/gpio-pcf857x.c static int i2c_write_le8(struct i2c_client *client, unsigned data)
client             91 drivers/gpio/gpio-pcf857x.c 	return i2c_smbus_write_byte(client, data);
client             94 drivers/gpio/gpio-pcf857x.c static int i2c_read_le8(struct i2c_client *client)
client             96 drivers/gpio/gpio-pcf857x.c 	return (int)i2c_smbus_read_byte(client);
client            101 drivers/gpio/gpio-pcf857x.c static int i2c_write_le16(struct i2c_client *client, unsigned word)
client            106 drivers/gpio/gpio-pcf857x.c 	status = i2c_master_send(client, buf, 2);
client            110 drivers/gpio/gpio-pcf857x.c static int i2c_read_le16(struct i2c_client *client)
client            115 drivers/gpio/gpio-pcf857x.c 	status = i2c_master_recv(client, buf, 2);
client            130 drivers/gpio/gpio-pcf857x.c 	status = gpio->write(gpio->client, gpio->out);
client            141 drivers/gpio/gpio-pcf857x.c 	value = gpio->read(gpio->client);
client            156 drivers/gpio/gpio-pcf857x.c 	status = gpio->write(gpio->client, gpio->out);
client            174 drivers/gpio/gpio-pcf857x.c 	status = gpio->read(gpio->client);
client            200 drivers/gpio/gpio-pcf857x.c 	return irq_set_irq_wake(gpio->client->irq, on);
client            233 drivers/gpio/gpio-pcf857x.c static int pcf857x_probe(struct i2c_client *client,
client            236 drivers/gpio/gpio-pcf857x.c 	struct pcf857x_platform_data	*pdata = dev_get_platdata(&client->dev);
client            237 drivers/gpio/gpio-pcf857x.c 	struct device_node		*np = client->dev.of_node;
client            247 drivers/gpio/gpio-pcf857x.c 		dev_dbg(&client->dev, "no platform data\n");
client            250 drivers/gpio/gpio-pcf857x.c 	gpio = devm_kzalloc(&client->dev, sizeof(*gpio), GFP_KERNEL);
client            258 drivers/gpio/gpio-pcf857x.c 	gpio->chip.parent		= &client->dev;
client            281 drivers/gpio/gpio-pcf857x.c 		if (!i2c_check_functionality(client->adapter,
client            287 drivers/gpio/gpio-pcf857x.c 			status = i2c_smbus_read_byte(client);
client            299 drivers/gpio/gpio-pcf857x.c 		if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            304 drivers/gpio/gpio-pcf857x.c 			status = i2c_read_le16(client);
client            307 drivers/gpio/gpio-pcf857x.c 		dev_dbg(&client->dev, "unsupported number of gpios\n");
client            314 drivers/gpio/gpio-pcf857x.c 	gpio->chip.label = client->name;
client            316 drivers/gpio/gpio-pcf857x.c 	gpio->client = client;
client            317 drivers/gpio/gpio-pcf857x.c 	i2c_set_clientdata(client, gpio);
client            337 drivers/gpio/gpio-pcf857x.c 	status = devm_gpiochip_add_data(&client->dev, &gpio->chip, gpio);
client            342 drivers/gpio/gpio-pcf857x.c 	if (client->irq) {
client            357 drivers/gpio/gpio-pcf857x.c 			dev_err(&client->dev, "cannot add irqchip\n");
client            361 drivers/gpio/gpio-pcf857x.c 		status = devm_request_threaded_irq(&client->dev, client->irq,
client            364 drivers/gpio/gpio-pcf857x.c 					dev_name(&client->dev), gpio);
client            369 drivers/gpio/gpio-pcf857x.c 					    client->irq);
client            376 drivers/gpio/gpio-pcf857x.c 		status = pdata->setup(client,
client            380 drivers/gpio/gpio-pcf857x.c 			dev_warn(&client->dev, "setup --> %d\n", status);
client            383 drivers/gpio/gpio-pcf857x.c 	dev_info(&client->dev, "probed\n");
client            388 drivers/gpio/gpio-pcf857x.c 	dev_dbg(&client->dev, "probe error %d for '%s'\n", status,
client            389 drivers/gpio/gpio-pcf857x.c 		client->name);
client            394 drivers/gpio/gpio-pcf857x.c static int pcf857x_remove(struct i2c_client *client)
client            396 drivers/gpio/gpio-pcf857x.c 	struct pcf857x_platform_data	*pdata = dev_get_platdata(&client->dev);
client            397 drivers/gpio/gpio-pcf857x.c 	struct pcf857x			*gpio = i2c_get_clientdata(client);
client            401 drivers/gpio/gpio-pcf857x.c 		status = pdata->teardown(client,
client            405 drivers/gpio/gpio-pcf857x.c 			dev_err(&client->dev, "%s --> %d\n",
client            414 drivers/gpio/gpio-pcf857x.c static void pcf857x_shutdown(struct i2c_client *client)
client            416 drivers/gpio/gpio-pcf857x.c 	struct pcf857x *gpio = i2c_get_clientdata(client);
client            419 drivers/gpio/gpio-pcf857x.c 	gpio->write(gpio->client, BIT(gpio->chip.ngpio) - 1);
client             31 drivers/gpio/gpio-tpic2810.c 	struct i2c_client *client;
client             71 drivers/gpio/gpio-tpic2810.c 	err = i2c_smbus_write_byte_data(gpio->client, TPIC2810_WS_COMMAND,
client            109 drivers/gpio/gpio-tpic2810.c static int tpic2810_probe(struct i2c_client *client,
client            115 drivers/gpio/gpio-tpic2810.c 	gpio = devm_kzalloc(&client->dev, sizeof(*gpio), GFP_KERNEL);
client            119 drivers/gpio/gpio-tpic2810.c 	i2c_set_clientdata(client, gpio);
client            122 drivers/gpio/gpio-tpic2810.c 	gpio->chip.parent = &client->dev;
client            124 drivers/gpio/gpio-tpic2810.c 	gpio->client = client;
client            130 drivers/gpio/gpio-tpic2810.c 		dev_err(&client->dev, "Unable to register gpiochip\n");
client            137 drivers/gpio/gpio-tpic2810.c static int tpic2810_remove(struct i2c_client *client)
client            139 drivers/gpio/gpio-tpic2810.c 	struct tpic2810 *gpio = i2c_get_clientdata(client);
client            128 drivers/gpio/gpio-ts4900.c static int ts4900_gpio_probe(struct i2c_client *client,
client            135 drivers/gpio/gpio-ts4900.c 	if (of_property_read_u32(client->dev.of_node, "ngpios", &ngpio))
client            138 drivers/gpio/gpio-ts4900.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client            145 drivers/gpio/gpio-ts4900.c 	priv->gpio_chip.parent = &client->dev;
client            146 drivers/gpio/gpio-ts4900.c 	priv->input_bit = (uintptr_t)of_device_get_match_data(&client->dev);
client            148 drivers/gpio/gpio-ts4900.c 	priv->regmap = devm_regmap_init_i2c(client, &ts4900_regmap_config);
client            151 drivers/gpio/gpio-ts4900.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            156 drivers/gpio/gpio-ts4900.c 	ret = devm_gpiochip_add_data(&client->dev, &priv->gpio_chip, priv);
client            158 drivers/gpio/gpio-ts4900.c 		dev_err(&client->dev, "Unable to register gpiochip\n");
client            162 drivers/gpio/gpio-ts4900.c 	i2c_set_clientdata(client, priv);
client            114 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 		if (!adev->irq.client[i].sources)
client            118 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 			struct amdgpu_irq_src *src = adev->irq.client[i].sources[j];
client            293 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 		if (!adev->irq.client[i].sources)
client            297 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 			struct amdgpu_irq_src *src = adev->irq.client[i].sources[j];
client            307 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 				adev->irq.client[i].sources[j] = NULL;
client            310 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 		kfree(adev->irq.client[i].sources);
client            311 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 		adev->irq.client[i].sources = NULL;
client            341 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 	if (!adev->irq.client[client_id].sources) {
client            342 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 		adev->irq.client[client_id].sources =
client            346 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 		if (!adev->irq.client[client_id].sources)
client            350 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 	if (adev->irq.client[client_id].sources[src_id] != NULL)
client            364 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 	adev->irq.client[client_id].sources[src_id] = source;
client            403 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 	} else if (!adev->irq.client[client_id].sources) {
client            407 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 	} else if ((src = adev->irq.client[client_id].sources[src_id])) {
client            466 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 		if (!adev->irq.client[i].sources)
client            470 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 			struct amdgpu_irq_src *src = adev->irq.client[i].sources[j];
client             85 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h 	struct amdgpu_irq_client	client[AMDGPU_IRQ_CLIENTID_MAX];
client             62 drivers/gpu/drm/bridge/analogix-anx78xx.c 	struct i2c_client *client;
client            713 drivers/gpu/drm/bridge/analogix-anx78xx.c 	struct device *dev = &anx78xx->client->dev;
client           1015 drivers/gpu/drm/bridge/analogix-anx78xx.c 	anx78xx->aux.dev = &anx78xx->client->dev;
client           1311 drivers/gpu/drm/bridge/analogix-anx78xx.c static int anx78xx_i2c_probe(struct i2c_client *client,
client           1320 drivers/gpu/drm/bridge/analogix-anx78xx.c 	anx78xx = devm_kzalloc(&client->dev, sizeof(*anx78xx), GFP_KERNEL);
client           1329 drivers/gpu/drm/bridge/analogix-anx78xx.c 	anx78xx->bridge.of_node = client->dev.of_node;
client           1332 drivers/gpu/drm/bridge/analogix-anx78xx.c 	anx78xx->client = client;
client           1333 drivers/gpu/drm/bridge/analogix-anx78xx.c 	i2c_set_clientdata(client, anx78xx);
client           1349 drivers/gpu/drm/bridge/analogix-anx78xx.c 	pdata->intp_irq = client->irq;
client           1357 drivers/gpu/drm/bridge/analogix-anx78xx.c 		anx78xx->i2c_dummy[i] = i2c_new_dummy(client->adapter,
client           1412 drivers/gpu/drm/bridge/analogix-anx78xx.c 	err = devm_request_threaded_irq(&client->dev, pdata->hpd_irq, NULL,
client           1422 drivers/gpu/drm/bridge/analogix-anx78xx.c 	err = devm_request_threaded_irq(&client->dev, pdata->intp_irq, NULL,
client           1449 drivers/gpu/drm/bridge/analogix-anx78xx.c static int anx78xx_i2c_remove(struct i2c_client *client)
client           1451 drivers/gpu/drm/bridge/analogix-anx78xx.c 	struct anx78xx *anx78xx = i2c_get_clientdata(client);
client             38 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	struct i2c_client *client;
client             68 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c static u8 *stdp2690_get_edid(struct i2c_client *client)
client             70 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c 	struct i2c_adapter *adapter = client->adapter;
client             77 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c 			.addr	= client->addr,
client             82 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c 			.addr	= client->addr,
client            135 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c 	struct i2c_client *client;
client            138 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c 	client = ge_b850v3_lvds_ptr->stdp2690_i2c;
client            141 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c 	ge_b850v3_lvds_ptr->edid = (struct edid *)stdp2690_get_edid(client);
client             29 drivers/gpu/drm/bridge/nxp-ptn3460.c 	struct i2c_client *client;
client             56 drivers/gpu/drm/bridge/nxp-ptn3460.c 	ret = i2c_master_send(ptn_bridge->client, &addr, 1);
client             62 drivers/gpu/drm/bridge/nxp-ptn3460.c 	ret = i2c_master_recv(ptn_bridge->client, buf, len);
client             80 drivers/gpu/drm/bridge/nxp-ptn3460.c 	ret = i2c_master_send(ptn_bridge->client, buf, ARRAY_SIZE(buf));
client            277 drivers/gpu/drm/bridge/nxp-ptn3460.c static int ptn3460_probe(struct i2c_client *client,
client            280 drivers/gpu/drm/bridge/nxp-ptn3460.c 	struct device *dev = &client->dev;
client            293 drivers/gpu/drm/bridge/nxp-ptn3460.c 	ptn_bridge->client = client;
client            295 drivers/gpu/drm/bridge/nxp-ptn3460.c 	ptn_bridge->gpio_pd_n = devm_gpiod_get(&client->dev, "powerdown",
client            307 drivers/gpu/drm/bridge/nxp-ptn3460.c 	ptn_bridge->gpio_rst_n = devm_gpiod_get(&client->dev, "reset",
client            326 drivers/gpu/drm/bridge/nxp-ptn3460.c 	i2c_set_clientdata(client, ptn_bridge);
client            331 drivers/gpu/drm/bridge/nxp-ptn3460.c static int ptn3460_remove(struct i2c_client *client)
client            333 drivers/gpu/drm/bridge/nxp-ptn3460.c 	struct ptn3460_bridge *ptn_bridge = i2c_get_clientdata(client);
client             45 drivers/gpu/drm/bridge/parade-ps8622.c 	struct i2c_client *client;
client             72 drivers/gpu/drm/bridge/parade-ps8622.c static int ps8622_set(struct i2c_client *client, u8 page, u8 reg, u8 val)
client             75 drivers/gpu/drm/bridge/parade-ps8622.c 	struct i2c_adapter *adap = client->adapter;
client             79 drivers/gpu/drm/bridge/parade-ps8622.c 	msg.addr = client->addr + page;
client             87 drivers/gpu/drm/bridge/parade-ps8622.c 			client->addr + page, reg, val, ret);
client             93 drivers/gpu/drm/bridge/parade-ps8622.c 	struct i2c_client *cl = ps8622->client;
client            342 drivers/gpu/drm/bridge/parade-ps8622.c 	ret = ps8622_set(ps8622->client, 0x01, 0xa7, brightness);
client            524 drivers/gpu/drm/bridge/parade-ps8622.c static int ps8622_probe(struct i2c_client *client,
client            527 drivers/gpu/drm/bridge/parade-ps8622.c 	struct device *dev = &client->dev;
client            539 drivers/gpu/drm/bridge/parade-ps8622.c 	ps8622->client = client;
client            594 drivers/gpu/drm/bridge/parade-ps8622.c 	i2c_set_clientdata(client, ps8622);
client            599 drivers/gpu/drm/bridge/parade-ps8622.c static int ps8622_remove(struct i2c_client *client)
client            601 drivers/gpu/drm/bridge/parade-ps8622.c 	struct ps8622_bridge *ps8622 = i2c_get_clientdata(client);
client            949 drivers/gpu/drm/bridge/sii902x.c static int sii902x_probe(struct i2c_client *client,
client            952 drivers/gpu/drm/bridge/sii902x.c 	struct device *dev = &client->dev;
client            958 drivers/gpu/drm/bridge/sii902x.c 	ret = i2c_check_functionality(client->adapter,
client            969 drivers/gpu/drm/bridge/sii902x.c 	sii902x->i2c = client;
client            970 drivers/gpu/drm/bridge/sii902x.c 	sii902x->regmap = devm_regmap_init_i2c(client, &sii902x_regmap_config);
client           1007 drivers/gpu/drm/bridge/sii902x.c 	if (client->irq > 0) {
client           1011 drivers/gpu/drm/bridge/sii902x.c 		ret = devm_request_threaded_irq(dev, client->irq, NULL,
client           1026 drivers/gpu/drm/bridge/sii902x.c 	i2c_set_clientdata(client, sii902x);
client           1028 drivers/gpu/drm/bridge/sii902x.c 	sii902x->i2cmux = i2c_mux_alloc(client->adapter, dev,
client           1039 drivers/gpu/drm/bridge/sii902x.c static int sii902x_remove(struct i2c_client *client)
client           1042 drivers/gpu/drm/bridge/sii902x.c 	struct sii902x *sii902x = i2c_get_clientdata(client);
client            168 drivers/gpu/drm/bridge/sii9234.c 	struct i2c_client *client[4];
client            197 drivers/gpu/drm/bridge/sii9234.c 	struct i2c_client *client = ctx->client[id];
client            202 drivers/gpu/drm/bridge/sii9234.c 	ret = i2c_smbus_write_byte_data(client, offset, value);
client            215 drivers/gpu/drm/bridge/sii9234.c 	struct i2c_client *client = ctx->client[id];
client            220 drivers/gpu/drm/bridge/sii9234.c 	ret = i2c_smbus_write_byte(client, offset);
client            228 drivers/gpu/drm/bridge/sii9234.c 	ret = i2c_smbus_read_byte(client);
client            238 drivers/gpu/drm/bridge/sii9234.c 	ret = i2c_smbus_write_byte_data(client, offset, value);
client            251 drivers/gpu/drm/bridge/sii9234.c 	struct i2c_client *client = ctx->client[id];
client            256 drivers/gpu/drm/bridge/sii9234.c 	ret = i2c_smbus_write_byte(client, offset);
client            264 drivers/gpu/drm/bridge/sii9234.c 	ret = i2c_smbus_read_byte(client);
client            816 drivers/gpu/drm/bridge/sii9234.c 				  struct i2c_client *client)
client            818 drivers/gpu/drm/bridge/sii9234.c 	struct i2c_adapter *adapter = client->adapter;
client            842 drivers/gpu/drm/bridge/sii9234.c 	ctx->client[I2C_MHL] = client;
client            844 drivers/gpu/drm/bridge/sii9234.c 	ctx->client[I2C_TPI] = i2c_new_dummy(adapter, I2C_TPI_ADDR);
client            845 drivers/gpu/drm/bridge/sii9234.c 	if (!ctx->client[I2C_TPI]) {
client            850 drivers/gpu/drm/bridge/sii9234.c 	ctx->client[I2C_HDMI] = i2c_new_dummy(adapter, I2C_HDMI_ADDR);
client            851 drivers/gpu/drm/bridge/sii9234.c 	if (!ctx->client[I2C_HDMI]) {
client            856 drivers/gpu/drm/bridge/sii9234.c 	ctx->client[I2C_CBUS] = i2c_new_dummy(adapter, I2C_CBUS_ADDR);
client            857 drivers/gpu/drm/bridge/sii9234.c 	if (!ctx->client[I2C_CBUS]) {
client            865 drivers/gpu/drm/bridge/sii9234.c 	i2c_unregister_device(ctx->client[I2C_HDMI]);
client            867 drivers/gpu/drm/bridge/sii9234.c 	i2c_unregister_device(ctx->client[I2C_TPI]);
client            874 drivers/gpu/drm/bridge/sii9234.c 	i2c_unregister_device(ctx->client[I2C_CBUS]);
client            875 drivers/gpu/drm/bridge/sii9234.c 	i2c_unregister_device(ctx->client[I2C_HDMI]);
client            876 drivers/gpu/drm/bridge/sii9234.c 	i2c_unregister_device(ctx->client[I2C_TPI]);
client            897 drivers/gpu/drm/bridge/sii9234.c static int sii9234_probe(struct i2c_client *client,
client            900 drivers/gpu/drm/bridge/sii9234.c 	struct i2c_adapter *adapter = client->adapter;
client            902 drivers/gpu/drm/bridge/sii9234.c 	struct device *dev = &client->dev;
client            917 drivers/gpu/drm/bridge/sii9234.c 	if (!client->irq) {
client            922 drivers/gpu/drm/bridge/sii9234.c 	irq_set_status_flags(client->irq, IRQ_NOAUTOEN);
client            923 drivers/gpu/drm/bridge/sii9234.c 	ret = devm_request_threaded_irq(dev, client->irq, NULL,
client            932 drivers/gpu/drm/bridge/sii9234.c 	ret = sii9234_init_resources(ctx, client);
client            936 drivers/gpu/drm/bridge/sii9234.c 	i2c_set_clientdata(client, ctx);
client            947 drivers/gpu/drm/bridge/sii9234.c static int sii9234_remove(struct i2c_client *client)
client            949 drivers/gpu/drm/bridge/sii9234.c 	struct sii9234 *ctx = i2c_get_clientdata(client);
client            147 drivers/gpu/drm/bridge/sil-sii8620.c 	struct i2c_client *client = to_i2c_client(dev);
client            152 drivers/gpu/drm/bridge/sil-sii8620.c 			.flags = client->flags,
client            158 drivers/gpu/drm/bridge/sil-sii8620.c 			.flags = client->flags | I2C_M_RD,
client            168 drivers/gpu/drm/bridge/sil-sii8620.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            190 drivers/gpu/drm/bridge/sil-sii8620.c 	struct i2c_client *client = to_i2c_client(dev);
client            194 drivers/gpu/drm/bridge/sil-sii8620.c 		.flags = client->flags,
client            216 drivers/gpu/drm/bridge/sil-sii8620.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client           2280 drivers/gpu/drm/bridge/sil-sii8620.c static int sii8620_probe(struct i2c_client *client,
client           2283 drivers/gpu/drm/bridge/sil-sii8620.c 	struct device *dev = &client->dev;
client           2301 drivers/gpu/drm/bridge/sil-sii8620.c 	if (!client->irq) {
client           2305 drivers/gpu/drm/bridge/sil-sii8620.c 	irq_set_status_flags(client->irq, IRQ_NOAUTOEN);
client           2306 drivers/gpu/drm/bridge/sil-sii8620.c 	ret = devm_request_threaded_irq(dev, client->irq, NULL,
client           2333 drivers/gpu/drm/bridge/sil-sii8620.c 	i2c_set_clientdata(client, ctx);
client           2345 drivers/gpu/drm/bridge/sil-sii8620.c static int sii8620_remove(struct i2c_client *client)
client           2347 drivers/gpu/drm/bridge/sil-sii8620.c 	struct sii8620 *ctx = i2c_get_clientdata(client);
client           1519 drivers/gpu/drm/bridge/tc358767.c static int tc_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1521 drivers/gpu/drm/bridge/tc358767.c 	struct device *dev = &client->dev;
client           1563 drivers/gpu/drm/bridge/tc358767.c 	tc->regmap = devm_regmap_init_i2c(client, &tc_regmap_config);
client           1581 drivers/gpu/drm/bridge/tc358767.c 	if (client->irq > 0) {
client           1585 drivers/gpu/drm/bridge/tc358767.c 		ret = devm_request_threaded_irq(dev, client->irq,
client           1658 drivers/gpu/drm/bridge/tc358767.c 	i2c_set_clientdata(client, tc);
client           1663 drivers/gpu/drm/bridge/tc358767.c static int tc_remove(struct i2c_client *client)
client           1665 drivers/gpu/drm/bridge/tc358767.c 	struct tc_data *tc = i2c_get_clientdata(client);
client            697 drivers/gpu/drm/bridge/ti-sn65dsi86.c static int ti_sn_bridge_probe(struct i2c_client *client,
client            703 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            708 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	pdata = devm_kzalloc(&client->dev, sizeof(struct ti_sn_bridge),
client            713 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	pdata->regmap = devm_regmap_init_i2c(client,
client            720 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	pdata->dev = &client->dev;
client            729 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	dev_set_drvdata(&client->dev, pdata);
client            760 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	i2c_set_clientdata(client, pdata);
client            768 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	pdata->bridge.of_node = client->dev.of_node;
client            777 drivers/gpu/drm/bridge/ti-sn65dsi86.c static int ti_sn_bridge_remove(struct i2c_client *client)
client            779 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	struct ti_sn_bridge *pdata = i2c_get_clientdata(client);
client            422 drivers/gpu/drm/bridge/ti-tfp410.c static int tfp410_i2c_probe(struct i2c_client *client,
client            427 drivers/gpu/drm/bridge/ti-tfp410.c 	if (!client->dev.of_node ||
client            428 drivers/gpu/drm/bridge/ti-tfp410.c 	    of_property_read_u32(client->dev.of_node, "reg", &reg)) {
client            429 drivers/gpu/drm/bridge/ti-tfp410.c 		dev_err(&client->dev,
client            434 drivers/gpu/drm/bridge/ti-tfp410.c 	return tfp410_init(&client->dev, true);
client            437 drivers/gpu/drm/bridge/ti-tfp410.c static int tfp410_i2c_remove(struct i2c_client *client)
client            439 drivers/gpu/drm/bridge/ti-tfp410.c 	return tfp410_fini(&client->dev);
client             34 drivers/gpu/drm/drm_client.c static int drm_client_open(struct drm_client_dev *client)
client             36 drivers/gpu/drm/drm_client.c 	struct drm_device *dev = client->dev;
client             47 drivers/gpu/drm/drm_client.c 	client->file = file;
client             52 drivers/gpu/drm/drm_client.c static void drm_client_close(struct drm_client_dev *client)
client             54 drivers/gpu/drm/drm_client.c 	struct drm_device *dev = client->dev;
client             57 drivers/gpu/drm/drm_client.c 	list_del(&client->file->lhead);
client             60 drivers/gpu/drm/drm_client.c 	drm_file_free(client->file);
client             78 drivers/gpu/drm/drm_client.c int drm_client_init(struct drm_device *dev, struct drm_client_dev *client,
client             89 drivers/gpu/drm/drm_client.c 	client->dev = dev;
client             90 drivers/gpu/drm/drm_client.c 	client->name = name;
client             91 drivers/gpu/drm/drm_client.c 	client->funcs = funcs;
client             93 drivers/gpu/drm/drm_client.c 	ret = drm_client_modeset_create(client);
client             97 drivers/gpu/drm/drm_client.c 	ret = drm_client_open(client);
client            106 drivers/gpu/drm/drm_client.c 	drm_client_modeset_free(client);
client            125 drivers/gpu/drm/drm_client.c void drm_client_register(struct drm_client_dev *client)
client            127 drivers/gpu/drm/drm_client.c 	struct drm_device *dev = client->dev;
client            130 drivers/gpu/drm/drm_client.c 	list_add(&client->list, &dev->clientlist);
client            149 drivers/gpu/drm/drm_client.c void drm_client_release(struct drm_client_dev *client)
client            151 drivers/gpu/drm/drm_client.c 	struct drm_device *dev = client->dev;
client            153 drivers/gpu/drm/drm_client.c 	DRM_DEV_DEBUG_KMS(dev->dev, "%s\n", client->name);
client            155 drivers/gpu/drm/drm_client.c 	drm_client_modeset_free(client);
client            156 drivers/gpu/drm/drm_client.c 	drm_client_close(client);
client            158 drivers/gpu/drm/drm_client.c 	if (client->funcs)
client            159 drivers/gpu/drm/drm_client.c 		module_put(client->funcs->owner);
client            165 drivers/gpu/drm/drm_client.c 	struct drm_client_dev *client, *tmp;
client            171 drivers/gpu/drm/drm_client.c 	list_for_each_entry_safe(client, tmp, &dev->clientlist, list) {
client            172 drivers/gpu/drm/drm_client.c 		list_del(&client->list);
client            173 drivers/gpu/drm/drm_client.c 		if (client->funcs && client->funcs->unregister) {
client            174 drivers/gpu/drm/drm_client.c 			client->funcs->unregister(client);
client            176 drivers/gpu/drm/drm_client.c 			drm_client_release(client);
client            177 drivers/gpu/drm/drm_client.c 			kfree(client);
client            194 drivers/gpu/drm/drm_client.c 	struct drm_client_dev *client;
client            201 drivers/gpu/drm/drm_client.c 	list_for_each_entry(client, &dev->clientlist, list) {
client            202 drivers/gpu/drm/drm_client.c 		if (!client->funcs || !client->funcs->hotplug)
client            205 drivers/gpu/drm/drm_client.c 		ret = client->funcs->hotplug(client);
client            206 drivers/gpu/drm/drm_client.c 		DRM_DEV_DEBUG_KMS(dev->dev, "%s: ret=%d\n", client->name, ret);
client            214 drivers/gpu/drm/drm_client.c 	struct drm_client_dev *client;
client            221 drivers/gpu/drm/drm_client.c 	list_for_each_entry(client, &dev->clientlist, list) {
client            222 drivers/gpu/drm/drm_client.c 		if (!client->funcs || !client->funcs->restore)
client            225 drivers/gpu/drm/drm_client.c 		ret = client->funcs->restore(client);
client            226 drivers/gpu/drm/drm_client.c 		DRM_DEV_DEBUG_KMS(dev->dev, "%s: ret=%d\n", client->name, ret);
client            235 drivers/gpu/drm/drm_client.c 	struct drm_device *dev = buffer->client->dev;
client            243 drivers/gpu/drm/drm_client.c 		drm_mode_destroy_dumb(dev, buffer->handle, buffer->client->file);
client            249 drivers/gpu/drm/drm_client.c drm_client_buffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format)
client            253 drivers/gpu/drm/drm_client.c 	struct drm_device *dev = client->dev;
client            262 drivers/gpu/drm/drm_client.c 	buffer->client = client;
client            267 drivers/gpu/drm/drm_client.c 	ret = drm_mode_create_dumb(dev, &dumb_args, client->file);
client            274 drivers/gpu/drm/drm_client.c 	obj = drm_gem_object_lookup(client->file, dumb_args.handle);
client            352 drivers/gpu/drm/drm_client.c 	ret = drm_mode_rmfb(buffer->client->dev, buffer->fb->base.id, buffer->client->file);
client            354 drivers/gpu/drm/drm_client.c 		DRM_DEV_ERROR(buffer->client->dev->dev,
client            363 drivers/gpu/drm/drm_client.c 	struct drm_client_dev *client = buffer->client;
client            376 drivers/gpu/drm/drm_client.c 	ret = drm_mode_addfb(client->dev, &fb_req, client->file);
client            380 drivers/gpu/drm/drm_client.c 	buffer->fb = drm_framebuffer_lookup(client->dev, buffer->client->file, fb_req.fb_id);
client            387 drivers/gpu/drm/drm_client.c 	strscpy(buffer->fb->comm, client->name, TASK_COMM_LEN);
client            407 drivers/gpu/drm/drm_client.c drm_client_framebuffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format)
client            412 drivers/gpu/drm/drm_client.c 	buffer = drm_client_buffer_create(client, width, height, format);
client            446 drivers/gpu/drm/drm_client.c 	struct drm_client_dev *client;
client            449 drivers/gpu/drm/drm_client.c 	list_for_each_entry(client, &dev->clientlist, list)
client            450 drivers/gpu/drm/drm_client.c 		drm_printf(&p, "%s\n", client->name);
client             32 drivers/gpu/drm/drm_client_modeset.c int drm_client_modeset_create(struct drm_client_dev *client)
client             34 drivers/gpu/drm/drm_client_modeset.c 	struct drm_device *dev = client->dev;
client             42 drivers/gpu/drm/drm_client_modeset.c 	client->modesets = kcalloc(num_crtc + 1, sizeof(*client->modesets), GFP_KERNEL);
client             43 drivers/gpu/drm/drm_client_modeset.c 	if (!client->modesets)
client             46 drivers/gpu/drm/drm_client_modeset.c 	mutex_init(&client->modeset_mutex);
client             49 drivers/gpu/drm/drm_client_modeset.c 		client->modesets[i++].crtc = crtc;
client             55 drivers/gpu/drm/drm_client_modeset.c 	for (modeset = client->modesets; modeset->crtc; modeset++) {
client             65 drivers/gpu/drm/drm_client_modeset.c 	drm_client_modeset_free(client);
client             70 drivers/gpu/drm/drm_client_modeset.c static void drm_client_modeset_release(struct drm_client_dev *client)
client             75 drivers/gpu/drm/drm_client_modeset.c 	drm_client_for_each_modeset(modeset, client) {
client             76 drivers/gpu/drm/drm_client_modeset.c 		drm_mode_destroy(client->dev, modeset->mode);
client             88 drivers/gpu/drm/drm_client_modeset.c void drm_client_modeset_free(struct drm_client_dev *client)
client             92 drivers/gpu/drm/drm_client_modeset.c 	mutex_lock(&client->modeset_mutex);
client             94 drivers/gpu/drm/drm_client_modeset.c 	drm_client_modeset_release(client);
client             96 drivers/gpu/drm/drm_client_modeset.c 	drm_client_for_each_modeset(modeset, client)
client             99 drivers/gpu/drm/drm_client_modeset.c 	mutex_unlock(&client->modeset_mutex);
client            101 drivers/gpu/drm/drm_client_modeset.c 	mutex_destroy(&client->modeset_mutex);
client            102 drivers/gpu/drm/drm_client_modeset.c 	kfree(client->modesets);
client            106 drivers/gpu/drm/drm_client_modeset.c drm_client_find_modeset(struct drm_client_dev *client, struct drm_crtc *crtc)
client            110 drivers/gpu/drm/drm_client_modeset.c 	drm_client_for_each_modeset(modeset, client)
client            428 drivers/gpu/drm/drm_client_modeset.c static int drm_client_pick_crtcs(struct drm_client_dev *client,
client            435 drivers/gpu/drm/drm_client_modeset.c 	struct drm_device *dev = client->dev;
client            448 drivers/gpu/drm/drm_client_modeset.c 	best_score = drm_client_pick_crtcs(client, connectors, connector_count,
client            469 drivers/gpu/drm/drm_client_modeset.c 	drm_client_for_each_modeset(modeset, client) {
client            490 drivers/gpu/drm/drm_client_modeset.c 		score = my_score + drm_client_pick_crtcs(client, connectors, connector_count,
client            503 drivers/gpu/drm/drm_client_modeset.c static bool drm_client_firmware_config(struct drm_client_dev *client,
client            513 drivers/gpu/drm/drm_client_modeset.c 	struct drm_device *dev = client->dev;
client            690 drivers/gpu/drm/drm_client_modeset.c int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width, unsigned int height)
client            694 drivers/gpu/drm/drm_client_modeset.c 	struct drm_device *dev = client->dev;
client            739 drivers/gpu/drm/drm_client_modeset.c 	mutex_lock(&client->modeset_mutex);
client            748 drivers/gpu/drm/drm_client_modeset.c 	if (!drm_client_firmware_config(client, connectors, connector_count, crtcs,
client            763 drivers/gpu/drm/drm_client_modeset.c 		drm_client_pick_crtcs(client, connectors, connector_count,
client            768 drivers/gpu/drm/drm_client_modeset.c 	drm_client_modeset_release(client);
client            776 drivers/gpu/drm/drm_client_modeset.c 			struct drm_mode_set *modeset = drm_client_find_modeset(client, crtc);
client            796 drivers/gpu/drm/drm_client_modeset.c 	mutex_unlock(&client->modeset_mutex);
client            898 drivers/gpu/drm/drm_client_modeset.c static int drm_client_modeset_commit_atomic(struct drm_client_dev *client, bool active)
client            900 drivers/gpu/drm/drm_client_modeset.c 	struct drm_device *dev = client->dev;
client            937 drivers/gpu/drm/drm_client_modeset.c 	drm_client_for_each_modeset(mode_set, client) {
client            985 drivers/gpu/drm/drm_client_modeset.c static int drm_client_modeset_commit_legacy(struct drm_client_dev *client)
client            987 drivers/gpu/drm/drm_client_modeset.c 	struct drm_device *dev = client->dev;
client           1003 drivers/gpu/drm/drm_client_modeset.c 	drm_client_for_each_modeset(mode_set, client) {
client           1035 drivers/gpu/drm/drm_client_modeset.c int drm_client_modeset_commit_force(struct drm_client_dev *client)
client           1037 drivers/gpu/drm/drm_client_modeset.c 	struct drm_device *dev = client->dev;
client           1040 drivers/gpu/drm/drm_client_modeset.c 	mutex_lock(&client->modeset_mutex);
client           1042 drivers/gpu/drm/drm_client_modeset.c 		ret = drm_client_modeset_commit_atomic(client, true);
client           1044 drivers/gpu/drm/drm_client_modeset.c 		ret = drm_client_modeset_commit_legacy(client);
client           1045 drivers/gpu/drm/drm_client_modeset.c 	mutex_unlock(&client->modeset_mutex);
client           1060 drivers/gpu/drm/drm_client_modeset.c int drm_client_modeset_commit(struct drm_client_dev *client)
client           1062 drivers/gpu/drm/drm_client_modeset.c 	struct drm_device *dev = client->dev;
client           1068 drivers/gpu/drm/drm_client_modeset.c 	ret = drm_client_modeset_commit_force(client);
client           1076 drivers/gpu/drm/drm_client_modeset.c static void drm_client_modeset_dpms_legacy(struct drm_client_dev *client, int dpms_mode)
client           1078 drivers/gpu/drm/drm_client_modeset.c 	struct drm_device *dev = client->dev;
client           1084 drivers/gpu/drm/drm_client_modeset.c 	drm_client_for_each_modeset(modeset, client) {
client           1108 drivers/gpu/drm/drm_client_modeset.c int drm_client_modeset_dpms(struct drm_client_dev *client, int mode)
client           1110 drivers/gpu/drm/drm_client_modeset.c 	struct drm_device *dev = client->dev;
client           1116 drivers/gpu/drm/drm_client_modeset.c 	mutex_lock(&client->modeset_mutex);
client           1118 drivers/gpu/drm/drm_client_modeset.c 		ret = drm_client_modeset_commit_atomic(client, mode == DRM_MODE_DPMS_ON);
client           1120 drivers/gpu/drm/drm_client_modeset.c 		drm_client_modeset_dpms_legacy(client, mode);
client           1121 drivers/gpu/drm/drm_client_modeset.c 	mutex_unlock(&client->modeset_mutex);
client             58 drivers/gpu/drm/drm_encoder_slave.c 	struct i2c_client *client;
client             64 drivers/gpu/drm/drm_encoder_slave.c 	client = i2c_new_device(adap, info);
client             65 drivers/gpu/drm/drm_encoder_slave.c 	if (!client) {
client             70 drivers/gpu/drm/drm_encoder_slave.c 	if (!client->dev.driver) {
client             75 drivers/gpu/drm/drm_encoder_slave.c 	module = client->dev.driver->owner;
client             81 drivers/gpu/drm/drm_encoder_slave.c 	encoder->bus_priv = client;
client             83 drivers/gpu/drm/drm_encoder_slave.c 	encoder_drv = to_drm_i2c_encoder_driver(to_i2c_driver(client->dev.driver));
client             85 drivers/gpu/drm/drm_encoder_slave.c 	err = encoder_drv->encoder_init(client, dev, encoder);
client             96 drivers/gpu/drm/drm_encoder_slave.c 	i2c_unregister_device(client);
client            113 drivers/gpu/drm/drm_encoder_slave.c 	struct i2c_client *client = drm_i2c_encoder_get_client(drm_encoder);
client            114 drivers/gpu/drm/drm_encoder_slave.c 	struct module *module = client->dev.driver->owner;
client            116 drivers/gpu/drm/drm_encoder_slave.c 	i2c_unregister_device(client);
client            159 drivers/gpu/drm/drm_fb_helper.c 		mutex_lock(&helper->client.modeset_mutex);
client            160 drivers/gpu/drm/drm_fb_helper.c 		drm_client_for_each_modeset(mode_set, &helper->client) {
client            177 drivers/gpu/drm/drm_fb_helper.c 		mutex_unlock(&helper->client.modeset_mutex);
client            191 drivers/gpu/drm/drm_fb_helper.c 	struct drm_client_dev *client = &helper->client;
client            197 drivers/gpu/drm/drm_fb_helper.c 	mutex_lock(&client->modeset_mutex);
client            198 drivers/gpu/drm/drm_fb_helper.c 	drm_client_for_each_modeset(mode_set, client) {
client            221 drivers/gpu/drm/drm_fb_helper.c 	mutex_unlock(&client->modeset_mutex);
client            260 drivers/gpu/drm/drm_fb_helper.c 	ret = drm_client_modeset_commit_force(&fb_helper->client);
client            294 drivers/gpu/drm/drm_fb_helper.c 		ret = drm_client_modeset_commit_force(&helper->client);
client            331 drivers/gpu/drm/drm_fb_helper.c 	drm_client_modeset_dpms(&fb_helper->client, dpms_mode);
client            487 drivers/gpu/drm/drm_fb_helper.c 	if (!fb_helper->client.funcs) {
client            488 drivers/gpu/drm/drm_fb_helper.c 		ret = drm_client_init(dev, &fb_helper->client, "drm_fb_helper", NULL);
client            600 drivers/gpu/drm/drm_fb_helper.c 	if (!fb_helper->client.funcs)
client            601 drivers/gpu/drm/drm_fb_helper.c 		drm_client_release(&fb_helper->client);
client            962 drivers/gpu/drm/drm_fb_helper.c 	drm_client_for_each_modeset(modeset, &fb_helper->client) {
client           1055 drivers/gpu/drm/drm_fb_helper.c 	drm_client_for_each_modeset(modeset, &fb_helper->client) {
client           1084 drivers/gpu/drm/drm_fb_helper.c 	drm_client_for_each_modeset(modeset, &fb_helper->client) {
client           1135 drivers/gpu/drm/drm_fb_helper.c 	mutex_lock(&fb_helper->client.modeset_mutex);
client           1142 drivers/gpu/drm/drm_fb_helper.c 	mutex_unlock(&fb_helper->client.modeset_mutex);
client           1193 drivers/gpu/drm/drm_fb_helper.c 		crtc = fb_helper->client.modesets[0].crtc;
client           1397 drivers/gpu/drm/drm_fb_helper.c 	mutex_lock(&fb_helper->client.modeset_mutex);
client           1398 drivers/gpu/drm/drm_fb_helper.c 	drm_client_for_each_modeset(mode_set, &fb_helper->client) {
client           1402 drivers/gpu/drm/drm_fb_helper.c 	mutex_unlock(&fb_helper->client.modeset_mutex);
client           1413 drivers/gpu/drm/drm_fb_helper.c 	ret = drm_client_modeset_commit_force(&fb_helper->client);
client           1427 drivers/gpu/drm/drm_fb_helper.c 	struct drm_client_dev *client = &fb_helper->client;
client           1431 drivers/gpu/drm/drm_fb_helper.c 	mutex_lock(&client->modeset_mutex);
client           1433 drivers/gpu/drm/drm_fb_helper.c 	drm_client_for_each_modeset(modeset, client) {
client           1446 drivers/gpu/drm/drm_fb_helper.c 	mutex_unlock(&client->modeset_mutex);
client           1492 drivers/gpu/drm/drm_fb_helper.c 	struct drm_client_dev *client = &fb_helper->client;
client           1550 drivers/gpu/drm/drm_fb_helper.c 	mutex_lock(&client->modeset_mutex);
client           1551 drivers/gpu/drm/drm_fb_helper.c 	drm_client_for_each_modeset(mode_set, client) {
client           1596 drivers/gpu/drm/drm_fb_helper.c 	drm_client_for_each_modeset(mode_set, client) {
client           1634 drivers/gpu/drm/drm_fb_helper.c 	mutex_unlock(&client->modeset_mutex);
client           1641 drivers/gpu/drm/drm_fb_helper.c 			drm_client_modeset_commit(client);
client           1737 drivers/gpu/drm/drm_fb_helper.c 	struct drm_client_dev *client = &fb_helper->client;
client           1744 drivers/gpu/drm/drm_fb_helper.c 	mutex_lock(&client->modeset_mutex);
client           1745 drivers/gpu/drm/drm_fb_helper.c 	drm_client_for_each_modeset(modeset, client) {
client           1757 drivers/gpu/drm/drm_fb_helper.c 	mutex_unlock(&client->modeset_mutex);
client           1807 drivers/gpu/drm/drm_fb_helper.c 	drm_client_modeset_probe(&fb_helper->client, width, height);
client           1954 drivers/gpu/drm/drm_fb_helper.c 	drm_client_modeset_probe(&fb_helper->client, fb_helper->fb->width, fb_helper->fb->height);
client           2144 drivers/gpu/drm/drm_fb_helper.c 	drm_client_release(&fb_helper->client);
client           2202 drivers/gpu/drm/drm_fb_helper.c 	struct drm_client_dev *client = &fb_helper->client;
client           2214 drivers/gpu/drm/drm_fb_helper.c 	buffer = drm_client_framebuffer_create(client, sizes->surface_width,
client           2278 drivers/gpu/drm/drm_fb_helper.c static void drm_fbdev_client_unregister(struct drm_client_dev *client)
client           2280 drivers/gpu/drm/drm_fb_helper.c 	struct drm_fb_helper *fb_helper = drm_fb_helper_from_client(client);
client           2289 drivers/gpu/drm/drm_fb_helper.c static int drm_fbdev_client_restore(struct drm_client_dev *client)
client           2291 drivers/gpu/drm/drm_fb_helper.c 	drm_fb_helper_lastclose(client->dev);
client           2296 drivers/gpu/drm/drm_fb_helper.c static int drm_fbdev_client_hotplug(struct drm_client_dev *client)
client           2298 drivers/gpu/drm/drm_fb_helper.c 	struct drm_fb_helper *fb_helper = drm_fb_helper_from_client(client);
client           2299 drivers/gpu/drm/drm_fb_helper.c 	struct drm_device *dev = client->dev;
client           2387 drivers/gpu/drm/drm_fb_helper.c 	ret = drm_client_init(dev, &fb_helper->client, "fbdev", &drm_fbdev_client_funcs);
client           2400 drivers/gpu/drm/drm_fb_helper.c 	ret = drm_fbdev_client_hotplug(&fb_helper->client);
client           2404 drivers/gpu/drm/drm_fb_helper.c 	drm_client_register(&fb_helper->client);
client            262 drivers/gpu/drm/drm_ioc32.c 	struct drm_client client;
client            268 drivers/gpu/drm/drm_ioc32.c 	client.idx = c32.idx;
client            270 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_getclient, &client, 0);
client            274 drivers/gpu/drm/drm_ioc32.c 	c32.idx = client.idx;
client            275 drivers/gpu/drm/drm_ioc32.c 	c32.auth = client.auth;
client            276 drivers/gpu/drm/drm_ioc32.c 	c32.pid = client.pid;
client            277 drivers/gpu/drm/drm_ioc32.c 	c32.uid = client.uid;
client            278 drivers/gpu/drm/drm_ioc32.c 	c32.magic = client.magic;
client            279 drivers/gpu/drm/drm_ioc32.c 	c32.iocs = client.iocs;
client            185 drivers/gpu/drm/drm_ioctl.c 	struct drm_client *client = data;
client            198 drivers/gpu/drm/drm_ioctl.c 	if (client->idx == 0) {
client            199 drivers/gpu/drm/drm_ioctl.c 		client->auth = file_priv->authenticated;
client            200 drivers/gpu/drm/drm_ioctl.c 		client->pid = task_pid_vnr(current);
client            201 drivers/gpu/drm/drm_ioctl.c 		client->uid = overflowuid;
client            202 drivers/gpu/drm/drm_ioctl.c 		client->magic = 0;
client            203 drivers/gpu/drm/drm_ioctl.c 		client->iocs = 0;
client            224 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c static int tc35876x_regw(struct i2c_client *client, u16 reg, u32 value)
client            238 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 			.addr = client->addr,
client            245 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	r = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            247 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 		dev_err(&client->dev, "%s: reg 0x%04x val 0x%08x error %d\n",
client            253 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 		dev_err(&client->dev, "%s: reg 0x%04x val 0x%08x msgs %d\n",
client            258 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	dev_dbg(&client->dev, "%s: reg 0x%04x val 0x%08x\n",
client            272 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c static int tc35876x_regr(struct i2c_client *client, u16 reg, u32 *value)
client            282 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 			.addr = client->addr,
client            288 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 			.addr = client->addr,
client            295 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	r = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            297 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 		dev_err(&client->dev, "%s: reg 0x%04x error %d\n", __func__,
client            303 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 		dev_err(&client->dev, "%s: reg 0x%04x msgs %d\n", __func__,
client            311 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	dev_dbg(&client->dev, "%s: reg 0x%04x value 0x%08x\n", __func__,
client            635 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c static int tc35876x_bridge_probe(struct i2c_client *client,
client            640 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	dev_info(&client->dev, "%s\n", __func__);
client            642 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            643 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 		dev_err(&client->dev, "%s: i2c_check_functionality() failed\n",
client            648 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	pdata = dev_get_platdata(&client->dev);
client            650 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 		dev_err(&client->dev, "%s: no platform data\n", __func__);
client            669 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	tc35876x_client = client;
client            674 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c static int tc35876x_bridge_remove(struct i2c_client *client)
client            676 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	struct tc35876x_platform_data *pdata = dev_get_platdata(&client->dev);
client            678 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            710 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c static int cmi_lcd_i2c_probe(struct i2c_client *client,
client            713 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	dev_info(&client->dev, "%s\n", __func__);
client            715 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            716 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 		dev_err(&client->dev, "%s: i2c_check_functionality() failed\n",
client            721 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	cmi_lcd_i2c_client = client;
client            726 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c static int cmi_lcd_i2c_remove(struct i2c_client *client)
client            728 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            757 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	struct i2c_client *client;
client            772 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	client = i2c_new_device(adapter, &info);
client            773 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c 	if (!client) {
client             55 drivers/gpu/drm/i2c/ch7006_drv.c 	struct i2c_client *client = drm_i2c_encoder_get_client(encoder);
client             59 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_dbg(client, "\n");
client             67 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_load_reg(client, state, CH7006_POWER);
client             72 drivers/gpu/drm/i2c/ch7006_drv.c 	struct i2c_client *client = drm_i2c_encoder_get_client(encoder);
client             75 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_dbg(client, "\n");
client             77 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_state_save(client, &priv->saved_state);
client             82 drivers/gpu/drm/i2c/ch7006_drv.c 	struct i2c_client *client = drm_i2c_encoder_get_client(encoder);
client             85 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_dbg(client, "\n");
client             87 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_state_load(client, &priv->saved_state);
client            117 drivers/gpu/drm/i2c/ch7006_drv.c 	struct i2c_client *client = drm_i2c_encoder_get_client(encoder);
client            126 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_dbg(client, "\n");
client            174 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_state_load(client, state);
client            180 drivers/gpu/drm/i2c/ch7006_drv.c 	struct i2c_client *client = drm_i2c_encoder_get_client(encoder);
client            185 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_dbg(client, "\n");
client            187 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_save_reg(client, state, CH7006_DETECT);
client            188 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_save_reg(client, state, CH7006_POWER);
client            189 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_save_reg(client, state, CH7006_CLKMODE);
client            191 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_write(client, CH7006_POWER, CH7006_POWER_RESET |
client            193 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_write(client, CH7006_CLKMODE, CH7006_CLKMODE_MASTER);
client            195 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_write(client, CH7006_DETECT, CH7006_DETECT_SENSE);
client            197 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_write(client, CH7006_DETECT, 0);
client            199 drivers/gpu/drm/i2c/ch7006_drv.c 	det = ch7006_read(client, CH7006_DETECT);
client            201 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_load_reg(client, state, CH7006_CLKMODE);
client            202 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_load_reg(client, state, CH7006_POWER);
client            203 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_load_reg(client, state, CH7006_DETECT);
client            286 drivers/gpu/drm/i2c/ch7006_drv.c 	struct i2c_client *client = drm_i2c_encoder_get_client(encoder);
client            293 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_dbg(client, "\n");
client            300 drivers/gpu/drm/i2c/ch7006_drv.c 		ch7006_load_reg(client, state, CH7006_POWER);
client            307 drivers/gpu/drm/i2c/ch7006_drv.c 		ch7006_load_reg(client, state, CH7006_POV);
client            308 drivers/gpu/drm/i2c/ch7006_drv.c 		ch7006_load_reg(client, state, CH7006_HPOS);
client            315 drivers/gpu/drm/i2c/ch7006_drv.c 		ch7006_load_reg(client, state, CH7006_POV);
client            316 drivers/gpu/drm/i2c/ch7006_drv.c 		ch7006_load_reg(client, state, CH7006_VPOS);
client            331 drivers/gpu/drm/i2c/ch7006_drv.c 		ch7006_load_reg(client, state, CH7006_BLACK_LEVEL);
client            338 drivers/gpu/drm/i2c/ch7006_drv.c 		ch7006_load_reg(client, state, CH7006_CONTRAST);
client            345 drivers/gpu/drm/i2c/ch7006_drv.c 		ch7006_load_reg(client, state, CH7006_FFILTER);
client            389 drivers/gpu/drm/i2c/ch7006_drv.c static int ch7006_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            395 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_dbg(client, "\n");
client            397 drivers/gpu/drm/i2c/ch7006_drv.c 	ret = i2c_master_send(client, &addr, sizeof(addr));
client            401 drivers/gpu/drm/i2c/ch7006_drv.c 	ret = i2c_master_recv(client, &val, sizeof(val));
client            405 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_info(client, "Detected version ID: %x\n", val);
client            410 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_write(client, 0x3d, 0x0);
client            415 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_err(client, "Error %d reading version ID\n", ret);
client            420 drivers/gpu/drm/i2c/ch7006_drv.c static int ch7006_remove(struct i2c_client *client)
client            422 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_dbg(client, "\n");
client            429 drivers/gpu/drm/i2c/ch7006_drv.c 	struct i2c_client *client = to_i2c_client(dev);
client            431 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_dbg(client, "\n");
client            433 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_write(client, 0x3d, 0x0);
client            438 drivers/gpu/drm/i2c/ch7006_drv.c static int ch7006_encoder_init(struct i2c_client *client,
client            445 drivers/gpu/drm/i2c/ch7006_drv.c 	ch7006_dbg(client, "\n");
client            464 drivers/gpu/drm/i2c/ch7006_drv.c 	priv->chip_version = ch7006_read(client, CH7006_VERSION_ID);
client            475 drivers/gpu/drm/i2c/ch7006_drv.c 			ch7006_err(client, "Invalid TV norm setting \"%s\".\n",
client            482 drivers/gpu/drm/i2c/ch7006_drv.c 		ch7006_err(client, "Invalid scale setting \"%d\".\n",
client            202 drivers/gpu/drm/i2c/ch7006_mode.c 	struct i2c_client *client = drm_i2c_encoder_get_client(encoder);
client            228 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_dbg(client, "black level: %d\n", black_level);
client            233 drivers/gpu/drm/i2c/ch7006_mode.c 	struct i2c_client *client = drm_i2c_encoder_get_client(encoder);
client            252 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_dbg(client, "subcarrier inc: %u\n", subc_inc);
client            257 drivers/gpu/drm/i2c/ch7006_mode.c 	struct i2c_client *client = drm_i2c_encoder_get_client(encoder);
client            289 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_dbg(client, "n=%d m=%d f=%d c=%d\n",
client            328 drivers/gpu/drm/i2c/ch7006_mode.c 	struct i2c_client *client = drm_i2c_encoder_get_client(encoder);
client            364 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_dbg(client, "hpos: %d, vpos: %d\n", hpos, vpos);
client            369 drivers/gpu/drm/i2c/ch7006_mode.c void ch7006_write(struct i2c_client *client, uint8_t addr, uint8_t val)
client            374 drivers/gpu/drm/i2c/ch7006_mode.c 	ret = i2c_master_send(client, buf, ARRAY_SIZE(buf));
client            376 drivers/gpu/drm/i2c/ch7006_mode.c 		ch7006_err(client, "Error %d writing to subaddress 0x%x\n",
client            380 drivers/gpu/drm/i2c/ch7006_mode.c uint8_t ch7006_read(struct i2c_client *client, uint8_t addr)
client            385 drivers/gpu/drm/i2c/ch7006_mode.c 	ret = i2c_master_send(client, &addr, sizeof(addr));
client            389 drivers/gpu/drm/i2c/ch7006_mode.c 	ret = i2c_master_recv(client, &val, sizeof(val));
client            396 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_err(client, "Error %d reading from subaddress 0x%x\n",
client            401 drivers/gpu/drm/i2c/ch7006_mode.c void ch7006_state_load(struct i2c_client *client,
client            404 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_POWER);
client            406 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_DISPMODE);
client            407 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_FFILTER);
client            408 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_BWIDTH);
client            409 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_INPUT_FORMAT);
client            410 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_CLKMODE);
client            411 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_START_ACTIVE);
client            412 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_POV);
client            413 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_BLACK_LEVEL);
client            414 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_HPOS);
client            415 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_VPOS);
client            416 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_INPUT_SYNC);
client            417 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_DETECT);
client            418 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_CONTRAST);
client            419 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_PLLOV);
client            420 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_PLLM);
client            421 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_PLLN);
client            422 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_BCLKOUT);
client            423 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_SUBC_INC0);
client            424 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_SUBC_INC1);
client            425 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_SUBC_INC2);
client            426 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_SUBC_INC3);
client            427 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_SUBC_INC4);
client            428 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_SUBC_INC5);
client            429 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_SUBC_INC6);
client            430 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_SUBC_INC7);
client            431 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_PLL_CONTROL);
client            432 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_load_reg(client, state, CH7006_CALC_SUBC_INC0);
client            435 drivers/gpu/drm/i2c/ch7006_mode.c void ch7006_state_save(struct i2c_client *client,
client            438 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_POWER);
client            440 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_DISPMODE);
client            441 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_FFILTER);
client            442 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_BWIDTH);
client            443 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_INPUT_FORMAT);
client            444 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_CLKMODE);
client            445 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_START_ACTIVE);
client            446 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_POV);
client            447 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_BLACK_LEVEL);
client            448 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_HPOS);
client            449 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_VPOS);
client            450 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_INPUT_SYNC);
client            451 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_DETECT);
client            452 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_CONTRAST);
client            453 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_PLLOV);
client            454 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_PLLM);
client            455 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_PLLN);
client            456 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_BCLKOUT);
client            457 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_SUBC_INC0);
client            458 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_SUBC_INC1);
client            459 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_SUBC_INC2);
client            460 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_SUBC_INC3);
client            461 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_SUBC_INC4);
client            462 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_SUBC_INC5);
client            463 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_SUBC_INC6);
client            464 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_SUBC_INC7);
client            465 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_PLL_CONTROL);
client            466 drivers/gpu/drm/i2c/ch7006_mode.c 	ch7006_save_reg(client, state, CH7006_CALC_SUBC_INC0);
client            122 drivers/gpu/drm/i2c/ch7006_priv.h void ch7006_write(struct i2c_client *client, uint8_t addr, uint8_t val);
client            123 drivers/gpu/drm/i2c/ch7006_priv.h uint8_t ch7006_read(struct i2c_client *client, uint8_t addr);
client            125 drivers/gpu/drm/i2c/ch7006_priv.h void ch7006_state_load(struct i2c_client *client,
client            127 drivers/gpu/drm/i2c/ch7006_priv.h void ch7006_state_save(struct i2c_client *client,
client            132 drivers/gpu/drm/i2c/ch7006_priv.h #define ch7006_dbg(client, format, ...) do {				\
client            134 drivers/gpu/drm/i2c/ch7006_priv.h 			dev_printk(KERN_DEBUG, &client->dev,		\
client            137 drivers/gpu/drm/i2c/ch7006_priv.h #define ch7006_info(client, format, ...) \
client            138 drivers/gpu/drm/i2c/ch7006_priv.h 				dev_info(&client->dev, format, __VA_ARGS__)
client            139 drivers/gpu/drm/i2c/ch7006_priv.h #define ch7006_err(client, format, ...) \
client            140 drivers/gpu/drm/i2c/ch7006_priv.h 				dev_err(&client->dev, format, __VA_ARGS__)
client            168 drivers/gpu/drm/i2c/ch7006_priv.h #define ch7006_load_reg(client, state, reg) ch7006_write(client, reg, state->regs[reg])
client            169 drivers/gpu/drm/i2c/ch7006_priv.h #define ch7006_save_reg(client, state, reg) state->regs[reg] = ch7006_read(client, reg)
client             46 drivers/gpu/drm/i2c/sil164_drv.c #define sil164_dbg(client, format, ...) do {				\
client             48 drivers/gpu/drm/i2c/sil164_drv.c 			dev_printk(KERN_DEBUG, &client->dev,		\
client             51 drivers/gpu/drm/i2c/sil164_drv.c #define sil164_info(client, format, ...)		\
client             52 drivers/gpu/drm/i2c/sil164_drv.c 	dev_info(&client->dev, format, __VA_ARGS__)
client             53 drivers/gpu/drm/i2c/sil164_drv.c #define sil164_err(client, format, ...)			\
client             54 drivers/gpu/drm/i2c/sil164_drv.c 	dev_err(&client->dev, format, __VA_ARGS__)
client            106 drivers/gpu/drm/i2c/sil164_drv.c sil164_write(struct i2c_client *client, uint8_t addr, uint8_t val)
client            111 drivers/gpu/drm/i2c/sil164_drv.c 	ret = i2c_master_send(client, buf, ARRAY_SIZE(buf));
client            113 drivers/gpu/drm/i2c/sil164_drv.c 		sil164_err(client, "Error %d writing to subaddress 0x%x\n",
client            118 drivers/gpu/drm/i2c/sil164_drv.c sil164_read(struct i2c_client *client, uint8_t addr)
client            123 drivers/gpu/drm/i2c/sil164_drv.c 	ret = i2c_master_send(client, &addr, sizeof(addr));
client            127 drivers/gpu/drm/i2c/sil164_drv.c 	ret = i2c_master_recv(client, &val, sizeof(val));
client            134 drivers/gpu/drm/i2c/sil164_drv.c 	sil164_err(client, "Error %d reading from subaddress 0x%x\n",
client            140 drivers/gpu/drm/i2c/sil164_drv.c sil164_save_state(struct i2c_client *client, uint8_t *state)
client            145 drivers/gpu/drm/i2c/sil164_drv.c 		state[i] = sil164_read(client, i);
client            149 drivers/gpu/drm/i2c/sil164_drv.c sil164_restore_state(struct i2c_client *client, uint8_t *state)
client            154 drivers/gpu/drm/i2c/sil164_drv.c 		sil164_write(client, i, state[i]);
client            158 drivers/gpu/drm/i2c/sil164_drv.c sil164_set_power_state(struct i2c_client *client, bool on)
client            160 drivers/gpu/drm/i2c/sil164_drv.c 	uint8_t control0 = sil164_read(client, SIL164_CONTROL0);
client            167 drivers/gpu/drm/i2c/sil164_drv.c 	sil164_write(client, SIL164_CONTROL0, control0);
client            171 drivers/gpu/drm/i2c/sil164_drv.c sil164_init_state(struct i2c_client *client,
client            175 drivers/gpu/drm/i2c/sil164_drv.c 	sil164_write(client, SIL164_CONTROL0,
client            182 drivers/gpu/drm/i2c/sil164_drv.c 	sil164_write(client, SIL164_DETECT,
client            186 drivers/gpu/drm/i2c/sil164_drv.c 	sil164_write(client, SIL164_CONTROL1,
client            191 drivers/gpu/drm/i2c/sil164_drv.c 	sil164_write(client, SIL164_CONTROL2,
client            196 drivers/gpu/drm/i2c/sil164_drv.c 	sil164_write(client, SIL164_PLLZONE, 0);
client            199 drivers/gpu/drm/i2c/sil164_drv.c 		sil164_write(client, SIL164_DUALLINK,
client            204 drivers/gpu/drm/i2c/sil164_drv.c 		sil164_write(client, SIL164_DUALLINK, 0);
client            294 drivers/gpu/drm/i2c/sil164_drv.c 	struct i2c_client *client = drm_i2c_encoder_get_client(encoder);
client            296 drivers/gpu/drm/i2c/sil164_drv.c 	if (sil164_read(client, SIL164_DETECT) & SIL164_DETECT_HOTPLUG_STAT)
client            353 drivers/gpu/drm/i2c/sil164_drv.c sil164_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            355 drivers/gpu/drm/i2c/sil164_drv.c 	int vendor = sil164_read(client, SIL164_VENDOR_HI) << 8 |
client            356 drivers/gpu/drm/i2c/sil164_drv.c 		sil164_read(client, SIL164_VENDOR_LO);
client            357 drivers/gpu/drm/i2c/sil164_drv.c 	int device = sil164_read(client, SIL164_DEVICE_HI) << 8 |
client            358 drivers/gpu/drm/i2c/sil164_drv.c 		sil164_read(client, SIL164_DEVICE_LO);
client            359 drivers/gpu/drm/i2c/sil164_drv.c 	int rev = sil164_read(client, SIL164_REVISION);
client            362 drivers/gpu/drm/i2c/sil164_drv.c 		sil164_dbg(client, "Unknown device %x:%x.%x\n",
client            367 drivers/gpu/drm/i2c/sil164_drv.c 	sil164_info(client, "Detected device %x:%x.%x\n",
client            374 drivers/gpu/drm/i2c/sil164_drv.c sil164_remove(struct i2c_client *client)
client            380 drivers/gpu/drm/i2c/sil164_drv.c sil164_detect_slave(struct i2c_client *client)
client            382 drivers/gpu/drm/i2c/sil164_drv.c 	struct i2c_adapter *adap = client->adapter;
client            400 drivers/gpu/drm/i2c/sil164_drv.c sil164_encoder_init(struct i2c_client *client,
client            413 drivers/gpu/drm/i2c/sil164_drv.c 	priv->duallink_slave = sil164_detect_slave(client);
client             63 drivers/gpu/drm/i2c/tda9950.c 	struct i2c_client *client;
client             73 drivers/gpu/drm/i2c/tda9950.c static int tda9950_write_range(struct i2c_client *client, u8 addr, u8 *p, int cnt)
client             85 drivers/gpu/drm/i2c/tda9950.c 	msg.addr = client->addr;
client             90 drivers/gpu/drm/i2c/tda9950.c 	dev_dbg(&client->dev, "wr 0x%02x: %*ph\n", addr, cnt, p);
client             92 drivers/gpu/drm/i2c/tda9950.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client             94 drivers/gpu/drm/i2c/tda9950.c 		dev_err(&client->dev, "Error %d writing to cec:0x%x\n", ret, addr);
client             98 drivers/gpu/drm/i2c/tda9950.c static void tda9950_write(struct i2c_client *client, u8 addr, u8 val)
client            100 drivers/gpu/drm/i2c/tda9950.c 	tda9950_write_range(client, addr, &val, 1);
client            103 drivers/gpu/drm/i2c/tda9950.c static int tda9950_read_range(struct i2c_client *client, u8 addr, u8 *p, int cnt)
client            108 drivers/gpu/drm/i2c/tda9950.c 	msg[0].addr = client->addr;
client            112 drivers/gpu/drm/i2c/tda9950.c 	msg[1].addr = client->addr;
client            117 drivers/gpu/drm/i2c/tda9950.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            119 drivers/gpu/drm/i2c/tda9950.c 		dev_err(&client->dev, "Error %d reading from cec:0x%x\n", ret, addr);
client            121 drivers/gpu/drm/i2c/tda9950.c 	dev_dbg(&client->dev, "rd 0x%02x: %*ph\n", addr, cnt, p);
client            126 drivers/gpu/drm/i2c/tda9950.c static u8 tda9950_read(struct i2c_client *client, u8 addr)
client            131 drivers/gpu/drm/i2c/tda9950.c 	ret = tda9950_read_range(client, addr, &val, 1);
client            148 drivers/gpu/drm/i2c/tda9950.c 	csr = tda9950_read(priv->client, REG_CSR);
client            152 drivers/gpu/drm/i2c/tda9950.c 	cconr = tda9950_read(priv->client, REG_CCONR) & CCONR_RETRY_MASK;
client            154 drivers/gpu/drm/i2c/tda9950.c 	tda9950_read_range(priv->client, REG_CDR0, buf, sizeof(buf));
client            161 drivers/gpu/drm/i2c/tda9950.c 		dev_warn(&priv->client->dev, "interrupt pending, but no message?\n");
client            184 drivers/gpu/drm/i2c/tda9950.c 			dev_err(&priv->client->dev, "CNF reply error 0x%02x\n",
client            207 drivers/gpu/drm/i2c/tda9950.c 		dev_err(&priv->client->dev, "unknown service id 0x%02x\n",
client            228 drivers/gpu/drm/i2c/tda9950.c 	tda9950_write(priv->client, REG_CCONR, attempts);
client            230 drivers/gpu/drm/i2c/tda9950.c 	return tda9950_write_range(priv->client, REG_CDR0, buf, 2 + msg->len);
client            249 drivers/gpu/drm/i2c/tda9950.c 	return tda9950_write_range(priv->client, REG_ACKH, buf, 2);
client            280 drivers/gpu/drm/i2c/tda9950.c 	struct i2c_client *client = priv->client;
client            288 drivers/gpu/drm/i2c/tda9950.c 	tda9950_write(client, REG_CCR, CCR_RESET);
client            294 drivers/gpu/drm/i2c/tda9950.c 	tda9950_write(client, REG_CCR, CCR_ON);
client            301 drivers/gpu/drm/i2c/tda9950.c 	struct i2c_client *client = priv->client;
client            306 drivers/gpu/drm/i2c/tda9950.c 	tda9950_write(client, REG_CCR, 0);
client            310 drivers/gpu/drm/i2c/tda9950.c 		csr = tda9950_read(client, REG_CSR);
client            318 drivers/gpu/drm/i2c/tda9950.c 		dev_warn(&client->dev, "command processor failed to stop, irq%d may die (csr=0x%02x)\n",
client            319 drivers/gpu/drm/i2c/tda9950.c 			 client->irq, csr);
client            378 drivers/gpu/drm/i2c/tda9950.c static int tda9950_probe(struct i2c_client *client,
client            381 drivers/gpu/drm/i2c/tda9950.c 	struct tda9950_glue *glue = client->dev.platform_data;
client            382 drivers/gpu/drm/i2c/tda9950.c 	struct device *dev = &client->dev;
client            392 drivers/gpu/drm/i2c/tda9950.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            393 drivers/gpu/drm/i2c/tda9950.c 		dev_err(&client->dev,
client            399 drivers/gpu/drm/i2c/tda9950.c 	if (client->irq <= 0) {
client            400 drivers/gpu/drm/i2c/tda9950.c 		dev_err(&client->dev, "driver requires an interrupt\n");
client            408 drivers/gpu/drm/i2c/tda9950.c 	priv->client = client;
client            411 drivers/gpu/drm/i2c/tda9950.c 	i2c_set_clientdata(client, priv);
client            442 drivers/gpu/drm/i2c/tda9950.c 	cvr = tda9950_read(client, REG_CVR);
client            444 drivers/gpu/drm/i2c/tda9950.c 	dev_info(&client->dev,
client            454 drivers/gpu/drm/i2c/tda9950.c 	ret = devm_request_threaded_irq(dev, client->irq, NULL, tda9950_irq,
client            456 drivers/gpu/drm/i2c/tda9950.c 					dev_name(&client->dev), priv);
client            481 drivers/gpu/drm/i2c/tda9950.c static int tda9950_remove(struct i2c_client *client)
client            483 drivers/gpu/drm/i2c/tda9950.c 	struct tda9950_priv *priv = i2c_get_clientdata(client);
client            559 drivers/gpu/drm/i2c/tda998x_drv.c 		struct i2c_client *client = priv->hdmi;
client            563 drivers/gpu/drm/i2c/tda998x_drv.c 		int ret = i2c_master_send(client, buf, sizeof(buf));
client            565 drivers/gpu/drm/i2c/tda998x_drv.c 			dev_err(&client->dev, "%s %04x err %d\n", __func__,
client            578 drivers/gpu/drm/i2c/tda998x_drv.c 	struct i2c_client *client = priv->hdmi;
client            587 drivers/gpu/drm/i2c/tda998x_drv.c 	ret = i2c_master_send(client, &addr, sizeof(addr));
client            591 drivers/gpu/drm/i2c/tda998x_drv.c 	ret = i2c_master_recv(client, buf, cnt);
client            598 drivers/gpu/drm/i2c/tda998x_drv.c 	dev_err(&client->dev, "Error %d reading from 0x%x\n", ret, reg);
client            609 drivers/gpu/drm/i2c/tda998x_drv.c 	struct i2c_client *client = priv->hdmi;
client            615 drivers/gpu/drm/i2c/tda998x_drv.c 		dev_err(&client->dev, "Fixed write buffer too small (%d)\n",
client            628 drivers/gpu/drm/i2c/tda998x_drv.c 	ret = i2c_master_send(client, buf, cnt + 1);
client            630 drivers/gpu/drm/i2c/tda998x_drv.c 		dev_err(&client->dev, "Error %d writing to 0x%x\n", ret, reg);
client            650 drivers/gpu/drm/i2c/tda998x_drv.c 	struct i2c_client *client = priv->hdmi;
client            659 drivers/gpu/drm/i2c/tda998x_drv.c 	ret = i2c_master_send(client, buf, sizeof(buf));
client            661 drivers/gpu/drm/i2c/tda998x_drv.c 		dev_err(&client->dev, "Error %d writing to 0x%x\n", ret, reg);
client            669 drivers/gpu/drm/i2c/tda998x_drv.c 	struct i2c_client *client = priv->hdmi;
client            678 drivers/gpu/drm/i2c/tda998x_drv.c 	ret = i2c_master_send(client, buf, sizeof(buf));
client            680 drivers/gpu/drm/i2c/tda998x_drv.c 		dev_err(&client->dev, "Error %d writing to 0x%x\n", ret, reg);
client           1799 drivers/gpu/drm/i2c/tda998x_drv.c 	struct i2c_client *client = to_i2c_client(dev);
client           1800 drivers/gpu/drm/i2c/tda998x_drv.c 	struct device_node *np = client->dev.of_node;
client           1825 drivers/gpu/drm/i2c/tda998x_drv.c 	priv->cec_addr = 0x34 + (client->addr & 0x03);
client           1827 drivers/gpu/drm/i2c/tda998x_drv.c 	priv->hdmi = client;
client           1894 drivers/gpu/drm/i2c/tda998x_drv.c 	if (client->irq) {
client           1901 drivers/gpu/drm/i2c/tda998x_drv.c 			irqd_get_trigger_type(irq_get_irq_data(client->irq));
client           1906 drivers/gpu/drm/i2c/tda998x_drv.c 		ret = request_threaded_irq(client->irq, NULL,
client           1911 drivers/gpu/drm/i2c/tda998x_drv.c 				client->irq, ret);
client           1944 drivers/gpu/drm/i2c/tda998x_drv.c 	cec_info.irq = client->irq;
client           1946 drivers/gpu/drm/i2c/tda998x_drv.c 	priv->cec = i2c_new_device(client->adapter, &cec_info);
client           1970 drivers/gpu/drm/i2c/tda998x_drv.c 			tda998x_audio_codec_init(priv, &client->dev);
client           2058 drivers/gpu/drm/i2c/tda998x_drv.c tda998x_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           2062 drivers/gpu/drm/i2c/tda998x_drv.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client           2063 drivers/gpu/drm/i2c/tda998x_drv.c 		dev_warn(&client->dev, "adapter does not support I2C\n");
client           2067 drivers/gpu/drm/i2c/tda998x_drv.c 	ret = tda998x_create(&client->dev);
client           2071 drivers/gpu/drm/i2c/tda998x_drv.c 	ret = component_add(&client->dev, &tda998x_ops);
client           2073 drivers/gpu/drm/i2c/tda998x_drv.c 		tda998x_destroy(&client->dev);
client           2077 drivers/gpu/drm/i2c/tda998x_drv.c static int tda998x_remove(struct i2c_client *client)
client           2079 drivers/gpu/drm/i2c/tda998x_drv.c 	component_del(&client->dev, &tda998x_ops);
client           2080 drivers/gpu/drm/i2c/tda998x_drv.c 	tda998x_destroy(&client->dev);
client           1025 drivers/gpu/drm/i915/gt/selftest_lrc.c 	struct preempt_client client[4];
client           1044 drivers/gpu/drm/i915/gt/selftest_lrc.c 	if (preempt_client_init(i915, &client[0])) /* ELSP[0] */
client           1046 drivers/gpu/drm/i915/gt/selftest_lrc.c 	if (preempt_client_init(i915, &client[1])) /* ELSP[1] */
client           1048 drivers/gpu/drm/i915/gt/selftest_lrc.c 	if (preempt_client_init(i915, &client[2])) /* head of queue */
client           1050 drivers/gpu/drm/i915/gt/selftest_lrc.c 	if (preempt_client_init(i915, &client[3])) /* bystander */
client           1062 drivers/gpu/drm/i915/gt/selftest_lrc.c 		for (depth = 0; depth < ARRAY_SIZE(client); depth++) {
client           1063 drivers/gpu/drm/i915/gt/selftest_lrc.c 			struct i915_request *rq[ARRAY_SIZE(client)];
client           1072 drivers/gpu/drm/i915/gt/selftest_lrc.c 			for (i = 0; i < ARRAY_SIZE(client); i++) {
client           1073 drivers/gpu/drm/i915/gt/selftest_lrc.c 				rq[i] = spinner_create_request(&client[i].spin,
client           1074 drivers/gpu/drm/i915/gt/selftest_lrc.c 							       client[i].ctx, engine,
client           1090 drivers/gpu/drm/i915/gt/selftest_lrc.c 			if (!igt_wait_for_spinner(&client[0].spin, rq[0])) {
client           1105 drivers/gpu/drm/i915/gt/selftest_lrc.c 			for (i = 0; i < ARRAY_SIZE(client); i++)
client           1106 drivers/gpu/drm/i915/gt/selftest_lrc.c 				igt_spinner_end(&client[i].spin);
client           1124 drivers/gpu/drm/i915/gt/selftest_lrc.c 	preempt_client_fini(&client[3]);
client           1126 drivers/gpu/drm/i915/gt/selftest_lrc.c 	preempt_client_fini(&client[2]);
client           1128 drivers/gpu/drm/i915/gt/selftest_lrc.c 	preempt_client_fini(&client[1]);
client           1130 drivers/gpu/drm/i915/gt/selftest_lrc.c 	preempt_client_fini(&client[0]);
client           1137 drivers/gpu/drm/i915/gt/selftest_lrc.c 	for (i = 0; i < ARRAY_SIZE(client); i++)
client           1138 drivers/gpu/drm/i915/gt/selftest_lrc.c 		igt_spinner_end(&client[i].spin);
client            980 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	} client[2] = {};
client            996 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	for (i = 0; i < ARRAY_SIZE(client); i++) {
client           1005 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		client[i].scratch[0] = create_scratch(c->vm, 1024);
client           1006 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		if (IS_ERR(client[i].scratch[0])) {
client           1007 drivers/gpu/drm/i915/gt/selftest_workarounds.c 			err = PTR_ERR(client[i].scratch[0]);
client           1012 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		client[i].scratch[1] = create_scratch(c->vm, 1024);
client           1013 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		if (IS_ERR(client[i].scratch[1])) {
client           1014 drivers/gpu/drm/i915/gt/selftest_workarounds.c 			err = PTR_ERR(client[i].scratch[1]);
client           1015 drivers/gpu/drm/i915/gt/selftest_workarounds.c 			i915_vma_unpin_and_release(&client[i].scratch[0], 0);
client           1020 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		client[i].ctx = c;
client           1028 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		err = read_whitelisted_registers(client[0].ctx, engine,
client           1029 drivers/gpu/drm/i915/gt/selftest_workarounds.c 						 client[0].scratch[0]);
client           1034 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		err = scrub_whitelisted_registers(client[0].ctx, engine);
client           1039 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		err = read_whitelisted_registers(client[1].ctx, engine,
client           1040 drivers/gpu/drm/i915/gt/selftest_workarounds.c 						 client[1].scratch[0]);
client           1046 drivers/gpu/drm/i915/gt/selftest_workarounds.c 						  client[0].scratch[0],
client           1047 drivers/gpu/drm/i915/gt/selftest_workarounds.c 						  client[1].scratch[0],
client           1053 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		err = read_whitelisted_registers(client[0].ctx, engine,
client           1054 drivers/gpu/drm/i915/gt/selftest_workarounds.c 						 client[0].scratch[1]);
client           1060 drivers/gpu/drm/i915/gt/selftest_workarounds.c 						  client[0].scratch[0],
client           1061 drivers/gpu/drm/i915/gt/selftest_workarounds.c 						  client[0].scratch[1],
client           1068 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	for (i = 0; i < ARRAY_SIZE(client); i++) {
client           1069 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		if (!client[i].ctx)
client           1072 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		i915_vma_unpin_and_release(&client[i].scratch[1], 0);
client           1073 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		i915_vma_unpin_and_release(&client[i].scratch[0], 0);
client           1074 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		kernel_context_close(client[i].ctx);
client             80 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static inline bool is_high_priority(struct intel_guc_client *client)
client             82 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	return (client->priority == GUC_CLIENT_PRIORITY_KMD_HIGH ||
client             83 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 		client->priority == GUC_CLIENT_PRIORITY_HIGH);
client             86 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static int reserve_doorbell(struct intel_guc_client *client)
client             92 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	GEM_BUG_ON(client->doorbell_id != GUC_DOORBELL_INVALID);
client            101 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	if (is_high_priority(client)) {
client            106 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	id = find_next_zero_bit(client->guc->doorbell_bitmap, end, offset);
client            110 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	__set_bit(id, client->guc->doorbell_bitmap);
client            111 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	client->doorbell_id = id;
client            113 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 			 client->stage_id, yesno(is_high_priority(client)),
client            118 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static bool has_doorbell(struct intel_guc_client *client)
client            120 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	if (client->doorbell_id == GUC_DOORBELL_INVALID)
client            123 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	return test_bit(client->doorbell_id, client->guc->doorbell_bitmap);
client            126 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void unreserve_doorbell(struct intel_guc_client *client)
client            128 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	GEM_BUG_ON(!has_doorbell(client));
client            130 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	__clear_bit(client->doorbell_id, client->guc->doorbell_bitmap);
client            131 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	client->doorbell_id = GUC_DOORBELL_INVALID;
client            158 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static struct guc_stage_desc *__get_stage_desc(struct intel_guc_client *client)
client            160 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct guc_stage_desc *base = client->guc->stage_desc_pool_vaddr;
client            162 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	return &base[client->stage_id];
client            172 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void __update_doorbell_desc(struct intel_guc_client *client, u16 new_id)
client            177 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc = __get_stage_desc(client);
client            181 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static struct guc_doorbell_info *__get_doorbell(struct intel_guc_client *client)
client            183 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	return client->vaddr + client->doorbell_offset;
client            194 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void __init_doorbell(struct intel_guc_client *client)
client            198 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	doorbell = __get_doorbell(client);
client            203 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void __fini_doorbell(struct intel_guc_client *client)
client            206 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	u16 db_id = client->doorbell_id;
client            208 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	doorbell = __get_doorbell(client);
client            215 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	if (wait_for_us(!__doorbell_valid(client->guc, db_id), 10))
client            219 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static int create_doorbell(struct intel_guc_client *client)
client            223 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	if (WARN_ON(!has_doorbell(client)))
client            226 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	__update_doorbell_desc(client, client->doorbell_id);
client            227 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	__init_doorbell(client);
client            229 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	ret = __guc_allocate_doorbell(client->guc, client->stage_id);
client            231 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 		__fini_doorbell(client);
client            232 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 		__update_doorbell_desc(client, GUC_DOORBELL_INVALID);
client            234 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 				 client->stage_id, ret);
client            241 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static int destroy_doorbell(struct intel_guc_client *client)
client            245 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	GEM_BUG_ON(!has_doorbell(client));
client            247 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	__fini_doorbell(client);
client            248 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	ret = __guc_deallocate_doorbell(client->guc, client->stage_id);
client            251 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 			  client->stage_id, ret);
client            253 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	__update_doorbell_desc(client, GUC_DOORBELL_INVALID);
client            274 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c __get_process_desc(struct intel_guc_client *client)
client            276 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	return client->vaddr + client->proc_desc_offset;
client            282 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void guc_proc_desc_init(struct intel_guc_client *client)
client            286 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc = memset(__get_process_desc(client), 0, sizeof(*desc));
client            297 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->stage_id = client->stage_id;
client            300 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->priority = client->priority;
client            303 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void guc_proc_desc_fini(struct intel_guc_client *client)
client            307 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc = __get_process_desc(client);
client            348 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void guc_stage_desc_init(struct intel_guc_client *client)
client            350 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct intel_guc *guc = client->guc;
client            354 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc = __get_stage_desc(client);
client            359 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	if (is_high_priority(client))
client            361 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->stage_id = client->stage_id;
client            362 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->priority = client->priority;
client            363 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->db_id = client->doorbell_id;
client            369 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	gfx_addr = intel_guc_ggtt_offset(guc, client->vma);
client            370 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->db_trigger_phy = sg_dma_address(client->vma->pages->sgl) +
client            371 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 				client->doorbell_offset;
client            372 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->db_trigger_cpu = ptr_to_u64(__get_doorbell(client));
client            373 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->db_trigger_uk = gfx_addr + client->doorbell_offset;
client            374 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->process_desc = gfx_addr + client->proc_desc_offset;
client            378 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->desc_private = ptr_to_u64(client);
client            381 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void guc_stage_desc_fini(struct intel_guc_client *client)
client            385 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc = __get_stage_desc(client);
client            390 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void guc_wq_item_append(struct intel_guc_client *client,
client            397 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct guc_process_desc *desc = __get_process_desc(client);
client            401 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	lockdep_assert_held(&client->wq_lock);
client            422 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	wqi = client->vaddr + wq_off + GUC_DB_SIZE;
client            424 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	if (I915_SELFTEST_ONLY(client->use_nop_wqi)) {
client            442 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void guc_ring_doorbell(struct intel_guc_client *client)
client            447 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	lockdep_assert_held(&client->wq_lock);
client            450 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	db = __get_doorbell(client);
client            465 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct intel_guc_client *client = guc->execbuf_client;
client            470 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	guc_wq_item_append(client, engine->guc_id, ctx_desc,
client            472 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	guc_ring_doorbell(client);
client            495 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct intel_guc_client *client = guc->execbuf_client;
client            497 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	spin_lock(&client->wq_lock);
client            506 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	spin_unlock(&client->wq_lock);
client            800 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct intel_guc_client *client;
client            805 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	client = kzalloc(sizeof(*client), GFP_KERNEL);
client            806 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	if (!client)
client            809 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	client->guc = guc;
client            810 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	client->priority = priority;
client            811 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	client->doorbell_id = GUC_DOORBELL_INVALID;
client            812 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	spin_lock_init(&client->wq_lock);
client            819 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	client->stage_id = ret;
client            829 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	client->vma = vma;
client            836 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	client->vaddr = vaddr;
client            838 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	ret = reserve_doorbell(client);
client            842 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	client->doorbell_offset = __select_cacheline(guc);
client            849 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	if (client->doorbell_offset >= (GUC_DB_SIZE / 2))
client            850 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 		client->proc_desc_offset = 0;
client            852 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 		client->proc_desc_offset = (GUC_DB_SIZE / 2);
client            855 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 			 priority, client, client->stage_id);
client            857 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 			 client->doorbell_id, client->doorbell_offset);
client            859 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	return client;
client            862 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	i915_gem_object_unpin_map(client->vma->obj);
client            864 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	i915_vma_unpin_and_release(&client->vma, 0);
client            866 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	ida_simple_remove(&guc->stage_ids, client->stage_id);
client            868 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	kfree(client);
client            872 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void guc_client_free(struct intel_guc_client *client)
client            874 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	unreserve_doorbell(client);
client            875 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	i915_vma_unpin_and_release(&client->vma, I915_VMA_RELEASE_MAP);
client            876 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	ida_simple_remove(&client->guc->stage_ids, client->stage_id);
client            877 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	kfree(client);
client            895 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct intel_guc_client *client;
client            899 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	client = guc_client_alloc(guc, GUC_CLIENT_PRIORITY_KMD_NORMAL);
client            900 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	if (IS_ERR(client)) {
client            902 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 		return PTR_ERR(client);
client            904 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	guc->execbuf_client = client;
client            911 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct intel_guc_client *client;
client            913 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	client = fetch_and_zero(&guc->execbuf_client);
client            914 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	if (client)
client            915 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 		guc_client_free(client);
client            918 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static int __guc_client_enable(struct intel_guc_client *client)
client            922 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	guc_proc_desc_init(client);
client            923 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	guc_stage_desc_init(client);
client            925 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	ret = create_doorbell(client);
client            932 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	guc_stage_desc_fini(client);
client            933 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	guc_proc_desc_fini(client);
client            937 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void __guc_client_disable(struct intel_guc_client *client)
client            944 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	if (intel_guc_is_running(client->guc))
client            945 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 		destroy_doorbell(client);
client            947 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 		__fini_doorbell(client);
client            949 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	guc_stage_desc_fini(client);
client            950 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	guc_proc_desc_fini(client);
client             50 drivers/gpu/drm/i915/gt/uc/selftest_guc.c static int ring_doorbell_nop(struct intel_guc_client *client)
client             52 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 	struct guc_process_desc *desc = __get_process_desc(client);
client             55 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 	client->use_nop_wqi = true;
client             57 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 	spin_lock_irq(&client->wq_lock);
client             59 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 	guc_wq_item_append(client, 0, 0, 0, 0);
client             60 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 	guc_ring_doorbell(client);
client             62 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 	spin_unlock_irq(&client->wq_lock);
client             64 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 	client->use_nop_wqi = false;
client             71 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 		pr_err("doorbell %u ring failed!\n", client->doorbell_id);
client             77 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 		       client->doorbell_id, desc->wq_status);
client             87 drivers/gpu/drm/i915/gt/uc/selftest_guc.c static int validate_client(struct intel_guc_client *client, int client_priority)
client             89 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 	if (client->priority != client_priority ||
client             90 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 	    client->doorbell_id == GUC_DOORBELL_INVALID)
client             96 drivers/gpu/drm/i915/gt/uc/selftest_guc.c static bool client_doorbell_in_sync(struct intel_guc_client *client)
client             98 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 	return !client || doorbell_ok(client->guc, client->doorbell_id);
client            721 drivers/gpu/drm/i915/i915_cmd_parser.c 	u32 client = cmd_header >> INSTR_CLIENT_SHIFT;
client            725 drivers/gpu/drm/i915/i915_cmd_parser.c 	if (client == INSTR_MI_CLIENT)
client            727 drivers/gpu/drm/i915/i915_cmd_parser.c 	else if (client == INSTR_RC_CLIENT) {
client            740 drivers/gpu/drm/i915/i915_cmd_parser.c 	u32 client = cmd_header >> INSTR_CLIENT_SHIFT;
client            745 drivers/gpu/drm/i915/i915_cmd_parser.c 	if (client == INSTR_MI_CLIENT)
client            747 drivers/gpu/drm/i915/i915_cmd_parser.c 	else if (client == INSTR_RC_CLIENT) {
client            763 drivers/gpu/drm/i915/i915_cmd_parser.c 	u32 client = cmd_header >> INSTR_CLIENT_SHIFT;
client            765 drivers/gpu/drm/i915/i915_cmd_parser.c 	if (client == INSTR_MI_CLIENT)
client            767 drivers/gpu/drm/i915/i915_cmd_parser.c 	else if (client == INSTR_BC_CLIENT)
client            776 drivers/gpu/drm/i915/i915_cmd_parser.c 	u32 client = cmd_header >> INSTR_CLIENT_SHIFT;
client            778 drivers/gpu/drm/i915/i915_cmd_parser.c 	if (client == INSTR_MI_CLIENT || client == INSTR_BC_CLIENT)
client           1885 drivers/gpu/drm/i915/i915_debugfs.c 	struct intel_guc_client *client = guc->execbuf_client;
client           1901 drivers/gpu/drm/i915/i915_debugfs.c 	seq_printf(m, "\nGuC execbuf client @ %p:\n", client);
client           1903 drivers/gpu/drm/i915/i915_debugfs.c 		   client->priority,
client           1904 drivers/gpu/drm/i915/i915_debugfs.c 		   client->stage_id,
client           1905 drivers/gpu/drm/i915/i915_debugfs.c 		   client->proc_desc_offset);
client           1907 drivers/gpu/drm/i915/i915_debugfs.c 		   client->doorbell_id, client->doorbell_offset);
client             31 drivers/gpu/drm/i915/selftests/i915_live_selftests.h selftest(client, i915_gem_client_blt_live_selftests)
client            199 drivers/gpu/drm/nouveau/dispnv04/arb.c 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            230 drivers/gpu/drm/nouveau/dispnv04/arb.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_TNT)
client            257 drivers/gpu/drm/nouveau/dispnv04/arb.c 	if (drm->client.device.info.family < NV_DEVICE_INFO_V0_KELVIN)
client            116 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	struct nvkm_bios *bios = nvxx_bios(&drm->client.device);
client            117 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	struct nvkm_clk *clk = nvxx_clk(&drm->client.device);
client            141 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.chipset > 0x40 && dot_clock <= (pll_lim.vco1.max_freq / 2))
client            151 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE)
client            154 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.chipset < 0x41)
client            273 drivers/gpu/drm/nouveau/dispnv04/crtc.c 		if (dev->overlayAdaptor && drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS)
client            508 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.chipset >= 0x11)
client            549 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE)
client            555 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE)
client            559 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE)
client            562 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS)
client            568 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) {
client            580 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS)
client            589 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.chipset >= 0x11)
client            652 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE)
client            713 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) {
client            888 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_KELVIN) {
client            969 drivers/gpu/drm/nouveau/dispnv04/crtc.c 			if (drm->client.device.info.chipset == 0x11) {
client           1010 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	if (drm->client.device.info.chipset >= 0x11)
client           1079 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	struct nouveau_cli *cli = (void *)notify->object->client;
client           1159 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	cli = (void *)chan->user.client;
client           1319 drivers/gpu/drm/nouveau/dispnv04/crtc.c 	ret = nouveau_bo_new(&nouveau_drm(dev)->client, 64*64*4, 0x100,
client             58 drivers/gpu/drm/nouveau/dispnv04/cursor.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE)
client             68 drivers/gpu/drm/nouveau/dispnv04/dac.c 	struct nvif_object *device = &drm->client.device.object;
client             82 drivers/gpu/drm/nouveau/dispnv04/dac.c 		if (nvif_msec(&drm->client.device, 10,
client             88 drivers/gpu/drm/nouveau/dispnv04/dac.c 		if (nvif_msec(&drm->client.device, 10,
client             94 drivers/gpu/drm/nouveau/dispnv04/dac.c 		if (nvif_msec(&drm->client.device, 10,
client            135 drivers/gpu/drm/nouveau/dispnv04/dac.c 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            238 drivers/gpu/drm/nouveau/dispnv04/dac.c 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            239 drivers/gpu/drm/nouveau/dispnv04/dac.c 	struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device);
client            290 drivers/gpu/drm/nouveau/dispnv04/dac.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CURIE) {
client            405 drivers/gpu/drm/nouveau/dispnv04/dac.c 	if (drm->client.device.info.chipset < 0x44)
client            284 drivers/gpu/drm/nouveau/dispnv04/dfp.c 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            420 drivers/gpu/drm/nouveau/dispnv04/dfp.c 		if (drm->client.device.info.chipset == 0x11)
client            431 drivers/gpu/drm/nouveau/dispnv04/dfp.c 		if (drm->client.device.info.chipset != 0x11) {
client            467 drivers/gpu/drm/nouveau/dispnv04/dfp.c 	if (drm->client.device.info.chipset < 0x44)
client            489 drivers/gpu/drm/nouveau/dispnv04/dfp.c 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            627 drivers/gpu/drm/nouveau/dispnv04/dfp.c 	struct nvkm_i2c *i2c = nvxx_i2c(&drm->client.device);
client            184 drivers/gpu/drm/nouveau/dispnv04/disp.c 	nvif_object_unmap(&drm->client.device.object);
client            191 drivers/gpu/drm/nouveau/dispnv04/disp.c 	struct nvkm_i2c *i2c = nvxx_i2c(&drm->client.device);
client            204 drivers/gpu/drm/nouveau/dispnv04/disp.c 	nvif_object_map(&drm->client.device.object, NULL, 0);
client            215 drivers/gpu/drm/nouveau/dispnv04/disp.c 	if (drm->nvsw.client) {
client            131 drivers/gpu/drm/nouveau/dispnv04/disp.h 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS && impl != 0x0100 &&
client            150 drivers/gpu/drm/nouveau/dispnv04/disp.h 	if (impl == 0x0310 || impl == 0x0340 || drm->client.device.info.family >= NV_DEVICE_INFO_V0_CURIE)
client            170 drivers/gpu/drm/nouveau/dispnv04/disp.h 	nvbios_init(&nvxx_bios(&nouveau_drm(dev)->client.device)->subdev, table,
client             91 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.chipset == 0x11) {
client            102 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.chipset == 0x11) {	/* set me harder */
client            151 drivers/gpu/drm/nouveau/dispnv04/hw.c 		else if (drm->client.device.info.chipset == 0x30 || drm->client.device.info.chipset == 0x35) {
client            167 drivers/gpu/drm/nouveau/dispnv04/hw.c 	struct nvif_object *device = &drm->client.device.object;
client            168 drivers/gpu/drm/nouveau/dispnv04/hw.c 	struct nvkm_bios *bios = nvxx_bios(&drm->client.device);
client            186 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CELSIUS && reg1 >= NV_PRAMDAC_VPLL_COEFF) {
client            259 drivers/gpu/drm/nouveau/dispnv04/hw.c 	struct nvif_device *device = &drm->client.device;
client            398 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS)
client            405 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.chipset == 0x11)
client            412 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.chipset >= 0x30)
client            454 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) {
client            470 drivers/gpu/drm/nouveau/dispnv04/hw.c 	struct nvkm_clk *clk = nvxx_clk(&drm->client.device);
client            475 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS)
client            482 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.chipset == 0x11)
client            489 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.chipset >= 0x30)
client            526 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) {
client            607 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_KELVIN)
client            610 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE)
client            619 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) {
client            623 drivers/gpu/drm/nouveau/dispnv04/hw.c 		if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE)
client            626 drivers/gpu/drm/nouveau/dispnv04/hw.c 		if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE)
client            638 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) {
client            667 drivers/gpu/drm/nouveau/dispnv04/hw.c 	struct nvif_object *device = &drm->client.device.object;
client            672 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) {
client            684 drivers/gpu/drm/nouveau/dispnv04/hw.c 		nvif_wr32(device, NV_PVIDEO_LIMIT(0), drm->client.device.info.ram_size - 1);
client            685 drivers/gpu/drm/nouveau/dispnv04/hw.c 		nvif_wr32(device, NV_PVIDEO_LIMIT(1), drm->client.device.info.ram_size - 1);
client            686 drivers/gpu/drm/nouveau/dispnv04/hw.c 		nvif_wr32(device, NV_PVIDEO_UVPLANE_LIMIT(0), drm->client.device.info.ram_size - 1);
client            687 drivers/gpu/drm/nouveau/dispnv04/hw.c 		nvif_wr32(device, NV_PVIDEO_UVPLANE_LIMIT(1), drm->client.device.info.ram_size - 1);
client            694 drivers/gpu/drm/nouveau/dispnv04/hw.c 		if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE)
client            697 drivers/gpu/drm/nouveau/dispnv04/hw.c 		if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE) {
client            720 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_KELVIN)
client            723 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE)
client            730 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE)
client            736 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) {
client            744 drivers/gpu/drm/nouveau/dispnv04/hw.c 		if (drm->client.device.info.family < NV_DEVICE_INFO_V0_KELVIN) {
client            747 drivers/gpu/drm/nouveau/dispnv04/hw.c 			nvif_msec(&drm->client.device, 650,
client            751 drivers/gpu/drm/nouveau/dispnv04/hw.c 			nvif_msec(&drm->client.device, 650,
client            777 drivers/gpu/drm/nouveau/dispnv04/hw.c 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            796 drivers/gpu/drm/nouveau/dispnv04/hw.c 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            816 drivers/gpu/drm/nouveau/dispnv04/hw.c 	if (drm->client.device.info.chipset == 0x11)
client             62 drivers/gpu/drm/nouveau/dispnv04/hw.h 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client             73 drivers/gpu/drm/nouveau/dispnv04/hw.h 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client             82 drivers/gpu/drm/nouveau/dispnv04/hw.h 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client             93 drivers/gpu/drm/nouveau/dispnv04/hw.h 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            122 drivers/gpu/drm/nouveau/dispnv04/hw.h 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            130 drivers/gpu/drm/nouveau/dispnv04/hw.h 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            167 drivers/gpu/drm/nouveau/dispnv04/hw.h 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            173 drivers/gpu/drm/nouveau/dispnv04/hw.h 	if (head && drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE)
client            183 drivers/gpu/drm/nouveau/dispnv04/hw.h 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            188 drivers/gpu/drm/nouveau/dispnv04/hw.h 	if (head && drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE)
client            196 drivers/gpu/drm/nouveau/dispnv04/hw.h 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            203 drivers/gpu/drm/nouveau/dispnv04/hw.h 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            211 drivers/gpu/drm/nouveau/dispnv04/hw.h 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            225 drivers/gpu/drm/nouveau/dispnv04/hw.h 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            261 drivers/gpu/drm/nouveau/dispnv04/hw.h 	struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
client            264 drivers/gpu/drm/nouveau/dispnv04/hw.h 	if (drm->client.device.info.chipset == 0x11)
client            320 drivers/gpu/drm/nouveau/dispnv04/hw.h 	if (drm->client.device.info.chipset == 0x11 && !nv_heads_tied(dev))
client            337 drivers/gpu/drm/nouveau/dispnv04/hw.h 	return drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS ? NV10_CURSOR_SIZE : NV04_CURSOR_SIZE;
client            359 drivers/gpu/drm/nouveau/dispnv04/hw.h 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_TNT) {
client            384 drivers/gpu/drm/nouveau/dispnv04/hw.h 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE)
client            400 drivers/gpu/drm/nouveau/dispnv04/hw.h 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_TNT)
client            120 drivers/gpu/drm/nouveau/dispnv04/overlay.c 	struct nvif_object *dev = &drm->client.device.object;
client            129 drivers/gpu/drm/nouveau/dispnv04/overlay.c 	unsigned shift = drm->client.device.info.chipset >= 0x30 ? 1 : 3;
client            193 drivers/gpu/drm/nouveau/dispnv04/overlay.c 	struct nvif_object *dev = &nouveau_drm(plane->dev)->client.device.object;
client            217 drivers/gpu/drm/nouveau/dispnv04/overlay.c 	struct nvif_object *dev = &nouveau_drm(plane->base.dev)->client.device.object;
client            287 drivers/gpu/drm/nouveau/dispnv04/overlay.c 	switch (drm->client.device.info.chipset) {
client            368 drivers/gpu/drm/nouveau/dispnv04/overlay.c 	struct nvif_object *dev = &nouveau_drm(plane->dev)->client.device.object;
client            442 drivers/gpu/drm/nouveau/dispnv04/overlay.c 	struct nvif_object *dev = &nouveau_drm(plane->dev)->client.device.object;
client            510 drivers/gpu/drm/nouveau/dispnv04/overlay.c 	struct nvif_device *dev = &nouveau_drm(device)->client.device;
client             56 drivers/gpu/drm/nouveau/dispnv04/tvnv04.c 	struct nvkm_i2c *i2c = nvxx_i2c(&drm->client.device);
client            208 drivers/gpu/drm/nouveau/dispnv04/tvnv04.c 	struct nvkm_i2c *i2c = nvxx_i2c(&drm->client.device);
client             49 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device);
client            133 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	struct nvkm_device *device = nvxx_device(&drm->client.device);
client            157 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		if (drm->client.device.info.chipset == 0x42 ||
client            158 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		    drm->client.device.info.chipset == 0x43)
client            365 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device);
client            438 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE)
client            495 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_RANKINE) {
client            590 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	if (drm->client.device.info.chipset < 0x44)
client            133 drivers/gpu/drm/nouveau/dispnv04/tvnv17.h 	struct nvif_device *device = &nouveau_drm(dev)->client.device;
client            139 drivers/gpu/drm/nouveau/dispnv04/tvnv17.h 	struct nvif_device *device = &nouveau_drm(dev)->client.device;
client            275 drivers/gpu/drm/nouveau/dispnv50/base507c.c 	ret = nv50_dmac_create(&drm->client.device, &disp->disp->object,
client            100 drivers/gpu/drm/nouveau/dispnv50/core507d.c 	ret = nv50_dmac_create(&drm->client.device, &disp->disp->object,
client            138 drivers/gpu/drm/nouveau/dispnv50/disp.c 	struct nouveau_cli *cli = (void *)device->object.client;
client            453 drivers/gpu/drm/nouveau/dispnv50/disp.c 	struct nvkm_i2c *i2c = nvxx_i2c(&drm->client.device);
client           1577 drivers/gpu/drm/nouveau/dispnv50/disp.c 	struct nvkm_bios *bios = nvxx_bios(&drm->client.device);
client           1578 drivers/gpu/drm/nouveau/dispnv50/disp.c 	struct nvkm_i2c *i2c = nvxx_i2c(&drm->client.device);
client           1729 drivers/gpu/drm/nouveau/dispnv50/disp.c 	struct nvkm_i2c *i2c = nvxx_i2c(&drm->client.device);
client           2319 drivers/gpu/drm/nouveau/dispnv50/disp.c 	struct nvif_device *device = &nouveau_drm(dev)->client.device;
client           2343 drivers/gpu/drm/nouveau/dispnv50/disp.c 	ret = nouveau_bo_new(&drm->client, 4096, 0x1000, TTM_PL_FLAG_VRAM,
client            520 drivers/gpu/drm/nouveau/dispnv50/head.c 		ret = nv50_lut_init(disp, &drm->client.mmu, &head->olut);
client            187 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c 	ret = nv50_dmac_create(&drm->client.device, &disp->disp->object,
client             70 drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c 	ret = nv50_dmac_create(&drm->client.device, &disp->disp->object,
client             71 drivers/gpu/drm/nouveau/dispnv50/wndw.c 	args.base.limit  = drm->client.device.info.ram_user - 1;
client             73 drivers/gpu/drm/nouveau/dispnv50/wndw.c 	if (drm->client.device.info.chipset < 0x80) {
client             77 drivers/gpu/drm/nouveau/dispnv50/wndw.c 	if (drm->client.device.info.chipset < 0xc0) {
client             82 drivers/gpu/drm/nouveau/dispnv50/wndw.c 	if (drm->client.device.info.chipset < 0xd0) {
client            257 drivers/gpu/drm/nouveau/dispnv50/wndw.c 			if (drm->client.device.info.chipset >= 0xc0)
client            635 drivers/gpu/drm/nouveau/dispnv50/wndw.c 	struct nvif_mmu *mmu = &drm->client.mmu;
client            294 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c 	ret = nv50_dmac_create(&drm->client.device, &disp->disp->object,
client             38 drivers/gpu/drm/nouveau/include/nvif/ifc00d.h 	__u8  client;
client             14 drivers/gpu/drm/nouveau/include/nvif/object.h 	struct nvif_client *client;
client             39 drivers/gpu/drm/nouveau/include/nvkm/core/client.h 	const struct nvkm_client *_client = _object->client;                   \
client             10 drivers/gpu/drm/nouveau/include/nvkm/core/object.h 	struct nvkm_client *client;
client             27 drivers/gpu/drm/nouveau/include/nvkm/core/oclass.h 	struct nvkm_client *client;
client             20 drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h 	struct nvkm_oproxy *client;
client             29 drivers/gpu/drm/nouveau/include/nvkm/subdev/fault.h 	u8 client;
client             84 drivers/gpu/drm/nouveau/nouveau_abi16.c 	struct nouveau_cli *cli = (void *)abi16->device.object.client;
client             92 drivers/gpu/drm/nouveau/nouveau_abi16.c 	switch (drm->client.device.info.family) {
client            161 drivers/gpu/drm/nouveau/nouveau_abi16.c 	struct nouveau_cli *cli = (void *)abi16->device.object.client;
client            181 drivers/gpu/drm/nouveau/nouveau_abi16.c 	struct nvif_device *device = &drm->client.device;
client            429 drivers/gpu/drm/nouveau/nouveau_abi16.c 	struct nvif_client *client;
client            439 drivers/gpu/drm/nouveau/nouveau_abi16.c 	client = abi16->device.object.client;
client            504 drivers/gpu/drm/nouveau/nouveau_abi16.c 	client->route = NVDRM_OBJECT_ABI16;
client            507 drivers/gpu/drm/nouveau/nouveau_abi16.c 	client->route = NVDRM_OBJECT_NVIF;
client            523 drivers/gpu/drm/nouveau/nouveau_abi16.c 	struct nvif_client *client;
client            533 drivers/gpu/drm/nouveau/nouveau_abi16.c 	client = abi16->device.object.client;
client            570 drivers/gpu/drm/nouveau/nouveau_abi16.c 	client->route = NVDRM_OBJECT_ABI16;
client            571 drivers/gpu/drm/nouveau/nouveau_abi16.c 	client->super = true;
client            575 drivers/gpu/drm/nouveau/nouveau_abi16.c 	client->super = false;
client            576 drivers/gpu/drm/nouveau/nouveau_abi16.c 	client->route = NVDRM_OBJECT_NVIF;
client             70 drivers/gpu/drm/nouveau/nouveau_backlight.c 	struct nvif_object *device = &drm->client.device.object;
client             82 drivers/gpu/drm/nouveau/nouveau_backlight.c 	struct nvif_object *device = &drm->client.device.object;
client            104 drivers/gpu/drm/nouveau/nouveau_backlight.c 	struct nvif_object *device = &drm->client.device.object;
client            120 drivers/gpu/drm/nouveau/nouveau_backlight.c 	struct nvif_object *device = &drm->client.device.object;
client            135 drivers/gpu/drm/nouveau/nouveau_backlight.c 	struct nvif_object *device = &drm->client.device.object;
client            156 drivers/gpu/drm/nouveau/nouveau_backlight.c 	struct nvif_object *device = &drm->client.device.object;
client            174 drivers/gpu/drm/nouveau/nouveau_backlight.c 	struct nvif_object *device = &drm->client.device.object;
client            203 drivers/gpu/drm/nouveau/nouveau_backlight.c 	struct nvif_object *device = &drm->client.device.object;
client            208 drivers/gpu/drm/nouveau/nouveau_backlight.c 	if (drm->client.device.info.chipset <= 0xa0 ||
client            209 drivers/gpu/drm/nouveau/nouveau_backlight.c 	    drm->client.device.info.chipset == 0xaa ||
client            210 drivers/gpu/drm/nouveau/nouveau_backlight.c 	    drm->client.device.info.chipset == 0xac)
client            227 drivers/gpu/drm/nouveau/nouveau_backlight.c 	struct nvif_device *device = &drm->client.device;
client            216 drivers/gpu/drm/nouveau/nouveau_bios.c 	struct nvif_object *device = &drm->client.device.object;
client            320 drivers/gpu/drm/nouveau/nouveau_bios.c 	struct nvif_object *device = &drm->client.device.object;
client            334 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_MAXWELL)
client            337 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA)
client            636 drivers/gpu/drm/nouveau/nouveau_bios.c 	struct nvif_object *device = &drm->client.device.object;
client           1253 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (drm->client.device.info.family > NV_DEVICE_INFO_V0_TNT)
client           1921 drivers/gpu/drm/nouveau/nouveau_bios.c 	struct nvif_object *device = &drm->client.device.object;
client           2015 drivers/gpu/drm/nouveau/nouveau_bios.c 	struct nvkm_bios *bios = nvxx_bios(&drm->client.device);
client           2067 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA)
client             57 drivers/gpu/drm/nouveau/nouveau_bo.c 	struct nvkm_fb *fb = nvxx_fb(&drm->client.device);
client            108 drivers/gpu/drm/nouveau/nouveau_bo.c 	struct nvkm_fb *fb = nvxx_fb(&drm->client.device);
client            165 drivers/gpu/drm/nouveau/nouveau_bo.c 	struct nvif_device *device = &drm->client.device;
client            358 drivers/gpu/drm/nouveau/nouveau_bo.c 	u32 vram_pages = drm->client.device.info.ram_size >> PAGE_SHIFT;
client            361 drivers/gpu/drm/nouveau/nouveau_bo.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CELSIUS &&
client            419 drivers/gpu/drm/nouveau/nouveau_bo.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA &&
client            661 drivers/gpu/drm/nouveau/nouveau_bo.c 	struct nvif_mmu *mmu = &drm->client.mmu;
client            676 drivers/gpu/drm/nouveau/nouveau_bo.c 		if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA) {
client            692 drivers/gpu/drm/nouveau/nouveau_bo.c 		if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA)
client           1097 drivers/gpu/drm/nouveau/nouveau_bo.c 	struct nvif_vmm *vmm = &drm->client.vmm.vmm;
client           1129 drivers/gpu/drm/nouveau/nouveau_bo.c 	struct nouveau_cli *cli = (void *)chan->user.client;
client           1137 drivers/gpu/drm/nouveau/nouveau_bo.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA) {
client           1341 drivers/gpu/drm/nouveau/nouveau_bo.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) {
client           1380 drivers/gpu/drm/nouveau/nouveau_bo.c 	if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA) {
client           1418 drivers/gpu/drm/nouveau/nouveau_bo.c 	if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA) {
client           1442 drivers/gpu/drm/nouveau/nouveau_bo.c 	struct nvkm_device *device = nvxx_device(&drm->client.device);
client           1464 drivers/gpu/drm/nouveau/nouveau_bo.c 		if (drm->client.mem->oclass < NVIF_CLASS_MEM_NV50 || !mem->kind)
client           1472 drivers/gpu/drm/nouveau/nouveau_bo.c 		if (drm->client.mem->oclass >= NVIF_CLASS_MEM_NV50) {
client           1522 drivers/gpu/drm/nouveau/nouveau_bo.c 	if (drm->client.mem->oclass >= NVIF_CLASS_MEM_NV50) {
client           1542 drivers/gpu/drm/nouveau/nouveau_bo.c 	struct nvkm_device *device = nvxx_device(&drm->client.device);
client           1550 drivers/gpu/drm/nouveau/nouveau_bo.c 		if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA ||
client           1565 drivers/gpu/drm/nouveau/nouveau_bo.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA ||
client             55 drivers/gpu/drm/nouveau/nouveau_chan.c 	struct nouveau_cli *cli = (void *)chan->user.client;
client             65 drivers/gpu/drm/nouveau/nouveau_chan.c 		struct nouveau_cli *cli = (void *)chan->user.client;
client             89 drivers/gpu/drm/nouveau/nouveau_chan.c 		struct nouveau_cli *cli = (void *)chan->user.client;
client            126 drivers/gpu/drm/nouveau/nouveau_chan.c 	struct nouveau_cli *cli = (void *)device->object.client;
client            478 drivers/gpu/drm/nouveau/nouveau_chan.c 	struct nouveau_cli *cli = (void *)device->object.client;
client            524 drivers/gpu/drm/nouveau/nouveau_chan.c 	struct nvif_object *device = &drm->client.device.object;
client            512 drivers/gpu/drm/nouveau/nouveau_connector.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA) {
client            522 drivers/gpu/drm/nouveau/nouveau_connector.c 		if (drm->client.device.info.family == NV_DEVICE_INFO_V0_KELVIN ||
client            523 drivers/gpu/drm/nouveau/nouveau_connector.c 		    (drm->client.device.info.family == NV_DEVICE_INFO_V0_CELSIUS &&
client           1008 drivers/gpu/drm/nouveau/nouveau_connector.c 		if (drm->client.device.info.chipset >= 0x120) {
client           1016 drivers/gpu/drm/nouveau/nouveau_connector.c 		if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_KEPLER)
client           1018 drivers/gpu/drm/nouveau/nouveau_connector.c 		if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_FERMI)
client           1023 drivers/gpu/drm/nouveau/nouveau_connector.c 	    drm->client.device.info.chipset >= 0x46)
client           1025 drivers/gpu/drm/nouveau/nouveau_connector.c 	else if (drm->client.device.info.chipset >= 0x40)
client           1027 drivers/gpu/drm/nouveau/nouveau_connector.c 	else if (drm->client.device.info.chipset >= 0x18)
client             61 drivers/gpu/drm/nouveau/nouveau_debugfs.c 		   nvif_rd32(&drm->client.device.object, 0x101000));
client            264 drivers/gpu/drm/nouveau/nouveau_debugfs.c 	ret = nvif_object_init(&drm->client.device.object, 0,
client            238 drivers/gpu/drm/nouveau/nouveau_display.c 	if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA &&
client            500 drivers/gpu/drm/nouveau/nouveau_display.c 	struct nvkm_device *device = nvxx_device(&drm->client.device);
client            517 drivers/gpu/drm/nouveau/nouveau_display.c 	if (drm->client.device.info.family < NV_DEVICE_INFO_V0_CELSIUS) {
client            521 drivers/gpu/drm/nouveau/nouveau_display.c 	if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA) {
client            525 drivers/gpu/drm/nouveau/nouveau_display.c 	if (drm->client.device.info.family < NV_DEVICE_INFO_V0_FERMI) {
client            536 drivers/gpu/drm/nouveau/nouveau_display.c 	if (drm->client.device.info.chipset < 0x11)
client            545 drivers/gpu/drm/nouveau/nouveau_display.c 		ret = nvif_disp_ctor(&drm->client.device, 0, &disp->disp);
client            656 drivers/gpu/drm/nouveau/nouveau_display.c 	if (nouveau_drm(dev)->client.device.info.ram_size != 0)
client             87 drivers/gpu/drm/nouveau/nouveau_dma.c 	struct nvif_user *user = &chan->drm->client.device.user;
client            230 drivers/gpu/drm/nouveau/nouveau_dmem.c 	ret = nouveau_bo_new(&drm->client, DMEM_CHUNK_SIZE, 0,
client            498 drivers/gpu/drm/nouveau/nouveau_dmem.c 	if (drm->client.device.info.family < NV_DEVICE_INFO_V0_PASCAL)
client            510 drivers/gpu/drm/nouveau/nouveau_dmem.c 	size = ALIGN(drm->client.device.info.ram_user, DMEM_CHUNK_SIZE);
client            300 drivers/gpu/drm/nouveau/nouveau_drm.c 	struct nvif_device *device = &drm->client.device;
client            340 drivers/gpu/drm/nouveau/nouveau_drm.c 	struct nvif_device *device = &drm->client.device;
client            425 drivers/gpu/drm/nouveau/nouveau_drm.c 	struct nvif_device *device = &drm->client.device;
client            484 drivers/gpu/drm/nouveau/nouveau_drm.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_VOLTA) {
client            513 drivers/gpu/drm/nouveau/nouveau_drm.c 	ret = nouveau_cli_init(drm, "DRM", &drm->client);
client            519 drivers/gpu/drm/nouveau/nouveau_drm.c 	nvxx_client(&drm->client.base)->debug =
client            529 drivers/gpu/drm/nouveau/nouveau_drm.c 	if (drm->client.device.info.chipset == 0xc1)
client            530 drivers/gpu/drm/nouveau/nouveau_drm.c 		nvif_mask(&drm->client.device.object, 0x00088080, 0x00000800, 0x00000000);
client            581 drivers/gpu/drm/nouveau/nouveau_drm.c 	nouveau_cli_fini(&drm->client);
client            616 drivers/gpu/drm/nouveau/nouveau_drm.c 	nouveau_cli_fini(&drm->client);
client            779 drivers/gpu/drm/nouveau/nouveau_drm.c 	struct nvkm_client *client;
client            785 drivers/gpu/drm/nouveau/nouveau_drm.c 	client = nvxx_client(&drm->client.base);
client            786 drivers/gpu/drm/nouveau/nouveau_drm.c 	device = nvkm_device_find(client->device);
client           1000 drivers/gpu/drm/nouveau/nouveau_drm.c 	struct nvif_device *device = &nouveau_drm(drm_dev)->client.device;
client           1074 drivers/gpu/drm/nouveau/nouveau_drm.c 	mutex_lock(&drm->client.mutex);
client           1076 drivers/gpu/drm/nouveau/nouveau_drm.c 	mutex_unlock(&drm->client.mutex);
client           1102 drivers/gpu/drm/nouveau/nouveau_drm.c 	mutex_lock(&drm->client.mutex);
client           1104 drivers/gpu/drm/nouveau/nouveau_drm.c 	mutex_unlock(&drm->client.mutex);
client            136 drivers/gpu/drm/nouveau/nouveau_drv.h 	struct nouveau_cli client;
client            227 drivers/gpu/drm/nouveau/nouveau_drv.h 	struct nvif_mmu *mmu = &drm->client.mmu;
client            247 drivers/gpu/drm/nouveau/nouveau_drv.h #define NV_FATAL(drm,f,a...) NV_PRINTK(crit, &(drm)->client, f, ##a)
client            248 drivers/gpu/drm/nouveau/nouveau_drv.h #define NV_ERROR(drm,f,a...) NV_PRINTK(err, &(drm)->client, f, ##a)
client            249 drivers/gpu/drm/nouveau/nouveau_drv.h #define NV_WARN(drm,f,a...) NV_PRINTK(warn, &(drm)->client, f, ##a)
client            250 drivers/gpu/drm/nouveau/nouveau_drv.h #define NV_INFO(drm,f,a...) NV_PRINTK(info, &(drm)->client, f, ##a)
client            254 drivers/gpu/drm/nouveau/nouveau_drv.h 		NV_PRINTK(info, &(drm)->client, f, ##a);                       \
client            258 drivers/gpu/drm/nouveau/nouveau_drv.h 		NV_PRINTK(info, &(drm)->client, f, ##a);                       \
client            263 drivers/gpu/drm/nouveau/nouveau_drv.h #define NV_ERROR_ONCE(drm,f,a...) NV_PRINTK_ONCE(err, &(drm)->client, f, ##a)
client            264 drivers/gpu/drm/nouveau/nouveau_drv.h #define NV_WARN_ONCE(drm,f,a...) NV_PRINTK_ONCE(warn, &(drm)->client, f, ##a)
client            265 drivers/gpu/drm/nouveau/nouveau_drv.h #define NV_INFO_ONCE(drm,f,a...) NV_PRINTK_ONCE(info, &(drm)->client, f, ##a)
client             68 drivers/gpu/drm/nouveau/nouveau_fbcon.c 	struct nvif_device *device = &drm->client.device;
client             76 drivers/gpu/drm/nouveau/nouveau_fbcon.c 	    mutex_trylock(&drm->client.mutex)) {
client             84 drivers/gpu/drm/nouveau/nouveau_fbcon.c 		mutex_unlock(&drm->client.mutex);
client            100 drivers/gpu/drm/nouveau/nouveau_fbcon.c 	struct nvif_device *device = &drm->client.device;
client            108 drivers/gpu/drm/nouveau/nouveau_fbcon.c 	    mutex_trylock(&drm->client.mutex)) {
client            116 drivers/gpu/drm/nouveau/nouveau_fbcon.c 		mutex_unlock(&drm->client.mutex);
client            132 drivers/gpu/drm/nouveau/nouveau_fbcon.c 	struct nvif_device *device = &drm->client.device;
client            140 drivers/gpu/drm/nouveau/nouveau_fbcon.c 	    mutex_trylock(&drm->client.mutex)) {
client            148 drivers/gpu/drm/nouveau/nouveau_fbcon.c 		mutex_unlock(&drm->client.mutex);
client            172 drivers/gpu/drm/nouveau/nouveau_fbcon.c 	if (!mutex_trylock(&drm->client.mutex))
client            176 drivers/gpu/drm/nouveau/nouveau_fbcon.c 	mutex_unlock(&drm->client.mutex);
client            275 drivers/gpu/drm/nouveau/nouveau_fbcon.c 	if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA)
client            278 drivers/gpu/drm/nouveau/nouveau_fbcon.c 	if (drm->client.device.info.family < NV_DEVICE_INFO_V0_FERMI)
client            313 drivers/gpu/drm/nouveau/nouveau_fbcon.c 	struct nvif_device *device = &drm->client.device;
client            330 drivers/gpu/drm/nouveau/nouveau_fbcon.c 	ret = nouveau_gem_new(&drm->client, mode_cmd.pitches[0] *
client            570 drivers/gpu/drm/nouveau/nouveau_fbcon.c 		if (drm->client.device.info.ram_size <= 32 * 1024 * 1024)
client            573 drivers/gpu/drm/nouveau/nouveau_fbcon.c 		if (drm->client.device.info.ram_size <= 64 * 1024 * 1024)
client            171 drivers/gpu/drm/nouveau/nouveau_fence.c 	struct nouveau_cli *cli = (void *)chan->user.client;
client            212 drivers/gpu/drm/nouveau/nouveau_gem.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA)
client            521 drivers/gpu/drm/nouveau/nouveau_gem.c 		if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA) {
client            790 drivers/gpu/drm/nouveau/nouveau_gem.c 	if (drm->client.device.info.chipset >= 0x25) {
client            863 drivers/gpu/drm/nouveau/nouveau_gem.c 	if (drm->client.device.info.chipset >= 0x25) {
client             55 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client             67 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client             88 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            100 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            121 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            137 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            153 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            176 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            301 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_iccsense *iccsense = nvxx_iccsense(&drm->client.device);
client            326 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            350 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            369 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_volt *volt = nvxx_volt(&drm->client.device);
client            389 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            421 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            470 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            493 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_volt *volt = nvxx_volt(&drm->client.device);
client            524 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            550 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_iccsense *iccsense = nvxx_iccsense(&drm->client.device);
client            579 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            613 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            718 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_iccsense *iccsense = nvxx_iccsense(&drm->client.device);
client            719 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_therm *therm = nvxx_therm(&drm->client.device);
client            720 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	struct nvkm_volt *volt = nvxx_volt(&drm->client.device);
client             41 drivers/gpu/drm/nouveau/nouveau_led.c 	struct nvif_object *device = &drm->client.device.object;
client             58 drivers/gpu/drm/nouveau/nouveau_led.c 	struct nvif_object *device = &drm->client.device.object;
client             81 drivers/gpu/drm/nouveau/nouveau_led.c 	struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device);
client             76 drivers/gpu/drm/nouveau/nouveau_mem.c 	super = vmm->object.client->super;
client             77 drivers/gpu/drm/nouveau/nouveau_mem.c 	vmm->object.client->super = true;
client             80 drivers/gpu/drm/nouveau/nouveau_mem.c 	vmm->object.client->super = super;
client             87 drivers/gpu/drm/nouveau/nouveau_mem.c 	nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[1]);
client             88 drivers/gpu/drm/nouveau/nouveau_mem.c 	nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[0]);
client             63 drivers/gpu/drm/nouveau/nouveau_nvif.c 	struct nvkm_client *client = priv;
client             64 drivers/gpu/drm/nouveau/nouveau_nvif.c 	return nvkm_object_init(&client->object);
client             70 drivers/gpu/drm/nouveau/nouveau_nvif.c 	struct nvkm_client *client = priv;
client             71 drivers/gpu/drm/nouveau/nouveau_nvif.c 	return nvkm_object_fini(&client->object, true);
client             74 drivers/gpu/drm/nouveau/nouveau_prime.c 	nvbo = nouveau_bo_alloc(&drm->client, &size, &align, flags, 0, 0);
client             94 drivers/gpu/drm/nouveau/nouveau_sgdma.c 	if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA)
client             62 drivers/gpu/drm/nouveau/nouveau_svm.c 			u8  client;
client            248 drivers/gpu/drm/nouveau/nouveau_svm.c 		bool super = svmm->vmm->vmm.object.client->super;
client            249 drivers/gpu/drm/nouveau/nouveau_svm.c 		svmm->vmm->vmm.object.client->super = true;
client            255 drivers/gpu/drm/nouveau/nouveau_svm.c 		svmm->vmm->vmm.object.client->super = super;
client            384 drivers/gpu/drm/nouveau/nouveau_svm.c 	WARN_ON(nvif_object_mthd(&svm->drm->client.vmm.vmm.object,
client            397 drivers/gpu/drm/nouveau/nouveau_svm.c 			 u64 inst, u8 hub, u8 gpc, u8 client)
client            399 drivers/gpu/drm/nouveau/nouveau_svm.c 	SVM_DBG(svm, "cancel %016llx %d %02x %02x", inst, hub, gpc, client);
client            400 drivers/gpu/drm/nouveau/nouveau_svm.c 	WARN_ON(nvif_object_mthd(&svm->drm->client.vmm.vmm.object,
client            405 drivers/gpu/drm/nouveau/nouveau_svm.c 					.client = client,
client            417 drivers/gpu/drm/nouveau/nouveau_svm.c 				      fault->client);
client            451 drivers/gpu/drm/nouveau/nouveau_svm.c 	const u8  client = (info & 0x00007f00) >> 8;
client            463 drivers/gpu/drm/nouveau/nouveau_svm.c 			nouveau_svm_fault_cancel(svm, inst, hub, gpc, client);
client            477 drivers/gpu/drm/nouveau/nouveau_svm.c 	fault->client = client;
client            530 drivers/gpu/drm/nouveau/nouveau_svm.c 	struct nvif_object *device = &svm->drm->client.device.object;
client            706 drivers/gpu/drm/nouveau/nouveau_svm.c 			svmm->vmm->vmm.object.client->super = true;
client            711 drivers/gpu/drm/nouveau/nouveau_svm.c 			svmm->vmm->vmm.object.client->super = false;
client            752 drivers/gpu/drm/nouveau/nouveau_svm.c 	struct nvif_object *device = &svm->drm->client.device.object;
client            782 drivers/gpu/drm/nouveau/nouveau_svm.c 	struct nvif_object *device = &drm->client.device.object;
client            855 drivers/gpu/drm/nouveau/nouveau_svm.c 	if (drm->client.device.info.family > NV_DEVICE_INFO_V0_PASCAL)
client            865 drivers/gpu/drm/nouveau/nouveau_svm.c 	ret = nvif_mclass(&drm->client.device.object, buffers);
client             68 drivers/gpu/drm/nouveau/nouveau_ttm.c 	if (drm->client.device.info.ram_size == 0)
client            173 drivers/gpu/drm/nouveau/nouveau_ttm.c 	struct nvif_mmu *mmu = &drm->client.mmu;
client            194 drivers/gpu/drm/nouveau/nouveau_ttm.c 	struct nvkm_device *device = nvxx_device(&drm->client.device);
client            196 drivers/gpu/drm/nouveau/nouveau_ttm.c 	struct nvif_mmu *mmu = &drm->client.mmu;
client            204 drivers/gpu/drm/nouveau/nouveau_ttm.c 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA &&
client            205 drivers/gpu/drm/nouveau/nouveau_ttm.c 	    drm->client.device.info.chipset != 0x50) {
client            211 drivers/gpu/drm/nouveau/nouveau_ttm.c 	if (drm->client.device.info.platform != NV_DEVICE_INFO_V0_SOC &&
client            212 drivers/gpu/drm/nouveau/nouveau_ttm.c 	    drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA) {
client            235 drivers/gpu/drm/nouveau/nouveau_ttm.c 				  drm->client.mmu.dmabits <= 32 ? true : false);
client            242 drivers/gpu/drm/nouveau/nouveau_ttm.c 	drm->gem.vram_available = drm->client.device.info.ram_user;
client            259 drivers/gpu/drm/nouveau/nouveau_ttm.c 		drm->gem.gart_available = drm->client.vmm.vmm.limit;
client            279 drivers/gpu/drm/nouveau/nouveau_ttm.c 	struct nvkm_device *device = nvxx_device(&drm->client.device);
client            125 drivers/gpu/drm/nouveau/nouveau_usif.c 	struct nvif_client *client = &cli->base;
client            153 drivers/gpu/drm/nouveau/nouveau_usif.c 		ret = nvif_client_ioctl(client, argv, argc);
client            170 drivers/gpu/drm/nouveau/nouveau_usif.c 	struct nvif_client *client = &cli->base;
client            183 drivers/gpu/drm/nouveau/nouveau_usif.c 	ret = nvif_client_ioctl(client, argv, argc);
client            193 drivers/gpu/drm/nouveau/nouveau_usif.c 	struct nvif_client *client = &cli->base;
client            217 drivers/gpu/drm/nouveau/nouveau_usif.c 	ret = nvif_client_ioctl(client, argv, argc);
client            230 drivers/gpu/drm/nouveau/nouveau_usif.c 	struct nvif_client *client = &cli->base;
client            243 drivers/gpu/drm/nouveau/nouveau_usif.c 	ret = nvif_client_ioctl(client, argv, argc);
client            267 drivers/gpu/drm/nouveau/nouveau_usif.c 	struct nvif_client *client = &cli->base;
client            283 drivers/gpu/drm/nouveau/nouveau_usif.c 		ret = nvif_client_ioctl(client, argv, argc);
client            297 drivers/gpu/drm/nouveau/nouveau_usif.c 	struct nvif_client *client = &cli->base;
client            353 drivers/gpu/drm/nouveau/nouveau_usif.c 		ret = nvif_client_ioctl(client, argv, argc);
client             17 drivers/gpu/drm/nouveau/nouveau_vga.c 	struct nvif_object *device = &drm->client.device.object;
client             19 drivers/gpu/drm/nouveau/nouveau_vga.c 	if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE &&
client             20 drivers/gpu/drm/nouveau/nouveau_vga.c 	    drm->client.device.info.chipset >= 0x4c)
client             23 drivers/gpu/drm/nouveau/nouveau_vga.c 	if (drm->client.device.info.chipset >= 0x40)
client            139 drivers/gpu/drm/nouveau/nv04_fbcon.c 	struct nvif_device *device = &drm->client.device;
client             37 drivers/gpu/drm/nouveau/nv17_fence.c 	struct nouveau_cli *cli = (void *)prev->user.client;
client            130 drivers/gpu/drm/nouveau/nv17_fence.c 	ret = nouveau_bo_new(&drm->client, 4096, 0x1000, TTM_PL_FLAG_VRAM,
client             83 drivers/gpu/drm/nouveau/nv50_fence.c 	ret = nouveau_bo_new(&drm->client, 4096, 0x1000, TTM_PL_FLAG_VRAM,
client            200 drivers/gpu/drm/nouveau/nv84_fence.c 	domain = drm->client.device.info.ram_size != 0 ? TTM_PL_FLAG_VRAM :
client            206 drivers/gpu/drm/nouveau/nv84_fence.c 	ret = nouveau_bo_new(&drm->client, 16 * drm->chan.nr, 0,
client             33 drivers/gpu/drm/nouveau/nvif/client.c nvif_client_ioctl(struct nvif_client *client, void *data, u32 size)
client             35 drivers/gpu/drm/nouveau/nvif/client.c 	return client->driver->ioctl(client->object.priv, client->super, data, size, NULL);
client             39 drivers/gpu/drm/nouveau/nvif/client.c nvif_client_suspend(struct nvif_client *client)
client             41 drivers/gpu/drm/nouveau/nvif/client.c 	return client->driver->suspend(client->object.priv);
client             45 drivers/gpu/drm/nouveau/nvif/client.c nvif_client_resume(struct nvif_client *client)
client             47 drivers/gpu/drm/nouveau/nvif/client.c 	return client->driver->resume(client->object.priv);
client             51 drivers/gpu/drm/nouveau/nvif/client.c nvif_client_fini(struct nvif_client *client)
client             53 drivers/gpu/drm/nouveau/nvif/client.c 	nvif_object_fini(&client->object);
client             54 drivers/gpu/drm/nouveau/nvif/client.c 	if (client->driver) {
client             55 drivers/gpu/drm/nouveau/nvif/client.c 		if (client->driver->fini)
client             56 drivers/gpu/drm/nouveau/nvif/client.c 			client->driver->fini(client->object.priv);
client             57 drivers/gpu/drm/nouveau/nvif/client.c 		client->driver = NULL;
client             63 drivers/gpu/drm/nouveau/nvif/client.c 		 struct nvif_client *client)
client             73 drivers/gpu/drm/nouveau/nvif/client.c 	ret = nvif_object_init(parent != client ? &parent->object : NULL,
client             75 drivers/gpu/drm/nouveau/nvif/client.c 			       &client->object);
client             79 drivers/gpu/drm/nouveau/nvif/client.c 	client->object.client = client;
client             80 drivers/gpu/drm/nouveau/nvif/client.c 	client->object.handle = ~0;
client             81 drivers/gpu/drm/nouveau/nvif/client.c 	client->route = NVIF_IOCTL_V0_ROUTE_NVIF;
client             82 drivers/gpu/drm/nouveau/nvif/client.c 	client->super = true;
client             83 drivers/gpu/drm/nouveau/nvif/client.c 	client->driver = parent->driver;
client             86 drivers/gpu/drm/nouveau/nvif/client.c 		ret = nvif_client_ioctl(client, &nop, sizeof(nop));
client             87 drivers/gpu/drm/nouveau/nvif/client.c 		client->version = nop.nop.version;
client             91 drivers/gpu/drm/nouveau/nvif/client.c 		nvif_client_fini(client);
client             55 drivers/gpu/drm/nouveau/nvif/disp.c 	disp->object.client = NULL;
client             41 drivers/gpu/drm/nouveau/nvif/driver.c 		 const char *name, u64 device, struct nvif_client *client)
client             45 drivers/gpu/drm/nouveau/nvif/driver.c 	for (i = 0; (client->driver = nvif_driver[i]); i++) {
client             46 drivers/gpu/drm/nouveau/nvif/driver.c 		if (!drv || !strcmp(client->driver->name, drv)) {
client             47 drivers/gpu/drm/nouveau/nvif/driver.c 			ret = client->driver->init(name, device, cfg, dbg,
client             48 drivers/gpu/drm/nouveau/nvif/driver.c 						   &client->object.priv);
client             51 drivers/gpu/drm/nouveau/nvif/driver.c 			client->driver->fini(client->object.priv);
client             56 drivers/gpu/drm/nouveau/nvif/driver.c 		ret = nvif_client_init(client, name, device, client);
client             54 drivers/gpu/drm/nouveau/nvif/mem.c 	mem->object.client = NULL;
client             91 drivers/gpu/drm/nouveau/nvif/mem.c 	mem->object.client = NULL;
client            127 drivers/gpu/drm/nouveau/nvif/notify.c 		struct nvif_client *client = notify->object->client;
client            136 drivers/gpu/drm/nouveau/nvif/notify.c 			ret = nvif_notify_func(notify, client->driver->keep);
client             33 drivers/gpu/drm/nouveau/nvif/object.c 	struct nvif_client *client = object->client;
client             39 drivers/gpu/drm/nouveau/nvif/object.c 		if (object != &client->object)
client             47 drivers/gpu/drm/nouveau/nvif/object.c 	return client->driver->ioctl(client->object.priv, client->super,
client            208 drivers/gpu/drm/nouveau/nvif/object.c 	struct nvif_client *client = object->client;
client            211 drivers/gpu/drm/nouveau/nvif/object.c 			client->driver->unmap(client, object->map.ptr,
client            223 drivers/gpu/drm/nouveau/nvif/object.c 	struct nvif_client *client = object->client;
client            228 drivers/gpu/drm/nouveau/nvif/object.c 			object->map.ptr = client->driver->map(client,
client            254 drivers/gpu/drm/nouveau/nvif/object.c 	if (!object->client)
client            259 drivers/gpu/drm/nouveau/nvif/object.c 	object->client = NULL;
client            272 drivers/gpu/drm/nouveau/nvif/object.c 	object->client = NULL;
client            287 drivers/gpu/drm/nouveau/nvif/object.c 		args->new.route = parent->client->route;
client            299 drivers/gpu/drm/nouveau/nvif/object.c 			object->client = parent->client;
client            122 drivers/gpu/drm/nouveau/nvif/vmm.c 	vmm->object.client = NULL;
client             41 drivers/gpu/drm/nouveau/nvkm/core/client.c 	struct nvkm_client *client;
client             47 drivers/gpu/drm/nouveau/nvkm/core/client.c 				      NULL, oclass->client->ntfy, &client);
client             53 drivers/gpu/drm/nouveau/nvkm/core/client.c 	client->object.client = oclass->client;
client             54 drivers/gpu/drm/nouveau/nvkm/core/client.c 	client->object.handle = oclass->handle;
client             55 drivers/gpu/drm/nouveau/nvkm/core/client.c 	client->object.route  = oclass->route;
client             56 drivers/gpu/drm/nouveau/nvkm/core/client.c 	client->object.token  = oclass->token;
client             57 drivers/gpu/drm/nouveau/nvkm/core/client.c 	client->object.object = oclass->object;
client             58 drivers/gpu/drm/nouveau/nvkm/core/client.c 	client->debug = oclass->client->debug;
client             59 drivers/gpu/drm/nouveau/nvkm/core/client.c 	*pobject = &client->object;
client             72 drivers/gpu/drm/nouveau/nvkm/core/client.c 	struct nvkm_client *client;
client             85 drivers/gpu/drm/nouveau/nvkm/core/client.c 	struct nvkm_client *client = notify->client;
client             86 drivers/gpu/drm/nouveau/nvkm/core/client.c 	return client->ntfy(&notify->rep, notify->size, n->data, n->size);
client             90 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_client_notify_put(struct nvkm_client *client, int index)
client             92 drivers/gpu/drm/nouveau/nvkm/core/client.c 	if (index < ARRAY_SIZE(client->notify)) {
client             93 drivers/gpu/drm/nouveau/nvkm/core/client.c 		if (client->notify[index]) {
client             94 drivers/gpu/drm/nouveau/nvkm/core/client.c 			nvkm_notify_put(&client->notify[index]->n);
client            102 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_client_notify_get(struct nvkm_client *client, int index)
client            104 drivers/gpu/drm/nouveau/nvkm/core/client.c 	if (index < ARRAY_SIZE(client->notify)) {
client            105 drivers/gpu/drm/nouveau/nvkm/core/client.c 		if (client->notify[index]) {
client            106 drivers/gpu/drm/nouveau/nvkm/core/client.c 			nvkm_notify_get(&client->notify[index]->n);
client            114 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_client_notify_del(struct nvkm_client *client, int index)
client            116 drivers/gpu/drm/nouveau/nvkm/core/client.c 	if (index < ARRAY_SIZE(client->notify)) {
client            117 drivers/gpu/drm/nouveau/nvkm/core/client.c 		if (client->notify[index]) {
client            118 drivers/gpu/drm/nouveau/nvkm/core/client.c 			nvkm_notify_fini(&client->notify[index]->n);
client            119 drivers/gpu/drm/nouveau/nvkm/core/client.c 			kfree(client->notify[index]);
client            120 drivers/gpu/drm/nouveau/nvkm/core/client.c 			client->notify[index] = NULL;
client            131 drivers/gpu/drm/nouveau/nvkm/core/client.c 	struct nvkm_client *client = object->client;
client            139 drivers/gpu/drm/nouveau/nvkm/core/client.c 	for (index = 0; index < ARRAY_SIZE(client->notify); index++) {
client            140 drivers/gpu/drm/nouveau/nvkm/core/client.c 		if (!client->notify[index])
client            144 drivers/gpu/drm/nouveau/nvkm/core/client.c 	if (index == ARRAY_SIZE(client->notify))
client            168 drivers/gpu/drm/nouveau/nvkm/core/client.c 			client->notify[index] = notify;
client            169 drivers/gpu/drm/nouveau/nvkm/core/client.c 			notify->client = client;
client            180 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_client_search(struct nvkm_client *client, u64 handle)
client            184 drivers/gpu/drm/nouveau/nvkm/core/client.c 	object = nvkm_object_search(client, handle, &nvkm_client);
client            192 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_client_mthd_devlist(struct nvkm_client *client, void *data, u32 size)
client            199 drivers/gpu/drm/nouveau/nvkm/core/client.c 	nvif_ioctl(&client->object, "client devlist size %d\n", size);
client            201 drivers/gpu/drm/nouveau/nvkm/core/client.c 		nvif_ioctl(&client->object, "client devlist vers %d count %d\n",
client            220 drivers/gpu/drm/nouveau/nvkm/core/client.c 	struct nvkm_client *client = nvkm_client(object);
client            223 drivers/gpu/drm/nouveau/nvkm/core/client.c 		return nvkm_client_mthd_devlist(client, data, size);
client            258 drivers/gpu/drm/nouveau/nvkm/core/client.c 	struct nvkm_client *client = nvkm_client(object);
client            262 drivers/gpu/drm/nouveau/nvkm/core/client.c 	for (i = 0; i < ARRAY_SIZE(client->notify); i++)
client            263 drivers/gpu/drm/nouveau/nvkm/core/client.c 		nvkm_client_notify_put(client, i);
client            270 drivers/gpu/drm/nouveau/nvkm/core/client.c 	struct nvkm_client *client = nvkm_client(object);
client            272 drivers/gpu/drm/nouveau/nvkm/core/client.c 	for (i = 0; i < ARRAY_SIZE(client->notify); i++)
client            273 drivers/gpu/drm/nouveau/nvkm/core/client.c 		nvkm_client_notify_del(client, i);
client            274 drivers/gpu/drm/nouveau/nvkm/core/client.c 	return client;
client            292 drivers/gpu/drm/nouveau/nvkm/core/client.c 	struct nvkm_client *client;
client            294 drivers/gpu/drm/nouveau/nvkm/core/client.c 	if (!(client = *pclient = kzalloc(sizeof(*client), GFP_KERNEL)))
client            296 drivers/gpu/drm/nouveau/nvkm/core/client.c 	oclass.client = client;
client            298 drivers/gpu/drm/nouveau/nvkm/core/client.c 	nvkm_object_ctor(&nvkm_client, &oclass, &client->object);
client            299 drivers/gpu/drm/nouveau/nvkm/core/client.c 	snprintf(client->name, sizeof(client->name), "%s", name);
client            300 drivers/gpu/drm/nouveau/nvkm/core/client.c 	client->device = device;
client            301 drivers/gpu/drm/nouveau/nvkm/core/client.c 	client->debug = nvkm_dbgopt(dbg, "CLIENT");
client            302 drivers/gpu/drm/nouveau/nvkm/core/client.c 	client->objroot = RB_ROOT;
client            303 drivers/gpu/drm/nouveau/nvkm/core/client.c 	client->ntfy = ntfy;
client            304 drivers/gpu/drm/nouveau/nvkm/core/client.c 	INIT_LIST_HEAD(&client->umem);
client            305 drivers/gpu/drm/nouveau/nvkm/core/client.c 	spin_lock_init(&client->lock);
client             32 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_nop(struct nvkm_client *client,
client             50 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_sclass(struct nvkm_client *client,
client             56 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 	struct nvkm_oclass oclass = { .client = client };
client             83 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_new(struct nvkm_client *client,
client            113 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 		oclass.client = client;
client            133 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 				client->data = object;
client            146 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_del(struct nvkm_client *client,
client            165 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_mthd(struct nvkm_client *client,
client            185 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_rd(struct nvkm_client *client,
client            225 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_wr(struct nvkm_client *client,
client            254 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_map(struct nvkm_client *client,
client            279 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_unmap(struct nvkm_client *client,
client            297 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_ntfy_new(struct nvkm_client *client,
client            324 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_ntfy_del(struct nvkm_client *client,
client            336 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 		ret = nvkm_client_notify_del(client, args->v0.index);
client            343 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_ntfy_get(struct nvkm_client *client,
client            355 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 		ret = nvkm_client_notify_get(client, args->v0.index);
client            362 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_ntfy_put(struct nvkm_client *client,
client            374 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 		ret = nvkm_client_notify_put(client, args->v0.index);
client            401 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl_path(struct nvkm_client *client, u64 handle, u32 type,
client            407 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 	object = nvkm_object_search(client, handle, NULL);
client            409 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 		nvif_ioctl(&client->object, "object not found\n");
client            414 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 		nvif_ioctl(&client->object, "route != owner\n");
client            422 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 			ret = nvkm_ioctl_v0[type].func(client, object, data, size);
client            429 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvkm_ioctl(struct nvkm_client *client, bool supervisor,
client            432 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 	struct nvkm_object *object = &client->object;
client            438 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 	client->super = supervisor;
client            446 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 		ret = nvkm_ioctl_path(client, args->v0.object, args->v0.type,
client            454 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 			*hack = client->data;
client            455 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 			client->data = NULL;
client             29 drivers/gpu/drm/nouveau/nvkm/core/object.c nvkm_object_search(struct nvkm_client *client, u64 handle,
client             35 drivers/gpu/drm/nouveau/nvkm/core/object.c 		struct rb_node *node = client->objroot.rb_node;
client             48 drivers/gpu/drm/nouveau/nvkm/core/object.c 		object = &client->object;
client             61 drivers/gpu/drm/nouveau/nvkm/core/object.c 		rb_erase(&object->node, &object->client->objroot);
client             67 drivers/gpu/drm/nouveau/nvkm/core/object.c 	struct rb_node **ptr = &object->client->objroot.rb_node;
client             83 drivers/gpu/drm/nouveau/nvkm/core/object.c 	rb_insert_color(&object->node, &object->client->objroot);
client            298 drivers/gpu/drm/nouveau/nvkm/core/object.c 	object->client = oclass->client;
client             60 drivers/gpu/drm/nouveau/nvkm/engine/ce/gt215.c 		   chan ? chan->object.client->name : "unknown",
client             99 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c 			   chan ? chan->object.client->name : "unknown",
client            415 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c 	struct nvkm_client *client = oclass->client;
client            416 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c 	struct nvkm_object *parent = &client->object;
client            429 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c 	if (client->super)
client            443 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c 		udev->device = nvkm_device_find(client->device);
client            153 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 	if (disp->client == oproxy)
client            154 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 		disp->client = NULL;
client            179 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 	if (disp->client) {
client            183 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 	disp->client = oproxy;
client             40 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 	struct nvkm_client *client = oclass->client;
client             50 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 	chan->memory = nvkm_umem_search(client, push);
client             36 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c nvkm_dmaobj_search(struct nvkm_client *client, u64 handle)
client             40 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c 	object = nvkm_object_search(client, handle, &nvkm_dmaobj_func);
client             76 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c 	struct nvkm_client *client = oclass->client;
client            112 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c 		if (!client->super) {
client            121 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c 		if (!client->super)
client            127 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c 		if (!client->super)
client            150 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 			.client = oclass->client,
client            181 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 					.client = oclass->client,
client            359 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 	struct nvkm_client *client = oclass->client;
client            378 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 		dmaobj = nvkm_dmaobj_search(client, push);
client            390 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 		struct nvkm_vmm *vmm = nvkm_uvmm_search(client, hvmm);
client            115 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c 			   chan->base.chid, chan->base.object.client->name);
client             81 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c 			   chan->base.chid, chan->base.object.client->name);
client            271 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		ec = nvkm_enum_find(gf100_fifo_fault_hubclient, info->client);
client            273 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		ec = nvkm_enum_find(gf100_fifo_fault_gpcclient, info->client);
client            301 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		   info->client, gpcid, ec ? ec->name : "",
client            303 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		   info->inst, chan ? chan->object.client->name : "unknown");
client            388 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	info.client = (type & 0x00001f00) >> 8;
client            433 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 			   chan ? chan->object.client->name : "unknown",
client            480 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		ec = nvkm_enum_find(fifo->func->fault.hubclient, info->client);
client            482 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		ec = nvkm_enum_find(fifo->func->fault.gpcclient, info->client);
client            526 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		   info->client, ct, ec ? ec->name : "",
client            528 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		   info->inst, chan ? chan->object.client->name : "unknown");
client            715 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 			   chan ? chan->object.client->name : "unknown",
client             87 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c 	info.client = (type & 0x00003f00) >> 8;
client             73 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gp100.c 	info.client = (type & 0x00007f00) >> 8;
client             87 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 			   chan->base.chid, chan->base.object.client->name);
client             43 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 	struct nvkm_client *client = chan->base.object.client;
client             57 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 			   cgrp ? cgrp->id : chan->base.chid, client->name);
client            346 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 		if (args->v0.priv && !oclass->client->super)
client            240 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c 		if (args->v0.priv && !oclass->client->super)
client             68 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c 		if (args->v0.priv && !oclass->client->super)
client            167 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 			   chid, chan ? chan->object.client->name : "unknown",
client            201 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 	name = chan ? chan->object.client->name : "unknown";
client           1566 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		name = chan->object.client->name;
client           1320 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 			   chan ? chan->object.client->name : "unknown",
client           1128 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 			   chan ? chan->object.client->name : "unknown",
client            212 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c 			   chan ? chan->object.client->name : "unknown",
client            279 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 			   chan ? chan->fifo->object.client->name : "unknown",
client            642 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 		name = chan->object.client->name;
client            217 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c 			   mpeg->chan ? mpeg->chan->object.client->name :
client            186 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c 			   chan ? chan->object.client->name : "unknown",
client             59 drivers/gpu/drm/nouveau/nvkm/engine/sec/g98.c 		   chan ? chan->object.client->name : "unknown",
client             65 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 		info.client = (info1 & 0x00007f00) >> 8;
client            145 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 	info.client = (info1 & 0x00007f00) >> 8;
client             92 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c 	info.client = (info1 & 0x00007f00) >> 8;
client            188 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c 		   chan ? chan->object.client->name : "unknown",
client             35 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c nvkm_umem_search(struct nvkm_client *client, u64 handle)
client             37 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	struct nvkm_client *master = client->object.client;
client             42 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	object = nvkm_object_search(client, handle, &nvkm_umem);
client             44 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 		if (client->super && client != master) {
client             56 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 		if (!umem->priv || client->super)
client            128 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	spin_lock(&umem->object.client->lock);
client            130 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	spin_unlock(&umem->object.client->lock);
client            170 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	umem->priv = oclass->client->super;
client            184 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	spin_lock(&umem->object.client->lock);
client            185 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	list_add(&umem->head, &umem->object.client->umem);
client            186 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	spin_unlock(&umem->object.client->lock);
client             37 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c 	if (mmu->func->mem.user.oclass && oclass->client->super) {
client             34 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c nvkm_uvmm_search(struct nvkm_client *client, u64 handle)
client             38 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	object = nvkm_object_search(client, handle, &nvkm_uvmm);
client             48 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	struct nvkm_client *client = uvmm->object.client;
client             62 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	if (!client->super)
client             77 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	struct nvkm_client *client = uvmm->object.client;
client             96 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	if (!client->super)
client            111 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	struct nvkm_client *client = uvmm->object.client;
client            133 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	if (ret = -ENOENT, (!vma->user && !client->super) || vma->busy) {
client            135 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 			  vma->user, !client->super, vma->busy);
client            154 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	struct nvkm_client *client = uvmm->object.client;
client            172 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	memory = nvkm_umem_search(client, handle);
client            184 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	if (ret = -ENOENT, (!vma->user && !client->super) || vma->busy) {
client            186 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 			  vma->user, !client->super, vma->busy);
client            233 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	struct nvkm_client *client = uvmm->object.client;
client            255 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	if (ret = -ENOENT, (!vma->user && !client->super) || vma->busy) {
client            257 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 			  vma->user, !client->super, vma->busy);
client            271 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	struct nvkm_client *client = uvmm->object.client;
client            300 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 	vma->user = !client->super;
client            347 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 						     uvmm->object.client,
client            404 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 		uvmm->vmm->debug = max(uvmm->vmm->debug, oclass->client->debug);
client            417 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 					     (args->v0.client << 9));
client            442 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	       struct nvkm_client *client, u32 mthd, void *argv, u32 argc)
client            444 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	if (client->super) {
client             35 drivers/gpu/drm/nouveau/nvkm/subdev/therm/ic.c 	struct i2c_client *client;
client             39 drivers/gpu/drm/nouveau/nvkm/subdev/therm/ic.c 	client = i2c_new_device(&bus->i2c, info);
client             40 drivers/gpu/drm/nouveau/nvkm/subdev/therm/ic.c 	if (!client)
client             43 drivers/gpu/drm/nouveau/nvkm/subdev/therm/ic.c 	if (!client->dev.driver ||
client             44 drivers/gpu/drm/nouveau/nvkm/subdev/therm/ic.c 	    to_i2c_driver(client->dev.driver)->detect(client, info)) {
client             45 drivers/gpu/drm/nouveau/nvkm/subdev/therm/ic.c 		i2c_unregister_device(client);
client             53 drivers/gpu/drm/nouveau/nvkm/subdev/therm/ic.c 	therm->ic = client;
client             65 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	struct i2c_client *client;
client            213 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c static int lcd_olinuxino_probe(struct i2c_client *client,
client            216 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	struct device *dev = &client->dev;
client            221 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C |
client            229 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	i2c_set_clientdata(client, lcd);
client            231 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	lcd->client = client;
client            238 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 		ret = i2c_smbus_read_i2c_block_data(client,
client            298 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c static int lcd_olinuxino_remove(struct i2c_client *client)
client            300 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	struct lcd_olinuxino *panel = i2c_get_clientdata(client);
client           1995 drivers/gpu/drm/tegra/dc.c static int tegra_dc_init(struct host1x_client *client)
client           1997 drivers/gpu/drm/tegra/dc.c 	struct drm_device *drm = dev_get_drvdata(client->parent);
client           1999 drivers/gpu/drm/tegra/dc.c 	struct tegra_dc *dc = host1x_client_to_dc(client);
client           2013 drivers/gpu/drm/tegra/dc.c 	dc->syncpt = host1x_syncpt_request(client, flags);
client           2017 drivers/gpu/drm/tegra/dc.c 	dc->group = host1x_client_iommu_attach(client, true);
client           2020 drivers/gpu/drm/tegra/dc.c 		dev_err(client->dev, "failed to attach to domain: %d\n", err);
client           2086 drivers/gpu/drm/tegra/dc.c 	host1x_client_iommu_detach(client, dc->group);
client           2092 drivers/gpu/drm/tegra/dc.c static int tegra_dc_exit(struct host1x_client *client)
client           2094 drivers/gpu/drm/tegra/dc.c 	struct tegra_dc *dc = host1x_client_to_dc(client);
client           2108 drivers/gpu/drm/tegra/dc.c 	host1x_client_iommu_detach(client, dc->group);
client           2491 drivers/gpu/drm/tegra/dc.c 	INIT_LIST_HEAD(&dc->client.list);
client           2492 drivers/gpu/drm/tegra/dc.c 	dc->client.ops = &dc_client_ops;
client           2493 drivers/gpu/drm/tegra/dc.c 	dc->client.dev = &pdev->dev;
client           2495 drivers/gpu/drm/tegra/dc.c 	err = host1x_client_register(&dc->client);
client           2510 drivers/gpu/drm/tegra/dc.c 	err = host1x_client_unregister(&dc->client);
client             72 drivers/gpu/drm/tegra/dc.h 	struct host1x_client client;
client             98 drivers/gpu/drm/tegra/dc.h host1x_client_to_dc(struct host1x_client *client)
client            100 drivers/gpu/drm/tegra/dc.h 	return container_of(client, struct tegra_dc, client);
client            268 drivers/gpu/drm/tegra/drm.c 	context->client->ops->close_channel(context);
client            329 drivers/gpu/drm/tegra/drm.c 	struct host1x_client *client = &context->client->base;
client            361 drivers/gpu/drm/tegra/drm.c 	job->client = client;
client            362 drivers/gpu/drm/tegra/drm.c 	job->class = client->class;
client            472 drivers/gpu/drm/tegra/drm.c 	job->is_addr_reg = context->client->ops->is_addr_reg;
client            473 drivers/gpu/drm/tegra/drm.c 	job->is_valid_class = context->client->ops->is_valid_class;
client            481 drivers/gpu/drm/tegra/drm.c 	err = host1x_job_pin(job, context->client->base.dev);
client            586 drivers/gpu/drm/tegra/drm.c 			     struct tegra_drm_client *client,
client            591 drivers/gpu/drm/tegra/drm.c 	err = client->ops->open_channel(client, context);
client            597 drivers/gpu/drm/tegra/drm.c 		client->ops->close_channel(context);
client            601 drivers/gpu/drm/tegra/drm.c 	context->client = client;
client            614 drivers/gpu/drm/tegra/drm.c 	struct tegra_drm_client *client;
client            623 drivers/gpu/drm/tegra/drm.c 	list_for_each_entry(client, &tegra->clients, list)
client            624 drivers/gpu/drm/tegra/drm.c 		if (client->base.class == args->client) {
client            625 drivers/gpu/drm/tegra/drm.c 			err = tegra_client_open(fpriv, client, context);
client            681 drivers/gpu/drm/tegra/drm.c 	if (args->index >= context->client->base.num_syncpts) {
client            686 drivers/gpu/drm/tegra/drm.c 	syncpt = context->client->base.syncpts[args->index];
client            710 drivers/gpu/drm/tegra/drm.c 	err = context->client->ops->submit(context, args, drm, file);
client            735 drivers/gpu/drm/tegra/drm.c 	if (args->syncpt >= context->client->base.num_syncpts) {
client            740 drivers/gpu/drm/tegra/drm.c 	syncpt = context->client->base.syncpts[args->syncpt];
client           1050 drivers/gpu/drm/tegra/drm.c 			      struct tegra_drm_client *client)
client           1053 drivers/gpu/drm/tegra/drm.c 	list_add_tail(&client->list, &tegra->clients);
client           1054 drivers/gpu/drm/tegra/drm.c 	client->drm = tegra;
client           1061 drivers/gpu/drm/tegra/drm.c 				struct tegra_drm_client *client)
client           1064 drivers/gpu/drm/tegra/drm.c 	list_del_init(&client->list);
client           1065 drivers/gpu/drm/tegra/drm.c 	client->drm = NULL;
client           1071 drivers/gpu/drm/tegra/drm.c struct iommu_group *host1x_client_iommu_attach(struct host1x_client *client,
client           1074 drivers/gpu/drm/tegra/drm.c 	struct drm_device *drm = dev_get_drvdata(client->parent);
client           1080 drivers/gpu/drm/tegra/drm.c 		group = iommu_group_get(client->dev);
client           1082 drivers/gpu/drm/tegra/drm.c 			dev_err(client->dev, "failed to get IOMMU group\n");
client           1088 drivers/gpu/drm/tegra/drm.c 			if (client->dev->archdata.mapping) {
client           1090 drivers/gpu/drm/tegra/drm.c 					to_dma_iommu_mapping(client->dev);
client           1091 drivers/gpu/drm/tegra/drm.c 				arm_iommu_detach_device(client->dev);
client           1109 drivers/gpu/drm/tegra/drm.c void host1x_client_iommu_detach(struct host1x_client *client,
client           1112 drivers/gpu/drm/tegra/drm.c 	struct drm_device *drm = dev_get_drvdata(client->parent);
client             64 drivers/gpu/drm/tegra/drm.h 	struct tegra_drm_client *client;
client             70 drivers/gpu/drm/tegra/drm.h 	int (*open_channel)(struct tegra_drm_client *client,
client             94 drivers/gpu/drm/tegra/drm.h host1x_to_drm_client(struct host1x_client *client)
client             96 drivers/gpu/drm/tegra/drm.h 	return container_of(client, struct tegra_drm_client, base);
client            100 drivers/gpu/drm/tegra/drm.h 			      struct tegra_drm_client *client);
client            102 drivers/gpu/drm/tegra/drm.h 				struct tegra_drm_client *client);
client            103 drivers/gpu/drm/tegra/drm.h struct iommu_group *host1x_client_iommu_attach(struct host1x_client *client,
client            105 drivers/gpu/drm/tegra/drm.h void host1x_client_iommu_detach(struct host1x_client *client,
client             55 drivers/gpu/drm/tegra/dsi.c 	struct host1x_client client;
client             86 drivers/gpu/drm/tegra/dsi.c host1x_client_to_dsi(struct host1x_client *client)
client             88 drivers/gpu/drm/tegra/dsi.c 	return container_of(client, struct tegra_dsi, client);
client           1031 drivers/gpu/drm/tegra/dsi.c static int tegra_dsi_init(struct host1x_client *client)
client           1033 drivers/gpu/drm/tegra/dsi.c 	struct drm_device *drm = dev_get_drvdata(client->parent);
client           1034 drivers/gpu/drm/tegra/dsi.c 	struct tegra_dsi *dsi = host1x_client_to_dsi(client);
client           1039 drivers/gpu/drm/tegra/dsi.c 		dsi->output.dev = client->dev;
client           1069 drivers/gpu/drm/tegra/dsi.c static int tegra_dsi_exit(struct host1x_client *client)
client           1071 drivers/gpu/drm/tegra/dsi.c 	struct tegra_dsi *dsi = host1x_client_to_dsi(client);
client           1557 drivers/gpu/drm/tegra/dsi.c 	INIT_LIST_HEAD(&dsi->client.list);
client           1558 drivers/gpu/drm/tegra/dsi.c 	dsi->client.ops = &dsi_client_ops;
client           1559 drivers/gpu/drm/tegra/dsi.c 	dsi->client.dev = &pdev->dev;
client           1561 drivers/gpu/drm/tegra/dsi.c 	err = host1x_client_register(&dsi->client);
client           1584 drivers/gpu/drm/tegra/dsi.c 	err = host1x_client_unregister(&dsi->client);
client             21 drivers/gpu/drm/tegra/gr2d.c 	struct tegra_drm_client client;
client             30 drivers/gpu/drm/tegra/gr2d.c static inline struct gr2d *to_gr2d(struct tegra_drm_client *client)
client             32 drivers/gpu/drm/tegra/gr2d.c 	return container_of(client, struct gr2d, client);
client             35 drivers/gpu/drm/tegra/gr2d.c static int gr2d_init(struct host1x_client *client)
client             37 drivers/gpu/drm/tegra/gr2d.c 	struct tegra_drm_client *drm = host1x_to_drm_client(client);
client             38 drivers/gpu/drm/tegra/gr2d.c 	struct drm_device *dev = dev_get_drvdata(client->parent);
client             43 drivers/gpu/drm/tegra/gr2d.c 	gr2d->channel = host1x_channel_request(client->dev);
client             47 drivers/gpu/drm/tegra/gr2d.c 	client->syncpts[0] = host1x_syncpt_request(client, flags);
client             48 drivers/gpu/drm/tegra/gr2d.c 	if (!client->syncpts[0]) {
client             50 drivers/gpu/drm/tegra/gr2d.c 		dev_err(client->dev, "failed to request syncpoint: %d\n", err);
client             54 drivers/gpu/drm/tegra/gr2d.c 	gr2d->group = host1x_client_iommu_attach(client, false);
client             57 drivers/gpu/drm/tegra/gr2d.c 		dev_err(client->dev, "failed to attach to domain: %d\n", err);
client             63 drivers/gpu/drm/tegra/gr2d.c 		dev_err(client->dev, "failed to register client: %d\n", err);
client             70 drivers/gpu/drm/tegra/gr2d.c 	host1x_client_iommu_detach(client, gr2d->group);
client             72 drivers/gpu/drm/tegra/gr2d.c 	host1x_syncpt_free(client->syncpts[0]);
client             78 drivers/gpu/drm/tegra/gr2d.c static int gr2d_exit(struct host1x_client *client)
client             80 drivers/gpu/drm/tegra/gr2d.c 	struct tegra_drm_client *drm = host1x_to_drm_client(client);
client             81 drivers/gpu/drm/tegra/gr2d.c 	struct drm_device *dev = dev_get_drvdata(client->parent);
client             90 drivers/gpu/drm/tegra/gr2d.c 	host1x_client_iommu_detach(client, gr2d->group);
client             91 drivers/gpu/drm/tegra/gr2d.c 	host1x_syncpt_free(client->syncpts[0]);
client            102 drivers/gpu/drm/tegra/gr2d.c static int gr2d_open_channel(struct tegra_drm_client *client,
client            105 drivers/gpu/drm/tegra/gr2d.c 	struct gr2d *gr2d = to_gr2d(client);
client            219 drivers/gpu/drm/tegra/gr2d.c 	INIT_LIST_HEAD(&gr2d->client.base.list);
client            220 drivers/gpu/drm/tegra/gr2d.c 	gr2d->client.base.ops = &gr2d_client_ops;
client            221 drivers/gpu/drm/tegra/gr2d.c 	gr2d->client.base.dev = dev;
client            222 drivers/gpu/drm/tegra/gr2d.c 	gr2d->client.base.class = HOST1X_CLASS_GR2D;
client            223 drivers/gpu/drm/tegra/gr2d.c 	gr2d->client.base.syncpts = syncpts;
client            224 drivers/gpu/drm/tegra/gr2d.c 	gr2d->client.base.num_syncpts = 1;
client            226 drivers/gpu/drm/tegra/gr2d.c 	INIT_LIST_HEAD(&gr2d->client.list);
client            227 drivers/gpu/drm/tegra/gr2d.c 	gr2d->client.version = gr2d->soc->version;
client            228 drivers/gpu/drm/tegra/gr2d.c 	gr2d->client.ops = &gr2d_ops;
client            230 drivers/gpu/drm/tegra/gr2d.c 	err = host1x_client_register(&gr2d->client.base);
client            251 drivers/gpu/drm/tegra/gr2d.c 	err = host1x_client_unregister(&gr2d->client.base);
client             27 drivers/gpu/drm/tegra/gr3d.c 	struct tegra_drm_client client;
client             39 drivers/gpu/drm/tegra/gr3d.c static inline struct gr3d *to_gr3d(struct tegra_drm_client *client)
client             41 drivers/gpu/drm/tegra/gr3d.c 	return container_of(client, struct gr3d, client);
client             44 drivers/gpu/drm/tegra/gr3d.c static int gr3d_init(struct host1x_client *client)
client             46 drivers/gpu/drm/tegra/gr3d.c 	struct tegra_drm_client *drm = host1x_to_drm_client(client);
client             47 drivers/gpu/drm/tegra/gr3d.c 	struct drm_device *dev = dev_get_drvdata(client->parent);
client             52 drivers/gpu/drm/tegra/gr3d.c 	gr3d->channel = host1x_channel_request(client->dev);
client             56 drivers/gpu/drm/tegra/gr3d.c 	client->syncpts[0] = host1x_syncpt_request(client, flags);
client             57 drivers/gpu/drm/tegra/gr3d.c 	if (!client->syncpts[0]) {
client             59 drivers/gpu/drm/tegra/gr3d.c 		dev_err(client->dev, "failed to request syncpoint: %d\n", err);
client             63 drivers/gpu/drm/tegra/gr3d.c 	gr3d->group = host1x_client_iommu_attach(client, false);
client             66 drivers/gpu/drm/tegra/gr3d.c 		dev_err(client->dev, "failed to attach to domain: %d\n", err);
client             72 drivers/gpu/drm/tegra/gr3d.c 		dev_err(client->dev, "failed to register client: %d\n", err);
client             79 drivers/gpu/drm/tegra/gr3d.c 	host1x_client_iommu_detach(client, gr3d->group);
client             81 drivers/gpu/drm/tegra/gr3d.c 	host1x_syncpt_free(client->syncpts[0]);
client             87 drivers/gpu/drm/tegra/gr3d.c static int gr3d_exit(struct host1x_client *client)
client             89 drivers/gpu/drm/tegra/gr3d.c 	struct tegra_drm_client *drm = host1x_to_drm_client(client);
client             90 drivers/gpu/drm/tegra/gr3d.c 	struct drm_device *dev = dev_get_drvdata(client->parent);
client             98 drivers/gpu/drm/tegra/gr3d.c 	host1x_client_iommu_detach(client, gr3d->group);
client             99 drivers/gpu/drm/tegra/gr3d.c 	host1x_syncpt_free(client->syncpts[0]);
client            110 drivers/gpu/drm/tegra/gr3d.c static int gr3d_open_channel(struct tegra_drm_client *client,
client            113 drivers/gpu/drm/tegra/gr3d.c 	struct gr3d *gr3d = to_gr3d(client);
client            346 drivers/gpu/drm/tegra/gr3d.c 	INIT_LIST_HEAD(&gr3d->client.base.list);
client            347 drivers/gpu/drm/tegra/gr3d.c 	gr3d->client.base.ops = &gr3d_client_ops;
client            348 drivers/gpu/drm/tegra/gr3d.c 	gr3d->client.base.dev = &pdev->dev;
client            349 drivers/gpu/drm/tegra/gr3d.c 	gr3d->client.base.class = HOST1X_CLASS_GR3D;
client            350 drivers/gpu/drm/tegra/gr3d.c 	gr3d->client.base.syncpts = syncpts;
client            351 drivers/gpu/drm/tegra/gr3d.c 	gr3d->client.base.num_syncpts = 1;
client            353 drivers/gpu/drm/tegra/gr3d.c 	INIT_LIST_HEAD(&gr3d->client.list);
client            354 drivers/gpu/drm/tegra/gr3d.c 	gr3d->client.version = gr3d->soc->version;
client            355 drivers/gpu/drm/tegra/gr3d.c 	gr3d->client.ops = &gr3d_ops;
client            357 drivers/gpu/drm/tegra/gr3d.c 	err = host1x_client_register(&gr3d->client.base);
client            378 drivers/gpu/drm/tegra/gr3d.c 	err = host1x_client_unregister(&gr3d->client.base);
client             56 drivers/gpu/drm/tegra/hdmi.c 	struct host1x_client client;
client             84 drivers/gpu/drm/tegra/hdmi.c host1x_client_to_hdmi(struct host1x_client *client)
client             86 drivers/gpu/drm/tegra/hdmi.c 	return container_of(client, struct tegra_hdmi, client);
client           1425 drivers/gpu/drm/tegra/hdmi.c static int tegra_hdmi_init(struct host1x_client *client)
client           1427 drivers/gpu/drm/tegra/hdmi.c 	struct drm_device *drm = dev_get_drvdata(client->parent);
client           1428 drivers/gpu/drm/tegra/hdmi.c 	struct tegra_hdmi *hdmi = host1x_client_to_hdmi(client);
client           1431 drivers/gpu/drm/tegra/hdmi.c 	hdmi->output.dev = client->dev;
client           1451 drivers/gpu/drm/tegra/hdmi.c 		dev_err(client->dev, "failed to initialize output: %d\n", err);
client           1459 drivers/gpu/drm/tegra/hdmi.c 		dev_err(client->dev, "failed to enable HDMI regulator: %d\n",
client           1479 drivers/gpu/drm/tegra/hdmi.c static int tegra_hdmi_exit(struct host1x_client *client)
client           1481 drivers/gpu/drm/tegra/hdmi.c 	struct tegra_hdmi *hdmi = host1x_client_to_hdmi(client);
client           1669 drivers/gpu/drm/tegra/hdmi.c 	INIT_LIST_HEAD(&hdmi->client.list);
client           1670 drivers/gpu/drm/tegra/hdmi.c 	hdmi->client.ops = &hdmi_client_ops;
client           1671 drivers/gpu/drm/tegra/hdmi.c 	hdmi->client.dev = &pdev->dev;
client           1673 drivers/gpu/drm/tegra/hdmi.c 	err = host1x_client_register(&hdmi->client);
client           1690 drivers/gpu/drm/tegra/hdmi.c 	err = host1x_client_unregister(&hdmi->client);
client            608 drivers/gpu/drm/tegra/hub.c 	struct drm_device *drm = dev_get_drvdata(hub->client.parent);
client            687 drivers/gpu/drm/tegra/hub.c 	struct device *dev = hub->client.dev;
client            708 drivers/gpu/drm/tegra/hub.c static int tegra_display_hub_init(struct host1x_client *client)
client            710 drivers/gpu/drm/tegra/hub.c 	struct tegra_display_hub *hub = to_tegra_display_hub(client);
client            711 drivers/gpu/drm/tegra/hub.c 	struct drm_device *drm = dev_get_drvdata(client->parent);
client            727 drivers/gpu/drm/tegra/hub.c static int tegra_display_hub_exit(struct host1x_client *client)
client            729 drivers/gpu/drm/tegra/hub.c 	struct drm_device *drm = dev_get_drvdata(client->parent);
client            842 drivers/gpu/drm/tegra/hub.c 	INIT_LIST_HEAD(&hub->client.list);
client            843 drivers/gpu/drm/tegra/hub.c 	hub->client.ops = &tegra_display_hub_ops;
client            844 drivers/gpu/drm/tegra/hub.c 	hub->client.dev = &pdev->dev;
client            846 drivers/gpu/drm/tegra/hub.c 	err = host1x_client_register(&hub->client);
client            859 drivers/gpu/drm/tegra/hub.c 	err = host1x_client_unregister(&hub->client);
client             42 drivers/gpu/drm/tegra/hub.h 	struct host1x_client client;
client             56 drivers/gpu/drm/tegra/hub.h to_tegra_display_hub(struct host1x_client *client)
client             58 drivers/gpu/drm/tegra/hub.h 	return container_of(client, struct tegra_display_hub, client);
client            396 drivers/gpu/drm/tegra/sor.c 	struct host1x_client client;
client            464 drivers/gpu/drm/tegra/sor.c host1x_client_to_sor(struct host1x_client *client)
client            466 drivers/gpu/drm/tegra/sor.c 	return container_of(client, struct tegra_sor, client);
client           2806 drivers/gpu/drm/tegra/sor.c static int tegra_sor_init(struct host1x_client *client)
client           2808 drivers/gpu/drm/tegra/sor.c 	struct drm_device *drm = dev_get_drvdata(client->parent);
client           2810 drivers/gpu/drm/tegra/sor.c 	struct tegra_sor *sor = host1x_client_to_sor(client);
client           2855 drivers/gpu/drm/tegra/sor.c 		dev_err(client->dev, "failed to initialize output: %d\n", err);
client           2928 drivers/gpu/drm/tegra/sor.c static int tegra_sor_exit(struct host1x_client *client)
client           2930 drivers/gpu/drm/tegra/sor.c 	struct tegra_sor *sor = host1x_client_to_sor(client);
client           3478 drivers/gpu/drm/tegra/sor.c 	INIT_LIST_HEAD(&sor->client.list);
client           3479 drivers/gpu/drm/tegra/sor.c 	sor->client.ops = &sor_client_ops;
client           3480 drivers/gpu/drm/tegra/sor.c 	sor->client.dev = &pdev->dev;
client           3482 drivers/gpu/drm/tegra/sor.c 	err = host1x_client_register(&sor->client);
client           3506 drivers/gpu/drm/tegra/sor.c 	err = host1x_client_unregister(&sor->client);
client             35 drivers/gpu/drm/tegra/vic.c 	struct tegra_drm_client client;
client             46 drivers/gpu/drm/tegra/vic.c static inline struct vic *to_vic(struct tegra_drm_client *client)
client             48 drivers/gpu/drm/tegra/vic.c 	return container_of(client, struct vic, client);
client            181 drivers/gpu/drm/tegra/vic.c static int vic_init(struct host1x_client *client)
client            183 drivers/gpu/drm/tegra/vic.c 	struct tegra_drm_client *drm = host1x_to_drm_client(client);
client            184 drivers/gpu/drm/tegra/vic.c 	struct iommu_group *group = iommu_group_get(client->dev);
client            185 drivers/gpu/drm/tegra/vic.c 	struct drm_device *dev = dev_get_drvdata(client->parent);
client            201 drivers/gpu/drm/tegra/vic.c 	vic->channel = host1x_channel_request(client->dev);
client            207 drivers/gpu/drm/tegra/vic.c 	client->syncpts[0] = host1x_syncpt_request(client, 0);
client            208 drivers/gpu/drm/tegra/vic.c 	if (!client->syncpts[0]) {
client            220 drivers/gpu/drm/tegra/vic.c 	host1x_syncpt_free(client->syncpts[0]);
client            230 drivers/gpu/drm/tegra/vic.c static int vic_exit(struct host1x_client *client)
client            232 drivers/gpu/drm/tegra/vic.c 	struct tegra_drm_client *drm = host1x_to_drm_client(client);
client            233 drivers/gpu/drm/tegra/vic.c 	struct iommu_group *group = iommu_group_get(client->dev);
client            234 drivers/gpu/drm/tegra/vic.c 	struct drm_device *dev = dev_get_drvdata(client->parent);
client            243 drivers/gpu/drm/tegra/vic.c 	host1x_syncpt_free(client->syncpts[0]);
client            266 drivers/gpu/drm/tegra/vic.c 	vic->falcon.data = vic->client.drm;
client            283 drivers/gpu/drm/tegra/vic.c static int vic_open_channel(struct tegra_drm_client *client,
client            286 drivers/gpu/drm/tegra/vic.c 	struct vic *vic = to_vic(client);
client            316 drivers/gpu/drm/tegra/vic.c 	struct vic *vic = to_vic(context->client);
client            421 drivers/gpu/drm/tegra/vic.c 	INIT_LIST_HEAD(&vic->client.base.list);
client            422 drivers/gpu/drm/tegra/vic.c 	vic->client.base.ops = &vic_client_ops;
client            423 drivers/gpu/drm/tegra/vic.c 	vic->client.base.dev = dev;
client            424 drivers/gpu/drm/tegra/vic.c 	vic->client.base.class = HOST1X_CLASS_VIC;
client            425 drivers/gpu/drm/tegra/vic.c 	vic->client.base.syncpts = syncpts;
client            426 drivers/gpu/drm/tegra/vic.c 	vic->client.base.num_syncpts = 1;
client            429 drivers/gpu/drm/tegra/vic.c 	INIT_LIST_HEAD(&vic->client.list);
client            430 drivers/gpu/drm/tegra/vic.c 	vic->client.version = vic->config->version;
client            431 drivers/gpu/drm/tegra/vic.c 	vic->client.ops = &vic_ops;
client            433 drivers/gpu/drm/tegra/vic.c 	err = host1x_client_register(&vic->client.base);
client            449 drivers/gpu/drm/tegra/vic.c 	host1x_client_unregister(&vic->client.base);
client            461 drivers/gpu/drm/tegra/vic.c 	err = host1x_client_unregister(&vic->client.base);
client            179 drivers/gpu/drm/v3d/v3d_irq.c 		const char *client = "?";
client            189 drivers/gpu/drm/v3d/v3d_irq.c 				client = v3d41_axi_ids[axi_id];
client            193 drivers/gpu/drm/v3d/v3d_irq.c 			client, axi_id, (long long)vio_addr,
client             27 drivers/gpu/host1x/bus.c 	struct host1x_client *client;
client            110 drivers/gpu/host1x/bus.c 				   struct host1x_client *client)
client            121 drivers/gpu/host1x/bus.c 	list_move_tail(&client->list, &device->clients);
client            123 drivers/gpu/host1x/bus.c 	client->parent = &device->dev;
client            124 drivers/gpu/host1x/bus.c 	subdev->client = client;
client            140 drivers/gpu/host1x/bus.c 	struct host1x_client *client = subdev->client;
client            158 drivers/gpu/host1x/bus.c 	subdev->client = NULL;
client            159 drivers/gpu/host1x/bus.c 	client->parent = NULL;
client            169 drivers/gpu/host1x/bus.c 	list_del_init(&client->list);
client            193 drivers/gpu/host1x/bus.c 	struct host1x_client *client;
client            198 drivers/gpu/host1x/bus.c 	list_for_each_entry(client, &device->clients, list) {
client            199 drivers/gpu/host1x/bus.c 		if (client->ops && client->ops->init) {
client            200 drivers/gpu/host1x/bus.c 			err = client->ops->init(client);
client            204 drivers/gpu/host1x/bus.c 					dev_name(client->dev), err);
client            215 drivers/gpu/host1x/bus.c 	list_for_each_entry_continue_reverse(client, &device->clients, list)
client            216 drivers/gpu/host1x/bus.c 		if (client->ops->exit)
client            217 drivers/gpu/host1x/bus.c 			client->ops->exit(client);
client            235 drivers/gpu/host1x/bus.c 	struct host1x_client *client;
client            240 drivers/gpu/host1x/bus.c 	list_for_each_entry_reverse(client, &device->clients, list) {
client            241 drivers/gpu/host1x/bus.c 		if (client->ops && client->ops->exit) {
client            242 drivers/gpu/host1x/bus.c 			err = client->ops->exit(client);
client            246 drivers/gpu/host1x/bus.c 					dev_name(client->dev), err);
client            260 drivers/gpu/host1x/bus.c 			     struct host1x_client *client)
client            269 drivers/gpu/host1x/bus.c 			if (subdev->np == client->dev->of_node) {
client            270 drivers/gpu/host1x/bus.c 				host1x_subdev_register(device, subdev, client);
client            282 drivers/gpu/host1x/bus.c 			     struct host1x_client *client)
client            291 drivers/gpu/host1x/bus.c 			if (subdev->client == client) {
client            363 drivers/gpu/host1x/bus.c 	struct host1x_client *client, *cl;
client            378 drivers/gpu/host1x/bus.c 		client = subdev->client;
client            384 drivers/gpu/host1x/bus.c 		list_add_tail(&client->list, &clients);
client            398 drivers/gpu/host1x/bus.c 	list_for_each_entry_safe(client, cl, &device->clients, list)
client            399 drivers/gpu/host1x/bus.c 		list_move_tail(&client->list, &clients);
client            419 drivers/gpu/host1x/bus.c 	struct host1x_client *client, *tmp;
client            460 drivers/gpu/host1x/bus.c 	list_for_each_entry_safe(client, tmp, &clients, list) {
client            462 drivers/gpu/host1x/bus.c 			if (subdev->np == client->dev->of_node) {
client            463 drivers/gpu/host1x/bus.c 				host1x_subdev_register(device, subdev, client);
client            543 drivers/gpu/host1x/bus.c 				   dev_name(subdev->client->dev));
client            708 drivers/gpu/host1x/bus.c int host1x_client_register(struct host1x_client *client)
client            716 drivers/gpu/host1x/bus.c 		err = host1x_add_client(host1x, client);
client            726 drivers/gpu/host1x/bus.c 	list_add_tail(&client->list, &clients);
client            740 drivers/gpu/host1x/bus.c int host1x_client_unregister(struct host1x_client *client)
client            749 drivers/gpu/host1x/bus.c 		err = host1x_del_client(host1x, client);
client            760 drivers/gpu/host1x/bus.c 		if (c == client) {
client            278 drivers/gpu/host1x/cdma.c 	if (cdma->timeout.client) {
client            283 drivers/gpu/host1x/cdma.c 	cdma->timeout.client = job->client;
client            299 drivers/gpu/host1x/cdma.c 	cdma->timeout.client = NULL;
client            340 drivers/gpu/host1x/cdma.c 		if (cdma->timeout.client)
client             50 drivers/gpu/host1x/cdma.h 	struct host1x_client *client;
client            262 drivers/gpu/host1x/hw/cdma_hw.c 	if (!cdma->timeout.client) {
client             46 drivers/gpu/host1x/syncpt.c 						 struct host1x_client *client,
client             68 drivers/gpu/host1x/syncpt.c 			 client ? dev_name(client->dev) : NULL);
client             72 drivers/gpu/host1x/syncpt.c 	sp->client = client;
client            421 drivers/gpu/host1x/syncpt.c struct host1x_syncpt *host1x_syncpt_request(struct host1x_client *client,
client            424 drivers/gpu/host1x/syncpt.c 	struct host1x *host = dev_get_drvdata(client->parent->parent);
client            426 drivers/gpu/host1x/syncpt.c 	return host1x_syncpt_alloc(host, client, flags);
client            450 drivers/gpu/host1x/syncpt.c 	sp->client = NULL;
client             36 drivers/gpu/host1x/syncpt.h 	struct host1x_client *client;
client            189 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client;
client            195 drivers/gpu/vga/vga_switcheroo.c 	list_for_each_entry(client, &vgasr_priv.clients, list) {
client            196 drivers/gpu/vga/vga_switcheroo.c 		if (!client_is_vga(client) ||
client            197 drivers/gpu/vga/vga_switcheroo.c 		     client_id(client) != VGA_SWITCHEROO_UNKNOWN_ID)
client            200 drivers/gpu/vga/vga_switcheroo.c 		ret = vgasr_priv.handler->get_client_id(client->pdev);
client            204 drivers/gpu/vga/vga_switcheroo.c 		client->id = ret;
client            207 drivers/gpu/vga/vga_switcheroo.c 	list_for_each_entry(client, &vgasr_priv.clients, list) {
client            208 drivers/gpu/vga/vga_switcheroo.c 		if (!client_is_audio(client) ||
client            209 drivers/gpu/vga/vga_switcheroo.c 		     client_id(client) != VGA_SWITCHEROO_UNKNOWN_ID)
client            212 drivers/gpu/vga/vga_switcheroo.c 		ret = vgasr_priv.handler->get_client_id(client->vga_dev);
client            216 drivers/gpu/vga/vga_switcheroo.c 		client->id = ret | ID_BIT_AUDIO;
client            217 drivers/gpu/vga/vga_switcheroo.c 		if (client->ops->gpu_bound)
client            218 drivers/gpu/vga/vga_switcheroo.c 			client->ops->gpu_bound(client->pdev, ret);
client            298 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client;
client            300 drivers/gpu/vga/vga_switcheroo.c 	client = kzalloc(sizeof(*client), GFP_KERNEL);
client            301 drivers/gpu/vga/vga_switcheroo.c 	if (!client)
client            304 drivers/gpu/vga/vga_switcheroo.c 	client->pwr_state = VGA_SWITCHEROO_ON;
client            305 drivers/gpu/vga/vga_switcheroo.c 	client->pdev = pdev;
client            306 drivers/gpu/vga/vga_switcheroo.c 	client->ops = ops;
client            307 drivers/gpu/vga/vga_switcheroo.c 	client->id = id;
client            308 drivers/gpu/vga/vga_switcheroo.c 	client->active = active;
client            309 drivers/gpu/vga/vga_switcheroo.c 	client->driver_power_control = driver_power_control;
client            310 drivers/gpu/vga/vga_switcheroo.c 	client->vga_dev = vga_dev;
client            313 drivers/gpu/vga/vga_switcheroo.c 	list_add_tail(&client->list, &vgasr_priv.clients);
client            314 drivers/gpu/vga/vga_switcheroo.c 	if (client_is_vga(client))
client            396 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client;
client            398 drivers/gpu/vga/vga_switcheroo.c 	list_for_each_entry(client, head, list)
client            399 drivers/gpu/vga/vga_switcheroo.c 		if (client->pdev == pdev)
client            400 drivers/gpu/vga/vga_switcheroo.c 			return client;
client            408 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client;
client            410 drivers/gpu/vga/vga_switcheroo.c 	list_for_each_entry(client, head, list)
client            411 drivers/gpu/vga/vga_switcheroo.c 		if (client->id == client_id)
client            412 drivers/gpu/vga/vga_switcheroo.c 			return client;
client            419 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client;
client            421 drivers/gpu/vga/vga_switcheroo.c 	list_for_each_entry(client, head, list)
client            422 drivers/gpu/vga/vga_switcheroo.c 		if (client->active)
client            423 drivers/gpu/vga/vga_switcheroo.c 			return client;
client            455 drivers/gpu/vga/vga_switcheroo.c vga_switcheroo_pwr_state(struct vga_switcheroo_client *client)
client            457 drivers/gpu/vga/vga_switcheroo.c 	if (client->driver_power_control)
client            458 drivers/gpu/vga/vga_switcheroo.c 		if (pm_runtime_enabled(&client->pdev->dev) &&
client            459 drivers/gpu/vga/vga_switcheroo.c 		    pm_runtime_active(&client->pdev->dev))
client            464 drivers/gpu/vga/vga_switcheroo.c 		return client->pwr_state;
client            478 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client;
client            482 drivers/gpu/vga/vga_switcheroo.c 	client = find_client_from_pci(&vgasr_priv.clients, pdev);
client            483 drivers/gpu/vga/vga_switcheroo.c 	if (!client)
client            486 drivers/gpu/vga/vga_switcheroo.c 		ret = vga_switcheroo_pwr_state(client);
client            500 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client;
client            503 drivers/gpu/vga/vga_switcheroo.c 	client = find_client_from_pci(&vgasr_priv.clients, pdev);
client            504 drivers/gpu/vga/vga_switcheroo.c 	if (client) {
client            505 drivers/gpu/vga/vga_switcheroo.c 		if (client_is_vga(client))
client            507 drivers/gpu/vga/vga_switcheroo.c 		list_del(&client->list);
client            508 drivers/gpu/vga/vga_switcheroo.c 		kfree(client);
client            530 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client;
client            533 drivers/gpu/vga/vga_switcheroo.c 	client = find_client_from_pci(&vgasr_priv.clients, pdev);
client            534 drivers/gpu/vga/vga_switcheroo.c 	if (client)
client            535 drivers/gpu/vga/vga_switcheroo.c 		client->fb_info = info;
client            648 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client;
client            652 drivers/gpu/vga/vga_switcheroo.c 	list_for_each_entry(client, &vgasr_priv.clients, list) {
client            654 drivers/gpu/vga/vga_switcheroo.c 			   client_id(client) == VGA_SWITCHEROO_DIS ? "DIS" :
client            656 drivers/gpu/vga/vga_switcheroo.c 			   client_is_vga(client) ? "" : "-Audio",
client            657 drivers/gpu/vga/vga_switcheroo.c 			   client->active ? '+' : ' ',
client            658 drivers/gpu/vga/vga_switcheroo.c 			   client->driver_power_control ? "Dyn" : "",
client            659 drivers/gpu/vga/vga_switcheroo.c 			   vga_switcheroo_pwr_state(client) ? "Pwr" : "Off",
client            660 drivers/gpu/vga/vga_switcheroo.c 			   pci_name(client->pdev));
client            672 drivers/gpu/vga/vga_switcheroo.c static int vga_switchon(struct vga_switcheroo_client *client)
client            674 drivers/gpu/vga/vga_switcheroo.c 	if (client->driver_power_control)
client            677 drivers/gpu/vga/vga_switcheroo.c 		vgasr_priv.handler->power_state(client->id, VGA_SWITCHEROO_ON);
client            679 drivers/gpu/vga/vga_switcheroo.c 	client->ops->set_gpu_state(client->pdev, VGA_SWITCHEROO_ON);
client            680 drivers/gpu/vga/vga_switcheroo.c 	client->pwr_state = VGA_SWITCHEROO_ON;
client            684 drivers/gpu/vga/vga_switcheroo.c static int vga_switchoff(struct vga_switcheroo_client *client)
client            686 drivers/gpu/vga/vga_switcheroo.c 	if (client->driver_power_control)
client            689 drivers/gpu/vga/vga_switcheroo.c 	client->ops->set_gpu_state(client->pdev, VGA_SWITCHEROO_OFF);
client            691 drivers/gpu/vga/vga_switcheroo.c 		vgasr_priv.handler->power_state(client->id, VGA_SWITCHEROO_OFF);
client            692 drivers/gpu/vga/vga_switcheroo.c 	client->pwr_state = VGA_SWITCHEROO_OFF;
client            699 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client;
client            701 drivers/gpu/vga/vga_switcheroo.c 	client = find_client_from_id(&vgasr_priv.clients, id | ID_BIT_AUDIO);
client            702 drivers/gpu/vga/vga_switcheroo.c 	if (client)
client            703 drivers/gpu/vga/vga_switcheroo.c 		client->ops->set_gpu_state(client->pdev, state);
client            763 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client;
client            765 drivers/gpu/vga/vga_switcheroo.c 	list_for_each_entry(client, &vgasr_priv.clients, list) {
client            766 drivers/gpu/vga/vga_switcheroo.c 		if (!client->ops->can_switch(client->pdev)) {
client            767 drivers/gpu/vga/vga_switcheroo.c 			pr_err("client %x refused switch\n", client->id);
client            783 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client = NULL;
client            800 drivers/gpu/vga/vga_switcheroo.c 		list_for_each_entry(client, &vgasr_priv.clients, list) {
client            801 drivers/gpu/vga/vga_switcheroo.c 			if (client->active || client_is_audio(client))
client            803 drivers/gpu/vga/vga_switcheroo.c 			if (client->driver_power_control)
client            805 drivers/gpu/vga/vga_switcheroo.c 			set_audio_state(client->id, VGA_SWITCHEROO_OFF);
client            806 drivers/gpu/vga/vga_switcheroo.c 			if (client->pwr_state == VGA_SWITCHEROO_ON)
client            807 drivers/gpu/vga/vga_switcheroo.c 				vga_switchoff(client);
client            813 drivers/gpu/vga/vga_switcheroo.c 		list_for_each_entry(client, &vgasr_priv.clients, list) {
client            814 drivers/gpu/vga/vga_switcheroo.c 			if (client->active || client_is_audio(client))
client            816 drivers/gpu/vga/vga_switcheroo.c 			if (client->driver_power_control)
client            818 drivers/gpu/vga/vga_switcheroo.c 			if (client->pwr_state == VGA_SWITCHEROO_OFF)
client            819 drivers/gpu/vga/vga_switcheroo.c 				vga_switchon(client);
client            820 drivers/gpu/vga/vga_switcheroo.c 			set_audio_state(client->id, VGA_SWITCHEROO_ON);
client            853 drivers/gpu/vga/vga_switcheroo.c 	client = find_client_from_id(&vgasr_priv.clients, client_id);
client            854 drivers/gpu/vga/vga_switcheroo.c 	if (!client)
client            866 drivers/gpu/vga/vga_switcheroo.c 	if (client->active)
client            876 drivers/gpu/vga/vga_switcheroo.c 		ret = vga_switchto_stage1(client);
client            880 drivers/gpu/vga/vga_switcheroo.c 		ret = vga_switchto_stage2(client);
client            885 drivers/gpu/vga/vga_switcheroo.c 		pr_info("setting delayed switch to client %d\n", client->id);
client            889 drivers/gpu/vga/vga_switcheroo.c 		ret = vga_switchto_stage1(client);
client            938 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client;
client            949 drivers/gpu/vga/vga_switcheroo.c 	client = find_client_from_id(&vgasr_priv.clients,
client            951 drivers/gpu/vga/vga_switcheroo.c 	if (!client || !check_can_switch())
client            954 drivers/gpu/vga/vga_switcheroo.c 	ret = vga_switchto_stage2(client);
client            998 drivers/gpu/vga/vga_switcheroo.c 	struct vga_switcheroo_client *client;
client           1003 drivers/gpu/vga/vga_switcheroo.c 	client = find_client_from_pci(&vgasr_priv.clients, pdev);
client           1004 drivers/gpu/vga/vga_switcheroo.c 	if (!client)
client           1007 drivers/gpu/vga/vga_switcheroo.c 	if (!client->driver_power_control)
client           1010 drivers/gpu/vga/vga_switcheroo.c 	vgasr_priv.handler->power_state(client->id, state);
client             71 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_printk(KERN_DEBUG, &(ihid)->client->dev, fmt, ##arg); \
client            139 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_client	*client;	/* i2c client */
client            210 drivers/hid/i2c-hid/i2c-hid-core.c static int __i2c_hid_command(struct i2c_client *client,
client            215 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client            243 drivers/hid/i2c-hid/i2c-hid-core.c 	msg[0].addr = client->addr;
client            244 drivers/hid/i2c-hid/i2c-hid-core.c 	msg[0].flags = client->flags & I2C_M_TEN;
client            248 drivers/hid/i2c-hid/i2c-hid-core.c 		msg[1].addr = client->addr;
client            249 drivers/hid/i2c-hid/i2c-hid-core.c 		msg[1].flags = client->flags & I2C_M_TEN;
client            260 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = i2c_transfer(client->adapter, msg, msg_num);
client            284 drivers/hid/i2c-hid/i2c-hid-core.c static int i2c_hid_command(struct i2c_client *client,
client            288 drivers/hid/i2c-hid/i2c-hid-core.c 	return __i2c_hid_command(client, command, 0, 0, NULL, 0,
client            292 drivers/hid/i2c-hid/i2c-hid-core.c static int i2c_hid_get_report(struct i2c_client *client, u8 reportType,
client            295 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client            311 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = __i2c_hid_command(client, &hid_get_report_cmd, reportID,
client            314 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_err(&client->dev,
client            331 drivers/hid/i2c-hid/i2c-hid-core.c static int i2c_hid_set_or_send_report(struct i2c_client *client, u8 reportType,
client            334 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client            387 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = __i2c_hid_command(client, hidcmd, reportID,
client            390 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_err(&client->dev, "failed to set a report to device.\n");
client            397 drivers/hid/i2c-hid/i2c-hid-core.c static int i2c_hid_set_power(struct i2c_client *client, int power_state)
client            399 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client            411 drivers/hid/i2c-hid/i2c-hid-core.c 		ret = i2c_hid_command(client, &hid_set_power_cmd, NULL, 0);
client            418 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = __i2c_hid_command(client, &hid_set_power_cmd, power_state,
client            422 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_err(&client->dev, "failed to change power setting.\n");
client            428 drivers/hid/i2c-hid/i2c-hid-core.c static int i2c_hid_hwreset(struct i2c_client *client)
client            430 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client            442 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = i2c_hid_set_power(client, I2C_HID_PWR_ON);
client            457 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = i2c_hid_command(client, &hid_reset_cmd, NULL, 0);
client            459 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_err(&client->dev, "failed to reset device.\n");
client            460 drivers/hid/i2c-hid/i2c-hid-core.c 		i2c_hid_set_power(client, I2C_HID_PWR_SLEEP);
client            465 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = i2c_hid_set_power(client, I2C_HID_PWR_ON);
client            481 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = i2c_master_recv(ihid->client, ihid->inbuf, size);
client            486 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_err(&ihid->client->dev, "%s: got %d data instead of %d\n",
client            501 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_warn_once(&ihid->client->dev, "%s: IRQ triggered but "
client            512 drivers/hid/i2c-hid/i2c-hid-core.c 			dev_err(&ihid->client->dev, "%s: incomplete report (%d/%d)\n",
client            605 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_client *client = hid->driver_data;
client            606 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client            616 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = i2c_hid_get_report(client,
client            640 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_client *client = hid->driver_data;
client            641 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client            655 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = i2c_hid_set_or_send_report(client,
client            692 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_client *client = hid->driver_data;
client            693 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client            710 drivers/hid/i2c-hid/i2c-hid-core.c 		ret = i2c_hid_hwreset(client);
client            718 drivers/hid/i2c-hid/i2c-hid-core.c 	use_override = i2c_hid_get_dmi_hid_report_desc_override(client->name,
client            734 drivers/hid/i2c-hid/i2c-hid-core.c 		ret = i2c_hid_command(client, &hid_report_descr_cmd,
client            759 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_client *client = hid->driver_data;
client            760 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client            769 drivers/hid/i2c-hid/i2c-hid-core.c 		disable_irq(client->irq);
client            773 drivers/hid/i2c-hid/i2c-hid-core.c 		enable_irq(client->irq);
client            789 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_client *client = hid->driver_data;
client            790 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client            798 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_client *client = hid->driver_data;
client            799 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client            815 drivers/hid/i2c-hid/i2c-hid-core.c static int i2c_hid_init_irq(struct i2c_client *client)
client            817 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client            821 drivers/hid/i2c-hid/i2c-hid-core.c 	dev_dbg(&client->dev, "Requesting IRQ: %d\n", client->irq);
client            823 drivers/hid/i2c-hid/i2c-hid-core.c 	if (!irq_get_trigger_type(client->irq))
client            826 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = request_threaded_irq(client->irq, NULL, i2c_hid_irq,
client            827 drivers/hid/i2c-hid/i2c-hid-core.c 				   irqflags | IRQF_ONESHOT, client->name, ihid);
client            829 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_warn(&client->dev,
client            832 drivers/hid/i2c-hid/i2c-hid-core.c 			client->name, client->irq, ret);
client            842 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_client *client = ihid->client;
client            848 drivers/hid/i2c-hid/i2c-hid-core.c 	if (i2c_hid_get_dmi_i2c_hid_desc_override(client->name)) {
client            851 drivers/hid/i2c-hid/i2c-hid-core.c 			*i2c_hid_get_dmi_i2c_hid_desc_override(client->name);
client            854 drivers/hid/i2c-hid/i2c-hid-core.c 		ret = i2c_hid_command(client, &hid_descr_cmd,
client            858 drivers/hid/i2c-hid/i2c-hid-core.c 			dev_err(&client->dev, "hid_descr_cmd failed\n");
client            868 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_err(&client->dev,
client            877 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_err(&client->dev, "weird size of HID descriptor (%u)\n",
client            895 drivers/hid/i2c-hid/i2c-hid-core.c static int i2c_hid_acpi_pdata(struct i2c_client *client,
client            905 drivers/hid/i2c-hid/i2c-hid-core.c 	handle = ACPI_HANDLE(&client->dev);
client            907 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_err(&client->dev, "Error could not get ACPI device\n");
client            917 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_err(&client->dev, "Error _DSM call to get HID descriptor address failed\n");
client            943 drivers/hid/i2c-hid/i2c-hid-core.c static inline int i2c_hid_acpi_pdata(struct i2c_client *client,
client            953 drivers/hid/i2c-hid/i2c-hid-core.c static int i2c_hid_of_probe(struct i2c_client *client,
client            956 drivers/hid/i2c-hid/i2c-hid-core.c 	struct device *dev = &client->dev;
client            962 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_err(&client->dev, "HID register address not provided\n");
client            966 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_err(&client->dev, "Bad HID register address: 0x%08x\n",
client            981 drivers/hid/i2c-hid/i2c-hid-core.c static inline int i2c_hid_of_probe(struct i2c_client *client,
client            988 drivers/hid/i2c-hid/i2c-hid-core.c static void i2c_hid_fwnode_probe(struct i2c_client *client,
client            993 drivers/hid/i2c-hid/i2c-hid-core.c 	if (!device_property_read_u32(&client->dev, "post-power-on-delay-ms",
client            998 drivers/hid/i2c-hid/i2c-hid-core.c static int i2c_hid_probe(struct i2c_client *client,
client           1005 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid_platform_data *platform_data = client->dev.platform_data;
client           1007 drivers/hid/i2c-hid/i2c-hid-core.c 	dbg_hid("HID probe called for i2c 0x%02x\n", client->addr);
client           1009 drivers/hid/i2c-hid/i2c-hid-core.c 	if (!client->irq) {
client           1010 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_err(&client->dev,
client           1015 drivers/hid/i2c-hid/i2c-hid-core.c 	if (client->irq < 0) {
client           1016 drivers/hid/i2c-hid/i2c-hid-core.c 		if (client->irq != -EPROBE_DEFER)
client           1017 drivers/hid/i2c-hid/i2c-hid-core.c 			dev_err(&client->dev,
client           1019 drivers/hid/i2c-hid/i2c-hid-core.c 		return client->irq;
client           1022 drivers/hid/i2c-hid/i2c-hid-core.c 	ihid = devm_kzalloc(&client->dev, sizeof(*ihid), GFP_KERNEL);
client           1026 drivers/hid/i2c-hid/i2c-hid-core.c 	if (client->dev.of_node) {
client           1027 drivers/hid/i2c-hid/i2c-hid-core.c 		ret = i2c_hid_of_probe(client, &ihid->pdata);
client           1031 drivers/hid/i2c-hid/i2c-hid-core.c 		ret = i2c_hid_acpi_pdata(client, &ihid->pdata);
client           1039 drivers/hid/i2c-hid/i2c-hid-core.c 	i2c_hid_fwnode_probe(client, &ihid->pdata);
client           1044 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = devm_regulator_bulk_get(&client->dev,
client           1058 drivers/hid/i2c-hid/i2c-hid-core.c 	i2c_set_clientdata(client, ihid);
client           1060 drivers/hid/i2c-hid/i2c-hid-core.c 	ihid->client = client;
client           1075 drivers/hid/i2c-hid/i2c-hid-core.c 	i2c_hid_acpi_fix_up_power(&client->dev);
client           1077 drivers/hid/i2c-hid/i2c-hid-core.c 	device_enable_async_suspend(&client->dev);
client           1080 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = i2c_smbus_read_byte(client);
client           1082 drivers/hid/i2c-hid/i2c-hid-core.c 		dev_dbg(&client->dev, "nothing at this address: %d\n", ret);
client           1091 drivers/hid/i2c-hid/i2c-hid-core.c 	ret = i2c_hid_init_irq(client);
client           1103 drivers/hid/i2c-hid/i2c-hid-core.c 	hid->driver_data = client;
client           1105 drivers/hid/i2c-hid/i2c-hid-core.c 	hid->dev.parent = &client->dev;
client           1112 drivers/hid/i2c-hid/i2c-hid-core.c 		 client->name, hid->vendor, hid->product);
client           1113 drivers/hid/i2c-hid/i2c-hid-core.c 	strlcpy(hid->phys, dev_name(&client->dev), sizeof(hid->phys));
client           1120 drivers/hid/i2c-hid/i2c-hid-core.c 			hid_err(client, "can't add hid device: %d\n", ret);
client           1130 drivers/hid/i2c-hid/i2c-hid-core.c 	free_irq(client->irq, ihid);
client           1139 drivers/hid/i2c-hid/i2c-hid-core.c static int i2c_hid_remove(struct i2c_client *client)
client           1141 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client           1147 drivers/hid/i2c-hid/i2c-hid-core.c 	free_irq(client->irq, ihid);
client           1158 drivers/hid/i2c-hid/i2c-hid-core.c static void i2c_hid_shutdown(struct i2c_client *client)
client           1160 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client           1162 drivers/hid/i2c-hid/i2c-hid-core.c 	i2c_hid_set_power(client, I2C_HID_PWR_SLEEP);
client           1163 drivers/hid/i2c-hid/i2c-hid-core.c 	free_irq(client->irq, ihid);
client           1169 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_client *client = to_i2c_client(dev);
client           1170 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client           1182 drivers/hid/i2c-hid/i2c-hid-core.c 	i2c_hid_set_power(client, I2C_HID_PWR_SLEEP);
client           1184 drivers/hid/i2c-hid/i2c-hid-core.c 	disable_irq(client->irq);
client           1186 drivers/hid/i2c-hid/i2c-hid-core.c 	if (device_may_wakeup(&client->dev)) {
client           1187 drivers/hid/i2c-hid/i2c-hid-core.c 		wake_status = enable_irq_wake(client->irq);
client           1204 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_client *client = to_i2c_client(dev);
client           1205 drivers/hid/i2c-hid/i2c-hid-core.c 	struct i2c_hid *ihid = i2c_get_clientdata(client);
client           1209 drivers/hid/i2c-hid/i2c-hid-core.c 	if (!device_may_wakeup(&client->dev)) {
client           1218 drivers/hid/i2c-hid/i2c-hid-core.c 		wake_status = disable_irq_wake(client->irq);
client           1226 drivers/hid/i2c-hid/i2c-hid-core.c 	enable_irq(client->irq);
client           1237 drivers/hid/i2c-hid/i2c-hid-core.c 		ret = i2c_hid_hwreset(client);
client           1239 drivers/hid/i2c-hid/i2c-hid-core.c 		ret = i2c_hid_set_power(client, I2C_HID_PWR_ON);
client             20 drivers/hid/intel-ish-hid/ishtp-hid.h #define hid_ishtp_trace(client, ...) \
client            136 drivers/hsi/hsi_core.c static int hsi_of_property_parse_mode(struct device_node *client, char *name,
client            142 drivers/hsi/hsi_core.c 	err = of_property_read_string(client, name, &mode);
client            156 drivers/hsi/hsi_core.c static int hsi_of_property_parse_flow(struct device_node *client, char *name,
client            162 drivers/hsi/hsi_core.c 	err = of_property_read_string(client, name, &flow);
client            176 drivers/hsi/hsi_core.c static int hsi_of_property_parse_arb_mode(struct device_node *client,
client            182 drivers/hsi/hsi_core.c 	err = of_property_read_string(client, name, &arb_mode);
client            197 drivers/hsi/hsi_core.c 						struct device_node *client)
client            209 drivers/hsi/hsi_core.c 	err = of_modalias_node(client, name, sizeof(name));
client            215 drivers/hsi/hsi_core.c 	err = hsi_of_property_parse_mode(client, "hsi-mode", &mode);
client            217 drivers/hsi/hsi_core.c 		err = hsi_of_property_parse_mode(client, "hsi-rx-mode",
client            222 drivers/hsi/hsi_core.c 		err = hsi_of_property_parse_mode(client, "hsi-tx-mode",
client            231 drivers/hsi/hsi_core.c 	err = of_property_read_u32(client, "hsi-speed-kbps",
client            237 drivers/hsi/hsi_core.c 	err = hsi_of_property_parse_flow(client, "hsi-flow",
client            242 drivers/hsi/hsi_core.c 	err = hsi_of_property_parse_arb_mode(client, "hsi-arb-mode",
client            247 drivers/hsi/hsi_core.c 	prop = of_find_property(client, "hsi-channel-ids", &length);
client            271 drivers/hsi/hsi_core.c 		err = of_property_read_u32_index(client, "hsi-channel-ids", i,
client            276 drivers/hsi/hsi_core.c 		err = of_property_read_string_index(client, "hsi-channel-names",
client            294 drivers/hsi/hsi_core.c 	cl->device.of_node = client;
client             38 drivers/hwmon/ad7414.c 	struct i2c_client	*client;
client             56 drivers/hwmon/ad7414.c static inline int ad7414_read(struct i2c_client *client, u8 reg)
client             59 drivers/hwmon/ad7414.c 		return i2c_smbus_read_word_swapped(client, reg);
client             61 drivers/hwmon/ad7414.c 		return i2c_smbus_read_byte_data(client, reg);
client             64 drivers/hwmon/ad7414.c static inline int ad7414_write(struct i2c_client *client, u8 reg, u8 value)
client             66 drivers/hwmon/ad7414.c 	return i2c_smbus_write_byte_data(client, reg, value);
client             72 drivers/hwmon/ad7414.c 	struct i2c_client *client = data->client;
client             79 drivers/hwmon/ad7414.c 		dev_dbg(&client->dev, "starting ad7414 update\n");
client             81 drivers/hwmon/ad7414.c 		value = ad7414_read(client, AD7414_REG_TEMP);
client             83 drivers/hwmon/ad7414.c 			dev_dbg(&client->dev, "AD7414_REG_TEMP err %d\n",
client             89 drivers/hwmon/ad7414.c 			value = ad7414_read(client, AD7414_REG_LIMIT[i]);
client             91 drivers/hwmon/ad7414.c 				dev_dbg(&client->dev, "AD7414 reg %d err %d\n",
client            127 drivers/hwmon/ad7414.c 	struct i2c_client *client = data->client;
client            141 drivers/hwmon/ad7414.c 	ad7414_write(client, reg, temp);
client            172 drivers/hwmon/ad7414.c static int ad7414_probe(struct i2c_client *client,
client            175 drivers/hwmon/ad7414.c 	struct device *dev = &client->dev;
client            180 drivers/hwmon/ad7414.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA |
client            188 drivers/hwmon/ad7414.c 	data->client = client;
client            191 drivers/hwmon/ad7414.c 	dev_info(&client->dev, "chip found\n");
client            194 drivers/hwmon/ad7414.c 	conf = i2c_smbus_read_byte_data(client, AD7414_REG_CONF);
client            199 drivers/hwmon/ad7414.c 		i2c_smbus_write_byte_data(client, AD7414_REG_CONF, conf);
client            203 drivers/hwmon/ad7414.c 							   client->name,
client             45 drivers/hwmon/ad7418.c 	struct i2c_client	*client;
client             58 drivers/hwmon/ad7418.c 	struct i2c_client *client = data->client;
client             69 drivers/hwmon/ad7418.c 		val = i2c_smbus_read_byte_data(client, AD7418_REG_CONF);
client             76 drivers/hwmon/ad7418.c 		val = i2c_smbus_write_byte_data(client, AD7418_REG_CONF,
client             84 drivers/hwmon/ad7418.c 			val = i2c_smbus_read_word_swapped(client,
client             93 drivers/hwmon/ad7418.c 			val = i2c_smbus_write_byte_data(client, AD7418_REG_CONF,
client             99 drivers/hwmon/ad7418.c 			val = i2c_smbus_read_word_swapped(client,
client            108 drivers/hwmon/ad7418.c 		val = i2c_smbus_write_word_swapped(client, AD7418_REG_CONF,
client            162 drivers/hwmon/ad7418.c 	struct i2c_client *client = data->client;
client            171 drivers/hwmon/ad7418.c 	i2c_smbus_write_word_swapped(client,
client            216 drivers/hwmon/ad7418.c static void ad7418_init_client(struct i2c_client *client)
client            218 drivers/hwmon/ad7418.c 	struct ad7418_data *data = i2c_get_clientdata(client);
client            220 drivers/hwmon/ad7418.c 	int reg = i2c_smbus_read_byte_data(client, AD7418_REG_CONF);
client            222 drivers/hwmon/ad7418.c 		dev_err(&client->dev, "cannot read configuration register\n");
client            224 drivers/hwmon/ad7418.c 		dev_info(&client->dev, "configuring for mode 1\n");
client            225 drivers/hwmon/ad7418.c 		i2c_smbus_write_byte_data(client, AD7418_REG_CONF, reg & 0xfe);
client            228 drivers/hwmon/ad7418.c 			i2c_smbus_write_byte_data(client,
client            233 drivers/hwmon/ad7418.c static int ad7418_probe(struct i2c_client *client,
client            236 drivers/hwmon/ad7418.c 	struct device *dev = &client->dev;
client            237 drivers/hwmon/ad7418.c 	struct i2c_adapter *adapter = client->adapter;
client            250 drivers/hwmon/ad7418.c 	i2c_set_clientdata(client, data);
client            253 drivers/hwmon/ad7418.c 	data->client = client;
client            276 drivers/hwmon/ad7418.c 	dev_info(dev, "%s chip found\n", client->name);
client            279 drivers/hwmon/ad7418.c 	ad7418_init_client(client);
client            282 drivers/hwmon/ad7418.c 							   client->name,
client             60 drivers/hwmon/adc128d818.c 	struct i2c_client *client;
client             82 drivers/hwmon/adc128d818.c 	struct i2c_client *client = data->client;
client             90 drivers/hwmon/adc128d818.c 			rv = i2c_smbus_read_word_swapped(client,
client             96 drivers/hwmon/adc128d818.c 			rv = i2c_smbus_read_byte_data(client,
client            102 drivers/hwmon/adc128d818.c 			rv = i2c_smbus_read_byte_data(client,
client            110 drivers/hwmon/adc128d818.c 			rv = i2c_smbus_read_word_swapped(client,
client            116 drivers/hwmon/adc128d818.c 			rv = i2c_smbus_read_byte_data(client,
client            122 drivers/hwmon/adc128d818.c 			rv = i2c_smbus_read_byte_data(client,
client            129 drivers/hwmon/adc128d818.c 		rv = i2c_smbus_read_byte_data(client, ADC128_REG_ALARM);
client            182 drivers/hwmon/adc128d818.c 	i2c_smbus_write_byte_data(data->client, reg, regval);
client            219 drivers/hwmon/adc128d818.c 	i2c_smbus_write_byte_data(data->client,
client            359 drivers/hwmon/adc128d818.c static int adc128_detect(struct i2c_client *client, struct i2c_board_info *info)
client            363 drivers/hwmon/adc128d818.c 	if (!i2c_check_functionality(client->adapter,
client            368 drivers/hwmon/adc128d818.c 	man_id = i2c_smbus_read_byte_data(client, ADC128_REG_MAN_ID);
client            369 drivers/hwmon/adc128d818.c 	dev_id = i2c_smbus_read_byte_data(client, ADC128_REG_DEV_ID);
client            374 drivers/hwmon/adc128d818.c 	if (i2c_smbus_read_byte_data(client, ADC128_REG_CONFIG) & 0xf4)
client            376 drivers/hwmon/adc128d818.c 	if (i2c_smbus_read_byte_data(client, ADC128_REG_CONV_RATE) & 0xfe)
client            378 drivers/hwmon/adc128d818.c 	if (i2c_smbus_read_byte_data(client, ADC128_REG_ONESHOT) & 0xfe)
client            380 drivers/hwmon/adc128d818.c 	if (i2c_smbus_read_byte_data(client, ADC128_REG_SHUTDOWN) & 0xfe)
client            382 drivers/hwmon/adc128d818.c 	if (i2c_smbus_read_byte_data(client, ADC128_REG_CONFIG_ADV) & 0xf8)
client            384 drivers/hwmon/adc128d818.c 	if (i2c_smbus_read_byte_data(client, ADC128_REG_BUSY_STATUS) & 0xfc)
client            394 drivers/hwmon/adc128d818.c 	struct i2c_client *client = data->client;
client            401 drivers/hwmon/adc128d818.c 	err = i2c_smbus_write_byte_data(client, ADC128_REG_CONFIG, 0x80);
client            407 drivers/hwmon/adc128d818.c 		err = i2c_smbus_write_byte_data(client,
client            415 drivers/hwmon/adc128d818.c 	err = i2c_smbus_write_byte_data(client, ADC128_REG_CONFIG, 0x01);
client            421 drivers/hwmon/adc128d818.c 		err = i2c_smbus_write_byte_data(client,
client            430 drivers/hwmon/adc128d818.c static int adc128_probe(struct i2c_client *client,
client            433 drivers/hwmon/adc128d818.c 	struct device *dev = &client->dev;
client            469 drivers/hwmon/adc128d818.c 		err = i2c_smbus_read_byte_data(client, ADC128_REG_CONFIG_ADV);
client            475 drivers/hwmon/adc128d818.c 	data->client = client;
client            476 drivers/hwmon/adc128d818.c 	i2c_set_clientdata(client, data);
client            484 drivers/hwmon/adc128d818.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            499 drivers/hwmon/adc128d818.c static int adc128_remove(struct i2c_client *client)
client            501 drivers/hwmon/adc128d818.c 	struct adc128_data *data = i2c_get_clientdata(client);
client             69 drivers/hwmon/adm1021.c 	struct i2c_client *client;
client             94 drivers/hwmon/adm1021.c 	struct i2c_client *client = data->client;
client            107 drivers/hwmon/adm1021.c 					client, ADM1021_REG_TEMP(i));
client            110 drivers/hwmon/adm1021.c 					client, ADM1021_REG_TOS_R(i));
client            113 drivers/hwmon/adm1021.c 				  (s8) i2c_smbus_read_byte_data(client,
client            117 drivers/hwmon/adm1021.c 		data->alarms = i2c_smbus_read_byte_data(client,
client            125 drivers/hwmon/adm1021.c 				client, ADM1023_REG_REM_TEMP_PREC) >> 5);
client            127 drivers/hwmon/adm1021.c 				client, ADM1023_REG_REM_TOS_PREC) >> 5);
client            129 drivers/hwmon/adm1021.c 				client, ADM1023_REG_REM_THYST_PREC) >> 5);
client            131 drivers/hwmon/adm1021.c 				i2c_smbus_read_byte_data(client,
client            134 drivers/hwmon/adm1021.c 				i2c_smbus_read_byte_data(client,
client            195 drivers/hwmon/adm1021.c 	struct i2c_client *client = data->client;
client            208 drivers/hwmon/adm1021.c 		i2c_smbus_write_byte_data(client, ADM1021_REG_TOS_W(index),
client            221 drivers/hwmon/adm1021.c 	struct i2c_client *client = data->client;
client            234 drivers/hwmon/adm1021.c 		i2c_smbus_write_byte_data(client, ADM1021_REG_THYST_W(index),
client            253 drivers/hwmon/adm1021.c 	struct i2c_client *client = data->client;
client            266 drivers/hwmon/adm1021.c 			client, ADM1021_REG_CONFIG_R);
client            268 drivers/hwmon/adm1021.c 		i2c_smbus_write_byte_data(client, ADM1021_REG_CONFIG_W,
client            322 drivers/hwmon/adm1021.c static int adm1021_detect(struct i2c_client *client,
client            325 drivers/hwmon/adm1021.c 	struct i2c_adapter *adapter = client->adapter;
client            334 drivers/hwmon/adm1021.c 	status = i2c_smbus_read_byte_data(client, ADM1021_REG_STATUS);
client            335 drivers/hwmon/adm1021.c 	conv_rate = i2c_smbus_read_byte_data(client,
client            337 drivers/hwmon/adm1021.c 	config = i2c_smbus_read_byte_data(client, ADM1021_REG_CONFIG_R);
client            346 drivers/hwmon/adm1021.c 	man_id = i2c_smbus_read_byte_data(client, ADM1021_REG_MAN_ID);
client            347 drivers/hwmon/adm1021.c 	dev_id = i2c_smbus_read_byte_data(client, ADM1021_REG_DEV_ID);
client            372 drivers/hwmon/adm1021.c 		llo = i2c_smbus_read_byte_data(client, ADM1021_REG_THYST_R(0));
client            373 drivers/hwmon/adm1021.c 		rlo = i2c_smbus_read_byte_data(client, ADM1021_REG_THYST_R(1));
client            379 drivers/hwmon/adm1021.c 		lte = i2c_smbus_read_byte_data(client, ADM1021_REG_TEMP(0));
client            380 drivers/hwmon/adm1021.c 		rte = i2c_smbus_read_byte_data(client, ADM1021_REG_TEMP(1));
client            381 drivers/hwmon/adm1021.c 		lhi = i2c_smbus_read_byte_data(client, ADM1021_REG_TOS_R(0));
client            382 drivers/hwmon/adm1021.c 		rhi = i2c_smbus_read_byte_data(client, ADM1021_REG_TOS_R(1));
client            413 drivers/hwmon/adm1021.c 		 type_name, i2c_adapter_id(adapter), client->addr);
client            419 drivers/hwmon/adm1021.c static void adm1021_init_client(struct i2c_client *client)
client            422 drivers/hwmon/adm1021.c 	i2c_smbus_write_byte_data(client, ADM1021_REG_CONFIG_W,
client            423 drivers/hwmon/adm1021.c 		i2c_smbus_read_byte_data(client, ADM1021_REG_CONFIG_R) & 0xBF);
client            425 drivers/hwmon/adm1021.c 	i2c_smbus_write_byte_data(client, ADM1021_REG_CONV_RATE_W, 0x04);
client            428 drivers/hwmon/adm1021.c static int adm1021_probe(struct i2c_client *client,
client            431 drivers/hwmon/adm1021.c 	struct device *dev = &client->dev;
client            439 drivers/hwmon/adm1021.c 	data->client = client;
client            445 drivers/hwmon/adm1021.c 		adm1021_init_client(client);
client            451 drivers/hwmon/adm1021.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             97 drivers/hwmon/adm1025.c 	struct i2c_client *client;
client            117 drivers/hwmon/adm1025.c 	struct i2c_client *client = data->client;
client            124 drivers/hwmon/adm1025.c 		dev_dbg(&client->dev, "Updating data.\n");
client            126 drivers/hwmon/adm1025.c 			data->in[i] = i2c_smbus_read_byte_data(client,
client            128 drivers/hwmon/adm1025.c 			data->in_min[i] = i2c_smbus_read_byte_data(client,
client            130 drivers/hwmon/adm1025.c 			data->in_max[i] = i2c_smbus_read_byte_data(client,
client            134 drivers/hwmon/adm1025.c 			data->temp[i] = i2c_smbus_read_byte_data(client,
client            136 drivers/hwmon/adm1025.c 			data->temp_min[i] = i2c_smbus_read_byte_data(client,
client            138 drivers/hwmon/adm1025.c 			data->temp_max[i] = i2c_smbus_read_byte_data(client,
client            141 drivers/hwmon/adm1025.c 		data->alarms = i2c_smbus_read_byte_data(client,
client            143 drivers/hwmon/adm1025.c 			     | (i2c_smbus_read_byte_data(client,
client            145 drivers/hwmon/adm1025.c 		data->vid = (i2c_smbus_read_byte_data(client,
client            147 drivers/hwmon/adm1025.c 			  | ((i2c_smbus_read_byte_data(client,
client            219 drivers/hwmon/adm1025.c 	struct i2c_client *client = data->client;
client            229 drivers/hwmon/adm1025.c 	i2c_smbus_write_byte_data(client, ADM1025_REG_IN_MIN(index),
client            240 drivers/hwmon/adm1025.c 	struct i2c_client *client = data->client;
client            250 drivers/hwmon/adm1025.c 	i2c_smbus_write_byte_data(client, ADM1025_REG_IN_MAX(index),
client            281 drivers/hwmon/adm1025.c 	struct i2c_client *client = data->client;
client            291 drivers/hwmon/adm1025.c 	i2c_smbus_write_byte_data(client, ADM1025_REG_TEMP_LOW(index),
client            303 drivers/hwmon/adm1025.c 	struct i2c_client *client = data->client;
client            313 drivers/hwmon/adm1025.c 	i2c_smbus_write_byte_data(client, ADM1025_REG_TEMP_HIGH(index),
client            441 drivers/hwmon/adm1025.c static int adm1025_detect(struct i2c_client *client,
client            444 drivers/hwmon/adm1025.c 	struct i2c_adapter *adapter = client->adapter;
client            452 drivers/hwmon/adm1025.c 	if ((i2c_smbus_read_byte_data(client, ADM1025_REG_CONFIG) & 0x80)
client            453 drivers/hwmon/adm1025.c 	 || (i2c_smbus_read_byte_data(client, ADM1025_REG_STATUS1) & 0xC0)
client            454 drivers/hwmon/adm1025.c 	 || (i2c_smbus_read_byte_data(client, ADM1025_REG_STATUS2) & 0xBC)) {
client            456 drivers/hwmon/adm1025.c 			client->addr);
client            461 drivers/hwmon/adm1025.c 	chip_id = i2c_smbus_read_byte_data(client, ADM1025_REG_CHIP_ID);
client            465 drivers/hwmon/adm1025.c 	man_id = i2c_smbus_read_byte_data(client, ADM1025_REG_MAN_ID);
client            468 drivers/hwmon/adm1025.c 	else if (man_id == 0xA1 && client->addr != 0x2E)
client            478 drivers/hwmon/adm1025.c static void adm1025_init_client(struct i2c_client *client)
client            481 drivers/hwmon/adm1025.c 	struct adm1025_data *data = i2c_get_clientdata(client);
client            495 drivers/hwmon/adm1025.c 		reg = i2c_smbus_read_byte_data(client,
client            498 drivers/hwmon/adm1025.c 			i2c_smbus_write_byte_data(client,
client            503 drivers/hwmon/adm1025.c 		reg = i2c_smbus_read_byte_data(client,
client            506 drivers/hwmon/adm1025.c 			i2c_smbus_write_byte_data(client,
client            514 drivers/hwmon/adm1025.c 	reg = i2c_smbus_read_byte_data(client, ADM1025_REG_CONFIG);
client            516 drivers/hwmon/adm1025.c 		i2c_smbus_write_byte_data(client, ADM1025_REG_CONFIG,
client            520 drivers/hwmon/adm1025.c static int adm1025_probe(struct i2c_client *client,
client            523 drivers/hwmon/adm1025.c 	struct device *dev = &client->dev;
client            532 drivers/hwmon/adm1025.c 	i2c_set_clientdata(client, data);
client            533 drivers/hwmon/adm1025.c 	data->client = client;
client            537 drivers/hwmon/adm1025.c 	adm1025_init_client(client);
client            542 drivers/hwmon/adm1025.c 	config = i2c_smbus_read_byte_data(client, ADM1025_REG_CONFIG);
client            546 drivers/hwmon/adm1025.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            258 drivers/hwmon/adm1026.c 	struct i2c_client *client;
client            291 drivers/hwmon/adm1026.c static int adm1026_read_value(struct i2c_client *client, u8 reg)
client            297 drivers/hwmon/adm1026.c 		res = i2c_smbus_read_byte_data(client, reg) & 0xff;
client            305 drivers/hwmon/adm1026.c static int adm1026_write_value(struct i2c_client *client, u8 reg, int value)
client            311 drivers/hwmon/adm1026.c 		res = i2c_smbus_write_byte_data(client, reg, value);
client            322 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client            331 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev, "Reading sensor values\n");
client            334 drivers/hwmon/adm1026.c 			    adm1026_read_value(client, ADM1026_REG_IN[i]);
client            339 drivers/hwmon/adm1026.c 			    adm1026_read_value(client, ADM1026_REG_FAN(i));
client            348 drivers/hwmon/adm1026.c 			    adm1026_read_value(client, ADM1026_REG_TEMP[i]);
client            351 drivers/hwmon/adm1026.c 		data->pwm1.pwm = adm1026_read_value(client,
client            353 drivers/hwmon/adm1026.c 		data->analog_out = adm1026_read_value(client,
client            356 drivers/hwmon/adm1026.c 		alarms = adm1026_read_value(client, ADM1026_REG_STATUS4);
client            360 drivers/hwmon/adm1026.c 		alarms |= adm1026_read_value(client, ADM1026_REG_STATUS3);
client            362 drivers/hwmon/adm1026.c 		alarms |= adm1026_read_value(client, ADM1026_REG_STATUS2);
client            364 drivers/hwmon/adm1026.c 		alarms |= adm1026_read_value(client, ADM1026_REG_STATUS1);
client            368 drivers/hwmon/adm1026.c 		gpio |= adm1026_read_value(client,
client            371 drivers/hwmon/adm1026.c 		gpio |= adm1026_read_value(client,
client            381 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev, "Reading config values\n");
client            383 drivers/hwmon/adm1026.c 			data->in_min[i] = adm1026_read_value(client,
client            385 drivers/hwmon/adm1026.c 			data->in_max[i] = adm1026_read_value(client,
client            389 drivers/hwmon/adm1026.c 		value = adm1026_read_value(client, ADM1026_REG_FAN_DIV_0_3)
client            390 drivers/hwmon/adm1026.c 			| (adm1026_read_value(client, ADM1026_REG_FAN_DIV_4_7)
client            393 drivers/hwmon/adm1026.c 			data->fan_min[i] = adm1026_read_value(client,
client            404 drivers/hwmon/adm1026.c 			data->temp_min[i] = adm1026_read_value(client,
client            406 drivers/hwmon/adm1026.c 			data->temp_max[i] = adm1026_read_value(client,
client            408 drivers/hwmon/adm1026.c 			data->temp_tmin[i] = adm1026_read_value(client,
client            410 drivers/hwmon/adm1026.c 			data->temp_crit[i] = adm1026_read_value(client,
client            412 drivers/hwmon/adm1026.c 			data->temp_offset[i] = adm1026_read_value(client,
client            417 drivers/hwmon/adm1026.c 		alarms = adm1026_read_value(client, ADM1026_REG_MASK4);
client            420 drivers/hwmon/adm1026.c 		alarms |= adm1026_read_value(client, ADM1026_REG_MASK3);
client            422 drivers/hwmon/adm1026.c 		alarms |= adm1026_read_value(client, ADM1026_REG_MASK2);
client            424 drivers/hwmon/adm1026.c 		alarms |= adm1026_read_value(client, ADM1026_REG_MASK1);
client            428 drivers/hwmon/adm1026.c 		gpio |= adm1026_read_value(client,
client            431 drivers/hwmon/adm1026.c 		gpio |= adm1026_read_value(client, ADM1026_REG_GPIO_MASK_0_7);
client            435 drivers/hwmon/adm1026.c 		data->config1 = adm1026_read_value(client,
client            443 drivers/hwmon/adm1026.c 		data->config2 = adm1026_read_value(client,
client            445 drivers/hwmon/adm1026.c 		data->config3 = adm1026_read_value(client,
client            452 drivers/hwmon/adm1026.c 				value = adm1026_read_value(client,
client            489 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client            499 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_IN_MIN[nr], data->in_min[nr]);
client            517 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client            527 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_IN_MAX[nr], data->in_max[nr]);
client            600 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client            613 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_IN_MIN[16], data->in_min[16]);
client            629 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client            642 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_IN_MAX[16], data->in_max[16]);
client            678 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client            688 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_FAN_MIN(nr),
client            715 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client            726 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_FAN_MIN(fan), new_min);
client            745 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client            761 drivers/hwmon/adm1026.c 		adm1026_write_value(client, ADM1026_REG_FAN_DIV_0_3,
client            767 drivers/hwmon/adm1026.c 		adm1026_write_value(client, ADM1026_REG_FAN_DIV_4_7,
client            814 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client            824 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_TEMP_MIN[nr],
client            844 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client            854 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_TEMP_MAX[nr],
client            885 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client            895 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_TEMP_OFFSET[nr],
client            941 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client            951 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_TEMP_TMIN[nr],
client            980 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client            993 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_CONFIG1, data->config1);
client           1021 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client           1031 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_TEMP_THERM[nr],
client           1052 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client           1062 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_DAC, data->analog_out);
client           1165 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client           1178 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_MASK1,
client           1181 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_MASK2,
client           1184 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_MASK3,
client           1187 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_MASK4,
client           1205 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client           1217 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_GPIO_STATUS_0_7, gpio & 0xff);
client           1219 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_GPIO_STATUS_8_15, gpio & 0xff);
client           1221 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_STATUS4, gpio & 0xff);
client           1240 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client           1252 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_GPIO_MASK_0_7, mask & 0xff);
client           1254 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_GPIO_MASK_8_15, mask & 0xff);
client           1256 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_MASK1, mask & 0xff);
client           1274 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client           1286 drivers/hwmon/adm1026.c 		adm1026_write_value(client, ADM1026_REG_PWM, data->pwm1.pwm);
client           1305 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client           1318 drivers/hwmon/adm1026.c 		adm1026_write_value(client, ADM1026_REG_PWM, data->pwm1.pwm);
client           1343 drivers/hwmon/adm1026.c 	struct i2c_client *client = data->client;
client           1360 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_CONFIG1, data->config1);
client           1364 drivers/hwmon/adm1026.c 		adm1026_write_value(client, ADM1026_REG_PWM, data->pwm1.pwm);
client           1368 drivers/hwmon/adm1026.c 		adm1026_write_value(client, ADM1026_REG_PWM, data->pwm1.pwm);
client           1570 drivers/hwmon/adm1026.c static int adm1026_detect(struct i2c_client *client,
client           1573 drivers/hwmon/adm1026.c 	struct i2c_adapter *adapter = client->adapter;
client           1574 drivers/hwmon/adm1026.c 	int address = client->addr;
client           1584 drivers/hwmon/adm1026.c 	company = adm1026_read_value(client, ADM1026_REG_COMPANY);
client           1585 drivers/hwmon/adm1026.c 	verstep = adm1026_read_value(client, ADM1026_REG_VERSTEP);
client           1589 drivers/hwmon/adm1026.c 		i2c_adapter_id(client->adapter), client->addr,
client           1618 drivers/hwmon/adm1026.c static void adm1026_print_gpio(struct i2c_client *client)
client           1620 drivers/hwmon/adm1026.c 	struct adm1026_data *data = i2c_get_clientdata(client);
client           1623 drivers/hwmon/adm1026.c 	dev_dbg(&client->dev, "GPIO config is:\n");
client           1626 drivers/hwmon/adm1026.c 			dev_dbg(&client->dev, "\t%sGP%s%d\n",
client           1631 drivers/hwmon/adm1026.c 			dev_dbg(&client->dev, "\tFAN%d\n", i);
client           1635 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev, "\t%sGP%s%d\n",
client           1641 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev, "\t%sGP%s16\n",
client           1646 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev, "\tTHERM\n");
client           1650 drivers/hwmon/adm1026.c static void adm1026_fixup_gpio(struct i2c_client *client)
client           1652 drivers/hwmon/adm1026.c 	struct adm1026_data *data = i2c_get_clientdata(client);
client           1700 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_CONFIG2, data->config2);
client           1703 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_CONFIG3, data->config3);
client           1708 drivers/hwmon/adm1026.c 			adm1026_write_value(client,
client           1716 drivers/hwmon/adm1026.c 	adm1026_print_gpio(client);
client           1719 drivers/hwmon/adm1026.c static void adm1026_init_client(struct i2c_client *client)
client           1722 drivers/hwmon/adm1026.c 	struct adm1026_data *data = i2c_get_clientdata(client);
client           1724 drivers/hwmon/adm1026.c 	dev_dbg(&client->dev, "Initializing device\n");
client           1726 drivers/hwmon/adm1026.c 	data->config1 = adm1026_read_value(client, ADM1026_REG_CONFIG1);
client           1727 drivers/hwmon/adm1026.c 	data->config2 = adm1026_read_value(client, ADM1026_REG_CONFIG2);
client           1728 drivers/hwmon/adm1026.c 	data->config3 = adm1026_read_value(client, ADM1026_REG_CONFIG3);
client           1731 drivers/hwmon/adm1026.c 	dev_dbg(&client->dev, "ADM1026_REG_CONFIG1 is: 0x%02x\n",
client           1734 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev,
client           1738 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev,
client           1742 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev,
client           1745 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev,
client           1749 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev,
client           1754 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev,
client           1757 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev,
client           1761 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev, "Vref is 2.50 Volts.\n");
client           1763 drivers/hwmon/adm1026.c 		dev_dbg(&client->dev, "Vref is 1.82 Volts.\n");
client           1768 drivers/hwmon/adm1026.c 			value = adm1026_read_value(client,
client           1777 drivers/hwmon/adm1026.c 	adm1026_print_gpio(client);
client           1786 drivers/hwmon/adm1026.c 		adm1026_fixup_gpio(client);
client           1803 drivers/hwmon/adm1026.c 	value = adm1026_read_value(client, ADM1026_REG_CONFIG1);
client           1806 drivers/hwmon/adm1026.c 	dev_dbg(&client->dev, "Setting CONFIG to: 0x%02x\n", value);
client           1808 drivers/hwmon/adm1026.c 	adm1026_write_value(client, ADM1026_REG_CONFIG1, value);
client           1811 drivers/hwmon/adm1026.c 	value = adm1026_read_value(client, ADM1026_REG_FAN_DIV_0_3) |
client           1812 drivers/hwmon/adm1026.c 		(adm1026_read_value(client, ADM1026_REG_FAN_DIV_4_7) << 8);
client           1819 drivers/hwmon/adm1026.c static int adm1026_probe(struct i2c_client *client,
client           1822 drivers/hwmon/adm1026.c 	struct device *dev = &client->dev;
client           1830 drivers/hwmon/adm1026.c 	i2c_set_clientdata(client, data);
client           1831 drivers/hwmon/adm1026.c 	data->client = client;
client           1838 drivers/hwmon/adm1026.c 	adm1026_init_client(client);
client           1847 drivers/hwmon/adm1026.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            100 drivers/hwmon/adm1029.c 	struct i2c_client *client;
client            117 drivers/hwmon/adm1029.c 	struct i2c_client *client = data->client;
client            127 drivers/hwmon/adm1029.c 		dev_dbg(&client->dev, "Updating adm1029 data\n");
client            131 drivers/hwmon/adm1029.c 			    i2c_smbus_read_byte_data(client,
client            136 drivers/hwmon/adm1029.c 			    i2c_smbus_read_byte_data(client,
client            141 drivers/hwmon/adm1029.c 			    i2c_smbus_read_byte_data(client,
client            201 drivers/hwmon/adm1029.c 	struct i2c_client *client = data->client;
client            213 drivers/hwmon/adm1029.c 	reg = i2c_smbus_read_byte_data(client,
client            228 drivers/hwmon/adm1029.c 		dev_err(&client->dev,
client            240 drivers/hwmon/adm1029.c 	i2c_smbus_write_byte_data(client,
client            295 drivers/hwmon/adm1029.c static int adm1029_detect(struct i2c_client *client,
client            298 drivers/hwmon/adm1029.c 	struct i2c_adapter *adapter = client->adapter;
client            311 drivers/hwmon/adm1029.c 	man_id = i2c_smbus_read_byte_data(client, ADM1029_REG_MAN_ID);
client            312 drivers/hwmon/adm1029.c 	chip_id = i2c_smbus_read_byte_data(client, ADM1029_REG_CHIP_ID);
client            313 drivers/hwmon/adm1029.c 	temp_devices_installed = i2c_smbus_read_byte_data(client,
client            315 drivers/hwmon/adm1029.c 	nb_fan_support = i2c_smbus_read_byte_data(client,
client            337 drivers/hwmon/adm1029.c static int adm1029_init_client(struct i2c_client *client)
client            341 drivers/hwmon/adm1029.c 	config = i2c_smbus_read_byte_data(client, ADM1029_REG_CONFIG);
client            343 drivers/hwmon/adm1029.c 		i2c_smbus_write_byte_data(client, ADM1029_REG_CONFIG,
client            347 drivers/hwmon/adm1029.c 	config = i2c_smbus_read_byte_data(client, ADM1029_REG_CONFIG);
client            349 drivers/hwmon/adm1029.c 		dev_err(&client->dev, "Initialization failed!\n");
client            355 drivers/hwmon/adm1029.c static int adm1029_probe(struct i2c_client *client,
client            358 drivers/hwmon/adm1029.c 	struct device *dev = &client->dev;
client            366 drivers/hwmon/adm1029.c 	data->client = client;
client            373 drivers/hwmon/adm1029.c 	if (adm1029_init_client(client) == 0)
client            376 drivers/hwmon/adm1029.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             64 drivers/hwmon/adm1031.c 	struct i2c_client *client;
client             96 drivers/hwmon/adm1031.c static inline u8 adm1031_read_value(struct i2c_client *client, u8 reg)
client             98 drivers/hwmon/adm1031.c 	return i2c_smbus_read_byte_data(client, reg);
client            102 drivers/hwmon/adm1031.c adm1031_write_value(struct i2c_client *client, u8 reg, unsigned int value)
client            104 drivers/hwmon/adm1031.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            110 drivers/hwmon/adm1031.c 	struct i2c_client *client = data->client;
client            120 drivers/hwmon/adm1031.c 		dev_dbg(&client->dev, "Starting adm1031 update\n");
client            126 drivers/hwmon/adm1031.c 			    adm1031_read_value(client, ADM1031_REG_TEMP(chan));
client            128 drivers/hwmon/adm1031.c 			    adm1031_read_value(client, ADM1031_REG_EXT_TEMP);
client            130 drivers/hwmon/adm1031.c 			    adm1031_read_value(client, ADM1031_REG_TEMP(chan));
client            133 drivers/hwmon/adm1031.c 				    adm1031_read_value(client,
client            137 drivers/hwmon/adm1031.c 				    adm1031_read_value(client,
client            142 drivers/hwmon/adm1031.c 					dev_warn(&client->dev,
client            149 drivers/hwmon/adm1031.c 			    adm1031_read_value(client,
client            152 drivers/hwmon/adm1031.c 			    adm1031_read_value(client,
client            155 drivers/hwmon/adm1031.c 			    adm1031_read_value(client,
client            158 drivers/hwmon/adm1031.c 			    adm1031_read_value(client,
client            161 drivers/hwmon/adm1031.c 			    adm1031_read_value(client,
client            166 drivers/hwmon/adm1031.c 		data->conf1 = adm1031_read_value(client, ADM1031_REG_CONF1);
client            167 drivers/hwmon/adm1031.c 		data->conf2 = adm1031_read_value(client, ADM1031_REG_CONF2);
client            169 drivers/hwmon/adm1031.c 		data->alarm = adm1031_read_value(client, ADM1031_REG_STATUS(0))
client            170 drivers/hwmon/adm1031.c 		    | (adm1031_read_value(client, ADM1031_REG_STATUS(1)) << 8);
client            177 drivers/hwmon/adm1031.c 			    adm1031_read_value(client,
client            180 drivers/hwmon/adm1031.c 			    adm1031_read_value(client,
client            183 drivers/hwmon/adm1031.c 			    adm1031_read_value(client,
client            186 drivers/hwmon/adm1031.c 			  (adm1031_read_value(client,
client            334 drivers/hwmon/adm1031.c 	struct i2c_client *client = data->client;
client            366 drivers/hwmon/adm1031.c 			adm1031_write_value(client, ADM1031_REG_PWM, 0x55);
client            372 drivers/hwmon/adm1031.c 			adm1031_write_value(client, ADM1031_REG_PWM,
client            377 drivers/hwmon/adm1031.c 	adm1031_write_value(client, ADM1031_REG_CONF1, data->conf1);
client            407 drivers/hwmon/adm1031.c 	struct i2c_client *client = data->client;
client            419 drivers/hwmon/adm1031.c 	adm1031_write_value(client, ADM1031_REG_AUTO_TEMP(nr),
client            437 drivers/hwmon/adm1031.c 	struct i2c_client *client = data->client;
client            450 drivers/hwmon/adm1031.c 	adm1031_write_value(client, ADM1031_REG_AUTO_TEMP(nr),
client            478 drivers/hwmon/adm1031.c 	struct i2c_client *client = data->client;
client            495 drivers/hwmon/adm1031.c 	reg = adm1031_read_value(client, ADM1031_REG_PWM);
client            496 drivers/hwmon/adm1031.c 	adm1031_write_value(client, ADM1031_REG_PWM,
client            589 drivers/hwmon/adm1031.c 	struct i2c_client *client = data->client;
client            605 drivers/hwmon/adm1031.c 	adm1031_write_value(client, ADM1031_REG_FAN_MIN(nr), data->fan_min[nr]);
client            614 drivers/hwmon/adm1031.c 	struct i2c_client *client = data->client;
client            636 drivers/hwmon/adm1031.c 	data->fan_div[nr] = adm1031_read_value(client,
client            638 drivers/hwmon/adm1031.c 	data->fan_min[nr] = adm1031_read_value(client,
client            647 drivers/hwmon/adm1031.c 	adm1031_write_value(client, ADM1031_REG_FAN_DIV(nr),
client            649 drivers/hwmon/adm1031.c 	adm1031_write_value(client, ADM1031_REG_FAN_MIN(nr),
client            711 drivers/hwmon/adm1031.c 	struct i2c_client *client = data->client;
client            723 drivers/hwmon/adm1031.c 	adm1031_write_value(client, ADM1031_REG_TEMP_OFFSET(nr),
client            733 drivers/hwmon/adm1031.c 	struct i2c_client *client = data->client;
client            745 drivers/hwmon/adm1031.c 	adm1031_write_value(client, ADM1031_REG_TEMP_MIN(nr),
client            755 drivers/hwmon/adm1031.c 	struct i2c_client *client = data->client;
client            767 drivers/hwmon/adm1031.c 	adm1031_write_value(client, ADM1031_REG_TEMP_MAX(nr),
client            777 drivers/hwmon/adm1031.c 	struct i2c_client *client = data->client;
client            789 drivers/hwmon/adm1031.c 	adm1031_write_value(client, ADM1031_REG_TEMP_CRIT(nr),
client            863 drivers/hwmon/adm1031.c 	struct i2c_client *client = data->client;
client            883 drivers/hwmon/adm1031.c 	reg = adm1031_read_value(client, ADM1031_REG_FAN_FILTER);
client            886 drivers/hwmon/adm1031.c 	adm1031_write_value(client, ADM1031_REG_FAN_FILTER, reg);
client            972 drivers/hwmon/adm1031.c static int adm1031_detect(struct i2c_client *client,
client            975 drivers/hwmon/adm1031.c 	struct i2c_adapter *adapter = client->adapter;
client            982 drivers/hwmon/adm1031.c 	id = i2c_smbus_read_byte_data(client, 0x3d);
client            983 drivers/hwmon/adm1031.c 	co = i2c_smbus_read_byte_data(client, 0x3e);
client            994 drivers/hwmon/adm1031.c static void adm1031_init_client(struct i2c_client *client)
client            999 drivers/hwmon/adm1031.c 	struct adm1031_data *data = i2c_get_clientdata(client);
client           1007 drivers/hwmon/adm1031.c 	read_val = adm1031_read_value(client, ADM1031_REG_CONF2);
client           1009 drivers/hwmon/adm1031.c 		adm1031_write_value(client, ADM1031_REG_CONF2, read_val | mask);
client           1011 drivers/hwmon/adm1031.c 	read_val = adm1031_read_value(client, ADM1031_REG_CONF1);
client           1013 drivers/hwmon/adm1031.c 		adm1031_write_value(client, ADM1031_REG_CONF1,
client           1019 drivers/hwmon/adm1031.c 	read_val = adm1031_read_value(client, ADM1031_REG_FAN_FILTER);
client           1025 drivers/hwmon/adm1031.c static int adm1031_probe(struct i2c_client *client,
client           1028 drivers/hwmon/adm1031.c 	struct device *dev = &client->dev;
client           1036 drivers/hwmon/adm1031.c 	i2c_set_clientdata(client, data);
client           1037 drivers/hwmon/adm1031.c 	data->client = client;
client           1047 drivers/hwmon/adm1031.c 	adm1031_init_client(client);
client           1054 drivers/hwmon/adm1031.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            125 drivers/hwmon/adm9240.c 	struct i2c_client *client;
client            146 drivers/hwmon/adm9240.c static void adm9240_write_fan_div(struct i2c_client *client, int nr,
client            151 drivers/hwmon/adm9240.c 	reg = i2c_smbus_read_byte_data(client, ADM9240_REG_VID_FAN_DIV);
client            155 drivers/hwmon/adm9240.c 	i2c_smbus_write_byte_data(client, ADM9240_REG_VID_FAN_DIV, reg);
client            156 drivers/hwmon/adm9240.c 	dev_dbg(&client->dev,
client            164 drivers/hwmon/adm9240.c 	struct i2c_client *client = data->client;
client            174 drivers/hwmon/adm9240.c 			data->in[i] = i2c_smbus_read_byte_data(client,
client            177 drivers/hwmon/adm9240.c 		data->alarms = i2c_smbus_read_byte_data(client,
client            179 drivers/hwmon/adm9240.c 					i2c_smbus_read_byte_data(client,
client            187 drivers/hwmon/adm9240.c 		data->temp = (i2c_smbus_read_byte_data(client,
client            189 drivers/hwmon/adm9240.c 					i2c_smbus_read_byte_data(client,
client            193 drivers/hwmon/adm9240.c 			data->fan[i] = i2c_smbus_read_byte_data(client,
client            200 drivers/hwmon/adm9240.c 				adm9240_write_fan_div(client, i,
client            217 drivers/hwmon/adm9240.c 			data->in_min[i] = i2c_smbus_read_byte_data(client,
client            219 drivers/hwmon/adm9240.c 			data->in_max[i] = i2c_smbus_read_byte_data(client,
client            223 drivers/hwmon/adm9240.c 			data->fan_min[i] = i2c_smbus_read_byte_data(client,
client            226 drivers/hwmon/adm9240.c 		data->temp_max[0] = i2c_smbus_read_byte_data(client,
client            228 drivers/hwmon/adm9240.c 		data->temp_max[1] = i2c_smbus_read_byte_data(client,
client            232 drivers/hwmon/adm9240.c 		i = i2c_smbus_read_byte_data(client, ADM9240_REG_VID_FAN_DIV);
client            236 drivers/hwmon/adm9240.c 		data->vid |= (i2c_smbus_read_byte_data(client,
client            239 drivers/hwmon/adm9240.c 		data->aout = i2c_smbus_read_byte_data(client,
client            272 drivers/hwmon/adm9240.c 	struct i2c_client *client = data->client;
client            282 drivers/hwmon/adm9240.c 	i2c_smbus_write_byte_data(client, ADM9240_REG_TEMP_MAX(attr->index),
client            326 drivers/hwmon/adm9240.c 	struct i2c_client *client = data->client;
client            336 drivers/hwmon/adm9240.c 	i2c_smbus_write_byte_data(client, ADM9240_REG_IN_MIN(attr->index),
client            348 drivers/hwmon/adm9240.c 	struct i2c_client *client = data->client;
client            358 drivers/hwmon/adm9240.c 	i2c_smbus_write_byte_data(client, ADM9240_REG_IN_MAX(attr->index),
client            427 drivers/hwmon/adm9240.c 	struct i2c_client *client = data->client;
client            443 drivers/hwmon/adm9240.c 		dev_dbg(&client->dev, "fan%u low limit set disabled\n",
client            450 drivers/hwmon/adm9240.c 		dev_dbg(&client->dev, "fan%u low limit set minimum %u\n",
client            466 drivers/hwmon/adm9240.c 		dev_dbg(&client->dev, "fan%u low limit set fan speed %u\n",
client            472 drivers/hwmon/adm9240.c 		adm9240_write_fan_div(client, nr, new_div);
client            474 drivers/hwmon/adm9240.c 	i2c_smbus_write_byte_data(client, ADM9240_REG_FAN_MIN(nr),
client            536 drivers/hwmon/adm9240.c 	struct i2c_client *client = data->client;
client            546 drivers/hwmon/adm9240.c 	i2c_smbus_write_byte_data(client, ADM9240_REG_ANALOG_OUT, data->aout);
client            556 drivers/hwmon/adm9240.c 	struct i2c_client *client = data->client;
client            563 drivers/hwmon/adm9240.c 	i2c_smbus_write_byte_data(client, ADM9240_REG_CHASSIS_CLEAR, 0x80);
client            566 drivers/hwmon/adm9240.c 	dev_dbg(&client->dev, "chassis intrusion latch cleared\n");
client            665 drivers/hwmon/adm9240.c static void adm9240_init_client(struct i2c_client *client)
client            667 drivers/hwmon/adm9240.c 	struct adm9240_data *data = i2c_get_clientdata(client);
client            668 drivers/hwmon/adm9240.c 	u8 conf = i2c_smbus_read_byte_data(client, ADM9240_REG_CONFIG);
client            669 drivers/hwmon/adm9240.c 	u8 mode = i2c_smbus_read_byte_data(client, ADM9240_REG_TEMP_CONF) & 3;
client            673 drivers/hwmon/adm9240.c 	dev_info(&client->dev, "Using VRM: %d.%d\n", data->vrm / 10,
client            678 drivers/hwmon/adm9240.c 		dev_info(&client->dev, "status: config 0x%02x mode %u\n",
client            685 drivers/hwmon/adm9240.c 			i2c_smbus_write_byte_data(client,
client            687 drivers/hwmon/adm9240.c 			i2c_smbus_write_byte_data(client,
client            690 drivers/hwmon/adm9240.c 		i2c_smbus_write_byte_data(client,
client            692 drivers/hwmon/adm9240.c 		i2c_smbus_write_byte_data(client,
client            694 drivers/hwmon/adm9240.c 		i2c_smbus_write_byte_data(client,
client            696 drivers/hwmon/adm9240.c 		i2c_smbus_write_byte_data(client,
client            700 drivers/hwmon/adm9240.c 		i2c_smbus_write_byte_data(client, ADM9240_REG_CONFIG, 1);
client            702 drivers/hwmon/adm9240.c 		dev_info(&client->dev,
client            719 drivers/hwmon/adm9240.c 	data->client = new_client;
client            102 drivers/hwmon/ads7828.c static int ads7828_probe(struct i2c_client *client,
client            105 drivers/hwmon/ads7828.c 	struct device *dev = &client->dev;
client            140 drivers/hwmon/ads7828.c 	if (client->dev.of_node)
client            142 drivers/hwmon/ads7828.c 			of_device_get_match_data(&client->dev);
client            153 drivers/hwmon/ads7828.c 		data->regmap = devm_regmap_init_i2c(client,
client            157 drivers/hwmon/ads7828.c 		data->regmap = devm_regmap_init_i2c(client,
client            177 drivers/hwmon/ads7828.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             42 drivers/hwmon/adt7410.c static int adt7410_i2c_probe(struct i2c_client *client,
client             45 drivers/hwmon/adt7410.c 	if (!i2c_check_functionality(client->adapter,
client             49 drivers/hwmon/adt7410.c 	return adt7x10_probe(&client->dev, NULL, client->irq, &adt7410_i2c_ops);
client             52 drivers/hwmon/adt7410.c static int adt7410_i2c_remove(struct i2c_client *client)
client             54 drivers/hwmon/adt7410.c 	return adt7x10_remove(&client->dev, client->irq);
client            106 drivers/hwmon/adt7411.c 	struct i2c_client *client;
client            116 drivers/hwmon/adt7411.c static int adt7411_read_10_bit(struct i2c_client *client, u8 lsb_reg,
client            119 drivers/hwmon/adt7411.c 	struct adt7411_data *data = i2c_get_clientdata(client);
client            124 drivers/hwmon/adt7411.c 	val = i2c_smbus_read_byte_data(client, lsb_reg);
client            129 drivers/hwmon/adt7411.c 	val = i2c_smbus_read_byte_data(client, msb_reg);
client            140 drivers/hwmon/adt7411.c static int adt7411_modify_bit(struct i2c_client *client, u8 reg, u8 bit,
client            143 drivers/hwmon/adt7411.c 	struct adt7411_data *data = i2c_get_clientdata(client);
client            148 drivers/hwmon/adt7411.c 	ret = i2c_smbus_read_byte_data(client, reg);
client            157 drivers/hwmon/adt7411.c 	ret = i2c_smbus_write_byte_data(client, reg, val);
client            169 drivers/hwmon/adt7411.c 	struct i2c_client *client = data->client;
client            170 drivers/hwmon/adt7411.c 	int ret = i2c_smbus_read_byte_data(client, attr2->index);
client            181 drivers/hwmon/adt7411.c 	struct i2c_client *client = data->client;
client            189 drivers/hwmon/adt7411.c 	ret = adt7411_modify_bit(client, s_attr2->index, s_attr2->nr, flag);
client            218 drivers/hwmon/adt7411.c 	struct i2c_client *client = data->client;
client            221 drivers/hwmon/adt7411.c 	ret = i2c_smbus_read_byte_data(client, adt7411_in_alarm_reg[channel]);
client            231 drivers/hwmon/adt7411.c 	struct i2c_client *client = data->client;
client            236 drivers/hwmon/adt7411.c 		ret = adt7411_read_10_bit(client, ADT7411_REG_INT_TEMP_VDD_LSB,
client            243 drivers/hwmon/adt7411.c 		ret = i2c_smbus_read_byte_data(client, ADT7411_REG_VDD_LOW);
client            249 drivers/hwmon/adt7411.c 		ret = i2c_smbus_read_byte_data(client, ADT7411_REG_VDD_HIGH);
client            264 drivers/hwmon/adt7411.c 	struct i2c_client *client = data->client;
client            268 drivers/hwmon/adt7411.c 		val = i2c_smbus_read_byte_data(client, ADT7411_REG_CFG3);
client            291 drivers/hwmon/adt7411.c 	struct i2c_client *client = data->client;
client            306 drivers/hwmon/adt7411.c 		ret = adt7411_read_10_bit(client, lsb_reg,
client            319 drivers/hwmon/adt7411.c 		ret = i2c_smbus_read_byte_data(client, reg);
client            351 drivers/hwmon/adt7411.c 	struct i2c_client *client = data->client;
client            354 drivers/hwmon/adt7411.c 	ret = i2c_smbus_read_byte_data(client, ADT7411_REG_STAT_1);
client            382 drivers/hwmon/adt7411.c 	struct i2c_client *client = data->client;
client            391 drivers/hwmon/adt7411.c 		ret = adt7411_read_10_bit(client, regl, regh, 0);
client            402 drivers/hwmon/adt7411.c 		ret = i2c_smbus_read_byte_data(client, reg);
client            433 drivers/hwmon/adt7411.c 	struct i2c_client *client = data->client;
client            450 drivers/hwmon/adt7411.c 	return i2c_smbus_write_byte_data(client, reg, val);
client            457 drivers/hwmon/adt7411.c 	struct i2c_client *client = data->client;
client            479 drivers/hwmon/adt7411.c 	ret = i2c_smbus_write_byte_data(client, reg, val);
client            498 drivers/hwmon/adt7411.c 	struct i2c_client *client = data->client;
client            515 drivers/hwmon/adt7411.c 	return i2c_smbus_write_byte_data(client, reg, val);
client            569 drivers/hwmon/adt7411.c static int adt7411_detect(struct i2c_client *client,
client            574 drivers/hwmon/adt7411.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            577 drivers/hwmon/adt7411.c 	val = i2c_smbus_read_byte_data(client, ADT7411_REG_MANUFACTURER_ID);
client            579 drivers/hwmon/adt7411.c 		dev_dbg(&client->dev,
client            585 drivers/hwmon/adt7411.c 	val = i2c_smbus_read_byte_data(client, ADT7411_REG_DEVICE_ID);
client            587 drivers/hwmon/adt7411.c 		dev_dbg(&client->dev,
client            603 drivers/hwmon/adt7411.c 	ret = i2c_smbus_read_byte_data(data->client, ADT7411_REG_CFG3);
client            615 drivers/hwmon/adt7411.c 	ret = i2c_smbus_write_byte_data(data->client, ADT7411_REG_CFG3, val);
client            619 drivers/hwmon/adt7411.c 	ret = i2c_smbus_read_byte_data(data->client, ADT7411_REG_CFG1);
client            636 drivers/hwmon/adt7411.c 	return i2c_smbus_write_byte_data(data->client, ADT7411_REG_CFG1, val);
client            669 drivers/hwmon/adt7411.c static int adt7411_probe(struct i2c_client *client,
client            672 drivers/hwmon/adt7411.c 	struct device *dev = &client->dev;
client            681 drivers/hwmon/adt7411.c 	i2c_set_clientdata(client, data);
client            682 drivers/hwmon/adt7411.c 	data->client = client;
client            693 drivers/hwmon/adt7411.c 	hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name,
client            192 drivers/hwmon/adt7462.c 	struct i2c_client	*client;
client            225 drivers/hwmon/adt7462.c static inline int adt7462_read_word_data(struct i2c_client *client, u8 reg)
client            228 drivers/hwmon/adt7462.c 	foo = i2c_smbus_read_byte_data(client, reg);
client            229 drivers/hwmon/adt7462.c 	foo |= ((u16)i2c_smbus_read_byte_data(client, reg + 1) << 8);
client            675 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client            690 drivers/hwmon/adt7462.c 		data->temp_frac[i] = i2c_smbus_read_byte_data(client,
client            692 drivers/hwmon/adt7462.c 		data->temp[i] = i2c_smbus_read_byte_data(client,
client            697 drivers/hwmon/adt7462.c 		data->fan[i] = adt7462_read_word_data(client,
client            700 drivers/hwmon/adt7462.c 	data->fan_enabled = i2c_smbus_read_byte_data(client,
client            704 drivers/hwmon/adt7462.c 		data->pwm[i] = i2c_smbus_read_byte_data(client,
client            708 drivers/hwmon/adt7462.c 		data->pin_cfg[i] = i2c_smbus_read_byte_data(client,
client            716 drivers/hwmon/adt7462.c 			data->voltages[i] = i2c_smbus_read_byte_data(client,
client            720 drivers/hwmon/adt7462.c 	data->alarms[0] = i2c_smbus_read_byte_data(client, ADT7462_REG_ALARM1);
client            721 drivers/hwmon/adt7462.c 	data->alarms[1] = i2c_smbus_read_byte_data(client, ADT7462_REG_ALARM2);
client            722 drivers/hwmon/adt7462.c 	data->alarms[2] = i2c_smbus_read_byte_data(client, ADT7462_REG_ALARM3);
client            723 drivers/hwmon/adt7462.c 	data->alarms[3] = i2c_smbus_read_byte_data(client, ADT7462_REG_ALARM4);
client            735 drivers/hwmon/adt7462.c 		data->temp_min[i] = i2c_smbus_read_byte_data(client,
client            737 drivers/hwmon/adt7462.c 		data->temp_max[i] = i2c_smbus_read_byte_data(client,
client            742 drivers/hwmon/adt7462.c 		data->fan_min[i] = i2c_smbus_read_byte_data(client,
client            748 drivers/hwmon/adt7462.c 			(reg ? i2c_smbus_read_byte_data(client, reg) : 0);
client            752 drivers/hwmon/adt7462.c 			(reg ? i2c_smbus_read_byte_data(client, reg) : 0);
client            756 drivers/hwmon/adt7462.c 		data->pwm_min[i] = i2c_smbus_read_byte_data(client,
client            758 drivers/hwmon/adt7462.c 		data->pwm_tmin[i] = i2c_smbus_read_byte_data(client,
client            760 drivers/hwmon/adt7462.c 		data->pwm_trange[i] = i2c_smbus_read_byte_data(client,
client            762 drivers/hwmon/adt7462.c 		data->pwm_cfg[i] = i2c_smbus_read_byte_data(client,
client            766 drivers/hwmon/adt7462.c 	data->pwm_max = i2c_smbus_read_byte_data(client, ADT7462_REG_PWM_MAX);
client            768 drivers/hwmon/adt7462.c 	data->cfg2 = i2c_smbus_read_byte_data(client, ADT7462_REG_CFG2);
client            796 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client            807 drivers/hwmon/adt7462.c 	i2c_smbus_write_byte_data(client, ADT7462_TEMP_MIN_REG(attr->index),
client            832 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client            843 drivers/hwmon/adt7462.c 	i2c_smbus_write_byte_data(client, ADT7462_TEMP_MAX_REG(attr->index),
client            892 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client            905 drivers/hwmon/adt7462.c 	i2c_smbus_write_byte_data(client,
client            932 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client            945 drivers/hwmon/adt7462.c 	i2c_smbus_write_byte_data(client,
client           1018 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client           1031 drivers/hwmon/adt7462.c 	i2c_smbus_write_byte_data(client, ADT7462_REG_FAN_MIN(attr->index),
client           1064 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client           1072 drivers/hwmon/adt7462.c 	reg = i2c_smbus_read_byte_data(client, ADT7462_REG_CFG2);
client           1078 drivers/hwmon/adt7462.c 	i2c_smbus_write_byte_data(client, ADT7462_REG_CFG2, reg);
client           1097 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client           1107 drivers/hwmon/adt7462.c 	i2c_smbus_write_byte_data(client, ADT7462_REG_PWM(attr->index), temp);
client           1125 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client           1135 drivers/hwmon/adt7462.c 	i2c_smbus_write_byte_data(client, ADT7462_REG_PWM_MAX, temp);
client           1155 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client           1165 drivers/hwmon/adt7462.c 	i2c_smbus_write_byte_data(client, ADT7462_REG_PWM_MIN(attr->index),
client           1187 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client           1202 drivers/hwmon/adt7462.c 	i2c_smbus_write_byte_data(client, ADT7462_REG_PWM_TRANGE(attr->index),
client           1230 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client           1248 drivers/hwmon/adt7462.c 	i2c_smbus_write_byte_data(client, ADT7462_REG_PWM_TRANGE(attr->index),
client           1269 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client           1280 drivers/hwmon/adt7462.c 	i2c_smbus_write_byte_data(client, ADT7462_REG_PWM_TMIN(attr->index),
client           1304 drivers/hwmon/adt7462.c static void set_pwm_channel(struct i2c_client *client,
client           1314 drivers/hwmon/adt7462.c 	i2c_smbus_write_byte_data(client, ADT7462_REG_PWM_CFG(which), temp);
client           1324 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client           1332 drivers/hwmon/adt7462.c 		set_pwm_channel(client, data, attr->index, 4);
client           1335 drivers/hwmon/adt7462.c 		set_pwm_channel(client, data, attr->index, 7);
client           1381 drivers/hwmon/adt7462.c 	struct i2c_client *client = data->client;
client           1391 drivers/hwmon/adt7462.c 	set_pwm_channel(client, data, attr->index, temp);
client           1764 drivers/hwmon/adt7462.c static int adt7462_detect(struct i2c_client *client,
client           1767 drivers/hwmon/adt7462.c 	struct i2c_adapter *adapter = client->adapter;
client           1773 drivers/hwmon/adt7462.c 	vendor = i2c_smbus_read_byte_data(client, ADT7462_REG_VENDOR);
client           1777 drivers/hwmon/adt7462.c 	device = i2c_smbus_read_byte_data(client, ADT7462_REG_DEVICE);
client           1781 drivers/hwmon/adt7462.c 	revision = i2c_smbus_read_byte_data(client, ADT7462_REG_REVISION);
client           1790 drivers/hwmon/adt7462.c static int adt7462_probe(struct i2c_client *client,
client           1793 drivers/hwmon/adt7462.c 	struct device *dev = &client->dev;
client           1801 drivers/hwmon/adt7462.c 	data->client = client;
client           1804 drivers/hwmon/adt7462.c 	dev_info(&client->dev, "%s chip found\n", client->name);
client           1806 drivers/hwmon/adt7462.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            140 drivers/hwmon/adt7470.c 	struct i2c_client	*client;
client            174 drivers/hwmon/adt7470.c static inline int adt7470_read_word_data(struct i2c_client *client, u8 reg)
client            177 drivers/hwmon/adt7470.c 	foo = i2c_smbus_read_byte_data(client, reg);
client            178 drivers/hwmon/adt7470.c 	foo |= ((u16)i2c_smbus_read_byte_data(client, reg + 1) << 8);
client            182 drivers/hwmon/adt7470.c static inline int adt7470_write_word_data(struct i2c_client *client, u8 reg,
client            185 drivers/hwmon/adt7470.c 	return i2c_smbus_write_byte_data(client, reg, value & 0xFF)
client            186 drivers/hwmon/adt7470.c 	       || i2c_smbus_write_byte_data(client, reg + 1, value >> 8);
client            190 drivers/hwmon/adt7470.c static int adt7470_read_temperatures(struct i2c_client *client,
client            198 drivers/hwmon/adt7470.c 	pwm_cfg[0] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(0));
client            199 drivers/hwmon/adt7470.c 	pwm_cfg[1] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(2));
client            203 drivers/hwmon/adt7470.c 		pwm[i] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM(i));
client            206 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_CFG(0),
client            208 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_CFG(2),
client            213 drivers/hwmon/adt7470.c 		i2c_smbus_write_byte_data(client, ADT7470_REG_PWM(i), pwm[i]);
client            216 drivers/hwmon/adt7470.c 	cfg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG);
client            218 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_REG_CFG, cfg);
client            226 drivers/hwmon/adt7470.c 	cfg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG);
client            228 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_REG_CFG, cfg);
client            231 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_CFG(0), pwm_cfg[0]);
client            232 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_CFG(2), pwm_cfg[1]);
client            244 drivers/hwmon/adt7470.c 		data->temp[i] = i2c_smbus_read_byte_data(client,
client            255 drivers/hwmon/adt7470.c 	struct i2c_client *client = p;
client            256 drivers/hwmon/adt7470.c 	struct adt7470_data *data = i2c_get_clientdata(client);
client            260 drivers/hwmon/adt7470.c 		adt7470_read_temperatures(client, data);
client            276 drivers/hwmon/adt7470.c 	struct i2c_client *client = data->client;
client            306 drivers/hwmon/adt7470.c 		adt7470_read_temperatures(client, data);
client            309 drivers/hwmon/adt7470.c 			data->temp[i] = i2c_smbus_read_byte_data(client,
client            313 drivers/hwmon/adt7470.c 		data->fan[i] = adt7470_read_word_data(client,
client            320 drivers/hwmon/adt7470.c 		data->pwm[i] = i2c_smbus_read_byte_data(client,
client            329 drivers/hwmon/adt7470.c 		if (i2c_smbus_read_byte_data(client, reg) & reg_mask)
client            335 drivers/hwmon/adt7470.c 		cfg = i2c_smbus_read_byte_data(client, reg);
client            342 drivers/hwmon/adt7470.c 	if (i2c_smbus_read_byte_data(client, ADT7470_REG_CFG) &
client            348 drivers/hwmon/adt7470.c 	data->alarm = i2c_smbus_read_byte_data(client, ADT7470_REG_ALARM1);
client            350 drivers/hwmon/adt7470.c 		data->alarm |= ALARM2(i2c_smbus_read_byte_data(client,
client            352 drivers/hwmon/adt7470.c 	data->alarms_mask = adt7470_read_word_data(client,
client            363 drivers/hwmon/adt7470.c 		data->temp_min[i] = i2c_smbus_read_byte_data(client,
client            365 drivers/hwmon/adt7470.c 		data->temp_max[i] = i2c_smbus_read_byte_data(client,
client            370 drivers/hwmon/adt7470.c 		data->fan_min[i] = adt7470_read_word_data(client,
client            372 drivers/hwmon/adt7470.c 		data->fan_max[i] = adt7470_read_word_data(client,
client            377 drivers/hwmon/adt7470.c 		data->pwm_max[i] = i2c_smbus_read_byte_data(client,
client            379 drivers/hwmon/adt7470.c 		data->pwm_min[i] = i2c_smbus_read_byte_data(client,
client            381 drivers/hwmon/adt7470.c 		data->pwm_tmin[i] = i2c_smbus_read_byte_data(client,
client            463 drivers/hwmon/adt7470.c 	struct i2c_client *client = data->client;
client            474 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_TEMP_MIN_REG(attr->index),
client            495 drivers/hwmon/adt7470.c 	struct i2c_client *client = data->client;
client            506 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_TEMP_MAX_REG(attr->index),
client            545 drivers/hwmon/adt7470.c 	adt7470_write_word_data(data->client, ADT7470_REG_ALARM1_MASK, mask);
client            570 drivers/hwmon/adt7470.c 	struct i2c_client *client = data->client;
client            581 drivers/hwmon/adt7470.c 	adt7470_write_word_data(client, ADT7470_REG_FAN_MAX(attr->index), temp);
client            606 drivers/hwmon/adt7470.c 	struct i2c_client *client = data->client;
client            617 drivers/hwmon/adt7470.c 	adt7470_write_word_data(client, ADT7470_REG_FAN_MIN(attr->index), temp);
client            648 drivers/hwmon/adt7470.c 	struct i2c_client *client = data->client;
client            657 drivers/hwmon/adt7470.c 	reg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG);
client            662 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_REG_CFG, reg);
client            681 drivers/hwmon/adt7470.c 	struct i2c_client *client = data->client;
client            691 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_REG_PWM(attr->index), temp);
client            711 drivers/hwmon/adt7470.c 	cfg_reg_1 = i2c_smbus_read_byte_data(data->client, ADT7470_REG_CFG);
client            712 drivers/hwmon/adt7470.c 	cfg_reg_2 = i2c_smbus_read_byte_data(data->client, ADT7470_REG_CFG_2);
client            729 drivers/hwmon/adt7470.c 	struct i2c_client *client = data->client;
client            749 drivers/hwmon/adt7470.c 	val = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG);
client            750 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_REG_CFG,
client            753 drivers/hwmon/adt7470.c 	val = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG_2);
client            754 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_REG_CFG_2,
client            775 drivers/hwmon/adt7470.c 	struct i2c_client *client = data->client;
client            785 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_MAX(attr->index),
client            806 drivers/hwmon/adt7470.c 	struct i2c_client *client = data->client;
client            816 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_MIN(attr->index),
client            846 drivers/hwmon/adt7470.c 	struct i2c_client *client = data->client;
client            857 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_TMIN(attr->index),
client            878 drivers/hwmon/adt7470.c 	struct i2c_client *client = data->client;
client            898 drivers/hwmon/adt7470.c 	reg = i2c_smbus_read_byte_data(client, pwm_auto_reg);
client            903 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, pwm_auto_reg, reg);
client            937 drivers/hwmon/adt7470.c 	struct i2c_client *client = data->client;
client            951 drivers/hwmon/adt7470.c 	reg = i2c_smbus_read_byte_data(client, pwm_auto_reg);
client            961 drivers/hwmon/adt7470.c 	i2c_smbus_write_byte_data(client, pwm_auto_reg, reg);
client           1182 drivers/hwmon/adt7470.c static int adt7470_detect(struct i2c_client *client,
client           1185 drivers/hwmon/adt7470.c 	struct i2c_adapter *adapter = client->adapter;
client           1191 drivers/hwmon/adt7470.c 	vendor = i2c_smbus_read_byte_data(client, ADT7470_REG_VENDOR);
client           1195 drivers/hwmon/adt7470.c 	device = i2c_smbus_read_byte_data(client, ADT7470_REG_DEVICE);
client           1199 drivers/hwmon/adt7470.c 	revision = i2c_smbus_read_byte_data(client, ADT7470_REG_REVISION);
client           1208 drivers/hwmon/adt7470.c static void adt7470_init_client(struct i2c_client *client)
client           1210 drivers/hwmon/adt7470.c 	int reg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG);
client           1213 drivers/hwmon/adt7470.c 		dev_err(&client->dev, "cannot read configuration register\n");
client           1216 drivers/hwmon/adt7470.c 		i2c_smbus_write_byte_data(client, ADT7470_REG_CFG, reg | 3);
client           1220 drivers/hwmon/adt7470.c static int adt7470_probe(struct i2c_client *client,
client           1223 drivers/hwmon/adt7470.c 	struct device *dev = &client->dev;
client           1234 drivers/hwmon/adt7470.c 	i2c_set_clientdata(client, data);
client           1235 drivers/hwmon/adt7470.c 	data->client = client;
client           1238 drivers/hwmon/adt7470.c 	dev_info(&client->dev, "%s chip found\n", client->name);
client           1241 drivers/hwmon/adt7470.c 	adt7470_init_client(client);
client           1244 drivers/hwmon/adt7470.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client           1251 drivers/hwmon/adt7470.c 	data->auto_update = kthread_run(adt7470_update_thread, client, "%s",
client           1260 drivers/hwmon/adt7470.c static int adt7470_remove(struct i2c_client *client)
client           1262 drivers/hwmon/adt7470.c 	struct adt7470_data *data = i2c_get_clientdata(client);
client            131 drivers/hwmon/adt7475.c #define adt7475_read(reg) i2c_smbus_read_byte_data(client, (reg))
client            190 drivers/hwmon/adt7475.c 	struct i2c_client *client;
client            220 drivers/hwmon/adt7475.c static void adt7475_read_hystersis(struct i2c_client *client);
client            221 drivers/hwmon/adt7475.c static void adt7475_read_pwm(struct i2c_client *client, int index);
client            304 drivers/hwmon/adt7475.c static int adt7475_read_word(struct i2c_client *client, int reg)
client            308 drivers/hwmon/adt7475.c 	val1 = i2c_smbus_read_byte_data(client, reg);
client            311 drivers/hwmon/adt7475.c 	val2 = i2c_smbus_read_byte_data(client, reg + 1);
client            318 drivers/hwmon/adt7475.c static void adt7475_write_word(struct i2c_client *client, int reg, u16 val)
client            320 drivers/hwmon/adt7475.c 	i2c_smbus_write_byte_data(client, reg + 1, val >> 8);
client            321 drivers/hwmon/adt7475.c 	i2c_smbus_write_byte_data(client, reg, val & 0xFF);
client            352 drivers/hwmon/adt7475.c 	struct i2c_client *client = data->client;
client            376 drivers/hwmon/adt7475.c 	i2c_smbus_write_byte_data(client, reg,
client            446 drivers/hwmon/adt7475.c 	struct i2c_client *client = data->client;
client            480 drivers/hwmon/adt7475.c 		adt7475_read_hystersis(client);
client            532 drivers/hwmon/adt7475.c 	i2c_smbus_write_byte_data(client, reg, out);
client            575 drivers/hwmon/adt7475.c 	struct i2c_client *client = data->client;
client            613 drivers/hwmon/adt7475.c 	i2c_smbus_write_byte_data(client, reg, data->enh_acoustics[idx]);
client            652 drivers/hwmon/adt7475.c 	struct i2c_client *client = data->client;
client            684 drivers/hwmon/adt7475.c 	i2c_smbus_write_byte_data(client, TEMP_TRANGE_REG(sattr->index),
client            715 drivers/hwmon/adt7475.c 	struct i2c_client *client = data->client;
client            725 drivers/hwmon/adt7475.c 	adt7475_write_word(client, TACH_MIN_REG(sattr->index),
client            774 drivers/hwmon/adt7475.c 	struct i2c_client *client = data->client;
client            811 drivers/hwmon/adt7475.c 	i2c_smbus_write_byte_data(client, reg,
client            835 drivers/hwmon/adt7475.c 	struct i2c_client *client = data->client;
client            848 drivers/hwmon/adt7475.c 	i2c_smbus_write_byte_data(client, REG_ENHANCE_ACOUSTICS1,
client            858 drivers/hwmon/adt7475.c static int hw_set_pwm(struct i2c_client *client, int index,
client            861 drivers/hwmon/adt7475.c 	struct adt7475_data *data = i2c_get_clientdata(client);
client            907 drivers/hwmon/adt7475.c 	i2c_smbus_write_byte_data(client, PWM_CONFIG_REG(index),
client            919 drivers/hwmon/adt7475.c 	struct i2c_client *client = data->client;
client            928 drivers/hwmon/adt7475.c 	adt7475_read_pwm(client, sattr->index);
client            929 drivers/hwmon/adt7475.c 	r = hw_set_pwm(client, sattr->index, data->pwmctl[sattr->index], val);
client            943 drivers/hwmon/adt7475.c 	struct i2c_client *client = data->client;
client            952 drivers/hwmon/adt7475.c 	adt7475_read_pwm(client, sattr->index);
client            953 drivers/hwmon/adt7475.c 	r = hw_set_pwm(client, sattr->index, val, data->pwmchan[sattr->index]);
client            987 drivers/hwmon/adt7475.c 	struct i2c_client *client = data->client;
client           1003 drivers/hwmon/adt7475.c 	i2c_smbus_write_byte_data(client, TEMP_TRANGE_REG(sattr->index),
client           1027 drivers/hwmon/adt7475.c 	struct i2c_client *client = data->client;
client           1036 drivers/hwmon/adt7475.c 	data->config4 = i2c_smbus_read_byte_data(client, REG_CONFIG4);
client           1041 drivers/hwmon/adt7475.c 	i2c_smbus_write_byte_data(client, REG_CONFIG4, data->config4);
client           1309 drivers/hwmon/adt7475.c static int adt7475_detect(struct i2c_client *client,
client           1312 drivers/hwmon/adt7475.c 	struct i2c_adapter *adapter = client->adapter;
client           1328 drivers/hwmon/adt7475.c 	else if (devid == 0x75 && client->addr == 0x2e)
client           1337 drivers/hwmon/adt7475.c 			"0x%02x\n", (unsigned int)client->addr);
client           1346 drivers/hwmon/adt7475.c static int adt7475_update_limits(struct i2c_client *client)
client           1348 drivers/hwmon/adt7475.c 	struct adt7475_data *data = i2c_get_clientdata(client);
client           1416 drivers/hwmon/adt7475.c 	adt7475_read_hystersis(client);
client           1421 drivers/hwmon/adt7475.c 		ret = adt7475_read_word(client, TACH_MIN_REG(i));
client           1440 drivers/hwmon/adt7475.c 		adt7475_read_pwm(client, i);
client           1461 drivers/hwmon/adt7475.c static int adt7475_probe(struct i2c_client *client,
client           1477 drivers/hwmon/adt7475.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client           1482 drivers/hwmon/adt7475.c 	data->client = client;
client           1483 drivers/hwmon/adt7475.c 	i2c_set_clientdata(client, data);
client           1485 drivers/hwmon/adt7475.c 	if (client->dev.of_node)
client           1486 drivers/hwmon/adt7475.c 		chip = (enum chips)of_device_get_match_data(&client->dev);
client           1563 drivers/hwmon/adt7475.c 		adt7475_read_pwm(client, i);
client           1569 drivers/hwmon/adt7475.c 		i2c_smbus_write_byte_data(client, REG_CONFIG1,
client           1603 drivers/hwmon/adt7475.c 	hwmon_dev = devm_hwmon_device_register_with_groups(&client->dev,
client           1604 drivers/hwmon/adt7475.c 							   client->name, data,
client           1612 drivers/hwmon/adt7475.c 	dev_info(&client->dev, "%s device, revision %d\n",
client           1615 drivers/hwmon/adt7475.c 		dev_info(&client->dev, "Optional features:%s%s%s%s%s\n",
client           1622 drivers/hwmon/adt7475.c 		dev_info(&client->dev, "Bypassing attenuators on:%s%s%s%s\n",
client           1629 drivers/hwmon/adt7475.c 	ret = adt7475_update_limits(client);
client           1648 drivers/hwmon/adt7475.c static void adt7475_read_hystersis(struct i2c_client *client)
client           1650 drivers/hwmon/adt7475.c 	struct adt7475_data *data = i2c_get_clientdata(client);
client           1657 drivers/hwmon/adt7475.c static void adt7475_read_pwm(struct i2c_client *client, int index)
client           1659 drivers/hwmon/adt7475.c 	struct adt7475_data *data = i2c_get_clientdata(client);
client           1684 drivers/hwmon/adt7475.c 		i2c_smbus_write_byte_data(client, PWM_CONFIG_REG(index),
client           1687 drivers/hwmon/adt7475.c 		i2c_smbus_write_byte_data(client, PWM_CONFIG_REG(index),
client           1717 drivers/hwmon/adt7475.c 	struct i2c_client *client = data->client;
client           1785 drivers/hwmon/adt7475.c 		ret = adt7475_read_word(client, TACH_REG(i));
client            142 drivers/hwmon/amc6821.c 	struct i2c_client *client;
client            167 drivers/hwmon/amc6821.c 	struct i2c_client *client = data->client;
client            179 drivers/hwmon/amc6821.c 				client, temp_reg[i]);
client            181 drivers/hwmon/amc6821.c 		data->stat1 = i2c_smbus_read_byte_data(client,
client            183 drivers/hwmon/amc6821.c 		data->stat2 = i2c_smbus_read_byte_data(client,
client            186 drivers/hwmon/amc6821.c 		data->pwm1 = i2c_smbus_read_byte_data(client,
client            190 drivers/hwmon/amc6821.c 					client,
client            193 drivers/hwmon/amc6821.c 					client,
client            196 drivers/hwmon/amc6821.c 		data->fan1_div = i2c_smbus_read_byte_data(client,
client            202 drivers/hwmon/amc6821.c 		data->pwm1_auto_point_pwm[1] = i2c_smbus_read_byte_data(client,
client            206 drivers/hwmon/amc6821.c 			i2c_smbus_read_byte_data(client,
client            210 drivers/hwmon/amc6821.c 		reg = i2c_smbus_read_byte_data(client,
client            223 drivers/hwmon/amc6821.c 		reg = i2c_smbus_read_byte_data(client,
client            236 drivers/hwmon/amc6821.c 		reg = i2c_smbus_read_byte_data(client, AMC6821_REG_CONF1);
client            280 drivers/hwmon/amc6821.c 	struct i2c_client *client = data->client;
client            291 drivers/hwmon/amc6821.c 	if (i2c_smbus_write_byte_data(client, temp_reg[ix], data->temp[ix])) {
client            292 drivers/hwmon/amc6821.c 		dev_err(&client->dev, "Register write error, aborting.\n");
client            357 drivers/hwmon/amc6821.c 	struct i2c_client *client = data->client;
client            365 drivers/hwmon/amc6821.c 	i2c_smbus_write_byte_data(client, AMC6821_REG_DCY, data->pwm1);
client            382 drivers/hwmon/amc6821.c 	struct i2c_client *client = data->client;
client            389 drivers/hwmon/amc6821.c 	config = i2c_smbus_read_byte_data(client, AMC6821_REG_CONF1);
client            391 drivers/hwmon/amc6821.c 			dev_err(&client->dev,
client            414 drivers/hwmon/amc6821.c 	if (i2c_smbus_write_byte_data(client, AMC6821_REG_CONF1, config)) {
client            415 drivers/hwmon/amc6821.c 			dev_err(&client->dev,
client            461 drivers/hwmon/amc6821.c static inline ssize_t set_slope_register(struct i2c_client *client,
client            475 drivers/hwmon/amc6821.c 	if (i2c_smbus_write_byte_data(client,
client            477 drivers/hwmon/amc6821.c 		dev_err(&client->dev, "Register write error, aborting.\n");
client            488 drivers/hwmon/amc6821.c 	struct i2c_client *client = data->client;
client            524 drivers/hwmon/amc6821.c 					client,
client            527 drivers/hwmon/amc6821.c 				dev_err(&client->dev,
client            546 drivers/hwmon/amc6821.c 	if (set_slope_register(client, reg, dpwm, ptemp))
client            559 drivers/hwmon/amc6821.c 	struct i2c_client *client = data->client;
client            568 drivers/hwmon/amc6821.c 	if (i2c_smbus_write_byte_data(client, AMC6821_REG_DCY_LOW_TEMP,
client            570 drivers/hwmon/amc6821.c 		dev_err(&client->dev, "Register write error, aborting.\n");
client            575 drivers/hwmon/amc6821.c 	if (set_slope_register(client, AMC6821_REG_LTEMP_FAN_CTRL, dpwm,
client            580 drivers/hwmon/amc6821.c 	if (set_slope_register(client, AMC6821_REG_RTEMP_FAN_CTRL, dpwm,
client            616 drivers/hwmon/amc6821.c 	struct i2c_client *client = data->client;
client            626 drivers/hwmon/amc6821.c 	if (i2c_smbus_write_byte_data(client, fan_reg_low[ix],
client            628 drivers/hwmon/amc6821.c 		dev_err(&client->dev, "Register write error, aborting.\n");
client            632 drivers/hwmon/amc6821.c 	if (i2c_smbus_write_byte_data(client,
client            634 drivers/hwmon/amc6821.c 		dev_err(&client->dev, "Register write error, aborting.\n");
client            654 drivers/hwmon/amc6821.c 	struct i2c_client *client = data->client;
client            661 drivers/hwmon/amc6821.c 	config = i2c_smbus_read_byte_data(client, AMC6821_REG_CONF4);
client            663 drivers/hwmon/amc6821.c 		dev_err(&client->dev,
client            681 drivers/hwmon/amc6821.c 	if (i2c_smbus_write_byte_data(client, AMC6821_REG_CONF4, config)) {
client            682 drivers/hwmon/amc6821.c 		dev_err(&client->dev,
client            773 drivers/hwmon/amc6821.c 		struct i2c_client *client,
client            776 drivers/hwmon/amc6821.c 	struct i2c_adapter *adapter = client->adapter;
client            777 drivers/hwmon/amc6821.c 	int address = client->addr;
client            789 drivers/hwmon/amc6821.c 	dev_id = i2c_smbus_read_byte_data(client, AMC6821_REG_DEV_ID);
client            790 drivers/hwmon/amc6821.c 	comp_id = i2c_smbus_read_byte_data(client, AMC6821_REG_COMP_ID);
client            802 drivers/hwmon/amc6821.c 	dev_id = i2c_smbus_read_byte_data(client, 0x80 | AMC6821_REG_DEV_ID);
client            803 drivers/hwmon/amc6821.c 	comp_id = i2c_smbus_read_byte_data(client, 0x80 | AMC6821_REG_COMP_ID);
client            817 drivers/hwmon/amc6821.c static int amc6821_init_client(struct i2c_client *client)
client            823 drivers/hwmon/amc6821.c 		config = i2c_smbus_read_byte_data(client, AMC6821_REG_CONF4);
client            826 drivers/hwmon/amc6821.c 				dev_err(&client->dev,
client            833 drivers/hwmon/amc6821.c 		if (i2c_smbus_write_byte_data(client, AMC6821_REG_CONF4,
client            835 drivers/hwmon/amc6821.c 			dev_err(&client->dev,
client            840 drivers/hwmon/amc6821.c 		config = i2c_smbus_read_byte_data(client, AMC6821_REG_CONF3);
client            843 drivers/hwmon/amc6821.c 			dev_err(&client->dev,
client            848 drivers/hwmon/amc6821.c 		dev_info(&client->dev, "Revision %d\n", config & 0x0f);
client            852 drivers/hwmon/amc6821.c 		if (i2c_smbus_write_byte_data(client, AMC6821_REG_CONF3,
client            854 drivers/hwmon/amc6821.c 			dev_err(&client->dev,
client            859 drivers/hwmon/amc6821.c 		config = i2c_smbus_read_byte_data(client, AMC6821_REG_CONF2);
client            862 drivers/hwmon/amc6821.c 			dev_err(&client->dev,
client            870 drivers/hwmon/amc6821.c 		if (i2c_smbus_write_byte_data(client,
client            872 drivers/hwmon/amc6821.c 			dev_err(&client->dev,
client            877 drivers/hwmon/amc6821.c 		config = i2c_smbus_read_byte_data(client, AMC6821_REG_CONF1);
client            880 drivers/hwmon/amc6821.c 			dev_err(&client->dev,
client            894 drivers/hwmon/amc6821.c 				client, AMC6821_REG_CONF1, config)) {
client            895 drivers/hwmon/amc6821.c 			dev_err(&client->dev,
client            903 drivers/hwmon/amc6821.c static int amc6821_probe(struct i2c_client *client,
client            906 drivers/hwmon/amc6821.c 	struct device *dev = &client->dev;
client            915 drivers/hwmon/amc6821.c 	data->client = client;
client            921 drivers/hwmon/amc6821.c 	err = amc6821_init_client(client);
client            925 drivers/hwmon/amc6821.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            205 drivers/hwmon/asb100.c static int asb100_read_value(struct i2c_client *client, u16 reg);
client            206 drivers/hwmon/asb100.c static void asb100_write_value(struct i2c_client *client, u16 reg, u16 val);
client            208 drivers/hwmon/asb100.c static int asb100_probe(struct i2c_client *client,
client            210 drivers/hwmon/asb100.c static int asb100_detect(struct i2c_client *client,
client            212 drivers/hwmon/asb100.c static int asb100_remove(struct i2c_client *client);
client            214 drivers/hwmon/asb100.c static void asb100_init_client(struct i2c_client *client);
client            253 drivers/hwmon/asb100.c 	struct i2c_client *client = to_i2c_client(dev); \
client            254 drivers/hwmon/asb100.c 	struct asb100_data *data = i2c_get_clientdata(client); \
client            261 drivers/hwmon/asb100.c 	asb100_write_value(client, ASB100_REG_IN_##REG(nr), \
client            317 drivers/hwmon/asb100.c 	struct i2c_client *client = to_i2c_client(dev);
client            318 drivers/hwmon/asb100.c 	struct asb100_data *data = i2c_get_clientdata(client);
client            328 drivers/hwmon/asb100.c 	asb100_write_value(client, ASB100_REG_FAN_MIN(nr), data->fan_min[nr]);
client            343 drivers/hwmon/asb100.c 	struct i2c_client *client = to_i2c_client(dev);
client            344 drivers/hwmon/asb100.c 	struct asb100_data *data = i2c_get_clientdata(client);
client            362 drivers/hwmon/asb100.c 		reg = asb100_read_value(client, ASB100_REG_VID_FANDIV);
client            364 drivers/hwmon/asb100.c 		asb100_write_value(client, ASB100_REG_VID_FANDIV, reg);
client            368 drivers/hwmon/asb100.c 		reg = asb100_read_value(client, ASB100_REG_VID_FANDIV);
client            370 drivers/hwmon/asb100.c 		asb100_write_value(client, ASB100_REG_VID_FANDIV, reg);
client            374 drivers/hwmon/asb100.c 		reg = asb100_read_value(client, ASB100_REG_PIN);
client            376 drivers/hwmon/asb100.c 		asb100_write_value(client, ASB100_REG_PIN, reg);
client            382 drivers/hwmon/asb100.c 	asb100_write_value(client, ASB100_REG_FAN_MIN(nr), data->fan_min[nr]);
client            435 drivers/hwmon/asb100.c 	struct i2c_client *client = to_i2c_client(dev); \
client            436 drivers/hwmon/asb100.c 	struct asb100_data *data = i2c_get_clientdata(client); \
client            450 drivers/hwmon/asb100.c 	asb100_write_value(client, ASB100_REG_TEMP_##REG(nr+1), \
client            550 drivers/hwmon/asb100.c 	struct i2c_client *client = to_i2c_client(dev);
client            551 drivers/hwmon/asb100.c 	struct asb100_data *data = i2c_get_clientdata(client);
client            562 drivers/hwmon/asb100.c 	asb100_write_value(client, ASB100_REG_PWM1, data->pwm);
client            578 drivers/hwmon/asb100.c 	struct i2c_client *client = to_i2c_client(dev);
client            579 drivers/hwmon/asb100.c 	struct asb100_data *data = i2c_get_clientdata(client);
client            590 drivers/hwmon/asb100.c 	asb100_write_value(client, ASB100_REG_PWM1, data->pwm);
client            669 drivers/hwmon/asb100.c static int asb100_detect_subclients(struct i2c_client *client)
client            672 drivers/hwmon/asb100.c 	int address = client->addr;
client            674 drivers/hwmon/asb100.c 	struct asb100_data *data = i2c_get_clientdata(client);
client            675 drivers/hwmon/asb100.c 	struct i2c_adapter *adapter = client->adapter;
client            683 drivers/hwmon/asb100.c 				dev_err(&client->dev,
client            690 drivers/hwmon/asb100.c 		asb100_write_value(client, ASB100_REG_I2C_SUBADDR,
client            696 drivers/hwmon/asb100.c 		int val = asb100_read_value(client, ASB100_REG_I2C_SUBADDR);
client            702 drivers/hwmon/asb100.c 		dev_err(&client->dev,
client            711 drivers/hwmon/asb100.c 		dev_err(&client->dev,
client            720 drivers/hwmon/asb100.c 		dev_err(&client->dev,
client            737 drivers/hwmon/asb100.c static int asb100_detect(struct i2c_client *client,
client            740 drivers/hwmon/asb100.c 	struct i2c_adapter *adapter = client->adapter;
client            748 drivers/hwmon/asb100.c 	val1 = i2c_smbus_read_byte_data(client, ASB100_REG_BANK);
client            749 drivers/hwmon/asb100.c 	val2 = i2c_smbus_read_byte_data(client, ASB100_REG_CHIPMAN);
client            762 drivers/hwmon/asb100.c 	i2c_smbus_write_byte_data(client, ASB100_REG_BANK,
client            763 drivers/hwmon/asb100.c 		(i2c_smbus_read_byte_data(client, ASB100_REG_BANK) & 0x78)
client            767 drivers/hwmon/asb100.c 	val1 = i2c_smbus_read_byte_data(client, ASB100_REG_WCHIPID);
client            768 drivers/hwmon/asb100.c 	val2 = i2c_smbus_read_byte_data(client, ASB100_REG_CHIPMAN);
client            778 drivers/hwmon/asb100.c static int asb100_probe(struct i2c_client *client,
client            784 drivers/hwmon/asb100.c 	data = devm_kzalloc(&client->dev, sizeof(struct asb100_data),
client            789 drivers/hwmon/asb100.c 	i2c_set_clientdata(client, data);
client            794 drivers/hwmon/asb100.c 	err = asb100_detect_subclients(client);
client            799 drivers/hwmon/asb100.c 	asb100_init_client(client);
client            802 drivers/hwmon/asb100.c 	data->fan_min[0] = asb100_read_value(client, ASB100_REG_FAN_MIN(0));
client            803 drivers/hwmon/asb100.c 	data->fan_min[1] = asb100_read_value(client, ASB100_REG_FAN_MIN(1));
client            804 drivers/hwmon/asb100.c 	data->fan_min[2] = asb100_read_value(client, ASB100_REG_FAN_MIN(2));
client            807 drivers/hwmon/asb100.c 	err = sysfs_create_group(&client->dev.kobj, &asb100_group);
client            811 drivers/hwmon/asb100.c 	data->hwmon_dev = hwmon_device_register(&client->dev);
client            820 drivers/hwmon/asb100.c 	sysfs_remove_group(&client->dev.kobj, &asb100_group);
client            827 drivers/hwmon/asb100.c static int asb100_remove(struct i2c_client *client)
client            829 drivers/hwmon/asb100.c 	struct asb100_data *data = i2c_get_clientdata(client);
client            832 drivers/hwmon/asb100.c 	sysfs_remove_group(&client->dev.kobj, &asb100_group);
client            844 drivers/hwmon/asb100.c static int asb100_read_value(struct i2c_client *client, u16 reg)
client            846 drivers/hwmon/asb100.c 	struct asb100_data *data = i2c_get_clientdata(client);
client            855 drivers/hwmon/asb100.c 		i2c_smbus_write_byte_data(client, ASB100_REG_BANK, bank);
client            858 drivers/hwmon/asb100.c 		res = i2c_smbus_read_byte_data(client, reg & 0xff);
client            882 drivers/hwmon/asb100.c 		i2c_smbus_write_byte_data(client, ASB100_REG_BANK, 0);
client            889 drivers/hwmon/asb100.c static void asb100_write_value(struct i2c_client *client, u16 reg, u16 value)
client            891 drivers/hwmon/asb100.c 	struct asb100_data *data = i2c_get_clientdata(client);
client            900 drivers/hwmon/asb100.c 		i2c_smbus_write_byte_data(client, ASB100_REG_BANK, bank);
client            903 drivers/hwmon/asb100.c 		i2c_smbus_write_byte_data(client, reg & 0xff, value & 0xff);
client            923 drivers/hwmon/asb100.c 		i2c_smbus_write_byte_data(client, ASB100_REG_BANK, 0);
client            928 drivers/hwmon/asb100.c static void asb100_init_client(struct i2c_client *client)
client            930 drivers/hwmon/asb100.c 	struct asb100_data *data = i2c_get_clientdata(client);
client            935 drivers/hwmon/asb100.c 	asb100_write_value(client, ASB100_REG_CONFIG,
client            936 drivers/hwmon/asb100.c 		(asb100_read_value(client, ASB100_REG_CONFIG) & 0xf7) | 0x01);
client            941 drivers/hwmon/asb100.c 	struct i2c_client *client = to_i2c_client(dev);
client            942 drivers/hwmon/asb100.c 	struct asb100_data *data = i2c_get_clientdata(client);
client            950 drivers/hwmon/asb100.c 		dev_dbg(&client->dev, "starting device update...\n");
client            954 drivers/hwmon/asb100.c 			data->in[i] = asb100_read_value(client,
client            956 drivers/hwmon/asb100.c 			data->in_min[i] = asb100_read_value(client,
client            958 drivers/hwmon/asb100.c 			data->in_max[i] = asb100_read_value(client,
client            964 drivers/hwmon/asb100.c 			data->fan[i] = asb100_read_value(client,
client            966 drivers/hwmon/asb100.c 			data->fan_min[i] = asb100_read_value(client,
client            972 drivers/hwmon/asb100.c 			data->temp[i-1] = asb100_read_value(client,
client            974 drivers/hwmon/asb100.c 			data->temp_max[i-1] = asb100_read_value(client,
client            976 drivers/hwmon/asb100.c 			data->temp_hyst[i-1] = asb100_read_value(client,
client            981 drivers/hwmon/asb100.c 		i = asb100_read_value(client, ASB100_REG_VID_FANDIV);
client            983 drivers/hwmon/asb100.c 		data->vid |= (asb100_read_value(client,
client            987 drivers/hwmon/asb100.c 		data->fan_div[2] = (asb100_read_value(client,
client            991 drivers/hwmon/asb100.c 		data->pwm = asb100_read_value(client, ASB100_REG_PWM1);
client            994 drivers/hwmon/asb100.c 		data->alarms = asb100_read_value(client, ASB100_REG_ALARM1) +
client            995 drivers/hwmon/asb100.c 			(asb100_read_value(client, ASB100_REG_ALARM2) << 8);
client           1000 drivers/hwmon/asb100.c 		dev_dbg(&client->dev, "... device update complete\n");
client             77 drivers/hwmon/asc7621.c 	struct i2c_client client;
client            121 drivers/hwmon/asc7621.c static inline u8 read_byte(struct i2c_client *client, u8 reg)
client            123 drivers/hwmon/asc7621.c 	int res = i2c_smbus_read_byte_data(client, reg);
client            125 drivers/hwmon/asc7621.c 		dev_err(&client->dev,
client            132 drivers/hwmon/asc7621.c static inline int write_byte(struct i2c_client *client, u8 reg, u8 data)
client            134 drivers/hwmon/asc7621.c 	int res = i2c_smbus_write_byte_data(client, reg, data);
client            136 drivers/hwmon/asc7621.c 		dev_err(&client->dev,
client            156 drivers/hwmon/asc7621.c 	struct i2c_client *client = to_i2c_client(d); \
client            157 drivers/hwmon/asc7621.c 	struct asc7621_data *data = i2c_get_clientdata(client); \
client            185 drivers/hwmon/asc7621.c 	write_byte(client, param->msb[0], reqval);
client            219 drivers/hwmon/asc7621.c 	currval = read_byte(client, param->msb[0]);
client            222 drivers/hwmon/asc7621.c 	write_byte(client, param->msb[0], reqval);
client            269 drivers/hwmon/asc7621.c 	write_byte(client, param->msb[0], data->reg[param->msb[0]]);
client            270 drivers/hwmon/asc7621.c 	write_byte(client, param->lsb[0], data->reg[param->lsb[0]]);
client            341 drivers/hwmon/asc7621.c 	write_byte(client, param->msb[0], reqval);
client            372 drivers/hwmon/asc7621.c 	write_byte(client, param->msb[0], temp);
client            430 drivers/hwmon/asc7621.c 	write_byte(client, param->msb[0], temp);
client            489 drivers/hwmon/asc7621.c 	currval = read_byte(client, param->msb[0]);
client            492 drivers/hwmon/asc7621.c 	write_byte(client, param->msb[0], newval);
client            547 drivers/hwmon/asc7621.c 	currval = read_byte(client, param->msb[0]);
client            551 drivers/hwmon/asc7621.c 	write_byte(client, param->msb[0], newval);
client            623 drivers/hwmon/asc7621.c 	currval = read_byte(client, param->msb[0]);
client            627 drivers/hwmon/asc7621.c 	write_byte(client, param->msb[0], newval);
client            630 drivers/hwmon/asc7621.c 		currval = read_byte(client, param->msb[2]);
client            634 drivers/hwmon/asc7621.c 		write_byte(client, param->msb[2], newval);
client            681 drivers/hwmon/asc7621.c 	currval = read_byte(client, param->msb[0]);
client            684 drivers/hwmon/asc7621.c 	write_byte(client, param->msb[0], newval);
client            730 drivers/hwmon/asc7621.c 	currval = read_byte(client, param->msb[0]);
client            733 drivers/hwmon/asc7621.c 	write_byte(client, param->msb[0], newval);
client            778 drivers/hwmon/asc7621.c 	currval = read_byte(client, param->msb[0]);
client            781 drivers/hwmon/asc7621.c 	write_byte(client, param->msb[0], newval);
client            994 drivers/hwmon/asc7621.c 	struct i2c_client *client = to_i2c_client(dev);
client            995 drivers/hwmon/asc7621.c 	struct asc7621_data *data = i2c_get_clientdata(client);
client           1015 drivers/hwmon/asc7621.c 				    i2c_smbus_read_byte_data(client, i) & 0xff;
client           1029 drivers/hwmon/asc7621.c 				    i2c_smbus_read_byte_data(client, i) & 0xff;
client           1061 drivers/hwmon/asc7621.c static void asc7621_init_client(struct i2c_client *client)
client           1067 drivers/hwmon/asc7621.c 	value = read_byte(client, 0x40);
client           1070 drivers/hwmon/asc7621.c 		dev_err(&client->dev,
client           1072 drivers/hwmon/asc7621.c 			i2c_adapter_id(client->adapter), client->addr);
client           1075 drivers/hwmon/asc7621.c 		dev_err(&client->dev, "Client (%d,0x%02x) is not ready.\n",
client           1076 drivers/hwmon/asc7621.c 			i2c_adapter_id(client->adapter), client->addr);
client           1085 drivers/hwmon/asc7621.c 	write_byte(client, 0x40, value & 0xff);
client           1090 drivers/hwmon/asc7621.c asc7621_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1095 drivers/hwmon/asc7621.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client           1098 drivers/hwmon/asc7621.c 	data = devm_kzalloc(&client->dev, sizeof(struct asc7621_data),
client           1103 drivers/hwmon/asc7621.c 	i2c_set_clientdata(client, data);
client           1107 drivers/hwmon/asc7621.c 	asc7621_init_client(client);
client           1112 drivers/hwmon/asc7621.c 		    device_create_file(&client->dev,
client           1118 drivers/hwmon/asc7621.c 	data->class_dev = hwmon_device_register(&client->dev);
client           1128 drivers/hwmon/asc7621.c 		device_remove_file(&client->dev,
client           1135 drivers/hwmon/asc7621.c static int asc7621_detect(struct i2c_client *client,
client           1138 drivers/hwmon/asc7621.c 	struct i2c_adapter *adapter = client->adapter;
client           1146 drivers/hwmon/asc7621.c 		if (!valid_address_for_chip(chip_index, client->addr))
client           1149 drivers/hwmon/asc7621.c 		company = read_byte(client,
client           1151 drivers/hwmon/asc7621.c 		verstep = read_byte(client,
client           1160 drivers/hwmon/asc7621.c 				 asc7621_chips[chip_index].name, client->addr);
client           1168 drivers/hwmon/asc7621.c static int asc7621_remove(struct i2c_client *client)
client           1170 drivers/hwmon/asc7621.c 	struct asc7621_data *data = i2c_get_clientdata(client);
client           1176 drivers/hwmon/asc7621.c 		device_remove_file(&client->dev,
client             37 drivers/hwmon/atxp1.c 	struct i2c_client *client;
client             53 drivers/hwmon/atxp1.c 	struct i2c_client *client = data->client;
client             60 drivers/hwmon/atxp1.c 		data->reg.vid = i2c_smbus_read_byte_data(client, ATXP1_VID);
client             61 drivers/hwmon/atxp1.c 		data->reg.cpu_vid = i2c_smbus_read_byte_data(client,
client             63 drivers/hwmon/atxp1.c 		data->reg.gpio1 = i2c_smbus_read_byte_data(client, ATXP1_GPIO1);
client             64 drivers/hwmon/atxp1.c 		data->reg.gpio2 = i2c_smbus_read_byte_data(client, ATXP1_GPIO2);
client             94 drivers/hwmon/atxp1.c 	struct i2c_client *client = data->client;
client            131 drivers/hwmon/atxp1.c 			i2c_smbus_write_byte_data(client,
client            135 drivers/hwmon/atxp1.c 			i2c_smbus_write_byte_data(client,
client            168 drivers/hwmon/atxp1.c 	struct i2c_client *client = data->client;
client            181 drivers/hwmon/atxp1.c 		i2c_smbus_write_byte_data(client, ATXP1_GPIO1, value);
client            213 drivers/hwmon/atxp1.c 	struct i2c_client *client = data->client;
client            225 drivers/hwmon/atxp1.c 		i2c_smbus_write_byte_data(client, ATXP1_GPIO2, value);
client            247 drivers/hwmon/atxp1.c static int atxp1_probe(struct i2c_client *client,
client            250 drivers/hwmon/atxp1.c 	struct device *dev = &client->dev;
client            266 drivers/hwmon/atxp1.c 	data->client = client;
client            269 drivers/hwmon/atxp1.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            200 drivers/hwmon/dme1737.c 	struct i2c_client *client;	/* for I2C devices only */
client            554 drivers/hwmon/dme1737.c 	struct i2c_client *client = data->client;
client            557 drivers/hwmon/dme1737.c 	if (client) { /* I2C device */
client            558 drivers/hwmon/dme1737.c 		val = i2c_smbus_read_byte_data(client, reg);
client            561 drivers/hwmon/dme1737.c 			dev_warn(&client->dev,
client            575 drivers/hwmon/dme1737.c 	struct i2c_client *client = data->client;
client            578 drivers/hwmon/dme1737.c 	if (client) { /* I2C device */
client            579 drivers/hwmon/dme1737.c 		res = i2c_smbus_write_byte_data(client, reg, val);
client            582 drivers/hwmon/dme1737.c 			dev_warn(&client->dev,
client            771 drivers/hwmon/dme1737.c 		if (!data->client) {
client           1465 drivers/hwmon/dme1737.c 	struct i2c_client *client = to_i2c_client(dev);
client           1466 drivers/hwmon/dme1737.c 	struct dme1737_data *data = i2c_get_clientdata(client);
client           2097 drivers/hwmon/dme1737.c 	if (!data->client)
client           2107 drivers/hwmon/dme1737.c 	if (!data->client) {
client           2235 drivers/hwmon/dme1737.c 	struct i2c_client *client = data->client;
client           2265 drivers/hwmon/dme1737.c 	if (client) {   /* I2C chip */
client           2276 drivers/hwmon/dme1737.c 		if (client->addr == 0x2e)
client           2327 drivers/hwmon/dme1737.c 	if (client && reg != 0xa4) {   /* I2C chip */
client           2333 drivers/hwmon/dme1737.c 	} else if (!client && reg != 0x24) {   /* ISA chip */
client           2432 drivers/hwmon/dme1737.c static int dme1737_i2c_detect(struct i2c_client *client,
client           2435 drivers/hwmon/dme1737.c 	struct i2c_adapter *adapter = client->adapter;
client           2443 drivers/hwmon/dme1737.c 	company = i2c_smbus_read_byte_data(client, DME1737_REG_COMPANY);
client           2444 drivers/hwmon/dme1737.c 	verstep = i2c_smbus_read_byte_data(client, DME1737_REG_VERSTEP);
client           2458 drivers/hwmon/dme1737.c 		 client->addr, verstep);
client           2464 drivers/hwmon/dme1737.c static int dme1737_i2c_probe(struct i2c_client *client,
client           2468 drivers/hwmon/dme1737.c 	struct device *dev = &client->dev;
client           2475 drivers/hwmon/dme1737.c 	i2c_set_clientdata(client, data);
client           2477 drivers/hwmon/dme1737.c 	data->client = client;
client           2478 drivers/hwmon/dme1737.c 	data->name = client->name;
client           2510 drivers/hwmon/dme1737.c static int dme1737_i2c_remove(struct i2c_client *client)
client           2512 drivers/hwmon/dme1737.c 	struct dme1737_data *data = i2c_get_clientdata(client);
client           2515 drivers/hwmon/dme1737.c 	dme1737_remove_files(&client->dev);
client            110 drivers/hwmon/ds1621.c 	struct i2c_client *client;
client            142 drivers/hwmon/ds1621.c 			       struct i2c_client *client)
client            146 drivers/hwmon/ds1621.c 	new_conf = conf = i2c_smbus_read_byte_data(client, DS1621_REG_CONF);
client            157 drivers/hwmon/ds1621.c 		i2c_smbus_write_byte_data(client, DS1621_REG_CONF, new_conf);
client            182 drivers/hwmon/ds1621.c 	i2c_smbus_write_byte(client, sreg);
client            188 drivers/hwmon/ds1621.c 	struct i2c_client *client = data->client;
client            197 drivers/hwmon/ds1621.c 		dev_dbg(&client->dev, "Starting ds1621 update\n");
client            199 drivers/hwmon/ds1621.c 		data->conf = i2c_smbus_read_byte_data(client, DS1621_REG_CONF);
client            202 drivers/hwmon/ds1621.c 			data->temp[i] = i2c_smbus_read_word_swapped(client,
client            212 drivers/hwmon/ds1621.c 			i2c_smbus_write_byte_data(client, DS1621_REG_CONF,
client            247 drivers/hwmon/ds1621.c 	i2c_smbus_write_word_swapped(data->client, DS1621_REG_TEMP[attr->index],
client            280 drivers/hwmon/ds1621.c 	struct i2c_client *client = data->client;
client            295 drivers/hwmon/ds1621.c 	data->conf = i2c_smbus_read_byte_data(client, DS1621_REG_CONF);
client            298 drivers/hwmon/ds1621.c 	i2c_smbus_write_byte_data(client, DS1621_REG_CONF, data->conf);
client            345 drivers/hwmon/ds1621.c static int ds1621_probe(struct i2c_client *client,
client            351 drivers/hwmon/ds1621.c 	data = devm_kzalloc(&client->dev, sizeof(struct ds1621_data),
client            359 drivers/hwmon/ds1621.c 	data->client = client;
client            362 drivers/hwmon/ds1621.c 	ds1621_init_client(data, client);
client            364 drivers/hwmon/ds1621.c 	hwmon_dev = devm_hwmon_device_register_with_groups(&client->dev,
client            365 drivers/hwmon/ds1621.c 							   client->name, data,
client             57 drivers/hwmon/ds620.c 	struct i2c_client *client;
client             65 drivers/hwmon/ds620.c static void ds620_init_client(struct i2c_client *client)
client             67 drivers/hwmon/ds620.c 	struct ds620_platform_data *ds620_info = dev_get_platdata(&client->dev);
client             71 drivers/hwmon/ds620.c 	    i2c_smbus_read_word_swapped(client, DS620_REG_CONF);
client             88 drivers/hwmon/ds620.c 		i2c_smbus_write_word_swapped(client, DS620_REG_CONF, new_conf);
client             91 drivers/hwmon/ds620.c 	i2c_smbus_write_byte(client, DS620_COM_START);
client             97 drivers/hwmon/ds620.c 	struct i2c_client *client = data->client;
client            107 drivers/hwmon/ds620.c 		dev_dbg(&client->dev, "Starting ds620 update\n");
client            110 drivers/hwmon/ds620.c 			res = i2c_smbus_read_word_swapped(client,
client            149 drivers/hwmon/ds620.c 	struct i2c_client *client = data->client;
client            160 drivers/hwmon/ds620.c 	i2c_smbus_write_word_swapped(client, DS620_REG_TEMP[attr->index],
client            171 drivers/hwmon/ds620.c 	struct i2c_client *client;
client            178 drivers/hwmon/ds620.c 	client = data->client;
client            181 drivers/hwmon/ds620.c 	res = i2c_smbus_read_word_swapped(client, DS620_REG_CONF);
client            188 drivers/hwmon/ds620.c 		res = i2c_smbus_write_word_swapped(client, DS620_REG_CONF,
client            214 drivers/hwmon/ds620.c static int ds620_probe(struct i2c_client *client,
client            217 drivers/hwmon/ds620.c 	struct device *dev = &client->dev;
client            225 drivers/hwmon/ds620.c 	data->client = client;
client            229 drivers/hwmon/ds620.c 	ds620_init_client(client);
client            231 drivers/hwmon/ds620.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            319 drivers/hwmon/emc1403.c static int emc1403_detect(struct i2c_client *client,
client            325 drivers/hwmon/emc1403.c 	id = i2c_smbus_read_byte_data(client, THERMAL_SMSC_ID_REG);
client            329 drivers/hwmon/emc1403.c 	id = i2c_smbus_read_byte_data(client, THERMAL_PID_REG);
client            353 drivers/hwmon/emc1403.c 	id = i2c_smbus_read_byte_data(client, THERMAL_REVISION_REG);
client            389 drivers/hwmon/emc1403.c static int emc1403_probe(struct i2c_client *client,
client            395 drivers/hwmon/emc1403.c 	data = devm_kzalloc(&client->dev, sizeof(struct thermal_data),
client            400 drivers/hwmon/emc1403.c 	data->regmap = devm_regmap_init_i2c(client, &emc1403_regmap_config);
client            420 drivers/hwmon/emc1403.c 	hwmon_dev = devm_hwmon_device_register_with_groups(&client->dev,
client            421 drivers/hwmon/emc1403.c 							   client->name, data,
client            426 drivers/hwmon/emc1403.c 	dev_info(&client->dev, "%s Thermal chip found\n", id->name);
client             56 drivers/hwmon/emc2103.c 	struct i2c_client	*client;
client             73 drivers/hwmon/emc2103.c static int read_u8_from_i2c(struct i2c_client *client, u8 i2c_reg, u8 *output)
client             75 drivers/hwmon/emc2103.c 	int status = i2c_smbus_read_byte_data(client, i2c_reg);
client             77 drivers/hwmon/emc2103.c 		dev_warn(&client->dev, "reg 0x%02x, err %d\n",
client             85 drivers/hwmon/emc2103.c static void read_temp_from_i2c(struct i2c_client *client, u8 i2c_reg,
client             90 drivers/hwmon/emc2103.c 	if (read_u8_from_i2c(client, i2c_reg, &degrees) < 0)
client             93 drivers/hwmon/emc2103.c 	if (read_u8_from_i2c(client, i2c_reg + 1, &fractional) < 0)
client            100 drivers/hwmon/emc2103.c static void read_fan_from_i2c(struct i2c_client *client, u16 *output,
client            105 drivers/hwmon/emc2103.c 	if (read_u8_from_i2c(client, hi_addr, &high_byte) < 0)
client            108 drivers/hwmon/emc2103.c 	if (read_u8_from_i2c(client, lo_addr, &lo_byte) < 0)
client            114 drivers/hwmon/emc2103.c static void write_fan_target_to_i2c(struct i2c_client *client, u16 new_target)
client            118 drivers/hwmon/emc2103.c 	i2c_smbus_write_byte_data(client, REG_FAN_TARGET_LO, low_byte);
client            119 drivers/hwmon/emc2103.c 	i2c_smbus_write_byte_data(client, REG_FAN_TARGET_HI, high_byte);
client            122 drivers/hwmon/emc2103.c static void read_fan_config_from_i2c(struct i2c_client *client)
client            125 drivers/hwmon/emc2103.c 	struct emc2103_data *data = i2c_get_clientdata(client);
client            128 drivers/hwmon/emc2103.c 	if (read_u8_from_i2c(client, REG_FAN_CONF1, &conf1) < 0)
client            138 drivers/hwmon/emc2103.c 	struct i2c_client *client = data->client;
client            147 drivers/hwmon/emc2103.c 			read_temp_from_i2c(client, REG_TEMP[i], &data->temp[i]);
client            148 drivers/hwmon/emc2103.c 			read_u8_from_i2c(client, REG_TEMP_MIN[i],
client            150 drivers/hwmon/emc2103.c 			read_u8_from_i2c(client, REG_TEMP_MAX[i],
client            154 drivers/hwmon/emc2103.c 		read_u8_from_i2c(client, REG_TEMP_MIN_ALARM,
client            156 drivers/hwmon/emc2103.c 		read_u8_from_i2c(client, REG_TEMP_MAX_ALARM,
client            159 drivers/hwmon/emc2103.c 		read_fan_from_i2c(client, &data->fan_tach,
client            161 drivers/hwmon/emc2103.c 		read_fan_from_i2c(client, &data->fan_target,
client            163 drivers/hwmon/emc2103.c 		read_fan_config_from_i2c(client);
client            236 drivers/hwmon/emc2103.c 	struct i2c_client *client = data->client;
client            247 drivers/hwmon/emc2103.c 	i2c_smbus_write_byte_data(client, REG_TEMP_MIN[nr], val);
client            258 drivers/hwmon/emc2103.c 	struct i2c_client *client = data->client;
client            269 drivers/hwmon/emc2103.c 	i2c_smbus_write_byte_data(client, REG_TEMP_MAX[nr], val);
client            303 drivers/hwmon/emc2103.c 	struct i2c_client *client = data->client;
client            333 drivers/hwmon/emc2103.c 	status = i2c_smbus_read_byte_data(client, REG_FAN_CONF1);
client            335 drivers/hwmon/emc2103.c 		dev_dbg(&client->dev, "reg 0x%02x, err %d\n",
client            342 drivers/hwmon/emc2103.c 	i2c_smbus_write_byte_data(client, REG_FAN_CONF1, status);
client            350 drivers/hwmon/emc2103.c 		write_fan_target_to_i2c(client, data->fan_target);
client            379 drivers/hwmon/emc2103.c 	struct i2c_client *client = data->client;
client            398 drivers/hwmon/emc2103.c 	write_fan_target_to_i2c(client, data->fan_target);
client            424 drivers/hwmon/emc2103.c 	struct i2c_client *client = data->client;
client            445 drivers/hwmon/emc2103.c 	result = read_u8_from_i2c(client, REG_FAN_CONF1, &conf_reg);
client            456 drivers/hwmon/emc2103.c 	i2c_smbus_write_byte_data(client, REG_FAN_CONF1, conf_reg);
client            554 drivers/hwmon/emc2103.c emc2103_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            560 drivers/hwmon/emc2103.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            563 drivers/hwmon/emc2103.c 	data = devm_kzalloc(&client->dev, sizeof(struct emc2103_data),
client            568 drivers/hwmon/emc2103.c 	i2c_set_clientdata(client, data);
client            569 drivers/hwmon/emc2103.c 	data->client = client;
client            573 drivers/hwmon/emc2103.c 	status = i2c_smbus_read_byte_data(client, REG_PRODUCT_ID);
client            579 drivers/hwmon/emc2103.c 		status = i2c_smbus_read_byte_data(client, REG_CONF1);
client            581 drivers/hwmon/emc2103.c 			dev_dbg(&client->dev, "reg 0x%02x, err %d\n", REG_CONF1,
client            594 drivers/hwmon/emc2103.c 			i2c_smbus_write_byte_data(client, REG_CONF1, status);
client            599 drivers/hwmon/emc2103.c 			i2c_smbus_write_byte_data(client, REG_CONF1, status);
client            610 drivers/hwmon/emc2103.c 	hwmon_dev = devm_hwmon_device_register_with_groups(&client->dev,
client            611 drivers/hwmon/emc2103.c 							   client->name, data,
client            616 drivers/hwmon/emc2103.c 	dev_info(&client->dev, "%s: sensor '%s'\n",
client            617 drivers/hwmon/emc2103.c 		 dev_name(hwmon_dev), client->name);
client             46 drivers/hwmon/emc6w201.c 	struct i2c_client *client;
client             61 drivers/hwmon/emc6w201.c static u16 emc6w201_read16(struct i2c_client *client, u8 reg)
client             65 drivers/hwmon/emc6w201.c 	lsb = i2c_smbus_read_byte_data(client, reg);
client             66 drivers/hwmon/emc6w201.c 	msb = i2c_smbus_read_byte_data(client, reg + 1);
client             68 drivers/hwmon/emc6w201.c 		dev_err(&client->dev, "%d-bit %s failed at 0x%02x\n",
client             80 drivers/hwmon/emc6w201.c static int emc6w201_write16(struct i2c_client *client, u8 reg, u16 val)
client             84 drivers/hwmon/emc6w201.c 	err = i2c_smbus_write_byte_data(client, reg, val & 0xff);
client             86 drivers/hwmon/emc6w201.c 		err = i2c_smbus_write_byte_data(client, reg + 1, val >> 8);
client             88 drivers/hwmon/emc6w201.c 		dev_err(&client->dev, "%d-bit %s failed at 0x%02x\n",
client             95 drivers/hwmon/emc6w201.c static u8 emc6w201_read8(struct i2c_client *client, u8 reg)
client             99 drivers/hwmon/emc6w201.c 	val = i2c_smbus_read_byte_data(client, reg);
client            101 drivers/hwmon/emc6w201.c 		dev_err(&client->dev, "%d-bit %s failed at 0x%02x\n",
client            110 drivers/hwmon/emc6w201.c static int emc6w201_write8(struct i2c_client *client, u8 reg, u8 val)
client            114 drivers/hwmon/emc6w201.c 	err = i2c_smbus_write_byte_data(client, reg, val);
client            116 drivers/hwmon/emc6w201.c 		dev_err(&client->dev, "%d-bit %s failed at 0x%02x\n",
client            125 drivers/hwmon/emc6w201.c 	struct i2c_client *client = data->client;
client            133 drivers/hwmon/emc6w201.c 				emc6w201_read8(client,
client            136 drivers/hwmon/emc6w201.c 				emc6w201_read8(client,
client            139 drivers/hwmon/emc6w201.c 				emc6w201_read8(client,
client            145 drivers/hwmon/emc6w201.c 				emc6w201_read8(client,
client            148 drivers/hwmon/emc6w201.c 				emc6w201_read8(client,
client            151 drivers/hwmon/emc6w201.c 				emc6w201_read8(client,
client            157 drivers/hwmon/emc6w201.c 				emc6w201_read16(client,
client            160 drivers/hwmon/emc6w201.c 				emc6w201_read16(client,
client            194 drivers/hwmon/emc6w201.c 	struct i2c_client *client = data->client;
client            212 drivers/hwmon/emc6w201.c 	err = emc6w201_write8(client, reg, data->in[sf][nr]);
client            233 drivers/hwmon/emc6w201.c 	struct i2c_client *client = data->client;
client            251 drivers/hwmon/emc6w201.c 	err = emc6w201_write8(client, reg, data->temp[sf][nr]);
client            277 drivers/hwmon/emc6w201.c 	struct i2c_client *client = data->client;
client            296 drivers/hwmon/emc6w201.c 	err = emc6w201_write16(client, EMC6W201_REG_FAN_MIN(nr),
client            411 drivers/hwmon/emc6w201.c static int emc6w201_detect(struct i2c_client *client,
client            414 drivers/hwmon/emc6w201.c 	struct i2c_adapter *adapter = client->adapter;
client            421 drivers/hwmon/emc6w201.c 	company = i2c_smbus_read_byte_data(client, EMC6W201_REG_COMPANY);
client            424 drivers/hwmon/emc6w201.c 	verstep = i2c_smbus_read_byte_data(client, EMC6W201_REG_VERSTEP);
client            428 drivers/hwmon/emc6w201.c 		dev_dbg(&client->dev, "Unknown EMC6W201 stepping %d\n",
client            434 drivers/hwmon/emc6w201.c 	config = i2c_smbus_read_byte_data(client, EMC6W201_REG_CONFIG);
client            438 drivers/hwmon/emc6w201.c 		dev_err(&client->dev, "Monitoring not enabled\n");
client            447 drivers/hwmon/emc6w201.c static int emc6w201_probe(struct i2c_client *client,
client            450 drivers/hwmon/emc6w201.c 	struct device *dev = &client->dev;
client            458 drivers/hwmon/emc6w201.c 	data->client = client;
client            461 drivers/hwmon/emc6w201.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            114 drivers/hwmon/f75375s.c static int f75375_detect(struct i2c_client *client,
client            116 drivers/hwmon/f75375s.c static int f75375_probe(struct i2c_client *client,
client            118 drivers/hwmon/f75375s.c static int f75375_remove(struct i2c_client *client);
client            140 drivers/hwmon/f75375s.c static inline int f75375_read8(struct i2c_client *client, u8 reg)
client            142 drivers/hwmon/f75375s.c 	return i2c_smbus_read_byte_data(client, reg);
client            146 drivers/hwmon/f75375s.c static inline u16 f75375_read16(struct i2c_client *client, u8 reg)
client            148 drivers/hwmon/f75375s.c 	return (i2c_smbus_read_byte_data(client, reg) << 8)
client            149 drivers/hwmon/f75375s.c 		| i2c_smbus_read_byte_data(client, reg + 1);
client            152 drivers/hwmon/f75375s.c static inline void f75375_write8(struct i2c_client *client, u8 reg,
client            155 drivers/hwmon/f75375s.c 	i2c_smbus_write_byte_data(client, reg, value);
client            158 drivers/hwmon/f75375s.c static inline void f75375_write16(struct i2c_client *client, u8 reg,
client            161 drivers/hwmon/f75375s.c 	int err = i2c_smbus_write_byte_data(client, reg, (value >> 8));
client            164 drivers/hwmon/f75375s.c 	i2c_smbus_write_byte_data(client, reg + 1, (value & 0xFF));
client            167 drivers/hwmon/f75375s.c static void f75375_write_pwm(struct i2c_client *client, int nr)
client            169 drivers/hwmon/f75375s.c 	struct f75375_data *data = i2c_get_clientdata(client);
client            171 drivers/hwmon/f75375s.c 		f75375_write16(client, F75375_REG_FAN_EXP(nr), data->pwm[nr]);
client            173 drivers/hwmon/f75375s.c 		f75375_write8(client, F75375_REG_FAN_PWM_DUTY(nr),
client            179 drivers/hwmon/f75375s.c 	struct i2c_client *client = to_i2c_client(dev);
client            180 drivers/hwmon/f75375s.c 	struct f75375_data *data = i2c_get_clientdata(client);
client            190 drivers/hwmon/f75375s.c 				f75375_read8(client, F75375_REG_TEMP_HIGH(nr));
client            192 drivers/hwmon/f75375s.c 				f75375_read8(client, F75375_REG_TEMP_HYST(nr));
client            194 drivers/hwmon/f75375s.c 				f75375_read16(client, F75375_REG_FAN_FULL(nr));
client            196 drivers/hwmon/f75375s.c 				f75375_read16(client, F75375_REG_FAN_MIN(nr));
client            198 drivers/hwmon/f75375s.c 				f75375_read16(client, F75375_REG_FAN_EXP(nr));
client            202 drivers/hwmon/f75375s.c 				f75375_read8(client, F75375_REG_VOLT_HIGH(nr));
client            204 drivers/hwmon/f75375s.c 				f75375_read8(client, F75375_REG_VOLT_LOW(nr));
client            206 drivers/hwmon/f75375s.c 		data->fan_timer = f75375_read8(client, F75375_REG_FAN_TIMER);
client            214 drivers/hwmon/f75375s.c 			data->pwm[nr] =	f75375_read8(client,
client            218 drivers/hwmon/f75375s.c 				f75375_read8(client, F75375_REG_TEMP(nr)) << 8;
client            222 drivers/hwmon/f75375s.c 					f75375_read8(client,
client            225 drivers/hwmon/f75375s.c 				f75375_read16(client, F75375_REG_FAN(nr));
client            229 drivers/hwmon/f75375s.c 				f75375_read8(client, F75375_REG_VOLT(nr));
client            289 drivers/hwmon/f75375s.c 	struct i2c_client *client = to_i2c_client(dev);
client            290 drivers/hwmon/f75375s.c 	struct f75375_data *data = i2c_get_clientdata(client);
client            300 drivers/hwmon/f75375s.c 	f75375_write16(client, F75375_REG_FAN_MIN(nr), data->fan_min[nr]);
client            309 drivers/hwmon/f75375s.c 	struct i2c_client *client = to_i2c_client(dev);
client            310 drivers/hwmon/f75375s.c 	struct f75375_data *data = i2c_get_clientdata(client);
client            325 drivers/hwmon/f75375s.c 	f75375_write16(client, F75375_REG_FAN_EXP(nr), data->fan_target[nr]);
client            334 drivers/hwmon/f75375s.c 	struct i2c_client *client = to_i2c_client(dev);
client            335 drivers/hwmon/f75375s.c 	struct f75375_data *data = i2c_get_clientdata(client);
client            349 drivers/hwmon/f75375s.c 	f75375_write_pwm(client, nr);
client            362 drivers/hwmon/f75375s.c static int set_pwm_enable_direct(struct i2c_client *client, int nr, int val)
client            364 drivers/hwmon/f75375s.c 	struct f75375_data *data = i2c_get_clientdata(client);
client            370 drivers/hwmon/f75375s.c 	fanmode = f75375_read8(client, F75375_REG_FAN_TIMER);
client            419 drivers/hwmon/f75375s.c 	f75375_write8(client, F75375_REG_FAN_TIMER, fanmode);
client            422 drivers/hwmon/f75375s.c 		f75375_write_pwm(client, nr);
client            430 drivers/hwmon/f75375s.c 	struct i2c_client *client = to_i2c_client(dev);
client            431 drivers/hwmon/f75375s.c 	struct f75375_data *data = i2c_get_clientdata(client);
client            440 drivers/hwmon/f75375s.c 	err = set_pwm_enable_direct(client, nr, val);
client            449 drivers/hwmon/f75375s.c 	struct i2c_client *client = to_i2c_client(dev);
client            450 drivers/hwmon/f75375s.c 	struct f75375_data *data = i2c_get_clientdata(client);
client            477 drivers/hwmon/f75375s.c 	conf = f75375_read8(client, reg);
client            483 drivers/hwmon/f75375s.c 	f75375_write8(client, reg, conf);
client            536 drivers/hwmon/f75375s.c 	struct i2c_client *client = to_i2c_client(dev);
client            537 drivers/hwmon/f75375s.c 	struct f75375_data *data = i2c_get_clientdata(client);
client            548 drivers/hwmon/f75375s.c 	f75375_write8(client, F75375_REG_VOLT_HIGH(nr), data->in_max[nr]);
client            557 drivers/hwmon/f75375s.c 	struct i2c_client *client = to_i2c_client(dev);
client            558 drivers/hwmon/f75375s.c 	struct f75375_data *data = i2c_get_clientdata(client);
client            569 drivers/hwmon/f75375s.c 	f75375_write8(client, F75375_REG_VOLT_LOW(nr), data->in_min[nr]);
client            605 drivers/hwmon/f75375s.c 	struct i2c_client *client = to_i2c_client(dev);
client            606 drivers/hwmon/f75375s.c 	struct f75375_data *data = i2c_get_clientdata(client);
client            617 drivers/hwmon/f75375s.c 	f75375_write8(client, F75375_REG_TEMP_HIGH(nr), data->temp_high[nr]);
client            626 drivers/hwmon/f75375s.c 	struct i2c_client *client = to_i2c_client(dev);
client            627 drivers/hwmon/f75375s.c 	struct f75375_data *data = i2c_get_clientdata(client);
client            638 drivers/hwmon/f75375s.c 	f75375_write8(client, F75375_REG_TEMP_HYST(nr),
client            753 drivers/hwmon/f75375s.c static void f75375_init(struct i2c_client *client, struct f75375_data *data,
client            762 drivers/hwmon/f75375s.c 		conf = f75375_read8(client, F75375_REG_CONFIG1);
client            763 drivers/hwmon/f75375s.c 		mode = f75375_read8(client, F75375_REG_FAN_TIMER);
client            805 drivers/hwmon/f75375s.c 	set_pwm_enable_direct(client, 0, f75375s_pdata->pwm_enable[0]);
client            806 drivers/hwmon/f75375s.c 	set_pwm_enable_direct(client, 1, f75375s_pdata->pwm_enable[1]);
client            812 drivers/hwmon/f75375s.c 		f75375_write_pwm(client, nr);
client            817 drivers/hwmon/f75375s.c static int f75375_probe(struct i2c_client *client,
client            822 drivers/hwmon/f75375s.c 			dev_get_platdata(&client->dev);
client            825 drivers/hwmon/f75375s.c 	if (!i2c_check_functionality(client->adapter,
client            828 drivers/hwmon/f75375s.c 	data = devm_kzalloc(&client->dev, sizeof(struct f75375_data),
client            833 drivers/hwmon/f75375s.c 	i2c_set_clientdata(client, data);
client            837 drivers/hwmon/f75375s.c 	err = sysfs_create_group(&client->dev.kobj, &f75375_group);
client            842 drivers/hwmon/f75375s.c 		err = sysfs_chmod_file(&client->dev.kobj,
client            847 drivers/hwmon/f75375s.c 		err = sysfs_chmod_file(&client->dev.kobj,
client            854 drivers/hwmon/f75375s.c 	data->hwmon_dev = hwmon_device_register(&client->dev);
client            860 drivers/hwmon/f75375s.c 	f75375_init(client, data, f75375s_pdata);
client            865 drivers/hwmon/f75375s.c 	sysfs_remove_group(&client->dev.kobj, &f75375_group);
client            869 drivers/hwmon/f75375s.c static int f75375_remove(struct i2c_client *client)
client            871 drivers/hwmon/f75375s.c 	struct f75375_data *data = i2c_get_clientdata(client);
client            873 drivers/hwmon/f75375s.c 	sysfs_remove_group(&client->dev.kobj, &f75375_group);
client            878 drivers/hwmon/f75375s.c static int f75375_detect(struct i2c_client *client,
client            881 drivers/hwmon/f75375s.c 	struct i2c_adapter *adapter = client->adapter;
client            886 drivers/hwmon/f75375s.c 	vendid = f75375_read16(client, F75375_REG_VENDOR);
client            887 drivers/hwmon/f75375s.c 	chipid = f75375_read16(client, F75375_CHIP_ID);
client            900 drivers/hwmon/f75375s.c 	version = f75375_read8(client, F75375_REG_VERSION);
client            217 drivers/hwmon/fschmd.c static int fschmd_probe(struct i2c_client *client,
client            219 drivers/hwmon/fschmd.c static int fschmd_detect(struct i2c_client *client,
client            221 drivers/hwmon/fschmd.c static int fschmd_remove(struct i2c_client *client);
client            257 drivers/hwmon/fschmd.c 	struct i2c_client *client;
client            712 drivers/hwmon/fschmd.c 	if (!data->client) {
client            725 drivers/hwmon/fschmd.c 	i2c_smbus_write_byte_data(data->client,
client            728 drivers/hwmon/fschmd.c 	i2c_smbus_write_byte_data(data->client,
client            758 drivers/hwmon/fschmd.c 	if (!data->client) {
client            764 drivers/hwmon/fschmd.c 	i2c_smbus_write_byte_data(data->client,
client            777 drivers/hwmon/fschmd.c 	if (!data->client) {
client            787 drivers/hwmon/fschmd.c 	i2c_smbus_write_byte_data(data->client,
client            839 drivers/hwmon/fschmd.c 		dev_crit(&data->client->dev,
client           1045 drivers/hwmon/fschmd.c static int fschmd_detect(struct i2c_client *client,
client           1049 drivers/hwmon/fschmd.c 	struct i2c_adapter *adapter = client->adapter;
client           1056 drivers/hwmon/fschmd.c 	id[0] = i2c_smbus_read_byte_data(client, FSCHMD_REG_IDENT_0);
client           1057 drivers/hwmon/fschmd.c 	id[1] = i2c_smbus_read_byte_data(client, FSCHMD_REG_IDENT_1);
client           1058 drivers/hwmon/fschmd.c 	id[2] = i2c_smbus_read_byte_data(client, FSCHMD_REG_IDENT_2);
client           1083 drivers/hwmon/fschmd.c static int fschmd_probe(struct i2c_client *client,
client           1097 drivers/hwmon/fschmd.c 	i2c_set_clientdata(client, data);
client           1107 drivers/hwmon/fschmd.c 	data->client = client;
client           1124 drivers/hwmon/fschmd.c 			dev_warn(&client->dev,
client           1132 drivers/hwmon/fschmd.c 	data->revision = i2c_smbus_read_byte_data(client, FSCHMD_REG_REVISION);
client           1133 drivers/hwmon/fschmd.c 	data->global_control = i2c_smbus_read_byte_data(client,
client           1135 drivers/hwmon/fschmd.c 	data->watchdog_control = i2c_smbus_read_byte_data(client,
client           1137 drivers/hwmon/fschmd.c 	data->watchdog_state = i2c_smbus_read_byte_data(client,
client           1139 drivers/hwmon/fschmd.c 	data->watchdog_preset = i2c_smbus_read_byte_data(client,
client           1142 drivers/hwmon/fschmd.c 	err = device_create_file(&client->dev, &dev_attr_alert_led);
client           1147 drivers/hwmon/fschmd.c 		err = device_create_file(&client->dev,
client           1162 drivers/hwmon/fschmd.c 					i2c_smbus_read_byte_data(client,
client           1169 drivers/hwmon/fschmd.c 		err = device_create_file(&client->dev,
client           1185 drivers/hwmon/fschmd.c 					i2c_smbus_read_byte_data(client,
client           1192 drivers/hwmon/fschmd.c 		err = device_create_file(&client->dev,
client           1198 drivers/hwmon/fschmd.c 	data->hwmon_dev = hwmon_device_register(&client->dev);
client           1223 drivers/hwmon/fschmd.c 			dev_err(&client->dev,
client           1230 drivers/hwmon/fschmd.c 		dev_info(&client->dev,
client           1237 drivers/hwmon/fschmd.c 		dev_warn(&client->dev,
client           1242 drivers/hwmon/fschmd.c 	dev_info(&client->dev, "Detected FSC %s chip, revision: %d\n",
client           1248 drivers/hwmon/fschmd.c 	fschmd_remove(client); /* will also free data for us */
client           1252 drivers/hwmon/fschmd.c static int fschmd_remove(struct i2c_client *client)
client           1254 drivers/hwmon/fschmd.c 	struct fschmd_data *data = i2c_get_clientdata(client);
client           1261 drivers/hwmon/fschmd.c 			dev_warn(&client->dev,
client           1271 drivers/hwmon/fschmd.c 		data->client = NULL;
client           1282 drivers/hwmon/fschmd.c 	device_remove_file(&client->dev, &dev_attr_alert_led);
client           1284 drivers/hwmon/fschmd.c 		device_remove_file(&client->dev, &fschmd_attr[i].dev_attr);
client           1286 drivers/hwmon/fschmd.c 		device_remove_file(&client->dev,
client           1289 drivers/hwmon/fschmd.c 		device_remove_file(&client->dev,
client           1301 drivers/hwmon/fschmd.c 	struct i2c_client *client = to_i2c_client(dev);
client           1302 drivers/hwmon/fschmd.c 	struct fschmd_data *data = i2c_get_clientdata(client);
client           1310 drivers/hwmon/fschmd.c 			data->temp_act[i] = i2c_smbus_read_byte_data(client,
client           1312 drivers/hwmon/fschmd.c 			data->temp_status[i] = i2c_smbus_read_byte_data(client,
client           1318 drivers/hwmon/fschmd.c 					client,
client           1328 drivers/hwmon/fschmd.c 				i2c_smbus_write_byte_data(client,
client           1334 drivers/hwmon/fschmd.c 			data->fan_act[i] = i2c_smbus_read_byte_data(client,
client           1336 drivers/hwmon/fschmd.c 			data->fan_status[i] = i2c_smbus_read_byte_data(client,
client           1338 drivers/hwmon/fschmd.c 			data->fan_ripple[i] = i2c_smbus_read_byte_data(client,
client           1344 drivers/hwmon/fschmd.c 					client,
client           1350 drivers/hwmon/fschmd.c 				i2c_smbus_write_byte_data(client,
client           1356 drivers/hwmon/fschmd.c 			data->volt[i] = i2c_smbus_read_byte_data(client,
client             65 drivers/hwmon/ftsteutates.c 	struct i2c_client *client;
client             98 drivers/hwmon/ftsteutates.c static int fts_read_byte(struct i2c_client *client, unsigned short reg)
client            102 drivers/hwmon/ftsteutates.c 	struct fts_data *data = dev_get_drvdata(&client->dev);
client            106 drivers/hwmon/ftsteutates.c 	dev_dbg(&client->dev, "page select - page: 0x%.02x\n", page);
client            107 drivers/hwmon/ftsteutates.c 	ret = i2c_smbus_write_byte_data(client, FTS_PAGE_SELECT_REG, page);
client            112 drivers/hwmon/ftsteutates.c 	ret = i2c_smbus_read_byte_data(client, reg);
client            113 drivers/hwmon/ftsteutates.c 	dev_dbg(&client->dev, "read - reg: 0x%.02x: val: 0x%.02x\n", reg, ret);
client            120 drivers/hwmon/ftsteutates.c static int fts_write_byte(struct i2c_client *client, unsigned short reg,
client            125 drivers/hwmon/ftsteutates.c 	struct fts_data *data = dev_get_drvdata(&client->dev);
client            129 drivers/hwmon/ftsteutates.c 	dev_dbg(&client->dev, "page select - page: 0x%.02x\n", page);
client            130 drivers/hwmon/ftsteutates.c 	ret = i2c_smbus_write_byte_data(client, FTS_PAGE_SELECT_REG, page);
client            135 drivers/hwmon/ftsteutates.c 	dev_dbg(&client->dev,
client            137 drivers/hwmon/ftsteutates.c 	ret = i2c_smbus_write_byte_data(client, reg, value);
client            156 drivers/hwmon/ftsteutates.c 	err = fts_read_byte(data->client, FTS_DEVICE_STATUS_REG);
client            166 drivers/hwmon/ftsteutates.c 	err = fts_read_byte(data->client, FTS_FAN_PRESENT_REG);
client            171 drivers/hwmon/ftsteutates.c 	err = fts_read_byte(data->client, FTS_FAN_EVENT_REG);
client            178 drivers/hwmon/ftsteutates.c 			err = fts_read_byte(data->client, FTS_REG_FAN_INPUT(i));
client            183 drivers/hwmon/ftsteutates.c 			err = fts_read_byte(data->client,
client            194 drivers/hwmon/ftsteutates.c 	err = fts_read_byte(data->client, FTS_SENSOR_EVENT_REG);
client            200 drivers/hwmon/ftsteutates.c 		err = fts_read_byte(data->client, FTS_REG_TEMP_INPUT(i));
client            207 drivers/hwmon/ftsteutates.c 		err = fts_read_byte(data->client, FTS_REG_VOLT(i));
client            230 drivers/hwmon/ftsteutates.c 	ret = fts_read_byte(data->client, FTS_WATCHDOG_CONTROL);
client            245 drivers/hwmon/ftsteutates.c 	ret = fts_write_byte(data->client, FTS_WATCHDOG_CONTROL, ret);
client            280 drivers/hwmon/ftsteutates.c 	return fts_write_byte(data->client, FTS_WATCHDOG_TIME_PRESET,
client            289 drivers/hwmon/ftsteutates.c 	return fts_write_byte(data->client, FTS_WATCHDOG_TIME_PRESET, 0);
client            310 drivers/hwmon/ftsteutates.c 	timeout = fts_read_byte(data->client, FTS_WATCHDOG_TIME_PRESET);
client            321 drivers/hwmon/ftsteutates.c 		ret = fts_read_byte(data->client, FTS_WATCHDOG_CONTROL);
client            333 drivers/hwmon/ftsteutates.c 	data->wdd.parent = &data->client->dev;
client            418 drivers/hwmon/ftsteutates.c 	ret = fts_read_byte(data->client, FTS_REG_TEMP_CONTROL(index));
client            422 drivers/hwmon/ftsteutates.c 	ret = fts_write_byte(data->client, FTS_REG_TEMP_CONTROL(index),
client            492 drivers/hwmon/ftsteutates.c 	ret = fts_read_byte(data->client, FTS_REG_FAN_CONTROL(index));
client            496 drivers/hwmon/ftsteutates.c 	ret = fts_write_byte(data->client, FTS_REG_FAN_CONTROL(index),
client            711 drivers/hwmon/ftsteutates.c static int fts_detect(struct i2c_client *client,
client            717 drivers/hwmon/ftsteutates.c 	val = i2c_smbus_read_byte_data(client, FTS_DEVICE_REVISION_REG);
client            722 drivers/hwmon/ftsteutates.c 	val = i2c_smbus_read_byte_data(client, FTS_DEVICE_DETECT_REG_1);
client            726 drivers/hwmon/ftsteutates.c 	val = i2c_smbus_read_byte_data(client, FTS_DEVICE_DETECT_REG_2);
client            730 drivers/hwmon/ftsteutates.c 	val = i2c_smbus_read_byte_data(client, FTS_DEVICE_DETECT_REG_3);
client            738 drivers/hwmon/ftsteutates.c 	val = i2c_smbus_read_byte_data(client, FTS_DEVICE_ID_REG);
client            747 drivers/hwmon/ftsteutates.c static int fts_remove(struct i2c_client *client)
client            749 drivers/hwmon/ftsteutates.c 	struct fts_data *data = dev_get_drvdata(&client->dev);
client            755 drivers/hwmon/ftsteutates.c static int fts_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            763 drivers/hwmon/ftsteutates.c 	if (client->addr != 0x73)
client            767 drivers/hwmon/ftsteutates.c 	deviceid = i2c_smbus_read_byte_data(client, FTS_DEVICE_ID_REG);
client            773 drivers/hwmon/ftsteutates.c 			dev_dbg(&client->dev,
client            778 drivers/hwmon/ftsteutates.c 		dev_dbg(&client->dev, "No fujitsu board\n");
client            782 drivers/hwmon/ftsteutates.c 	data = devm_kzalloc(&client->dev, sizeof(struct fts_data),
client            789 drivers/hwmon/ftsteutates.c 	data->client = client;
client            790 drivers/hwmon/ftsteutates.c 	dev_set_drvdata(&client->dev, data);
client            792 drivers/hwmon/ftsteutates.c 	err = i2c_smbus_read_byte_data(client, FTS_DEVICE_REVISION_REG);
client            797 drivers/hwmon/ftsteutates.c 	hwmon_dev = devm_hwmon_device_register_with_groups(&client->dev,
client            808 drivers/hwmon/ftsteutates.c 	dev_info(&client->dev, "Detected FTS Teutates chip, revision: %d.%d\n",
client             36 drivers/hwmon/g760a.c 	struct i2c_client *client;
client             67 drivers/hwmon/g760a.c static int g760a_read_value(struct i2c_client *client, enum g760a_regs reg)
client             69 drivers/hwmon/g760a.c 	return i2c_smbus_read_byte_data(client, reg);
client             72 drivers/hwmon/g760a.c static int g760a_write_value(struct i2c_client *client, enum g760a_regs reg,
client             75 drivers/hwmon/g760a.c 	return i2c_smbus_write_byte_data(client, reg, value);
client             85 drivers/hwmon/g760a.c 	struct i2c_client *client = data->client;
client             91 drivers/hwmon/g760a.c 		dev_dbg(&client->dev, "Starting g760a update\n");
client             93 drivers/hwmon/g760a.c 		data->set_cnt = g760a_read_value(client, G760A_REG_SET_CNT);
client             94 drivers/hwmon/g760a.c 		data->act_cnt = g760a_read_value(client, G760A_REG_ACT_CNT);
client             95 drivers/hwmon/g760a.c 		data->fan_sta = g760a_read_value(client, G760A_REG_FAN_STA);
client            142 drivers/hwmon/g760a.c 	struct i2c_client *client = data->client;
client            150 drivers/hwmon/g760a.c 	g760a_write_value(client, G760A_REG_SET_CNT, data->set_cnt);
client            173 drivers/hwmon/g760a.c static int g760a_probe(struct i2c_client *client,
client            176 drivers/hwmon/g760a.c 	struct device *dev = &client->dev;
client            180 drivers/hwmon/g760a.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            187 drivers/hwmon/g760a.c 	data->client = client;
client            194 drivers/hwmon/g760a.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            118 drivers/hwmon/g762.c 	struct i2c_client *client;
client            199 drivers/hwmon/g762.c 	struct i2c_client *client = data->client;
client            207 drivers/hwmon/g762.c 	ret = i2c_smbus_read_byte_data(client, G762_REG_SET_CNT);
client            212 drivers/hwmon/g762.c 	ret = i2c_smbus_read_byte_data(client, G762_REG_ACT_CNT);
client            217 drivers/hwmon/g762.c 	ret = i2c_smbus_read_byte_data(client, G762_REG_FAN_STA);
client            222 drivers/hwmon/g762.c 	ret = i2c_smbus_read_byte_data(client, G762_REG_SET_OUT);
client            227 drivers/hwmon/g762.c 	ret = i2c_smbus_read_byte_data(client, G762_REG_FAN_CMD1);
client            232 drivers/hwmon/g762.c 	ret = i2c_smbus_read_byte_data(client, G762_REG_FAN_CMD2);
client            291 drivers/hwmon/g762.c 	ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD1,
client            331 drivers/hwmon/g762.c 	ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD1,
client            367 drivers/hwmon/g762.c 	ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD2,
client            397 drivers/hwmon/g762.c 	ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD1,
client            430 drivers/hwmon/g762.c 			i2c_smbus_write_byte_data(data->client,
client            438 drivers/hwmon/g762.c 	ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD1,
client            468 drivers/hwmon/g762.c 	ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD1,
client            484 drivers/hwmon/g762.c 	struct i2c_client *client = data->client;
client            491 drivers/hwmon/g762.c 	ret = i2c_smbus_write_byte_data(client, G762_REG_SET_OUT, val);
client            515 drivers/hwmon/g762.c 	ret = i2c_smbus_write_byte_data(data->client, G762_REG_SET_CNT,
client            554 drivers/hwmon/g762.c 	ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD2,
client            591 drivers/hwmon/g762.c static int g762_of_clock_enable(struct i2c_client *client)
client            598 drivers/hwmon/g762.c 	if (!client->dev.of_node)
client            601 drivers/hwmon/g762.c 	clk = of_clk_get(client->dev.of_node, 0);
client            603 drivers/hwmon/g762.c 		dev_err(&client->dev, "failed to get clock\n");
client            609 drivers/hwmon/g762.c 		dev_err(&client->dev, "failed to enable clock\n");
client            614 drivers/hwmon/g762.c 	ret = do_set_clk_freq(&client->dev, clk_freq);
client            616 drivers/hwmon/g762.c 		dev_err(&client->dev, "invalid clock freq %lu\n", clk_freq);
client            620 drivers/hwmon/g762.c 	data = i2c_get_clientdata(client);
client            623 drivers/hwmon/g762.c 	devm_add_action(&client->dev, g762_of_clock_disable, data);
client            635 drivers/hwmon/g762.c static int g762_of_prop_import_one(struct i2c_client *client,
client            643 drivers/hwmon/g762.c 	if (of_property_read_u32(client->dev.of_node, pname, &pval))
client            646 drivers/hwmon/g762.c 	dev_dbg(&client->dev, "found %s (%d)\n", pname, pval);
client            647 drivers/hwmon/g762.c 	ret = (*psetter)(&client->dev, pval);
client            649 drivers/hwmon/g762.c 		dev_err(&client->dev, "unable to set %s (%d)\n", pname, pval);
client            654 drivers/hwmon/g762.c static int g762_of_prop_import(struct i2c_client *client)
client            658 drivers/hwmon/g762.c 	if (!client->dev.of_node)
client            661 drivers/hwmon/g762.c 	ret = g762_of_prop_import_one(client, "fan_gear_mode",
client            666 drivers/hwmon/g762.c 	ret = g762_of_prop_import_one(client, "pwm_polarity",
client            671 drivers/hwmon/g762.c 	return g762_of_prop_import_one(client, "fan_startv",
client            676 drivers/hwmon/g762.c static int g762_of_prop_import(struct i2c_client *client)
client            681 drivers/hwmon/g762.c static int g762_of_clock_enable(struct i2c_client *client)
client            692 drivers/hwmon/g762.c static int g762_pdata_prop_import(struct i2c_client *client)
client            694 drivers/hwmon/g762.c 	struct g762_platform_data *pdata = dev_get_platdata(&client->dev);
client            700 drivers/hwmon/g762.c 	ret = do_set_fan_gear_mode(&client->dev, pdata->fan_gear_mode);
client            704 drivers/hwmon/g762.c 	ret = do_set_pwm_polarity(&client->dev, pdata->pwm_polarity);
client            708 drivers/hwmon/g762.c 	ret = do_set_fan_startv(&client->dev, pdata->fan_startv);
client            712 drivers/hwmon/g762.c 	return do_set_clk_freq(&client->dev, pdata->clk_freq);
client           1032 drivers/hwmon/g762.c 	return i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD1,
client           1036 drivers/hwmon/g762.c static int g762_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1038 drivers/hwmon/g762.c 	struct device *dev = &client->dev;
client           1043 drivers/hwmon/g762.c 	if (!i2c_check_functionality(client->adapter,
client           1051 drivers/hwmon/g762.c 	i2c_set_clientdata(client, data);
client           1052 drivers/hwmon/g762.c 	data->client = client;
client           1061 drivers/hwmon/g762.c 	ret = g762_of_clock_enable(client);
client           1064 drivers/hwmon/g762.c 	ret = g762_of_prop_import(client);
client           1068 drivers/hwmon/g762.c 	ret = g762_pdata_prop_import(client);
client           1072 drivers/hwmon/g762.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            105 drivers/hwmon/gl518sm.c 	struct i2c_client *client;
client            134 drivers/hwmon/gl518sm.c static int gl518_read_value(struct i2c_client *client, u8 reg)
client            137 drivers/hwmon/gl518sm.c 		return i2c_smbus_read_word_swapped(client, reg);
client            139 drivers/hwmon/gl518sm.c 		return i2c_smbus_read_byte_data(client, reg);
client            142 drivers/hwmon/gl518sm.c static int gl518_write_value(struct i2c_client *client, u8 reg, u16 value)
client            145 drivers/hwmon/gl518sm.c 		return i2c_smbus_write_word_swapped(client, reg, value);
client            147 drivers/hwmon/gl518sm.c 		return i2c_smbus_write_byte_data(client, reg, value);
client            153 drivers/hwmon/gl518sm.c 	struct i2c_client *client = data->client;
client            160 drivers/hwmon/gl518sm.c 		dev_dbg(&client->dev, "Starting gl518 update\n");
client            162 drivers/hwmon/gl518sm.c 		data->alarms = gl518_read_value(client, GL518_REG_INT);
client            163 drivers/hwmon/gl518sm.c 		data->beep_mask = gl518_read_value(client, GL518_REG_ALARM);
client            165 drivers/hwmon/gl518sm.c 		val = gl518_read_value(client, GL518_REG_VDD_LIMIT);
client            168 drivers/hwmon/gl518sm.c 		val = gl518_read_value(client, GL518_REG_VIN1_LIMIT);
client            171 drivers/hwmon/gl518sm.c 		val = gl518_read_value(client, GL518_REG_VIN2_LIMIT);
client            174 drivers/hwmon/gl518sm.c 		val = gl518_read_value(client, GL518_REG_VIN3_LIMIT);
client            178 drivers/hwmon/gl518sm.c 		val = gl518_read_value(client, GL518_REG_FAN_COUNT);
client            182 drivers/hwmon/gl518sm.c 		val = gl518_read_value(client, GL518_REG_FAN_LIMIT);
client            186 drivers/hwmon/gl518sm.c 		data->temp_in = gl518_read_value(client, GL518_REG_TEMP_IN);
client            188 drivers/hwmon/gl518sm.c 		    gl518_read_value(client, GL518_REG_TEMP_MAX);
client            190 drivers/hwmon/gl518sm.c 		    gl518_read_value(client, GL518_REG_TEMP_HYST);
client            192 drivers/hwmon/gl518sm.c 		val = gl518_read_value(client, GL518_REG_MISC);
client            199 drivers/hwmon/gl518sm.c 		val = gl518_read_value(client, GL518_REG_CONF);
client            204 drivers/hwmon/gl518sm.c 			    gl518_read_value(client, GL518_REG_VDD);
client            206 drivers/hwmon/gl518sm.c 			    gl518_read_value(client, GL518_REG_VIN1);
client            208 drivers/hwmon/gl518sm.c 			    gl518_read_value(client, GL518_REG_VIN2);
client            211 drivers/hwmon/gl518sm.c 		    gl518_read_value(client, GL518_REG_VIN3);
client            286 drivers/hwmon/gl518sm.c 	struct i2c_client *client = data->client;			\
client            294 drivers/hwmon/gl518sm.c 	gl518_write_value(client, reg, data->value);			\
client            305 drivers/hwmon/gl518sm.c 	struct i2c_client *client = data->client;			\
client            313 drivers/hwmon/gl518sm.c 	regvalue = gl518_read_value(client, reg);			\
client            316 drivers/hwmon/gl518sm.c 	gl518_write_value(client, reg, regvalue);			\
client            345 drivers/hwmon/gl518sm.c 	struct i2c_client *client = data->client;
client            356 drivers/hwmon/gl518sm.c 	regvalue = gl518_read_value(client, GL518_REG_FAN_LIMIT);
client            360 drivers/hwmon/gl518sm.c 	gl518_write_value(client, GL518_REG_FAN_LIMIT, regvalue);
client            362 drivers/hwmon/gl518sm.c 	data->beep_mask = gl518_read_value(client, GL518_REG_ALARM);
client            368 drivers/hwmon/gl518sm.c 	gl518_write_value(client, GL518_REG_ALARM, data->beep_mask);
client            379 drivers/hwmon/gl518sm.c 	struct i2c_client *client = data->client;
client            410 drivers/hwmon/gl518sm.c 	regvalue = gl518_read_value(client, GL518_REG_MISC);
client            414 drivers/hwmon/gl518sm.c 	gl518_write_value(client, GL518_REG_MISC, regvalue);
client            476 drivers/hwmon/gl518sm.c 	struct i2c_client *client = data->client;
client            489 drivers/hwmon/gl518sm.c 	data->beep_mask = gl518_read_value(client, GL518_REG_ALARM);
client            494 drivers/hwmon/gl518sm.c 	gl518_write_value(client, GL518_REG_ALARM, data->beep_mask);
client            570 drivers/hwmon/gl518sm.c static int gl518_detect(struct i2c_client *client, struct i2c_board_info *info)
client            572 drivers/hwmon/gl518sm.c 	struct i2c_adapter *adapter = client->adapter;
client            580 drivers/hwmon/gl518sm.c 	if ((gl518_read_value(client, GL518_REG_CHIP_ID) != 0x80)
client            581 drivers/hwmon/gl518sm.c 	 || (gl518_read_value(client, GL518_REG_CONF) & 0x80))
client            585 drivers/hwmon/gl518sm.c 	rev = gl518_read_value(client, GL518_REG_REVISION);
client            598 drivers/hwmon/gl518sm.c static void gl518_init_client(struct i2c_client *client)
client            601 drivers/hwmon/gl518sm.c 	u8 regvalue = gl518_read_value(client, GL518_REG_CONF) & 0x7f;
client            604 drivers/hwmon/gl518sm.c 	gl518_write_value(client, GL518_REG_CONF, (regvalue &= 0x37));
client            607 drivers/hwmon/gl518sm.c 	gl518_write_value(client, GL518_REG_MASK, 0x00);
client            610 drivers/hwmon/gl518sm.c 	gl518_write_value(client, GL518_REG_CONF, 0x20 | regvalue);
client            611 drivers/hwmon/gl518sm.c 	gl518_write_value(client, GL518_REG_CONF, 0x40 | regvalue);
client            614 drivers/hwmon/gl518sm.c static int gl518_probe(struct i2c_client *client,
client            617 drivers/hwmon/gl518sm.c 	struct device *dev = &client->dev;
client            626 drivers/hwmon/gl518sm.c 	data->client = client;
client            627 drivers/hwmon/gl518sm.c 	revision = gl518_read_value(client, GL518_REG_REVISION);
client            633 drivers/hwmon/gl518sm.c 	gl518_init_client(client);
client            640 drivers/hwmon/gl518sm.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             64 drivers/hwmon/gl520sm.c 	struct i2c_client *client;
client             93 drivers/hwmon/gl520sm.c static int gl520_read_value(struct i2c_client *client, u8 reg)
client             96 drivers/hwmon/gl520sm.c 		return i2c_smbus_read_word_swapped(client, reg);
client             98 drivers/hwmon/gl520sm.c 		return i2c_smbus_read_byte_data(client, reg);
client            101 drivers/hwmon/gl520sm.c static int gl520_write_value(struct i2c_client *client, u8 reg, u16 value)
client            104 drivers/hwmon/gl520sm.c 		return i2c_smbus_write_word_swapped(client, reg, value);
client            106 drivers/hwmon/gl520sm.c 		return i2c_smbus_write_byte_data(client, reg, value);
client            112 drivers/hwmon/gl520sm.c 	struct i2c_client *client = data->client;
client            119 drivers/hwmon/gl520sm.c 		dev_dbg(&client->dev, "Starting gl520sm update\n");
client            121 drivers/hwmon/gl520sm.c 		data->alarms = gl520_read_value(client, GL520_REG_ALARMS);
client            122 drivers/hwmon/gl520sm.c 		data->beep_mask = gl520_read_value(client, GL520_REG_BEEP_MASK);
client            123 drivers/hwmon/gl520sm.c 		data->vid = gl520_read_value(client,
client            127 drivers/hwmon/gl520sm.c 			data->in_input[i] = gl520_read_value(client,
client            129 drivers/hwmon/gl520sm.c 			val = gl520_read_value(client, GL520_REG_IN_LIMIT[i]);
client            134 drivers/hwmon/gl520sm.c 		val = gl520_read_value(client, GL520_REG_FAN_INPUT);
client            138 drivers/hwmon/gl520sm.c 		val = gl520_read_value(client, GL520_REG_FAN_MIN);
client            142 drivers/hwmon/gl520sm.c 		data->temp_input[0] = gl520_read_value(client,
client            144 drivers/hwmon/gl520sm.c 		data->temp_max[0] = gl520_read_value(client,
client            146 drivers/hwmon/gl520sm.c 		data->temp_max_hyst[0] = gl520_read_value(client,
client            149 drivers/hwmon/gl520sm.c 		val = gl520_read_value(client, GL520_REG_FAN_DIV);
client            156 drivers/hwmon/gl520sm.c 		val = gl520_read_value(client, GL520_REG_CONF);
client            161 drivers/hwmon/gl520sm.c 			data->temp_input[1] = gl520_read_value(client,
client            163 drivers/hwmon/gl520sm.c 			data->temp_max[1] = gl520_read_value(client,
client            165 drivers/hwmon/gl520sm.c 			data->temp_max_hyst[1] = gl520_read_value(client,
client            168 drivers/hwmon/gl520sm.c 			data->in_input[4] = gl520_read_value(client,
client            170 drivers/hwmon/gl520sm.c 			data->in_min[4] = gl520_read_value(client,
client            172 drivers/hwmon/gl520sm.c 			data->in_max[4] = gl520_read_value(client,
client            248 drivers/hwmon/gl520sm.c 	struct i2c_client *client = data->client;
client            268 drivers/hwmon/gl520sm.c 		gl520_write_value(client, GL520_REG_IN_MIN[n],
client            269 drivers/hwmon/gl520sm.c 				  (gl520_read_value(client, GL520_REG_IN_MIN[n])
client            272 drivers/hwmon/gl520sm.c 		gl520_write_value(client, GL520_REG_IN_MIN[n], r);
client            282 drivers/hwmon/gl520sm.c 	struct i2c_client *client = data->client;
client            302 drivers/hwmon/gl520sm.c 		gl520_write_value(client, GL520_REG_IN_MAX[n],
client            303 drivers/hwmon/gl520sm.c 				  (gl520_read_value(client, GL520_REG_IN_MAX[n])
client            306 drivers/hwmon/gl520sm.c 		gl520_write_value(client, GL520_REG_IN_MAX[n], r);
client            379 drivers/hwmon/gl520sm.c 	struct i2c_client *client = data->client;
client            394 drivers/hwmon/gl520sm.c 		gl520_write_value(client, GL520_REG_FAN_MIN,
client            395 drivers/hwmon/gl520sm.c 				  (gl520_read_value(client, GL520_REG_FAN_MIN)
client            398 drivers/hwmon/gl520sm.c 		gl520_write_value(client, GL520_REG_FAN_MIN,
client            399 drivers/hwmon/gl520sm.c 				  (gl520_read_value(client, GL520_REG_FAN_MIN)
client            402 drivers/hwmon/gl520sm.c 	data->beep_mask = gl520_read_value(client, GL520_REG_BEEP_MASK);
client            408 drivers/hwmon/gl520sm.c 	gl520_write_value(client, GL520_REG_BEEP_MASK, data->beep_mask);
client            419 drivers/hwmon/gl520sm.c 	struct i2c_client *client = data->client;
client            443 drivers/hwmon/gl520sm.c 		dev_err(&client->dev,
client            452 drivers/hwmon/gl520sm.c 		gl520_write_value(client, GL520_REG_FAN_DIV,
client            453 drivers/hwmon/gl520sm.c 				  (gl520_read_value(client, GL520_REG_FAN_DIV)
client            456 drivers/hwmon/gl520sm.c 		gl520_write_value(client, GL520_REG_FAN_DIV,
client            457 drivers/hwmon/gl520sm.c 				  (gl520_read_value(client, GL520_REG_FAN_DIV)
client            469 drivers/hwmon/gl520sm.c 	struct i2c_client *client = data->client;
client            482 drivers/hwmon/gl520sm.c 	gl520_write_value(client, GL520_REG_FAN_OFF,
client            483 drivers/hwmon/gl520sm.c 			  (gl520_read_value(client, GL520_REG_FAN_OFF)
client            533 drivers/hwmon/gl520sm.c 	struct i2c_client *client = data->client;
client            544 drivers/hwmon/gl520sm.c 	gl520_write_value(client, GL520_REG_TEMP_MAX[n], data->temp_max[n]);
client            554 drivers/hwmon/gl520sm.c 	struct i2c_client *client = data->client;
client            565 drivers/hwmon/gl520sm.c 	gl520_write_value(client, GL520_REG_TEMP_MAX_HYST[n],
client            604 drivers/hwmon/gl520sm.c 	struct i2c_client *client = data->client;
client            617 drivers/hwmon/gl520sm.c 	gl520_write_value(client, GL520_REG_BEEP_ENABLE,
client            618 drivers/hwmon/gl520sm.c 			  (gl520_read_value(client, GL520_REG_BEEP_ENABLE)
client            629 drivers/hwmon/gl520sm.c 	struct i2c_client *client = data->client;
client            640 drivers/hwmon/gl520sm.c 	gl520_write_value(client, GL520_REG_BEEP_MASK, r);
client            681 drivers/hwmon/gl520sm.c 	struct i2c_client *client = data->client;
client            694 drivers/hwmon/gl520sm.c 	data->beep_mask = gl520_read_value(client, GL520_REG_BEEP_MASK);
client            699 drivers/hwmon/gl520sm.c 	gl520_write_value(client, GL520_REG_BEEP_MASK, data->beep_mask);
client            798 drivers/hwmon/gl520sm.c static int gl520_detect(struct i2c_client *client, struct i2c_board_info *info)
client            800 drivers/hwmon/gl520sm.c 	struct i2c_adapter *adapter = client->adapter;
client            807 drivers/hwmon/gl520sm.c 	if ((gl520_read_value(client, GL520_REG_CHIP_ID) != 0x20) ||
client            808 drivers/hwmon/gl520sm.c 	    ((gl520_read_value(client, GL520_REG_REVISION) & 0x7f) != 0x00) ||
client            809 drivers/hwmon/gl520sm.c 	    ((gl520_read_value(client, GL520_REG_CONF) & 0x80) != 0x00)) {
client            810 drivers/hwmon/gl520sm.c 		dev_dbg(&client->dev, "Unknown chip type, skipping\n");
client            820 drivers/hwmon/gl520sm.c static void gl520_init_client(struct i2c_client *client)
client            822 drivers/hwmon/gl520sm.c 	struct gl520_data *data = i2c_get_clientdata(client);
client            825 drivers/hwmon/gl520sm.c 	conf = oldconf = gl520_read_value(client, GL520_REG_CONF);
client            844 drivers/hwmon/gl520sm.c 		gl520_write_value(client, GL520_REG_CONF, conf);
client            846 drivers/hwmon/gl520sm.c 	gl520_update_device(&(client->dev));
client            854 drivers/hwmon/gl520sm.c 	gl520_write_value(client, GL520_REG_BEEP_MASK, data->beep_mask);
client            857 drivers/hwmon/gl520sm.c static int gl520_probe(struct i2c_client *client,
client            860 drivers/hwmon/gl520sm.c 	struct device *dev = &client->dev;
client            868 drivers/hwmon/gl520sm.c 	i2c_set_clientdata(client, data);
client            870 drivers/hwmon/gl520sm.c 	data->client = client;
client            873 drivers/hwmon/gl520sm.c 	gl520_init_client(client);
client            883 drivers/hwmon/gl520sm.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             36 drivers/hwmon/hih6130.c 	struct i2c_client *client;
client             84 drivers/hwmon/hih6130.c 	struct i2c_client *client = hih6130->client;
client             90 drivers/hwmon/hih6130.c 			.addr = client->addr,
client            120 drivers/hwmon/hih6130.c 		ret = i2c_master_send(client, tmp, hih6130->write_length);
client            127 drivers/hwmon/hih6130.c 		ret = i2c_transfer(client->adapter, msgs, 1);
client            132 drivers/hwmon/hih6130.c 			dev_err(&client->dev, "Error while reading measurement result\n");
client            207 drivers/hwmon/hih6130.c static int hih6130_probe(struct i2c_client *client,
client            210 drivers/hwmon/hih6130.c 	struct device *dev = &client->dev;
client            214 drivers/hwmon/hih6130.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            215 drivers/hwmon/hih6130.c 		dev_err(&client->dev, "adapter does not support true I2C\n");
client            223 drivers/hwmon/hih6130.c 	hih6130->client = client;
client            226 drivers/hwmon/hih6130.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_QUICK))
client            229 drivers/hwmon/hih6130.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             63 drivers/hwmon/ina209.c 	struct i2c_client *client;
client             79 drivers/hwmon/ina209.c 	struct i2c_client *client = data->client;
client             89 drivers/hwmon/ina209.c 			val = i2c_smbus_read_word_swapped(client, i);
client            249 drivers/hwmon/ina209.c 	i2c_smbus_write_word_swapped(data->client, INA209_CONFIGURATION,
client            285 drivers/hwmon/ina209.c 	struct i2c_client *client = data->client;
client            297 drivers/hwmon/ina209.c 			i2c_smbus_write_word_swapped(client,
client            328 drivers/hwmon/ina209.c 	i2c_smbus_write_word_swapped(data->client, reg, ret);
client            477 drivers/hwmon/ina209.c static void ina209_restore_conf(struct i2c_client *client,
client            481 drivers/hwmon/ina209.c 	i2c_smbus_write_word_swapped(client, INA209_CONFIGURATION,
client            483 drivers/hwmon/ina209.c 	i2c_smbus_write_word_swapped(client, INA209_CALIBRATION,
client            487 drivers/hwmon/ina209.c static int ina209_init_client(struct i2c_client *client,
client            490 drivers/hwmon/ina209.c 	struct ina2xx_platform_data *pdata = dev_get_platdata(&client->dev);
client            494 drivers/hwmon/ina209.c 	reg = i2c_smbus_read_word_swapped(client, INA209_CALIBRATION);
client            499 drivers/hwmon/ina209.c 	reg = i2c_smbus_read_word_swapped(client, INA209_CONFIGURATION);
client            508 drivers/hwmon/ina209.c 	} else if (!of_property_read_u32(client->dev.of_node, "shunt-resistor",
client            517 drivers/hwmon/ina209.c 	i2c_smbus_write_word_swapped(client, INA209_CONFIGURATION,
client            525 drivers/hwmon/ina209.c 	i2c_smbus_write_word_swapped(client, INA209_CALIBRATION,
client            529 drivers/hwmon/ina209.c 	i2c_smbus_read_word_swapped(client, INA209_STATUS);
client            534 drivers/hwmon/ina209.c static int ina209_probe(struct i2c_client *client,
client            537 drivers/hwmon/ina209.c 	struct i2c_adapter *adapter = client->adapter;
client            545 drivers/hwmon/ina209.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            549 drivers/hwmon/ina209.c 	i2c_set_clientdata(client, data);
client            550 drivers/hwmon/ina209.c 	data->client = client;
client            553 drivers/hwmon/ina209.c 	ret = ina209_init_client(client, data);
client            557 drivers/hwmon/ina209.c 	hwmon_dev = devm_hwmon_device_register_with_groups(&client->dev,
client            558 drivers/hwmon/ina209.c 							   client->name,
client            568 drivers/hwmon/ina209.c 	ina209_restore_conf(client, data);
client            572 drivers/hwmon/ina209.c static int ina209_remove(struct i2c_client *client)
client            574 drivers/hwmon/ina209.c 	struct ina209_data *data = i2c_get_clientdata(client);
client            576 drivers/hwmon/ina209.c 	ina209_restore_conf(client, data);
client            434 drivers/hwmon/ina2xx.c static int ina2xx_probe(struct i2c_client *client,
client            437 drivers/hwmon/ina2xx.c 	struct device *dev = &client->dev;
client            444 drivers/hwmon/ina2xx.c 	if (client->dev.of_node)
client            445 drivers/hwmon/ina2xx.c 		chip = (enum ina2xx_ids)of_device_get_match_data(&client->dev);
client            470 drivers/hwmon/ina2xx.c 	data->regmap = devm_regmap_init_i2c(client, &ina2xx_regmap_config);
client            486 drivers/hwmon/ina2xx.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            492 drivers/hwmon/ina2xx.c 		 client->name, data->rshunt);
client            725 drivers/hwmon/ina3221.c static int ina3221_probe(struct i2c_client *client,
client            728 drivers/hwmon/ina3221.c 	struct device *dev = &client->dev;
client            737 drivers/hwmon/ina3221.c 	ina->regmap = devm_regmap_init_i2c(client, &ina3221_regmap_config);
client            792 drivers/hwmon/ina3221.c 	hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name, ina,
client            814 drivers/hwmon/ina3221.c static int ina3221_remove(struct i2c_client *client)
client            816 drivers/hwmon/ina3221.c 	struct ina3221_data *ina = dev_get_drvdata(&client->dev);
client            209 drivers/hwmon/jc42.c 	struct i2c_client *client;
client            244 drivers/hwmon/jc42.c 	struct i2c_client *client = data->client;
client            252 drivers/hwmon/jc42.c 			val = i2c_smbus_read_word_swapped(client, temp_regs[i]);
client            319 drivers/hwmon/jc42.c 	struct i2c_client *client = data->client;
client            328 drivers/hwmon/jc42.c 		ret = i2c_smbus_write_word_swapped(client, temp_regs[t_min],
client            333 drivers/hwmon/jc42.c 		ret = i2c_smbus_write_word_swapped(client, temp_regs[t_max],
client            338 drivers/hwmon/jc42.c 		ret = i2c_smbus_write_word_swapped(client, temp_regs[t_crit],
client            361 drivers/hwmon/jc42.c 		ret = i2c_smbus_write_word_swapped(data->client,
client            410 drivers/hwmon/jc42.c static int jc42_detect(struct i2c_client *client, struct i2c_board_info *info)
client            412 drivers/hwmon/jc42.c 	struct i2c_adapter *adapter = client->adapter;
client            419 drivers/hwmon/jc42.c 	cap = i2c_smbus_read_word_swapped(client, JC42_REG_CAP);
client            420 drivers/hwmon/jc42.c 	config = i2c_smbus_read_word_swapped(client, JC42_REG_CONFIG);
client            421 drivers/hwmon/jc42.c 	manid = i2c_smbus_read_word_swapped(client, JC42_REG_MANID);
client            422 drivers/hwmon/jc42.c 	devid = i2c_smbus_read_word_swapped(client, JC42_REG_DEVICEID);
client            461 drivers/hwmon/jc42.c static int jc42_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            463 drivers/hwmon/jc42.c 	struct device *dev = &client->dev;
client            472 drivers/hwmon/jc42.c 	data->client = client;
client            473 drivers/hwmon/jc42.c 	i2c_set_clientdata(client, data);
client            476 drivers/hwmon/jc42.c 	cap = i2c_smbus_read_word_swapped(client, JC42_REG_CAP);
client            491 drivers/hwmon/jc42.c 		smbus = i2c_smbus_read_word_swapped(client, JC42_REG_SMBUS);
client            494 drivers/hwmon/jc42.c 		i2c_smbus_write_word_swapped(client, JC42_REG_SMBUS,
client            498 drivers/hwmon/jc42.c 	config = i2c_smbus_read_word_swapped(client, JC42_REG_CONFIG);
client            505 drivers/hwmon/jc42.c 		i2c_smbus_write_word_swapped(client, JC42_REG_CONFIG, config);
client            515 drivers/hwmon/jc42.c static int jc42_remove(struct i2c_client *client)
client            517 drivers/hwmon/jc42.c 	struct jc42_data *data = i2c_get_clientdata(client);
client            526 drivers/hwmon/jc42.c 		i2c_smbus_write_word_swapped(client, JC42_REG_CONFIG, config);
client            538 drivers/hwmon/jc42.c 	i2c_smbus_write_word_swapped(data->client, JC42_REG_CONFIG,
client            548 drivers/hwmon/jc42.c 	i2c_smbus_write_word_swapped(data->client, JC42_REG_CONFIG,
client            115 drivers/hwmon/lineage-pem.c 	struct i2c_client *client;
client            130 drivers/hwmon/lineage-pem.c static int pem_read_block(struct i2c_client *client, u8 command, u8 *data,
client            136 drivers/hwmon/lineage-pem.c 	result = i2c_smbus_read_block_data(client, command, block_buffer);
client            152 drivers/hwmon/lineage-pem.c 	struct i2c_client *client = data->client;
client            161 drivers/hwmon/lineage-pem.c 		result = pem_read_block(client, PEM_READ_DATA_STRING,
client            171 drivers/hwmon/lineage-pem.c 			result = pem_read_block(client, PEM_READ_INPUT_STRING,
client            182 drivers/hwmon/lineage-pem.c 			result = pem_read_block(client, PEM_READ_FAN_SPEED,
client            191 drivers/hwmon/lineage-pem.c 		i2c_smbus_write_byte(client, PEM_CLEAR_INFO_FLAGS);
client            420 drivers/hwmon/lineage-pem.c static int pem_probe(struct i2c_client *client,
client            423 drivers/hwmon/lineage-pem.c 	struct i2c_adapter *adapter = client->adapter;
client            424 drivers/hwmon/lineage-pem.c 	struct device *dev = &client->dev;
client            437 drivers/hwmon/lineage-pem.c 	data->client = client;
client            444 drivers/hwmon/lineage-pem.c 	ret = pem_read_block(client, PEM_READ_FIRMWARE_REV,
client            449 drivers/hwmon/lineage-pem.c 	ret = i2c_smbus_write_byte(client, PEM_CLEAR_INFO_FLAGS);
client            466 drivers/hwmon/lineage-pem.c 	ret = pem_read_block(client, PEM_READ_INPUT_STRING,
client            474 drivers/hwmon/lineage-pem.c 		ret = pem_read_block(client, PEM_READ_INPUT_STRING,
client            491 drivers/hwmon/lineage-pem.c 	ret = pem_read_block(client, PEM_READ_FAN_SPEED,
client            500 drivers/hwmon/lineage-pem.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            139 drivers/hwmon/lm63.c 	struct i2c_client *client;
client            205 drivers/hwmon/lm63.c 	struct i2c_client *client = data->client;
client            211 drivers/hwmon/lm63.c 			data->pwm1[1 + i] = i2c_smbus_read_byte_data(client,
client            213 drivers/hwmon/lm63.c 			data->temp8[3 + i] = i2c_smbus_read_byte_data(client,
client            216 drivers/hwmon/lm63.c 		data->lut_temp_hyst = i2c_smbus_read_byte_data(client,
client            227 drivers/hwmon/lm63.c 	struct i2c_client *client = data->client;
client            237 drivers/hwmon/lm63.c 			data->fan[0] = i2c_smbus_read_byte_data(client,
client            239 drivers/hwmon/lm63.c 			data->fan[0] |= i2c_smbus_read_byte_data(client,
client            241 drivers/hwmon/lm63.c 			data->fan[1] = (i2c_smbus_read_byte_data(client,
client            243 drivers/hwmon/lm63.c 				     | (i2c_smbus_read_byte_data(client,
client            247 drivers/hwmon/lm63.c 		data->pwm1_freq = i2c_smbus_read_byte_data(client,
client            251 drivers/hwmon/lm63.c 		data->pwm1[0] = i2c_smbus_read_byte_data(client,
client            254 drivers/hwmon/lm63.c 		data->temp8[0] = i2c_smbus_read_byte_data(client,
client            256 drivers/hwmon/lm63.c 		data->temp8[1] = i2c_smbus_read_byte_data(client,
client            260 drivers/hwmon/lm63.c 		data->temp11[0] = i2c_smbus_read_byte_data(client,
client            262 drivers/hwmon/lm63.c 		data->temp11[0] |= i2c_smbus_read_byte_data(client,
client            264 drivers/hwmon/lm63.c 		data->temp11[1] = (i2c_smbus_read_byte_data(client,
client            266 drivers/hwmon/lm63.c 				| i2c_smbus_read_byte_data(client,
client            268 drivers/hwmon/lm63.c 		data->temp11[2] = (i2c_smbus_read_byte_data(client,
client            270 drivers/hwmon/lm63.c 				| i2c_smbus_read_byte_data(client,
client            272 drivers/hwmon/lm63.c 		data->temp11[3] = (i2c_smbus_read_byte_data(client,
client            274 drivers/hwmon/lm63.c 				| i2c_smbus_read_byte_data(client,
client            278 drivers/hwmon/lm63.c 			data->temp11u = (i2c_smbus_read_byte_data(client,
client            280 drivers/hwmon/lm63.c 				      | i2c_smbus_read_byte_data(client,
client            283 drivers/hwmon/lm63.c 		data->temp8[2] = i2c_smbus_read_byte_data(client,
client            285 drivers/hwmon/lm63.c 		data->temp2_crit_hyst = i2c_smbus_read_byte_data(client,
client            288 drivers/hwmon/lm63.c 		data->alarms = i2c_smbus_read_byte_data(client,
client            343 drivers/hwmon/lm63.c 	struct i2c_client *client = data->client;
client            353 drivers/hwmon/lm63.c 	i2c_smbus_write_byte_data(client, LM63_REG_TACH_LIMIT_LSB,
client            355 drivers/hwmon/lm63.c 	i2c_smbus_write_byte_data(client, LM63_REG_TACH_LIMIT_MSB,
client            384 drivers/hwmon/lm63.c 	struct i2c_client *client = data->client;
client            403 drivers/hwmon/lm63.c 	i2c_smbus_write_byte_data(client, reg, data->pwm1[nr]);
client            420 drivers/hwmon/lm63.c 	struct i2c_client *client = data->client;
client            438 drivers/hwmon/lm63.c 	data->config_fan = i2c_smbus_read_byte_data(client,
client            444 drivers/hwmon/lm63.c 	i2c_smbus_write_byte_data(client, LM63_REG_CONFIG_FAN,
client            490 drivers/hwmon/lm63.c 	struct i2c_client *client = data->client;
client            519 drivers/hwmon/lm63.c 	i2c_smbus_write_byte_data(client, reg, temp);
client            564 drivers/hwmon/lm63.c 	struct i2c_client *client = data->client;
client            579 drivers/hwmon/lm63.c 	i2c_smbus_write_byte_data(client, reg[(nr - 1) * 2],
client            581 drivers/hwmon/lm63.c 	i2c_smbus_write_byte_data(client, reg[(nr - 1) * 2 + 1],
client            620 drivers/hwmon/lm63.c 	struct i2c_client *client = data->client;
client            631 drivers/hwmon/lm63.c 	i2c_smbus_write_byte_data(client, LM63_REG_REMOTE_TCRIT_HYST,
client            643 drivers/hwmon/lm63.c 	struct i2c_client *client = data->client;
client            657 drivers/hwmon/lm63.c 	i2c_smbus_write_byte_data(client, LM63_REG_CONVRATE, i);
client            701 drivers/hwmon/lm63.c 	struct i2c_client *client = data->client;
client            714 drivers/hwmon/lm63.c 	reg = i2c_smbus_read_byte_data(client, LM96163_REG_TRUTHERM) & ~0x02;
client            715 drivers/hwmon/lm63.c 	i2c_smbus_write_byte_data(client, LM96163_REG_TRUTHERM,
client            967 drivers/hwmon/lm63.c static int lm63_detect(struct i2c_client *client,
client            970 drivers/hwmon/lm63.c 	struct i2c_adapter *adapter = client->adapter;
client            973 drivers/hwmon/lm63.c 	int address = client->addr;
client            978 drivers/hwmon/lm63.c 	man_id = i2c_smbus_read_byte_data(client, LM63_REG_MAN_ID);
client            979 drivers/hwmon/lm63.c 	chip_id = i2c_smbus_read_byte_data(client, LM63_REG_CHIP_ID);
client            981 drivers/hwmon/lm63.c 	reg_config1 = i2c_smbus_read_byte_data(client, LM63_REG_CONFIG1);
client            982 drivers/hwmon/lm63.c 	reg_config2 = i2c_smbus_read_byte_data(client, LM63_REG_CONFIG2);
client            983 drivers/hwmon/lm63.c 	reg_alert_status = i2c_smbus_read_byte_data(client,
client            985 drivers/hwmon/lm63.c 	reg_alert_mask = i2c_smbus_read_byte_data(client, LM63_REG_ALERT_MASK);
client           1016 drivers/hwmon/lm63.c 	struct i2c_client *client = data->client;
client           1017 drivers/hwmon/lm63.c 	struct device *dev = &client->dev;
client           1020 drivers/hwmon/lm63.c 	data->config = i2c_smbus_read_byte_data(client, LM63_REG_CONFIG1);
client           1021 drivers/hwmon/lm63.c 	data->config_fan = i2c_smbus_read_byte_data(client,
client           1028 drivers/hwmon/lm63.c 		i2c_smbus_write_byte_data(client, LM63_REG_CONFIG1,
client           1036 drivers/hwmon/lm63.c 	data->pwm1_freq = i2c_smbus_read_byte_data(client, LM63_REG_PWM_FREQ);
client           1050 drivers/hwmon/lm63.c 		  = i2c_smbus_read_byte_data(client,
client           1054 drivers/hwmon/lm63.c 	convrate = i2c_smbus_read_byte_data(client, LM63_REG_CONVRATE);
client           1066 drivers/hwmon/lm63.c 		  = i2c_smbus_read_byte_data(client,
client           1090 drivers/hwmon/lm63.c static int lm63_probe(struct i2c_client *client,
client           1093 drivers/hwmon/lm63.c 	struct device *dev = &client->dev;
client           1102 drivers/hwmon/lm63.c 	data->client = client;
client           1106 drivers/hwmon/lm63.c 	if (client->dev.of_node)
client           1107 drivers/hwmon/lm63.c 		data->kind = (enum chips)of_device_get_match_data(&client->dev);
client           1126 drivers/hwmon/lm63.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             55 drivers/hwmon/lm73.c 	struct i2c_client *client;
client             77 drivers/hwmon/lm73.c 	err = i2c_smbus_write_word_swapped(data->client, attr->index, value);
client             88 drivers/hwmon/lm73.c 	s32 err = i2c_smbus_read_word_swapped(data->client, attr->index);
client            123 drivers/hwmon/lm73.c 	err = i2c_smbus_write_byte_data(data->client, LM73_REG_CTRL,
client            151 drivers/hwmon/lm73.c 	ctrl = i2c_smbus_read_byte_data(data->client, LM73_REG_CTRL);
client            193 drivers/hwmon/lm73.c lm73_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            195 drivers/hwmon/lm73.c 	struct device *dev = &client->dev;
client            204 drivers/hwmon/lm73.c 	data->client = client;
client            207 drivers/hwmon/lm73.c 	ctrl = i2c_smbus_read_byte_data(client, LM73_REG_CTRL);
client            212 drivers/hwmon/lm73.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            217 drivers/hwmon/lm73.c 	dev_info(dev, "sensor '%s'\n", client->name);
client            102 drivers/hwmon/lm75.c 	struct i2c_client		*client;
client            314 drivers/hwmon/lm75.c 		err = i2c_smbus_write_byte_data(data->client, LM75_REG_CONF,
client            432 drivers/hwmon/lm75.c 		err = i2c_smbus_write_byte_data(data->client, PCT2075_REG_IDLE,
client            540 drivers/hwmon/lm75.c 	struct i2c_client *client = lm75->client;
client            542 drivers/hwmon/lm75.c 	i2c_smbus_write_byte_data(client, LM75_REG_CONF, lm75->orig_conf);
client            546 drivers/hwmon/lm75.c lm75_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            548 drivers/hwmon/lm75.c 	struct device *dev = &client->dev;
client            554 drivers/hwmon/lm75.c 	if (client->dev.of_node)
client            555 drivers/hwmon/lm75.c 		kind = (enum lm75_type)of_device_get_match_data(&client->dev);
client            559 drivers/hwmon/lm75.c 	if (!i2c_check_functionality(client->adapter,
client            567 drivers/hwmon/lm75.c 	data->client = client;
client            570 drivers/hwmon/lm75.c 	data->regmap = devm_regmap_init_i2c(client, &lm75_regmap_config);
client            585 drivers/hwmon/lm75.c 	status = i2c_smbus_read_byte_data(client, LM75_REG_CONF);
client            602 drivers/hwmon/lm75.c 	hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name,
client            608 drivers/hwmon/lm75.c 	dev_info(dev, "%s: sensor '%s'\n", dev_name(hwmon_dev), client->name);
client            851 drivers/hwmon/lm75.c 	struct i2c_client *client = to_i2c_client(dev);
client            852 drivers/hwmon/lm75.c 	status = i2c_smbus_read_byte_data(client, LM75_REG_CONF);
client            854 drivers/hwmon/lm75.c 		dev_dbg(&client->dev, "Can't read config? %d\n", status);
client            858 drivers/hwmon/lm75.c 	i2c_smbus_write_byte_data(client, LM75_REG_CONF, status);
client            865 drivers/hwmon/lm75.c 	struct i2c_client *client = to_i2c_client(dev);
client            866 drivers/hwmon/lm75.c 	status = i2c_smbus_read_byte_data(client, LM75_REG_CONF);
client            868 drivers/hwmon/lm75.c 		dev_dbg(&client->dev, "Can't read config? %d\n", status);
client            872 drivers/hwmon/lm75.c 	i2c_smbus_write_byte_data(client, LM75_REG_CONF, status);
client             56 drivers/hwmon/lm77.c 	struct i2c_client	*client;
client             86 drivers/hwmon/lm77.c static u16 lm77_read_value(struct i2c_client *client, u8 reg)
client             89 drivers/hwmon/lm77.c 		return i2c_smbus_read_byte_data(client, reg);
client             91 drivers/hwmon/lm77.c 		return i2c_smbus_read_word_swapped(client, reg);
client             94 drivers/hwmon/lm77.c static int lm77_write_value(struct i2c_client *client, u8 reg, u16 value)
client             97 drivers/hwmon/lm77.c 		return i2c_smbus_write_byte_data(client, reg, value);
client             99 drivers/hwmon/lm77.c 		return i2c_smbus_write_word_swapped(client, reg, value);
client            105 drivers/hwmon/lm77.c 	struct i2c_client *client = data->client;
client            112 drivers/hwmon/lm77.c 		dev_dbg(&client->dev, "Starting lm77 update\n");
client            115 drivers/hwmon/lm77.c 			  LM77_TEMP_FROM_REG(lm77_read_value(client,
client            119 drivers/hwmon/lm77.c 			lm77_read_value(client, LM77_REG_TEMP) & 0x0007;
client            160 drivers/hwmon/lm77.c 	struct i2c_client *client = data->client;
client            172 drivers/hwmon/lm77.c 	lm77_write_value(client, temp_regs[nr], LM77_TEMP_TO_REG(val));
client            186 drivers/hwmon/lm77.c 	struct i2c_client *client = data->client;
client            197 drivers/hwmon/lm77.c 	lm77_write_value(client, LM77_REG_TEMP_HYST,
client            240 drivers/hwmon/lm77.c static int lm77_detect(struct i2c_client *client, struct i2c_board_info *info)
client            242 drivers/hwmon/lm77.c 	struct i2c_adapter *adapter = client->adapter;
client            264 drivers/hwmon/lm77.c 	cur = i2c_smbus_read_word_data(client, 0);
client            265 drivers/hwmon/lm77.c 	conf = i2c_smbus_read_byte_data(client, 1);
client            266 drivers/hwmon/lm77.c 	hyst = i2c_smbus_read_word_data(client, 2);
client            267 drivers/hwmon/lm77.c 	crit = i2c_smbus_read_word_data(client, 3);
client            268 drivers/hwmon/lm77.c 	min = i2c_smbus_read_word_data(client, 4);
client            269 drivers/hwmon/lm77.c 	max = i2c_smbus_read_word_data(client, 5);
client            271 drivers/hwmon/lm77.c 		if (i2c_smbus_read_byte_data(client, i + 1) != conf
client            272 drivers/hwmon/lm77.c 		 || i2c_smbus_read_word_data(client, i + 2) != hyst
client            273 drivers/hwmon/lm77.c 		 || i2c_smbus_read_word_data(client, i + 3) != crit
client            274 drivers/hwmon/lm77.c 		 || i2c_smbus_read_word_data(client, i + 4) != min
client            275 drivers/hwmon/lm77.c 		 || i2c_smbus_read_word_data(client, i + 5) != max)
client            292 drivers/hwmon/lm77.c 	cur = i2c_smbus_read_word_data(client, 0);
client            293 drivers/hwmon/lm77.c 	if (i2c_smbus_read_word_data(client, 6) != cur
client            294 drivers/hwmon/lm77.c 	 || i2c_smbus_read_word_data(client, 7) != cur)
client            296 drivers/hwmon/lm77.c 	hyst = i2c_smbus_read_word_data(client, 2);
client            297 drivers/hwmon/lm77.c 	if (i2c_smbus_read_word_data(client, 6) != hyst
client            298 drivers/hwmon/lm77.c 	 || i2c_smbus_read_word_data(client, 7) != hyst)
client            300 drivers/hwmon/lm77.c 	min = i2c_smbus_read_word_data(client, 4);
client            301 drivers/hwmon/lm77.c 	if (i2c_smbus_read_word_data(client, 6) != min
client            302 drivers/hwmon/lm77.c 	 || i2c_smbus_read_word_data(client, 7) != min)
client            310 drivers/hwmon/lm77.c static void lm77_init_client(struct i2c_client *client)
client            313 drivers/hwmon/lm77.c 	int conf = lm77_read_value(client, LM77_REG_CONF);
client            315 drivers/hwmon/lm77.c 		lm77_write_value(client, LM77_REG_CONF, conf & 0xfe);
client            318 drivers/hwmon/lm77.c static int lm77_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            320 drivers/hwmon/lm77.c 	struct device *dev = &client->dev;
client            328 drivers/hwmon/lm77.c 	data->client = client;
client            332 drivers/hwmon/lm77.c 	lm77_init_client(client);
client            334 drivers/hwmon/lm77.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            111 drivers/hwmon/lm78.c 	struct i2c_client *client;
client            524 drivers/hwmon/lm78.c static int lm78_alias_detect(struct i2c_client *client, u8 chipid)
client            533 drivers/hwmon/lm78.c 	if (lm78_read_value(isa, LM78_REG_I2C_ADDR) != client->addr)
client            544 drivers/hwmon/lm78.c 		    i2c_smbus_read_byte_data(client, i))
client            548 drivers/hwmon/lm78.c 	    i2c_smbus_read_byte_data(client, LM78_REG_CONFIG))
client            552 drivers/hwmon/lm78.c 		    i2c_smbus_read_byte_data(client, i))
client            560 drivers/hwmon/lm78.c static int lm78_alias_detect(struct i2c_client *client, u8 chipid)
client            571 drivers/hwmon/lm78.c static int lm78_i2c_detect(struct i2c_client *client,
client            577 drivers/hwmon/lm78.c 	struct i2c_adapter *adapter = client->adapter;
client            578 drivers/hwmon/lm78.c 	int address = client->addr;
client            591 drivers/hwmon/lm78.c 	if ((i2c_smbus_read_byte_data(client, LM78_REG_CONFIG) & 0x80)
client            592 drivers/hwmon/lm78.c 	 || i2c_smbus_read_byte_data(client, LM78_REG_I2C_ADDR) != address)
client            596 drivers/hwmon/lm78.c 	i = i2c_smbus_read_byte_data(client, 0x4f);
client            601 drivers/hwmon/lm78.c 	i = i2c_smbus_read_byte_data(client, LM78_REG_CHIPID);
client            610 drivers/hwmon/lm78.c 	if (lm78_alias_detect(client, i)) {
client            630 drivers/hwmon/lm78.c static int lm78_i2c_probe(struct i2c_client *client,
client            633 drivers/hwmon/lm78.c 	struct device *dev = &client->dev;
client            641 drivers/hwmon/lm78.c 	data->client = client;
client            647 drivers/hwmon/lm78.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            679 drivers/hwmon/lm78.c 	struct i2c_client *client = data->client;
client            682 drivers/hwmon/lm78.c 	if (!client) { /* ISA device */
client            691 drivers/hwmon/lm78.c 		return i2c_smbus_read_byte_data(client, reg);
client            696 drivers/hwmon/lm78.c 	struct i2c_client *client = data->client;
client            699 drivers/hwmon/lm78.c 	if (!client) { /* ISA device */
client            707 drivers/hwmon/lm78.c 		return i2c_smbus_write_byte_data(client, reg, value);
client            117 drivers/hwmon/lm80.c 	struct i2c_client *client;
client            130 drivers/hwmon/lm80.c static int lm80_read_value(struct i2c_client *client, u8 reg)
client            132 drivers/hwmon/lm80.c 	return i2c_smbus_read_byte_data(client, reg);
client            135 drivers/hwmon/lm80.c static int lm80_write_value(struct i2c_client *client, u8 reg, u8 value)
client            137 drivers/hwmon/lm80.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            141 drivers/hwmon/lm80.c static void lm80_init_client(struct i2c_client *client)
client            148 drivers/hwmon/lm80.c 	lm80_write_value(client, LM80_REG_CONFIG, 0x80);
client            150 drivers/hwmon/lm80.c 	lm80_write_value(client, LM80_REG_RES, 0x08);
client            153 drivers/hwmon/lm80.c 	lm80_write_value(client, LM80_REG_CONFIG, 0x01);
client            159 drivers/hwmon/lm80.c 	struct i2c_client *client = data->client;
client            168 drivers/hwmon/lm80.c 		lm80_init_client(client);
client            173 drivers/hwmon/lm80.c 			rv = lm80_read_value(client, LM80_REG_IN(i));
client            178 drivers/hwmon/lm80.c 			rv = lm80_read_value(client, LM80_REG_IN_MIN(i));
client            183 drivers/hwmon/lm80.c 			rv = lm80_read_value(client, LM80_REG_IN_MAX(i));
client            189 drivers/hwmon/lm80.c 		rv = lm80_read_value(client, LM80_REG_FAN1);
client            194 drivers/hwmon/lm80.c 		rv = lm80_read_value(client, LM80_REG_FAN_MIN(1));
client            199 drivers/hwmon/lm80.c 		rv = lm80_read_value(client, LM80_REG_FAN2);
client            204 drivers/hwmon/lm80.c 		rv = lm80_read_value(client, LM80_REG_FAN_MIN(2));
client            209 drivers/hwmon/lm80.c 		prev_rv = rv = lm80_read_value(client, LM80_REG_TEMP);
client            212 drivers/hwmon/lm80.c 		rv = lm80_read_value(client, LM80_REG_RES);
client            218 drivers/hwmon/lm80.c 			rv = lm80_read_value(client, temp_regs[i]);
client            224 drivers/hwmon/lm80.c 		rv = lm80_read_value(client, LM80_REG_FANDIV);
client            230 drivers/hwmon/lm80.c 		prev_rv = rv = lm80_read_value(client, LM80_REG_ALARM1);
client            233 drivers/hwmon/lm80.c 		rv = lm80_read_value(client, LM80_REG_ALARM2);
client            275 drivers/hwmon/lm80.c 	struct i2c_client *client = data->client;
client            288 drivers/hwmon/lm80.c 	lm80_write_value(client, reg, data->in[nr][index]);
client            321 drivers/hwmon/lm80.c 	struct i2c_client *client = data->client;
client            330 drivers/hwmon/lm80.c 	lm80_write_value(client, LM80_REG_FAN_MIN(index + 1),
client            348 drivers/hwmon/lm80.c 	struct i2c_client *client = data->client;
client            383 drivers/hwmon/lm80.c 	rv = lm80_read_value(client, LM80_REG_FANDIV);
client            390 drivers/hwmon/lm80.c 	lm80_write_value(client, LM80_REG_FANDIV, reg);
client            394 drivers/hwmon/lm80.c 	lm80_write_value(client, LM80_REG_FAN_MIN(nr + 1),
client            417 drivers/hwmon/lm80.c 	struct i2c_client *client = data->client;
client            426 drivers/hwmon/lm80.c 	lm80_write_value(client, temp_regs[nr], data->temp[nr] >> 8);
client            549 drivers/hwmon/lm80.c static int lm80_detect(struct i2c_client *client, struct i2c_board_info *info)
client            551 drivers/hwmon/lm80.c 	struct i2c_adapter *adapter = client->adapter;
client            559 drivers/hwmon/lm80.c 	if ((lm80_read_value(client, LM80_REG_ALARM2) & 0xc0)
client            560 drivers/hwmon/lm80.c 	 || (lm80_read_value(client, LM80_REG_CONFIG) & 0x80))
client            568 drivers/hwmon/lm80.c 	man_id = lm80_read_value(client, LM96080_REG_MAN_ID);
client            569 drivers/hwmon/lm80.c 	dev_id = lm80_read_value(client, LM96080_REG_DEV_ID);
client            572 drivers/hwmon/lm80.c 		if (lm80_read_value(client, LM96080_REG_CONV_RATE) & 0xfe)
client            579 drivers/hwmon/lm80.c 			cur = i2c_smbus_read_byte_data(client, i);
client            580 drivers/hwmon/lm80.c 			if ((i2c_smbus_read_byte_data(client, i + 0x40) != cur)
client            581 drivers/hwmon/lm80.c 			 || (i2c_smbus_read_byte_data(client, i + 0x80) != cur)
client            582 drivers/hwmon/lm80.c 			 || (i2c_smbus_read_byte_data(client, i + 0xc0) != cur))
client            594 drivers/hwmon/lm80.c static int lm80_probe(struct i2c_client *client,
client            597 drivers/hwmon/lm80.c 	struct device *dev = &client->dev;
client            606 drivers/hwmon/lm80.c 	data->client = client;
client            610 drivers/hwmon/lm80.c 	lm80_init_client(client);
client            613 drivers/hwmon/lm80.c 	rv = lm80_read_value(client, LM80_REG_FAN_MIN(1));
client            617 drivers/hwmon/lm80.c 	rv = lm80_read_value(client, LM80_REG_FAN_MIN(2));
client            622 drivers/hwmon/lm80.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            105 drivers/hwmon/lm83.c 	struct i2c_client *client;
client            121 drivers/hwmon/lm83.c 	struct i2c_client *client = data->client;
client            128 drivers/hwmon/lm83.c 		dev_dbg(&client->dev, "Updating lm83 data.\n");
client            131 drivers/hwmon/lm83.c 			    i2c_smbus_read_byte_data(client,
client            135 drivers/hwmon/lm83.c 		    i2c_smbus_read_byte_data(client, LM83_REG_R_STATUS1)
client            136 drivers/hwmon/lm83.c 		    + (i2c_smbus_read_byte_data(client, LM83_REG_R_STATUS2)
client            166 drivers/hwmon/lm83.c 	struct i2c_client *client = data->client;
client            177 drivers/hwmon/lm83.c 	i2c_smbus_write_byte_data(client, LM83_REG_W_HIGH[nr - 4],
client            331 drivers/hwmon/lm83.c 	data->client = new_client;
client            287 drivers/hwmon/lm85.c 	struct i2c_client *client;
client            321 drivers/hwmon/lm85.c static int lm85_read_value(struct i2c_client *client, u8 reg)
client            336 drivers/hwmon/lm85.c 		res = i2c_smbus_read_byte_data(client, reg) & 0xff;
client            337 drivers/hwmon/lm85.c 		res |= i2c_smbus_read_byte_data(client, reg + 1) << 8;
client            340 drivers/hwmon/lm85.c 		res = i2c_smbus_read_byte_data(client, reg);
client            347 drivers/hwmon/lm85.c static void lm85_write_value(struct i2c_client *client, u8 reg, int value)
client            359 drivers/hwmon/lm85.c 		i2c_smbus_write_byte_data(client, reg, value & 0xff);
client            360 drivers/hwmon/lm85.c 		i2c_smbus_write_byte_data(client, reg + 1, value >> 8);
client            363 drivers/hwmon/lm85.c 		i2c_smbus_write_byte_data(client, reg, value);
client            371 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client            379 drivers/hwmon/lm85.c 		dev_dbg(&client->dev, "Reading sensor values\n");
client            389 drivers/hwmon/lm85.c 			int ext1 = lm85_read_value(client,
client            391 drivers/hwmon/lm85.c 			int ext2 =  lm85_read_value(client,
client            404 drivers/hwmon/lm85.c 		data->vid = lm85_read_value(client, LM85_REG_VID);
client            408 drivers/hwmon/lm85.c 			    lm85_read_value(client, LM85_REG_IN(i));
client            410 drivers/hwmon/lm85.c 			    lm85_read_value(client, LM85_REG_FAN(i));
client            414 drivers/hwmon/lm85.c 			data->in[4] = lm85_read_value(client, LM85_REG_IN(4));
client            417 drivers/hwmon/lm85.c 			data->cfg5 = lm85_read_value(client, ADT7468_REG_CFG5);
client            421 drivers/hwmon/lm85.c 			    lm85_read_value(client, LM85_REG_TEMP(i));
client            423 drivers/hwmon/lm85.c 			    lm85_read_value(client, LM85_REG_PWM(i));
client            429 drivers/hwmon/lm85.c 		data->alarms = lm85_read_value(client, LM85_REG_ALARM1);
client            434 drivers/hwmon/lm85.c 				data->in[i] = lm85_read_value(client,
client            438 drivers/hwmon/lm85.c 			data->alarms |= lm85_read_value(client,
client            447 drivers/hwmon/lm85.c 			int ext1 = lm85_read_value(client,
client            449 drivers/hwmon/lm85.c 			int ext2 = lm85_read_value(client,
client            451 drivers/hwmon/lm85.c 			int ext3 = lm85_read_value(client,
client            453 drivers/hwmon/lm85.c 			int ext4 = lm85_read_value(client,
client            472 drivers/hwmon/lm85.c 		dev_dbg(&client->dev, "Reading config values\n");
client            476 drivers/hwmon/lm85.c 			    lm85_read_value(client, LM85_REG_IN_MIN(i));
client            478 drivers/hwmon/lm85.c 			    lm85_read_value(client, LM85_REG_IN_MAX(i));
client            480 drivers/hwmon/lm85.c 			    lm85_read_value(client, LM85_REG_FAN_MIN(i));
client            484 drivers/hwmon/lm85.c 			data->in_min[4] = lm85_read_value(client,
client            486 drivers/hwmon/lm85.c 			data->in_max[4] = lm85_read_value(client,
client            492 drivers/hwmon/lm85.c 				data->in_min[i] = lm85_read_value(client,
client            494 drivers/hwmon/lm85.c 				data->in_max[i] = lm85_read_value(client,
client            503 drivers/hwmon/lm85.c 			    lm85_read_value(client, LM85_REG_TEMP_MIN(i));
client            505 drivers/hwmon/lm85.c 			    lm85_read_value(client, LM85_REG_TEMP_MAX(i));
client            508 drivers/hwmon/lm85.c 			    lm85_read_value(client, LM85_REG_AFAN_CONFIG(i));
client            509 drivers/hwmon/lm85.c 			val = lm85_read_value(client, LM85_REG_AFAN_RANGE(i));
client            513 drivers/hwmon/lm85.c 			    lm85_read_value(client, LM85_REG_AFAN_MINPWM(i));
client            515 drivers/hwmon/lm85.c 			    lm85_read_value(client, LM85_REG_AFAN_LIMIT(i));
client            517 drivers/hwmon/lm85.c 			    lm85_read_value(client, LM85_REG_AFAN_CRITICAL(i));
client            528 drivers/hwmon/lm85.c 			i = lm85_read_value(client, LM85_REG_AFAN_SPIKE1);
client            533 drivers/hwmon/lm85.c 			i = lm85_read_value(client, LM85_REG_AFAN_HYST1);
client            537 drivers/hwmon/lm85.c 			i = lm85_read_value(client, LM85_REG_AFAN_HYST2);
client            574 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client            584 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_FAN_MIN(nr), data->fan_min[nr]);
client            696 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client            706 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_PWM(nr), data->pwm[nr]);
client            739 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client            767 drivers/hwmon/lm85.c 	data->autofan[nr].config = lm85_read_value(client,
client            771 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_AFAN_CONFIG(nr),
client            799 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client            815 drivers/hwmon/lm85.c 		lm85_write_value(client, ADT7468_REG_CFG5, data->cfg5);
client            819 drivers/hwmon/lm85.c 		lm85_write_value(client, LM85_REG_AFAN_RANGE(nr),
client            824 drivers/hwmon/lm85.c 			lm85_write_value(client, ADT7468_REG_CFG5, data->cfg5);
client            865 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client            875 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_IN_MIN(nr), data->in_min[nr]);
client            893 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client            903 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_IN_MAX(nr), data->in_max[nr]);
client            958 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client            971 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_TEMP_MIN(nr), data->temp_min[nr]);
client            990 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client           1003 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_TEMP_MAX(nr), data->temp_max[nr]);
client           1035 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client           1046 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_AFAN_CONFIG(nr),
client           1066 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client           1076 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_AFAN_MINPWM(nr),
client           1097 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client           1108 drivers/hwmon/lm85.c 	tmp = lm85_read_value(client, LM85_REG_AFAN_SPIKE1);
client           1112 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_AFAN_SPIKE1, tmp);
client           1145 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client           1158 drivers/hwmon/lm85.c 		lm85_write_value(client, LM85_REG_AFAN_HYST1,
client           1162 drivers/hwmon/lm85.c 		lm85_write_value(client, LM85_REG_AFAN_HYST2,
client           1184 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client           1194 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_AFAN_LIMIT(nr),
client           1201 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_AFAN_RANGE(nr),
client           1225 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client           1239 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_AFAN_RANGE(nr),
client           1261 drivers/hwmon/lm85.c 	struct i2c_client *client = data->client;
client           1271 drivers/hwmon/lm85.c 	lm85_write_value(client, LM85_REG_AFAN_CRITICAL(nr),
client           1427 drivers/hwmon/lm85.c static void lm85_init_client(struct i2c_client *client)
client           1432 drivers/hwmon/lm85.c 	value = lm85_read_value(client, LM85_REG_CONFIG);
client           1434 drivers/hwmon/lm85.c 		dev_info(&client->dev, "Starting monitoring\n");
client           1435 drivers/hwmon/lm85.c 		lm85_write_value(client, LM85_REG_CONFIG, value | 0x01);
client           1440 drivers/hwmon/lm85.c 		dev_warn(&client->dev, "Device configuration is locked\n");
client           1442 drivers/hwmon/lm85.c 		dev_warn(&client->dev, "Device is not ready\n");
client           1445 drivers/hwmon/lm85.c static int lm85_is_fake(struct i2c_client *client)
client           1456 drivers/hwmon/lm85.c 		in_temp = i2c_smbus_read_byte_data(client, 0x20 + i);
client           1457 drivers/hwmon/lm85.c 		fan = i2c_smbus_read_byte_data(client, 0x28 + i);
client           1466 drivers/hwmon/lm85.c static int lm85_detect(struct i2c_client *client, struct i2c_board_info *info)
client           1468 drivers/hwmon/lm85.c 	struct i2c_adapter *adapter = client->adapter;
client           1469 drivers/hwmon/lm85.c 	int address = client->addr;
client           1479 drivers/hwmon/lm85.c 	company = lm85_read_value(client, LM85_REG_COMPANY);
client           1480 drivers/hwmon/lm85.c 	verstep = lm85_read_value(client, LM85_REG_VERSTEP);
client           1497 drivers/hwmon/lm85.c 			if (lm85_is_fake(client)) {
client           1547 drivers/hwmon/lm85.c static int lm85_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1549 drivers/hwmon/lm85.c 	struct device *dev = &client->dev;
client           1558 drivers/hwmon/lm85.c 	data->client = client;
client           1559 drivers/hwmon/lm85.c 	if (client->dev.of_node)
client           1560 drivers/hwmon/lm85.c 		data->type = (enum chips)of_device_get_match_data(&client->dev);
client           1590 drivers/hwmon/lm85.c 	lm85_init_client(client);
client           1606 drivers/hwmon/lm85.c 		u8 vid = lm85_read_value(client, LM85_REG_VID);
client           1618 drivers/hwmon/lm85.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            173 drivers/hwmon/lm87.c static inline int lm87_read_value(struct i2c_client *client, u8 reg)
client            175 drivers/hwmon/lm87.c 	return i2c_smbus_read_byte_data(client, reg);
client            178 drivers/hwmon/lm87.c static inline int lm87_write_value(struct i2c_client *client, u8 reg, u8 value)
client            180 drivers/hwmon/lm87.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            185 drivers/hwmon/lm87.c 	struct i2c_client *client = dev_get_drvdata(dev);
client            186 drivers/hwmon/lm87.c 	struct lm87_data *data = i2c_get_clientdata(client);
client            193 drivers/hwmon/lm87.c 		dev_dbg(&client->dev, "Updating data.\n");
client            198 drivers/hwmon/lm87.c 			data->in[i] = lm87_read_value(client,
client            200 drivers/hwmon/lm87.c 			data->in_min[i] = lm87_read_value(client,
client            202 drivers/hwmon/lm87.c 			data->in_max[i] = lm87_read_value(client,
client            208 drivers/hwmon/lm87.c 				data->in[6+i] = lm87_read_value(client,
client            210 drivers/hwmon/lm87.c 				data->in_max[6+i] = lm87_read_value(client,
client            212 drivers/hwmon/lm87.c 				data->in_min[6+i] = lm87_read_value(client,
client            216 drivers/hwmon/lm87.c 				data->fan[i] = lm87_read_value(client,
client            218 drivers/hwmon/lm87.c 				data->fan_min[i] = lm87_read_value(client,
client            225 drivers/hwmon/lm87.c 			data->temp[i] = lm87_read_value(client,
client            227 drivers/hwmon/lm87.c 			data->temp_high[i] = lm87_read_value(client,
client            229 drivers/hwmon/lm87.c 			data->temp_low[i] = lm87_read_value(client,
client            233 drivers/hwmon/lm87.c 		i = lm87_read_value(client, LM87_REG_TEMP_HW_INT_LOCK);
client            234 drivers/hwmon/lm87.c 		j = lm87_read_value(client, LM87_REG_TEMP_HW_INT);
client            237 drivers/hwmon/lm87.c 		i = lm87_read_value(client, LM87_REG_TEMP_HW_EXT_LOCK);
client            238 drivers/hwmon/lm87.c 		j = lm87_read_value(client, LM87_REG_TEMP_HW_EXT);
client            241 drivers/hwmon/lm87.c 		i = lm87_read_value(client, LM87_REG_VID_FAN_DIV);
client            245 drivers/hwmon/lm87.c 			  | (lm87_read_value(client, LM87_REG_VID4) & 0x01)
client            248 drivers/hwmon/lm87.c 		data->alarms = lm87_read_value(client, LM87_REG_ALARMS1)
client            249 drivers/hwmon/lm87.c 			     | (lm87_read_value(client, LM87_REG_ALARMS2)
client            251 drivers/hwmon/lm87.c 		data->aout = lm87_read_value(client, LM87_REG_AOUT);
client            299 drivers/hwmon/lm87.c 	struct i2c_client *client = dev_get_drvdata(dev);
client            300 drivers/hwmon/lm87.c 	struct lm87_data *data = i2c_get_clientdata(client);
client            311 drivers/hwmon/lm87.c 	lm87_write_value(client, nr < 6 ? LM87_REG_IN_MIN(nr) :
client            320 drivers/hwmon/lm87.c 	struct i2c_client *client = dev_get_drvdata(dev);
client            321 drivers/hwmon/lm87.c 	struct lm87_data *data = i2c_get_clientdata(client);
client            332 drivers/hwmon/lm87.c 	lm87_write_value(client, nr < 6 ? LM87_REG_IN_MAX(nr) :
client            396 drivers/hwmon/lm87.c 	struct i2c_client *client = dev_get_drvdata(dev);
client            397 drivers/hwmon/lm87.c 	struct lm87_data *data = i2c_get_clientdata(client);
client            408 drivers/hwmon/lm87.c 	lm87_write_value(client, LM87_REG_TEMP_LOW[nr], data->temp_low[nr]);
client            417 drivers/hwmon/lm87.c 	struct i2c_client *client = dev_get_drvdata(dev);
client            418 drivers/hwmon/lm87.c 	struct lm87_data *data = i2c_get_clientdata(client);
client            429 drivers/hwmon/lm87.c 	lm87_write_value(client, LM87_REG_TEMP_HIGH[nr], data->temp_high[nr]);
client            496 drivers/hwmon/lm87.c 	struct i2c_client *client = dev_get_drvdata(dev);
client            497 drivers/hwmon/lm87.c 	struct lm87_data *data = i2c_get_clientdata(client);
client            509 drivers/hwmon/lm87.c 	lm87_write_value(client, LM87_REG_FAN_MIN(nr), data->fan_min[nr]);
client            524 drivers/hwmon/lm87.c 	struct i2c_client *client = dev_get_drvdata(dev);
client            525 drivers/hwmon/lm87.c 	struct lm87_data *data = i2c_get_clientdata(client);
client            558 drivers/hwmon/lm87.c 	reg = lm87_read_value(client, LM87_REG_VID_FAN_DIV);
client            567 drivers/hwmon/lm87.c 	lm87_write_value(client, LM87_REG_VID_FAN_DIV, reg);
client            570 drivers/hwmon/lm87.c 	lm87_write_value(client, LM87_REG_FAN_MIN(nr),
client            635 drivers/hwmon/lm87.c 	struct i2c_client *client = dev_get_drvdata(dev);
client            636 drivers/hwmon/lm87.c 	struct lm87_data *data = i2c_get_clientdata(client);
client            646 drivers/hwmon/lm87.c 	lm87_write_value(client, LM87_REG_AOUT, data->aout);
client            808 drivers/hwmon/lm87.c static int lm87_detect(struct i2c_client *client, struct i2c_board_info *info)
client            810 drivers/hwmon/lm87.c 	struct i2c_adapter *adapter = client->adapter;
client            817 drivers/hwmon/lm87.c 	if (lm87_read_value(client, LM87_REG_CONFIG) & 0x80)
client            821 drivers/hwmon/lm87.c 	cid = lm87_read_value(client, LM87_REG_COMPANY_ID);
client            822 drivers/hwmon/lm87.c 	rev = lm87_read_value(client, LM87_REG_REVISION);
client            832 drivers/hwmon/lm87.c 			client->addr);
client            843 drivers/hwmon/lm87.c 	struct i2c_client *client = arg;
client            844 drivers/hwmon/lm87.c 	struct lm87_data *data = i2c_get_clientdata(client);
client            846 drivers/hwmon/lm87.c 	lm87_write_value(client, LM87_REG_CONFIG, data->config);
client            849 drivers/hwmon/lm87.c static int lm87_init_client(struct i2c_client *client)
client            851 drivers/hwmon/lm87.c 	struct lm87_data *data = i2c_get_clientdata(client);
client            853 drivers/hwmon/lm87.c 	struct device_node *of_node = client->dev.of_node;
client            864 drivers/hwmon/lm87.c 		vcc = devm_regulator_get_optional(&client->dev, "vcc");
client            870 drivers/hwmon/lm87.c 		lm87_write_value(client,
client            872 drivers/hwmon/lm87.c 	} else if (dev_get_platdata(&client->dev)) {
client            873 drivers/hwmon/lm87.c 		data->channel = *(u8 *)dev_get_platdata(&client->dev);
client            874 drivers/hwmon/lm87.c 		lm87_write_value(client,
client            877 drivers/hwmon/lm87.c 		data->channel = lm87_read_value(client, LM87_REG_CHANNEL_MODE);
client            879 drivers/hwmon/lm87.c 	data->config = lm87_read_value(client, LM87_REG_CONFIG) & 0x6F;
client            881 drivers/hwmon/lm87.c 	rc = devm_add_action(&client->dev, lm87_restore_config, client);
client            890 drivers/hwmon/lm87.c 			lm87_write_value(client, LM87_REG_IN_MIN(i), 0x00);
client            891 drivers/hwmon/lm87.c 			lm87_write_value(client, LM87_REG_IN_MAX(i), 0xFF);
client            894 drivers/hwmon/lm87.c 			lm87_write_value(client, LM87_REG_TEMP_HIGH[i], 0x7F);
client            895 drivers/hwmon/lm87.c 			lm87_write_value(client, LM87_REG_TEMP_LOW[i], 0x00);
client            896 drivers/hwmon/lm87.c 			lm87_write_value(client, LM87_REG_AIN_MIN(i), 0x00);
client            897 drivers/hwmon/lm87.c 			lm87_write_value(client, LM87_REG_AIN_MAX(i), 0xFF);
client            900 drivers/hwmon/lm87.c 			lm87_write_value(client, LM87_REG_TEMP_HIGH[2], 0x7F);
client            901 drivers/hwmon/lm87.c 			lm87_write_value(client, LM87_REG_TEMP_LOW[2], 0x00);
client            903 drivers/hwmon/lm87.c 			lm87_write_value(client, LM87_REG_IN_MIN(0), 0x00);
client            904 drivers/hwmon/lm87.c 			lm87_write_value(client, LM87_REG_IN_MAX(0), 0xFF);
client            910 drivers/hwmon/lm87.c 		lm87_write_value(client, LM87_REG_CONFIG,
client            915 drivers/hwmon/lm87.c static int lm87_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            922 drivers/hwmon/lm87.c 	data = devm_kzalloc(&client->dev, sizeof(struct lm87_data), GFP_KERNEL);
client            926 drivers/hwmon/lm87.c 	i2c_set_clientdata(client, data);
client            930 drivers/hwmon/lm87.c 	err = lm87_init_client(client);
client            969 drivers/hwmon/lm87.c 	    &client->dev, client->name, client, data->attr_groups);
client            449 drivers/hwmon/lm90.c 	struct i2c_client *client;
client            485 drivers/hwmon/lm90.c static inline s32 adm1032_write_byte(struct i2c_client *client, u8 value)
client            487 drivers/hwmon/lm90.c 	return i2c_smbus_xfer(client->adapter, client->addr,
client            488 drivers/hwmon/lm90.c 			      client->flags & ~I2C_CLIENT_PEC,
client            498 drivers/hwmon/lm90.c static int lm90_read_reg(struct i2c_client *client, u8 reg)
client            502 drivers/hwmon/lm90.c 	if (client->flags & I2C_CLIENT_PEC) {
client            503 drivers/hwmon/lm90.c 		err = adm1032_write_byte(client, reg);
client            505 drivers/hwmon/lm90.c 			err = i2c_smbus_read_byte(client);
client            507 drivers/hwmon/lm90.c 		err = i2c_smbus_read_byte_data(client, reg);
client            512 drivers/hwmon/lm90.c static int lm90_read16(struct i2c_client *client, u8 regh, u8 regl)
client            529 drivers/hwmon/lm90.c 	oldh = lm90_read_reg(client, regh);
client            532 drivers/hwmon/lm90.c 	l = lm90_read_reg(client, regl);
client            535 drivers/hwmon/lm90.c 	newh = lm90_read_reg(client, regh);
client            539 drivers/hwmon/lm90.c 		l = lm90_read_reg(client, regl);
client            551 drivers/hwmon/lm90.c 		err = i2c_smbus_write_byte_data(data->client,
client            596 drivers/hwmon/lm90.c 	err = i2c_smbus_write_byte_data(data->client, LM90_REG_W_CONVRATE, val);
client            609 drivers/hwmon/lm90.c static int lm90_set_convrate(struct i2c_client *client, struct lm90_data *data,
client            632 drivers/hwmon/lm90.c 	struct i2c_client *client = data->client;
client            635 drivers/hwmon/lm90.c 	val = lm90_read_reg(client, LM90_REG_R_LOCAL_CRIT);
client            640 drivers/hwmon/lm90.c 	val = lm90_read_reg(client, LM90_REG_R_REMOTE_CRIT);
client            645 drivers/hwmon/lm90.c 	val = lm90_read_reg(client, LM90_REG_R_TCRIT_HYST);
client            650 drivers/hwmon/lm90.c 	val = lm90_read_reg(client, LM90_REG_R_REMOTE_LOWH);
client            656 drivers/hwmon/lm90.c 		val = lm90_read_reg(client, LM90_REG_R_REMOTE_LOWL);
client            662 drivers/hwmon/lm90.c 	val = lm90_read_reg(client, LM90_REG_R_REMOTE_HIGHH);
client            668 drivers/hwmon/lm90.c 		val = lm90_read_reg(client, LM90_REG_R_REMOTE_HIGHL);
client            675 drivers/hwmon/lm90.c 		val = lm90_read16(client, LM90_REG_R_REMOTE_OFFSH,
client            683 drivers/hwmon/lm90.c 		val = lm90_read_reg(client, MAX6659_REG_R_LOCAL_EMERG);
client            688 drivers/hwmon/lm90.c 		val = lm90_read_reg(client, MAX6659_REG_R_REMOTE_EMERG);
client            699 drivers/hwmon/lm90.c 		val = lm90_read_reg(client, LM90_REG_R_REMOTE_CRIT);
client            704 drivers/hwmon/lm90.c 		val = lm90_read_reg(client, MAX6659_REG_R_REMOTE_EMERG);
client            709 drivers/hwmon/lm90.c 		val = lm90_read_reg(client, LM90_REG_R_REMOTE_LOWH);
client            714 drivers/hwmon/lm90.c 		val = lm90_read_reg(client, LM90_REG_R_REMOTE_HIGHH);
client            728 drivers/hwmon/lm90.c 	struct i2c_client *client = data->client;
client            741 drivers/hwmon/lm90.c 		dev_dbg(&client->dev, "Updating lm90 data.\n");
client            745 drivers/hwmon/lm90.c 		val = lm90_read_reg(client, LM90_REG_R_LOCAL_LOW);
client            750 drivers/hwmon/lm90.c 		val = lm90_read_reg(client, LM90_REG_R_LOCAL_HIGH);
client            756 drivers/hwmon/lm90.c 			val = lm90_read16(client, LM90_REG_R_LOCAL_TEMP,
client            762 drivers/hwmon/lm90.c 			val = lm90_read_reg(client, LM90_REG_R_LOCAL_TEMP);
client            767 drivers/hwmon/lm90.c 		val = lm90_read16(client, LM90_REG_R_REMOTE_TEMPH,
client            773 drivers/hwmon/lm90.c 		val = lm90_read_reg(client, LM90_REG_R_STATUS);
client            783 drivers/hwmon/lm90.c 			val = lm90_read16(client, LM90_REG_R_REMOTE_TEMPH,
client            793 drivers/hwmon/lm90.c 			val = lm90_read_reg(client, MAX6696_REG_R_STATUS2);
client            806 drivers/hwmon/lm90.c 				dev_dbg(&client->dev, "Re-enabling ALERT#\n");
client            945 drivers/hwmon/lm90.c 	struct i2c_client *client = to_i2c_client(dev);
client            947 drivers/hwmon/lm90.c 	return sprintf(buf, "%d\n", !!(client->flags & I2C_CLIENT_PEC));
client            953 drivers/hwmon/lm90.c 	struct i2c_client *client = to_i2c_client(dev);
client            963 drivers/hwmon/lm90.c 		client->flags &= ~I2C_CLIENT_PEC;
client            966 drivers/hwmon/lm90.c 		client->flags |= I2C_CLIENT_PEC;
client           1008 drivers/hwmon/lm90.c 	struct i2c_client *client = data->client;
client           1026 drivers/hwmon/lm90.c 	err = i2c_smbus_write_byte_data(client, regp->high,
client           1031 drivers/hwmon/lm90.c 		err = i2c_smbus_write_byte_data(client, regp->low,
client           1069 drivers/hwmon/lm90.c 	struct i2c_client *client = data->client;
client           1084 drivers/hwmon/lm90.c 	err = i2c_smbus_write_byte_data(client, reg[index], data->temp8[index]);
client           1110 drivers/hwmon/lm90.c 	struct i2c_client *client = data->client;
client           1122 drivers/hwmon/lm90.c 	err = i2c_smbus_write_byte_data(client, LM90_REG_W_TCRIT_HYST,
client           1328 drivers/hwmon/lm90.c 	struct i2c_client *client = data->client;
client           1339 drivers/hwmon/lm90.c 		err = lm90_set_convrate(client, data,
client           1404 drivers/hwmon/lm90.c static int lm90_detect(struct i2c_client *client,
client           1407 drivers/hwmon/lm90.c 	struct i2c_adapter *adapter = client->adapter;
client           1408 drivers/hwmon/lm90.c 	int address = client->addr;
client           1416 drivers/hwmon/lm90.c 	man_id = i2c_smbus_read_byte_data(client, LM90_REG_R_MAN_ID);
client           1417 drivers/hwmon/lm90.c 	chip_id = i2c_smbus_read_byte_data(client, LM90_REG_R_CHIP_ID);
client           1418 drivers/hwmon/lm90.c 	config1 = i2c_smbus_read_byte_data(client, LM90_REG_R_CONFIG1);
client           1419 drivers/hwmon/lm90.c 	convrate = i2c_smbus_read_byte_data(client, LM90_REG_R_CONVRATE);
client           1424 drivers/hwmon/lm90.c 		config2 = i2c_smbus_read_byte_data(client, LM90_REG_R_CONFIG2);
client           1489 drivers/hwmon/lm90.c 		emerg = i2c_smbus_read_byte_data(client,
client           1491 drivers/hwmon/lm90.c 		man_id = i2c_smbus_read_byte_data(client,
client           1493 drivers/hwmon/lm90.c 		emerg2 = i2c_smbus_read_byte_data(client,
client           1495 drivers/hwmon/lm90.c 		status2 = i2c_smbus_read_byte_data(client,
client           1596 drivers/hwmon/lm90.c 		local_ext = i2c_smbus_read_byte_data(client,
client           1621 drivers/hwmon/lm90.c 	struct i2c_client *client = data->client;
client           1625 drivers/hwmon/lm90.c 	i2c_smbus_write_byte_data(client, LM90_REG_W_CONFIG1,
client           1629 drivers/hwmon/lm90.c static int lm90_init_client(struct i2c_client *client, struct lm90_data *data)
client           1633 drivers/hwmon/lm90.c 	convrate = lm90_read_reg(client, LM90_REG_R_CONVRATE);
client           1641 drivers/hwmon/lm90.c 	config = lm90_read_reg(client, LM90_REG_R_CONFIG1);
client           1647 drivers/hwmon/lm90.c 	lm90_set_convrate(client, data, 500); /* 500ms; 2Hz conversion rate */
client           1672 drivers/hwmon/lm90.c 	return devm_add_action_or_reset(&client->dev, lm90_restore_conf, data);
client           1675 drivers/hwmon/lm90.c static bool lm90_is_tripped(struct i2c_client *client, u16 *status)
client           1677 drivers/hwmon/lm90.c 	struct lm90_data *data = i2c_get_clientdata(client);
client           1680 drivers/hwmon/lm90.c 	st = lm90_read_reg(client, LM90_REG_R_STATUS);
client           1685 drivers/hwmon/lm90.c 		st2 = lm90_read_reg(client, MAX6696_REG_R_STATUS2);
client           1697 drivers/hwmon/lm90.c 		dev_warn(&client->dev,
client           1701 drivers/hwmon/lm90.c 		dev_warn(&client->dev,
client           1704 drivers/hwmon/lm90.c 		dev_warn(&client->dev,
client           1708 drivers/hwmon/lm90.c 		dev_warn(&client->dev,
client           1711 drivers/hwmon/lm90.c 		dev_warn(&client->dev,
client           1719 drivers/hwmon/lm90.c 	struct i2c_client *client = dev_id;
client           1722 drivers/hwmon/lm90.c 	if (lm90_is_tripped(client, &status))
client           1745 drivers/hwmon/lm90.c static int lm90_probe(struct i2c_client *client,
client           1748 drivers/hwmon/lm90.c 	struct device *dev = &client->dev;
client           1749 drivers/hwmon/lm90.c 	struct i2c_adapter *adapter = client->adapter;
client           1774 drivers/hwmon/lm90.c 	data->client = client;
client           1775 drivers/hwmon/lm90.c 	i2c_set_clientdata(client, data);
client           1779 drivers/hwmon/lm90.c 	if (client->dev.of_node)
client           1780 drivers/hwmon/lm90.c 		data->kind = (enum chips)of_device_get_match_data(&client->dev);
client           1785 drivers/hwmon/lm90.c 			client->flags &= ~I2C_CLIENT_PEC;
client           1846 drivers/hwmon/lm90.c 	err = lm90_init_client(client, data);
client           1856 drivers/hwmon/lm90.c 	if (client->flags & I2C_CLIENT_PEC) {
client           1865 drivers/hwmon/lm90.c 	hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name,
client           1871 drivers/hwmon/lm90.c 	if (client->irq) {
client           1872 drivers/hwmon/lm90.c 		dev_dbg(dev, "IRQ: %d\n", client->irq);
client           1873 drivers/hwmon/lm90.c 		err = devm_request_threaded_irq(dev, client->irq,
client           1876 drivers/hwmon/lm90.c 						"lm90", client);
client           1878 drivers/hwmon/lm90.c 			dev_err(dev, "cannot request IRQ %d\n", client->irq);
client           1886 drivers/hwmon/lm90.c static void lm90_alert(struct i2c_client *client, enum i2c_alert_protocol type,
client           1894 drivers/hwmon/lm90.c 	if (lm90_is_tripped(client, &alarms)) {
client           1900 drivers/hwmon/lm90.c 		struct lm90_data *data = i2c_get_clientdata(client);
client           1904 drivers/hwmon/lm90.c 			dev_dbg(&client->dev, "Disabling ALERT#\n");
client           1908 drivers/hwmon/lm90.c 		dev_info(&client->dev, "Everything OK\n");
client            100 drivers/hwmon/lm92.c 	struct i2c_client *client;
client            116 drivers/hwmon/lm92.c 	struct i2c_client *client = data->client;
client            123 drivers/hwmon/lm92.c 		dev_dbg(&client->dev, "Updating lm92 data\n");
client            126 drivers/hwmon/lm92.c 				i2c_smbus_read_word_swapped(client, regs[i]);
client            152 drivers/hwmon/lm92.c 	struct i2c_client *client = data->client;
client            163 drivers/hwmon/lm92.c 	i2c_smbus_write_word_swapped(client, regs[nr], data->temp[nr]);
client            193 drivers/hwmon/lm92.c 	struct i2c_client *client = data->client;
client            205 drivers/hwmon/lm92.c 	i2c_smbus_write_word_swapped(client, LM92_REG_TEMP_HYST,
client            243 drivers/hwmon/lm92.c static void lm92_init_client(struct i2c_client *client)
client            248 drivers/hwmon/lm92.c 	config = i2c_smbus_read_byte_data(client, LM92_REG_CONFIG);
client            250 drivers/hwmon/lm92.c 		i2c_smbus_write_byte_data(client, LM92_REG_CONFIG,
client            306 drivers/hwmon/lm92.c 	data->client = new_client;
client            197 drivers/hwmon/lm93.c 	struct i2c_client *client;
client            798 drivers/hwmon/lm93.c static u8 lm93_read_byte(struct i2c_client *client, u8 reg)
client            804 drivers/hwmon/lm93.c 		value = i2c_smbus_read_byte_data(client, reg);
client            808 drivers/hwmon/lm93.c 			dev_warn(&client->dev,
client            817 drivers/hwmon/lm93.c 	dev_err(&client->dev, "lm93: All read byte retries failed!!\n");
client            821 drivers/hwmon/lm93.c static int lm93_write_byte(struct i2c_client *client, u8 reg, u8 value)
client            826 drivers/hwmon/lm93.c 	result = i2c_smbus_write_byte_data(client, reg, value);
client            829 drivers/hwmon/lm93.c 		dev_warn(&client->dev,
client            836 drivers/hwmon/lm93.c static u16 lm93_read_word(struct i2c_client *client, u8 reg)
client            842 drivers/hwmon/lm93.c 		value = i2c_smbus_read_word_data(client, reg);
client            846 drivers/hwmon/lm93.c 			dev_warn(&client->dev,
client            855 drivers/hwmon/lm93.c 	dev_err(&client->dev, "lm93: All read word retries failed!!\n");
client            859 drivers/hwmon/lm93.c static int lm93_write_word(struct i2c_client *client, u8 reg, u16 value)
client            864 drivers/hwmon/lm93.c 	result = i2c_smbus_write_word_data(client, reg, value);
client            867 drivers/hwmon/lm93.c 		dev_warn(&client->dev,
client            881 drivers/hwmon/lm93.c static void lm93_read_block(struct i2c_client *client, u8 fbn, u8 *values)
client            886 drivers/hwmon/lm93.c 		result = i2c_smbus_read_block_data(client,
client            892 drivers/hwmon/lm93.c 			dev_warn(&client->dev,
client            910 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client            918 drivers/hwmon/lm93.c 		data->update(data, client);
client            929 drivers/hwmon/lm93.c 				      struct i2c_client *client)
client            937 drivers/hwmon/lm93.c 			lm93_read_byte(client, LM93_REG_TEMP_MIN(i));
client            939 drivers/hwmon/lm93.c 			lm93_read_byte(client, LM93_REG_TEMP_MAX(i));
client            943 drivers/hwmon/lm93.c 	data->config = lm93_read_byte(client, LM93_REG_CONFIG);
client            947 drivers/hwmon/lm93.c 		data->vid[i] = lm93_read_byte(client, LM93_REG_VID(i));
client            951 drivers/hwmon/lm93.c 		data->prochot_max[i] = lm93_read_byte(client,
client            956 drivers/hwmon/lm93.c 		data->vccp_limits[i] = lm93_read_byte(client,
client            960 drivers/hwmon/lm93.c 	data->gpi = lm93_read_byte(client, LM93_REG_GPI);
client            963 drivers/hwmon/lm93.c 	data->prochot_override = lm93_read_byte(client,
client            967 drivers/hwmon/lm93.c 	data->prochot_interval = lm93_read_byte(client,
client            972 drivers/hwmon/lm93.c 		data->boost[i] = lm93_read_byte(client, LM93_REG_BOOST(i));
client            975 drivers/hwmon/lm93.c 	data->boost_hyst[0] = lm93_read_byte(client, LM93_REG_BOOST_HYST_12);
client            976 drivers/hwmon/lm93.c 	data->boost_hyst[1] = lm93_read_byte(client, LM93_REG_BOOST_HYST_34);
client            980 drivers/hwmon/lm93.c 			lm93_read_byte(client, LM93_REG_PWM_MIN_HYST_12);
client            982 drivers/hwmon/lm93.c 			lm93_read_byte(client, LM93_REG_PWM_MIN_HYST_34);
client            985 drivers/hwmon/lm93.c 	data->pwm_ramp_ctl = lm93_read_byte(client, LM93_REG_PWM_RAMP_CTL);
client            988 drivers/hwmon/lm93.c 	data->sfc1 = lm93_read_byte(client, LM93_REG_SFC1);
client            989 drivers/hwmon/lm93.c 	data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2);
client            990 drivers/hwmon/lm93.c 	data->sf_tach_to_pwm = lm93_read_byte(client,
client            995 drivers/hwmon/lm93.c 		lm93_write_byte(client, LM93_REG_HOST_ERROR_1 + i, *(ptr + i));
client           1000 drivers/hwmon/lm93.c 				    struct i2c_client *client)
client           1002 drivers/hwmon/lm93.c 	dev_dbg(&client->dev, "starting device update (block data enabled)\n");
client           1005 drivers/hwmon/lm93.c 	lm93_read_block(client, 3, (u8 *)(data->block3));
client           1006 drivers/hwmon/lm93.c 	lm93_read_block(client, 7, (u8 *)(data->block7));
client           1009 drivers/hwmon/lm93.c 	lm93_read_block(client, 2, (u8 *)(data->block2));
client           1012 drivers/hwmon/lm93.c 	lm93_read_block(client, 4, (u8 *)(data->block4));
client           1015 drivers/hwmon/lm93.c 	lm93_read_block(client, 5, (u8 *)(data->block5));
client           1016 drivers/hwmon/lm93.c 	lm93_read_block(client, 8, (u8 *)(data->block8));
client           1019 drivers/hwmon/lm93.c 	lm93_read_block(client, 9, (u8 *)(data->block9));
client           1022 drivers/hwmon/lm93.c 	lm93_read_block(client, 1, (u8 *)(&data->block1));
client           1025 drivers/hwmon/lm93.c 	lm93_read_block(client, 10, (u8 *)(&data->block10));
client           1027 drivers/hwmon/lm93.c 	lm93_update_client_common(data, client);
client           1032 drivers/hwmon/lm93.c 				   struct i2c_client *client)
client           1037 drivers/hwmon/lm93.c 	dev_dbg(&client->dev, "starting device update (block data disabled)\n");
client           1042 drivers/hwmon/lm93.c 			lm93_read_byte(client, LM93_REG_IN(i));
client           1044 drivers/hwmon/lm93.c 			lm93_read_byte(client, LM93_REG_IN_MIN(i));
client           1046 drivers/hwmon/lm93.c 			lm93_read_byte(client, LM93_REG_IN_MAX(i));
client           1052 drivers/hwmon/lm93.c 			lm93_read_byte(client, LM93_REG_TEMP(i));
client           1058 drivers/hwmon/lm93.c 			lm93_read_byte(client, LM93_REG_PROCHOT_CUR(i));
client           1060 drivers/hwmon/lm93.c 			lm93_read_byte(client, LM93_REG_PROCHOT_AVG(i));
client           1066 drivers/hwmon/lm93.c 			lm93_read_word(client, LM93_REG_FAN(i));
client           1068 drivers/hwmon/lm93.c 			lm93_read_word(client, LM93_REG_FAN_MIN(i));
client           1075 drivers/hwmon/lm93.c 				lm93_read_byte(client, LM93_REG_PWM_CTL(i, j));
client           1082 drivers/hwmon/lm93.c 			lm93_read_byte(client, LM93_REG_HOST_ERROR_1 + i);
client           1088 drivers/hwmon/lm93.c 			lm93_read_byte(client, LM93_REG_TEMP_BASE(i));
client           1094 drivers/hwmon/lm93.c 			lm93_read_byte(client, LM93_REG_TEMP_OFFSET(i));
client           1097 drivers/hwmon/lm93.c 	lm93_update_client_common(data, client);
client           1149 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1164 drivers/hwmon/lm93.c 		lm93_write_byte(client, LM93_REG_VCCP_LIMIT_OFF(vccp),
client           1168 drivers/hwmon/lm93.c 		lm93_write_byte(client, LM93_REG_IN_MIN(nr),
client           1214 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1229 drivers/hwmon/lm93.c 		lm93_write_byte(client, LM93_REG_VCCP_LIMIT_OFF(vccp),
client           1233 drivers/hwmon/lm93.c 		lm93_write_byte(client, LM93_REG_IN_MAX(nr),
client           1283 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1293 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_TEMP_MIN(nr), data->temp_lim[nr].min);
client           1316 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1326 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_TEMP_MAX(nr), data->temp_lim[nr].max);
client           1349 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1359 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_TEMP_BASE(nr), data->block10.base[nr]);
client           1382 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1392 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_BOOST(nr), data->boost[nr]);
client           1418 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1428 drivers/hwmon/lm93.c 	data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2);
client           1430 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_SFC2, data->sfc2);
client           1432 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_BOOST_HYST(nr),
client           1463 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1473 drivers/hwmon/lm93.c 	data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2);
client           1475 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_SFC2, data->sfc2);
client           1478 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_TEMP_OFFSET(ofs),
client           1540 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1550 drivers/hwmon/lm93.c 	reg = lm93_read_byte(client, LM93_REG_PWM_MIN_HYST(nr));
client           1551 drivers/hwmon/lm93.c 	ctl4 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL4));
client           1557 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PWM_MIN_HYST(nr), reg);
client           1583 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1594 drivers/hwmon/lm93.c 	data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2);
client           1596 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_SFC2, data->sfc2);
client           1600 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PWM_MIN_HYST(nr), reg);
client           1639 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1649 drivers/hwmon/lm93.c 	lm93_write_word(client, LM93_REG_FAN_MIN(nr), data->block8[nr]);
client           1694 drivers/hwmon/lm93.c static void lm93_write_fan_smart_tach(struct i2c_client *client,
client           1698 drivers/hwmon/lm93.c 	data->sf_tach_to_pwm = lm93_read_byte(client, LM93_REG_SF_TACH_TO_PWM);
client           1701 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_SF_TACH_TO_PWM, data->sf_tach_to_pwm);
client           1704 drivers/hwmon/lm93.c 	data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2);
client           1709 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_SFC2, data->sfc2);
client           1718 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1731 drivers/hwmon/lm93.c 			u8 ctl4 = lm93_read_byte(client,
client           1736 drivers/hwmon/lm93.c 		lm93_write_fan_smart_tach(client, data, nr, val);
client           1770 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1780 drivers/hwmon/lm93.c 	ctl2 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL2));
client           1781 drivers/hwmon/lm93.c 	ctl4 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL4));
client           1788 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL2), ctl2);
client           1818 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1828 drivers/hwmon/lm93.c 	ctl2 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL2));
client           1845 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL2), ctl2);
client           1869 drivers/hwmon/lm93.c static void lm93_disable_fan_smart_tach(struct i2c_client *client,
client           1872 drivers/hwmon/lm93.c 	int mapping = lm93_read_byte(client, LM93_REG_SF_TACH_TO_PWM);
client           1883 drivers/hwmon/lm93.c 	data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2);
client           1885 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_SFC2, data->sfc2);
client           1894 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1904 drivers/hwmon/lm93.c 	ctl4 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL4));
client           1909 drivers/hwmon/lm93.c 		lm93_disable_fan_smart_tach(client, data, nr);
client           1910 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL4), ctl4);
client           1933 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1943 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL1),
client           1973 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           1983 drivers/hwmon/lm93.c 	ctl3 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL3));
client           1984 drivers/hwmon/lm93.c 	ctl4 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL4));
client           1989 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL3), ctl3);
client           2013 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           2023 drivers/hwmon/lm93.c 	ctl3 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL3));
client           2026 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL3), ctl3);
client           2047 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           2057 drivers/hwmon/lm93.c 	ramp = lm93_read_byte(client, LM93_REG_PWM_RAMP_CTL);
client           2059 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PWM_RAMP_CTL, ramp);
client           2079 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           2089 drivers/hwmon/lm93.c 	ramp = lm93_read_byte(client, LM93_REG_PWM_RAMP_CTL);
client           2091 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PWM_RAMP_CTL, ramp);
client           2145 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           2155 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PROCHOT_MAX(nr),
client           2181 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           2194 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PROCHOT_OVERRIDE,
client           2222 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           2232 drivers/hwmon/lm93.c 	tmp = lm93_read_byte(client, LM93_REG_PROCHOT_INTERVAL);
client           2238 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PROCHOT_INTERVAL, tmp);
client           2259 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           2270 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_PROCHOT_OVERRIDE,
client           2290 drivers/hwmon/lm93.c 	struct i2c_client *client = data->client;
client           2303 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_CONFIG, data->config);
client           2498 drivers/hwmon/lm93.c static void lm93_init_client(struct i2c_client *client)
client           2504 drivers/hwmon/lm93.c 	reg = lm93_read_byte(client, LM93_REG_GPI_VID_CTL);
client           2505 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_GPI_VID_CTL,
client           2510 drivers/hwmon/lm93.c 		reg = lm93_read_byte(client, LM93_REG_CONFIG);
client           2511 drivers/hwmon/lm93.c 		lm93_write_byte(client, LM93_REG_CONFIG, reg | 0x08);
client           2514 drivers/hwmon/lm93.c 		reg = lm93_read_byte(client, LM93_REG_STATUS_CONTROL);
client           2515 drivers/hwmon/lm93.c 		lm93_write_byte(client, LM93_REG_STATUS_CONTROL, reg | 0x02);
client           2518 drivers/hwmon/lm93.c 		lm93_write_byte(client, LM93_REG_SLEEP_CONTROL, 0);
client           2521 drivers/hwmon/lm93.c 		reg = lm93_read_byte(client, LM93_REG_MISC_ERR_MASK);
client           2525 drivers/hwmon/lm93.c 		lm93_write_byte(client, LM93_REG_MISC_ERR_MASK, reg);
client           2529 drivers/hwmon/lm93.c 	reg = lm93_read_byte(client, LM93_REG_CONFIG);
client           2530 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_CONFIG, reg | 0x01);
client           2535 drivers/hwmon/lm93.c 		if ((lm93_read_byte(client, LM93_REG_CONFIG) & 0x80) == 0x80)
client           2539 drivers/hwmon/lm93.c 	dev_warn(&client->dev,
client           2544 drivers/hwmon/lm93.c static int lm93_detect(struct i2c_client *client, struct i2c_board_info *info)
client           2546 drivers/hwmon/lm93.c 	struct i2c_adapter *adapter = client->adapter;
client           2554 drivers/hwmon/lm93.c 	mfr = lm93_read_byte(client, LM93_REG_MFR_ID);
client           2561 drivers/hwmon/lm93.c 	ver = lm93_read_byte(client, LM93_REG_VER);
client           2580 drivers/hwmon/lm93.c 		client->name, i2c_adapter_id(client->adapter),
client           2581 drivers/hwmon/lm93.c 		client->addr);
client           2586 drivers/hwmon/lm93.c static int lm93_probe(struct i2c_client *client,
client           2589 drivers/hwmon/lm93.c 	struct device *dev = &client->dev;
client           2596 drivers/hwmon/lm93.c 	func = i2c_get_functionality(client->adapter);
client           2614 drivers/hwmon/lm93.c 	data->client = client;
client           2619 drivers/hwmon/lm93.c 	lm93_init_client(client);
client           2621 drivers/hwmon/lm93.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             55 drivers/hwmon/lm95234.c 	struct i2c_client *client;
client             71 drivers/hwmon/lm95234.c static int lm95234_read_temp(struct i2c_client *client, int index, int *t)
client             77 drivers/hwmon/lm95234.c 		val = i2c_smbus_read_byte_data(client,
client             82 drivers/hwmon/lm95234.c 		val = i2c_smbus_read_byte_data(client,
client             94 drivers/hwmon/lm95234.c 		val = i2c_smbus_read_byte_data(client,
client             99 drivers/hwmon/lm95234.c 		val = i2c_smbus_read_byte_data(client,
client            114 drivers/hwmon/lm95234.c 			      struct i2c_client *client)
client            118 drivers/hwmon/lm95234.c 	ret = i2c_smbus_read_byte_data(client, LM95234_REG_CONVRATE);
client            125 drivers/hwmon/lm95234.c 		ret = i2c_smbus_read_byte_data(client, LM95234_REG_TCRIT1(i));
client            131 drivers/hwmon/lm95234.c 		ret = i2c_smbus_read_byte_data(client, LM95234_REG_TCRIT2(i));
client            137 drivers/hwmon/lm95234.c 		ret = i2c_smbus_read_byte_data(client, LM95234_REG_OFFSET(i));
client            143 drivers/hwmon/lm95234.c 	ret = i2c_smbus_read_byte_data(client, LM95234_REG_TCRIT_HYST);
client            148 drivers/hwmon/lm95234.c 	ret = i2c_smbus_read_byte_data(client, LM95234_REG_REM_MODEL);
client            158 drivers/hwmon/lm95234.c 	struct i2c_client *client = data->client;
client            168 drivers/hwmon/lm95234.c 			ret = lm95234_fill_cache(data, client);
client            175 drivers/hwmon/lm95234.c 			ret = lm95234_read_temp(client, i, &data->temp[i]);
client            180 drivers/hwmon/lm95234.c 		ret = i2c_smbus_read_byte_data(client, LM95234_REG_STS_FAULT);
client            185 drivers/hwmon/lm95234.c 		ret = i2c_smbus_read_byte_data(client, LM95234_REG_STS_TCRIT1);
client            190 drivers/hwmon/lm95234.c 		ret = i2c_smbus_read_byte_data(client, LM95234_REG_STS_TCRIT2);
client            269 drivers/hwmon/lm95234.c 	i2c_smbus_write_byte_data(data->client, LM95234_REG_REM_MODEL,
client            308 drivers/hwmon/lm95234.c 	i2c_smbus_write_byte_data(data->client, LM95234_REG_TCRIT2(index), val);
client            357 drivers/hwmon/lm95234.c 	i2c_smbus_write_byte_data(data->client, LM95234_REG_TCRIT1(index), val);
client            399 drivers/hwmon/lm95234.c 	i2c_smbus_write_byte_data(data->client, LM95234_REG_TCRIT_HYST, val);
client            438 drivers/hwmon/lm95234.c 	i2c_smbus_write_byte_data(data->client, LM95234_REG_OFFSET(index), val);
client            480 drivers/hwmon/lm95234.c 	i2c_smbus_write_byte_data(data->client, LM95234_REG_CONVRATE, regval);
client            591 drivers/hwmon/lm95234.c static int lm95234_detect(struct i2c_client *client,
client            594 drivers/hwmon/lm95234.c 	struct i2c_adapter *adapter = client->adapter;
client            595 drivers/hwmon/lm95234.c 	int address = client->addr;
client            603 drivers/hwmon/lm95234.c 	mfg_id = i2c_smbus_read_byte_data(client, LM95234_REG_MAN_ID);
client            607 drivers/hwmon/lm95234.c 	chip_id = i2c_smbus_read_byte_data(client, LM95234_REG_CHIP_ID);
client            627 drivers/hwmon/lm95234.c 	val = i2c_smbus_read_byte_data(client, LM95234_REG_STATUS);
client            631 drivers/hwmon/lm95234.c 	val = i2c_smbus_read_byte_data(client, LM95234_REG_CONFIG);
client            635 drivers/hwmon/lm95234.c 	val = i2c_smbus_read_byte_data(client, LM95234_REG_CONVRATE);
client            639 drivers/hwmon/lm95234.c 	val = i2c_smbus_read_byte_data(client, LM95234_REG_REM_MODEL);
client            643 drivers/hwmon/lm95234.c 	val = i2c_smbus_read_byte_data(client, LM95234_REG_REM_MODEL_STS);
client            651 drivers/hwmon/lm95234.c static int lm95234_init_client(struct i2c_client *client)
client            656 drivers/hwmon/lm95234.c 	val = i2c_smbus_read_byte_data(client, LM95234_REG_CONFIG);
client            660 drivers/hwmon/lm95234.c 		i2c_smbus_write_byte_data(client, LM95234_REG_CONFIG,
client            664 drivers/hwmon/lm95234.c 	val = i2c_smbus_read_byte_data(client, LM95234_REG_REM_MODEL_STS);
client            667 drivers/hwmon/lm95234.c 	model = i2c_smbus_read_byte_data(client, LM95234_REG_REM_MODEL);
client            671 drivers/hwmon/lm95234.c 		dev_notice(&client->dev,
client            674 drivers/hwmon/lm95234.c 		i2c_smbus_write_byte_data(client, LM95234_REG_REM_MODEL,
client            680 drivers/hwmon/lm95234.c static int lm95234_probe(struct i2c_client *client,
client            683 drivers/hwmon/lm95234.c 	struct device *dev = &client->dev;
client            692 drivers/hwmon/lm95234.c 	data->client = client;
client            696 drivers/hwmon/lm95234.c 	err = lm95234_init_client(client);
client            704 drivers/hwmon/lm95234.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             77 drivers/hwmon/lm95241.c 	struct i2c_client *client;
client            103 drivers/hwmon/lm95241.c 	struct i2c_client *client = data->client;
client            115 drivers/hwmon/lm95241.c 			  = i2c_smbus_read_byte_data(client,
client            118 drivers/hwmon/lm95241.c 		data->status = i2c_smbus_read_byte_data(client,
client            227 drivers/hwmon/lm95241.c 		ret = i2c_smbus_write_byte_data(data->client,
client            242 drivers/hwmon/lm95241.c 	struct i2c_client *client = data->client;
client            261 drivers/hwmon/lm95241.c 		ret = i2c_smbus_write_byte_data(client, LM95241_REG_RW_CONFIG,
client            277 drivers/hwmon/lm95241.c 		ret = i2c_smbus_write_byte_data(client, LM95241_REG_RW_CONFIG,
client            304 drivers/hwmon/lm95241.c 		ret = i2c_smbus_write_byte_data(client,
client            309 drivers/hwmon/lm95241.c 		ret = i2c_smbus_write_byte_data(client, LM95241_REG_RW_TRUTHERM,
client            396 drivers/hwmon/lm95241.c static void lm95241_init_client(struct i2c_client *client,
client            403 drivers/hwmon/lm95241.c 	i2c_smbus_write_byte_data(client, LM95241_REG_RW_CONFIG, data->config);
client            404 drivers/hwmon/lm95241.c 	i2c_smbus_write_byte_data(client, LM95241_REG_RW_REM_FILTER,
client            406 drivers/hwmon/lm95241.c 	i2c_smbus_write_byte_data(client, LM95241_REG_RW_TRUTHERM,
client            408 drivers/hwmon/lm95241.c 	i2c_smbus_write_byte_data(client, LM95241_REG_RW_REMOTE_MODEL,
client            435 drivers/hwmon/lm95241.c static int lm95241_probe(struct i2c_client *client,
client            438 drivers/hwmon/lm95241.c 	struct device *dev = &client->dev;
client            446 drivers/hwmon/lm95241.c 	data->client = client;
client            450 drivers/hwmon/lm95241.c 	lm95241_init_client(client, data);
client            452 drivers/hwmon/lm95241.c 	hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name,
client            550 drivers/hwmon/lm95245.c static int lm95245_probe(struct i2c_client *client,
client            553 drivers/hwmon/lm95245.c 	struct device *dev = &client->dev;
client            562 drivers/hwmon/lm95245.c 	data->regmap = devm_regmap_init_i2c(client, &lm95245_regmap_config);
client            573 drivers/hwmon/lm95245.c 	hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name,
client            448 drivers/hwmon/ltc2945.c static int ltc2945_probe(struct i2c_client *client,
client            451 drivers/hwmon/ltc2945.c 	struct device *dev = &client->dev;
client            455 drivers/hwmon/ltc2945.c 	regmap = devm_regmap_init_i2c(client, &ltc2945_regmap_config);
client            464 drivers/hwmon/ltc2945.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             37 drivers/hwmon/ltc4151.c 	struct i2c_client *client;
client             51 drivers/hwmon/ltc4151.c 	struct i2c_client *client = data->client;
client             63 drivers/hwmon/ltc4151.c 		dev_dbg(&client->dev, "Starting ltc4151 update\n");
client             69 drivers/hwmon/ltc4151.c 			val = i2c_smbus_read_byte_data(client, i);
client            157 drivers/hwmon/ltc4151.c static int ltc4151_probe(struct i2c_client *client,
client            160 drivers/hwmon/ltc4151.c 	struct i2c_adapter *adapter = client->adapter;
client            161 drivers/hwmon/ltc4151.c 	struct device *dev = &client->dev;
client            173 drivers/hwmon/ltc4151.c 	if (of_property_read_u32(client->dev.of_node,
client            182 drivers/hwmon/ltc4151.c 	data->client = client;
client            185 drivers/hwmon/ltc4151.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             33 drivers/hwmon/ltc4215.c 	struct i2c_client *client;
client             46 drivers/hwmon/ltc4215.c 	struct i2c_client *client = data->client;
client             55 drivers/hwmon/ltc4215.c 		dev_dbg(&client->dev, "Starting ltc4215 update\n");
client             59 drivers/hwmon/ltc4215.c 			val = i2c_smbus_read_byte_data(client, i);
client            221 drivers/hwmon/ltc4215.c static int ltc4215_probe(struct i2c_client *client,
client            224 drivers/hwmon/ltc4215.c 	struct i2c_adapter *adapter = client->adapter;
client            225 drivers/hwmon/ltc4215.c 	struct device *dev = &client->dev;
client            236 drivers/hwmon/ltc4215.c 	data->client = client;
client            240 drivers/hwmon/ltc4215.c 	i2c_smbus_write_byte_data(client, LTC4215_FAULT, 0x00);
client            242 drivers/hwmon/ltc4215.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            180 drivers/hwmon/ltc4222.c static int ltc4222_probe(struct i2c_client *client,
client            183 drivers/hwmon/ltc4222.c 	struct device *dev = &client->dev;
client            187 drivers/hwmon/ltc4222.c 	regmap = devm_regmap_init_i2c(client, &ltc4222_regmap_config);
client            197 drivers/hwmon/ltc4222.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             52 drivers/hwmon/ltc4245.c 	struct i2c_client *client;
client             79 drivers/hwmon/ltc4245.c 	struct i2c_client *client = data->client;
client            122 drivers/hwmon/ltc4245.c 	i2c_smbus_write_byte_data(client, LTC4245_GPIO, gpio_reg);
client            131 drivers/hwmon/ltc4245.c 	struct i2c_client *client = data->client;
client            141 drivers/hwmon/ltc4245.c 			val = i2c_smbus_read_byte_data(client, i);
client            150 drivers/hwmon/ltc4245.c 			val = i2c_smbus_read_byte_data(client, i+0x10);
client            427 drivers/hwmon/ltc4245.c static bool ltc4245_use_extra_gpios(struct i2c_client *client)
client            429 drivers/hwmon/ltc4245.c 	struct ltc4245_platform_data *pdata = dev_get_platdata(&client->dev);
client            430 drivers/hwmon/ltc4245.c 	struct device_node *np = client->dev.of_node;
client            443 drivers/hwmon/ltc4245.c static int ltc4245_probe(struct i2c_client *client,
client            446 drivers/hwmon/ltc4245.c 	struct i2c_adapter *adapter = client->adapter;
client            453 drivers/hwmon/ltc4245.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            457 drivers/hwmon/ltc4245.c 	data->client = client;
client            459 drivers/hwmon/ltc4245.c 	data->use_extra_gpios = ltc4245_use_extra_gpios(client);
client            462 drivers/hwmon/ltc4245.c 	i2c_smbus_write_byte_data(client, LTC4245_FAULT1, 0x00);
client            463 drivers/hwmon/ltc4245.c 	i2c_smbus_write_byte_data(client, LTC4245_FAULT2, 0x00);
client            465 drivers/hwmon/ltc4245.c 	hwmon_dev = devm_hwmon_device_register_with_info(&client->dev,
client            466 drivers/hwmon/ltc4245.c 							 client->name, data,
client            144 drivers/hwmon/ltc4260.c static int ltc4260_probe(struct i2c_client *client,
client            147 drivers/hwmon/ltc4260.c 	struct device *dev = &client->dev;
client            151 drivers/hwmon/ltc4260.c 	regmap = devm_regmap_init_i2c(client, &ltc4260_regmap_config);
client            160 drivers/hwmon/ltc4260.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             45 drivers/hwmon/ltc4261.c 	struct i2c_client *client;
client             58 drivers/hwmon/ltc4261.c 	struct i2c_client *client = data->client;
client             70 drivers/hwmon/ltc4261.c 			val = i2c_smbus_read_byte_data(client, i);
client            148 drivers/hwmon/ltc4261.c 		i2c_smbus_write_byte_data(data->client, LTC4261_FAULT, ~fault);
client            193 drivers/hwmon/ltc4261.c static int ltc4261_probe(struct i2c_client *client,
client            196 drivers/hwmon/ltc4261.c 	struct i2c_adapter *adapter = client->adapter;
client            197 drivers/hwmon/ltc4261.c 	struct device *dev = &client->dev;
client            204 drivers/hwmon/ltc4261.c 	if (i2c_smbus_read_byte_data(client, LTC4261_STATUS) < 0) {
client            213 drivers/hwmon/ltc4261.c 	data->client = client;
client            217 drivers/hwmon/ltc4261.c 	i2c_smbus_write_byte_data(client, LTC4261_FAULT, 0x00);
client            219 drivers/hwmon/ltc4261.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             83 drivers/hwmon/max16065.c 	struct i2c_client *client;
client            133 drivers/hwmon/max16065.c static int max16065_read_adc(struct i2c_client *client, int reg)
client            137 drivers/hwmon/max16065.c 	rv = i2c_smbus_read_word_swapped(client, reg);
client            146 drivers/hwmon/max16065.c 	struct i2c_client *client = data->client;
client            154 drivers/hwmon/max16065.c 			  = max16065_read_adc(client, MAX16065_ADC(i));
client            158 drivers/hwmon/max16065.c 			  = max16065_read_adc(client, MAX16065_CSP_ADC);
client            160 drivers/hwmon/max16065.c 			  = i2c_smbus_read_byte_data(client,
client            166 drivers/hwmon/max16065.c 			  = i2c_smbus_read_byte_data(client, MAX16065_FAULT(i));
client            187 drivers/hwmon/max16065.c 		i2c_smbus_write_byte_data(data->client,
client            238 drivers/hwmon/max16065.c 	i2c_smbus_write_byte_data(data->client,
client            496 drivers/hwmon/max16065.c static int max16065_probe(struct i2c_client *client,
client            499 drivers/hwmon/max16065.c 	struct i2c_adapter *adapter = client->adapter;
client            501 drivers/hwmon/max16065.c 	struct device *dev = &client->dev;
client            516 drivers/hwmon/max16065.c 	data->client = client;
client            524 drivers/hwmon/max16065.c 		val = i2c_smbus_read_byte_data(client, MAX16065_SW_ENABLE);
client            532 drivers/hwmon/max16065.c 		val = i2c_smbus_read_byte_data(client, MAX16065_SCALE(i));
client            547 drivers/hwmon/max16065.c 			val = i2c_smbus_read_byte_data(client,
client            562 drivers/hwmon/max16065.c 		val = i2c_smbus_read_byte_data(client, MAX16065_CURR_CONTROL);
client            579 drivers/hwmon/max16065.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             80 drivers/hwmon/max1619.c 	struct i2c_client *client;
client            109 drivers/hwmon/max1619.c 	struct i2c_client *client = data->client;
client            115 drivers/hwmon/max1619.c 		dev_dbg(&client->dev, "Updating max1619 data.\n");
client            117 drivers/hwmon/max1619.c 			data->temp[i] = i2c_smbus_read_byte_data(client,
client            119 drivers/hwmon/max1619.c 		data->alarms = i2c_smbus_read_byte_data(client,
client            122 drivers/hwmon/max1619.c 		config = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CONFIG);
client            154 drivers/hwmon/max1619.c 	struct i2c_client *client = data->client;
client            162 drivers/hwmon/max1619.c 	i2c_smbus_write_byte_data(client, regs_write[attr->index],
client            214 drivers/hwmon/max1619.c static int max1619_detect(struct i2c_client *client,
client            217 drivers/hwmon/max1619.c 	struct i2c_adapter *adapter = client->adapter;
client            224 drivers/hwmon/max1619.c 	reg_config = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CONFIG);
client            225 drivers/hwmon/max1619.c 	reg_convrate = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CONVRATE);
client            226 drivers/hwmon/max1619.c 	reg_status = i2c_smbus_read_byte_data(client, MAX1619_REG_R_STATUS);
client            230 drivers/hwmon/max1619.c 			client->addr);
client            235 drivers/hwmon/max1619.c 	man_id = i2c_smbus_read_byte_data(client, MAX1619_REG_R_MAN_ID);
client            236 drivers/hwmon/max1619.c 	chip_id = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CHIP_ID);
client            249 drivers/hwmon/max1619.c static void max1619_init_client(struct i2c_client *client)
client            256 drivers/hwmon/max1619.c 	i2c_smbus_write_byte_data(client, MAX1619_REG_W_CONVRATE,
client            258 drivers/hwmon/max1619.c 	config = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CONFIG);
client            260 drivers/hwmon/max1619.c 		i2c_smbus_write_byte_data(client, MAX1619_REG_W_CONFIG,
client            275 drivers/hwmon/max1619.c 	data->client = new_client;
client             56 drivers/hwmon/max1668.c 	struct i2c_client *client;
client             74 drivers/hwmon/max1668.c 	struct i2c_client *client = data->client;
client             86 drivers/hwmon/max1668.c 		val = i2c_smbus_read_byte_data(client, MAX1668_REG_TEMP(i));
client             93 drivers/hwmon/max1668.c 		val = i2c_smbus_read_byte_data(client, MAX1668_REG_LIMH_RD(i));
client            100 drivers/hwmon/max1668.c 		val = i2c_smbus_read_byte_data(client, MAX1668_REG_LIML_RD(i));
client            108 drivers/hwmon/max1668.c 	val = i2c_smbus_read_byte_data(client, MAX1668_REG_STAT1);
client            115 drivers/hwmon/max1668.c 	val = i2c_smbus_read_byte_data(client, MAX1668_REG_STAT2);
client            197 drivers/hwmon/max1668.c 	struct i2c_client *client = data->client;
client            207 drivers/hwmon/max1668.c 	ret = i2c_smbus_write_byte_data(client,
client            223 drivers/hwmon/max1668.c 	struct i2c_client *client = data->client;
client            233 drivers/hwmon/max1668.c 	ret = i2c_smbus_write_byte_data(client,
client            359 drivers/hwmon/max1668.c static int max1668_detect(struct i2c_client *client,
client            362 drivers/hwmon/max1668.c 	struct i2c_adapter *adapter = client->adapter;
client            370 drivers/hwmon/max1668.c 	man_id = i2c_smbus_read_byte_data(client, MAX1668_REG_MAN_ID);
client            374 drivers/hwmon/max1668.c 	dev_id = i2c_smbus_read_byte_data(client, MAX1668_REG_DEV_ID);
client            394 drivers/hwmon/max1668.c static int max1668_probe(struct i2c_client *client,
client            397 drivers/hwmon/max1668.c 	struct i2c_adapter *adapter = client->adapter;
client            398 drivers/hwmon/max1668.c 	struct device *dev = &client->dev;
client            409 drivers/hwmon/max1668.c 	data->client = client;
client            418 drivers/hwmon/max1668.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             53 drivers/hwmon/max31790.c 	struct i2c_client *client;
client             70 drivers/hwmon/max31790.c 	struct i2c_client *client = data->client;
client             78 drivers/hwmon/max31790.c 		rv = i2c_smbus_read_byte_data(client,
client             84 drivers/hwmon/max31790.c 		rv = i2c_smbus_read_byte_data(client,
client             91 drivers/hwmon/max31790.c 			rv = i2c_smbus_read_word_swapped(client,
client             99 drivers/hwmon/max31790.c 				rv = i2c_smbus_read_word_swapped(client,
client            106 drivers/hwmon/max31790.c 				rv = i2c_smbus_read_word_swapped(client,
client            112 drivers/hwmon/max31790.c 				rv = i2c_smbus_read_word_swapped(client,
client            194 drivers/hwmon/max31790.c 	struct i2c_client *client = data->client;
client            210 drivers/hwmon/max31790.c 		err = i2c_smbus_write_byte_data(client,
client            222 drivers/hwmon/max31790.c 		err = i2c_smbus_write_word_swapped(client,
client            290 drivers/hwmon/max31790.c 	struct i2c_client *client = data->client;
client            303 drivers/hwmon/max31790.c 		err = i2c_smbus_write_word_swapped(client,
client            324 drivers/hwmon/max31790.c 		err = i2c_smbus_write_byte_data(client,
client            429 drivers/hwmon/max31790.c static int max31790_init_client(struct i2c_client *client,
client            435 drivers/hwmon/max31790.c 		rv = i2c_smbus_read_byte_data(client,
client            441 drivers/hwmon/max31790.c 		rv = i2c_smbus_read_byte_data(client,
client            451 drivers/hwmon/max31790.c static int max31790_probe(struct i2c_client *client,
client            454 drivers/hwmon/max31790.c 	struct i2c_adapter *adapter = client->adapter;
client            455 drivers/hwmon/max31790.c 	struct device *dev = &client->dev;
client            468 drivers/hwmon/max31790.c 	data->client = client;
client            474 drivers/hwmon/max31790.c 	err = max31790_init_client(client, data);
client            478 drivers/hwmon/max31790.c 	hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name,
client            128 drivers/hwmon/max6621.c 	struct i2c_client	*client;
client            288 drivers/hwmon/max6621.c 				ret = i2c_smbus_write_byte(data->client,
client            480 drivers/hwmon/max6621.c static int max6621_probe(struct i2c_client *client,
client            483 drivers/hwmon/max6621.c 	struct device *dev = &client->dev;
client            493 drivers/hwmon/max6621.c 	data->regmap = devm_regmap_init_i2c(client, &max6621_regmap_config);
client            497 drivers/hwmon/max6621.c 	i2c_set_clientdata(client, data);
client            498 drivers/hwmon/max6621.c 	data->client = client;
client            520 drivers/hwmon/max6621.c 		ret = i2c_smbus_read_word_data(client, max6621_temp_regs[i]);
client            532 drivers/hwmon/max6621.c 	hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name,
client             70 drivers/hwmon/max6639.c 	struct i2c_client *client;
client             95 drivers/hwmon/max6639.c 	struct i2c_client *client = data->client;
client            105 drivers/hwmon/max6639.c 		dev_dbg(&client->dev, "Starting max6639 update\n");
client            107 drivers/hwmon/max6639.c 		status_reg = i2c_smbus_read_byte_data(client,
client            117 drivers/hwmon/max6639.c 			res = i2c_smbus_read_byte_data(client,
client            125 drivers/hwmon/max6639.c 			res = i2c_smbus_read_byte_data(client,
client            134 drivers/hwmon/max6639.c 			res = i2c_smbus_read_byte_data(client,
client            193 drivers/hwmon/max6639.c 	struct i2c_client *client = data->client;
client            203 drivers/hwmon/max6639.c 	i2c_smbus_write_byte_data(client,
client            225 drivers/hwmon/max6639.c 	struct i2c_client *client = data->client;
client            235 drivers/hwmon/max6639.c 	i2c_smbus_write_byte_data(client,
client            258 drivers/hwmon/max6639.c 	struct i2c_client *client = data->client;
client            268 drivers/hwmon/max6639.c 	i2c_smbus_write_byte_data(client,
client            290 drivers/hwmon/max6639.c 	struct i2c_client *client = data->client;
client            302 drivers/hwmon/max6639.c 	i2c_smbus_write_byte_data(client,
client            401 drivers/hwmon/max6639.c static int max6639_init_client(struct i2c_client *client,
client            405 drivers/hwmon/max6639.c 		dev_get_platdata(&client->dev);
client            411 drivers/hwmon/max6639.c 	err = i2c_smbus_write_byte_data(client, MAX6639_REG_GCONFIG,
client            431 drivers/hwmon/max6639.c 		err = i2c_smbus_write_byte_data(client,
client            438 drivers/hwmon/max6639.c 		err = i2c_smbus_write_byte_data(client,
client            446 drivers/hwmon/max6639.c 			err = i2c_smbus_write_byte_data(client,
client            449 drivers/hwmon/max6639.c 			err = i2c_smbus_write_byte_data(client,
client            458 drivers/hwmon/max6639.c 		err = i2c_smbus_write_byte_data(client,
client            468 drivers/hwmon/max6639.c 		err = i2c_smbus_write_byte_data(client,
client            473 drivers/hwmon/max6639.c 		err = i2c_smbus_write_byte_data(client,
client            478 drivers/hwmon/max6639.c 		err = i2c_smbus_write_byte_data(client,
client            485 drivers/hwmon/max6639.c 		err = i2c_smbus_write_byte_data(client,
client            491 drivers/hwmon/max6639.c 	err = i2c_smbus_write_byte_data(client, MAX6639_REG_GCONFIG,
client            499 drivers/hwmon/max6639.c static int max6639_detect(struct i2c_client *client,
client            502 drivers/hwmon/max6639.c 	struct i2c_adapter *adapter = client->adapter;
client            509 drivers/hwmon/max6639.c 	dev_id = i2c_smbus_read_byte_data(client, MAX6639_REG_DEVID);
client            510 drivers/hwmon/max6639.c 	manu_id = i2c_smbus_read_byte_data(client, MAX6639_REG_MANUID);
client            519 drivers/hwmon/max6639.c static int max6639_probe(struct i2c_client *client,
client            522 drivers/hwmon/max6639.c 	struct device *dev = &client->dev;
client            531 drivers/hwmon/max6639.c 	data->client = client;
client            535 drivers/hwmon/max6639.c 	err = max6639_init_client(client, data);
client            539 drivers/hwmon/max6639.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            548 drivers/hwmon/max6639.c 	struct i2c_client *client = to_i2c_client(dev);
client            549 drivers/hwmon/max6639.c 	int data = i2c_smbus_read_byte_data(client, MAX6639_REG_GCONFIG);
client            553 drivers/hwmon/max6639.c 	return i2c_smbus_write_byte_data(client,
client            559 drivers/hwmon/max6639.c 	struct i2c_client *client = to_i2c_client(dev);
client            560 drivers/hwmon/max6639.c 	int data = i2c_smbus_read_byte_data(client, MAX6639_REG_GCONFIG);
client            564 drivers/hwmon/max6639.c 	return i2c_smbus_write_byte_data(client,
client             77 drivers/hwmon/max6642.c 	struct i2c_client *client;
client             93 drivers/hwmon/max6642.c 				struct i2c_client *client)
client            100 drivers/hwmon/max6642.c 	config = i2c_smbus_read_byte_data(client, MAX6642_REG_R_CONFIG);
client            102 drivers/hwmon/max6642.c 		i2c_smbus_write_byte_data(client, MAX6642_REG_W_CONFIG,
client            105 drivers/hwmon/max6642.c 	data->temp_high[0] = i2c_smbus_read_byte_data(client,
client            107 drivers/hwmon/max6642.c 	data->temp_high[1] = i2c_smbus_read_byte_data(client,
client            112 drivers/hwmon/max6642.c static int max6642_detect(struct i2c_client *client,
client            115 drivers/hwmon/max6642.c 	struct i2c_adapter *adapter = client->adapter;
client            122 drivers/hwmon/max6642.c 	man_id = i2c_smbus_read_byte_data(client, MAX6642_REG_R_MAN_ID);
client            127 drivers/hwmon/max6642.c 	if (i2c_smbus_read_byte_data(client, 0x04) != 0x4D
client            128 drivers/hwmon/max6642.c 	    || i2c_smbus_read_byte_data(client, 0x06) != 0x4D
client            129 drivers/hwmon/max6642.c 	    || i2c_smbus_read_byte_data(client, 0xff) != 0x4D)
client            137 drivers/hwmon/max6642.c 	reg_config = i2c_smbus_read_byte_data(client, MAX6642_REG_R_CONFIG);
client            142 drivers/hwmon/max6642.c 	if (i2c_smbus_read_byte_data(client, 0x04) != reg_config
client            143 drivers/hwmon/max6642.c 	    || i2c_smbus_read_byte_data(client, 0x06) != reg_config
client            144 drivers/hwmon/max6642.c 	    || i2c_smbus_read_byte_data(client, 0xff) != reg_config)
client            147 drivers/hwmon/max6642.c 	reg_status = i2c_smbus_read_byte_data(client, MAX6642_REG_R_STATUS);
client            159 drivers/hwmon/max6642.c 	struct i2c_client *client = data->client;
client            166 drivers/hwmon/max6642.c 		val = i2c_smbus_read_byte_data(client,
client            169 drivers/hwmon/max6642.c 		val = i2c_smbus_read_byte_data(client,
client            173 drivers/hwmon/max6642.c 		val = i2c_smbus_read_byte_data(client,
client            176 drivers/hwmon/max6642.c 		val = i2c_smbus_read_byte_data(client,
client            180 drivers/hwmon/max6642.c 		data->alarms = i2c_smbus_read_byte_data(client,
client            230 drivers/hwmon/max6642.c 	i2c_smbus_write_byte_data(data->client, attr2->index,
client            267 drivers/hwmon/max6642.c static int max6642_probe(struct i2c_client *client,
client            270 drivers/hwmon/max6642.c 	struct device *dev = &client->dev;
client            278 drivers/hwmon/max6642.c 	data->client = client;
client            282 drivers/hwmon/max6642.c 	max6642_init_client(data, client);
client            284 drivers/hwmon/max6642.c 	hwmon_dev = devm_hwmon_device_register_with_groups(&client->dev,
client            285 drivers/hwmon/max6642.c 							   client->name, data,
client            103 drivers/hwmon/max6650.c 	struct i2c_client *client;
client            159 drivers/hwmon/max6650.c 	struct i2c_client *client = data->client;
client            167 drivers/hwmon/max6650.c 			reg = i2c_smbus_read_byte_data(client, tach_reg[i]);
client            180 drivers/hwmon/max6650.c 		reg = i2c_smbus_read_byte_data(client, MAX6650_REG_ALARM);
client            211 drivers/hwmon/max6650.c 	result = i2c_smbus_write_byte_data(data->client, MAX6650_REG_CONFIG,
client            286 drivers/hwmon/max6650.c 	return i2c_smbus_write_byte_data(data->client, MAX6650_REG_SPEED,
client            359 drivers/hwmon/max6650.c 			       struct i2c_client *client)
client            361 drivers/hwmon/max6650.c 	struct device *dev = &client->dev;
client            377 drivers/hwmon/max6650.c 	reg = i2c_smbus_read_byte_data(client, MAX6650_REG_CONFIG);
client            426 drivers/hwmon/max6650.c 	err = i2c_smbus_write_byte_data(client, MAX6650_REG_CONFIG, reg);
client            433 drivers/hwmon/max6650.c 	reg = i2c_smbus_read_byte_data(client, MAX6650_REG_SPEED);
client            440 drivers/hwmon/max6650.c 	reg = i2c_smbus_read_byte_data(client, MAX6650_REG_DAC);
client            447 drivers/hwmon/max6650.c 	reg = i2c_smbus_read_byte_data(client, MAX6650_REG_COUNT);
client            454 drivers/hwmon/max6650.c 	reg = i2c_smbus_read_byte_data(client, MAX6650_REG_ALARM_EN);
client            461 drivers/hwmon/max6650.c 	if (!of_property_read_u32(client->dev.of_node, "maxim,fan-target-rpm",
client            492 drivers/hwmon/max6650.c 	struct i2c_client *client = data->client;
client            500 drivers/hwmon/max6650.c 	err = i2c_smbus_write_byte_data(client, MAX6650_REG_DAC, data->dac);
client            625 drivers/hwmon/max6650.c 			ret = i2c_smbus_write_byte_data(data->client,
client            664 drivers/hwmon/max6650.c 			ret = i2c_smbus_write_byte_data(data->client,
client            760 drivers/hwmon/max6650.c static int max6650_probe(struct i2c_client *client,
client            764 drivers/hwmon/max6650.c 	struct device *dev = &client->dev;
client            775 drivers/hwmon/max6650.c 	data->client = client;
client            776 drivers/hwmon/max6650.c 	i2c_set_clientdata(client, data);
client            783 drivers/hwmon/max6650.c 	err = max6650_init_client(data, client);
client            788 drivers/hwmon/max6650.c 							 client->name, data,
client            797 drivers/hwmon/max6650.c 						dev->of_node, client->name,
client             72 drivers/hwmon/max6697.c 	struct i2c_client *client;
client            177 drivers/hwmon/max6697.c 	struct i2c_client *client = data->client;
client            192 drivers/hwmon/max6697.c 			val = i2c_smbus_read_byte_data(client,
client            201 drivers/hwmon/max6697.c 		val = i2c_smbus_read_byte_data(client, MAX6697_REG_TEMP[i]);
client            208 drivers/hwmon/max6697.c 		val = i2c_smbus_read_byte_data(client, MAX6697_REG_MAX[i]);
client            216 drivers/hwmon/max6697.c 			val = i2c_smbus_read_byte_data(client,
client            228 drivers/hwmon/max6697.c 		val = i2c_smbus_read_byte_data(client, MAX6697_REG_STAT(i));
client            310 drivers/hwmon/max6697.c 	ret = i2c_smbus_write_byte_data(data->client,
client            502 drivers/hwmon/max6697.c 			     struct i2c_client *client)
client            504 drivers/hwmon/max6697.c 	struct max6697_platform_data *pdata = dev_get_platdata(&client->dev);
client            515 drivers/hwmon/max6697.c 	if (!pdata && !client->dev.of_node) {
client            516 drivers/hwmon/max6697.c 		reg = i2c_smbus_read_byte_data(client, MAX6697_REG_CONFIG);
client            522 drivers/hwmon/max6697.c 			reg = i2c_smbus_read_byte_data(client,
client            534 drivers/hwmon/max6697.c 	if (client->dev.of_node) {
client            536 drivers/hwmon/max6697.c 		max6697_get_config_of(client->dev.of_node, &p);
client            560 drivers/hwmon/max6697.c 	ret = i2c_smbus_write_byte_data(client, MAX6697_REG_CONFIG, reg);
client            564 drivers/hwmon/max6697.c 	ret = i2c_smbus_write_byte_data(client, MAX6697_REG_ALERT_MASK,
client            569 drivers/hwmon/max6697.c 	ret = i2c_smbus_write_byte_data(client, MAX6697_REG_OVERT_MASK,
client            576 drivers/hwmon/max6697.c 		ret = i2c_smbus_write_byte_data(client, MAX6581_REG_RESISTANCE,
client            580 drivers/hwmon/max6697.c 		ret = i2c_smbus_write_byte_data(client, MAX6581_REG_IDEALITY,
client            584 drivers/hwmon/max6697.c 		ret = i2c_smbus_write_byte_data(client,
client            595 drivers/hwmon/max6697.c static int max6697_probe(struct i2c_client *client,
client            598 drivers/hwmon/max6697.c 	struct i2c_adapter *adapter = client->adapter;
client            599 drivers/hwmon/max6697.c 	struct device *dev = &client->dev;
client            611 drivers/hwmon/max6697.c 	if (client->dev.of_node)
client            612 drivers/hwmon/max6697.c 		data->type = (enum chips)of_device_get_match_data(&client->dev);
client            616 drivers/hwmon/max6697.c 	data->client = client;
client            619 drivers/hwmon/max6697.c 	err = max6697_init_chip(data, client);
client            623 drivers/hwmon/max6697.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             55 drivers/hwmon/mcp3021.c static int mcp3021_read16(struct i2c_client *client)
client             57 drivers/hwmon/mcp3021.c 	struct mcp3021_data *data = i2c_get_clientdata(client);
client             62 drivers/hwmon/mcp3021.c 	ret = i2c_master_recv(client, (char *)&buf, 2);
client             88 drivers/hwmon/mcp3021.c 	struct i2c_client *client = to_i2c_client(dev);
client             89 drivers/hwmon/mcp3021.c 	struct mcp3021_data *data = i2c_get_clientdata(client);
client             92 drivers/hwmon/mcp3021.c 	reg = mcp3021_read16(client);
client            103 drivers/hwmon/mcp3021.c static int mcp3021_probe(struct i2c_client *client,
client            108 drivers/hwmon/mcp3021.c 	struct device_node *np = client->dev.of_node;
client            110 drivers/hwmon/mcp3021.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            113 drivers/hwmon/mcp3021.c 	data = devm_kzalloc(&client->dev, sizeof(struct mcp3021_data),
client            118 drivers/hwmon/mcp3021.c 	i2c_set_clientdata(client, data);
client            127 drivers/hwmon/mcp3021.c 		u32 *pdata = dev_get_platdata(&client->dev);
client            152 drivers/hwmon/mcp3021.c 	err = sysfs_create_file(&client->dev.kobj, &dev_attr_in0_input.attr);
client            156 drivers/hwmon/mcp3021.c 	data->hwmon_dev = hwmon_device_register(&client->dev);
client            165 drivers/hwmon/mcp3021.c 	sysfs_remove_file(&client->dev.kobj, &dev_attr_in0_input.attr);
client            169 drivers/hwmon/mcp3021.c static int mcp3021_remove(struct i2c_client *client)
client            171 drivers/hwmon/mcp3021.c 	struct mcp3021_data *data = i2c_get_clientdata(client);
client            174 drivers/hwmon/mcp3021.c 	sysfs_remove_file(&client->dev.kobj, &dev_attr_in0_input.attr);
client            986 drivers/hwmon/nct7802.c static int nct7802_detect(struct i2c_client *client,
client            995 drivers/hwmon/nct7802.c 	reg = i2c_smbus_read_byte_data(client, REG_BANK);
client            999 drivers/hwmon/nct7802.c 	reg = i2c_smbus_read_byte_data(client, REG_VENDOR_ID);
client           1003 drivers/hwmon/nct7802.c 	reg = i2c_smbus_read_byte_data(client, REG_CHIP_ID);
client           1007 drivers/hwmon/nct7802.c 	reg = i2c_smbus_read_byte_data(client, REG_VERSION_ID);
client           1012 drivers/hwmon/nct7802.c 	reg = i2c_smbus_read_byte_data(client, REG_TEMP_LSB);
client           1016 drivers/hwmon/nct7802.c 	reg = i2c_smbus_read_byte_data(client, REG_TEMP_PECI_LSB);
client           1020 drivers/hwmon/nct7802.c 	reg = i2c_smbus_read_byte_data(client, REG_VOLTAGE_LOW);
client           1059 drivers/hwmon/nct7802.c static int nct7802_probe(struct i2c_client *client,
client           1062 drivers/hwmon/nct7802.c 	struct device *dev = &client->dev;
client           1071 drivers/hwmon/nct7802.c 	data->regmap = devm_regmap_init_i2c(client, &nct7802_regmap_config);
client           1082 drivers/hwmon/nct7802.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             96 drivers/hwmon/nct7904.c 	struct i2c_client *client;
client            118 drivers/hwmon/nct7904.c 	ret = i2c_smbus_write_byte_data(data->client, BANK_SEL_REG, bank);
client            135 drivers/hwmon/nct7904.c 	struct i2c_client *client = data->client;
client            140 drivers/hwmon/nct7904.c 		ret = i2c_smbus_read_byte_data(client, reg);
client            153 drivers/hwmon/nct7904.c 	struct i2c_client *client = data->client;
client            158 drivers/hwmon/nct7904.c 		ret = i2c_smbus_read_byte_data(client, reg);
client            161 drivers/hwmon/nct7904.c 			ret = i2c_smbus_read_byte_data(client, reg + 1);
client            175 drivers/hwmon/nct7904.c 	struct i2c_client *client = data->client;
client            180 drivers/hwmon/nct7904.c 		ret = i2c_smbus_write_byte_data(client, reg, val);
client            750 drivers/hwmon/nct7904.c static int nct7904_detect(struct i2c_client *client,
client            753 drivers/hwmon/nct7904.c 	struct i2c_adapter *adapter = client->adapter;
client            761 drivers/hwmon/nct7904.c 	if (i2c_smbus_read_byte_data(client, VENDOR_ID_REG) != NUVOTON_ID ||
client            762 drivers/hwmon/nct7904.c 	    i2c_smbus_read_byte_data(client, CHIP_ID_REG) != NCT7904_ID ||
client            763 drivers/hwmon/nct7904.c 	    (i2c_smbus_read_byte_data(client, DEVICE_ID_REG) & 0xf0) != 0x50 ||
client            764 drivers/hwmon/nct7904.c 	    (i2c_smbus_read_byte_data(client, BANK_SEL_REG) & 0xf8) != 0x00)
client            873 drivers/hwmon/nct7904.c static int nct7904_probe(struct i2c_client *client,
client            878 drivers/hwmon/nct7904.c 	struct device *dev = &client->dev;
client            887 drivers/hwmon/nct7904.c 	data->client = client;
client            994 drivers/hwmon/nct7904.c 		devm_hwmon_device_register_with_info(dev, client->name, data,
client             31 drivers/hwmon/occ/p8_i2c.c 	struct i2c_client *client;
client             36 drivers/hwmon/occ/p8_i2c.c static int p8_i2c_occ_getscom(struct i2c_client *client, u32 address, u8 *data)
client             45 drivers/hwmon/occ/p8_i2c.c 	msgs[0].addr = client->addr;
client             46 drivers/hwmon/occ/p8_i2c.c 	msgs[0].flags = client->flags & I2C_M_TEN;
client             52 drivers/hwmon/occ/p8_i2c.c 	msgs[1].addr = client->addr;
client             53 drivers/hwmon/occ/p8_i2c.c 	msgs[1].flags = (client->flags & I2C_M_TEN) | I2C_M_RD;
client             57 drivers/hwmon/occ/p8_i2c.c 	rc = i2c_transfer(client->adapter, msgs, 2);
client             66 drivers/hwmon/occ/p8_i2c.c static int p8_i2c_occ_putscom(struct i2c_client *client, u32 address, u8 *data)
client             79 drivers/hwmon/occ/p8_i2c.c 	rc = i2c_master_send(client, (const char *)buf, sizeof(buf));
client             88 drivers/hwmon/occ/p8_i2c.c static int p8_i2c_occ_putscom_u32(struct i2c_client *client, u32 address,
client             96 drivers/hwmon/occ/p8_i2c.c 	return p8_i2c_occ_putscom(client, address, buf);
client             99 drivers/hwmon/occ/p8_i2c.c static int p8_i2c_occ_putscom_be(struct i2c_client *client, u32 address,
client            107 drivers/hwmon/occ/p8_i2c.c 	return p8_i2c_occ_putscom_u32(client, address, be32_to_cpu(data0),
client            119 drivers/hwmon/occ/p8_i2c.c 	struct i2c_client *client = ctx->client;
client            125 drivers/hwmon/occ/p8_i2c.c 	rc = p8_i2c_occ_putscom_u32(client, OCB_ADDR, OCC_SRAM_ADDR_CMD, 0);
client            130 drivers/hwmon/occ/p8_i2c.c 	rc = p8_i2c_occ_putscom_be(client, OCB_DATA3, cmd);
client            135 drivers/hwmon/occ/p8_i2c.c 	rc = p8_i2c_occ_putscom_u32(client, OCB_DATA1, OCC_DATA_ATTN, 0);
client            141 drivers/hwmon/occ/p8_i2c.c 		rc = p8_i2c_occ_putscom_u32(client, OCB_ADDR,
client            146 drivers/hwmon/occ/p8_i2c.c 		rc = p8_i2c_occ_getscom(client, OCB_DATA3, (u8 *)resp);
client            198 drivers/hwmon/occ/p8_i2c.c 		rc = p8_i2c_occ_getscom(client, OCB_DATA3, ((u8 *)resp) + i);
client            206 drivers/hwmon/occ/p8_i2c.c static int p8_i2c_occ_probe(struct i2c_client *client,
client            210 drivers/hwmon/occ/p8_i2c.c 	struct p8_i2c_occ *ctx = devm_kzalloc(&client->dev, sizeof(*ctx),
client            215 drivers/hwmon/occ/p8_i2c.c 	ctx->client = client;
client            217 drivers/hwmon/occ/p8_i2c.c 	occ->bus_dev = &client->dev;
client            218 drivers/hwmon/occ/p8_i2c.c 	dev_set_drvdata(&client->dev, occ);
client            227 drivers/hwmon/occ/p8_i2c.c static int p8_i2c_occ_remove(struct i2c_client *client)
client            229 drivers/hwmon/occ/p8_i2c.c 	struct occ *occ = dev_get_drvdata(&client->dev);
client             74 drivers/hwmon/pcf8591.c static void pcf8591_init_client(struct i2c_client *client);
client            105 drivers/hwmon/pcf8591.c 	struct i2c_client *client = to_i2c_client(dev);
client            106 drivers/hwmon/pcf8591.c 	struct pcf8591_data *data = i2c_get_clientdata(client);
client            118 drivers/hwmon/pcf8591.c 	i2c_smbus_write_byte_data(client, data->control, data->aout);
client            135 drivers/hwmon/pcf8591.c 	struct i2c_client *client = to_i2c_client(dev);
client            136 drivers/hwmon/pcf8591.c 	struct pcf8591_data *data = i2c_get_clientdata(client);
client            149 drivers/hwmon/pcf8591.c 	i2c_smbus_write_byte(client, data->control);
client            182 drivers/hwmon/pcf8591.c static int pcf8591_probe(struct i2c_client *client,
client            188 drivers/hwmon/pcf8591.c 	data = devm_kzalloc(&client->dev, sizeof(struct pcf8591_data),
client            193 drivers/hwmon/pcf8591.c 	i2c_set_clientdata(client, data);
client            197 drivers/hwmon/pcf8591.c 	pcf8591_init_client(client);
client            200 drivers/hwmon/pcf8591.c 	err = sysfs_create_group(&client->dev.kobj, &pcf8591_attr_group);
client            206 drivers/hwmon/pcf8591.c 		err = device_create_file(&client->dev, &dev_attr_in2_input);
client            213 drivers/hwmon/pcf8591.c 		err = device_create_file(&client->dev, &dev_attr_in3_input);
client            218 drivers/hwmon/pcf8591.c 	data->hwmon_dev = hwmon_device_register(&client->dev);
client            227 drivers/hwmon/pcf8591.c 	sysfs_remove_group(&client->dev.kobj, &pcf8591_attr_group_opt);
client            228 drivers/hwmon/pcf8591.c 	sysfs_remove_group(&client->dev.kobj, &pcf8591_attr_group);
client            232 drivers/hwmon/pcf8591.c static int pcf8591_remove(struct i2c_client *client)
client            234 drivers/hwmon/pcf8591.c 	struct pcf8591_data *data = i2c_get_clientdata(client);
client            237 drivers/hwmon/pcf8591.c 	sysfs_remove_group(&client->dev.kobj, &pcf8591_attr_group_opt);
client            238 drivers/hwmon/pcf8591.c 	sysfs_remove_group(&client->dev.kobj, &pcf8591_attr_group);
client            243 drivers/hwmon/pcf8591.c static void pcf8591_init_client(struct i2c_client *client)
client            245 drivers/hwmon/pcf8591.c 	struct pcf8591_data *data = i2c_get_clientdata(client);
client            249 drivers/hwmon/pcf8591.c 	i2c_smbus_write_byte_data(client, data->control, data->aout);
client            255 drivers/hwmon/pcf8591.c 	i2c_smbus_read_byte(client);
client            261 drivers/hwmon/pcf8591.c 	struct i2c_client *client = to_i2c_client(dev);
client            262 drivers/hwmon/pcf8591.c 	struct pcf8591_data *data = i2c_get_clientdata(client);
client            269 drivers/hwmon/pcf8591.c 		i2c_smbus_write_byte(client, data->control);
client            275 drivers/hwmon/pcf8591.c 		i2c_smbus_read_byte(client);
client            277 drivers/hwmon/pcf8591.c 	value = i2c_smbus_read_byte(client);
client            174 drivers/hwmon/pmbus/adm1275.c 				    struct i2c_client *client, bool is_power)
client            185 drivers/hwmon/pmbus/adm1275.c 		ret = i2c_smbus_read_word_data(client, ADM1275_PMON_CONFIG);
client            189 drivers/hwmon/pmbus/adm1275.c 		ret = i2c_smbus_read_byte_data(client, ADM1275_PMON_CONFIG);
client            200 drivers/hwmon/pmbus/adm1275.c 				     struct i2c_client *client,
client            207 drivers/hwmon/pmbus/adm1275.c 		ret = i2c_smbus_read_word_data(client, ADM1275_PMON_CONFIG);
client            211 drivers/hwmon/pmbus/adm1275.c 		ret = i2c_smbus_read_byte_data(client, ADM1275_PMON_CONFIG);
client            220 drivers/hwmon/pmbus/adm1275.c 		ret = i2c_smbus_write_word_data(client, ADM1275_PMON_CONFIG,
client            223 drivers/hwmon/pmbus/adm1275.c 		ret = i2c_smbus_write_byte_data(client, ADM1275_PMON_CONFIG,
client            229 drivers/hwmon/pmbus/adm1275.c static int adm1275_read_word_data(struct i2c_client *client, int page, int reg)
client            231 drivers/hwmon/pmbus/adm1275.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            242 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_read_word_data(client, 0, ADM1275_IOUT_WARN2_LIMIT);
client            247 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_read_word_data(client, 0, ADM1275_IOUT_WARN2_LIMIT);
client            252 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_read_word_data(client, 0,
client            258 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_read_word_data(client, 0,
client            264 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_read_word_data(client, 0, ADM1075_READ_VAUX);
client            269 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_read_word_data(client, 0, ADM1293_IOUT_MIN);
client            272 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_read_word_data(client, 0, ADM1275_PEAK_IOUT);
client            275 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_read_word_data(client, 0, ADM1275_PEAK_VOUT);
client            278 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_read_word_data(client, 0, ADM1275_PEAK_VIN);
client            283 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_read_word_data(client, 0, ADM1293_PIN_MIN);
client            288 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_read_word_data(client, 0, ADM1276_PEAK_PIN);
client            293 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_read_word_data(client, 0, ADM1278_PEAK_TEMP);
client            310 drivers/hwmon/pmbus/adm1275.c 		ret = adm1275_read_pmon_config(data, client, true);
client            317 drivers/hwmon/pmbus/adm1275.c 		ret = adm1275_read_pmon_config(data, client, false);
client            329 drivers/hwmon/pmbus/adm1275.c static int adm1275_write_word_data(struct i2c_client *client, int page, int reg,
client            332 drivers/hwmon/pmbus/adm1275.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            342 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_write_word_data(client, 0, ADM1275_IOUT_WARN2_LIMIT,
client            346 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_write_word_data(client, 0, ADM1275_PEAK_IOUT, 0);
client            348 drivers/hwmon/pmbus/adm1275.c 			ret = pmbus_write_word_data(client, 0,
client            352 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_write_word_data(client, 0, ADM1275_PEAK_VOUT, 0);
client            355 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_write_word_data(client, 0, ADM1275_PEAK_VIN, 0);
client            358 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_write_word_data(client, 0, ADM1276_PEAK_PIN, 0);
client            360 drivers/hwmon/pmbus/adm1275.c 			ret = pmbus_write_word_data(client, 0,
client            364 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_write_word_data(client, 0, ADM1278_PEAK_TEMP, 0);
client            370 drivers/hwmon/pmbus/adm1275.c 		ret = adm1275_write_pmon_config(data, client, true,
client            376 drivers/hwmon/pmbus/adm1275.c 		ret = adm1275_write_pmon_config(data, client, false,
client            386 drivers/hwmon/pmbus/adm1275.c static int adm1275_read_byte_data(struct i2c_client *client, int page, int reg)
client            388 drivers/hwmon/pmbus/adm1275.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            397 drivers/hwmon/pmbus/adm1275.c 		ret = pmbus_read_byte_data(client, page, PMBUS_STATUS_IOUT);
client            402 drivers/hwmon/pmbus/adm1275.c 		mfr_status = pmbus_read_byte_data(client, page,
client            416 drivers/hwmon/pmbus/adm1275.c 			mfr_status = pmbus_read_byte_data(client, 0,
client            425 drivers/hwmon/pmbus/adm1275.c 			mfr_status = pmbus_read_byte_data(client, page,
client            454 drivers/hwmon/pmbus/adm1275.c static int adm1275_probe(struct i2c_client *client,
client            468 drivers/hwmon/pmbus/adm1275.c 	if (!i2c_check_functionality(client->adapter,
client            473 drivers/hwmon/pmbus/adm1275.c 	ret = i2c_smbus_read_block_data(client, PMBUS_MFR_ID, block_buffer);
client            475 drivers/hwmon/pmbus/adm1275.c 		dev_err(&client->dev, "Failed to read Manufacturer ID\n");
client            479 drivers/hwmon/pmbus/adm1275.c 		dev_err(&client->dev, "Unsupported Manufacturer ID\n");
client            483 drivers/hwmon/pmbus/adm1275.c 	ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, block_buffer);
client            485 drivers/hwmon/pmbus/adm1275.c 		dev_err(&client->dev, "Failed to read Manufacturer Model\n");
client            493 drivers/hwmon/pmbus/adm1275.c 		dev_err(&client->dev, "Unsupported device\n");
client            498 drivers/hwmon/pmbus/adm1275.c 		dev_notice(&client->dev,
client            502 drivers/hwmon/pmbus/adm1275.c 	config = i2c_smbus_read_byte_data(client, ADM1275_PMON_CONFIG);
client            506 drivers/hwmon/pmbus/adm1275.c 	device_config = i2c_smbus_read_byte_data(client, ADM1275_DEVICE_CONFIG);
client            510 drivers/hwmon/pmbus/adm1275.c 	data = devm_kzalloc(&client->dev, sizeof(struct adm1275_data),
client            515 drivers/hwmon/pmbus/adm1275.c 	if (of_property_read_u32(client->dev.of_node,
client            560 drivers/hwmon/pmbus/adm1275.c 			dev_err(&client->dev, "Invalid input current range");
client            603 drivers/hwmon/pmbus/adm1275.c 			ret = i2c_smbus_write_byte_data(client,
client            607 drivers/hwmon/pmbus/adm1275.c 				dev_err(&client->dev,
client            674 drivers/hwmon/pmbus/adm1275.c 			ret = i2c_smbus_write_byte_data(client,
client            678 drivers/hwmon/pmbus/adm1275.c 				dev_err(&client->dev,
client            742 drivers/hwmon/pmbus/adm1275.c 		dev_err(&client->dev, "Unsupported device\n");
client            777 drivers/hwmon/pmbus/adm1275.c 	return pmbus_do_probe(client, id, info);
client             73 drivers/hwmon/pmbus/ibm-cffps.c 	struct i2c_client *client;
client             95 drivers/hwmon/pmbus/ibm-cffps.c 			.addr = psu->client->addr,
client             96 drivers/hwmon/pmbus/ibm-cffps.c 			.flags = psu->client->flags,
client            100 drivers/hwmon/pmbus/ibm-cffps.c 			.addr = psu->client->addr,
client            101 drivers/hwmon/pmbus/ibm-cffps.c 			.flags = psu->client->flags | I2C_M_RD,
client            114 drivers/hwmon/pmbus/ibm-cffps.c 			rc = i2c_transfer(psu->client->adapter, msg, 2);
client            144 drivers/hwmon/pmbus/ibm-cffps.c 	pmbus_set_page(psu->client, 0);
client            159 drivers/hwmon/pmbus/ibm-cffps.c 		rc = i2c_smbus_read_word_swapped(psu->client, CFFPS_CCIN_CMD);
client            169 drivers/hwmon/pmbus/ibm-cffps.c 				rc = i2c_smbus_read_byte_data(psu->client,
client            182 drivers/hwmon/pmbus/ibm-cffps.c 				rc = i2c_smbus_read_word_data(psu->client,
client            201 drivers/hwmon/pmbus/ibm-cffps.c 	rc = i2c_smbus_read_block_data(psu->client, cmd, data);
client            218 drivers/hwmon/pmbus/ibm-cffps.c static int ibm_cffps_read_byte_data(struct i2c_client *client, int page,
client            228 drivers/hwmon/pmbus/ibm-cffps.c 		rc = pmbus_read_byte_data(client, page, reg);
client            232 drivers/hwmon/pmbus/ibm-cffps.c 		mfr = pmbus_read_byte_data(client, page,
client            268 drivers/hwmon/pmbus/ibm-cffps.c static int ibm_cffps_read_word_data(struct i2c_client *client, int page,
client            275 drivers/hwmon/pmbus/ibm-cffps.c 		rc = pmbus_read_word_data(client, page, reg);
client            279 drivers/hwmon/pmbus/ibm-cffps.c 		mfr = pmbus_read_byte_data(client, page,
client            317 drivers/hwmon/pmbus/ibm-cffps.c 	dev_dbg(&psu->client->dev, "LED brightness set: %d. Command: %d.\n",
client            320 drivers/hwmon/pmbus/ibm-cffps.c 	pmbus_set_page(psu->client, 0);
client            322 drivers/hwmon/pmbus/ibm-cffps.c 	rc = i2c_smbus_write_byte_data(psu->client, CFFPS_SYS_CONFIG_CMD,
client            340 drivers/hwmon/pmbus/ibm-cffps.c 	dev_dbg(&psu->client->dev, "LED blink set.\n");
client            342 drivers/hwmon/pmbus/ibm-cffps.c 	pmbus_set_page(psu->client, 0);
client            344 drivers/hwmon/pmbus/ibm-cffps.c 	rc = i2c_smbus_write_byte_data(psu->client, CFFPS_SYS_CONFIG_CMD,
client            360 drivers/hwmon/pmbus/ibm-cffps.c 	struct i2c_client *client = psu->client;
client            361 drivers/hwmon/pmbus/ibm-cffps.c 	struct device *dev = &client->dev;
client            363 drivers/hwmon/pmbus/ibm-cffps.c 	snprintf(psu->led_name, sizeof(psu->led_name), "%s-%02x", client->name,
client            364 drivers/hwmon/pmbus/ibm-cffps.c 		 client->addr);
client            407 drivers/hwmon/pmbus/ibm-cffps.c static int ibm_cffps_probe(struct i2c_client *client,
client            415 drivers/hwmon/pmbus/ibm-cffps.c 	const void *md = of_device_get_match_data(&client->dev);
client            424 drivers/hwmon/pmbus/ibm-cffps.c 	client->dev.platform_data = &ibm_cffps_pdata;
client            425 drivers/hwmon/pmbus/ibm-cffps.c 	rc = pmbus_do_probe(client, id, &ibm_cffps_info[vs]);
client            433 drivers/hwmon/pmbus/ibm-cffps.c 	psu = devm_kzalloc(&client->dev, sizeof(*psu), GFP_KERNEL);
client            438 drivers/hwmon/pmbus/ibm-cffps.c 	psu->client = client;
client            445 drivers/hwmon/pmbus/ibm-cffps.c 	debugfs = pmbus_get_debugfs_dir(client);
client            449 drivers/hwmon/pmbus/ibm-cffps.c 	ibm_cffps_dir = debugfs_create_dir(client->name, debugfs);
client             61 drivers/hwmon/pmbus/inspur-ipsps.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client             65 drivers/hwmon/pmbus/inspur-ipsps.c 	rc = i2c_smbus_read_block_data(client, reg, data);
client             83 drivers/hwmon/pmbus/inspur-ipsps.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client             87 drivers/hwmon/pmbus/inspur-ipsps.c 	rc = i2c_smbus_read_block_data(client, reg, data);
client            104 drivers/hwmon/pmbus/inspur-ipsps.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client            108 drivers/hwmon/pmbus/inspur-ipsps.c 	rc = i2c_smbus_read_byte_data(client, reg);
client            136 drivers/hwmon/pmbus/inspur-ipsps.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client            141 drivers/hwmon/pmbus/inspur-ipsps.c 		rc = i2c_smbus_write_byte_data(client, reg,
client            147 drivers/hwmon/pmbus/inspur-ipsps.c 		rc = i2c_smbus_write_byte_data(client, reg,
client            193 drivers/hwmon/pmbus/inspur-ipsps.c static int ipsps_probe(struct i2c_client *client,
client            196 drivers/hwmon/pmbus/inspur-ipsps.c 	client->dev.platform_data = &ipsps_pdata;
client            197 drivers/hwmon/pmbus/inspur-ipsps.c 	return pmbus_do_probe(client, id, &ipsps_info);
client             24 drivers/hwmon/pmbus/ir35221.c static int ir35221_read_word_data(struct i2c_client *client, int page, int reg)
client             30 drivers/hwmon/pmbus/ir35221.c 		ret = pmbus_read_word_data(client, page, IR35221_MFR_VIN_PEAK);
client             33 drivers/hwmon/pmbus/ir35221.c 		ret = pmbus_read_word_data(client, page, IR35221_MFR_VOUT_PEAK);
client             36 drivers/hwmon/pmbus/ir35221.c 		ret = pmbus_read_word_data(client, page, IR35221_MFR_IOUT_PEAK);
client             39 drivers/hwmon/pmbus/ir35221.c 		ret = pmbus_read_word_data(client, page, IR35221_MFR_TEMP_PEAK);
client             42 drivers/hwmon/pmbus/ir35221.c 		ret = pmbus_read_word_data(client, page,
client             46 drivers/hwmon/pmbus/ir35221.c 		ret = pmbus_read_word_data(client, page,
client             50 drivers/hwmon/pmbus/ir35221.c 		ret = pmbus_read_word_data(client, page,
client             54 drivers/hwmon/pmbus/ir35221.c 		ret = pmbus_read_word_data(client, page,
client             65 drivers/hwmon/pmbus/ir35221.c static int ir35221_probe(struct i2c_client *client,
client             72 drivers/hwmon/pmbus/ir35221.c 	if (!i2c_check_functionality(client->adapter,
client             78 drivers/hwmon/pmbus/ir35221.c 	ret = i2c_smbus_read_block_data(client, PMBUS_MFR_ID, buf);
client             80 drivers/hwmon/pmbus/ir35221.c 		dev_err(&client->dev, "Failed to read PMBUS_MFR_ID\n");
client             84 drivers/hwmon/pmbus/ir35221.c 		dev_err(&client->dev, "MFR_ID unrecognised\n");
client             88 drivers/hwmon/pmbus/ir35221.c 	ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, buf);
client             90 drivers/hwmon/pmbus/ir35221.c 		dev_err(&client->dev, "Failed to read PMBUS_MFR_MODEL\n");
client             94 drivers/hwmon/pmbus/ir35221.c 		dev_err(&client->dev, "MFR_MODEL unrecognised\n");
client             98 drivers/hwmon/pmbus/ir35221.c 	info = devm_kzalloc(&client->dev, sizeof(struct pmbus_driver_info),
client            121 drivers/hwmon/pmbus/ir35221.c 	return pmbus_do_probe(client, id, info);
client             38 drivers/hwmon/pmbus/ir38064.c static int ir38064_probe(struct i2c_client *client,
client             41 drivers/hwmon/pmbus/ir38064.c 	return pmbus_do_probe(client, id, &ir38064_info);
client             41 drivers/hwmon/pmbus/irps5401.c static int irps5401_probe(struct i2c_client *client,
client             44 drivers/hwmon/pmbus/irps5401.c 	return pmbus_do_probe(client, id, &irps5401_info);
client             21 drivers/hwmon/pmbus/isl68137.c static ssize_t isl68137_avs_enable_show_page(struct i2c_client *client,
client             25 drivers/hwmon/pmbus/isl68137.c 	int val = pmbus_read_byte_data(client, page, PMBUS_OPERATION);
client             31 drivers/hwmon/pmbus/isl68137.c static ssize_t isl68137_avs_enable_store_page(struct i2c_client *client,
client             52 drivers/hwmon/pmbus/isl68137.c 		rc = pmbus_read_word_data(client, page, PMBUS_VOUT_COMMAND);
client             56 drivers/hwmon/pmbus/isl68137.c 		rc = pmbus_write_word_data(client, page, PMBUS_VOUT_COMMAND,
client             62 drivers/hwmon/pmbus/isl68137.c 	rc = pmbus_update_byte_data(client, page, PMBUS_OPERATION,
client             72 drivers/hwmon/pmbus/isl68137.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client             75 drivers/hwmon/pmbus/isl68137.c 	return isl68137_avs_enable_show_page(client, attr->index, buf);
client             82 drivers/hwmon/pmbus/isl68137.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client             85 drivers/hwmon/pmbus/isl68137.c 	return isl68137_avs_enable_store_page(client, attr->index, buf, count);
client            142 drivers/hwmon/pmbus/isl68137.c static int isl68137_probe(struct i2c_client *client,
client            145 drivers/hwmon/pmbus/isl68137.c 	return pmbus_do_probe(client, id, &isl68137_info);
client            214 drivers/hwmon/pmbus/lm25066.c static int lm25066_read_word_data(struct i2c_client *client, int page, int reg)
client            216 drivers/hwmon/pmbus/lm25066.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            222 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_word_data(client, 0, LM25066_READ_VAUX);
client            247 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_word_data(client, 0, LM25066_MFR_READ_IIN);
client            250 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_word_data(client, 0, LM25066_MFR_READ_PIN);
client            253 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_word_data(client, 0,
client            257 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_word_data(client, 0,
client            261 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_word_data(client, 0, LM25066_READ_AVG_VIN);
client            264 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_word_data(client, 0, LM25066_READ_AVG_VOUT);
client            267 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_word_data(client, 0, LM25066_READ_AVG_IIN);
client            270 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_word_data(client, 0, LM25066_READ_AVG_PIN);
client            273 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_word_data(client, 0, LM25066_READ_PIN_PEAK);
client            279 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_byte_data(client, 0, LM25066_SAMPLES_FOR_AVG);
client            291 drivers/hwmon/pmbus/lm25066.c static int lm25056_read_word_data(struct i2c_client *client, int page, int reg)
client            297 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_word_data(client, 0,
client            305 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_word_data(client, 0,
client            313 drivers/hwmon/pmbus/lm25066.c 		ret = lm25066_read_word_data(client, page, reg);
client            319 drivers/hwmon/pmbus/lm25066.c static int lm25056_read_byte_data(struct i2c_client *client, int page, int reg)
client            325 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_read_byte_data(client, 0,
client            343 drivers/hwmon/pmbus/lm25066.c static int lm25066_write_word_data(struct i2c_client *client, int page, int reg,
client            346 drivers/hwmon/pmbus/lm25066.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            362 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_write_word_data(client, 0, reg, word);
client            363 drivers/hwmon/pmbus/lm25066.c 		pmbus_clear_cache(client);
client            367 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_write_word_data(client, 0,
client            370 drivers/hwmon/pmbus/lm25066.c 		pmbus_clear_cache(client);
client            374 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_write_word_data(client, 0,
client            377 drivers/hwmon/pmbus/lm25066.c 		pmbus_clear_cache(client);
client            383 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_write_word_data(client, 0,
client            385 drivers/hwmon/pmbus/lm25066.c 		pmbus_clear_cache(client);
client            391 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_write_word_data(client, 0,
client            393 drivers/hwmon/pmbus/lm25066.c 		pmbus_clear_cache(client);
client            396 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_write_byte(client, 0, LM25066_CLEAR_PIN_PEAK);
client            400 drivers/hwmon/pmbus/lm25066.c 		ret = pmbus_write_byte_data(client, 0, LM25066_SAMPLES_FOR_AVG,
client            410 drivers/hwmon/pmbus/lm25066.c static int lm25066_probe(struct i2c_client *client,
client            418 drivers/hwmon/pmbus/lm25066.c 	if (!i2c_check_functionality(client->adapter,
client            422 drivers/hwmon/pmbus/lm25066.c 	data = devm_kzalloc(&client->dev, sizeof(struct lm25066_data),
client            427 drivers/hwmon/pmbus/lm25066.c 	config = i2c_smbus_read_byte_data(client, LM25066_DEVICE_SETUP);
client            481 drivers/hwmon/pmbus/lm25066.c 	return pmbus_do_probe(client, id, info);
client            116 drivers/hwmon/pmbus/ltc2978.c static int ltc_wait_ready(struct i2c_client *client)
client            119 drivers/hwmon/pmbus/ltc2978.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            136 drivers/hwmon/pmbus/ltc2978.c 		status = pmbus_read_byte_data(client, 0, LTC2978_MFR_COMMON);
client            154 drivers/hwmon/pmbus/ltc2978.c static int ltc_read_word_data(struct i2c_client *client, int page, int reg)
client            158 drivers/hwmon/pmbus/ltc2978.c 	ret = ltc_wait_ready(client);
client            162 drivers/hwmon/pmbus/ltc2978.c 	return pmbus_read_word_data(client, page, reg);
client            165 drivers/hwmon/pmbus/ltc2978.c static int ltc_read_byte_data(struct i2c_client *client, int page, int reg)
client            169 drivers/hwmon/pmbus/ltc2978.c 	ret = ltc_wait_ready(client);
client            173 drivers/hwmon/pmbus/ltc2978.c 	return pmbus_read_byte_data(client, page, reg);
client            176 drivers/hwmon/pmbus/ltc2978.c static int ltc_write_byte(struct i2c_client *client, int page, u8 byte)
client            180 drivers/hwmon/pmbus/ltc2978.c 	ret = ltc_wait_ready(client);
client            184 drivers/hwmon/pmbus/ltc2978.c 	return pmbus_write_byte(client, page, byte);
client            200 drivers/hwmon/pmbus/ltc2978.c static int ltc_get_max(struct ltc2978_data *data, struct i2c_client *client,
client            205 drivers/hwmon/pmbus/ltc2978.c 	ret = ltc_read_word_data(client, page, reg);
client            214 drivers/hwmon/pmbus/ltc2978.c static int ltc_get_min(struct ltc2978_data *data, struct i2c_client *client,
client            219 drivers/hwmon/pmbus/ltc2978.c 	ret = ltc_read_word_data(client, page, reg);
client            228 drivers/hwmon/pmbus/ltc2978.c static int ltc2978_read_word_data_common(struct i2c_client *client, int page,
client            231 drivers/hwmon/pmbus/ltc2978.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            237 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_get_max(data, client, page, LTC2978_MFR_VIN_PEAK,
client            241 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_read_word_data(client, page, LTC2978_MFR_VOUT_PEAK);
client            253 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_get_max(data, client, page,
client            263 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_wait_ready(client);
client            272 drivers/hwmon/pmbus/ltc2978.c static int ltc2978_read_word_data(struct i2c_client *client, int page, int reg)
client            274 drivers/hwmon/pmbus/ltc2978.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            280 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_get_min(data, client, page, LTC2978_MFR_VIN_MIN,
client            284 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_read_word_data(client, page, LTC2978_MFR_VOUT_MIN);
client            300 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_get_min(data, client, page,
client            311 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc2978_read_word_data_common(client, page, reg);
client            317 drivers/hwmon/pmbus/ltc2978.c static int ltc2974_read_word_data(struct i2c_client *client, int page, int reg)
client            319 drivers/hwmon/pmbus/ltc2978.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            325 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_get_max(data, client, page, LTC2974_MFR_IOUT_PEAK,
client            329 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_get_min(data, client, page, LTC2974_MFR_IOUT_MIN,
client            336 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc2978_read_word_data(client, page, reg);
client            342 drivers/hwmon/pmbus/ltc2978.c static int ltc2975_read_word_data(struct i2c_client *client, int page, int reg)
client            344 drivers/hwmon/pmbus/ltc2978.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            350 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_get_max(data, client, page, LTC2975_MFR_IIN_PEAK,
client            354 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_get_min(data, client, page, LTC2975_MFR_IIN_MIN,
client            358 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_get_max(data, client, page, LTC2975_MFR_PIN_PEAK,
client            362 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_get_min(data, client, page, LTC2975_MFR_PIN_MIN,
client            370 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc2978_read_word_data(client, page, reg);
client            376 drivers/hwmon/pmbus/ltc2978.c static int ltc3880_read_word_data(struct i2c_client *client, int page, int reg)
client            378 drivers/hwmon/pmbus/ltc2978.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            384 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_get_max(data, client, page, LTC3880_MFR_IOUT_PEAK,
client            388 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_get_max(data, client, page,
client            402 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc2978_read_word_data_common(client, page, reg);
client            408 drivers/hwmon/pmbus/ltc2978.c static int ltc3883_read_word_data(struct i2c_client *client, int page, int reg)
client            410 drivers/hwmon/pmbus/ltc2978.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            416 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_get_max(data, client, page, LTC3883_MFR_IIN_PEAK,
client            423 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc3880_read_word_data(client, page, reg);
client            430 drivers/hwmon/pmbus/ltc2978.c 			       struct i2c_client *client, int page)
client            435 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_write_byte(client, 0, LTC3880_MFR_CLEAR_PEAKS);
client            437 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_write_byte(client, page, PMBUS_CLEAR_FAULTS);
client            442 drivers/hwmon/pmbus/ltc2978.c static int ltc2978_write_word_data(struct i2c_client *client, int page,
client            445 drivers/hwmon/pmbus/ltc2978.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            453 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc2978_clear_peaks(data, client, 0);
client            458 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc2978_clear_peaks(data, client, 0);
client            463 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc2978_clear_peaks(data, client, page);
client            467 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc2978_clear_peaks(data, client, page);
client            472 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc2978_clear_peaks(data, client, page);
client            477 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc2978_clear_peaks(data, client, page);
client            482 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc2978_clear_peaks(data, client, page);
client            485 drivers/hwmon/pmbus/ltc2978.c 		ret = ltc_wait_ready(client);
client            526 drivers/hwmon/pmbus/ltc2978.c static int ltc2978_get_id(struct i2c_client *client)
client            530 drivers/hwmon/pmbus/ltc2978.c 	chip_id = i2c_smbus_read_word_data(client, LTC2978_MFR_SPECIAL_ID);
client            536 drivers/hwmon/pmbus/ltc2978.c 		if (!i2c_check_functionality(client->adapter,
client            540 drivers/hwmon/pmbus/ltc2978.c 		ret = i2c_smbus_read_block_data(client, PMBUS_MFR_ID, buf);
client            546 drivers/hwmon/pmbus/ltc2978.c 		ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, buf);
client            588 drivers/hwmon/pmbus/ltc2978.c 	dev_err(&client->dev, "Unsupported chip ID 0x%x\n", chip_id);
client            592 drivers/hwmon/pmbus/ltc2978.c static int ltc2978_probe(struct i2c_client *client,
client            599 drivers/hwmon/pmbus/ltc2978.c 	if (!i2c_check_functionality(client->adapter,
client            603 drivers/hwmon/pmbus/ltc2978.c 	data = devm_kzalloc(&client->dev, sizeof(struct ltc2978_data),
client            608 drivers/hwmon/pmbus/ltc2978.c 	chip_id = ltc2978_get_id(client);
client            614 drivers/hwmon/pmbus/ltc2978.c 		dev_warn(&client->dev,
client            747 drivers/hwmon/pmbus/ltc2978.c 		dev_err(&client->dev, "num_regulators too large!");
client            752 drivers/hwmon/pmbus/ltc2978.c 	return pmbus_do_probe(client, id, info);
client             27 drivers/hwmon/pmbus/ltc3815.c static int ltc3815_read_byte_data(struct i2c_client *client, int page, int reg)
client             48 drivers/hwmon/pmbus/ltc3815.c static int ltc3815_write_byte(struct i2c_client *client, int page, u8 reg)
client             58 drivers/hwmon/pmbus/ltc3815.c 		ret = pmbus_read_word_data(client, 0, PMBUS_STATUS_WORD);
client             60 drivers/hwmon/pmbus/ltc3815.c 			pmbus_write_word_data(client, 0, PMBUS_STATUS_WORD,
client             72 drivers/hwmon/pmbus/ltc3815.c static int ltc3815_read_word_data(struct i2c_client *client, int page, int reg)
client             78 drivers/hwmon/pmbus/ltc3815.c 		ret = pmbus_read_word_data(client, page, LTC3815_MFR_VIN_PEAK);
client             81 drivers/hwmon/pmbus/ltc3815.c 		ret = pmbus_read_word_data(client, page, LTC3815_MFR_VOUT_PEAK);
client             84 drivers/hwmon/pmbus/ltc3815.c 		ret = pmbus_read_word_data(client, page, LTC3815_MFR_TEMP_PEAK);
client             87 drivers/hwmon/pmbus/ltc3815.c 		ret = pmbus_read_word_data(client, page, LTC3815_MFR_IOUT_PEAK);
client             90 drivers/hwmon/pmbus/ltc3815.c 		ret = pmbus_read_word_data(client, page, LTC3815_MFR_IIN_PEAK);
client            106 drivers/hwmon/pmbus/ltc3815.c static int ltc3815_write_word_data(struct i2c_client *client, int page,
client            113 drivers/hwmon/pmbus/ltc3815.c 		ret = pmbus_write_word_data(client, page,
client            117 drivers/hwmon/pmbus/ltc3815.c 		ret = pmbus_write_word_data(client, page,
client            121 drivers/hwmon/pmbus/ltc3815.c 		ret = pmbus_write_word_data(client, page,
client            125 drivers/hwmon/pmbus/ltc3815.c 		ret = pmbus_write_word_data(client, page,
client            129 drivers/hwmon/pmbus/ltc3815.c 		ret = pmbus_write_word_data(client, page,
client            175 drivers/hwmon/pmbus/ltc3815.c static int ltc3815_probe(struct i2c_client *client,
client            180 drivers/hwmon/pmbus/ltc3815.c 	if (!i2c_check_functionality(client->adapter,
client            184 drivers/hwmon/pmbus/ltc3815.c 	chip_id = i2c_smbus_read_word_data(client, LTC3815_MFR_SPECIAL_ID);
client            190 drivers/hwmon/pmbus/ltc3815.c 	return pmbus_do_probe(client, id, &ltc3815_info);
client             18 drivers/hwmon/pmbus/max16064.c static int max16064_read_word_data(struct i2c_client *client, int page, int reg)
client             24 drivers/hwmon/pmbus/max16064.c 		ret = pmbus_read_word_data(client, page,
client             28 drivers/hwmon/pmbus/max16064.c 		ret = pmbus_read_word_data(client, page,
client             42 drivers/hwmon/pmbus/max16064.c static int max16064_write_word_data(struct i2c_client *client, int page,
client             49 drivers/hwmon/pmbus/max16064.c 		ret = pmbus_write_word_data(client, page,
client             53 drivers/hwmon/pmbus/max16064.c 		ret = pmbus_write_word_data(client, page,
client             87 drivers/hwmon/pmbus/max16064.c static int max16064_probe(struct i2c_client *client,
client             90 drivers/hwmon/pmbus/max16064.c 	return pmbus_do_probe(client, id, &max16064_info);
client             29 drivers/hwmon/pmbus/max20751.c static int max20751_probe(struct i2c_client *client,
client             32 drivers/hwmon/pmbus/max20751.c 	return pmbus_do_probe(client, id, &max20751_info);
client             26 drivers/hwmon/pmbus/max31785.c static int max31785_read_byte_data(struct i2c_client *client, int page,
client             36 drivers/hwmon/pmbus/max31785.c 		return pmbus_read_byte_data(client, page - MAX31785_NR_PAGES,
client             43 drivers/hwmon/pmbus/max31785.c static int max31785_write_byte(struct i2c_client *client, int page, u8 value)
client             51 drivers/hwmon/pmbus/max31785.c static int max31785_read_long_data(struct i2c_client *client, int page,
client             60 drivers/hwmon/pmbus/max31785.c 			.addr = client->addr,
client             66 drivers/hwmon/pmbus/max31785.c 			.addr = client->addr,
client             75 drivers/hwmon/pmbus/max31785.c 	rc = pmbus_set_page(client, page);
client             79 drivers/hwmon/pmbus/max31785.c 	rc = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg));
client             89 drivers/hwmon/pmbus/max31785.c static int max31785_get_pwm(struct i2c_client *client, int page)
client             93 drivers/hwmon/pmbus/max31785.c 	rv = pmbus_get_fan_rate_device(client, page, 0, percent);
client            104 drivers/hwmon/pmbus/max31785.c static int max31785_get_pwm_mode(struct i2c_client *client, int page)
client            109 drivers/hwmon/pmbus/max31785.c 	config = pmbus_read_byte_data(client, page, PMBUS_FAN_CONFIG_12);
client            113 drivers/hwmon/pmbus/max31785.c 	command = pmbus_read_word_data(client, page, PMBUS_FAN_COMMAND_1);
client            128 drivers/hwmon/pmbus/max31785.c static int max31785_read_word_data(struct i2c_client *client, int page,
client            139 drivers/hwmon/pmbus/max31785.c 		rv = max31785_read_long_data(client, page - MAX31785_NR_PAGES,
client            156 drivers/hwmon/pmbus/max31785.c 		rv = max31785_get_pwm(client, page);
client            159 drivers/hwmon/pmbus/max31785.c 		rv = max31785_get_pwm_mode(client, page);
client            190 drivers/hwmon/pmbus/max31785.c static int max31785_pwm_enable(struct i2c_client *client, int page,
client            201 drivers/hwmon/pmbus/max31785.c 		rate = pmbus_get_fan_rate_cached(client, page, 0, percent);
client            208 drivers/hwmon/pmbus/max31785.c 		rate = pmbus_get_fan_rate_cached(client, page, 0, rpm);
client            219 drivers/hwmon/pmbus/max31785.c 	return pmbus_update_fan(client, page, 0, config, PB_FAN_1_RPM, rate);
client            222 drivers/hwmon/pmbus/max31785.c static int max31785_write_word_data(struct i2c_client *client, int page,
client            227 drivers/hwmon/pmbus/max31785.c 		return pmbus_update_fan(client, page, 0, 0, PB_FAN_1_RPM,
client            230 drivers/hwmon/pmbus/max31785.c 		return max31785_pwm_enable(client, page, word);
client            300 drivers/hwmon/pmbus/max31785.c static int max31785_configure_dual_tach(struct i2c_client *client,
client            307 drivers/hwmon/pmbus/max31785.c 		ret = i2c_smbus_write_byte_data(client, PMBUS_PAGE, i);
client            311 drivers/hwmon/pmbus/max31785.c 		ret = i2c_smbus_read_word_data(client, MFR_FAN_CONFIG);
client            327 drivers/hwmon/pmbus/max31785.c static int max31785_probe(struct i2c_client *client,
client            330 drivers/hwmon/pmbus/max31785.c 	struct device *dev = &client->dev;
client            335 drivers/hwmon/pmbus/max31785.c 	if (!i2c_check_functionality(client->adapter,
client            346 drivers/hwmon/pmbus/max31785.c 	ret = i2c_smbus_write_byte_data(client, PMBUS_PAGE, 255);
client            350 drivers/hwmon/pmbus/max31785.c 	ret = i2c_smbus_read_word_data(client, MFR_REVISION);
client            364 drivers/hwmon/pmbus/max31785.c 		ret = max31785_configure_dual_tach(client, info);
client            369 drivers/hwmon/pmbus/max31785.c 	return pmbus_do_probe(client, id, info);
client             44 drivers/hwmon/pmbus/max34440.c static int max34440_read_word_data(struct i2c_client *client, int page, int reg)
client             47 drivers/hwmon/pmbus/max34440.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client             52 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_read_word_data(client, page,
client             56 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_read_word_data(client, page,
client             62 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_read_word_data(client, page,
client             66 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_read_word_data(client, page,
client             72 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_read_word_data(client, page,
client             78 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_read_word_data(client, page,
client             85 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_read_word_data(client, page,
client             89 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_read_word_data(client, page,
client            109 drivers/hwmon/pmbus/max34440.c static int max34440_write_word_data(struct i2c_client *client, int page,
client            112 drivers/hwmon/pmbus/max34440.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            118 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_write_word_data(client, page,
client            122 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_write_word_data(client, page,
client            126 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_write_word_data(client, page,
client            130 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_write_word_data(client, page,
client            134 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_write_word_data(client, page,
client            137 drivers/hwmon/pmbus/max34440.c 			ret = pmbus_write_word_data(client, page,
client            142 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_write_word_data(client, page,
client            146 drivers/hwmon/pmbus/max34440.c 			ret = pmbus_write_word_data(client, page,
client            156 drivers/hwmon/pmbus/max34440.c static int max34440_read_byte_data(struct i2c_client *client, int page, int reg)
client            162 drivers/hwmon/pmbus/max34440.c 		ret = pmbus_set_page(client, page);
client            169 drivers/hwmon/pmbus/max34440.c 		mfg_status = pmbus_read_word_data(client, 0,
client            179 drivers/hwmon/pmbus/max34440.c 		mfg_status = pmbus_read_word_data(client, 0,
client            195 drivers/hwmon/pmbus/max34440.c static int max34451_set_supported_funcs(struct i2c_client *client,
client            214 drivers/hwmon/pmbus/max34440.c 		rv = i2c_smbus_write_byte_data(client, PMBUS_PAGE, page);
client            218 drivers/hwmon/pmbus/max34440.c 		rv = i2c_smbus_read_word_data(client,
client            463 drivers/hwmon/pmbus/max34440.c static int max34440_probe(struct i2c_client *client,
client            469 drivers/hwmon/pmbus/max34440.c 	data = devm_kzalloc(&client->dev, sizeof(struct max34440_data),
client            477 drivers/hwmon/pmbus/max34440.c 		rv = max34451_set_supported_funcs(client, data);
client            482 drivers/hwmon/pmbus/max34440.c 	return pmbus_do_probe(client, id, &data->info);
client             31 drivers/hwmon/pmbus/max8688.c static int max8688_read_word_data(struct i2c_client *client, int page, int reg)
client             40 drivers/hwmon/pmbus/max8688.c 		ret = pmbus_read_word_data(client, 0, MAX8688_MFR_VOUT_PEAK);
client             43 drivers/hwmon/pmbus/max8688.c 		ret = pmbus_read_word_data(client, 0, MAX8688_MFR_IOUT_PEAK);
client             46 drivers/hwmon/pmbus/max8688.c 		ret = pmbus_read_word_data(client, 0,
client             61 drivers/hwmon/pmbus/max8688.c static int max8688_write_word_data(struct i2c_client *client, int page, int reg,
client             68 drivers/hwmon/pmbus/max8688.c 		ret = pmbus_write_word_data(client, 0, MAX8688_MFR_VOUT_PEAK,
client             72 drivers/hwmon/pmbus/max8688.c 		ret = pmbus_write_word_data(client, 0, MAX8688_MFR_IOUT_PEAK,
client             76 drivers/hwmon/pmbus/max8688.c 		ret = pmbus_write_word_data(client, 0,
client             87 drivers/hwmon/pmbus/max8688.c static int max8688_read_byte_data(struct i2c_client *client, int page, int reg)
client             97 drivers/hwmon/pmbus/max8688.c 		mfg_status = pmbus_read_word_data(client, 0,
client            111 drivers/hwmon/pmbus/max8688.c 		mfg_status = pmbus_read_word_data(client, 0,
client            123 drivers/hwmon/pmbus/max8688.c 		mfg_status = pmbus_read_word_data(client, 0,
client            165 drivers/hwmon/pmbus/max8688.c static int max8688_probe(struct i2c_client *client,
client            168 drivers/hwmon/pmbus/max8688.c 	return pmbus_do_probe(client, id, &max8688_info);
client             26 drivers/hwmon/pmbus/pmbus.c static void pmbus_find_sensor_groups(struct i2c_client *client,
client             32 drivers/hwmon/pmbus/pmbus.c 	if (pmbus_check_word_register(client, 0, PMBUS_READ_VIN))
client             34 drivers/hwmon/pmbus/pmbus.c 	if (pmbus_check_word_register(client, 0, PMBUS_READ_VCAP))
client             36 drivers/hwmon/pmbus/pmbus.c 	if (pmbus_check_word_register(client, 0, PMBUS_READ_IIN))
client             38 drivers/hwmon/pmbus/pmbus.c 	if (pmbus_check_word_register(client, 0, PMBUS_READ_PIN))
client             41 drivers/hwmon/pmbus/pmbus.c 	    && pmbus_check_byte_register(client, 0, PMBUS_STATUS_INPUT))
client             43 drivers/hwmon/pmbus/pmbus.c 	if (pmbus_check_byte_register(client, 0, PMBUS_FAN_CONFIG_12) &&
client             44 drivers/hwmon/pmbus/pmbus.c 	    pmbus_check_word_register(client, 0, PMBUS_READ_FAN_SPEED_1)) {
client             46 drivers/hwmon/pmbus/pmbus.c 		if (pmbus_check_byte_register(client, 0, PMBUS_STATUS_FAN_12))
client             49 drivers/hwmon/pmbus/pmbus.c 	if (pmbus_check_byte_register(client, 0, PMBUS_FAN_CONFIG_34) &&
client             50 drivers/hwmon/pmbus/pmbus.c 	    pmbus_check_word_register(client, 0, PMBUS_READ_FAN_SPEED_3)) {
client             52 drivers/hwmon/pmbus/pmbus.c 		if (pmbus_check_byte_register(client, 0, PMBUS_STATUS_FAN_34))
client             55 drivers/hwmon/pmbus/pmbus.c 	if (pmbus_check_word_register(client, 0, PMBUS_READ_TEMPERATURE_1))
client             57 drivers/hwmon/pmbus/pmbus.c 	if (pmbus_check_word_register(client, 0, PMBUS_READ_TEMPERATURE_2))
client             59 drivers/hwmon/pmbus/pmbus.c 	if (pmbus_check_word_register(client, 0, PMBUS_READ_TEMPERATURE_3))
client             63 drivers/hwmon/pmbus/pmbus.c 	    && pmbus_check_byte_register(client, 0,
client             69 drivers/hwmon/pmbus/pmbus.c 		if (pmbus_check_word_register(client, page, PMBUS_READ_VOUT)) {
client             71 drivers/hwmon/pmbus/pmbus.c 			if (pmbus_check_byte_register(client, page,
client             75 drivers/hwmon/pmbus/pmbus.c 		if (pmbus_check_word_register(client, page, PMBUS_READ_IOUT)) {
client             77 drivers/hwmon/pmbus/pmbus.c 			if (pmbus_check_byte_register(client, 0,
client             81 drivers/hwmon/pmbus/pmbus.c 		if (pmbus_check_word_register(client, page, PMBUS_READ_POUT))
client             89 drivers/hwmon/pmbus/pmbus.c static int pmbus_identify(struct i2c_client *client,
client            101 drivers/hwmon/pmbus/pmbus.c 		if (pmbus_check_byte_register(client, 0, PMBUS_PAGE)) {
client            105 drivers/hwmon/pmbus/pmbus.c 				if (pmbus_set_page(client, page) < 0)
client            108 drivers/hwmon/pmbus/pmbus.c 			pmbus_set_page(client, 0);
client            114 drivers/hwmon/pmbus/pmbus.c 		pmbus_clear_faults(client);
client            117 drivers/hwmon/pmbus/pmbus.c 	if (pmbus_check_byte_register(client, 0, PMBUS_VOUT_MODE)) {
client            120 drivers/hwmon/pmbus/pmbus.c 		vout_mode = pmbus_read_byte_data(client, 0, PMBUS_VOUT_MODE);
client            156 drivers/hwmon/pmbus/pmbus.c 	pmbus_find_sensor_groups(client, info);
client            161 drivers/hwmon/pmbus/pmbus.c static int pmbus_probe(struct i2c_client *client,
client            166 drivers/hwmon/pmbus/pmbus.c 	struct device *dev = &client->dev;
client            187 drivers/hwmon/pmbus/pmbus.c 	return pmbus_do_probe(client, id, info);
client            406 drivers/hwmon/pmbus/pmbus.h 	int (*read_byte_data)(struct i2c_client *client, int page, int reg);
client            407 drivers/hwmon/pmbus/pmbus.h 	int (*read_word_data)(struct i2c_client *client, int page, int reg);
client            408 drivers/hwmon/pmbus/pmbus.h 	int (*write_word_data)(struct i2c_client *client, int page, int reg,
client            410 drivers/hwmon/pmbus/pmbus.h 	int (*write_byte)(struct i2c_client *client, int page, u8 value);
client            416 drivers/hwmon/pmbus/pmbus.h 	int (*identify)(struct i2c_client *client,
client            445 drivers/hwmon/pmbus/pmbus.h void pmbus_clear_cache(struct i2c_client *client);
client            446 drivers/hwmon/pmbus/pmbus.h int pmbus_set_page(struct i2c_client *client, int page);
client            447 drivers/hwmon/pmbus/pmbus.h int pmbus_read_word_data(struct i2c_client *client, int page, u8 reg);
client            448 drivers/hwmon/pmbus/pmbus.h int pmbus_write_word_data(struct i2c_client *client, int page, u8 reg, u16 word);
client            449 drivers/hwmon/pmbus/pmbus.h int pmbus_read_byte_data(struct i2c_client *client, int page, u8 reg);
client            450 drivers/hwmon/pmbus/pmbus.h int pmbus_write_byte(struct i2c_client *client, int page, u8 value);
client            451 drivers/hwmon/pmbus/pmbus.h int pmbus_write_byte_data(struct i2c_client *client, int page, u8 reg,
client            453 drivers/hwmon/pmbus/pmbus.h int pmbus_update_byte_data(struct i2c_client *client, int page, u8 reg,
client            455 drivers/hwmon/pmbus/pmbus.h void pmbus_clear_faults(struct i2c_client *client);
client            456 drivers/hwmon/pmbus/pmbus.h bool pmbus_check_byte_register(struct i2c_client *client, int page, int reg);
client            457 drivers/hwmon/pmbus/pmbus.h bool pmbus_check_word_register(struct i2c_client *client, int page, int reg);
client            458 drivers/hwmon/pmbus/pmbus.h int pmbus_do_probe(struct i2c_client *client, const struct i2c_device_id *id,
client            460 drivers/hwmon/pmbus/pmbus.h int pmbus_do_remove(struct i2c_client *client);
client            462 drivers/hwmon/pmbus/pmbus.h 						      *client);
client            463 drivers/hwmon/pmbus/pmbus.h int pmbus_get_fan_rate_device(struct i2c_client *client, int page, int id,
client            465 drivers/hwmon/pmbus/pmbus.h int pmbus_get_fan_rate_cached(struct i2c_client *client, int page, int id,
client            467 drivers/hwmon/pmbus/pmbus.h int pmbus_update_fan(struct i2c_client *client, int page, int id,
client            469 drivers/hwmon/pmbus/pmbus.h struct dentry *pmbus_get_debugfs_dir(struct i2c_client *client);
client            109 drivers/hwmon/pmbus/pmbus_core.c 	int (*read_status)(struct i2c_client *client, int page);
client            115 drivers/hwmon/pmbus/pmbus_core.c 	struct i2c_client *client;
client            141 drivers/hwmon/pmbus/pmbus_core.c void pmbus_clear_cache(struct i2c_client *client)
client            143 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            149 drivers/hwmon/pmbus/pmbus_core.c int pmbus_set_page(struct i2c_client *client, int page)
client            151 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            158 drivers/hwmon/pmbus/pmbus_core.c 		rv = i2c_smbus_write_byte_data(client, PMBUS_PAGE, page);
client            162 drivers/hwmon/pmbus/pmbus_core.c 		rv = i2c_smbus_read_byte_data(client, PMBUS_PAGE);
client            176 drivers/hwmon/pmbus/pmbus_core.c int pmbus_write_byte(struct i2c_client *client, int page, u8 value)
client            180 drivers/hwmon/pmbus/pmbus_core.c 	rv = pmbus_set_page(client, page);
client            184 drivers/hwmon/pmbus/pmbus_core.c 	return i2c_smbus_write_byte(client, value);
client            192 drivers/hwmon/pmbus/pmbus_core.c static int _pmbus_write_byte(struct i2c_client *client, int page, u8 value)
client            194 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            199 drivers/hwmon/pmbus/pmbus_core.c 		status = info->write_byte(client, page, value);
client            203 drivers/hwmon/pmbus/pmbus_core.c 	return pmbus_write_byte(client, page, value);
client            206 drivers/hwmon/pmbus/pmbus_core.c int pmbus_write_word_data(struct i2c_client *client, int page, u8 reg,
client            211 drivers/hwmon/pmbus/pmbus_core.c 	rv = pmbus_set_page(client, page);
client            215 drivers/hwmon/pmbus/pmbus_core.c 	return i2c_smbus_write_word_data(client, reg, word);
client            220 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_write_virt_reg(struct i2c_client *client, int page, int reg,
client            231 drivers/hwmon/pmbus/pmbus_core.c 		rv = pmbus_update_fan(client, page, id, bit, bit, word);
client            245 drivers/hwmon/pmbus/pmbus_core.c static int _pmbus_write_word_data(struct i2c_client *client, int page, int reg,
client            248 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            253 drivers/hwmon/pmbus/pmbus_core.c 		status = info->write_word_data(client, page, reg, word);
client            259 drivers/hwmon/pmbus/pmbus_core.c 		return pmbus_write_virt_reg(client, page, reg, word);
client            261 drivers/hwmon/pmbus/pmbus_core.c 	return pmbus_write_word_data(client, page, reg, word);
client            264 drivers/hwmon/pmbus/pmbus_core.c int pmbus_update_fan(struct i2c_client *client, int page, int id,
client            271 drivers/hwmon/pmbus/pmbus_core.c 	from = pmbus_read_byte_data(client, page,
client            278 drivers/hwmon/pmbus/pmbus_core.c 		rv = pmbus_write_byte_data(client, page,
client            284 drivers/hwmon/pmbus/pmbus_core.c 	return _pmbus_write_word_data(client, page,
client            289 drivers/hwmon/pmbus/pmbus_core.c int pmbus_read_word_data(struct i2c_client *client, int page, u8 reg)
client            293 drivers/hwmon/pmbus/pmbus_core.c 	rv = pmbus_set_page(client, page);
client            297 drivers/hwmon/pmbus/pmbus_core.c 	return i2c_smbus_read_word_data(client, reg);
client            301 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_read_virt_reg(struct i2c_client *client, int page, int reg)
client            309 drivers/hwmon/pmbus/pmbus_core.c 		rv = pmbus_get_fan_rate_device(client, page, id, rpm);
client            323 drivers/hwmon/pmbus/pmbus_core.c static int _pmbus_read_word_data(struct i2c_client *client, int page, int reg)
client            325 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            330 drivers/hwmon/pmbus/pmbus_core.c 		status = info->read_word_data(client, page, reg);
client            336 drivers/hwmon/pmbus/pmbus_core.c 		return pmbus_read_virt_reg(client, page, reg);
client            338 drivers/hwmon/pmbus/pmbus_core.c 	return pmbus_read_word_data(client, page, reg);
client            341 drivers/hwmon/pmbus/pmbus_core.c int pmbus_read_byte_data(struct i2c_client *client, int page, u8 reg)
client            345 drivers/hwmon/pmbus/pmbus_core.c 	rv = pmbus_set_page(client, page);
client            349 drivers/hwmon/pmbus/pmbus_core.c 	return i2c_smbus_read_byte_data(client, reg);
client            353 drivers/hwmon/pmbus/pmbus_core.c int pmbus_write_byte_data(struct i2c_client *client, int page, u8 reg, u8 value)
client            357 drivers/hwmon/pmbus/pmbus_core.c 	rv = pmbus_set_page(client, page);
client            361 drivers/hwmon/pmbus/pmbus_core.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            365 drivers/hwmon/pmbus/pmbus_core.c int pmbus_update_byte_data(struct i2c_client *client, int page, u8 reg,
client            371 drivers/hwmon/pmbus/pmbus_core.c 	rv = pmbus_read_byte_data(client, page, reg);
client            378 drivers/hwmon/pmbus/pmbus_core.c 		rv = pmbus_write_byte_data(client, page, reg, tmp);
client            388 drivers/hwmon/pmbus/pmbus_core.c static int _pmbus_read_byte_data(struct i2c_client *client, int page, int reg)
client            390 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            395 drivers/hwmon/pmbus/pmbus_core.c 		status = info->read_byte_data(client, page, reg);
client            399 drivers/hwmon/pmbus/pmbus_core.c 	return pmbus_read_byte_data(client, page, reg);
client            415 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_get_fan_rate(struct i2c_client *client, int page, int id,
client            419 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            436 drivers/hwmon/pmbus/pmbus_core.c 	config = pmbus_read_byte_data(client, page,
client            443 drivers/hwmon/pmbus/pmbus_core.c 		return pmbus_read_word_data(client, page,
client            450 drivers/hwmon/pmbus/pmbus_core.c int pmbus_get_fan_rate_device(struct i2c_client *client, int page, int id,
client            453 drivers/hwmon/pmbus/pmbus_core.c 	return pmbus_get_fan_rate(client, page, id, mode, false);
client            457 drivers/hwmon/pmbus/pmbus_core.c int pmbus_get_fan_rate_cached(struct i2c_client *client, int page, int id,
client            460 drivers/hwmon/pmbus/pmbus_core.c 	return pmbus_get_fan_rate(client, page, id, mode, true);
client            464 drivers/hwmon/pmbus/pmbus_core.c static void pmbus_clear_fault_page(struct i2c_client *client, int page)
client            466 drivers/hwmon/pmbus/pmbus_core.c 	_pmbus_write_byte(client, page, PMBUS_CLEAR_FAULTS);
client            469 drivers/hwmon/pmbus/pmbus_core.c void pmbus_clear_faults(struct i2c_client *client)
client            471 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            475 drivers/hwmon/pmbus/pmbus_core.c 		pmbus_clear_fault_page(client, i);
client            479 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_check_status_cml(struct i2c_client *client)
client            481 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            484 drivers/hwmon/pmbus/pmbus_core.c 	status = data->read_status(client, -1);
client            486 drivers/hwmon/pmbus/pmbus_core.c 		status2 = _pmbus_read_byte_data(client, -1, PMBUS_STATUS_CML);
client            493 drivers/hwmon/pmbus/pmbus_core.c static bool pmbus_check_register(struct i2c_client *client,
client            494 drivers/hwmon/pmbus/pmbus_core.c 				 int (*func)(struct i2c_client *client,
client            499 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            501 drivers/hwmon/pmbus/pmbus_core.c 	rv = func(client, page, reg);
client            503 drivers/hwmon/pmbus/pmbus_core.c 		rv = pmbus_check_status_cml(client);
client            504 drivers/hwmon/pmbus/pmbus_core.c 	pmbus_clear_fault_page(client, -1);
client            508 drivers/hwmon/pmbus/pmbus_core.c static bool pmbus_check_status_register(struct i2c_client *client, int page)
client            511 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            513 drivers/hwmon/pmbus/pmbus_core.c 	status = data->read_status(client, page);
client            516 drivers/hwmon/pmbus/pmbus_core.c 		status = _pmbus_read_byte_data(client, -1, PMBUS_STATUS_CML);
client            521 drivers/hwmon/pmbus/pmbus_core.c 	pmbus_clear_fault_page(client, -1);
client            525 drivers/hwmon/pmbus/pmbus_core.c bool pmbus_check_byte_register(struct i2c_client *client, int page, int reg)
client            527 drivers/hwmon/pmbus/pmbus_core.c 	return pmbus_check_register(client, _pmbus_read_byte_data, page, reg);
client            531 drivers/hwmon/pmbus/pmbus_core.c bool pmbus_check_word_register(struct i2c_client *client, int page, int reg)
client            533 drivers/hwmon/pmbus/pmbus_core.c 	return pmbus_check_register(client, _pmbus_read_word_data, page, reg);
client            537 drivers/hwmon/pmbus/pmbus_core.c const struct pmbus_driver_info *pmbus_get_driver_info(struct i2c_client *client)
client            539 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            560 drivers/hwmon/pmbus/pmbus_core.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client            561 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            571 drivers/hwmon/pmbus/pmbus_core.c 			    = data->read_status(client, i);
client            578 drivers/hwmon/pmbus/pmbus_core.c 					= _pmbus_read_byte_data(client, i,
client            585 drivers/hwmon/pmbus/pmbus_core.c 			  = _pmbus_read_byte_data(client, 0,
client            590 drivers/hwmon/pmbus/pmbus_core.c 			  = _pmbus_read_byte_data(client, 0,
client            596 drivers/hwmon/pmbus/pmbus_core.c 				    = _pmbus_read_word_data(client,
client            600 drivers/hwmon/pmbus/pmbus_core.c 		pmbus_clear_faults(client);
client            964 drivers/hwmon/pmbus/pmbus_core.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client            965 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client            977 drivers/hwmon/pmbus/pmbus_core.c 	ret = _pmbus_write_word_data(client, sensor->page, sensor->reg, regval);
client           1176 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_add_limit_attrs(struct i2c_client *client,
client           1190 drivers/hwmon/pmbus/pmbus_core.c 		if (pmbus_check_word_register(client, page, l->reg)) {
client           1215 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_add_sensor_attrs_one(struct i2c_client *client,
client           1238 drivers/hwmon/pmbus/pmbus_core.c 		ret = pmbus_add_limit_attrs(client, data, info, name,
client           1250 drivers/hwmon/pmbus/pmbus_core.c 		    pmbus_check_status_register(client, page)) {
client           1286 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_add_sensor_attrs(struct i2c_client *client,
client           1305 drivers/hwmon/pmbus/pmbus_core.c 			ret = pmbus_add_sensor_attrs_one(client, data, info,
client           1807 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_add_fan_ctrl(struct i2c_client *client,
client           1841 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_add_fan_attributes(struct i2c_client *client,
client           1858 drivers/hwmon/pmbus/pmbus_core.c 			if (!pmbus_check_word_register(client, page,
client           1867 drivers/hwmon/pmbus/pmbus_core.c 			regval = _pmbus_read_byte_data(client, page,
client           1879 drivers/hwmon/pmbus/pmbus_core.c 			if (pmbus_check_word_register(client, page,
client           1881 drivers/hwmon/pmbus/pmbus_core.c 				ret = pmbus_add_fan_ctrl(client, data, index,
client           1892 drivers/hwmon/pmbus/pmbus_core.c 			    pmbus_check_byte_register(client,
client           1953 drivers/hwmon/pmbus/pmbus_core.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client           1956 drivers/hwmon/pmbus/pmbus_core.c 	val = _pmbus_read_word_data(client, reg->page, reg->attr->reg);
client           1969 drivers/hwmon/pmbus/pmbus_core.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client           1971 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client           1977 drivers/hwmon/pmbus/pmbus_core.c 	ret = _pmbus_write_word_data(client, reg->page, reg->attr->reg, val);
client           2001 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_add_samples_attributes(struct i2c_client *client,
client           2015 drivers/hwmon/pmbus/pmbus_core.c 		if (!pmbus_check_word_register(client, 0, attr->reg))
client           2026 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_find_attributes(struct i2c_client *client,
client           2032 drivers/hwmon/pmbus/pmbus_core.c 	ret = pmbus_add_sensor_attrs(client, data, "in", voltage_attributes,
client           2038 drivers/hwmon/pmbus/pmbus_core.c 	ret = pmbus_add_sensor_attrs(client, data, "curr", current_attributes,
client           2044 drivers/hwmon/pmbus/pmbus_core.c 	ret = pmbus_add_sensor_attrs(client, data, "power", power_attributes,
client           2050 drivers/hwmon/pmbus/pmbus_core.c 	ret = pmbus_add_sensor_attrs(client, data, "temp", temp_attributes,
client           2056 drivers/hwmon/pmbus/pmbus_core.c 	ret = pmbus_add_fan_attributes(client, data);
client           2060 drivers/hwmon/pmbus/pmbus_core.c 	ret = pmbus_add_samples_attributes(client, data);
client           2068 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_identify_common(struct i2c_client *client,
client           2073 drivers/hwmon/pmbus/pmbus_core.c 	if (pmbus_check_byte_register(client, page, PMBUS_VOUT_MODE))
client           2074 drivers/hwmon/pmbus/pmbus_core.c 		vout_mode = _pmbus_read_byte_data(client, page,
client           2101 drivers/hwmon/pmbus/pmbus_core.c 	pmbus_clear_fault_page(client, page);
client           2105 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_read_status_byte(struct i2c_client *client, int page)
client           2107 drivers/hwmon/pmbus/pmbus_core.c 	return _pmbus_read_byte_data(client, page, PMBUS_STATUS_BYTE);
client           2110 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_read_status_word(struct i2c_client *client, int page)
client           2112 drivers/hwmon/pmbus/pmbus_core.c 	return _pmbus_read_word_data(client, page, PMBUS_STATUS_WORD);
client           2115 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_init_common(struct i2c_client *client, struct pmbus_data *data,
client           2118 drivers/hwmon/pmbus/pmbus_core.c 	struct device *dev = &client->dev;
client           2127 drivers/hwmon/pmbus/pmbus_core.c 	ret = i2c_smbus_read_word_data(client, PMBUS_STATUS_WORD);
client           2130 drivers/hwmon/pmbus/pmbus_core.c 		ret = i2c_smbus_read_byte_data(client, PMBUS_STATUS_BYTE);
client           2140 drivers/hwmon/pmbus/pmbus_core.c 	ret = i2c_smbus_read_byte_data(client, PMBUS_CAPABILITY);
client           2142 drivers/hwmon/pmbus/pmbus_core.c 		client->flags |= I2C_CLIENT_PEC;
client           2145 drivers/hwmon/pmbus/pmbus_core.c 		pmbus_clear_faults(client);
client           2147 drivers/hwmon/pmbus/pmbus_core.c 		pmbus_clear_fault_page(client, -1);
client           2150 drivers/hwmon/pmbus/pmbus_core.c 		ret = (*info->identify)(client, info);
client           2163 drivers/hwmon/pmbus/pmbus_core.c 		ret = pmbus_identify_common(client, data, page);
client           2176 drivers/hwmon/pmbus/pmbus_core.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client           2180 drivers/hwmon/pmbus/pmbus_core.c 	ret = pmbus_read_byte_data(client, page, PMBUS_OPERATION);
client           2190 drivers/hwmon/pmbus/pmbus_core.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client           2193 drivers/hwmon/pmbus/pmbus_core.c 	return pmbus_update_byte_data(client, page, PMBUS_OPERATION,
client           2258 drivers/hwmon/pmbus/pmbus_core.c 	rc = _pmbus_read_byte_data(entry->client, entry->page, entry->reg);
client           2273 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *pdata = i2c_get_clientdata(entry->client);
client           2275 drivers/hwmon/pmbus/pmbus_core.c 	rc = pdata->read_status(entry->client, entry->page);
client           2286 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_init_debugfs(struct i2c_client *client,
client           2316 drivers/hwmon/pmbus/pmbus_core.c 		if (!i || pmbus_check_status_register(client, i)) {
client           2318 drivers/hwmon/pmbus/pmbus_core.c 			entries[idx].client = client;
client           2327 drivers/hwmon/pmbus/pmbus_core.c 			entries[idx].client = client;
client           2337 drivers/hwmon/pmbus/pmbus_core.c 			entries[idx].client = client;
client           2347 drivers/hwmon/pmbus/pmbus_core.c 			entries[idx].client = client;
client           2357 drivers/hwmon/pmbus/pmbus_core.c 			entries[idx].client = client;
client           2366 drivers/hwmon/pmbus/pmbus_core.c 		if (pmbus_check_byte_register(client, i, PMBUS_STATUS_CML)) {
client           2367 drivers/hwmon/pmbus/pmbus_core.c 			entries[idx].client = client;
client           2376 drivers/hwmon/pmbus/pmbus_core.c 		if (pmbus_check_byte_register(client, i, PMBUS_STATUS_OTHER)) {
client           2377 drivers/hwmon/pmbus/pmbus_core.c 			entries[idx].client = client;
client           2386 drivers/hwmon/pmbus/pmbus_core.c 		if (pmbus_check_byte_register(client, i,
client           2388 drivers/hwmon/pmbus/pmbus_core.c 			entries[idx].client = client;
client           2398 drivers/hwmon/pmbus/pmbus_core.c 			entries[idx].client = client;
client           2408 drivers/hwmon/pmbus/pmbus_core.c 			entries[idx].client = client;
client           2421 drivers/hwmon/pmbus/pmbus_core.c static int pmbus_init_debugfs(struct i2c_client *client,
client           2428 drivers/hwmon/pmbus/pmbus_core.c int pmbus_do_probe(struct i2c_client *client, const struct i2c_device_id *id,
client           2431 drivers/hwmon/pmbus/pmbus_core.c 	struct device *dev = &client->dev;
client           2440 drivers/hwmon/pmbus/pmbus_core.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WRITE_BYTE
client           2458 drivers/hwmon/pmbus/pmbus_core.c 	i2c_set_clientdata(client, data);
client           2466 drivers/hwmon/pmbus/pmbus_core.c 	ret = pmbus_init_common(client, data, info);
client           2470 drivers/hwmon/pmbus/pmbus_core.c 	ret = pmbus_find_attributes(client, data);
client           2486 drivers/hwmon/pmbus/pmbus_core.c 	data->hwmon_dev = hwmon_device_register_with_groups(dev, client->name,
client           2498 drivers/hwmon/pmbus/pmbus_core.c 	ret = pmbus_init_debugfs(client, data);
client           2512 drivers/hwmon/pmbus/pmbus_core.c int pmbus_do_remove(struct i2c_client *client)
client           2514 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client           2524 drivers/hwmon/pmbus/pmbus_core.c struct dentry *pmbus_get_debugfs_dir(struct i2c_client *client)
client           2526 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_data *data = i2c_get_clientdata(client);
client             19 drivers/hwmon/pmbus/pxe1610.c static int pxe1610_identify(struct i2c_client *client,
client             22 drivers/hwmon/pmbus/pxe1610.c 	if (pmbus_check_byte_register(client, 0, PMBUS_VOUT_MODE)) {
client             27 drivers/hwmon/pmbus/pxe1610.c 		ret = pmbus_read_byte_data(client, 0, PMBUS_VOUT_MODE);
client             77 drivers/hwmon/pmbus/pxe1610.c static int pxe1610_probe(struct i2c_client *client,
client             85 drivers/hwmon/pmbus/pxe1610.c 			client->adapter,
client             95 drivers/hwmon/pmbus/pxe1610.c 	i2c_smbus_write_byte_data(client, PMBUS_PAGE, 0);
client             98 drivers/hwmon/pmbus/pxe1610.c 	ret = i2c_smbus_read_block_data(client, PMBUS_MFR_ID, buf);
client            100 drivers/hwmon/pmbus/pxe1610.c 		dev_err(&client->dev, "Failed to read PMBUS_MFR_ID\n");
client            104 drivers/hwmon/pmbus/pxe1610.c 		dev_err(&client->dev, "MFR_ID unrecognized\n");
client            108 drivers/hwmon/pmbus/pxe1610.c 	info = devm_kmemdup(&client->dev, &pxe1610_info,
client            114 drivers/hwmon/pmbus/pxe1610.c 	return pmbus_do_probe(client, id, info);
client             28 drivers/hwmon/pmbus/tps40422.c static int tps40422_probe(struct i2c_client *client,
client             31 drivers/hwmon/pmbus/tps40422.c 	return pmbus_do_probe(client, id, &tps40422_info);
client             23 drivers/hwmon/pmbus/tps53679.c static int tps53679_identify(struct i2c_client *client,
client             30 drivers/hwmon/pmbus/tps53679.c 	ret = pmbus_read_byte_data(client, 0, PMBUS_VOUT_MODE);
client             71 drivers/hwmon/pmbus/tps53679.c static int tps53679_probe(struct i2c_client *client,
client             76 drivers/hwmon/pmbus/tps53679.c 	info = devm_kmemdup(&client->dev, &tps53679_info, sizeof(*info),
client             81 drivers/hwmon/pmbus/tps53679.c 	return pmbus_do_probe(client, id, info);
client             69 drivers/hwmon/pmbus/ucd9000.c 	struct i2c_client *client;
client             73 drivers/hwmon/pmbus/ucd9000.c static int ucd9000_get_fan_config(struct i2c_client *client, int fan)
client             77 drivers/hwmon/pmbus/ucd9000.c 	  = to_ucd9000_data(pmbus_get_driver_info(client));
client             88 drivers/hwmon/pmbus/ucd9000.c static int ucd9000_read_byte_data(struct i2c_client *client, int page, int reg)
client             98 drivers/hwmon/pmbus/ucd9000.c 		ret = ucd9000_get_fan_config(client, 0);
client            102 drivers/hwmon/pmbus/ucd9000.c 		ret = ucd9000_get_fan_config(client, 1);
client            112 drivers/hwmon/pmbus/ucd9000.c 		ret = ucd9000_get_fan_config(client, 2);
client            116 drivers/hwmon/pmbus/ucd9000.c 		ret = ucd9000_get_fan_config(client, 3);
client            170 drivers/hwmon/pmbus/ucd9000.c static int ucd9000_gpio_read_config(struct i2c_client *client,
client            176 drivers/hwmon/pmbus/ucd9000.c 	ret = i2c_smbus_write_byte_data(client, UCD9000_GPIO_SELECT, offset);
client            180 drivers/hwmon/pmbus/ucd9000.c 	return i2c_smbus_read_byte_data(client, UCD9000_GPIO_CONFIG);
client            185 drivers/hwmon/pmbus/ucd9000.c 	struct i2c_client *client  = gpiochip_get_data(gc);
client            188 drivers/hwmon/pmbus/ucd9000.c 	ret = ucd9000_gpio_read_config(client, offset);
client            198 drivers/hwmon/pmbus/ucd9000.c 	struct i2c_client *client = gpiochip_get_data(gc);
client            201 drivers/hwmon/pmbus/ucd9000.c 	ret = ucd9000_gpio_read_config(client, offset);
client            203 drivers/hwmon/pmbus/ucd9000.c 		dev_dbg(&client->dev, "failed to read GPIO %d config: %d\n",
client            223 drivers/hwmon/pmbus/ucd9000.c 	ret = i2c_smbus_write_byte_data(client, UCD9000_GPIO_CONFIG, ret);
client            225 drivers/hwmon/pmbus/ucd9000.c 		dev_dbg(&client->dev, "Failed to write GPIO %d config: %d\n",
client            232 drivers/hwmon/pmbus/ucd9000.c 	ret = i2c_smbus_write_byte_data(client, UCD9000_GPIO_CONFIG, ret);
client            234 drivers/hwmon/pmbus/ucd9000.c 		dev_dbg(&client->dev, "Failed to write GPIO %d config: %d\n",
client            241 drivers/hwmon/pmbus/ucd9000.c 	struct i2c_client *client = gpiochip_get_data(gc);
client            244 drivers/hwmon/pmbus/ucd9000.c 	ret = ucd9000_gpio_read_config(client, offset);
client            255 drivers/hwmon/pmbus/ucd9000.c 	struct i2c_client *client = gpiochip_get_data(gc);
client            258 drivers/hwmon/pmbus/ucd9000.c 	ret = ucd9000_gpio_read_config(client, offset);
client            288 drivers/hwmon/pmbus/ucd9000.c 	ret = i2c_smbus_write_byte_data(client, UCD9000_GPIO_CONFIG, config);
client            294 drivers/hwmon/pmbus/ucd9000.c 	return i2c_smbus_write_byte_data(client, UCD9000_GPIO_CONFIG, config);
client            310 drivers/hwmon/pmbus/ucd9000.c static void ucd9000_probe_gpio(struct i2c_client *client,
client            337 drivers/hwmon/pmbus/ucd9000.c 	data->gpio.label = client->name;
client            345 drivers/hwmon/pmbus/ucd9000.c 	data->gpio.parent = &client->dev;
client            347 drivers/hwmon/pmbus/ucd9000.c 	rc = devm_gpiochip_add_data(&client->dev, &data->gpio, client);
client            349 drivers/hwmon/pmbus/ucd9000.c 		dev_warn(&client->dev, "Could not add gpiochip: %d\n", rc);
client            352 drivers/hwmon/pmbus/ucd9000.c static void ucd9000_probe_gpio(struct i2c_client *client,
client            360 drivers/hwmon/pmbus/ucd9000.c static int ucd9000_get_mfr_status(struct i2c_client *client, u8 *buffer)
client            362 drivers/hwmon/pmbus/ucd9000.c 	int ret = pmbus_set_page(client, 0);
client            367 drivers/hwmon/pmbus/ucd9000.c 	return i2c_smbus_read_block_data(client, UCD9000_MFR_STATUS, buffer);
client            373 drivers/hwmon/pmbus/ucd9000.c 	struct i2c_client *client = entry->client;
client            377 drivers/hwmon/pmbus/ucd9000.c 	ret = ucd9000_get_mfr_status(client, buffer);
client            396 drivers/hwmon/pmbus/ucd9000.c 	struct i2c_client *client = file->private_data;
client            402 drivers/hwmon/pmbus/ucd9000.c 	rc = ucd9000_get_mfr_status(client, buffer);
client            419 drivers/hwmon/pmbus/ucd9000.c static int ucd9000_init_debugfs(struct i2c_client *client,
client            428 drivers/hwmon/pmbus/ucd9000.c 	debugfs = pmbus_get_debugfs_dir(client);
client            432 drivers/hwmon/pmbus/ucd9000.c 	data->debugfs = debugfs_create_dir(client->name, debugfs);
client            443 drivers/hwmon/pmbus/ucd9000.c 		entries = devm_kcalloc(&client->dev,
client            450 drivers/hwmon/pmbus/ucd9000.c 			entries[i].client = client;
client            461 drivers/hwmon/pmbus/ucd9000.c 	debugfs_create_file(name, 0444, data->debugfs, client,
client            467 drivers/hwmon/pmbus/ucd9000.c static int ucd9000_init_debugfs(struct i2c_client *client,
client            475 drivers/hwmon/pmbus/ucd9000.c static int ucd9000_probe(struct i2c_client *client,
client            485 drivers/hwmon/pmbus/ucd9000.c 	if (!i2c_check_functionality(client->adapter,
client            490 drivers/hwmon/pmbus/ucd9000.c 	ret = i2c_smbus_read_block_data(client, UCD9000_DEVICE_ID,
client            493 drivers/hwmon/pmbus/ucd9000.c 		dev_err(&client->dev, "Failed to read device ID\n");
client            497 drivers/hwmon/pmbus/ucd9000.c 	dev_info(&client->dev, "Device ID %s\n", block_buffer);
client            504 drivers/hwmon/pmbus/ucd9000.c 		dev_err(&client->dev, "Unsupported device\n");
client            508 drivers/hwmon/pmbus/ucd9000.c 	if (client->dev.of_node)
client            509 drivers/hwmon/pmbus/ucd9000.c 		chip = (enum chips)of_device_get_match_data(&client->dev);
client            514 drivers/hwmon/pmbus/ucd9000.c 		dev_notice(&client->dev,
client            518 drivers/hwmon/pmbus/ucd9000.c 	data = devm_kzalloc(&client->dev, sizeof(struct ucd9000_data),
client            524 drivers/hwmon/pmbus/ucd9000.c 	ret = i2c_smbus_read_byte_data(client, UCD9000_NUM_PAGES);
client            526 drivers/hwmon/pmbus/ucd9000.c 		dev_err(&client->dev,
client            532 drivers/hwmon/pmbus/ucd9000.c 		dev_err(&client->dev, "No pages configured\n");
client            540 drivers/hwmon/pmbus/ucd9000.c 	ret = i2c_smbus_read_block_data(client, UCD9000_MONITOR_CONFIG,
client            543 drivers/hwmon/pmbus/ucd9000.c 		dev_err(&client->dev, "Failed to read configuration data\n");
client            574 drivers/hwmon/pmbus/ucd9000.c 			i2c_smbus_write_byte_data(client,
client            576 drivers/hwmon/pmbus/ucd9000.c 			ret = i2c_smbus_read_block_data(client,
client            582 drivers/hwmon/pmbus/ucd9000.c 		i2c_smbus_write_byte_data(client, UCD9000_FAN_CONFIG_INDEX, 0);
client            589 drivers/hwmon/pmbus/ucd9000.c 	ucd9000_probe_gpio(client, mid, data);
client            591 drivers/hwmon/pmbus/ucd9000.c 	ret = pmbus_do_probe(client, mid, info);
client            595 drivers/hwmon/pmbus/ucd9000.c 	ret = ucd9000_init_debugfs(client, mid, data);
client            597 drivers/hwmon/pmbus/ucd9000.c 		dev_warn(&client->dev, "Failed to register debugfs: %d\n",
client             74 drivers/hwmon/pmbus/ucd9200.c static int ucd9200_probe(struct i2c_client *client,
client             83 drivers/hwmon/pmbus/ucd9200.c 	if (!i2c_check_functionality(client->adapter,
client             88 drivers/hwmon/pmbus/ucd9200.c 	ret = i2c_smbus_read_block_data(client, UCD9200_DEVICE_ID,
client             91 drivers/hwmon/pmbus/ucd9200.c 		dev_err(&client->dev, "Failed to read device ID\n");
client             95 drivers/hwmon/pmbus/ucd9200.c 	dev_info(&client->dev, "Device ID %s\n", block_buffer);
client            102 drivers/hwmon/pmbus/ucd9200.c 		dev_err(&client->dev, "Unsupported device\n");
client            106 drivers/hwmon/pmbus/ucd9200.c 	if (client->dev.of_node)
client            107 drivers/hwmon/pmbus/ucd9200.c 		chip = (enum chips)of_device_get_match_data(&client->dev);
client            112 drivers/hwmon/pmbus/ucd9200.c 		dev_notice(&client->dev,
client            116 drivers/hwmon/pmbus/ucd9200.c 	info = devm_kzalloc(&client->dev, sizeof(struct pmbus_driver_info),
client            121 drivers/hwmon/pmbus/ucd9200.c 	ret = i2c_smbus_read_block_data(client, UCD9200_PHASE_INFO,
client            124 drivers/hwmon/pmbus/ucd9200.c 		dev_err(&client->dev, "Failed to read phase information\n");
client            141 drivers/hwmon/pmbus/ucd9200.c 		dev_err(&client->dev, "No rails configured\n");
client            144 drivers/hwmon/pmbus/ucd9200.c 	dev_info(&client->dev, "%d rails configured\n", info->pages);
client            160 drivers/hwmon/pmbus/ucd9200.c 			ret = i2c_smbus_write_byte_data(client, PMBUS_PAGE, i);
client            163 drivers/hwmon/pmbus/ucd9200.c 			ret = i2c_smbus_write_byte_data(client, PMBUS_PHASE,
client            170 drivers/hwmon/pmbus/ucd9200.c 			dev_err(&client->dev,
client            176 drivers/hwmon/pmbus/ucd9200.c 		i2c_smbus_write_byte_data(client, PMBUS_PAGE, 0);
client            195 drivers/hwmon/pmbus/ucd9200.c 	return pmbus_do_probe(client, mid, info);
client            128 drivers/hwmon/pmbus/zl6100.c static int zl6100_read_word_data(struct i2c_client *client, int page, int reg)
client            130 drivers/hwmon/pmbus/zl6100.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            170 drivers/hwmon/pmbus/zl6100.c 	ret = pmbus_read_word_data(client, page, vreg);
client            187 drivers/hwmon/pmbus/zl6100.c static int zl6100_read_byte_data(struct i2c_client *client, int page, int reg)
client            189 drivers/hwmon/pmbus/zl6100.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            200 drivers/hwmon/pmbus/zl6100.c 		ret = pmbus_read_byte_data(client, 0,
client            217 drivers/hwmon/pmbus/zl6100.c 		ret = pmbus_read_byte_data(client, page, reg);
client            225 drivers/hwmon/pmbus/zl6100.c static int zl6100_write_word_data(struct i2c_client *client, int page, int reg,
client            228 drivers/hwmon/pmbus/zl6100.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            239 drivers/hwmon/pmbus/zl6100.c 		pmbus_clear_cache(client);
client            243 drivers/hwmon/pmbus/zl6100.c 		pmbus_clear_cache(client);
client            248 drivers/hwmon/pmbus/zl6100.c 		pmbus_clear_cache(client);
client            252 drivers/hwmon/pmbus/zl6100.c 		pmbus_clear_cache(client);
client            261 drivers/hwmon/pmbus/zl6100.c 	ret = pmbus_write_word_data(client, page, vreg, word);
client            267 drivers/hwmon/pmbus/zl6100.c static int zl6100_write_byte(struct i2c_client *client, int page, u8 value)
client            269 drivers/hwmon/pmbus/zl6100.c 	const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
client            277 drivers/hwmon/pmbus/zl6100.c 	ret = pmbus_write_byte(client, page, value);
client            303 drivers/hwmon/pmbus/zl6100.c static int zl6100_probe(struct i2c_client *client,
client            312 drivers/hwmon/pmbus/zl6100.c 	if (!i2c_check_functionality(client->adapter,
client            317 drivers/hwmon/pmbus/zl6100.c 	ret = i2c_smbus_read_block_data(client, ZL6100_DEVICE_ID,
client            320 drivers/hwmon/pmbus/zl6100.c 		dev_err(&client->dev, "Failed to read device ID\n");
client            324 drivers/hwmon/pmbus/zl6100.c 	dev_info(&client->dev, "Device ID %s\n", device_id);
client            332 drivers/hwmon/pmbus/zl6100.c 		dev_err(&client->dev, "Unsupported device\n");
client            336 drivers/hwmon/pmbus/zl6100.c 		dev_notice(&client->dev,
client            340 drivers/hwmon/pmbus/zl6100.c 	data = devm_kzalloc(&client->dev, sizeof(struct zl6100_data),
client            376 drivers/hwmon/pmbus/zl6100.c 	ret = i2c_smbus_read_word_data(client, ZL6100_MFR_CONFIG);
client            391 drivers/hwmon/pmbus/zl6100.c 	return pmbus_do_probe(client, mid, info);
client             75 drivers/hwmon/powr1220.c 	struct i2c_client *client;
client            126 drivers/hwmon/powr1220.c 		result = i2c_smbus_write_byte_data(data->client, ADC_MUX,
client            138 drivers/hwmon/powr1220.c 		result = i2c_smbus_read_byte_data(data->client, ADC_VALUE_LOW);
client            145 drivers/hwmon/powr1220.c 		result = i2c_smbus_read_byte_data(data->client, ADC_VALUE_HIGH);
client            300 drivers/hwmon/powr1220.c static int powr1220_probe(struct i2c_client *client,
client            306 drivers/hwmon/powr1220.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            309 drivers/hwmon/powr1220.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            314 drivers/hwmon/powr1220.c 	data->client = client;
client            316 drivers/hwmon/powr1220.c 	hwmon_dev = devm_hwmon_device_register_with_groups(&client->dev,
client            317 drivers/hwmon/powr1220.c 			client->name, data, powr1220_groups);
client             42 drivers/hwmon/s3c-hwmon.c 	struct s3c_adc_client	*client;
client             69 drivers/hwmon/s3c-hwmon.c 	ret = s3c_adc_read(hwmon->client, channel);
client            285 drivers/hwmon/s3c-hwmon.c 	hwmon->client = s3c_adc_register(dev, NULL, NULL, 0);
client            286 drivers/hwmon/s3c-hwmon.c 	if (IS_ERR(hwmon->client)) {
client            288 drivers/hwmon/s3c-hwmon.c 		return PTR_ERR(hwmon->client);
client            345 drivers/hwmon/s3c-hwmon.c 	s3c_adc_release(hwmon->client);
client            361 drivers/hwmon/s3c-hwmon.c 	s3c_adc_release(hwmon->client);
client             39 drivers/hwmon/sht21.c 	struct i2c_client *client;
client             88 drivers/hwmon/sht21.c 	struct i2c_client *client = sht21->client;
client             97 drivers/hwmon/sht21.c 		ret = i2c_smbus_read_word_swapped(client,
client            102 drivers/hwmon/sht21.c 		ret = i2c_smbus_read_word_swapped(client,
client            161 drivers/hwmon/sht21.c 	struct i2c_client *client = sht21->client;
client            167 drivers/hwmon/sht21.c 			.addr = client->addr,
client            173 drivers/hwmon/sht21.c 			.addr = client->addr,
client            183 drivers/hwmon/sht21.c 	ret = i2c_transfer(client->adapter, msgs, 2);
client            194 drivers/hwmon/sht21.c 	ret = i2c_transfer(client->adapter, msgs, 2);
client            253 drivers/hwmon/sht21.c static int sht21_probe(struct i2c_client *client,
client            256 drivers/hwmon/sht21.c 	struct device *dev = &client->dev;
client            260 drivers/hwmon/sht21.c 	if (!i2c_check_functionality(client->adapter,
client            262 drivers/hwmon/sht21.c 		dev_err(&client->dev,
client            271 drivers/hwmon/sht21.c 	sht21->client = client;
client            275 drivers/hwmon/sht21.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            130 drivers/hwmon/sht3x.c 	struct i2c_client *client;
client            169 drivers/hwmon/sht3x.c static int sht3x_read_from_command(struct i2c_client *client,
client            177 drivers/hwmon/sht3x.c 	ret = i2c_master_send(client, command, SHT3X_CMD_LENGTH);
client            187 drivers/hwmon/sht3x.c 	ret = i2c_master_recv(client, buf, length);
client            222 drivers/hwmon/sht3x.c 	struct i2c_client *client = data->client;
client            239 drivers/hwmon/sht3x.c 		ret = sht3x_read_from_command(client, data, data->command, buf,
client            294 drivers/hwmon/sht3x.c 	struct i2c_client *client = data->client;
client            298 drivers/hwmon/sht3x.c 		ret = sht3x_read_from_command(client, data,
client            351 drivers/hwmon/sht3x.c 	struct i2c_client *client = data->client;
client            375 drivers/hwmon/sht3x.c 	ret = i2c_master_send(client, buffer, sizeof(buffer));
client            466 drivers/hwmon/sht3x.c 	struct i2c_client *client = data->client;
client            468 drivers/hwmon/sht3x.c 	ret = sht3x_read_from_command(client, data, sht3x_cmd_read_status_reg,
client            525 drivers/hwmon/sht3x.c 	struct i2c_client *client = data->client;
client            536 drivers/hwmon/sht3x.c 		ret = i2c_master_send(client, (char *)&sht3x_cmd_heater_on,
client            539 drivers/hwmon/sht3x.c 		ret = i2c_master_send(client, (char *)&sht3x_cmd_heater_off,
client            567 drivers/hwmon/sht3x.c 	struct i2c_client *client = data->client;
client            590 drivers/hwmon/sht3x.c 		ret = i2c_master_send(client, sht3x_cmd_break,
client            604 drivers/hwmon/sht3x.c 		ret = i2c_master_send(client, command, SHT3X_CMD_LENGTH);
client            665 drivers/hwmon/sht3x.c static int sht3x_probe(struct i2c_client *client,
client            671 drivers/hwmon/sht3x.c 	struct i2c_adapter *adap = client->adapter;
client            672 drivers/hwmon/sht3x.c 	struct device *dev = &client->dev;
client            683 drivers/hwmon/sht3x.c 	ret = i2c_master_send(client, sht3x_cmd_clear_status_reg,
client            696 drivers/hwmon/sht3x.c 	data->client = client;
client            699 drivers/hwmon/sht3x.c 	if (client->dev.platform_data)
client            724 drivers/hwmon/sht3x.c 							   client->name,
client             55 drivers/hwmon/shtc1.c 	struct i2c_client *client;
client             70 drivers/hwmon/shtc1.c static int shtc1_update_values(struct i2c_client *client,
client             74 drivers/hwmon/shtc1.c 	int ret = i2c_master_send(client, data->command, SHTC1_CMD_LENGTH);
client             76 drivers/hwmon/shtc1.c 		dev_err(&client->dev, "failed to send command: %d\n", ret);
client             90 drivers/hwmon/shtc1.c 	ret = i2c_master_recv(client, buf, bufsize);
client             92 drivers/hwmon/shtc1.c 		dev_err(&client->dev, "failed to read values: %d\n", ret);
client            103 drivers/hwmon/shtc1.c 	struct i2c_client *client = data->client;
client            111 drivers/hwmon/shtc1.c 		ret = shtc1_update_values(client, data, buf, sizeof(buf));
client            188 drivers/hwmon/shtc1.c static int shtc1_probe(struct i2c_client *client,
client            197 drivers/hwmon/shtc1.c 	struct i2c_adapter *adap = client->adapter;
client            198 drivers/hwmon/shtc1.c 	struct device *dev = &client->dev;
client            205 drivers/hwmon/shtc1.c 	ret = i2c_master_send(client, shtc1_cmd_read_id_reg, SHTC1_CMD_LENGTH);
client            210 drivers/hwmon/shtc1.c 	ret = i2c_master_recv(client, id_reg_buf, sizeof(id_reg_buf));
client            233 drivers/hwmon/shtc1.c 	data->client = client;
client            236 drivers/hwmon/shtc1.c 	if (client->dev.platform_data)
client            242 drivers/hwmon/shtc1.c 							   client->name,
client            140 drivers/hwmon/smm665.c 	struct i2c_client *client;
client            159 drivers/hwmon/smm665.c static int smm665_read16(struct i2c_client *client, int reg)
client            163 drivers/hwmon/smm665.c 	rv = i2c_smbus_read_byte_data(client, reg);
client            167 drivers/hwmon/smm665.c 	rv = i2c_smbus_read_byte_data(client, reg + 1);
client            179 drivers/hwmon/smm665.c 	struct i2c_client *client = data->cmdreg;
client            196 drivers/hwmon/smm665.c 	rv = i2c_smbus_read_byte_data(client, adc << 3);
client            203 drivers/hwmon/smm665.c 		dev_dbg(&client->dev,
client            219 drivers/hwmon/smm665.c 	rv = i2c_smbus_read_word_swapped(client, 0);
client            221 drivers/hwmon/smm665.c 		dev_dbg(&client->dev, "Failed to read ADC value: error %d", rv);
client            229 drivers/hwmon/smm665.c 		dev_dbg(&client->dev, "Unexpected RADC: Expected %d got %d",
client            240 drivers/hwmon/smm665.c 	struct i2c_client *client = data->client;
client            251 drivers/hwmon/smm665.c 		val = smm665_read16(client, SMM665_MISC8_STATUS1);
client            565 drivers/hwmon/smm665.c static int smm665_probe(struct i2c_client *client,
client            568 drivers/hwmon/smm665.c 	struct i2c_adapter *adapter = client->adapter;
client            577 drivers/hwmon/smm665.c 	if (i2c_smbus_read_byte_data(client, SMM665_ADOC_ENABLE) < 0)
client            580 drivers/hwmon/smm665.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            584 drivers/hwmon/smm665.c 	i2c_set_clientdata(client, data);
client            587 drivers/hwmon/smm665.c 	data->client = client;
client            589 drivers/hwmon/smm665.c 	data->cmdreg = i2c_new_dummy_device(adapter, (client->addr & ~SMM665_REGMASK)
client            632 drivers/hwmon/smm665.c 		val = smm665_read16(client, SMM665_LIMIT_BASE + i * 8);
client            637 drivers/hwmon/smm665.c 		val = smm665_read16(client, SMM665_LIMIT_BASE + i * 8 + 2);
client            644 drivers/hwmon/smm665.c 		val = smm665_read16(client, SMM665_LIMIT_BASE + i * 8 + 4);
client            649 drivers/hwmon/smm665.c 		val = smm665_read16(client, SMM665_LIMIT_BASE + i * 8 + 6);
client            658 drivers/hwmon/smm665.c 	hwmon_dev = devm_hwmon_device_register_with_groups(&client->dev,
client            659 drivers/hwmon/smm665.c 							   client->name, data,
client            673 drivers/hwmon/smm665.c static int smm665_remove(struct i2c_client *client)
client            675 drivers/hwmon/smm665.c 	struct smm665_data *data = i2c_get_clientdata(client);
client             86 drivers/hwmon/smsc47m192.c 	struct i2c_client *client;
client            107 drivers/hwmon/smsc47m192.c 	struct i2c_client *client = data->client;
client            114 drivers/hwmon/smsc47m192.c 		u8 sfr = i2c_smbus_read_byte_data(client, SMSC47M192_REG_SFR);
client            116 drivers/hwmon/smsc47m192.c 		dev_dbg(&client->dev, "Starting smsc47m192 update\n");
client            119 drivers/hwmon/smsc47m192.c 			data->in[i] = i2c_smbus_read_byte_data(client,
client            121 drivers/hwmon/smsc47m192.c 			data->in_min[i] = i2c_smbus_read_byte_data(client,
client            123 drivers/hwmon/smsc47m192.c 			data->in_max[i] = i2c_smbus_read_byte_data(client,
client            127 drivers/hwmon/smsc47m192.c 			data->temp[i] = i2c_smbus_read_byte_data(client,
client            129 drivers/hwmon/smsc47m192.c 			data->temp_max[i] = i2c_smbus_read_byte_data(client,
client            131 drivers/hwmon/smsc47m192.c 			data->temp_min[i] = i2c_smbus_read_byte_data(client,
client            135 drivers/hwmon/smsc47m192.c 			data->temp_offset[i] = i2c_smbus_read_byte_data(client,
client            147 drivers/hwmon/smsc47m192.c 		data->vid = i2c_smbus_read_byte_data(client, SMSC47M192_REG_VID)
client            149 drivers/hwmon/smsc47m192.c 		config = i2c_smbus_read_byte_data(client,
client            152 drivers/hwmon/smsc47m192.c 			data->vid |= (i2c_smbus_read_byte_data(client,
client            154 drivers/hwmon/smsc47m192.c 		data->alarms = i2c_smbus_read_byte_data(client,
client            156 drivers/hwmon/smsc47m192.c 			       (i2c_smbus_read_byte_data(client,
client            202 drivers/hwmon/smsc47m192.c 	struct i2c_client *client = data->client;
client            212 drivers/hwmon/smsc47m192.c 	i2c_smbus_write_byte_data(client, SMSC47M192_REG_IN_MIN(nr),
client            224 drivers/hwmon/smsc47m192.c 	struct i2c_client *client = data->client;
client            234 drivers/hwmon/smsc47m192.c 	i2c_smbus_write_byte_data(client, SMSC47M192_REG_IN_MAX(nr),
client            300 drivers/hwmon/smsc47m192.c 	struct i2c_client *client = data->client;
client            310 drivers/hwmon/smsc47m192.c 	i2c_smbus_write_byte_data(client, SMSC47M192_REG_TEMP_MIN[nr],
client            323 drivers/hwmon/smsc47m192.c 	struct i2c_client *client = data->client;
client            333 drivers/hwmon/smsc47m192.c 	i2c_smbus_write_byte_data(client, SMSC47M192_REG_TEMP_MAX[nr],
client            355 drivers/hwmon/smsc47m192.c 	struct i2c_client *client = data->client;
client            356 drivers/hwmon/smsc47m192.c 	u8 sfr = i2c_smbus_read_byte_data(client, SMSC47M192_REG_SFR);
client            367 drivers/hwmon/smsc47m192.c 		i2c_smbus_write_byte_data(client,
client            374 drivers/hwmon/smsc47m192.c 		i2c_smbus_write_byte_data(client, SMSC47M192_REG_SFR,
client            377 drivers/hwmon/smsc47m192.c 		i2c_smbus_write_byte_data(client,
client            380 drivers/hwmon/smsc47m192.c 		i2c_smbus_write_byte_data(client,
client            526 drivers/hwmon/smsc47m192.c static void smsc47m192_init_client(struct i2c_client *client)
client            529 drivers/hwmon/smsc47m192.c 	u8 config = i2c_smbus_read_byte_data(client, SMSC47M192_REG_CONFIG);
client            530 drivers/hwmon/smsc47m192.c 	u8 sfr = i2c_smbus_read_byte_data(client, SMSC47M192_REG_SFR);
client            533 drivers/hwmon/smsc47m192.c 	i2c_smbus_write_byte_data(client, SMSC47M192_REG_SFR,
client            538 drivers/hwmon/smsc47m192.c 			i2c_smbus_write_byte_data(client,
client            540 drivers/hwmon/smsc47m192.c 			i2c_smbus_write_byte_data(client,
client            544 drivers/hwmon/smsc47m192.c 			i2c_smbus_write_byte_data(client,
client            546 drivers/hwmon/smsc47m192.c 			i2c_smbus_write_byte_data(client,
client            551 drivers/hwmon/smsc47m192.c 		i2c_smbus_write_byte_data(client, SMSC47M192_REG_CONFIG,
client            557 drivers/hwmon/smsc47m192.c static int smsc47m192_detect(struct i2c_client *client,
client            560 drivers/hwmon/smsc47m192.c 	struct i2c_adapter *adapter = client->adapter;
client            567 drivers/hwmon/smsc47m192.c 	version = i2c_smbus_read_byte_data(client, SMSC47M192_REG_VERSION);
client            568 drivers/hwmon/smsc47m192.c 	if (i2c_smbus_read_byte_data(client,
client            571 drivers/hwmon/smsc47m192.c 	 && (i2c_smbus_read_byte_data(client,
client            573 drivers/hwmon/smsc47m192.c 	 && (i2c_smbus_read_byte_data(client,
client            581 drivers/hwmon/smsc47m192.c 			client->addr);
client            590 drivers/hwmon/smsc47m192.c static int smsc47m192_probe(struct i2c_client *client,
client            593 drivers/hwmon/smsc47m192.c 	struct device *dev = &client->dev;
client            602 drivers/hwmon/smsc47m192.c 	data->client = client;
client            607 drivers/hwmon/smsc47m192.c 	smsc47m192_init_client(client);
client            612 drivers/hwmon/smsc47m192.c 	config = i2c_smbus_read_byte_data(client, SMSC47M192_REG_CONFIG);
client            616 drivers/hwmon/smsc47m192.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             87 drivers/hwmon/stts751.c 	struct i2c_client *client;
client            141 drivers/hwmon/stts751.c 	dev_dbg(&priv->client->dev, "setting res %d. config %x",
client            145 drivers/hwmon/stts751.c 	return i2c_smbus_write_byte_data(priv->client,
client            164 drivers/hwmon/stts751.c 	integer1 = i2c_smbus_read_byte_data(priv->client, STTS751_REG_TEMP_H);
client            166 drivers/hwmon/stts751.c 		dev_dbg(&priv->client->dev,
client            171 drivers/hwmon/stts751.c 	frac = i2c_smbus_read_byte_data(priv->client, STTS751_REG_TEMP_L);
client            173 drivers/hwmon/stts751.c 		dev_dbg(&priv->client->dev,
client            178 drivers/hwmon/stts751.c 	integer2 = i2c_smbus_read_byte_data(priv->client, STTS751_REG_TEMP_H);
client            180 drivers/hwmon/stts751.c 		dev_dbg(&priv->client->dev,
client            186 drivers/hwmon/stts751.c 		frac = i2c_smbus_read_byte_data(priv->client,
client            189 drivers/hwmon/stts751.c 			dev_dbg(&priv->client->dev,
client            208 drivers/hwmon/stts751.c 	ret = i2c_smbus_write_byte_data(priv->client, hreg, hwval >> 8);
client            212 drivers/hwmon/stts751.c 	return i2c_smbus_write_byte_data(priv->client, lreg, hwval & 0xff);
client            220 drivers/hwmon/stts751.c 	return i2c_smbus_write_byte_data(priv->client, reg, hwval >> 8);
client            228 drivers/hwmon/stts751.c 	integer = i2c_smbus_read_byte_data(priv->client, hreg);
client            232 drivers/hwmon/stts751.c 	frac = i2c_smbus_read_byte_data(priv->client, lreg);
client            245 drivers/hwmon/stts751.c 	integer = i2c_smbus_read_byte_data(priv->client, reg);
client            272 drivers/hwmon/stts751.c 	ret = i2c_smbus_read_byte_data(priv->client, STTS751_REG_STATUS);
client            276 drivers/hwmon/stts751.c 	dev_dbg(&priv->client->dev, "status reg %x\n", ret);
client            296 drivers/hwmon/stts751.c 		dev_dbg(&priv->client->dev, "invalidating alert cache\n");
client            303 drivers/hwmon/stts751.c 	dev_dbg(&priv->client->dev, "max_alert: %d, min_alert: %d, therm_trip: %d\n",
client            309 drivers/hwmon/stts751.c static void stts751_alert(struct i2c_client *client,
client            313 drivers/hwmon/stts751.c 	struct stts751_priv *priv = i2c_get_clientdata(client);
client            318 drivers/hwmon/stts751.c 	dev_dbg(&client->dev, "alert!");
client            450 drivers/hwmon/stts751.c 	dev_dbg(&priv->client->dev, "setting therm %ld", temp);
client            490 drivers/hwmon/stts751.c 	dev_dbg(&priv->client->dev, "setting hyst %ld", temp);
client            541 drivers/hwmon/stts751.c 	dev_dbg(&priv->client->dev, "setting event max %ld", temp);
client            575 drivers/hwmon/stts751.c 	dev_dbg(&priv->client->dev, "setting event min %ld", temp);
client            607 drivers/hwmon/stts751.c 	dev_dbg(&priv->client->dev, "setting interval. req:%lu, idx: %d, val: %d",
client            624 drivers/hwmon/stts751.c 		dev_dbg(&priv->client->dev, "lower resolution, then modify convrate");
client            631 drivers/hwmon/stts751.c 	ret = i2c_smbus_write_byte_data(priv->client, STTS751_REG_RATE, idx);
client            636 drivers/hwmon/stts751.c 		dev_dbg(&priv->client->dev, "modify convrate, then raise resolution");
client            704 drivers/hwmon/stts751.c 	ret = i2c_smbus_read_byte_data(priv->client, STTS751_REG_CONF);
client            710 drivers/hwmon/stts751.c 	ret = i2c_smbus_read_byte_data(priv->client, STTS751_REG_RATE);
client            765 drivers/hwmon/stts751.c static int stts751_probe(struct i2c_client *client,
client            773 drivers/hwmon/stts751.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client            777 drivers/hwmon/stts751.c 	priv->client = client;
client            780 drivers/hwmon/stts751.c 	i2c_set_clientdata(client, priv);
client            783 drivers/hwmon/stts751.c 	if (device_property_present(&client->dev,
client            785 drivers/hwmon/stts751.c 		smbus_nto = device_property_read_bool(&client->dev,
client            788 drivers/hwmon/stts751.c 		ret = i2c_smbus_write_byte_data(client,	STTS751_REG_SMBUS_TO,
client            794 drivers/hwmon/stts751.c 	rev_id = i2c_smbus_read_byte_data(client, STTS751_REG_REV_ID);
client            798 drivers/hwmon/stts751.c 		dev_dbg(&client->dev, "Chip revision 0x%x is untested\n",
client            807 drivers/hwmon/stts751.c 	ret = i2c_smbus_write_byte_data(client,	STTS751_REG_CONF, priv->config);
client            811 drivers/hwmon/stts751.c 	priv->dev = devm_hwmon_device_register_with_groups(&client->dev,
client            812 drivers/hwmon/stts751.c 							client->name, priv,
client             59 drivers/hwmon/tc654.c 	struct i2c_client *client;
client            136 drivers/hwmon/tc654.c 	struct i2c_client *client = data->client;
client            144 drivers/hwmon/tc654.c 	ret = i2c_smbus_read_byte_data(client, TC654_REG_RPM(0));
client            149 drivers/hwmon/tc654.c 	ret = i2c_smbus_read_byte_data(client, TC654_REG_RPM(1));
client            154 drivers/hwmon/tc654.c 	ret = i2c_smbus_read_byte_data(client, TC654_REG_FAN_FAULT(0));
client            159 drivers/hwmon/tc654.c 	ret = i2c_smbus_read_byte_data(client, TC654_REG_FAN_FAULT(1));
client            164 drivers/hwmon/tc654.c 	ret = i2c_smbus_read_byte_data(client, TC654_REG_CONFIG);
client            169 drivers/hwmon/tc654.c 	ret = i2c_smbus_read_byte_data(client, TC654_REG_STATUS);
client            174 drivers/hwmon/tc654.c 	ret = i2c_smbus_read_byte_data(client, TC654_REG_DUTY_CYCLE);
client            230 drivers/hwmon/tc654.c 	struct i2c_client *client = data->client;
client            242 drivers/hwmon/tc654.c 	ret = i2c_smbus_write_byte_data(client, TC654_REG_FAN_FAULT(nr),
client            289 drivers/hwmon/tc654.c 	struct i2c_client *client = data->client;
client            318 drivers/hwmon/tc654.c 	ret = i2c_smbus_write_byte_data(client, TC654_REG_CONFIG, data->config);
client            339 drivers/hwmon/tc654.c 	struct i2c_client *client = data->client;
client            356 drivers/hwmon/tc654.c 	ret = i2c_smbus_write_byte_data(client, TC654_REG_CONFIG, data->config);
client            386 drivers/hwmon/tc654.c 	struct i2c_client *client = data->client;
client            405 drivers/hwmon/tc654.c 	ret = i2c_smbus_write_byte_data(client, TC654_REG_CONFIG, data->config);
client            409 drivers/hwmon/tc654.c 	ret = i2c_smbus_write_byte_data(client, TC654_REG_DUTY_CYCLE,
client            449 drivers/hwmon/tc654.c static int tc654_probe(struct i2c_client *client,
client            452 drivers/hwmon/tc654.c 	struct device *dev = &client->dev;
client            457 drivers/hwmon/tc654.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            464 drivers/hwmon/tc654.c 	data->client = client;
client            467 drivers/hwmon/tc654.c 	ret = i2c_smbus_read_byte_data(client, TC654_REG_CONFIG);
client            474 drivers/hwmon/tc654.c 	    devm_hwmon_device_register_with_groups(dev, client->name, data,
client             29 drivers/hwmon/tc74.c 	struct i2c_client	*client;
client             39 drivers/hwmon/tc74.c 	struct i2c_client *client = data->client;
client             49 drivers/hwmon/tc74.c 		value = i2c_smbus_read_byte_data(client, TC74_REG_CONFIG);
client             51 drivers/hwmon/tc74.c 			dev_dbg(&client->dev, "TC74_REG_CONFIG read err %d\n",
client             65 drivers/hwmon/tc74.c 		value = i2c_smbus_read_byte_data(client, TC74_REG_TEMP);
client             67 drivers/hwmon/tc74.c 			dev_dbg(&client->dev, "TC74_REG_TEMP read err %d\n",
client            106 drivers/hwmon/tc74.c static int tc74_probe(struct i2c_client *client,
client            109 drivers/hwmon/tc74.c 	struct device *dev = &client->dev;
client            114 drivers/hwmon/tc74.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            121 drivers/hwmon/tc74.c 	data->client = client;
client            125 drivers/hwmon/tc74.c 	conf = i2c_smbus_read_byte_data(client, TC74_REG_CONFIG);
client            143 drivers/hwmon/tc74.c 		ret = i2c_smbus_write_byte_data(client, TC74_REG_CONFIG, conf);
client            149 drivers/hwmon/tc74.c 							   client->name,
client             58 drivers/hwmon/thmc50.c 	struct i2c_client *client;
client             79 drivers/hwmon/thmc50.c 	struct i2c_client *client = data->client;
client             89 drivers/hwmon/thmc50.c 		int prog = i2c_smbus_read_byte_data(client, THMC50_REG_CONF);
client             94 drivers/hwmon/thmc50.c 			data->temp_input[i] = i2c_smbus_read_byte_data(client,
client             96 drivers/hwmon/thmc50.c 			data->temp_max[i] = i2c_smbus_read_byte_data(client,
client             98 drivers/hwmon/thmc50.c 			data->temp_min[i] = i2c_smbus_read_byte_data(client,
client            101 drivers/hwmon/thmc50.c 				i2c_smbus_read_byte_data(client,
client            106 drivers/hwmon/thmc50.c 		    i2c_smbus_read_byte_data(client, THMC50_REG_ANALOG_OUT);
client            108 drivers/hwmon/thmc50.c 		    i2c_smbus_read_byte_data(client, THMC50_REG_INTR);
client            130 drivers/hwmon/thmc50.c 	struct i2c_client *client = data->client;
client            141 drivers/hwmon/thmc50.c 	i2c_smbus_write_byte_data(client, THMC50_REG_ANALOG_OUT,
client            144 drivers/hwmon/thmc50.c 	config = i2c_smbus_read_byte_data(client, THMC50_REG_CONF);
client            149 drivers/hwmon/thmc50.c 	i2c_smbus_write_byte_data(client, THMC50_REG_CONF, config);
client            185 drivers/hwmon/thmc50.c 	struct i2c_client *client = data->client;
client            195 drivers/hwmon/thmc50.c 	i2c_smbus_write_byte_data(client, THMC50_REG_TEMP_MIN[nr],
client            215 drivers/hwmon/thmc50.c 	struct i2c_client *client = data->client;
client            225 drivers/hwmon/thmc50.c 	i2c_smbus_write_byte_data(client, THMC50_REG_TEMP_MAX[nr],
client            307 drivers/hwmon/thmc50.c static int thmc50_detect(struct i2c_client *client,
client            313 drivers/hwmon/thmc50.c 	struct i2c_adapter *adapter = client->adapter;
client            322 drivers/hwmon/thmc50.c 		 client->addr, i2c_adapter_id(client->adapter));
client            324 drivers/hwmon/thmc50.c 	company = i2c_smbus_read_byte_data(client, THMC50_REG_COMPANY_ID);
client            325 drivers/hwmon/thmc50.c 	revision = i2c_smbus_read_byte_data(client, THMC50_REG_DIE_CODE);
client            326 drivers/hwmon/thmc50.c 	config = i2c_smbus_read_byte_data(client, THMC50_REG_CONF);
client            331 drivers/hwmon/thmc50.c 		int id = i2c_adapter_id(client->adapter);
client            337 drivers/hwmon/thmc50.c 			    adm1022_temp3[i + 1] == client->addr) {
client            340 drivers/hwmon/thmc50.c 				i2c_smbus_write_byte_data(client,
client            362 drivers/hwmon/thmc50.c 	struct i2c_client *client = data->client;
client            365 drivers/hwmon/thmc50.c 	data->analog_out = i2c_smbus_read_byte_data(client,
client            370 drivers/hwmon/thmc50.c 		i2c_smbus_write_byte_data(client, THMC50_REG_ANALOG_OUT,
client            373 drivers/hwmon/thmc50.c 	config = i2c_smbus_read_byte_data(client, THMC50_REG_CONF);
client            377 drivers/hwmon/thmc50.c 	i2c_smbus_write_byte_data(client, THMC50_REG_CONF, config);
client            380 drivers/hwmon/thmc50.c static int thmc50_probe(struct i2c_client *client,
client            383 drivers/hwmon/thmc50.c 	struct device *dev = &client->dev;
client            392 drivers/hwmon/thmc50.c 	data->client = client;
client            405 drivers/hwmon/thmc50.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            192 drivers/hwmon/tmp102.c static int tmp102_probe(struct i2c_client *client,
client            195 drivers/hwmon/tmp102.c 	struct device *dev = &client->dev;
client            201 drivers/hwmon/tmp102.c 	if (!i2c_check_functionality(client->adapter,
client            212 drivers/hwmon/tmp102.c 	i2c_set_clientdata(client, tmp102);
client            214 drivers/hwmon/tmp102.c 	tmp102->regmap = devm_regmap_init_i2c(client, &tmp102_regmap_config);
client            251 drivers/hwmon/tmp102.c 	hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name,
client            267 drivers/hwmon/tmp102.c 	struct i2c_client *client = to_i2c_client(dev);
client            268 drivers/hwmon/tmp102.c 	struct tmp102 *tmp102 = i2c_get_clientdata(client);
client            276 drivers/hwmon/tmp102.c 	struct i2c_client *client = to_i2c_client(dev);
client            277 drivers/hwmon/tmp102.c 	struct tmp102 *tmp102 = i2c_get_clientdata(client);
client            112 drivers/hwmon/tmp103.c static int tmp103_probe(struct i2c_client *client,
client            115 drivers/hwmon/tmp103.c 	struct device *dev = &client->dev;
client            120 drivers/hwmon/tmp103.c 	regmap = devm_regmap_init_i2c(client, &tmp103_regmap_config);
client            129 drivers/hwmon/tmp103.c 		dev_err(&client->dev, "error writing config register\n");
client            133 drivers/hwmon/tmp103.c 	i2c_set_clientdata(client, regmap);
client            134 drivers/hwmon/tmp103.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            326 drivers/hwmon/tmp108.c static int tmp108_probe(struct i2c_client *client,
client            329 drivers/hwmon/tmp108.c 	struct device *dev = &client->dev;
client            335 drivers/hwmon/tmp108.c 	if (!i2c_check_functionality(client->adapter,
client            348 drivers/hwmon/tmp108.c 	tmp108->regmap = devm_regmap_init_i2c(client, &tmp108_regmap_config);
client            387 drivers/hwmon/tmp108.c 	hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name,
client            136 drivers/hwmon/tmp401.c 	struct i2c_client *client;
client            177 drivers/hwmon/tmp401.c static int tmp401_update_device_reg16(struct i2c_client *client,
client            192 drivers/hwmon/tmp401.c 				val = i2c_smbus_read_byte_data(client, regaddr);
client            194 drivers/hwmon/tmp401.c 				val = i2c_smbus_read_word_swapped(client,
client            209 drivers/hwmon/tmp401.c 	struct i2c_client *client = data->client;
client            224 drivers/hwmon/tmp401.c 			val = i2c_smbus_read_byte_data(client, TMP401_STATUS);
client            241 drivers/hwmon/tmp401.c 				val = i2c_smbus_read_byte_data(client,
client            251 drivers/hwmon/tmp401.c 		val = i2c_smbus_read_byte_data(client, TMP401_CONFIG_READ);
client            257 drivers/hwmon/tmp401.c 		val = tmp401_update_device_reg16(client, data);
client            262 drivers/hwmon/tmp401.c 		val = i2c_smbus_read_byte_data(client, TMP401_TEMP_CRIT_HYST);
client            330 drivers/hwmon/tmp401.c 	struct i2c_client *client = data->client;
client            345 drivers/hwmon/tmp401.c 		i2c_smbus_write_byte_data(client, regaddr, reg >> 8);
client            348 drivers/hwmon/tmp401.c 		i2c_smbus_write_word_swapped(client, regaddr, reg);
client            382 drivers/hwmon/tmp401.c 	i2c_smbus_write_byte_data(data->client, TMP401_TEMP_CRIT_HYST,
client            402 drivers/hwmon/tmp401.c 	struct i2c_client *client = data->client;
client            415 drivers/hwmon/tmp401.c 	i2c_smbus_write_byte_data(client, TMP401_TEMP_MSB_WRITE[5][0], val);
client            435 drivers/hwmon/tmp401.c 	struct i2c_client *client = data->client;
client            454 drivers/hwmon/tmp401.c 	i2c_smbus_write_byte_data(client, TMP401_CONVERSION_RATE_WRITE, rate);
client            593 drivers/hwmon/tmp401.c 			      struct i2c_client *client)
client            598 drivers/hwmon/tmp401.c 	i2c_smbus_write_byte_data(client, TMP401_CONVERSION_RATE_WRITE, 5);
client            602 drivers/hwmon/tmp401.c 	config = i2c_smbus_read_byte_data(client, TMP401_CONFIG_READ);
client            610 drivers/hwmon/tmp401.c 		status = i2c_smbus_write_byte_data(client,
client            617 drivers/hwmon/tmp401.c static int tmp401_detect(struct i2c_client *client,
client            621 drivers/hwmon/tmp401.c 	struct i2c_adapter *adapter = client->adapter;
client            628 drivers/hwmon/tmp401.c 	reg = i2c_smbus_read_byte_data(client, TMP401_MANUFACTURER_ID_REG);
client            632 drivers/hwmon/tmp401.c 	reg = i2c_smbus_read_byte_data(client, TMP401_DEVICE_ID_REG);
client            636 drivers/hwmon/tmp401.c 		if (client->addr != 0x4c)
client            641 drivers/hwmon/tmp401.c 		if (client->addr != 0x4c)
client            646 drivers/hwmon/tmp401.c 		if (client->addr != 0x4d)
client            651 drivers/hwmon/tmp401.c 		if (client->addr != 0x4e)
client            656 drivers/hwmon/tmp401.c 		if (client->addr != 0x4c && client->addr != 0x4d)
client            661 drivers/hwmon/tmp401.c 		if (client->addr != 0x4c && client->addr != 0x4d)
client            672 drivers/hwmon/tmp401.c 	reg = i2c_smbus_read_byte_data(client, TMP401_CONFIG_READ);
client            676 drivers/hwmon/tmp401.c 	reg = i2c_smbus_read_byte_data(client, TMP401_CONVERSION_RATE_READ);
client            686 drivers/hwmon/tmp401.c static int tmp401_probe(struct i2c_client *client,
client            692 drivers/hwmon/tmp401.c 	struct device *dev = &client->dev;
client            701 drivers/hwmon/tmp401.c 	data->client = client;
client            706 drivers/hwmon/tmp401.c 	status = tmp401_init_client(data, client);
client            724 drivers/hwmon/tmp401.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client             90 drivers/hwmon/tmp421.c 	struct i2c_client *client;
client            125 drivers/hwmon/tmp421.c 	struct i2c_client *client = data->client;
client            131 drivers/hwmon/tmp421.c 		data->config = i2c_smbus_read_byte_data(client,
client            135 drivers/hwmon/tmp421.c 			data->temp[i] = i2c_smbus_read_byte_data(client,
client            137 drivers/hwmon/tmp421.c 			data->temp[i] |= i2c_smbus_read_byte_data(client,
client            189 drivers/hwmon/tmp421.c static int tmp421_init_client(struct i2c_client *client)
client            194 drivers/hwmon/tmp421.c 	i2c_smbus_write_byte_data(client, TMP421_CONVERSION_RATE_REG, 0x05);
client            197 drivers/hwmon/tmp421.c 	config = i2c_smbus_read_byte_data(client, TMP421_CONFIG_REG_1);
client            199 drivers/hwmon/tmp421.c 		dev_err(&client->dev,
client            208 drivers/hwmon/tmp421.c 		dev_info(&client->dev, "Enable monitoring chip\n");
client            209 drivers/hwmon/tmp421.c 		i2c_smbus_write_byte_data(client, TMP421_CONFIG_REG_1, config);
client            215 drivers/hwmon/tmp421.c static int tmp421_detect(struct i2c_client *client,
client            219 drivers/hwmon/tmp421.c 	struct i2c_adapter *adapter = client->adapter;
client            224 drivers/hwmon/tmp421.c 	int addr = client->addr;
client            230 drivers/hwmon/tmp421.c 	reg = i2c_smbus_read_byte_data(client, TMP421_MANUFACTURER_ID_REG);
client            234 drivers/hwmon/tmp421.c 	reg = i2c_smbus_read_byte_data(client, TMP421_CONVERSION_RATE_REG);
client            238 drivers/hwmon/tmp421.c 	reg = i2c_smbus_read_byte_data(client, TMP421_STATUS_REG);
client            242 drivers/hwmon/tmp421.c 	reg = i2c_smbus_read_byte_data(client, TMP421_DEVICE_ID_REG);
client            271 drivers/hwmon/tmp421.c 		 names[kind], client->addr);
client            281 drivers/hwmon/tmp421.c static int tmp421_probe(struct i2c_client *client,
client            284 drivers/hwmon/tmp421.c 	struct device *dev = &client->dev;
client            294 drivers/hwmon/tmp421.c 	if (client->dev.of_node)
client            296 drivers/hwmon/tmp421.c 			of_device_get_match_data(&client->dev);
client            299 drivers/hwmon/tmp421.c 	data->client = client;
client            301 drivers/hwmon/tmp421.c 	err = tmp421_init_client(client);
client            316 drivers/hwmon/tmp421.c 	hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name,
client            262 drivers/hwmon/w83773g.c static int w83773_probe(struct i2c_client *client,
client            265 drivers/hwmon/w83773g.c 	struct device *dev = &client->dev;
client            270 drivers/hwmon/w83773g.c 	regmap = devm_regmap_init_i2c(client, &w83773_regmap_config);
client            279 drivers/hwmon/w83773g.c 		dev_err(&client->dev, "error writing config rate register\n");
client            283 drivers/hwmon/w83773g.c 	i2c_set_clientdata(client, regmap);
client            286 drivers/hwmon/w83773g.c 							 client->name,
client            196 drivers/hwmon/w83781d.c 	struct i2c_client *client;
client            238 drivers/hwmon/w83781d.c static int w83781d_alias_detect(struct i2c_client *client, u8 chipid);
client           1084 drivers/hwmon/w83781d.c w83781d_detect(struct i2c_client *client, struct i2c_board_info *info)
client           1088 drivers/hwmon/w83781d.c 	struct i2c_adapter *adapter = client->adapter;
client           1089 drivers/hwmon/w83781d.c 	int address = client->addr;
client           1104 drivers/hwmon/w83781d.c 	if (i2c_smbus_read_byte_data(client, W83781D_REG_CONFIG) & 0x80) {
client           1110 drivers/hwmon/w83781d.c 	val1 = i2c_smbus_read_byte_data(client, W83781D_REG_BANK);
client           1111 drivers/hwmon/w83781d.c 	val2 = i2c_smbus_read_byte_data(client, W83781D_REG_CHIPMAN);
client           1126 drivers/hwmon/w83781d.c 		if (i2c_smbus_read_byte_data(client, W83781D_REG_I2C_ADDR)
client           1135 drivers/hwmon/w83781d.c 	i2c_smbus_write_byte_data(client, W83781D_REG_BANK,
client           1136 drivers/hwmon/w83781d.c 		(i2c_smbus_read_byte_data(client, W83781D_REG_BANK)
client           1140 drivers/hwmon/w83781d.c 	val2 = i2c_smbus_read_byte_data(client, W83781D_REG_CHIPMAN);
client           1152 drivers/hwmon/w83781d.c 	val1 = i2c_smbus_read_byte_data(client, W83781D_REG_WCHIPID);
client           1164 drivers/hwmon/w83781d.c 	if (val1 <= 0x30 && w83781d_alias_detect(client, val1)) {
client           1196 drivers/hwmon/w83781d.c w83781d_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1198 drivers/hwmon/w83781d.c 	struct device *dev = &client->dev;
client           1206 drivers/hwmon/w83781d.c 	i2c_set_clientdata(client, data);
client           1211 drivers/hwmon/w83781d.c 	data->client = client;
client           1214 drivers/hwmon/w83781d.c 	err = w83781d_detect_subclients(client);
client           1242 drivers/hwmon/w83781d.c w83781d_remove(struct i2c_client *client)
client           1244 drivers/hwmon/w83781d.c 	struct w83781d_data *data = i2c_get_clientdata(client);
client           1245 drivers/hwmon/w83781d.c 	struct device *dev = &client->dev;
client           1259 drivers/hwmon/w83781d.c 	struct i2c_client *client = data->client;
client           1266 drivers/hwmon/w83781d.c 		i2c_smbus_write_byte_data(client, W83781D_REG_BANK,
client           1269 drivers/hwmon/w83781d.c 		res = i2c_smbus_read_byte_data(client, reg & 0xff);
client           1291 drivers/hwmon/w83781d.c 		i2c_smbus_write_byte_data(client, W83781D_REG_BANK, 0);
client           1299 drivers/hwmon/w83781d.c 	struct i2c_client *client = data->client;
client           1306 drivers/hwmon/w83781d.c 		i2c_smbus_write_byte_data(client, W83781D_REG_BANK,
client           1309 drivers/hwmon/w83781d.c 		i2c_smbus_write_byte_data(client, reg & 0xff,
client           1328 drivers/hwmon/w83781d.c 		i2c_smbus_write_byte_data(client, W83781D_REG_BANK, 0);
client           1448 drivers/hwmon/w83781d.c 	struct i2c_client *client = data->client;
client           1481 drivers/hwmon/w83781d.c 				if ((data->type != w83782d || !client)
client           1613 drivers/hwmon/w83781d.c static int w83781d_alias_detect(struct i2c_client *client, u8 chipid)
client           1623 drivers/hwmon/w83781d.c 	if (w83781d_read_value(isa, W83781D_REG_I2C_ADDR) != client->addr)
client           1634 drivers/hwmon/w83781d.c 		    i2c_smbus_read_byte_data(client, i))
client           1638 drivers/hwmon/w83781d.c 	    i2c_smbus_read_byte_data(client, W83781D_REG_CONFIG))
client           1642 drivers/hwmon/w83781d.c 		    i2c_smbus_read_byte_data(client, i))
client           1723 drivers/hwmon/w83781d.c 	struct i2c_client *client = data->client;
client           1727 drivers/hwmon/w83781d.c 	if (client)
client           1738 drivers/hwmon/w83781d.c 	struct i2c_client *client = data->client;
client           1741 drivers/hwmon/w83781d.c 	if (client)
client           2007 drivers/hwmon/w83781d.c w83781d_alias_detect(struct i2c_client *client, u8 chipid)
client            195 drivers/hwmon/w83791d.c static inline int w83791d_read(struct i2c_client *client, u8 reg)
client            197 drivers/hwmon/w83791d.c 	return i2c_smbus_read_byte_data(client, reg);
client            200 drivers/hwmon/w83791d.c static inline int w83791d_write(struct i2c_client *client, u8 reg, u8 value)
client            202 drivers/hwmon/w83791d.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            318 drivers/hwmon/w83791d.c static int w83791d_probe(struct i2c_client *client,
client            320 drivers/hwmon/w83791d.c static int w83791d_detect(struct i2c_client *client,
client            322 drivers/hwmon/w83791d.c static int w83791d_remove(struct i2c_client *client);
client            324 drivers/hwmon/w83791d.c static int w83791d_read(struct i2c_client *client, u8 reg);
client            325 drivers/hwmon/w83791d.c static int w83791d_write(struct i2c_client *client, u8 reg, u8 value);
client            332 drivers/hwmon/w83791d.c static void w83791d_init_client(struct i2c_client *client);
client            375 drivers/hwmon/w83791d.c 	struct i2c_client *client = to_i2c_client(dev); \
client            376 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client); \
client            384 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_IN_##REG[nr], data->in_##reg[nr]); \
client            448 drivers/hwmon/w83791d.c 	struct i2c_client *client = to_i2c_client(dev);
client            449 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client            464 drivers/hwmon/w83791d.c 	data->beep_mask |= w83791d_read(client, W83791D_REG_BEEP_CTRL[bytenr])
client            470 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_BEEP_CTRL[bytenr],
client            538 drivers/hwmon/w83791d.c 	struct i2c_client *client = to_i2c_client(dev);
client            539 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client            550 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_FAN_MIN[nr], data->fan_min[nr]);
client            575 drivers/hwmon/w83791d.c 	struct i2c_client *client = to_i2c_client(dev);
client            576 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client            632 drivers/hwmon/w83791d.c 	fan_div_reg = w83791d_read(client, W83791D_REG_FAN_DIV[indx])
client            636 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_FAN_DIV[indx],
client            642 drivers/hwmon/w83791d.c 		vbat_reg = w83791d_read(client, W83791D_REG_VBAT)
client            645 drivers/hwmon/w83791d.c 		w83791d_write(client, W83791D_REG_VBAT,
client            651 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_FAN_MIN[nr], data->fan_min[nr]);
client            725 drivers/hwmon/w83791d.c 	struct i2c_client *client = to_i2c_client(dev);
client            726 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client            735 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_PWM[nr], data->pwm[nr]);
client            766 drivers/hwmon/w83791d.c 	struct i2c_client *client = to_i2c_client(dev);
client            767 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client            800 drivers/hwmon/w83791d.c 	reg_cfg_tmp = w83791d_read(client, W83791D_REG_FAN_CFG[reg_idx]);
client            804 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_FAN_CFG[reg_idx], reg_cfg_tmp);
client            832 drivers/hwmon/w83791d.c 	struct i2c_client *client = to_i2c_client(dev);
client            833 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client            843 drivers/hwmon/w83791d.c 	target_mask = w83791d_read(client,
client            845 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_TEMP_TARGET[nr],
client            873 drivers/hwmon/w83791d.c 	struct i2c_client *client = to_i2c_client(dev);
client            874 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client            905 drivers/hwmon/w83791d.c 	target_mask = w83791d_read(client,
client            907 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_TEMP_TOL[reg_idx],
client            935 drivers/hwmon/w83791d.c 	struct i2c_client *client = to_i2c_client(dev);
client            936 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client            947 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_TEMP1[nr], data->temp1[nr]);
client            968 drivers/hwmon/w83791d.c 	struct i2c_client *client = to_i2c_client(dev);
client            969 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client            981 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_TEMP_ADD[nr][index * 2],
client            983 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_TEMP_ADD[nr][index * 2 + 1],
client           1064 drivers/hwmon/w83791d.c 	struct i2c_client *client = to_i2c_client(dev);
client           1065 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client           1086 drivers/hwmon/w83791d.c 		w83791d_write(client, W83791D_REG_BEEP_CTRL[i], (val & 0xff));
client           1099 drivers/hwmon/w83791d.c 	struct i2c_client *client = to_i2c_client(dev);
client           1100 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client           1122 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_BEEP_CTRL[1], val);
client           1258 drivers/hwmon/w83791d.c static int w83791d_detect_subclients(struct i2c_client *client)
client           1260 drivers/hwmon/w83791d.c 	struct i2c_adapter *adapter = client->adapter;
client           1261 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client           1262 drivers/hwmon/w83791d.c 	int address = client->addr;
client           1271 drivers/hwmon/w83791d.c 				dev_err(&client->dev,
client           1278 drivers/hwmon/w83791d.c 		w83791d_write(client, W83791D_REG_I2C_SUBADDR,
client           1283 drivers/hwmon/w83791d.c 	val = w83791d_read(client, W83791D_REG_I2C_SUBADDR);
client           1285 drivers/hwmon/w83791d.c 		data->lm75[0] = devm_i2c_new_dummy_device(&client->dev, adapter,
client           1290 drivers/hwmon/w83791d.c 			dev_err(&client->dev,
client           1296 drivers/hwmon/w83791d.c 		data->lm75[1] = devm_i2c_new_dummy_device(&client->dev, adapter,
client           1305 drivers/hwmon/w83791d.c static int w83791d_detect(struct i2c_client *client,
client           1308 drivers/hwmon/w83791d.c 	struct i2c_adapter *adapter = client->adapter;
client           1310 drivers/hwmon/w83791d.c 	unsigned short address = client->addr;
client           1315 drivers/hwmon/w83791d.c 	if (w83791d_read(client, W83791D_REG_CONFIG) & 0x80)
client           1318 drivers/hwmon/w83791d.c 	val1 = w83791d_read(client, W83791D_REG_BANK);
client           1319 drivers/hwmon/w83791d.c 	val2 = w83791d_read(client, W83791D_REG_CHIPMAN);
client           1331 drivers/hwmon/w83791d.c 	if (w83791d_read(client, W83791D_REG_I2C_ADDR) != address)
client           1335 drivers/hwmon/w83791d.c 	val1 = w83791d_read(client, W83791D_REG_BANK) & 0x78;
client           1336 drivers/hwmon/w83791d.c 	w83791d_write(client, W83791D_REG_BANK, val1 | 0x80);
client           1339 drivers/hwmon/w83791d.c 	val1 = w83791d_read(client, W83791D_REG_WCHIPID);
client           1340 drivers/hwmon/w83791d.c 	val2 = w83791d_read(client, W83791D_REG_CHIPMAN);
client           1349 drivers/hwmon/w83791d.c static int w83791d_probe(struct i2c_client *client,
client           1353 drivers/hwmon/w83791d.c 	struct device *dev = &client->dev;
client           1359 drivers/hwmon/w83791d.c 	val1 = w83791d_read(client, W83791D_REG_DID_VID4);
client           1364 drivers/hwmon/w83791d.c 	data = devm_kzalloc(&client->dev, sizeof(struct w83791d_data),
client           1369 drivers/hwmon/w83791d.c 	i2c_set_clientdata(client, data);
client           1372 drivers/hwmon/w83791d.c 	err = w83791d_detect_subclients(client);
client           1377 drivers/hwmon/w83791d.c 	w83791d_init_client(client);
client           1384 drivers/hwmon/w83791d.c 		data->fan_min[i] = w83791d_read(client, W83791D_REG_FAN_MIN[i]);
client           1387 drivers/hwmon/w83791d.c 	err = sysfs_create_group(&client->dev.kobj, &w83791d_group);
client           1392 drivers/hwmon/w83791d.c 	has_fanpwm45 = w83791d_read(client, W83791D_REG_GPIO) & 0x10;
client           1394 drivers/hwmon/w83791d.c 		err = sysfs_create_group(&client->dev.kobj,
client           1411 drivers/hwmon/w83791d.c 		sysfs_remove_group(&client->dev.kobj, &w83791d_group_fanpwm45);
client           1413 drivers/hwmon/w83791d.c 	sysfs_remove_group(&client->dev.kobj, &w83791d_group);
client           1417 drivers/hwmon/w83791d.c static int w83791d_remove(struct i2c_client *client)
client           1419 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client           1422 drivers/hwmon/w83791d.c 	sysfs_remove_group(&client->dev.kobj, &w83791d_group);
client           1427 drivers/hwmon/w83791d.c static void w83791d_init_client(struct i2c_client *client)
client           1429 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client           1449 drivers/hwmon/w83791d.c 		old_beep = w83791d_read(client, W83791D_REG_BEEP_CONFIG);
client           1453 drivers/hwmon/w83791d.c 			w83791d_write(client, W83791D_REG_CONFIG, 0x80);
client           1457 drivers/hwmon/w83791d.c 		w83791d_write(client, W83791D_REG_BEEP_CONFIG, old_beep | 0x80);
client           1460 drivers/hwmon/w83791d.c 		tmp = w83791d_read(client, W83791D_REG_BEEP_CTRL[1]);
client           1461 drivers/hwmon/w83791d.c 		w83791d_write(client, W83791D_REG_BEEP_CTRL[1], tmp & 0xef);
client           1465 drivers/hwmon/w83791d.c 			tmp = w83791d_read(client, W83791D_REG_TEMP2_CONFIG);
client           1467 drivers/hwmon/w83791d.c 				w83791d_write(client, W83791D_REG_TEMP2_CONFIG,
client           1471 drivers/hwmon/w83791d.c 			tmp = w83791d_read(client, W83791D_REG_TEMP3_CONFIG);
client           1473 drivers/hwmon/w83791d.c 				w83791d_write(client, W83791D_REG_TEMP3_CONFIG,
client           1478 drivers/hwmon/w83791d.c 			tmp = w83791d_read(client, W83791D_REG_CONFIG) & 0xf7;
client           1479 drivers/hwmon/w83791d.c 			w83791d_write(client, W83791D_REG_CONFIG, tmp | 0x01);
client           1488 drivers/hwmon/w83791d.c 	struct i2c_client *client = to_i2c_client(dev);
client           1489 drivers/hwmon/w83791d.c 	struct w83791d_data *data = i2c_get_clientdata(client);
client           1502 drivers/hwmon/w83791d.c 			data->in[i] = w83791d_read(client,
client           1504 drivers/hwmon/w83791d.c 			data->in_max[i] = w83791d_read(client,
client           1506 drivers/hwmon/w83791d.c 			data->in_min[i] = w83791d_read(client,
client           1513 drivers/hwmon/w83791d.c 			data->fan[i] = w83791d_read(client,
client           1515 drivers/hwmon/w83791d.c 			data->fan_min[i] = w83791d_read(client,
client           1521 drivers/hwmon/w83791d.c 			reg_array_tmp[i] = w83791d_read(client,
client           1534 drivers/hwmon/w83791d.c 		vbat_reg = w83791d_read(client, W83791D_REG_VBAT);
client           1540 drivers/hwmon/w83791d.c 			data->pwm[i] =  w83791d_read(client,
client           1546 drivers/hwmon/w83791d.c 			reg_array_tmp[i] = w83791d_read(client,
client           1555 drivers/hwmon/w83791d.c 			data->temp_target[i] = w83791d_read(client,
client           1561 drivers/hwmon/w83791d.c 			reg_array_tmp[i] = w83791d_read(client,
client           1570 drivers/hwmon/w83791d.c 			data->temp1[i] = w83791d_read(client,
client           1578 drivers/hwmon/w83791d.c 					(w83791d_read(client,
client           1580 drivers/hwmon/w83791d.c 					w83791d_read(client,
client           1587 drivers/hwmon/w83791d.c 			w83791d_read(client, W83791D_REG_ALARM1) +
client           1588 drivers/hwmon/w83791d.c 			(w83791d_read(client, W83791D_REG_ALARM2) << 8) +
client           1589 drivers/hwmon/w83791d.c 			(w83791d_read(client, W83791D_REG_ALARM3) << 16);
client           1593 drivers/hwmon/w83791d.c 			w83791d_read(client, W83791D_REG_BEEP_CTRL[0]) +
client           1594 drivers/hwmon/w83791d.c 			(w83791d_read(client, W83791D_REG_BEEP_CTRL[1]) << 8) +
client           1595 drivers/hwmon/w83791d.c 			(w83791d_read(client, W83791D_REG_BEEP_CTRL[2]) << 16);
client           1602 drivers/hwmon/w83791d.c 		i = w83791d_read(client, W83791D_REG_VID_FANDIV);
client           1604 drivers/hwmon/w83791d.c 		data->vid |= (w83791d_read(client, W83791D_REG_DID_VID4) & 0x01)
client            289 drivers/hwmon/w83792d.c static int w83792d_probe(struct i2c_client *client,
client            291 drivers/hwmon/w83792d.c static int w83792d_detect(struct i2c_client *client,
client            293 drivers/hwmon/w83792d.c static int w83792d_remove(struct i2c_client *client);
client            300 drivers/hwmon/w83792d.c static void w83792d_init_client(struct i2c_client *client);
client            331 drivers/hwmon/w83792d.c static inline int w83792d_read_value(struct i2c_client *client, u8 reg)
client            333 drivers/hwmon/w83792d.c 	return i2c_smbus_read_byte_data(client, reg);
client            337 drivers/hwmon/w83792d.c w83792d_write_value(struct i2c_client *client, u8 reg, u8 value)
client            339 drivers/hwmon/w83792d.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            376 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev); \
client            377 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client); \
client            384 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_IN_##REG[nr], \
client            414 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev);
client            415 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client            425 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_FAN_MIN[nr],
client            454 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev);
client            455 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client            474 drivers/hwmon/w83792d.c 	fan_div_reg = w83792d_read_value(client, W83792D_REG_FAN_DIV[nr >> 1]);
client            478 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_FAN_DIV[nr >> 1],
client            483 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_FAN_MIN[nr], data->fan_min[nr]);
client            505 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev);
client            506 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client            516 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_TEMP1[nr],
client            545 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev);
client            546 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client            557 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_TEMP_ADD[nr][index],
client            559 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_TEMP_ADD[nr][index+1],
client            623 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev);
client            624 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client            634 drivers/hwmon/w83792d.c 	val |= w83792d_read_value(client, W83792D_REG_PWM[nr]) & 0xf0;
client            636 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_PWM[nr], data->pwm[nr]);
client            648 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev);
client            649 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client            676 drivers/hwmon/w83792d.c 	cfg4_tmp = w83792d_read_value(client, W83792D_REG_FAN_CFG) & 0xc0;
client            678 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_FAN_CFG, fan_cfg_tmp);
client            700 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev);
client            701 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client            712 drivers/hwmon/w83792d.c 	data->pwm[nr] = w83792d_read_value(client, W83792D_REG_PWM[nr]);
client            718 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_PWM[nr], data->pwm[nr]);
client            736 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev);
client            737 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client            745 drivers/hwmon/w83792d.c 	reg = w83792d_read_value(client, W83792D_REG_CHASSIS_CLR);
client            746 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_CHASSIS_CLR, reg | 0x80);
client            770 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev);
client            771 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client            783 drivers/hwmon/w83792d.c 	target_mask = w83792d_read_value(client,
client            786 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_THERMAL[nr],
client            810 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev);
client            811 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client            821 drivers/hwmon/w83792d.c 	tol_mask = w83792d_read_value(client,
client            828 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_TOLERANCE[nr],
client            856 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev);
client            857 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client            868 drivers/hwmon/w83792d.c 	mask_tmp = w83792d_read_value(client,
client            870 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_POINTS[index][nr],
client            898 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev);
client            899 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client            910 drivers/hwmon/w83792d.c 	mask_tmp = w83792d_read_value(client, W83792D_REG_LEVELS[index][nr])
client            916 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_LEVELS[index][nr],
client           1317 drivers/hwmon/w83792d.c w83792d_detect(struct i2c_client *client, struct i2c_board_info *info)
client           1319 drivers/hwmon/w83792d.c 	struct i2c_adapter *adapter = client->adapter;
client           1321 drivers/hwmon/w83792d.c 	unsigned short address = client->addr;
client           1326 drivers/hwmon/w83792d.c 	if (w83792d_read_value(client, W83792D_REG_CONFIG) & 0x80)
client           1329 drivers/hwmon/w83792d.c 	val1 = w83792d_read_value(client, W83792D_REG_BANK);
client           1330 drivers/hwmon/w83792d.c 	val2 = w83792d_read_value(client, W83792D_REG_CHIPMAN);
client           1341 drivers/hwmon/w83792d.c 	if (w83792d_read_value(client, W83792D_REG_I2C_ADDR) != address)
client           1345 drivers/hwmon/w83792d.c 	w83792d_write_value(client,
client           1347 drivers/hwmon/w83792d.c 			    (w83792d_read_value(client,
client           1351 drivers/hwmon/w83792d.c 	val1 = w83792d_read_value(client, W83792D_REG_WCHIPID);
client           1352 drivers/hwmon/w83792d.c 	val2 = w83792d_read_value(client, W83792D_REG_CHIPMAN);
client           1362 drivers/hwmon/w83792d.c w83792d_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1365 drivers/hwmon/w83792d.c 	struct device *dev = &client->dev;
client           1372 drivers/hwmon/w83792d.c 	i2c_set_clientdata(client, data);
client           1375 drivers/hwmon/w83792d.c 	err = w83792d_detect_subclients(client);
client           1380 drivers/hwmon/w83792d.c 	w83792d_init_client(client);
client           1384 drivers/hwmon/w83792d.c 		data->fan_min[i] = w83792d_read_value(client,
client           1397 drivers/hwmon/w83792d.c 	val1 = w83792d_read_value(client, W83792D_REG_GPIO_EN);
client           1411 drivers/hwmon/w83792d.c 	val1 = w83792d_read_value(client, W83792D_REG_PIN);
client           1440 drivers/hwmon/w83792d.c w83792d_remove(struct i2c_client *client)
client           1442 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client           1446 drivers/hwmon/w83792d.c 	sysfs_remove_group(&client->dev.kobj, &w83792d_group);
client           1448 drivers/hwmon/w83792d.c 		sysfs_remove_group(&client->dev.kobj,
client           1455 drivers/hwmon/w83792d.c w83792d_init_client(struct i2c_client *client)
client           1460 drivers/hwmon/w83792d.c 		w83792d_write_value(client, W83792D_REG_CONFIG, 0x80);
client           1469 drivers/hwmon/w83792d.c 	vid_in_b = w83792d_read_value(client, W83792D_REG_VID_IN_B);
client           1470 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_VID_IN_B,
client           1473 drivers/hwmon/w83792d.c 	temp2_cfg = w83792d_read_value(client, W83792D_REG_TEMP2_CONFIG);
client           1474 drivers/hwmon/w83792d.c 	temp3_cfg = w83792d_read_value(client, W83792D_REG_TEMP3_CONFIG);
client           1475 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_TEMP2_CONFIG,
client           1477 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_TEMP3_CONFIG,
client           1481 drivers/hwmon/w83792d.c 	w83792d_write_value(client, W83792D_REG_CONFIG,
client           1482 drivers/hwmon/w83792d.c 			    (w83792d_read_value(client,
client           1489 drivers/hwmon/w83792d.c 	struct i2c_client *client = to_i2c_client(dev);
client           1490 drivers/hwmon/w83792d.c 	struct w83792d_data *data = i2c_get_clientdata(client);
client           1503 drivers/hwmon/w83792d.c 			data->in[i] = w83792d_read_value(client,
client           1505 drivers/hwmon/w83792d.c 			data->in_max[i] = w83792d_read_value(client,
client           1507 drivers/hwmon/w83792d.c 			data->in_min[i] = w83792d_read_value(client,
client           1510 drivers/hwmon/w83792d.c 		data->low_bits = w83792d_read_value(client,
client           1512 drivers/hwmon/w83792d.c 				 (w83792d_read_value(client,
client           1516 drivers/hwmon/w83792d.c 			data->fan[i] = w83792d_read_value(client,
client           1518 drivers/hwmon/w83792d.c 			data->fan_min[i] = w83792d_read_value(client,
client           1521 drivers/hwmon/w83792d.c 			data->pwm[i] = w83792d_read_value(client,
client           1525 drivers/hwmon/w83792d.c 		reg_tmp = w83792d_read_value(client, W83792D_REG_FAN_CFG);
client           1531 drivers/hwmon/w83792d.c 			data->temp1[i] = w83792d_read_value(client,
client           1537 drivers/hwmon/w83792d.c 					client, W83792D_REG_TEMP_ADD[i][j]);
client           1543 drivers/hwmon/w83792d.c 			reg_array_tmp[i] = w83792d_read_value(client,
client           1555 drivers/hwmon/w83792d.c 		data->alarms = w83792d_read_value(client, W83792D_REG_ALARM1) +
client           1556 drivers/hwmon/w83792d.c 			(w83792d_read_value(client, W83792D_REG_ALARM2) << 8) +
client           1557 drivers/hwmon/w83792d.c 			(w83792d_read_value(client, W83792D_REG_ALARM3) << 16);
client           1560 drivers/hwmon/w83792d.c 		data->chassis = (w83792d_read_value(client,
client           1566 drivers/hwmon/w83792d.c 				w83792d_read_value(client,
client           1571 drivers/hwmon/w83792d.c 		reg_tmp = w83792d_read_value(client, W83792D_REG_TOLERANCE[0]);
client           1574 drivers/hwmon/w83792d.c 		data->tolerance[2] = w83792d_read_value(client,
client           1581 drivers/hwmon/w83792d.c 				  = w83792d_read_value(client,
client           1588 drivers/hwmon/w83792d.c 			reg_tmp = w83792d_read_value(client,
client           1592 drivers/hwmon/w83792d.c 			reg_tmp = w83792d_read_value(client,
client            251 drivers/hwmon/w83793.c 	struct i2c_client *client;
client            284 drivers/hwmon/w83793.c static u8 w83793_read_value(struct i2c_client *client, u16 reg);
client            285 drivers/hwmon/w83793.c static int w83793_write_value(struct i2c_client *client, u16 reg, u8 value);
client            286 drivers/hwmon/w83793.c static int w83793_probe(struct i2c_client *client,
client            288 drivers/hwmon/w83793.c static int w83793_detect(struct i2c_client *client,
client            290 drivers/hwmon/w83793.c static int w83793_remove(struct i2c_client *client);
client            291 drivers/hwmon/w83793.c static void w83793_init_client(struct i2c_client *client);
client            376 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client            377 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client            394 drivers/hwmon/w83793.c 	data->beeps[index] = w83793_read_value(client, W83793_REG_BEEP(index));
client            397 drivers/hwmon/w83793.c 	w83793_write_value(client, W83793_REG_BEEP(index), data->beeps[index]);
client            414 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client            415 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client            427 drivers/hwmon/w83793.c 	data->beep_enable = w83793_read_value(client, W83793_REG_OVT_BEEP)
client            430 drivers/hwmon/w83793.c 	w83793_write_value(client, W83793_REG_OVT_BEEP, data->beep_enable);
client            442 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client            443 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client            455 drivers/hwmon/w83793.c 	reg = w83793_read_value(client, W83793_REG_CLR_CHASSIS);
client            456 drivers/hwmon/w83793.c 	w83793_write_value(client, W83793_REG_CLR_CHASSIS, reg | 0x80);
client            489 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client            490 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client            501 drivers/hwmon/w83793.c 	w83793_write_value(client, W83793_REG_FAN_MIN(index),
client            503 drivers/hwmon/w83793.c 	w83793_write_value(client, W83793_REG_FAN_MIN(index) + 1, val & 0xff);
client            531 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client            532 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client            548 drivers/hwmon/w83793.c 		w83793_write_value(client, W83793_REG_PWM_STOP_TIME(index),
client            553 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_PWM(index, nr)) & 0xc0;
client            555 drivers/hwmon/w83793.c 		w83793_write_value(client, W83793_REG_PWM(index, nr),
client            588 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client            589 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client            599 drivers/hwmon/w83793.c 	w83793_write_value(client, W83793_REG_TEMP[index][nr],
client            649 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client            650 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client            677 drivers/hwmon/w83793.c 	    w83793_read_value(client, W83793_REG_TEMP_MODE[index]);
client            680 drivers/hwmon/w83793.c 	w83793_write_value(client, W83793_REG_TEMP_MODE[index],
client            719 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client            720 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client            731 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_PWM_DEFAULT) & 0xc0;
client            733 drivers/hwmon/w83793.c 		w83793_write_value(client, W83793_REG_PWM_DEFAULT,
client            738 drivers/hwmon/w83793.c 		w83793_write_value(client, W83793_REG_PWM_UPTIME,
client            743 drivers/hwmon/w83793.c 		w83793_write_value(client, W83793_REG_PWM_DOWNTIME,
client            747 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_TEMP_CRITICAL) & 0x80;
client            749 drivers/hwmon/w83793.c 		w83793_write_value(client, W83793_REG_TEMP_CRITICAL,
client            820 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client            821 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client            832 drivers/hwmon/w83793.c 		w83793_write_value(client, W83793_REG_TEMP_FAN_MAP(index), val);
client            837 drivers/hwmon/w83793.c 			    w83793_read_value(client, W83793_REG_PWM_ENABLE);
client            842 drivers/hwmon/w83793.c 			w83793_write_value(client, W83793_REG_PWM_ENABLE,
client            850 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_TEMP_CRUISE(index));
client            854 drivers/hwmon/w83793.c 		w83793_write_value(client, W83793_REG_TEMP_CRUISE(index),
client            860 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_TEMP_TOL(i));
client            864 drivers/hwmon/w83793.c 		w83793_write_value(client, W83793_REG_TEMP_TOL(i),
client            888 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client            889 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client            904 drivers/hwmon/w83793.c 	    w83793_read_value(client, W83793_REG_SF2_PWM(index, nr)) & 0xc0;
client            906 drivers/hwmon/w83793.c 	w83793_write_value(client, W83793_REG_SF2_PWM(index, nr),
client            929 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client            930 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client            945 drivers/hwmon/w83793.c 	    w83793_read_value(client, W83793_REG_SF2_TEMP(index, nr)) & 0x80;
client            947 drivers/hwmon/w83793.c 	w83793_write_value(client, W83793_REG_SF2_TEMP(index, nr),
client            981 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client            982 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client           1000 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_IN_LOW_BITS[nr]);
client           1003 drivers/hwmon/w83793.c 		w83793_write_value(client, W83793_REG_IN_LOW_BITS[nr],
client           1008 drivers/hwmon/w83793.c 	w83793_write_value(client, W83793_REG_IN[index][nr],
client           1176 drivers/hwmon/w83793.c static void w83793_init_client(struct i2c_client *client)
client           1179 drivers/hwmon/w83793.c 		w83793_write_value(client, W83793_REG_CONFIG, 0x80);
client           1182 drivers/hwmon/w83793.c 	w83793_write_value(client, W83793_REG_CONFIG,
client           1183 drivers/hwmon/w83793.c 			   w83793_read_value(client, W83793_REG_CONFIG) | 0x01);
client           1201 drivers/hwmon/w83793.c 	if (!data->client) {
client           1209 drivers/hwmon/w83793.c 	w83793_write_value(data->client, W83793_REG_WDT_TIMEOUT,
client           1235 drivers/hwmon/w83793.c 	if (!data->client) {
client           1241 drivers/hwmon/w83793.c 	w83793_write_value(data->client, W83793_REG_WDT_TIMEOUT,
client           1254 drivers/hwmon/w83793.c 	if (!data->client) {
client           1260 drivers/hwmon/w83793.c 	w83793_write_value(data->client, W83793_REG_WDT_TIMEOUT,
client           1264 drivers/hwmon/w83793.c 	w83793_write_value(data->client, W83793_REG_WDT_LOCK, 0x55);
client           1276 drivers/hwmon/w83793.c 	if (!data->client) {
client           1282 drivers/hwmon/w83793.c 	w83793_write_value(data->client, W83793_REG_WDT_LOCK, 0xAA);
client           1343 drivers/hwmon/w83793.c 		dev_crit(&data->client->dev,
client           1499 drivers/hwmon/w83793.c static int w83793_remove(struct i2c_client *client)
client           1501 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client           1502 drivers/hwmon/w83793.c 	struct device *dev = &client->dev;
client           1510 drivers/hwmon/w83793.c 			dev_warn(&client->dev,
client           1522 drivers/hwmon/w83793.c 		data->client = NULL;
client           1527 drivers/hwmon/w83793.c 	tmp = w83793_read_value(client, W83793_REG_CONFIG);
client           1528 drivers/hwmon/w83793.c 	w83793_write_value(client, W83793_REG_CONFIG, tmp & ~0x04);
client           1563 drivers/hwmon/w83793.c w83793_detect_subclients(struct i2c_client *client)
client           1566 drivers/hwmon/w83793.c 	int address = client->addr;
client           1568 drivers/hwmon/w83793.c 	struct i2c_adapter *adapter = client->adapter;
client           1569 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client           1576 drivers/hwmon/w83793.c 				dev_err(&client->dev,
client           1583 drivers/hwmon/w83793.c 		w83793_write_value(client, W83793_REG_I2C_SUBADDR,
client           1588 drivers/hwmon/w83793.c 	tmp = w83793_read_value(client, W83793_REG_I2C_SUBADDR);
client           1590 drivers/hwmon/w83793.c 		data->lm75[0] = devm_i2c_new_dummy_device(&client->dev, adapter,
client           1595 drivers/hwmon/w83793.c 			dev_err(&client->dev,
client           1600 drivers/hwmon/w83793.c 		data->lm75[1] = devm_i2c_new_dummy_device(&client->dev, adapter,
client           1608 drivers/hwmon/w83793.c static int w83793_detect(struct i2c_client *client,
client           1612 drivers/hwmon/w83793.c 	struct i2c_adapter *adapter = client->adapter;
client           1613 drivers/hwmon/w83793.c 	unsigned short address = client->addr;
client           1618 drivers/hwmon/w83793.c 	bank = i2c_smbus_read_byte_data(client, W83793_REG_BANKSEL);
client           1622 drivers/hwmon/w83793.c 	if (tmp != i2c_smbus_read_byte_data(client, W83793_REG_VENDORID)) {
client           1632 drivers/hwmon/w83793.c 	 && i2c_smbus_read_byte_data(client, W83793_REG_I2C_ADDR) !=
client           1639 drivers/hwmon/w83793.c 	chip_id = i2c_smbus_read_byte_data(client, W83793_REG_CHIPID);
client           1648 drivers/hwmon/w83793.c static int w83793_probe(struct i2c_client *client,
client           1651 drivers/hwmon/w83793.c 	struct device *dev = &client->dev;
client           1667 drivers/hwmon/w83793.c 	i2c_set_clientdata(client, data);
client           1668 drivers/hwmon/w83793.c 	data->bank = i2c_smbus_read_byte_data(client, W83793_REG_BANKSEL);
client           1679 drivers/hwmon/w83793.c 	data->client = client;
client           1681 drivers/hwmon/w83793.c 	err = w83793_detect_subclients(client);
client           1686 drivers/hwmon/w83793.c 	w83793_init_client(client);
client           1694 drivers/hwmon/w83793.c 	tmp = w83793_read_value(client, W83793_REG_MFC);
client           1695 drivers/hwmon/w83793.c 	val = w83793_read_value(client, W83793_REG_FANIN_CTRL);
client           1737 drivers/hwmon/w83793.c 	tmp = w83793_read_value(client, W83793_REG_FANIN_SEL);
client           1752 drivers/hwmon/w83793.c 	tmp = w83793_read_value(client, W83793_REG_TEMP_MODE[0]);
client           1762 drivers/hwmon/w83793.c 	tmp = w83793_read_value(client, W83793_REG_TEMP_MODE[1]);
client           1847 drivers/hwmon/w83793.c 		dev_err(&client->dev,
client           1857 drivers/hwmon/w83793.c 	tmp = w83793_read_value(client, W83793_REG_CONFIG);
client           1858 drivers/hwmon/w83793.c 	w83793_write_value(client, W83793_REG_CONFIG, tmp | 0x04);
client           1865 drivers/hwmon/w83793.c 	  w83793_read_value(data->client, W83793_REG_WDT_STATUS) & 0x01;
client           1889 drivers/hwmon/w83793.c 			dev_err(&client->dev,
client           1896 drivers/hwmon/w83793.c 		dev_info(&client->dev,
client           1903 drivers/hwmon/w83793.c 		dev_warn(&client->dev,
client           1945 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client           1946 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client           1960 drivers/hwmon/w83793.c 			    w83793_read_value(client, W83793_REG_IN[j][i]);
client           1963 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_IN_LOW_BITS[i]);
client           1971 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_FAN_MIN(i)) << 8;
client           1973 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_FAN_MIN(i) + 1);
client           1980 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_TEMP_FAN_MAP(i));
client           1983 drivers/hwmon/w83793.c 			    w83793_read_value(client, W83793_REG_TEMP[i][j]);
client           1986 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_TEMP_CRUISE(i));
client           1989 drivers/hwmon/w83793.c 			    w83793_read_value(client, W83793_REG_SF2_PWM(i, j));
client           1991 drivers/hwmon/w83793.c 			    w83793_read_value(client,
client           1998 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_TEMP_MODE[i]);
client           2002 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_TEMP_TOL(i));
client           2009 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_PWM(i, PWM_NONSTOP));
client           2011 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_PWM(i, PWM_START));
client           2013 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_PWM_STOP_TIME(i));
client           2016 drivers/hwmon/w83793.c 	data->pwm_default = w83793_read_value(client, W83793_REG_PWM_DEFAULT);
client           2017 drivers/hwmon/w83793.c 	data->pwm_enable = w83793_read_value(client, W83793_REG_PWM_ENABLE);
client           2018 drivers/hwmon/w83793.c 	data->pwm_uptime = w83793_read_value(client, W83793_REG_PWM_UPTIME);
client           2019 drivers/hwmon/w83793.c 	data->pwm_downtime = w83793_read_value(client, W83793_REG_PWM_DOWNTIME);
client           2021 drivers/hwmon/w83793.c 	    w83793_read_value(client, W83793_REG_TEMP_CRITICAL);
client           2022 drivers/hwmon/w83793.c 	data->beep_enable = w83793_read_value(client, W83793_REG_OVT_BEEP);
client           2025 drivers/hwmon/w83793.c 		data->beeps[i] = w83793_read_value(client, W83793_REG_BEEP(i));
client           2032 drivers/hwmon/w83793.c 	struct i2c_client *client = to_i2c_client(dev);
client           2033 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client           2045 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_IN[i][IN_READ]);
client           2048 drivers/hwmon/w83793.c 	    w83793_read_value(client, W83793_REG_IN_LOW_BITS[IN_READ]);
client           2054 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_FAN(i)) << 8;
client           2056 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_FAN(i) + 1);
client           2063 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_TEMP[i][TEMP_READ]);
client           2067 drivers/hwmon/w83793.c 	    w83793_read_value(client, W83793_REG_TEMP_LOW_BITS);
client           2072 drivers/hwmon/w83793.c 			    w83793_read_value(client,
client           2078 drivers/hwmon/w83793.c 		    w83793_read_value(client, W83793_REG_ALARM(i));
client           2080 drivers/hwmon/w83793.c 		data->vid[0] = w83793_read_value(client, W83793_REG_VID_INA);
client           2082 drivers/hwmon/w83793.c 		data->vid[1] = w83793_read_value(client, W83793_REG_VID_INB);
client           2096 drivers/hwmon/w83793.c static u8 w83793_read_value(struct i2c_client *client, u16 reg)
client           2098 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client           2105 drivers/hwmon/w83793.c 		    (client, W83793_REG_BANKSEL, new_bank) >= 0)
client           2108 drivers/hwmon/w83793.c 			dev_err(&client->dev,
client           2116 drivers/hwmon/w83793.c 	res = i2c_smbus_read_byte_data(client, reg & 0xff);
client           2122 drivers/hwmon/w83793.c static int w83793_write_value(struct i2c_client *client, u16 reg, u8 value)
client           2124 drivers/hwmon/w83793.c 	struct w83793_data *data = i2c_get_clientdata(client);
client           2130 drivers/hwmon/w83793.c 		res = i2c_smbus_write_byte_data(client, W83793_REG_BANKSEL,
client           2133 drivers/hwmon/w83793.c 			dev_err(&client->dev,
client           2142 drivers/hwmon/w83793.c 	res = i2c_smbus_write_byte_data(client, reg & 0xff, value);
client            393 drivers/hwmon/w83795.c static int w83795_set_bank(struct i2c_client *client, u8 bank)
client            395 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client            404 drivers/hwmon/w83795.c 	err = i2c_smbus_write_byte_data(client, W83795_REG_BANKSEL, bank);
client            406 drivers/hwmon/w83795.c 		dev_err(&client->dev,
client            417 drivers/hwmon/w83795.c static u8 w83795_read(struct i2c_client *client, u16 reg)
client            421 drivers/hwmon/w83795.c 	err = w83795_set_bank(client, reg >> 8);
client            425 drivers/hwmon/w83795.c 	err = i2c_smbus_read_byte_data(client, reg & 0xff);
client            427 drivers/hwmon/w83795.c 		dev_err(&client->dev,
client            436 drivers/hwmon/w83795.c static int w83795_write(struct i2c_client *client, u16 reg, u8 value)
client            440 drivers/hwmon/w83795.c 	err = w83795_set_bank(client, reg >> 8);
client            444 drivers/hwmon/w83795.c 	err = i2c_smbus_write_byte_data(client, reg & 0xff, value);
client            446 drivers/hwmon/w83795.c 		dev_err(&client->dev,
client            452 drivers/hwmon/w83795.c static void w83795_update_limits(struct i2c_client *client)
client            454 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client            463 drivers/hwmon/w83795.c 			w83795_read(client, W83795_REG_IN[i][IN_MAX]);
client            465 drivers/hwmon/w83795.c 			w83795_read(client, W83795_REG_IN[i][IN_LOW]);
client            472 drivers/hwmon/w83795.c 			w83795_read(client, IN_LSB_REG(i, IN_MAX));
client            474 drivers/hwmon/w83795.c 			w83795_read(client, IN_LSB_REG(i, IN_LOW));
client            485 drivers/hwmon/w83795.c 			lsb = w83795_read(client, W83795_REG_FAN_MIN_LSB(i));
client            490 drivers/hwmon/w83795.c 			w83795_read(client, W83795_REG_FAN_MIN_HL(i)) << 4;
client            501 drivers/hwmon/w83795.c 				w83795_read(client, W83795_REG_TEMP[i][limit]);
client            508 drivers/hwmon/w83795.c 				w83795_read(client, W83795_REG_DTS_EXT(limit));
client            515 drivers/hwmon/w83795.c 				w83795_read(client, W83795_REG_BEEP(i));
client            523 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client            524 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client            534 drivers/hwmon/w83795.c 		data->temp_src[i] = w83795_read(client, W83795_REG_TSS(i));
client            537 drivers/hwmon/w83795.c 	data->pwm_fcms[0] = w83795_read(client, W83795_REG_FCMS1);
client            538 drivers/hwmon/w83795.c 	data->pwm_fcms[1] = w83795_read(client, W83795_REG_FCMS2);
client            540 drivers/hwmon/w83795.c 		data->pwm_tfmr[i] = w83795_read(client, W83795_REG_TFMR(i));
client            541 drivers/hwmon/w83795.c 	data->pwm_fomc = w83795_read(client, W83795_REG_FOMC);
client            545 drivers/hwmon/w83795.c 				w83795_read(client, W83795_REG_PWM(i, tmp));
client            549 drivers/hwmon/w83795.c 			w83795_read(client, W83795_REG_FTSH(i)) << 4;
client            551 drivers/hwmon/w83795.c 			w83795_read(client, W83795_REG_FTSL(i)) >> 4;
client            553 drivers/hwmon/w83795.c 	data->tol_speed = w83795_read(client, W83795_REG_TFTS) & 0x3f;
client            557 drivers/hwmon/w83795.c 			w83795_read(client, W83795_REG_TTTI(i)) & 0x7f;
client            559 drivers/hwmon/w83795.c 			w83795_read(client, W83795_REG_CTFS(i));
client            560 drivers/hwmon/w83795.c 		tmp = w83795_read(client, W83795_REG_HT(i));
client            569 drivers/hwmon/w83795.c 				w83795_read(client,
client            572 drivers/hwmon/w83795.c 				w83795_read(client, W83795_REG_SF4_PWM(i, tmp));
client            579 drivers/hwmon/w83795.c 			w83795_read(client, W83795_REG_SETUP_PWM(i));
client            590 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client            591 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client            599 drivers/hwmon/w83795.c 		w83795_update_limits(client);
client            609 drivers/hwmon/w83795.c 		tmp = w83795_read(client, W83795_REG_IN[i][IN_READ]) << 2;
client            610 drivers/hwmon/w83795.c 		tmp |= w83795_read(client, W83795_REG_VRLSB) >> 6;
client            616 drivers/hwmon/w83795.c 		u8 lsb_max = w83795_read(client, IN_LSB_REG(0, IN_MAX));
client            617 drivers/hwmon/w83795.c 		u8 lsb_low = w83795_read(client, IN_LSB_REG(0, IN_LOW));
client            623 drivers/hwmon/w83795.c 				w83795_read(client, W83795_REG_IN[i][IN_MAX]);
client            625 drivers/hwmon/w83795.c 				w83795_read(client, W83795_REG_IN[i][IN_LOW]);
client            635 drivers/hwmon/w83795.c 		data->fan[i] = w83795_read(client, W83795_REG_FAN(i)) << 4;
client            636 drivers/hwmon/w83795.c 		data->fan[i] |= w83795_read(client, W83795_REG_VRLSB) >> 4;
client            642 drivers/hwmon/w83795.c 			w83795_read(client, W83795_REG_TEMP[i][TEMP_READ]);
client            644 drivers/hwmon/w83795.c 			w83795_read(client, W83795_REG_VRLSB);
client            653 drivers/hwmon/w83795.c 				w83795_read(client, W83795_REG_DTS(i));
client            655 drivers/hwmon/w83795.c 				w83795_read(client, W83795_REG_VRLSB);
client            662 drivers/hwmon/w83795.c 		    w83795_read(client, W83795_REG_PWM(i, PWM_OUTPUT));
client            670 drivers/hwmon/w83795.c 	tmp = w83795_read(client, W83795_REG_ALARM_CTRL);
client            673 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_ALARM_CTRL,
client            675 drivers/hwmon/w83795.c 	intrusion = w83795_read(client, W83795_REG_ALARM(5)) & (1 << 6);
client            677 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_ALARM_CTRL, tmp | ALARM_CTRL_RTSACS);
client            679 drivers/hwmon/w83795.c 		data->alarms[i] = w83795_read(client, W83795_REG_ALARM(i));
client            683 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_ALARM_CTRL,
client            723 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client            724 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client            738 drivers/hwmon/w83795.c 	data->beeps[index] = w83795_read(client, W83795_REG_BEEP(index));
client            741 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_BEEP(index), data->beeps[index]);
client            753 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client            754 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client            761 drivers/hwmon/w83795.c 	val = w83795_read(client, W83795_REG_CLR_CHASSIS);
client            763 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_CLR_CHASSIS, val);
client            766 drivers/hwmon/w83795.c 	w83795_read(client, W83795_REG_ALARM(5));
client            799 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client            800 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client            809 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_FAN_MIN_HL(index), (val >> 4) & 0xff);
client            813 drivers/hwmon/w83795.c 		val |= w83795_read(client, W83795_REG_FAN_MIN_LSB(index))
client            816 drivers/hwmon/w83795.c 		val |= w83795_read(client, W83795_REG_FAN_MIN_LSB(index))
client            819 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_FAN_MIN_LSB(index), val & 0xff);
client            857 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client            858 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client            880 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_PWM(index, nr), val);
client            918 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client            944 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_FCMS1, data->pwm_fcms[0]);
client            948 drivers/hwmon/w83795.c 			w83795_write(client, W83795_REG_TFMR(i),
client            954 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_FCMS1, data->pwm_fcms[0]);
client           1022 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client           1051 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_TSS(val), data->temp_src[val]);
client           1090 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client           1109 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_FCMS2, data->pwm_fcms[1]);
client           1115 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_TFMR(index), tmp);
client           1151 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client           1152 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client           1166 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_FTSH(index), val >> 4);
client           1167 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_FTSL(index), (val << 4) & 0xf0);
client           1172 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_TFTS, val);
client           1199 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client           1200 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client           1216 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_TTTI(index), val);
client           1220 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_CTFS(index), val);
client           1224 drivers/hwmon/w83795.c 		tmp = w83795_read(client, W83795_REG_HT(index));
client           1227 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_HT(index), tmp);
client           1231 drivers/hwmon/w83795.c 		tmp = w83795_read(client, W83795_REG_HT(index));
client           1234 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_HT(index), tmp);
client           1259 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client           1260 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client           1271 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_SF4_PWM(index, nr), val);
client           1295 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client           1296 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client           1308 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_SF4_TEMP(index, nr), val);
client           1339 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client           1340 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client           1348 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_TEMP[index][nr], data->temp[index][nr]);
client           1400 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client           1401 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client           1409 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_DTS_EXT(nr), data->dts_ext[nr]);
client           1437 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client           1438 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client           1463 drivers/hwmon/w83795.c 	tmp = w83795_read(client, W83795_REG_TEMP_CTRL2);
client           1466 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_TEMP_CTRL2, tmp);
client           1516 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client           1517 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client           1533 drivers/hwmon/w83795.c 	tmp = w83795_read(client, IN_LSB_REG(lsb_idx, nr));
client           1536 drivers/hwmon/w83795.c 	w83795_write(client, IN_LSB_REG(lsb_idx, nr), tmp);
client           1540 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_IN[index][nr], tmp);
client           1575 drivers/hwmon/w83795.c 	struct i2c_client *client = to_i2c_client(dev);
client           1576 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client           1596 drivers/hwmon/w83795.c 	w83795_write(client, W83795_REG_SETUP_PWM(nr), val);
client           1856 drivers/hwmon/w83795.c static void w83795_init_client(struct i2c_client *client)
client           1858 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client           1865 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_CONFIG, 0x80);
client           1868 drivers/hwmon/w83795.c 	config = w83795_read(client, W83795_REG_CONFIG);
client           1870 drivers/hwmon/w83795.c 		dev_info(&client->dev, "Enabling monitoring operations\n");
client           1871 drivers/hwmon/w83795.c 		w83795_write(client, W83795_REG_CONFIG,
client           1876 drivers/hwmon/w83795.c 	dev_dbg(&client->dev, "clkin = %u kHz\n", data->clkin);
client           1879 drivers/hwmon/w83795.c static int w83795_get_device_id(struct i2c_client *client)
client           1883 drivers/hwmon/w83795.c 	device_id = i2c_smbus_read_byte_data(client, W83795_REG_DEVICEID);
client           1892 drivers/hwmon/w83795.c 		alt_id = i2c_smbus_read_byte_data(client,
client           1902 drivers/hwmon/w83795.c static int w83795_detect(struct i2c_client *client,
client           1906 drivers/hwmon/w83795.c 	struct i2c_adapter *adapter = client->adapter;
client           1907 drivers/hwmon/w83795.c 	unsigned short address = client->addr;
client           1912 drivers/hwmon/w83795.c 	bank = i2c_smbus_read_byte_data(client, W83795_REG_BANKSEL);
client           1921 drivers/hwmon/w83795.c 	vendor_id = i2c_smbus_read_byte_data(client, W83795_REG_VENDORID);
client           1931 drivers/hwmon/w83795.c 	device_id = w83795_get_device_id(client) |
client           1932 drivers/hwmon/w83795.c 		    (i2c_smbus_read_byte_data(client, W83795_REG_CHIPID) << 8);
client           1945 drivers/hwmon/w83795.c 		i2c_addr = i2c_smbus_read_byte_data(client,
client           1962 drivers/hwmon/w83795.c 		i2c_smbus_write_byte_data(client, W83795_REG_BANKSEL,
client           1964 drivers/hwmon/w83795.c 	config = i2c_smbus_read_byte_data(client, W83795_REG_CONFIG);
client           2083 drivers/hwmon/w83795.c static void w83795_check_dynamic_in_limits(struct i2c_client *client)
client           2085 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client           2089 drivers/hwmon/w83795.c 	vid_ctl = w83795_read(client, W83795_REG_VID_CTRL);
client           2101 drivers/hwmon/w83795.c 		err_max = sysfs_chmod_file(&client->dev.kobj,
client           2104 drivers/hwmon/w83795.c 		err_min = sysfs_chmod_file(&client->dev.kobj,
client           2108 drivers/hwmon/w83795.c 			dev_warn(&client->dev,
client           2112 drivers/hwmon/w83795.c 			dev_info(&client->dev,
client           2137 drivers/hwmon/w83795.c static int w83795_probe(struct i2c_client *client,
client           2142 drivers/hwmon/w83795.c 	struct device *dev = &client->dev;
client           2150 drivers/hwmon/w83795.c 	i2c_set_clientdata(client, data);
client           2152 drivers/hwmon/w83795.c 	data->bank = i2c_smbus_read_byte_data(client, W83795_REG_BANKSEL);
client           2156 drivers/hwmon/w83795.c 	w83795_init_client(client);
client           2159 drivers/hwmon/w83795.c 	data->has_in = w83795_read(client, W83795_REG_VOLT_CTRL1)
client           2160 drivers/hwmon/w83795.c 		     | (w83795_read(client, W83795_REG_VOLT_CTRL2) << 8);
client           2161 drivers/hwmon/w83795.c 	data->has_fan = w83795_read(client, W83795_REG_FANIN_CTRL1)
client           2162 drivers/hwmon/w83795.c 		      | (w83795_read(client, W83795_REG_FANIN_CTRL2) << 8);
client           2165 drivers/hwmon/w83795.c 	tmp = w83795_read(client, W83795_REG_TEMP_CTRL1);
client           2170 drivers/hwmon/w83795.c 	tmp = w83795_read(client, W83795_REG_TEMP_CTRL2);
client           2178 drivers/hwmon/w83795.c 		if (1 & w83795_read(client, W83795_REG_DTSC))
client           2180 drivers/hwmon/w83795.c 		data->has_dts = w83795_read(client, W83795_REG_DTSE);
client           2188 drivers/hwmon/w83795.c 			tmp = w83795_read(client, W83795_REG_PECI_TBASE(i));
client           2189 drivers/hwmon/w83795.c 			dev_info(&client->dev,
client           2195 drivers/hwmon/w83795.c 	data->has_gain = w83795_read(client, W83795_REG_VMIGB_CTRL) & 0x0f;
client           2212 drivers/hwmon/w83795.c 		tmp = w83795_read(client, W83795_REG_OVT_CFG);
client           2222 drivers/hwmon/w83795.c 		w83795_check_dynamic_in_limits(client);
client           2237 drivers/hwmon/w83795.c static int w83795_remove(struct i2c_client *client)
client           2239 drivers/hwmon/w83795.c 	struct w83795_data *data = i2c_get_clientdata(client);
client           2242 drivers/hwmon/w83795.c 	w83795_handle_files(&client->dev, device_remove_file_wrapper);
client             65 drivers/hwmon/w83l785ts.c static int w83l785ts_probe(struct i2c_client *client,
client             67 drivers/hwmon/w83l785ts.c static int w83l785ts_detect(struct i2c_client *client,
client             69 drivers/hwmon/w83l785ts.c static int w83l785ts_remove(struct i2c_client *client);
client             70 drivers/hwmon/w83l785ts.c static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval);
client            129 drivers/hwmon/w83l785ts.c static int w83l785ts_detect(struct i2c_client *client,
client            132 drivers/hwmon/w83l785ts.c 	struct i2c_adapter *adapter = client->adapter;
client            140 drivers/hwmon/w83l785ts.c 	if ((w83l785ts_read_value(client, W83L785TS_REG_CONFIG, 0) & 0x80)
client            141 drivers/hwmon/w83l785ts.c 	 || (w83l785ts_read_value(client, W83L785TS_REG_TYPE, 0) & 0xFC)) {
client            144 drivers/hwmon/w83l785ts.c 			client->addr);
client            149 drivers/hwmon/w83l785ts.c 	man_id = (w83l785ts_read_value(client, W83L785TS_REG_MAN_ID1, 0) << 8)
client            150 drivers/hwmon/w83l785ts.c 	       + w83l785ts_read_value(client, W83L785TS_REG_MAN_ID2, 0);
client            151 drivers/hwmon/w83l785ts.c 	chip_id = w83l785ts_read_value(client, W83L785TS_REG_CHIP_ID, 0);
client            166 drivers/hwmon/w83l785ts.c static int w83l785ts_probe(struct i2c_client *client,
client            170 drivers/hwmon/w83l785ts.c 	struct device *dev = &client->dev;
client            177 drivers/hwmon/w83l785ts.c 	i2c_set_clientdata(client, data);
client            208 drivers/hwmon/w83l785ts.c static int w83l785ts_remove(struct i2c_client *client)
client            210 drivers/hwmon/w83l785ts.c 	struct w83l785ts_data *data = i2c_get_clientdata(client);
client            213 drivers/hwmon/w83l785ts.c 	device_remove_file(&client->dev,
client            215 drivers/hwmon/w83l785ts.c 	device_remove_file(&client->dev,
client            221 drivers/hwmon/w83l785ts.c static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval)
client            231 drivers/hwmon/w83l785ts.c 	if (i2c_get_clientdata(client)) {
client            232 drivers/hwmon/w83l785ts.c 		dev = &client->dev;
client            235 drivers/hwmon/w83l785ts.c 		dev = &client->adapter->dev;
client            245 drivers/hwmon/w83l785ts.c 		value = i2c_smbus_read_byte_data(client, reg);
client            262 drivers/hwmon/w83l785ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            263 drivers/hwmon/w83l785ts.c 	struct w83l785ts_data *data = i2c_get_clientdata(client);
client            268 drivers/hwmon/w83l785ts.c 		dev_dbg(&client->dev, "Updating w83l785ts data.\n");
client            269 drivers/hwmon/w83l785ts.c 		data->temp[0] = w83l785ts_read_value(client,
client            271 drivers/hwmon/w83l785ts.c 		data->temp[1] = w83l785ts_read_value(client,
client            114 drivers/hwmon/w83l786ng.c 	struct i2c_client *client;
client            139 drivers/hwmon/w83l786ng.c w83l786ng_read_value(struct i2c_client *client, u8 reg)
client            141 drivers/hwmon/w83l786ng.c 	return i2c_smbus_read_byte_data(client, reg);
client            145 drivers/hwmon/w83l786ng.c w83l786ng_write_value(struct i2c_client *client, u8 reg, u8 value)
client            147 drivers/hwmon/w83l786ng.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            153 drivers/hwmon/w83l786ng.c 	struct i2c_client *client = data->client;
client            160 drivers/hwmon/w83l786ng.c 		dev_dbg(&client->dev, "Updating w83l786ng data.\n");
client            164 drivers/hwmon/w83l786ng.c 			data->in[i] = w83l786ng_read_value(client,
client            166 drivers/hwmon/w83l786ng.c 			data->in_min[i] = w83l786ng_read_value(client,
client            168 drivers/hwmon/w83l786ng.c 			data->in_max[i] = w83l786ng_read_value(client,
client            174 drivers/hwmon/w83l786ng.c 			data->fan[i] = w83l786ng_read_value(client,
client            176 drivers/hwmon/w83l786ng.c 			data->fan_min[i] = w83l786ng_read_value(client,
client            181 drivers/hwmon/w83l786ng.c 		reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_FAN_DIV);
client            185 drivers/hwmon/w83l786ng.c 		pwmcfg = w83l786ng_read_value(client, W83L786NG_REG_FAN_CFG);
client            193 drivers/hwmon/w83l786ng.c 			    (w83l786ng_read_value(client, W83L786NG_REG_PWM[i])
client            201 drivers/hwmon/w83l786ng.c 				data->temp[i][j] = w83l786ng_read_value(client,
client            207 drivers/hwmon/w83l786ng.c 		reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_TOLERANCE);
client            243 drivers/hwmon/w83l786ng.c 	struct i2c_client *client = data->client; \
client            250 drivers/hwmon/w83l786ng.c 	w83l786ng_write_value(client, W83L786NG_REG_IN_##REG(nr), \
client            296 drivers/hwmon/w83l786ng.c 	struct i2c_client *client = data->client;
client            306 drivers/hwmon/w83l786ng.c 	w83l786ng_write_value(client, W83L786NG_REG_FAN_MIN(nr),
client            334 drivers/hwmon/w83l786ng.c 	struct i2c_client *client = data->client;
client            366 drivers/hwmon/w83l786ng.c 	fan_div_reg = w83l786ng_read_value(client, W83L786NG_REG_FAN_DIV)
client            371 drivers/hwmon/w83l786ng.c 	w83l786ng_write_value(client, W83L786NG_REG_FAN_DIV,
client            376 drivers/hwmon/w83l786ng.c 	w83l786ng_write_value(client, W83L786NG_REG_FAN_MIN(nr),
client            425 drivers/hwmon/w83l786ng.c 	struct i2c_client *client = data->client;
client            435 drivers/hwmon/w83l786ng.c 	w83l786ng_write_value(client, W83L786NG_REG_TEMP[nr][index],
client            480 drivers/hwmon/w83l786ng.c 	struct i2c_client *client = data->client;
client            493 drivers/hwmon/w83l786ng.c 	reg = w83l786ng_read_value(client, W83L786NG_REG_FAN_CFG);
client            497 drivers/hwmon/w83l786ng.c 	w83l786ng_write_value(client, W83L786NG_REG_FAN_CFG, reg);
client            508 drivers/hwmon/w83l786ng.c 	struct i2c_client *client = data->client;
client            520 drivers/hwmon/w83l786ng.c 	val |= w83l786ng_read_value(client, W83L786NG_REG_PWM[nr]) & 0xf0;
client            521 drivers/hwmon/w83l786ng.c 	w83l786ng_write_value(client, W83L786NG_REG_PWM[nr], val);
client            532 drivers/hwmon/w83l786ng.c 	struct i2c_client *client = data->client;
client            545 drivers/hwmon/w83l786ng.c 	reg = w83l786ng_read_value(client, W83L786NG_REG_FAN_CFG);
client            549 drivers/hwmon/w83l786ng.c 	w83l786ng_write_value(client, W83L786NG_REG_FAN_CFG, reg);
client            588 drivers/hwmon/w83l786ng.c 	struct i2c_client *client = data->client;
client            598 drivers/hwmon/w83l786ng.c 	tol_mask = w83l786ng_read_value(client,
client            606 drivers/hwmon/w83l786ng.c 	w83l786ng_write_value(client, W83L786NG_REG_TOLERANCE,
client            661 drivers/hwmon/w83l786ng.c w83l786ng_detect(struct i2c_client *client, struct i2c_board_info *info)
client            663 drivers/hwmon/w83l786ng.c 	struct i2c_adapter *adapter = client->adapter;
client            671 drivers/hwmon/w83l786ng.c 	if ((w83l786ng_read_value(client, W83L786NG_REG_CONFIG) & 0x80)) {
client            673 drivers/hwmon/w83l786ng.c 			client->addr);
client            678 drivers/hwmon/w83l786ng.c 	man_id = (w83l786ng_read_value(client, W83L786NG_REG_MAN_ID1) << 8) +
client            679 drivers/hwmon/w83l786ng.c 		 w83l786ng_read_value(client, W83L786NG_REG_MAN_ID2);
client            680 drivers/hwmon/w83l786ng.c 	chip_id = w83l786ng_read_value(client, W83L786NG_REG_CHIP_ID);
client            695 drivers/hwmon/w83l786ng.c static void w83l786ng_init_client(struct i2c_client *client)
client            700 drivers/hwmon/w83l786ng.c 		w83l786ng_write_value(client, W83L786NG_REG_CONFIG, 0x80);
client            703 drivers/hwmon/w83l786ng.c 	tmp = w83l786ng_read_value(client, W83L786NG_REG_CONFIG);
client            705 drivers/hwmon/w83l786ng.c 		w83l786ng_write_value(client, W83L786NG_REG_CONFIG, tmp | 0x01);
client            709 drivers/hwmon/w83l786ng.c w83l786ng_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            711 drivers/hwmon/w83l786ng.c 	struct device *dev = &client->dev;
client            721 drivers/hwmon/w83l786ng.c 	data->client = client;
client            725 drivers/hwmon/w83l786ng.c 	w83l786ng_init_client(client);
client            729 drivers/hwmon/w83l786ng.c 		data->fan_min[i] = w83l786ng_read_value(client,
client            734 drivers/hwmon/w83l786ng.c 	reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_FAN_DIV);
client            738 drivers/hwmon/w83l786ng.c 	hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name,
client            740 drivers/i2c/busses/i2c-aspeed.c static int aspeed_i2c_reg_slave(struct i2c_client *client)
client            742 drivers/i2c/busses/i2c-aspeed.c 	struct aspeed_i2c_bus *bus = i2c_get_adapdata(client->adapter);
client            751 drivers/i2c/busses/i2c-aspeed.c 	__aspeed_i2c_reg_slave(bus, client->addr);
client            753 drivers/i2c/busses/i2c-aspeed.c 	bus->slave = client;
client            760 drivers/i2c/busses/i2c-aspeed.c static int aspeed_i2c_unreg_slave(struct i2c_client *client)
client            762 drivers/i2c/busses/i2c-aspeed.c 	struct aspeed_i2c_bus *bus = i2c_get_adapdata(client->adapter);
client             47 drivers/i2c/busses/i2c-cht-wc.c 	struct i2c_client *client;
client            391 drivers/i2c/busses/i2c-cht-wc.c 		adap->client = i2c_new_device(&adap->adapter, &board_info);
client            392 drivers/i2c/busses/i2c-cht-wc.c 		if (!adap->client) {
client            412 drivers/i2c/busses/i2c-cht-wc.c 	i2c_unregister_device(adap->client);
client            193 drivers/i2c/busses/i2c-st.c 	struct st_i2c_client	client;
client            414 drivers/i2c/busses/i2c-st.c 	struct st_i2c_client *c = &i2c_dev->client;
client            444 drivers/i2c/busses/i2c-st.c 	struct st_i2c_client *c = &i2c_dev->client;
client            466 drivers/i2c/busses/i2c-st.c 	struct st_i2c_client *c = &i2c_dev->client;
client            495 drivers/i2c/busses/i2c-st.c 	struct st_i2c_client *c = &i2c_dev->client;
client            515 drivers/i2c/busses/i2c-st.c 	struct st_i2c_client *c = &i2c_dev->client;
client            532 drivers/i2c/busses/i2c-st.c 	struct st_i2c_client *c = &i2c_dev->client;
client            568 drivers/i2c/busses/i2c-st.c 	struct st_i2c_client *c = &i2c_dev->client;
client            648 drivers/i2c/busses/i2c-st.c 	struct st_i2c_client *c = &i2c_dev->client;
client             34 drivers/i2c/busses/i2c-taos-evm.c 	struct i2c_client *client;
client            262 drivers/i2c/busses/i2c-taos-evm.c 	taos->client = taos_instantiate_device(adapter);
client            277 drivers/i2c/busses/i2c-taos-evm.c 	i2c_unregister_device(taos->client);
client            155 drivers/i2c/i2c-core-acpi.c int i2c_acpi_get_irq(struct i2c_client *client)
client            157 drivers/i2c/i2c-core-acpi.c 	struct acpi_device *adev = ACPI_COMPANION(&client->dev);
client            281 drivers/i2c/i2c-core-acpi.c 		      struct i2c_client *client)
client            283 drivers/i2c/i2c-core-acpi.c 	if (!(client && matches))
client            286 drivers/i2c/i2c-core-acpi.c 	return acpi_match_device(matches, &client->dev);
client            397 drivers/i2c/i2c-core-acpi.c 	struct i2c_client *client;
client            403 drivers/i2c/i2c-core-acpi.c 	client = i2c_verify_client(dev);
client            404 drivers/i2c/i2c-core-acpi.c 	if (!client)
client            407 drivers/i2c/i2c-core-acpi.c 	return client;
client            417 drivers/i2c/i2c-core-acpi.c 	struct i2c_client *client;
client            434 drivers/i2c/i2c-core-acpi.c 		client = i2c_acpi_find_client_by_adev(adev);
client            435 drivers/i2c/i2c-core-acpi.c 		if (!client)
client            438 drivers/i2c/i2c-core-acpi.c 		i2c_unregister_device(client);
client            439 drivers/i2c/i2c-core-acpi.c 		put_device(&client->dev);
client            472 drivers/i2c/i2c-core-acpi.c 	struct i2c_client *client;
client            500 drivers/i2c/i2c-core-acpi.c 	client = i2c_new_device(adapter, info);
client            501 drivers/i2c/i2c-core-acpi.c 	if (!client)
client            504 drivers/i2c/i2c-core-acpi.c 	return client;
client            509 drivers/i2c/i2c-core-acpi.c static int acpi_gsb_i2c_read_bytes(struct i2c_client *client,
client            521 drivers/i2c/i2c-core-acpi.c 	msgs[0].addr = client->addr;
client            522 drivers/i2c/i2c-core-acpi.c 	msgs[0].flags = client->flags;
client            526 drivers/i2c/i2c-core-acpi.c 	msgs[1].addr = client->addr;
client            527 drivers/i2c/i2c-core-acpi.c 	msgs[1].flags = client->flags | I2C_M_RD;
client            531 drivers/i2c/i2c-core-acpi.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            535 drivers/i2c/i2c-core-acpi.c 			dev_dbg(&client->adapter->dev, "i2c read %d bytes from client@%#x starting at reg %#x failed, error: %d\n",
client            536 drivers/i2c/i2c-core-acpi.c 				data_len, client->addr, cmd, ret);
client            538 drivers/i2c/i2c-core-acpi.c 			dev_err(&client->adapter->dev, "i2c read %d bytes from client@%#x starting at reg %#x failed, error: %d\n",
client            539 drivers/i2c/i2c-core-acpi.c 				data_len, client->addr, cmd, ret);
client            552 drivers/i2c/i2c-core-acpi.c static int acpi_gsb_i2c_write_bytes(struct i2c_client *client,
client            567 drivers/i2c/i2c-core-acpi.c 	msgs[0].addr = client->addr;
client            568 drivers/i2c/i2c-core-acpi.c 	msgs[0].flags = client->flags;
client            572 drivers/i2c/i2c-core-acpi.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            577 drivers/i2c/i2c-core-acpi.c 		dev_err(&client->adapter->dev, "i2c write failed: %d\n", ret);
client            595 drivers/i2c/i2c-core-acpi.c 	struct i2c_client *client;
client            606 drivers/i2c/i2c-core-acpi.c 	client = kzalloc(sizeof(*client), GFP_KERNEL);
client            607 drivers/i2c/i2c-core-acpi.c 	if (!client) {
client            617 drivers/i2c/i2c-core-acpi.c 	client->adapter = adapter;
client            618 drivers/i2c/i2c-core-acpi.c 	client->addr = sb->slave_address;
client            621 drivers/i2c/i2c-core-acpi.c 		client->flags |= I2C_CLIENT_TEN;
client            626 drivers/i2c/i2c-core-acpi.c 			status = i2c_smbus_read_byte(client);
client            632 drivers/i2c/i2c-core-acpi.c 			status = i2c_smbus_write_byte(client, gsb->bdata);
client            638 drivers/i2c/i2c-core-acpi.c 			status = i2c_smbus_read_byte_data(client, command);
client            644 drivers/i2c/i2c-core-acpi.c 			status = i2c_smbus_write_byte_data(client, command,
client            651 drivers/i2c/i2c-core-acpi.c 			status = i2c_smbus_read_word_data(client, command);
client            657 drivers/i2c/i2c-core-acpi.c 			status = i2c_smbus_write_word_data(client, command,
client            664 drivers/i2c/i2c-core-acpi.c 			status = i2c_smbus_read_block_data(client, command,
client            671 drivers/i2c/i2c-core-acpi.c 			status = i2c_smbus_write_block_data(client, command,
client            678 drivers/i2c/i2c-core-acpi.c 			status = acpi_gsb_i2c_read_bytes(client, command,
client            681 drivers/i2c/i2c-core-acpi.c 			status = acpi_gsb_i2c_write_bytes(client, command,
client            688 drivers/i2c/i2c-core-acpi.c 			 accessor_type, client->addr);
client            696 drivers/i2c/i2c-core-acpi.c 	kfree(client);
client             79 drivers/i2c/i2c-core-base.c 						const struct i2c_client *client)
client             81 drivers/i2c/i2c-core-base.c 	if (!(id && client))
client             85 drivers/i2c/i2c-core-base.c 		if (strcmp(client->name, id->name) == 0)
client             95 drivers/i2c/i2c-core-base.c 	struct i2c_client	*client = i2c_verify_client(dev);
client            100 drivers/i2c/i2c-core-base.c 	if (i2c_of_match_device(drv->of_match_table, client))
client            110 drivers/i2c/i2c-core-base.c 	if (i2c_match_id(driver->id_table, client))
client            118 drivers/i2c/i2c-core-base.c 	struct i2c_client *client = to_i2c_client(dev);
client            129 drivers/i2c/i2c-core-base.c 	return add_uevent_var(env, "MODALIAS=%s%s", I2C_MODULE_PREFIX, client->name);
client            297 drivers/i2c/i2c-core-base.c static int i2c_smbus_host_notify_to_irq(const struct i2c_client *client)
client            299 drivers/i2c/i2c-core-base.c 	struct i2c_adapter *adap = client->adapter;
client            305 drivers/i2c/i2c-core-base.c 	if (client->flags & I2C_CLIENT_TEN)
client            308 drivers/i2c/i2c-core-base.c 	irq = irq_create_mapping(adap->host_notify_domain, client->addr);
client            315 drivers/i2c/i2c-core-base.c 	struct i2c_client	*client = i2c_verify_client(dev);
client            319 drivers/i2c/i2c-core-base.c 	if (!client)
client            324 drivers/i2c/i2c-core-base.c 	client->irq = client->init_irq;
client            326 drivers/i2c/i2c-core-base.c 	if (!client->irq && !driver->disable_i2c_core_irq_mapping) {
client            329 drivers/i2c/i2c-core-base.c 		if (client->flags & I2C_CLIENT_HOST_NOTIFY) {
client            332 drivers/i2c/i2c-core-base.c 			pm_runtime_get_sync(&client->adapter->dev);
client            333 drivers/i2c/i2c-core-base.c 			irq = i2c_smbus_host_notify_to_irq(client);
client            339 drivers/i2c/i2c-core-base.c 			irq = i2c_acpi_get_irq(client);
client            349 drivers/i2c/i2c-core-base.c 		client->irq = irq;
client            357 drivers/i2c/i2c-core-base.c 	    !i2c_acpi_match_device(dev->driver->acpi_match_table, client) &&
client            358 drivers/i2c/i2c-core-base.c 	    !i2c_of_match_device(dev->driver->of_match_table, client)) {
client            363 drivers/i2c/i2c-core-base.c 	if (client->flags & I2C_CLIENT_WAKE) {
client            372 drivers/i2c/i2c-core-base.c 		device_init_wakeup(&client->dev, true);
client            374 drivers/i2c/i2c-core-base.c 		if (wakeirq > 0 && wakeirq != client->irq)
client            376 drivers/i2c/i2c-core-base.c 		else if (client->irq > 0)
client            377 drivers/i2c/i2c-core-base.c 			status = dev_pm_set_wake_irq(dev, client->irq);
client            382 drivers/i2c/i2c-core-base.c 			dev_warn(&client->dev, "failed to set up wakeup irq\n");
client            391 drivers/i2c/i2c-core-base.c 	status = dev_pm_domain_attach(&client->dev, true);
client            400 drivers/i2c/i2c-core-base.c 		status = driver->probe_new(client);
client            402 drivers/i2c/i2c-core-base.c 		status = driver->probe(client,
client            403 drivers/i2c/i2c-core-base.c 				       i2c_match_id(driver->id_table, client));
client            413 drivers/i2c/i2c-core-base.c 	dev_pm_domain_detach(&client->dev, true);
client            415 drivers/i2c/i2c-core-base.c 	dev_pm_clear_wake_irq(&client->dev);
client            416 drivers/i2c/i2c-core-base.c 	device_init_wakeup(&client->dev, false);
client            418 drivers/i2c/i2c-core-base.c 	if (client->flags & I2C_CLIENT_HOST_NOTIFY)
client            419 drivers/i2c/i2c-core-base.c 		pm_runtime_put_sync(&client->adapter->dev);
client            426 drivers/i2c/i2c-core-base.c 	struct i2c_client	*client = i2c_verify_client(dev);
client            430 drivers/i2c/i2c-core-base.c 	if (!client || !dev->driver)
client            436 drivers/i2c/i2c-core-base.c 		status = driver->remove(client);
client            439 drivers/i2c/i2c-core-base.c 	dev_pm_domain_detach(&client->dev, true);
client            441 drivers/i2c/i2c-core-base.c 	dev_pm_clear_wake_irq(&client->dev);
client            442 drivers/i2c/i2c-core-base.c 	device_init_wakeup(&client->dev, false);
client            444 drivers/i2c/i2c-core-base.c 	client->irq = 0;
client            445 drivers/i2c/i2c-core-base.c 	if (client->flags & I2C_CLIENT_HOST_NOTIFY)
client            446 drivers/i2c/i2c-core-base.c 		pm_runtime_put(&client->adapter->dev);
client            453 drivers/i2c/i2c-core-base.c 	struct i2c_client *client = i2c_verify_client(dev);
client            456 drivers/i2c/i2c-core-base.c 	if (!client || !dev->driver)
client            460 drivers/i2c/i2c-core-base.c 		driver->shutdown(client);
client            479 drivers/i2c/i2c-core-base.c 	struct i2c_client *client = to_i2c_client(dev);
client            490 drivers/i2c/i2c-core-base.c 	return sprintf(buf, "%s%s\n", I2C_MODULE_PREFIX, client->name);
client            538 drivers/i2c/i2c-core-base.c static unsigned short i2c_encode_flags_to_addr(struct i2c_client *client)
client            540 drivers/i2c/i2c-core-base.c 	unsigned short addr = client->addr;
client            543 drivers/i2c/i2c-core-base.c 	if (client->flags & I2C_CLIENT_TEN)
client            546 drivers/i2c/i2c-core-base.c 	if (client->flags & I2C_CLIENT_SLAVE)
client            591 drivers/i2c/i2c-core-base.c 	struct i2c_client	*client = i2c_verify_client(dev);
client            594 drivers/i2c/i2c-core-base.c 	if (client && i2c_encode_flags_to_addr(client) == addr)
client            680 drivers/i2c/i2c-core-base.c 			     struct i2c_client *client,
client            683 drivers/i2c/i2c-core-base.c 	struct acpi_device *adev = ACPI_COMPANION(&client->dev);
client            686 drivers/i2c/i2c-core-base.c 		dev_set_name(&client->dev, "i2c-%s", info->dev_name);
client            691 drivers/i2c/i2c-core-base.c 		dev_set_name(&client->dev, "i2c-%s", acpi_dev_name(adev));
client            695 drivers/i2c/i2c-core-base.c 	dev_set_name(&client->dev, "%d-%04x", i2c_adapter_id(adap),
client            696 drivers/i2c/i2c-core-base.c 		     i2c_encode_flags_to_addr(client));
client            744 drivers/i2c/i2c-core-base.c 	struct i2c_client	*client;
client            747 drivers/i2c/i2c-core-base.c 	client = kzalloc(sizeof *client, GFP_KERNEL);
client            748 drivers/i2c/i2c-core-base.c 	if (!client)
client            751 drivers/i2c/i2c-core-base.c 	client->adapter = adap;
client            753 drivers/i2c/i2c-core-base.c 	client->dev.platform_data = info->platform_data;
client            754 drivers/i2c/i2c-core-base.c 	client->flags = info->flags;
client            755 drivers/i2c/i2c-core-base.c 	client->addr = info->addr;
client            757 drivers/i2c/i2c-core-base.c 	client->init_irq = info->irq;
client            758 drivers/i2c/i2c-core-base.c 	if (!client->init_irq)
client            759 drivers/i2c/i2c-core-base.c 		client->init_irq = i2c_dev_irq_from_resources(info->resources,
client            762 drivers/i2c/i2c-core-base.c 	strlcpy(client->name, info->type, sizeof(client->name));
client            764 drivers/i2c/i2c-core-base.c 	status = i2c_check_addr_validity(client->addr, client->flags);
client            767 drivers/i2c/i2c-core-base.c 			client->flags & I2C_CLIENT_TEN ? 10 : 7, client->addr);
client            772 drivers/i2c/i2c-core-base.c 	status = i2c_check_addr_busy(adap, i2c_encode_flags_to_addr(client));
client            776 drivers/i2c/i2c-core-base.c 	client->dev.parent = &client->adapter->dev;
client            777 drivers/i2c/i2c-core-base.c 	client->dev.bus = &i2c_bus_type;
client            778 drivers/i2c/i2c-core-base.c 	client->dev.type = &i2c_client_type;
client            779 drivers/i2c/i2c-core-base.c 	client->dev.of_node = of_node_get(info->of_node);
client            780 drivers/i2c/i2c-core-base.c 	client->dev.fwnode = info->fwnode;
client            782 drivers/i2c/i2c-core-base.c 	i2c_dev_set_name(adap, client, info);
client            785 drivers/i2c/i2c-core-base.c 		status = device_add_properties(&client->dev, info->properties);
client            789 drivers/i2c/i2c-core-base.c 				client->name, status);
client            794 drivers/i2c/i2c-core-base.c 	status = device_register(&client->dev);
client            799 drivers/i2c/i2c-core-base.c 		client->name, dev_name(&client->dev));
client            801 drivers/i2c/i2c-core-base.c 	return client;
client            805 drivers/i2c/i2c-core-base.c 		device_remove_properties(&client->dev);
client            811 drivers/i2c/i2c-core-base.c 		client->name, client->addr, status);
client            813 drivers/i2c/i2c-core-base.c 	kfree(client);
client            848 drivers/i2c/i2c-core-base.c void i2c_unregister_device(struct i2c_client *client)
client            850 drivers/i2c/i2c-core-base.c 	if (IS_ERR_OR_NULL(client))
client            853 drivers/i2c/i2c-core-base.c 	if (client->dev.of_node) {
client            854 drivers/i2c/i2c-core-base.c 		of_node_clear_flag(client->dev.of_node, OF_POPULATED);
client            855 drivers/i2c/i2c-core-base.c 		of_node_put(client->dev.of_node);
client            858 drivers/i2c/i2c-core-base.c 	if (ACPI_COMPANION(&client->dev))
client            859 drivers/i2c/i2c-core-base.c 		acpi_device_clear_enumerated(ACPI_COMPANION(&client->dev));
client            860 drivers/i2c/i2c-core-base.c 	device_unregister(&client->dev);
client            870 drivers/i2c/i2c-core-base.c static int dummy_probe(struct i2c_client *client,
client            876 drivers/i2c/i2c-core-base.c static int dummy_remove(struct i2c_client *client)
client            940 drivers/i2c/i2c-core-base.c 	struct i2c_client *client;
client            947 drivers/i2c/i2c-core-base.c 	i2c_unregister_device(this->client);
client            965 drivers/i2c/i2c-core-base.c 	struct i2c_client *client;
client            971 drivers/i2c/i2c-core-base.c 	client = i2c_new_dummy_device(adapter, address);
client            972 drivers/i2c/i2c-core-base.c 	if (IS_ERR(client)) {
client            975 drivers/i2c/i2c-core-base.c 		dr->client = client;
client            979 drivers/i2c/i2c-core-base.c 	return client;
client           1005 drivers/i2c/i2c-core-base.c struct i2c_client *i2c_new_ancillary_device(struct i2c_client *client,
client           1009 drivers/i2c/i2c-core-base.c 	struct device_node *np = client->dev.of_node;
client           1019 drivers/i2c/i2c-core-base.c 	dev_dbg(&client->adapter->dev, "Address for %s : 0x%x\n", name, addr);
client           1020 drivers/i2c/i2c-core-base.c 	return i2c_new_dummy_device(client->adapter, addr);
client           1064 drivers/i2c/i2c-core-base.c 	struct i2c_client *client;
client           1102 drivers/i2c/i2c-core-base.c 	client = i2c_new_client_device(adap, &info);
client           1103 drivers/i2c/i2c-core-base.c 	if (IS_ERR(client))
client           1104 drivers/i2c/i2c-core-base.c 		return PTR_ERR(client);
client           1108 drivers/i2c/i2c-core-base.c 	list_add_tail(&client->detected, &adap->userspace_clients);
client           1131 drivers/i2c/i2c-core-base.c 	struct i2c_client *client, *next;
client           1151 drivers/i2c/i2c-core-base.c 	list_for_each_entry_safe(client, next, &adap->userspace_clients,
client           1153 drivers/i2c/i2c-core-base.c 		if (i2c_encode_flags_to_addr(client) == addr) {
client           1155 drivers/i2c/i2c-core-base.c 				 "delete_device", client->name, client->addr);
client           1157 drivers/i2c/i2c-core-base.c 			list_del(&client->detected);
client           1158 drivers/i2c/i2c-core-base.c 			i2c_unregister_device(client);
client           1507 drivers/i2c/i2c-core-base.c 	struct i2c_client *client, *_n;
client           1511 drivers/i2c/i2c-core-base.c 	list_for_each_entry_safe(client, _n, &driver->clients, detected) {
client           1512 drivers/i2c/i2c-core-base.c 		if (client->adapter == adapter) {
client           1514 drivers/i2c/i2c-core-base.c 				client->name, client->addr);
client           1515 drivers/i2c/i2c-core-base.c 			list_del(&client->detected);
client           1516 drivers/i2c/i2c-core-base.c 			i2c_unregister_device(client);
client           1523 drivers/i2c/i2c-core-base.c 	struct i2c_client *client = i2c_verify_client(dev);
client           1524 drivers/i2c/i2c-core-base.c 	if (client && strcmp(client->name, "dummy"))
client           1525 drivers/i2c/i2c-core-base.c 		i2c_unregister_device(client);
client           1531 drivers/i2c/i2c-core-base.c 	struct i2c_client *client = i2c_verify_client(dev);
client           1532 drivers/i2c/i2c-core-base.c 	i2c_unregister_device(client);
client           1553 drivers/i2c/i2c-core-base.c 	struct i2c_client *client, *next;
client           1574 drivers/i2c/i2c-core-base.c 	list_for_each_entry_safe(client, next, &adap->userspace_clients,
client           1576 drivers/i2c/i2c-core-base.c 		dev_dbg(&adap->dev, "Removing %s at 0x%x\n", client->name,
client           1577 drivers/i2c/i2c-core-base.c 			client->addr);
client           1578 drivers/i2c/i2c-core-base.c 		list_del(&client->detected);
client           1579 drivers/i2c/i2c-core-base.c 		i2c_unregister_device(client);
client           1768 drivers/i2c/i2c-core-base.c struct i2c_client *i2c_use_client(struct i2c_client *client)
client           1770 drivers/i2c/i2c-core-base.c 	if (client && get_device(&client->dev))
client           1771 drivers/i2c/i2c-core-base.c 		return client;
client           1782 drivers/i2c/i2c-core-base.c void i2c_release_client(struct i2c_client *client)
client           1784 drivers/i2c/i2c-core-base.c 	if (client)
client           1785 drivers/i2c/i2c-core-base.c 		put_device(&client->dev);
client           1796 drivers/i2c/i2c-core-base.c 	struct i2c_client	*client = i2c_verify_client(dev);
client           1800 drivers/i2c/i2c-core-base.c 	if (!client || !client->dev.driver)
client           1803 drivers/i2c/i2c-core-base.c 	driver = to_i2c_driver(client->dev.driver);
client           1805 drivers/i2c/i2c-core-base.c 		driver->command(client, arg->cmd, arg->arg);
client           2079 drivers/i2c/i2c-core-base.c int i2c_transfer_buffer_flags(const struct i2c_client *client, char *buf,
client           2084 drivers/i2c/i2c-core-base.c 		.addr = client->addr,
client           2085 drivers/i2c/i2c-core-base.c 		.flags = flags | (client->flags & I2C_M_TEN),
client           2090 drivers/i2c/i2c-core-base.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client           2107 drivers/i2c/i2c-core-base.c int i2c_get_device_id(const struct i2c_client *client,
client           2110 drivers/i2c/i2c-core-base.c 	struct i2c_adapter *adap = client->adapter;
client           2119 drivers/i2c/i2c-core-base.c 			     I2C_SMBUS_READ, client->addr << 1,
client           2217 drivers/i2c/i2c-core-base.c 		struct i2c_client *client;
client           2229 drivers/i2c/i2c-core-base.c 		client = i2c_new_device(adapter, &info);
client           2230 drivers/i2c/i2c-core-base.c 		if (client)
client           2231 drivers/i2c/i2c-core-base.c 			list_add_tail(&client->detected, &driver->clients);
client             67 drivers/i2c/i2c-core-of.c 	struct i2c_client *client;
client             77 drivers/i2c/i2c-core-of.c 	client = i2c_new_device(adap, &info);
client             78 drivers/i2c/i2c-core-of.c 	if (!client) {
client             82 drivers/i2c/i2c-core-of.c 	return client;
client             88 drivers/i2c/i2c-core-of.c 	struct i2c_client *client;
client            104 drivers/i2c/i2c-core-of.c 		client = of_i2c_register_device(adap, node);
client            105 drivers/i2c/i2c-core-of.c 		if (IS_ERR(client)) {
client            131 drivers/i2c/i2c-core-of.c 	struct i2c_client *client;
client            137 drivers/i2c/i2c-core-of.c 	client = i2c_verify_client(dev);
client            138 drivers/i2c/i2c-core-of.c 	if (!client)
client            141 drivers/i2c/i2c-core-of.c 	return client;
client            184 drivers/i2c/i2c-core-of.c 				  struct i2c_client *client)
client            195 drivers/i2c/i2c-core-of.c 		if (sysfs_streq(client->name, matches->compatible))
client            204 drivers/i2c/i2c-core-of.c 		if (sysfs_streq(client->name, name))
client            213 drivers/i2c/i2c-core-of.c 		     struct i2c_client *client)
client            217 drivers/i2c/i2c-core-of.c 	if (!(client && matches))
client            220 drivers/i2c/i2c-core-of.c 	match = of_match_device(matches, &client->dev);
client            224 drivers/i2c/i2c-core-of.c 	return i2c_of_match_device_sysfs(matches, client);
client            234 drivers/i2c/i2c-core-of.c 	struct i2c_client *client;
client            247 drivers/i2c/i2c-core-of.c 		client = of_i2c_register_device(adap, rd->dn);
client            248 drivers/i2c/i2c-core-of.c 		if (IS_ERR(client)) {
client            253 drivers/i2c/i2c-core-of.c 			return notifier_from_errno(PTR_ERR(client));
client            263 drivers/i2c/i2c-core-of.c 		client = of_find_i2c_device_by_node(rd->dn);
client            264 drivers/i2c/i2c-core-of.c 		if (client == NULL)
client            268 drivers/i2c/i2c-core-of.c 		i2c_unregister_device(client);
client            271 drivers/i2c/i2c-core-of.c 		put_device(&client->dev);
client             17 drivers/i2c/i2c-core-slave.c int i2c_slave_register(struct i2c_client *client, i2c_slave_cb_t slave_cb)
client             21 drivers/i2c/i2c-core-slave.c 	if (!client || !slave_cb) {
client             26 drivers/i2c/i2c-core-slave.c 	if (!(client->flags & I2C_CLIENT_SLAVE))
client             27 drivers/i2c/i2c-core-slave.c 		dev_warn(&client->dev, "%s: client slave flag not set. You might see address collisions\n",
client             30 drivers/i2c/i2c-core-slave.c 	if (!(client->flags & I2C_CLIENT_TEN)) {
client             32 drivers/i2c/i2c-core-slave.c 		ret = i2c_check_7bit_addr_validity_strict(client->addr);
client             34 drivers/i2c/i2c-core-slave.c 			dev_err(&client->dev, "%s: invalid address\n", __func__);
client             39 drivers/i2c/i2c-core-slave.c 	if (!client->adapter->algo->reg_slave) {
client             40 drivers/i2c/i2c-core-slave.c 		dev_err(&client->dev, "%s: not supported by adapter\n", __func__);
client             44 drivers/i2c/i2c-core-slave.c 	client->slave_cb = slave_cb;
client             46 drivers/i2c/i2c-core-slave.c 	i2c_lock_bus(client->adapter, I2C_LOCK_ROOT_ADAPTER);
client             47 drivers/i2c/i2c-core-slave.c 	ret = client->adapter->algo->reg_slave(client);
client             48 drivers/i2c/i2c-core-slave.c 	i2c_unlock_bus(client->adapter, I2C_LOCK_ROOT_ADAPTER);
client             51 drivers/i2c/i2c-core-slave.c 		client->slave_cb = NULL;
client             52 drivers/i2c/i2c-core-slave.c 		dev_err(&client->dev, "%s: adapter returned error %d\n", __func__, ret);
client             59 drivers/i2c/i2c-core-slave.c int i2c_slave_unregister(struct i2c_client *client)
client             63 drivers/i2c/i2c-core-slave.c 	if (!client->adapter->algo->unreg_slave) {
client             64 drivers/i2c/i2c-core-slave.c 		dev_err(&client->dev, "%s: not supported by adapter\n", __func__);
client             68 drivers/i2c/i2c-core-slave.c 	i2c_lock_bus(client->adapter, I2C_LOCK_ROOT_ADAPTER);
client             69 drivers/i2c/i2c-core-slave.c 	ret = client->adapter->algo->unreg_slave(client);
client             70 drivers/i2c/i2c-core-slave.c 	i2c_unlock_bus(client->adapter, I2C_LOCK_ROOT_ADAPTER);
client             73 drivers/i2c/i2c-core-slave.c 		client->slave_cb = NULL;
client             75 drivers/i2c/i2c-core-slave.c 		dev_err(&client->dev, "%s: adapter returned error %d\n", __func__, ret);
client             93 drivers/i2c/i2c-core-smbus.c s32 i2c_smbus_read_byte(const struct i2c_client *client)
client             98 drivers/i2c/i2c-core-smbus.c 	status = i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            113 drivers/i2c/i2c-core-smbus.c s32 i2c_smbus_write_byte(const struct i2c_client *client, u8 value)
client            115 drivers/i2c/i2c-core-smbus.c 	return i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            128 drivers/i2c/i2c-core-smbus.c s32 i2c_smbus_read_byte_data(const struct i2c_client *client, u8 command)
client            133 drivers/i2c/i2c-core-smbus.c 	status = i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            149 drivers/i2c/i2c-core-smbus.c s32 i2c_smbus_write_byte_data(const struct i2c_client *client, u8 command,
client            154 drivers/i2c/i2c-core-smbus.c 	return i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            168 drivers/i2c/i2c-core-smbus.c s32 i2c_smbus_read_word_data(const struct i2c_client *client, u8 command)
client            173 drivers/i2c/i2c-core-smbus.c 	status = i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            189 drivers/i2c/i2c-core-smbus.c s32 i2c_smbus_write_word_data(const struct i2c_client *client, u8 command,
client            194 drivers/i2c/i2c-core-smbus.c 	return i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            215 drivers/i2c/i2c-core-smbus.c s32 i2c_smbus_read_block_data(const struct i2c_client *client, u8 command,
client            221 drivers/i2c/i2c-core-smbus.c 	status = i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            242 drivers/i2c/i2c-core-smbus.c s32 i2c_smbus_write_block_data(const struct i2c_client *client, u8 command,
client            251 drivers/i2c/i2c-core-smbus.c 	return i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            258 drivers/i2c/i2c-core-smbus.c s32 i2c_smbus_read_i2c_block_data(const struct i2c_client *client, u8 command,
client            267 drivers/i2c/i2c-core-smbus.c 	status = i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            278 drivers/i2c/i2c-core-smbus.c s32 i2c_smbus_write_i2c_block_data(const struct i2c_client *client, u8 command,
client            287 drivers/i2c/i2c-core-smbus.c 	return i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            630 drivers/i2c/i2c-core-smbus.c s32 i2c_smbus_read_i2c_block_data_or_emulated(const struct i2c_client *client,
client            639 drivers/i2c/i2c-core-smbus.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_READ_I2C_BLOCK))
client            640 drivers/i2c/i2c-core-smbus.c 		return i2c_smbus_read_i2c_block_data(client, command, length, values);
client            642 drivers/i2c/i2c-core-smbus.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_READ_BYTE_DATA))
client            645 drivers/i2c/i2c-core-smbus.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_READ_WORD_DATA)) {
client            647 drivers/i2c/i2c-core-smbus.c 			status = i2c_smbus_read_word_data(client, command + i);
client            657 drivers/i2c/i2c-core-smbus.c 		status = i2c_smbus_read_byte_data(client, command + i);
client            703 drivers/i2c/i2c-core-smbus.c 	struct i2c_client *client;
client            713 drivers/i2c/i2c-core-smbus.c 	client = i2c_setup_smbus_alert(adapter, NULL);
client            714 drivers/i2c/i2c-core-smbus.c 	if (!client)
client             64 drivers/i2c/i2c-core.h 		      struct i2c_client *client);
client             67 drivers/i2c/i2c-core.h int i2c_acpi_get_irq(struct i2c_client *client);
client             72 drivers/i2c/i2c-core.h 		      struct i2c_client *client)
client             77 drivers/i2c/i2c-core.h static inline int i2c_acpi_get_irq(struct i2c_client *client)
client            139 drivers/i2c/i2c-dev.c 	struct i2c_client *client = file->private_data;
client            151 drivers/i2c/i2c-dev.c 	ret = i2c_master_recv(client, tmp, count);
client            163 drivers/i2c/i2c-dev.c 	struct i2c_client *client = file->private_data;
client            175 drivers/i2c/i2c-dev.c 	ret = i2c_master_send(client, tmp, count);
client            182 drivers/i2c/i2c-dev.c 	struct i2c_client *client = i2c_verify_client(dev);
client            184 drivers/i2c/i2c-dev.c 	if (!client || client->addr != *(unsigned int *)addrp)
client            235 drivers/i2c/i2c-dev.c static noinline int i2cdev_ioctl_rdwr(struct i2c_client *client,
client            297 drivers/i2c/i2c-dev.c 	res = i2c_transfer(client->adapter, msgs, nmsgs);
client            311 drivers/i2c/i2c-dev.c static noinline int i2cdev_ioctl_smbus(struct i2c_client *client,
client            327 drivers/i2c/i2c-dev.c 		dev_dbg(&client->adapter->dev,
client            336 drivers/i2c/i2c-dev.c 		dev_dbg(&client->adapter->dev,
client            348 drivers/i2c/i2c-dev.c 		return i2c_smbus_xfer(client->adapter, client->addr,
client            349 drivers/i2c/i2c-dev.c 				      client->flags, read_write,
client            353 drivers/i2c/i2c-dev.c 		dev_dbg(&client->adapter->dev,
client            381 drivers/i2c/i2c-dev.c 	res = i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            394 drivers/i2c/i2c-dev.c 	struct i2c_client *client = file->private_data;
client            397 drivers/i2c/i2c-dev.c 	dev_dbg(&client->adapter->dev, "ioctl, cmd=0x%02x, arg=0x%02lx\n",
client            404 drivers/i2c/i2c-dev.c 		    (((client->flags & I2C_M_TEN) == 0) && arg > 0x7f))
client            406 drivers/i2c/i2c-dev.c 		if (cmd == I2C_SLAVE && i2cdev_check_addr(client->adapter, arg))
client            409 drivers/i2c/i2c-dev.c 		client->addr = arg;
client            413 drivers/i2c/i2c-dev.c 			client->flags |= I2C_M_TEN;
client            415 drivers/i2c/i2c-dev.c 			client->flags &= ~I2C_M_TEN;
client            426 drivers/i2c/i2c-dev.c 			client->flags |= I2C_CLIENT_PEC;
client            428 drivers/i2c/i2c-dev.c 			client->flags &= ~I2C_CLIENT_PEC;
client            431 drivers/i2c/i2c-dev.c 		funcs = i2c_get_functionality(client->adapter);
client            453 drivers/i2c/i2c-dev.c 		return i2cdev_ioctl_rdwr(client, rdwr_arg.nmsgs, rdwr_pa);
client            462 drivers/i2c/i2c-dev.c 		return i2cdev_ioctl_smbus(client, data_arg.read_write,
client            471 drivers/i2c/i2c-dev.c 		client->adapter->retries = arg;
client            480 drivers/i2c/i2c-dev.c 		client->adapter->timeout = msecs_to_jiffies(arg * 10);
client            516 drivers/i2c/i2c-dev.c 	struct i2c_client *client = file->private_data;
client            520 drivers/i2c/i2c-dev.c 		funcs = i2c_get_functionality(client->adapter);
client            556 drivers/i2c/i2c-dev.c 		return i2cdev_ioctl_rdwr(client, rdwr_arg.nmsgs, rdwr_pa);
client            564 drivers/i2c/i2c-dev.c 		return i2cdev_ioctl_smbus(client, data32.read_write,
client            580 drivers/i2c/i2c-dev.c 	struct i2c_client *client;
client            594 drivers/i2c/i2c-dev.c 	client = kzalloc(sizeof(*client), GFP_KERNEL);
client            595 drivers/i2c/i2c-dev.c 	if (!client) {
client            599 drivers/i2c/i2c-dev.c 	snprintf(client->name, I2C_NAME_SIZE, "i2c-dev %d", adap->nr);
client            601 drivers/i2c/i2c-dev.c 	client->adapter = adap;
client            602 drivers/i2c/i2c-dev.c 	file->private_data = client;
client            609 drivers/i2c/i2c-dev.c 	struct i2c_client *client = file->private_data;
client            611 drivers/i2c/i2c-dev.c 	i2c_put_adapter(client->adapter);
client            612 drivers/i2c/i2c-dev.c 	kfree(client);
client             45 drivers/i2c/i2c-slave-eeprom.c static int i2c_slave_eeprom_slave_cb(struct i2c_client *client,
client             48 drivers/i2c/i2c-slave-eeprom.c 	struct eeprom_data *eeprom = i2c_get_clientdata(client);
client            123 drivers/i2c/i2c-slave-eeprom.c static int i2c_slave_eeprom_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            130 drivers/i2c/i2c-slave-eeprom.c 	eeprom = devm_kzalloc(&client->dev, sizeof(struct eeprom_data) + size, GFP_KERNEL);
client            139 drivers/i2c/i2c-slave-eeprom.c 	i2c_set_clientdata(client, eeprom);
client            148 drivers/i2c/i2c-slave-eeprom.c 	ret = sysfs_create_bin_file(&client->dev.kobj, &eeprom->bin);
client            152 drivers/i2c/i2c-slave-eeprom.c 	ret = i2c_slave_register(client, i2c_slave_eeprom_slave_cb);
client            154 drivers/i2c/i2c-slave-eeprom.c 		sysfs_remove_bin_file(&client->dev.kobj, &eeprom->bin);
client            161 drivers/i2c/i2c-slave-eeprom.c static int i2c_slave_eeprom_remove(struct i2c_client *client)
client            163 drivers/i2c/i2c-slave-eeprom.c 	struct eeprom_data *eeprom = i2c_get_clientdata(client);
client            165 drivers/i2c/i2c-slave-eeprom.c 	i2c_slave_unregister(client);
client            166 drivers/i2c/i2c-slave-eeprom.c 	sysfs_remove_bin_file(&client->dev.kobj, &eeprom->bin);
client             33 drivers/i2c/i2c-smbus.c 	struct i2c_client *client = i2c_verify_client(dev);
client             37 drivers/i2c/i2c-smbus.c 	if (!client || client->addr != data->addr)
client             39 drivers/i2c/i2c-smbus.c 	if (client->flags & I2C_CLIENT_TEN)
client             47 drivers/i2c/i2c-smbus.c 	if (client->dev.driver) {
client             48 drivers/i2c/i2c-smbus.c 		driver = to_i2c_driver(client->dev.driver);
client             50 drivers/i2c/i2c-smbus.c 			driver->alert(client, data->type, data->data);
client             52 drivers/i2c/i2c-smbus.c 			dev_warn(&client->dev, "no driver alert()!\n");
client             54 drivers/i2c/i2c-smbus.c 		dev_dbg(&client->dev, "alert with no driver\n");
client            208 drivers/i2c/muxes/i2c-mux-ltc4306.c static int ltc4306_probe(struct i2c_client *client)
client            210 drivers/i2c/muxes/i2c-mux-ltc4306.c 	struct i2c_adapter *adap = client->adapter;
client            219 drivers/i2c/muxes/i2c-mux-ltc4306.c 	chip = of_device_get_match_data(&client->dev);
client            222 drivers/i2c/muxes/i2c-mux-ltc4306.c 		chip = &chips[i2c_match_id(ltc4306_id, client)->driver_data];
client            224 drivers/i2c/muxes/i2c-mux-ltc4306.c 	idle_disc = device_property_read_bool(&client->dev,
client            227 drivers/i2c/muxes/i2c-mux-ltc4306.c 	muxc = i2c_mux_alloc(adap, &client->dev,
client            236 drivers/i2c/muxes/i2c-mux-ltc4306.c 	i2c_set_clientdata(client, muxc);
client            238 drivers/i2c/muxes/i2c-mux-ltc4306.c 	data->regmap = devm_regmap_init_i2c(client, &ltc4306_regmap_config);
client            241 drivers/i2c/muxes/i2c-mux-ltc4306.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            247 drivers/i2c/muxes/i2c-mux-ltc4306.c 	gpio = devm_gpiod_get_optional(&client->dev, "enable", GPIOD_OUT_LOW);
client            262 drivers/i2c/muxes/i2c-mux-ltc4306.c 		dev_warn(&client->dev, "probe failed\n");
client            266 drivers/i2c/muxes/i2c-mux-ltc4306.c 	if (device_property_read_bool(&client->dev,
client            270 drivers/i2c/muxes/i2c-mux-ltc4306.c 	if (device_property_read_bool(&client->dev,
client            290 drivers/i2c/muxes/i2c-mux-ltc4306.c 	dev_info(&client->dev,
client            292 drivers/i2c/muxes/i2c-mux-ltc4306.c 		 num, client->name);
client            297 drivers/i2c/muxes/i2c-mux-ltc4306.c static int ltc4306_remove(struct i2c_client *client)
client            299 drivers/i2c/muxes/i2c-mux-ltc4306.c 	struct i2c_mux_core *muxc = i2c_get_clientdata(client);
client             53 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	struct i2c_client *client;
client             94 drivers/i2c/muxes/i2c-mux-mlxcpld.c 				 struct i2c_client *client, u8 val)
client             96 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	struct mlxcpld_mux_plat_data *pdata = dev_get_platdata(&client->dev);
client             99 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	return __i2c_smbus_xfer(adap, client->addr, client->flags,
client            107 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	struct i2c_client *client = data->client;
client            113 drivers/i2c/muxes/i2c-mux-mlxcpld.c 		err = mlxcpld_mux_reg_write(muxc->parent, client, regval);
client            123 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	struct i2c_client *client = data->client;
client            128 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	return mlxcpld_mux_reg_write(muxc->parent, client, data->last_chan);
client            132 drivers/i2c/muxes/i2c-mux-mlxcpld.c static int mlxcpld_mux_probe(struct i2c_client *client,
client            135 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	struct i2c_adapter *adap = client->adapter;
client            136 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	struct mlxcpld_mux_plat_data *pdata = dev_get_platdata(&client->dev);
client            148 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	muxc = i2c_mux_alloc(adap, &client->dev, CPLD_MUX_MAX_NCHANS,
client            155 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	i2c_set_clientdata(client, muxc);
client            156 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	data->client = client;
client            179 drivers/i2c/muxes/i2c-mux-mlxcpld.c static int mlxcpld_mux_remove(struct i2c_client *client)
client            181 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	struct i2c_mux_core *muxc = i2c_get_clientdata(client);
client             74 drivers/i2c/muxes/i2c-mux-pca9541.c 	struct i2c_client *client;
client             98 drivers/i2c/muxes/i2c-mux-pca9541.c static int pca9541_reg_write(struct i2c_client *client, u8 command, u8 val)
client            100 drivers/i2c/muxes/i2c-mux-pca9541.c 	struct i2c_adapter *adap = client->adapter;
client            103 drivers/i2c/muxes/i2c-mux-pca9541.c 	return __i2c_smbus_xfer(adap, client->addr, client->flags,
client            112 drivers/i2c/muxes/i2c-mux-pca9541.c static int pca9541_reg_read(struct i2c_client *client, u8 command)
client            114 drivers/i2c/muxes/i2c-mux-pca9541.c 	struct i2c_adapter *adap = client->adapter;
client            118 drivers/i2c/muxes/i2c-mux-pca9541.c 	ret = __i2c_smbus_xfer(adap, client->addr, client->flags,
client            130 drivers/i2c/muxes/i2c-mux-pca9541.c static void pca9541_release_bus(struct i2c_client *client)
client            134 drivers/i2c/muxes/i2c-mux-pca9541.c 	reg = pca9541_reg_read(client, PCA9541_CONTROL);
client            136 drivers/i2c/muxes/i2c-mux-pca9541.c 		pca9541_reg_write(client, PCA9541_CONTROL,
client            177 drivers/i2c/muxes/i2c-mux-pca9541.c static int pca9541_arbitrate(struct i2c_client *client)
client            179 drivers/i2c/muxes/i2c-mux-pca9541.c 	struct i2c_mux_core *muxc = i2c_get_clientdata(client);
client            183 drivers/i2c/muxes/i2c-mux-pca9541.c 	reg = pca9541_reg_read(client, PCA9541_CONTROL);
client            193 drivers/i2c/muxes/i2c-mux-pca9541.c 		istat = pca9541_reg_read(client, PCA9541_ISTAT);
client            200 drivers/i2c/muxes/i2c-mux-pca9541.c 			pca9541_reg_write(client,
client            218 drivers/i2c/muxes/i2c-mux-pca9541.c 			pca9541_reg_write(client,
client            232 drivers/i2c/muxes/i2c-mux-pca9541.c 			pca9541_reg_write(client,
client            240 drivers/i2c/muxes/i2c-mux-pca9541.c 				pca9541_reg_write(client,
client            251 drivers/i2c/muxes/i2c-mux-pca9541.c 	struct i2c_client *client = data->client;
client            260 drivers/i2c/muxes/i2c-mux-pca9541.c 		ret = pca9541_arbitrate(client);
client            276 drivers/i2c/muxes/i2c-mux-pca9541.c 	struct i2c_client *client = data->client;
client            278 drivers/i2c/muxes/i2c-mux-pca9541.c 	pca9541_release_bus(client);
client            285 drivers/i2c/muxes/i2c-mux-pca9541.c static int pca9541_probe(struct i2c_client *client,
client            288 drivers/i2c/muxes/i2c-mux-pca9541.c 	struct i2c_adapter *adap = client->adapter;
client            301 drivers/i2c/muxes/i2c-mux-pca9541.c 	pca9541_release_bus(client);
client            306 drivers/i2c/muxes/i2c-mux-pca9541.c 	muxc = i2c_mux_alloc(adap, &client->dev, 1, sizeof(*data),
client            313 drivers/i2c/muxes/i2c-mux-pca9541.c 	data->client = client;
client            315 drivers/i2c/muxes/i2c-mux-pca9541.c 	i2c_set_clientdata(client, muxc);
client            321 drivers/i2c/muxes/i2c-mux-pca9541.c 	dev_info(&client->dev, "registered master selector for I2C %s\n",
client            322 drivers/i2c/muxes/i2c-mux-pca9541.c 		 client->name);
client            327 drivers/i2c/muxes/i2c-mux-pca9541.c static int pca9541_remove(struct i2c_client *client)
client            329 drivers/i2c/muxes/i2c-mux-pca9541.c 	struct i2c_mux_core *muxc = i2c_get_clientdata(client);
client             91 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct i2c_client *client;
client            223 drivers/i2c/muxes/i2c-mux-pca954x.c 			     struct i2c_client *client, u8 val)
client            227 drivers/i2c/muxes/i2c-mux-pca954x.c 	return __i2c_smbus_xfer(adap, client->addr, client->flags,
client            235 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct i2c_client *client = data->client;
client            248 drivers/i2c/muxes/i2c-mux-pca954x.c 		ret = pca954x_reg_write(muxc->parent, client, regval);
client            258 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct i2c_client *client = data->client;
client            269 drivers/i2c/muxes/i2c-mux-pca954x.c 		return pca954x_reg_write(muxc->parent, client,
client            282 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct i2c_client *client = to_i2c_client(dev);
client            283 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct i2c_mux_core *muxc = i2c_get_clientdata(client);
client            293 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct i2c_client *client = to_i2c_client(dev);
client            294 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct i2c_mux_core *muxc = i2c_get_clientdata(client);
client            330 drivers/i2c/muxes/i2c-mux-pca954x.c 	ret = i2c_smbus_read_byte(data->client);
client            359 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct i2c_client *client = data->client;
client            362 drivers/i2c/muxes/i2c-mux-pca954x.c 	if (!data->chip->has_irq || client->irq <= 0)
client            367 drivers/i2c/muxes/i2c-mux-pca954x.c 	data->irq = irq_domain_add_linear(client->dev.of_node,
client            376 drivers/i2c/muxes/i2c-mux-pca954x.c 			dev_err(&client->dev, "failed irq create map\n");
client            390 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct i2c_client *client = data->client;
client            393 drivers/i2c/muxes/i2c-mux-pca954x.c 	device_remove_file(&client->dev, &dev_attr_idle_state);
client            408 drivers/i2c/muxes/i2c-mux-pca954x.c static int pca954x_probe(struct i2c_client *client,
client            411 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct i2c_adapter *adap = client->adapter;
client            412 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct device *dev = &client->dev;
client            430 drivers/i2c/muxes/i2c-mux-pca954x.c 	i2c_set_clientdata(client, muxc);
client            431 drivers/i2c/muxes/i2c-mux-pca954x.c 	data->client = client;
client            451 drivers/i2c/muxes/i2c-mux-pca954x.c 		ret = i2c_get_device_id(client, &id);
client            469 drivers/i2c/muxes/i2c-mux-pca954x.c 	if (i2c_smbus_write_byte(client, 0) < 0) {
client            494 drivers/i2c/muxes/i2c-mux-pca954x.c 		ret = devm_request_threaded_irq(dev, data->client->irq,
client            510 drivers/i2c/muxes/i2c-mux-pca954x.c 				? "mux" : "switch", client->name);
client            519 drivers/i2c/muxes/i2c-mux-pca954x.c static int pca954x_remove(struct i2c_client *client)
client            521 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct i2c_mux_core *muxc = i2c_get_clientdata(client);
client            530 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct i2c_client *client = to_i2c_client(dev);
client            531 drivers/i2c/muxes/i2c-mux-pca954x.c 	struct i2c_mux_core *muxc = i2c_get_clientdata(client);
client            535 drivers/i2c/muxes/i2c-mux-pca954x.c 	return i2c_smbus_write_byte(client, 0);
client             22 drivers/iio/accel/adxl345_i2c.c static int adxl345_i2c_probe(struct i2c_client *client,
client             30 drivers/iio/accel/adxl345_i2c.c 	regmap = devm_regmap_init_i2c(client, &adxl345_i2c_regmap_config);
client             32 drivers/iio/accel/adxl345_i2c.c 		dev_err(&client->dev, "Error initializing i2c regmap: %ld\n",
client             37 drivers/iio/accel/adxl345_i2c.c 	return adxl345_core_probe(&client->dev, regmap, id->driver_data,
client             41 drivers/iio/accel/adxl345_i2c.c static int adxl345_i2c_remove(struct i2c_client *client)
client             43 drivers/iio/accel/adxl345_i2c.c 	return adxl345_core_remove(&client->dev);
client             20 drivers/iio/accel/adxl372_i2c.c static int adxl372_i2c_probe(struct i2c_client *client,
client             27 drivers/iio/accel/adxl372_i2c.c 	regmap = devm_regmap_init_i2c(client, &adxl372_regmap_config);
client             37 drivers/iio/accel/adxl372_i2c.c 		dev_warn(&client->dev,
client             40 drivers/iio/accel/adxl372_i2c.c 	return adxl372_probe(&client->dev, regmap, client->irq, id->name);
client            113 drivers/iio/accel/bma180.c 	struct i2c_client *client;
client            148 drivers/iio/accel/bma180.c 		ret = i2c_smbus_read_byte_data(data->client, BMA180_TEMP);
client            150 drivers/iio/accel/bma180.c 			dev_err(&data->client->dev, "failed to read temp register\n");
client            153 drivers/iio/accel/bma180.c 		ret = i2c_smbus_read_word_data(data->client,
client            156 drivers/iio/accel/bma180.c 			dev_err(&data->client->dev,
client            166 drivers/iio/accel/bma180.c 	int ret = i2c_smbus_read_byte_data(data->client, reg);
client            172 drivers/iio/accel/bma180.c 	return i2c_smbus_write_byte_data(data->client, reg, reg_val);
client            181 drivers/iio/accel/bma180.c 		dev_err(&data->client->dev, "failed to reset interrupt\n");
client            199 drivers/iio/accel/bma180.c 	dev_err(&data->client->dev,
client            210 drivers/iio/accel/bma180.c 		dev_err(&data->client->dev,
client            224 drivers/iio/accel/bma180.c 		dev_err(&data->client->dev,
client            242 drivers/iio/accel/bma180.c 				dev_err(&data->client->dev,
client            266 drivers/iio/accel/bma180.c 				dev_err(&data->client->dev,
client            284 drivers/iio/accel/bma180.c 		dev_err(&data->client->dev, "failed to set power mode\n");
client            294 drivers/iio/accel/bma180.c 	int ret = i2c_smbus_write_byte_data(data->client,
client            298 drivers/iio/accel/bma180.c 		dev_err(&data->client->dev, "failed to reset the chip\n");
client            306 drivers/iio/accel/bma180.c 	int ret = i2c_smbus_read_byte_data(data->client, BMA180_CHIP_ID);
client            354 drivers/iio/accel/bma180.c 	dev_err(&data->client->dev, "failed to config the chip\n");
client            378 drivers/iio/accel/bma180.c 	dev_err(&data->client->dev, "failed to config the chip\n");
client            394 drivers/iio/accel/bma180.c 	dev_err(&data->client->dev, "failed to disable the chip\n");
client            407 drivers/iio/accel/bma180.c 	dev_err(&data->client->dev, "failed to disable the chip\n");
client            712 drivers/iio/accel/bma180.c static int bma180_probe(struct i2c_client *client,
client            720 drivers/iio/accel/bma180.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            725 drivers/iio/accel/bma180.c 	i2c_set_clientdata(client, indio_dev);
client            726 drivers/iio/accel/bma180.c 	data->client = client;
client            727 drivers/iio/accel/bma180.c 	if (client->dev.of_node)
client            728 drivers/iio/accel/bma180.c 		chip = (enum chip_ids)of_device_get_match_data(&client->dev);
client            733 drivers/iio/accel/bma180.c 	ret = iio_read_mount_matrix(&client->dev, "mount-matrix",
client            743 drivers/iio/accel/bma180.c 	indio_dev->dev.parent = &client->dev;
client            750 drivers/iio/accel/bma180.c 	if (client->irq > 0) {
client            758 drivers/iio/accel/bma180.c 		ret = devm_request_irq(&client->dev, client->irq,
client            762 drivers/iio/accel/bma180.c 			dev_err(&client->dev, "unable to request IRQ\n");
client            766 drivers/iio/accel/bma180.c 		data->trig->dev.parent = &client->dev;
client            779 drivers/iio/accel/bma180.c 		dev_err(&client->dev, "unable to setup iio triggered buffer\n");
client            785 drivers/iio/accel/bma180.c 		dev_err(&client->dev, "unable to register iio device\n");
client            804 drivers/iio/accel/bma180.c static int bma180_remove(struct i2c_client *client)
client            806 drivers/iio/accel/bma180.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             23 drivers/iio/accel/bmc150-accel-i2c.c static int bmc150_accel_probe(struct i2c_client *client,
client             29 drivers/iio/accel/bmc150-accel-i2c.c 		i2c_check_functionality(client->adapter, I2C_FUNC_I2C) ||
client             30 drivers/iio/accel/bmc150-accel-i2c.c 		i2c_check_functionality(client->adapter,
client             33 drivers/iio/accel/bmc150-accel-i2c.c 	regmap = devm_regmap_init_i2c(client, &bmc150_regmap_conf);
client             35 drivers/iio/accel/bmc150-accel-i2c.c 		dev_err(&client->dev, "Failed to initialize i2c regmap\n");
client             42 drivers/iio/accel/bmc150-accel-i2c.c 	return bmc150_accel_core_probe(&client->dev, regmap, client->irq, name,
client             46 drivers/iio/accel/bmc150-accel-i2c.c static int bmc150_accel_remove(struct i2c_client *client)
client             48 drivers/iio/accel/bmc150-accel-i2c.c 	return bmc150_accel_core_remove(&client->dev);
client             51 drivers/iio/accel/da280.c 	struct i2c_client *client;
client             54 drivers/iio/accel/da280.c static int da280_enable(struct i2c_client *client, bool enable)
client             58 drivers/iio/accel/da280.c 	return i2c_smbus_write_byte_data(client, DA280_REG_MODE_BW, data);
client             70 drivers/iio/accel/da280.c 		ret = i2c_smbus_read_word_data(data->client, chan->address);
client            103 drivers/iio/accel/da280.c static int da280_probe(struct i2c_client *client,
client            111 drivers/iio/accel/da280.c 	ret = i2c_smbus_read_byte_data(client, DA280_REG_CHIP_ID);
client            115 drivers/iio/accel/da280.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            120 drivers/iio/accel/da280.c 	data->client = client;
client            121 drivers/iio/accel/da280.c 	i2c_set_clientdata(client, indio_dev);
client            123 drivers/iio/accel/da280.c 	indio_dev->dev.parent = &client->dev;
client            128 drivers/iio/accel/da280.c 	if (ACPI_HANDLE(&client->dev)) {
client            129 drivers/iio/accel/da280.c 		chip = da280_match_acpi_device(&client->dev);
client            142 drivers/iio/accel/da280.c 	ret = da280_enable(client, true);
client            148 drivers/iio/accel/da280.c 		dev_err(&client->dev, "device_register failed\n");
client            149 drivers/iio/accel/da280.c 		da280_enable(client, false);
client            155 drivers/iio/accel/da280.c static int da280_remove(struct i2c_client *client)
client            157 drivers/iio/accel/da280.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            161 drivers/iio/accel/da280.c 	return da280_enable(client, false);
client             97 drivers/iio/accel/da311.c 	struct i2c_client *client;
client            100 drivers/iio/accel/da311.c static int da311_register_mask_write(struct i2c_client *client, u16 addr,
client            108 drivers/iio/accel/da311.c 		ret = i2c_smbus_write_byte_data(client, DA311_REG_BANK, 0x01);
client            114 drivers/iio/accel/da311.c 		ret = i2c_smbus_read_byte_data(client, addr);
client            122 drivers/iio/accel/da311.c 	ret = i2c_smbus_write_byte_data(client, addr & 0xff, tmp_data);
client            128 drivers/iio/accel/da311.c 		ret = i2c_smbus_write_byte_data(client, DA311_REG_BANK, 0x00);
client            137 drivers/iio/accel/da311.c static int da311_reset(struct i2c_client *client)
client            159 drivers/iio/accel/da311.c 	ret = da311_register_mask_write(client, DA311_REG_SOFT_RESET,
client            165 drivers/iio/accel/da311.c 		ret = da311_register_mask_write(client,
client            176 drivers/iio/accel/da311.c static int da311_enable(struct i2c_client *client, bool enable)
client            180 drivers/iio/accel/da311.c 	return da311_register_mask_write(client, DA311_REG_TEMP_CFG_REG,
client            193 drivers/iio/accel/da311.c 		ret = i2c_smbus_read_word_data(data->client, chan->address);
client            215 drivers/iio/accel/da311.c static int da311_probe(struct i2c_client *client,
client            222 drivers/iio/accel/da311.c 	ret = i2c_smbus_read_byte_data(client, DA311_REG_CHIP_ID);
client            226 drivers/iio/accel/da311.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            231 drivers/iio/accel/da311.c 	data->client = client;
client            232 drivers/iio/accel/da311.c 	i2c_set_clientdata(client, indio_dev);
client            234 drivers/iio/accel/da311.c 	indio_dev->dev.parent = &client->dev;
client            241 drivers/iio/accel/da311.c 	ret = da311_reset(client);
client            245 drivers/iio/accel/da311.c 	ret = da311_enable(client, true);
client            251 drivers/iio/accel/da311.c 		dev_err(&client->dev, "device_register failed\n");
client            252 drivers/iio/accel/da311.c 		da311_enable(client, false);
client            258 drivers/iio/accel/da311.c static int da311_remove(struct i2c_client *client)
client            260 drivers/iio/accel/da311.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            264 drivers/iio/accel/da311.c 	return da311_enable(client, false);
client             55 drivers/iio/accel/dmard06.c 	struct i2c_client *client;
client             75 drivers/iio/accel/dmard06.c 		ret = i2c_smbus_read_byte_data(dmard06->client,
client             78 drivers/iio/accel/dmard06.c 			dev_err(&dmard06->client->dev,
client            127 drivers/iio/accel/dmard06.c static int dmard06_probe(struct i2c_client *client,
client            134 drivers/iio/accel/dmard06.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            135 drivers/iio/accel/dmard06.c 		dev_err(&client->dev, "I2C check functionality failed\n");
client            139 drivers/iio/accel/dmard06.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*dmard06));
client            141 drivers/iio/accel/dmard06.c 		dev_err(&client->dev, "Failed to allocate iio device\n");
client            146 drivers/iio/accel/dmard06.c 	dmard06->client = client;
client            148 drivers/iio/accel/dmard06.c 	ret = i2c_smbus_read_byte_data(dmard06->client, DMARD06_CHIP_ID_REG);
client            150 drivers/iio/accel/dmard06.c 		dev_err(&client->dev, "Error reading chip id: %d\n", ret);
client            156 drivers/iio/accel/dmard06.c 		dev_err(&client->dev, "Invalid chip id: %02d\n", ret);
client            162 drivers/iio/accel/dmard06.c 	i2c_set_clientdata(client, indio_dev);
client            163 drivers/iio/accel/dmard06.c 	indio_dev->dev.parent = &client->dev;
client            170 drivers/iio/accel/dmard06.c 	return devm_iio_device_register(&client->dev, indio_dev);
client            180 drivers/iio/accel/dmard06.c 	ret = i2c_smbus_write_byte_data(dmard06->client, DMARD06_CTRL1_REG,
client            194 drivers/iio/accel/dmard06.c 	ret = i2c_smbus_write_byte_data(dmard06->client, DMARD06_CTRL1_REG,
client             31 drivers/iio/accel/dmard09.c 	struct i2c_client *client;
client             64 drivers/iio/accel/dmard09.c 		ret = i2c_smbus_read_i2c_block_data(data->client,
client             68 drivers/iio/accel/dmard09.c 			dev_err(&data->client->dev, "Error reading reg %d\n",
client             91 drivers/iio/accel/dmard09.c static int dmard09_probe(struct i2c_client *client,
client             98 drivers/iio/accel/dmard09.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            100 drivers/iio/accel/dmard09.c 		dev_err(&client->dev, "iio allocation failed\n");
client            105 drivers/iio/accel/dmard09.c 	data->client = client;
client            107 drivers/iio/accel/dmard09.c 	ret = i2c_smbus_read_byte_data(data->client, DMARD09_REG_CHIPID);
client            109 drivers/iio/accel/dmard09.c 		dev_err(&client->dev, "Error reading chip id %d\n", ret);
client            114 drivers/iio/accel/dmard09.c 		dev_err(&client->dev, "Invalid chip id %d\n", ret);
client            118 drivers/iio/accel/dmard09.c 	i2c_set_clientdata(client, indio_dev);
client            119 drivers/iio/accel/dmard09.c 	indio_dev->dev.parent = &client->dev;
client            126 drivers/iio/accel/dmard09.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             70 drivers/iio/accel/dmard10.c 	struct i2c_client *client;
client             74 drivers/iio/accel/dmard10.c static int dmard10_reset(struct i2c_client *client)
client             80 drivers/iio/accel/dmard10.c 	ret = i2c_smbus_write_byte_data(client, DMARD10_REG_PD,
client             95 drivers/iio/accel/dmard10.c 	ret = i2c_master_send(client, buffer, 6);
client            100 drivers/iio/accel/dmard10.c 	ret = i2c_smbus_write_byte_data(client, DMARD10_REG_MISC2,
client            113 drivers/iio/accel/dmard10.c 	ret = i2c_master_send(client, buffer, 7);
client            118 drivers/iio/accel/dmard10.c 	ret = i2c_smbus_write_byte_data(client, DMARD10_REG_ACTR,
client            127 drivers/iio/accel/dmard10.c static int dmard10_shutdown(struct i2c_client *client)
client            135 drivers/iio/accel/dmard10.c 	return i2c_master_send(client, buffer, 3);
client            152 drivers/iio/accel/dmard10.c 		ret = i2c_smbus_read_i2c_block_data(data->client,
client            173 drivers/iio/accel/dmard10.c static int dmard10_probe(struct i2c_client *client,
client            181 drivers/iio/accel/dmard10.c 	ret = i2c_smbus_read_byte_data(client, DMARD10_REG_STADR);
client            185 drivers/iio/accel/dmard10.c 	ret = i2c_smbus_read_byte_data(client, DMARD10_REG_STAINT);
client            189 drivers/iio/accel/dmard10.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            191 drivers/iio/accel/dmard10.c 		dev_err(&client->dev, "iio allocation failed!\n");
client            196 drivers/iio/accel/dmard10.c 	data->client = client;
client            197 drivers/iio/accel/dmard10.c 	i2c_set_clientdata(client, indio_dev);
client            199 drivers/iio/accel/dmard10.c 	indio_dev->dev.parent = &client->dev;
client            206 drivers/iio/accel/dmard10.c 	ret = dmard10_reset(client);
client            212 drivers/iio/accel/dmard10.c 		dev_err(&client->dev, "device_register failed\n");
client            213 drivers/iio/accel/dmard10.c 		dmard10_shutdown(client);
client            219 drivers/iio/accel/dmard10.c static int dmard10_remove(struct i2c_client *client)
client            221 drivers/iio/accel/dmard10.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            225 drivers/iio/accel/dmard10.c 	return dmard10_shutdown(client);
client            130 drivers/iio/accel/kxcjk-1013.c 	struct i2c_client *client;
client            277 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_CTRL1);
client            279 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_ctrl1\n");
client            288 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_write_byte_data(data->client,
client            291 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error writing reg_ctrl1\n");
client            303 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_CTRL1);
client            305 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_ctrl1\n");
client            321 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_CTRL1);
client            323 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_ctrl1\n");
client            332 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_write_byte_data(data->client,
client            336 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error writing reg_ctrl1\n");
client            349 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_WHO_AM_I);
client            351 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading who_am_i\n");
client            355 drivers/iio/accel/kxcjk-1013.c 	dev_dbg(&data->client->dev, "KXCJK1013 Chip Id %x\n", ret);
client            361 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_CTRL1);
client            363 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_ctrl1\n");
client            370 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_write_byte_data(data->client, KXCJK1013_REG_CTRL1,
client            373 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_ctrl\n");
client            382 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_DATA_CTRL);
client            384 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_data_ctrl\n");
client            391 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_INT_CTRL1);
client            393 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_int_ctrl1\n");
client            402 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_write_byte_data(data->client, KXCJK1013_REG_INT_CTRL1,
client            405 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error writing reg_int_ctrl1\n");
client            439 drivers/iio/accel/kxcjk-1013.c 		ret = pm_runtime_get_sync(&data->client->dev);
client            441 drivers/iio/accel/kxcjk-1013.c 		pm_runtime_mark_last_busy(&data->client->dev);
client            442 drivers/iio/accel/kxcjk-1013.c 		ret = pm_runtime_put_autosuspend(&data->client->dev);
client            445 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev,
client            448 drivers/iio/accel/kxcjk-1013.c 			pm_runtime_put_noidle(&data->client->dev);
client            460 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_write_byte_data(data->client,
client            464 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev,
client            471 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_write_byte_data(data->client, waketh_reg,
client            474 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error writing reg_wake_thres\n");
client            500 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_INT_CTRL1);
client            502 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_int_ctrl1\n");
client            511 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_write_byte_data(data->client, KXCJK1013_REG_INT_CTRL1,
client            514 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error writing reg_int_ctrl1\n");
client            518 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_CTRL1);
client            520 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_ctrl1\n");
client            529 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_write_byte_data(data->client,
client            532 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error writing reg_ctrl1\n");
client            560 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_INT_CTRL1);
client            562 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_int_ctrl1\n");
client            571 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_write_byte_data(data->client, KXCJK1013_REG_INT_CTRL1,
client            574 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error writing reg_int_ctrl1\n");
client            578 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_CTRL1);
client            580 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_ctrl1\n");
client            589 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_write_byte_data(data->client,
client            592 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error writing reg_ctrl1\n");
client            662 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_write_byte_data(data->client, KXCJK1013_REG_DATA_CTRL,
client            665 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error writing data_ctrl\n");
client            671 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_write_byte_data(data->client, KXCJK1013_REG_CTRL2,
client            674 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error writing reg_ctrl2\n");
client            704 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_word_data(data->client, reg);
client            706 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev,
client           1039 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_i2c_block_data_or_emulated(data->client,
client           1061 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_INT_REL);
client           1063 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_int_rel\n");
client           1118 drivers/iio/accel/kxcjk-1013.c 	int ret = i2c_smbus_read_byte_data(data->client,
client           1121 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_int_src2\n");
client           1186 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_INT_SRC1);
client           1188 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_int_src1\n");
client           1209 drivers/iio/accel/kxcjk-1013.c 	ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_INT_REL);
client           1211 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "Error reading reg_int_rel\n");
client           1252 drivers/iio/accel/kxcjk-1013.c static int kxcjk1013_probe(struct i2c_client *client,
client           1261 drivers/iio/accel/kxcjk-1013.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client           1266 drivers/iio/accel/kxcjk-1013.c 	i2c_set_clientdata(client, indio_dev);
client           1267 drivers/iio/accel/kxcjk-1013.c 	data->client = client;
client           1269 drivers/iio/accel/kxcjk-1013.c 	pdata = dev_get_platdata(&client->dev);
client           1278 drivers/iio/accel/kxcjk-1013.c 	} else if (ACPI_HANDLE(&client->dev)) {
client           1279 drivers/iio/accel/kxcjk-1013.c 		name = kxcjk1013_match_acpi_device(&client->dev,
client           1291 drivers/iio/accel/kxcjk-1013.c 	indio_dev->dev.parent = &client->dev;
client           1299 drivers/iio/accel/kxcjk-1013.c 	if (client->irq > 0 && !data->is_smo8500_device) {
client           1300 drivers/iio/accel/kxcjk-1013.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client           1309 drivers/iio/accel/kxcjk-1013.c 		data->dready_trig = devm_iio_trigger_alloc(&client->dev,
client           1318 drivers/iio/accel/kxcjk-1013.c 		data->motion_trig = devm_iio_trigger_alloc(&client->dev,
client           1327 drivers/iio/accel/kxcjk-1013.c 		data->dready_trig->dev.parent = &client->dev;
client           1336 drivers/iio/accel/kxcjk-1013.c 		data->motion_trig->dev.parent = &client->dev;
client           1351 drivers/iio/accel/kxcjk-1013.c 		dev_err(&client->dev, "iio triggered buffer setup failed\n");
client           1355 drivers/iio/accel/kxcjk-1013.c 	ret = pm_runtime_set_active(&client->dev);
client           1359 drivers/iio/accel/kxcjk-1013.c 	pm_runtime_enable(&client->dev);
client           1360 drivers/iio/accel/kxcjk-1013.c 	pm_runtime_set_autosuspend_delay(&client->dev,
client           1362 drivers/iio/accel/kxcjk-1013.c 	pm_runtime_use_autosuspend(&client->dev);
client           1366 drivers/iio/accel/kxcjk-1013.c 		dev_err(&client->dev, "unable to register iio device\n");
client           1386 drivers/iio/accel/kxcjk-1013.c static int kxcjk1013_remove(struct i2c_client *client)
client           1388 drivers/iio/accel/kxcjk-1013.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client           1393 drivers/iio/accel/kxcjk-1013.c 	pm_runtime_disable(&client->dev);
client           1394 drivers/iio/accel/kxcjk-1013.c 	pm_runtime_set_suspended(&client->dev);
client           1395 drivers/iio/accel/kxcjk-1013.c 	pm_runtime_put_noidle(&client->dev);
client           1449 drivers/iio/accel/kxcjk-1013.c 		dev_err(&data->client->dev, "powering off device failed\n");
client             34 drivers/iio/accel/kxsd9-i2c.c static int kxsd9_i2c_remove(struct i2c_client *client)
client             36 drivers/iio/accel/kxsd9-i2c.c 	return kxsd9_common_remove(&client->dev);
client             56 drivers/iio/accel/mc3230.c 	struct i2c_client *client;
client             62 drivers/iio/accel/mc3230.c 	struct i2c_client *client = data->client;
client             64 drivers/iio/accel/mc3230.c 	ret = i2c_smbus_read_byte_data(client, MC3230_REG_MODE);
client             66 drivers/iio/accel/mc3230.c 		dev_err(&client->dev, "failed to read mode reg: %d\n", ret);
client             73 drivers/iio/accel/mc3230.c 	ret = i2c_smbus_write_byte_data(client, MC3230_REG_MODE, ret);
client             75 drivers/iio/accel/mc3230.c 		dev_err(&client->dev, "failed to write mode reg: %d\n", ret);
client             91 drivers/iio/accel/mc3230.c 		ret = i2c_smbus_read_byte_data(data->client, chan->address);
client            109 drivers/iio/accel/mc3230.c static int mc3230_probe(struct i2c_client *client,
client            117 drivers/iio/accel/mc3230.c 	ret = i2c_smbus_read_byte_data(client, MC3230_REG_CHIP_ID);
client            121 drivers/iio/accel/mc3230.c 	ret = i2c_smbus_read_byte_data(client, MC3230_REG_PRODUCT_CODE);
client            125 drivers/iio/accel/mc3230.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            127 drivers/iio/accel/mc3230.c 		dev_err(&client->dev, "iio allocation failed!\n");
client            132 drivers/iio/accel/mc3230.c 	data->client = client;
client            133 drivers/iio/accel/mc3230.c 	i2c_set_clientdata(client, indio_dev);
client            135 drivers/iio/accel/mc3230.c 	indio_dev->dev.parent = &client->dev;
client            148 drivers/iio/accel/mc3230.c 		dev_err(&client->dev, "device_register failed\n");
client            155 drivers/iio/accel/mc3230.c static int mc3230_remove(struct i2c_client *client)
client            157 drivers/iio/accel/mc3230.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             62 drivers/iio/accel/mma7660.c 	struct i2c_client *client;
client             82 drivers/iio/accel/mma7660.c 	struct i2c_client *client = data->client;
client             87 drivers/iio/accel/mma7660.c 	ret = i2c_smbus_read_byte_data(client, MMA7660_REG_MODE);
client             89 drivers/iio/accel/mma7660.c 		dev_err(&client->dev, "failed to read sensor mode\n");
client            101 drivers/iio/accel/mma7660.c 	ret = i2c_smbus_write_byte_data(client, MMA7660_REG_MODE, ret);
client            103 drivers/iio/accel/mma7660.c 		dev_err(&client->dev, "failed to change sensor mode\n");
client            115 drivers/iio/accel/mma7660.c 	struct i2c_client *client = data->client;
client            125 drivers/iio/accel/mma7660.c 		ret = i2c_smbus_read_byte_data(client, address);
client            127 drivers/iio/accel/mma7660.c 			dev_err(&client->dev, "register read failed\n");
client            133 drivers/iio/accel/mma7660.c 		dev_err(&client->dev, "all register read retries failed\n");
client            172 drivers/iio/accel/mma7660.c static int mma7660_probe(struct i2c_client *client,
client            179 drivers/iio/accel/mma7660.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            181 drivers/iio/accel/mma7660.c 		dev_err(&client->dev, "iio allocation failed!\n");
client            186 drivers/iio/accel/mma7660.c 	data->client = client;
client            187 drivers/iio/accel/mma7660.c 	i2c_set_clientdata(client, indio_dev);
client            191 drivers/iio/accel/mma7660.c 	indio_dev->dev.parent = &client->dev;
client            204 drivers/iio/accel/mma7660.c 		dev_err(&client->dev, "device_register failed\n");
client            211 drivers/iio/accel/mma7660.c static int mma7660_remove(struct i2c_client *client)
client            213 drivers/iio/accel/mma7660.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            105 drivers/iio/accel/mma8452.c 	struct i2c_client *client;
client            193 drivers/iio/accel/mma8452.c 		int ret = i2c_smbus_read_byte_data(data->client,
client            207 drivers/iio/accel/mma8452.c 	dev_err(&data->client->dev, "data not ready\n");
client            212 drivers/iio/accel/mma8452.c static int mma8452_set_runtime_pm_state(struct i2c_client *client, bool on)
client            218 drivers/iio/accel/mma8452.c 		ret = pm_runtime_get_sync(&client->dev);
client            220 drivers/iio/accel/mma8452.c 		pm_runtime_mark_last_busy(&client->dev);
client            221 drivers/iio/accel/mma8452.c 		ret = pm_runtime_put_autosuspend(&client->dev);
client            225 drivers/iio/accel/mma8452.c 		dev_err(&client->dev,
client            228 drivers/iio/accel/mma8452.c 			pm_runtime_put_noidle(&client->dev);
client            244 drivers/iio/accel/mma8452.c 	ret = mma8452_set_runtime_pm_state(data->client, true);
client            248 drivers/iio/accel/mma8452.c 	ret = i2c_smbus_read_i2c_block_data(data->client, MMA8452_OUT_X,
client            251 drivers/iio/accel/mma8452.c 	ret = mma8452_set_runtime_pm_state(data->client, false);
client            357 drivers/iio/accel/mma8452.c 	reg = i2c_smbus_read_byte_data(data->client,
client            466 drivers/iio/accel/mma8452.c 	ret = i2c_smbus_read_byte_data(data->client, MMA8452_HP_FILTER_CUTOFF);
client            521 drivers/iio/accel/mma8452.c 		ret = i2c_smbus_read_byte_data(data->client,
client            569 drivers/iio/accel/mma8452.c 	return i2c_smbus_write_byte_data(data->client, MMA8452_CTRL_REG1,
client            575 drivers/iio/accel/mma8452.c 	return i2c_smbus_write_byte_data(data->client, MMA8452_CTRL_REG1,
client            584 drivers/iio/accel/mma8452.c 	reg = i2c_smbus_read_byte_data(data->client, MMA8452_CTRL_REG1);
client            611 drivers/iio/accel/mma8452.c 	ret = i2c_smbus_write_byte_data(data->client, reg, val);
client            632 drivers/iio/accel/mma8452.c 	reg = i2c_smbus_read_byte_data(data->client,
client            648 drivers/iio/accel/mma8452.c 	val = i2c_smbus_read_byte_data(data->client, MMA8452_FF_MT_CFG);
client            663 drivers/iio/accel/mma8452.c 	val = i2c_smbus_read_byte_data(data->client, MMA8452_FF_MT_CFG);
client            691 drivers/iio/accel/mma8452.c 	reg = i2c_smbus_read_byte_data(data->client,
client            832 drivers/iio/accel/mma8452.c 		ret = i2c_smbus_read_byte_data(data->client, ev_regs->ev_ths);
client            841 drivers/iio/accel/mma8452.c 		ret = i2c_smbus_read_byte_data(data->client, ev_regs->ev_count);
client            857 drivers/iio/accel/mma8452.c 		ret = i2c_smbus_read_byte_data(data->client,
client            915 drivers/iio/accel/mma8452.c 		reg = i2c_smbus_read_byte_data(data->client,
client            953 drivers/iio/accel/mma8452.c 		ret = i2c_smbus_read_byte_data(data->client,
client            979 drivers/iio/accel/mma8452.c 	ret = mma8452_set_runtime_pm_state(data->client, state);
client            987 drivers/iio/accel/mma8452.c 		val = i2c_smbus_read_byte_data(data->client, ev_regs->ev_cfg);
client           1022 drivers/iio/accel/mma8452.c 	src = i2c_smbus_read_byte_data(data->client, MMA8452_TRANSIENT_SRC);
client           1055 drivers/iio/accel/mma8452.c 	src = i2c_smbus_read_byte_data(data->client, MMA8452_INT_SRC);
client           1123 drivers/iio/accel/mma8452.c 	ret = i2c_smbus_read_byte_data(data->client, reg);
client           1430 drivers/iio/accel/mma8452.c 	ret = mma8452_set_runtime_pm_state(data->client, state);
client           1434 drivers/iio/accel/mma8452.c 	reg = i2c_smbus_read_byte_data(data->client, MMA8452_CTRL_REG4);
client           1457 drivers/iio/accel/mma8452.c 	trig = devm_iio_trigger_alloc(&data->client->dev, "%s-dev%d",
client           1463 drivers/iio/accel/mma8452.c 	trig->dev.parent = &data->client->dev;
client           1482 drivers/iio/accel/mma8452.c static int mma8452_reset(struct i2c_client *client)
client           1487 drivers/iio/accel/mma8452.c 	ret = i2c_smbus_write_byte_data(client,	MMA8452_CTRL_REG2,
client           1494 drivers/iio/accel/mma8452.c 		ret = i2c_smbus_read_byte_data(client, MMA8452_CTRL_REG2);
client           1517 drivers/iio/accel/mma8452.c static int mma8452_probe(struct i2c_client *client,
client           1525 drivers/iio/accel/mma8452.c 	match = of_match_device(mma8452_dt_ids, &client->dev);
client           1527 drivers/iio/accel/mma8452.c 		dev_err(&client->dev, "unknown device model\n");
client           1531 drivers/iio/accel/mma8452.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client           1536 drivers/iio/accel/mma8452.c 	data->client = client;
client           1540 drivers/iio/accel/mma8452.c 	data->vdd_reg = devm_regulator_get(&client->dev, "vdd");
client           1545 drivers/iio/accel/mma8452.c 		dev_err(&client->dev, "failed to get VDD regulator!\n");
client           1549 drivers/iio/accel/mma8452.c 	data->vddio_reg = devm_regulator_get(&client->dev, "vddio");
client           1554 drivers/iio/accel/mma8452.c 		dev_err(&client->dev, "failed to get VDDIO regulator!\n");
client           1560 drivers/iio/accel/mma8452.c 		dev_err(&client->dev, "failed to enable VDD regulator!\n");
client           1566 drivers/iio/accel/mma8452.c 		dev_err(&client->dev, "failed to enable VDDIO regulator!\n");
client           1570 drivers/iio/accel/mma8452.c 	ret = i2c_smbus_read_byte_data(client, MMA8452_WHO_AM_I);
client           1589 drivers/iio/accel/mma8452.c 	dev_info(&client->dev, "registering %s accelerometer; ID 0x%x\n",
client           1592 drivers/iio/accel/mma8452.c 	i2c_set_clientdata(client, indio_dev);
client           1595 drivers/iio/accel/mma8452.c 	indio_dev->dev.parent = &client->dev;
client           1601 drivers/iio/accel/mma8452.c 	ret = mma8452_reset(client);
client           1606 drivers/iio/accel/mma8452.c 	ret = i2c_smbus_write_byte_data(client, MMA8452_DATA_CFG,
client           1615 drivers/iio/accel/mma8452.c 	ret = i2c_smbus_write_byte_data(client, MMA8452_TRANSIENT_THS,
client           1620 drivers/iio/accel/mma8452.c 	if (client->irq) {
client           1623 drivers/iio/accel/mma8452.c 		irq2 = of_irq_get_byname(client->dev.of_node, "INT2");
client           1625 drivers/iio/accel/mma8452.c 		if (irq2 == client->irq) {
client           1626 drivers/iio/accel/mma8452.c 			dev_dbg(&client->dev, "using interrupt line INT2\n");
client           1628 drivers/iio/accel/mma8452.c 			ret = i2c_smbus_write_byte_data(client,
client           1634 drivers/iio/accel/mma8452.c 			dev_dbg(&client->dev, "using interrupt line INT1\n");
client           1637 drivers/iio/accel/mma8452.c 		ret = i2c_smbus_write_byte_data(client,
client           1653 drivers/iio/accel/mma8452.c 	ret = i2c_smbus_write_byte_data(client, MMA8452_CTRL_REG1,
client           1663 drivers/iio/accel/mma8452.c 	if (client->irq) {
client           1664 drivers/iio/accel/mma8452.c 		ret = devm_request_threaded_irq(&client->dev,
client           1665 drivers/iio/accel/mma8452.c 						client->irq,
client           1668 drivers/iio/accel/mma8452.c 						client->name, indio_dev);
client           1673 drivers/iio/accel/mma8452.c 	ret = pm_runtime_set_active(&client->dev);
client           1677 drivers/iio/accel/mma8452.c 	pm_runtime_enable(&client->dev);
client           1678 drivers/iio/accel/mma8452.c 	pm_runtime_set_autosuspend_delay(&client->dev,
client           1680 drivers/iio/accel/mma8452.c 	pm_runtime_use_autosuspend(&client->dev);
client           1707 drivers/iio/accel/mma8452.c static int mma8452_remove(struct i2c_client *client)
client           1709 drivers/iio/accel/mma8452.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client           1714 drivers/iio/accel/mma8452.c 	pm_runtime_disable(&client->dev);
client           1715 drivers/iio/accel/mma8452.c 	pm_runtime_set_suspended(&client->dev);
client           1716 drivers/iio/accel/mma8452.c 	pm_runtime_put_noidle(&client->dev);
client           1739 drivers/iio/accel/mma8452.c 		dev_err(&data->client->dev, "powering off device failed\n");
client             46 drivers/iio/accel/mma9551.c 	struct i2c_client *client;
client             52 drivers/iio/accel/mma9551.c static int mma9551_read_incli_chan(struct i2c_client *client,
client             77 drivers/iio/accel/mma9551.c 	ret = mma9551_set_power_state(client, true);
client             81 drivers/iio/accel/mma9551.c 	ret = mma9551_read_status_byte(client, MMA9551_APPID_TILT,
client             86 drivers/iio/accel/mma9551.c 	ret = mma9551_read_status_byte(client, MMA9551_APPID_TILT,
client            102 drivers/iio/accel/mma9551.c 	mma9551_set_power_state(client, false);
client            118 drivers/iio/accel/mma9551.c 			ret = mma9551_read_incli_chan(data->client, chan, val);
client            128 drivers/iio/accel/mma9551.c 			ret = mma9551_read_accel_chan(data->client,
client            178 drivers/iio/accel/mma9551.c 		ret = mma9551_gpio_config(data->client,
client            184 drivers/iio/accel/mma9551.c 		ret = mma9551_set_power_state(data->client, false);
client            206 drivers/iio/accel/mma9551.c 		ret = mma9551_set_power_state(data->client, true);
client            210 drivers/iio/accel/mma9551.c 		ret = mma9551_gpio_config(data->client,
client            214 drivers/iio/accel/mma9551.c 			mma9551_set_power_state(data->client, false);
client            260 drivers/iio/accel/mma9551.c 		ret = mma9551_update_config_bits(data->client,
client            286 drivers/iio/accel/mma9551.c 		ret = mma9551_read_config_byte(data->client,
client            352 drivers/iio/accel/mma9551.c 		dev_warn(&data->client->dev,
client            373 drivers/iio/accel/mma9551.c 	ret = mma9551_read_status_byte(data->client, MMA9551_APPID_TILT,
client            376 drivers/iio/accel/mma9551.c 		dev_err(&data->client->dev,
client            396 drivers/iio/accel/mma9551.c 	ret = mma9551_read_version(data->client);
client            400 drivers/iio/accel/mma9551.c 	return mma9551_set_device_state(data->client, true);
client            408 drivers/iio/accel/mma9551.c 	struct device *dev = &data->client->dev;
client            449 drivers/iio/accel/mma9551.c static int mma9551_probe(struct i2c_client *client,
client            457 drivers/iio/accel/mma9551.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            462 drivers/iio/accel/mma9551.c 	i2c_set_clientdata(client, indio_dev);
client            463 drivers/iio/accel/mma9551.c 	data->client = client;
client            467 drivers/iio/accel/mma9551.c 	else if (ACPI_HANDLE(&client->dev))
client            468 drivers/iio/accel/mma9551.c 		name = mma9551_match_acpi_device(&client->dev);
client            476 drivers/iio/accel/mma9551.c 	indio_dev->dev.parent = &client->dev;
client            487 drivers/iio/accel/mma9551.c 	ret = pm_runtime_set_active(&client->dev);
client            491 drivers/iio/accel/mma9551.c 	pm_runtime_enable(&client->dev);
client            492 drivers/iio/accel/mma9551.c 	pm_runtime_set_autosuspend_delay(&client->dev,
client            494 drivers/iio/accel/mma9551.c 	pm_runtime_use_autosuspend(&client->dev);
client            498 drivers/iio/accel/mma9551.c 		dev_err(&client->dev, "unable to register iio device\n");
client            505 drivers/iio/accel/mma9551.c 	mma9551_set_device_state(client, false);
client            510 drivers/iio/accel/mma9551.c static int mma9551_remove(struct i2c_client *client)
client            512 drivers/iio/accel/mma9551.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            517 drivers/iio/accel/mma9551.c 	pm_runtime_disable(&client->dev);
client            518 drivers/iio/accel/mma9551.c 	pm_runtime_set_suspended(&client->dev);
client            519 drivers/iio/accel/mma9551.c 	pm_runtime_put_noidle(&client->dev);
client            522 drivers/iio/accel/mma9551.c 	mma9551_set_device_state(data->client, false);
client            536 drivers/iio/accel/mma9551.c 	ret = mma9551_set_device_state(data->client, false);
client            539 drivers/iio/accel/mma9551.c 		dev_err(&data->client->dev, "powering off device failed\n");
client            552 drivers/iio/accel/mma9551.c 	ret = mma9551_set_device_state(data->client, true);
client            570 drivers/iio/accel/mma9551.c 	ret = mma9551_set_device_state(data->client, false);
client            583 drivers/iio/accel/mma9551.c 	ret = mma9551_set_device_state(data->client, true);
client            108 drivers/iio/accel/mma9551_core.c static int mma9551_transfer(struct i2c_client *client,
client            120 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev, "register offset too large\n");
client            137 drivers/iio/accel/mma9551_core.c 	out.addr = client->addr;
client            142 drivers/iio/accel/mma9551_core.c 	ret = i2c_transfer(client->adapter, &out, 1);
client            144 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev, "i2c write failed\n");
client            152 drivers/iio/accel/mma9551_core.c 		in.addr = client->addr;
client            157 drivers/iio/accel/mma9551_core.c 		ret = i2c_transfer(client->adapter, &in, 1);
client            159 drivers/iio/accel/mma9551_core.c 			dev_err(&client->dev, "i2c read failed\n");
client            168 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev,
client            174 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev,
client            182 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev, "read returned error %x\n", err_code);
client            187 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev,
client            216 drivers/iio/accel/mma9551_core.c int mma9551_read_config_byte(struct i2c_client *client, u8 app_id,
client            219 drivers/iio/accel/mma9551_core.c 	return mma9551_transfer(client, app_id, MMA9551_CMD_READ_CONFIG,
client            241 drivers/iio/accel/mma9551_core.c int mma9551_write_config_byte(struct i2c_client *client, u8 app_id,
client            244 drivers/iio/accel/mma9551_core.c 	return mma9551_transfer(client, app_id, MMA9551_CMD_WRITE_CONFIG, reg,
client            266 drivers/iio/accel/mma9551_core.c int mma9551_read_status_byte(struct i2c_client *client, u8 app_id,
client            269 drivers/iio/accel/mma9551_core.c 	return mma9551_transfer(client, app_id, MMA9551_CMD_READ_STATUS,
client            291 drivers/iio/accel/mma9551_core.c int mma9551_read_config_word(struct i2c_client *client, u8 app_id,
client            297 drivers/iio/accel/mma9551_core.c 	ret = mma9551_transfer(client, app_id, MMA9551_CMD_READ_CONFIG,
client            322 drivers/iio/accel/mma9551_core.c int mma9551_write_config_word(struct i2c_client *client, u8 app_id,
client            327 drivers/iio/accel/mma9551_core.c 	return mma9551_transfer(client, app_id, MMA9551_CMD_WRITE_CONFIG, reg,
client            349 drivers/iio/accel/mma9551_core.c int mma9551_read_status_word(struct i2c_client *client, u8 app_id,
client            355 drivers/iio/accel/mma9551_core.c 	ret = mma9551_transfer(client, app_id, MMA9551_CMD_READ_STATUS,
client            379 drivers/iio/accel/mma9551_core.c int mma9551_read_config_words(struct i2c_client *client, u8 app_id,
client            386 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev, "Invalid buffer size %d\n", len);
client            390 drivers/iio/accel/mma9551_core.c 	ret = mma9551_transfer(client, app_id, MMA9551_CMD_READ_CONFIG,
client            418 drivers/iio/accel/mma9551_core.c int mma9551_read_status_words(struct i2c_client *client, u8 app_id,
client            425 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev, "Invalid buffer size %d\n", len);
client            429 drivers/iio/accel/mma9551_core.c 	ret = mma9551_transfer(client, app_id, MMA9551_CMD_READ_STATUS,
client            457 drivers/iio/accel/mma9551_core.c int mma9551_write_config_words(struct i2c_client *client, u8 app_id,
client            464 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev, "Invalid buffer size %d\n", len);
client            471 drivers/iio/accel/mma9551_core.c 	return mma9551_transfer(client, app_id, MMA9551_CMD_WRITE_CONFIG,
client            492 drivers/iio/accel/mma9551_core.c int mma9551_update_config_bits(struct i2c_client *client, u8 app_id,
client            498 drivers/iio/accel/mma9551_core.c 	ret = mma9551_read_config_byte(client, app_id, reg, &orig);
client            508 drivers/iio/accel/mma9551_core.c 	return mma9551_write_config_byte(client, app_id, reg, tmp);
client            531 drivers/iio/accel/mma9551_core.c int mma9551_gpio_config(struct i2c_client *client, enum mma9551_gpio_pin pin,
client            538 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev, "bad GPIO pin\n");
client            548 drivers/iio/accel/mma9551_core.c 	ret = mma9551_write_config_byte(client, MMA9551_APPID_GPIO,
client            551 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev, "error setting GPIO app_id\n");
client            555 drivers/iio/accel/mma9551_core.c 	ret = mma9551_write_config_byte(client, MMA9551_APPID_GPIO,
client            558 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev, "error setting GPIO bit number\n");
client            582 drivers/iio/accel/mma9551_core.c 	ret = mma9551_update_config_bits(client, MMA9551_APPID_GPIO, reg,
client            585 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev, "error setting GPIO polarity\n");
client            603 drivers/iio/accel/mma9551_core.c int mma9551_read_version(struct i2c_client *client)
client            608 drivers/iio/accel/mma9551_core.c 	ret = mma9551_transfer(client, MMA9551_APPID_VERSION, 0x00, 0x00,
client            613 drivers/iio/accel/mma9551_core.c 	dev_info(&client->dev, "device ID 0x%x, firmware version %02x.%02x\n",
client            638 drivers/iio/accel/mma9551_core.c int mma9551_set_device_state(struct i2c_client *client, bool enable)
client            640 drivers/iio/accel/mma9551_core.c 	return mma9551_update_config_bits(client, MMA9551_APPID_SLEEP_WAKE,
client            661 drivers/iio/accel/mma9551_core.c int mma9551_set_power_state(struct i2c_client *client, bool on)
client            667 drivers/iio/accel/mma9551_core.c 		ret = pm_runtime_get_sync(&client->dev);
client            669 drivers/iio/accel/mma9551_core.c 		pm_runtime_mark_last_busy(&client->dev);
client            670 drivers/iio/accel/mma9551_core.c 		ret = pm_runtime_put_autosuspend(&client->dev);
client            674 drivers/iio/accel/mma9551_core.c 		dev_err(&client->dev,
client            677 drivers/iio/accel/mma9551_core.c 			pm_runtime_put_noidle(&client->dev);
client            721 drivers/iio/accel/mma9551_core.c int mma9551_read_accel_chan(struct i2c_client *client,
client            743 drivers/iio/accel/mma9551_core.c 	ret = mma9551_set_power_state(client, true);
client            747 drivers/iio/accel/mma9551_core.c 	ret = mma9551_read_status_word(client, MMA9551_APPID_AFE,
client            757 drivers/iio/accel/mma9551_core.c 	mma9551_set_power_state(client, false);
client            790 drivers/iio/accel/mma9551_core.c int mma9551_app_reset(struct i2c_client *client, u32 app_mask)
client            792 drivers/iio/accel/mma9551_core.c 	return mma9551_write_config_byte(client, MMA9551_APPID_RSC,
client             41 drivers/iio/accel/mma9551_core.h int mma9551_read_config_byte(struct i2c_client *client, u8 app_id,
client             43 drivers/iio/accel/mma9551_core.h int mma9551_write_config_byte(struct i2c_client *client, u8 app_id,
client             45 drivers/iio/accel/mma9551_core.h int mma9551_read_status_byte(struct i2c_client *client, u8 app_id,
client             47 drivers/iio/accel/mma9551_core.h int mma9551_read_config_word(struct i2c_client *client, u8 app_id,
client             49 drivers/iio/accel/mma9551_core.h int mma9551_write_config_word(struct i2c_client *client, u8 app_id,
client             51 drivers/iio/accel/mma9551_core.h int mma9551_read_status_word(struct i2c_client *client, u8 app_id,
client             53 drivers/iio/accel/mma9551_core.h int mma9551_read_config_words(struct i2c_client *client, u8 app_id,
client             55 drivers/iio/accel/mma9551_core.h int mma9551_read_status_words(struct i2c_client *client, u8 app_id,
client             57 drivers/iio/accel/mma9551_core.h int mma9551_write_config_words(struct i2c_client *client, u8 app_id,
client             59 drivers/iio/accel/mma9551_core.h int mma9551_update_config_bits(struct i2c_client *client, u8 app_id,
client             61 drivers/iio/accel/mma9551_core.h int mma9551_gpio_config(struct i2c_client *client, enum mma9551_gpio_pin pin,
client             63 drivers/iio/accel/mma9551_core.h int mma9551_read_version(struct i2c_client *client);
client             64 drivers/iio/accel/mma9551_core.h int mma9551_set_device_state(struct i2c_client *client, bool enable);
client             65 drivers/iio/accel/mma9551_core.h int mma9551_set_power_state(struct i2c_client *client, bool on);
client             67 drivers/iio/accel/mma9551_core.h int mma9551_read_accel_chan(struct i2c_client *client,
client             71 drivers/iio/accel/mma9551_core.h int mma9551_app_reset(struct i2c_client *client, u32 app_mask);
client            174 drivers/iio/accel/mma9553.c 	struct i2c_client *client;
client            274 drivers/iio/accel/mma9553.c 	ret = mma9551_write_config_word(data->client, MMA9551_APPID_PEDOMETER,
client            277 drivers/iio/accel/mma9553.c 		dev_err(&data->client->dev,
client            288 drivers/iio/accel/mma9553.c 	ret = mma9551_write_config_word(data->client, MMA9551_APPID_PEDOMETER,
client            291 drivers/iio/accel/mma9553.c 		dev_err(&data->client->dev,
client            300 drivers/iio/accel/mma9553.c 		ret = mma9551_read_config_word(data->client,
client            318 drivers/iio/accel/mma9553.c 	ret = mma9551_read_status_words(data->client, MMA9551_APPID_PEDOMETER,
client            322 drivers/iio/accel/mma9553.c 		dev_err(&data->client->dev,
client            369 drivers/iio/accel/mma9553.c 	ret = mma9551_gpio_config(data->client, MMA9553_DEFAULT_GPIO_PIN, appid,
client            382 drivers/iio/accel/mma9553.c 	ret = mma9551_read_version(data->client);
client            391 drivers/iio/accel/mma9553.c 	ret = mma9551_read_config_words(data->client, MMA9551_APPID_PEDOMETER,
client            396 drivers/iio/accel/mma9553.c 		dev_err(&data->client->dev,
client            407 drivers/iio/accel/mma9553.c 	ret = mma9551_app_reset(data->client, MMA9551_RSC_PED);
client            423 drivers/iio/accel/mma9553.c 	ret = mma9551_write_config_words(data->client, MMA9551_APPID_PEDOMETER,
client            428 drivers/iio/accel/mma9553.c 		dev_err(&data->client->dev,
client            433 drivers/iio/accel/mma9553.c 	return mma9551_set_device_state(data->client, true);
client            451 drivers/iio/accel/mma9553.c 		dev_err(&data->client->dev, "No channels enabled\n");
client            456 drivers/iio/accel/mma9553.c 	ret = mma9551_read_status_word(data->client, MMA9551_APPID_PEDOMETER,
client            535 drivers/iio/accel/mma9553.c 			ret = mma9551_read_accel_chan(data->client,
client            617 drivers/iio/accel/mma9553.c 		ret = mma9551_set_power_state(data->client, val);
client            743 drivers/iio/accel/mma9553.c 	ret = mma9551_set_power_state(data->client, state);
client            759 drivers/iio/accel/mma9553.c 		mma9551_set_power_state(data->client, false);
client           1076 drivers/iio/accel/mma9553.c static int mma9553_probe(struct i2c_client *client,
client           1084 drivers/iio/accel/mma9553.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client           1089 drivers/iio/accel/mma9553.c 	i2c_set_clientdata(client, indio_dev);
client           1090 drivers/iio/accel/mma9553.c 	data->client = client;
client           1094 drivers/iio/accel/mma9553.c 	else if (ACPI_HANDLE(&client->dev))
client           1095 drivers/iio/accel/mma9553.c 		name = mma9553_match_acpi_device(&client->dev);
client           1106 drivers/iio/accel/mma9553.c 	indio_dev->dev.parent = &client->dev;
client           1113 drivers/iio/accel/mma9553.c 	if (client->irq > 0) {
client           1114 drivers/iio/accel/mma9553.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client           1120 drivers/iio/accel/mma9553.c 			dev_err(&client->dev, "request irq %d failed\n",
client           1121 drivers/iio/accel/mma9553.c 				client->irq);
client           1126 drivers/iio/accel/mma9553.c 	ret = pm_runtime_set_active(&client->dev);
client           1130 drivers/iio/accel/mma9553.c 	pm_runtime_enable(&client->dev);
client           1131 drivers/iio/accel/mma9553.c 	pm_runtime_set_autosuspend_delay(&client->dev,
client           1133 drivers/iio/accel/mma9553.c 	pm_runtime_use_autosuspend(&client->dev);
client           1137 drivers/iio/accel/mma9553.c 		dev_err(&client->dev, "unable to register iio device\n");
client           1145 drivers/iio/accel/mma9553.c 	mma9551_set_device_state(client, false);
client           1149 drivers/iio/accel/mma9553.c static int mma9553_remove(struct i2c_client *client)
client           1151 drivers/iio/accel/mma9553.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client           1156 drivers/iio/accel/mma9553.c 	pm_runtime_disable(&client->dev);
client           1157 drivers/iio/accel/mma9553.c 	pm_runtime_set_suspended(&client->dev);
client           1158 drivers/iio/accel/mma9553.c 	pm_runtime_put_noidle(&client->dev);
client           1161 drivers/iio/accel/mma9553.c 	mma9551_set_device_state(data->client, false);
client           1175 drivers/iio/accel/mma9553.c 	ret = mma9551_set_device_state(data->client, false);
client           1178 drivers/iio/accel/mma9553.c 		dev_err(&data->client->dev, "powering off device failed\n");
client           1191 drivers/iio/accel/mma9553.c 	ret = mma9551_set_device_state(data->client, true);
client           1209 drivers/iio/accel/mma9553.c 	ret = mma9551_set_device_state(data->client, false);
client           1222 drivers/iio/accel/mma9553.c 	ret = mma9551_set_device_state(data->client, true);
client            388 drivers/iio/accel/mxc4005.c static int mxc4005_probe(struct i2c_client *client,
client            396 drivers/iio/accel/mxc4005.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            400 drivers/iio/accel/mxc4005.c 	regmap = devm_regmap_init_i2c(client, &mxc4005_regmap_config);
client            402 drivers/iio/accel/mxc4005.c 		dev_err(&client->dev, "failed to initialize regmap\n");
client            407 drivers/iio/accel/mxc4005.c 	i2c_set_clientdata(client, indio_dev);
client            408 drivers/iio/accel/mxc4005.c 	data->dev = &client->dev;
client            413 drivers/iio/accel/mxc4005.c 		dev_err(&client->dev, "failed to initialize chip\n");
client            419 drivers/iio/accel/mxc4005.c 	indio_dev->dev.parent = &client->dev;
client            427 drivers/iio/accel/mxc4005.c 	ret = devm_iio_triggered_buffer_setup(&client->dev, indio_dev,
client            432 drivers/iio/accel/mxc4005.c 		dev_err(&client->dev,
client            437 drivers/iio/accel/mxc4005.c 	if (client->irq > 0) {
client            438 drivers/iio/accel/mxc4005.c 		data->dready_trig = devm_iio_trigger_alloc(&client->dev,
client            445 drivers/iio/accel/mxc4005.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            453 drivers/iio/accel/mxc4005.c 			dev_err(&client->dev,
client            458 drivers/iio/accel/mxc4005.c 		data->dready_trig->dev.parent = &client->dev;
client            463 drivers/iio/accel/mxc4005.c 		ret = devm_iio_trigger_register(&client->dev,
client            466 drivers/iio/accel/mxc4005.c 			dev_err(&client->dev,
client            472 drivers/iio/accel/mxc4005.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             45 drivers/iio/accel/mxc6255.c 	struct i2c_client *client;
client             61 drivers/iio/accel/mxc6255.c 			dev_err(&data->client->dev,
client            116 drivers/iio/accel/mxc6255.c static int mxc6255_probe(struct i2c_client *client,
client            125 drivers/iio/accel/mxc6255.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            129 drivers/iio/accel/mxc6255.c 	regmap = devm_regmap_init_i2c(client, &mxc6255_regmap_config);
client            131 drivers/iio/accel/mxc6255.c 		dev_err(&client->dev, "Error initializing regmap\n");
client            136 drivers/iio/accel/mxc6255.c 	i2c_set_clientdata(client, indio_dev);
client            137 drivers/iio/accel/mxc6255.c 	data->client = client;
client            141 drivers/iio/accel/mxc6255.c 	indio_dev->dev.parent = &client->dev;
client            149 drivers/iio/accel/mxc6255.c 		dev_err(&client->dev, "Error reading chip id %d\n", ret);
client            154 drivers/iio/accel/mxc6255.c 		dev_err(&client->dev, "Invalid chip id %x\n", chip_id);
client            158 drivers/iio/accel/mxc6255.c 	dev_dbg(&client->dev, "Chip id %x\n", chip_id);
client            160 drivers/iio/accel/mxc6255.c 	ret = devm_iio_device_register(&client->dev, indio_dev);
client            162 drivers/iio/accel/mxc6255.c 		dev_err(&client->dev, "Could not register IIO device\n");
client            151 drivers/iio/accel/st_accel_i2c.c static int st_accel_i2c_probe(struct i2c_client *client)
client            159 drivers/iio/accel/st_accel_i2c.c 	match = device_get_match_data(&client->dev);
client            161 drivers/iio/accel/st_accel_i2c.c 		strlcpy(client->name, match, sizeof(client->name));
client            163 drivers/iio/accel/st_accel_i2c.c 	settings = st_accel_get_settings(client->name);
client            165 drivers/iio/accel/st_accel_i2c.c 		dev_err(&client->dev, "device name %s not recognized.\n",
client            166 drivers/iio/accel/st_accel_i2c.c 			client->name);
client            170 drivers/iio/accel/st_accel_i2c.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*adata));
client            177 drivers/iio/accel/st_accel_i2c.c 	ret = st_sensors_i2c_configure(indio_dev, client);
client            188 drivers/iio/accel/st_accel_i2c.c static int st_accel_i2c_remove(struct i2c_client *client)
client            190 drivers/iio/accel/st_accel_i2c.c 	st_accel_common_remove(i2c_get_clientdata(client));
client             99 drivers/iio/accel/stk8312.c 	struct i2c_client *client;
client            127 drivers/iio/accel/stk8312.c 	struct i2c_client *client = data->client;
client            129 drivers/iio/accel/stk8312.c 	ret = i2c_smbus_write_byte_data(client, STK8312_REG_OTPADDR, 0x70);
client            132 drivers/iio/accel/stk8312.c 	ret = i2c_smbus_write_byte_data(client, STK8312_REG_OTPCTRL, 0x02);
client            138 drivers/iio/accel/stk8312.c 		ret = i2c_smbus_read_byte_data(client, STK8312_REG_OTPCTRL);
client            149 drivers/iio/accel/stk8312.c 	ret = i2c_smbus_read_byte_data(client, STK8312_REG_OTPDATA);
client            155 drivers/iio/accel/stk8312.c 	ret = i2c_smbus_write_byte_data(data->client, STK8312_REG_AFECTRL, ret);
client            163 drivers/iio/accel/stk8312.c 	dev_err(&client->dev, "failed to initialize sensor\n");
client            170 drivers/iio/accel/stk8312.c 	struct i2c_client *client = data->client;
client            175 drivers/iio/accel/stk8312.c 	ret = i2c_smbus_write_byte_data(client, STK8312_REG_MODE, mode);
client            177 drivers/iio/accel/stk8312.c 		dev_err(&client->dev, "failed to change sensor mode\n");
client            195 drivers/iio/accel/stk8312.c 	struct i2c_client *client = data->client;
client            203 drivers/iio/accel/stk8312.c 	ret = i2c_smbus_write_byte_data(client, STK8312_REG_INTSU, int_mask);
client            205 drivers/iio/accel/stk8312.c 		dev_err(&client->dev, "failed to set interrupts\n");
client            226 drivers/iio/accel/stk8312.c 		dev_err(&data->client->dev, "failed to set trigger state\n");
client            244 drivers/iio/accel/stk8312.c 	struct i2c_client *client = data->client;
client            255 drivers/iio/accel/stk8312.c 	ret = i2c_smbus_read_byte_data(client, STK8312_REG_SR);
client            261 drivers/iio/accel/stk8312.c 	ret = i2c_smbus_write_byte_data(client, STK8312_REG_SR, masked_reg);
client            270 drivers/iio/accel/stk8312.c 	dev_err(&client->dev, "failed to set sampling rate\n");
client            281 drivers/iio/accel/stk8312.c 	struct i2c_client *client = data->client;
client            294 drivers/iio/accel/stk8312.c 	ret = i2c_smbus_read_byte_data(client, STK8312_REG_STH);
client            301 drivers/iio/accel/stk8312.c 	ret = i2c_smbus_write_byte_data(client, STK8312_REG_STH, masked_reg);
client            310 drivers/iio/accel/stk8312.c 	dev_err(&client->dev, "failed to change sensor range\n");
client            319 drivers/iio/accel/stk8312.c 	struct i2c_client *client = data->client;
client            324 drivers/iio/accel/stk8312.c 	ret = i2c_smbus_read_byte_data(client, address);
client            326 drivers/iio/accel/stk8312.c 		dev_err(&client->dev, "register read failed\n");
client            438 drivers/iio/accel/stk8312.c 		ret = i2c_smbus_read_i2c_block_data(data->client,
client            443 drivers/iio/accel/stk8312.c 			dev_err(&data->client->dev, "register read failed\n");
client            500 drivers/iio/accel/stk8312.c static int stk8312_probe(struct i2c_client *client,
client            507 drivers/iio/accel/stk8312.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            509 drivers/iio/accel/stk8312.c 		dev_err(&client->dev, "iio allocation failed!\n");
client            514 drivers/iio/accel/stk8312.c 	data->client = client;
client            515 drivers/iio/accel/stk8312.c 	i2c_set_clientdata(client, indio_dev);
client            518 drivers/iio/accel/stk8312.c 	indio_dev->dev.parent = &client->dev;
client            526 drivers/iio/accel/stk8312.c 	ret = i2c_smbus_write_byte_data(data->client, STK8312_REG_RESET, 0x00);
client            528 drivers/iio/accel/stk8312.c 		dev_err(&client->dev, "failed to reset sensor\n");
client            541 drivers/iio/accel/stk8312.c 	if (client->irq > 0) {
client            542 drivers/iio/accel/stk8312.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            550 drivers/iio/accel/stk8312.c 			dev_err(&client->dev, "request irq %d failed\n",
client            551 drivers/iio/accel/stk8312.c 				client->irq);
client            555 drivers/iio/accel/stk8312.c 		data->dready_trig = devm_iio_trigger_alloc(&client->dev,
client            564 drivers/iio/accel/stk8312.c 		data->dready_trig->dev.parent = &client->dev;
client            569 drivers/iio/accel/stk8312.c 			dev_err(&client->dev, "iio trigger register failed\n");
client            579 drivers/iio/accel/stk8312.c 		dev_err(&client->dev, "iio triggered buffer setup failed\n");
client            585 drivers/iio/accel/stk8312.c 		dev_err(&client->dev, "device_register failed\n");
client            601 drivers/iio/accel/stk8312.c static int stk8312_remove(struct i2c_client *client)
client            603 drivers/iio/accel/stk8312.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             88 drivers/iio/accel/stk8ba50.c 	struct i2c_client *client;
client            144 drivers/iio/accel/stk8ba50.c 	struct i2c_client *client = data->client;
client            146 drivers/iio/accel/stk8ba50.c 	ret = i2c_smbus_read_word_data(client, reg);
client            148 drivers/iio/accel/stk8ba50.c 		dev_err(&client->dev, "register read failed\n");
client            163 drivers/iio/accel/stk8ba50.c 		ret = i2c_smbus_write_byte_data(data->client,
client            166 drivers/iio/accel/stk8ba50.c 		ret = i2c_smbus_write_byte_data(data->client,
client            170 drivers/iio/accel/stk8ba50.c 		dev_err(&data->client->dev, "failed to set trigger state\n");
client            185 drivers/iio/accel/stk8ba50.c 	struct i2c_client *client = data->client;
client            187 drivers/iio/accel/stk8ba50.c 	ret = i2c_smbus_read_byte_data(client, STK8BA50_REG_POWMODE);
client            196 drivers/iio/accel/stk8ba50.c 	ret = i2c_smbus_write_byte_data(client, STK8BA50_REG_POWMODE,
client            204 drivers/iio/accel/stk8ba50.c 	dev_err(&client->dev, "failed to change sensor mode\n");
client            271 drivers/iio/accel/stk8ba50.c 		ret = i2c_smbus_write_byte_data(data->client,
client            275 drivers/iio/accel/stk8ba50.c 			dev_err(&data->client->dev,
client            290 drivers/iio/accel/stk8ba50.c 		ret = i2c_smbus_write_byte_data(data->client,
client            294 drivers/iio/accel/stk8ba50.c 			dev_err(&data->client->dev,
client            324 drivers/iio/accel/stk8ba50.c 		ret = i2c_smbus_read_i2c_block_data(data->client,
client            329 drivers/iio/accel/stk8ba50.c 			dev_err(&data->client->dev, "register read failed\n");
client            384 drivers/iio/accel/stk8ba50.c static int stk8ba50_probe(struct i2c_client *client,
client            391 drivers/iio/accel/stk8ba50.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            393 drivers/iio/accel/stk8ba50.c 		dev_err(&client->dev, "iio allocation failed!\n");
client            398 drivers/iio/accel/stk8ba50.c 	data->client = client;
client            399 drivers/iio/accel/stk8ba50.c 	i2c_set_clientdata(client, indio_dev);
client            402 drivers/iio/accel/stk8ba50.c 	indio_dev->dev.parent = &client->dev;
client            410 drivers/iio/accel/stk8ba50.c 	ret = i2c_smbus_write_byte_data(client,
client            413 drivers/iio/accel/stk8ba50.c 		dev_err(&client->dev, "failed to reset sensor\n");
client            424 drivers/iio/accel/stk8ba50.c 	ret = i2c_smbus_write_byte_data(client,
client            427 drivers/iio/accel/stk8ba50.c 		dev_err(&client->dev, "failed to set up interrupts\n");
client            430 drivers/iio/accel/stk8ba50.c 	ret = i2c_smbus_write_byte_data(client,
client            433 drivers/iio/accel/stk8ba50.c 		dev_err(&client->dev, "failed to set up interrupts\n");
client            437 drivers/iio/accel/stk8ba50.c 	if (client->irq > 0) {
client            438 drivers/iio/accel/stk8ba50.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            446 drivers/iio/accel/stk8ba50.c 			dev_err(&client->dev, "request irq %d failed\n",
client            447 drivers/iio/accel/stk8ba50.c 				client->irq);
client            451 drivers/iio/accel/stk8ba50.c 		data->dready_trig = devm_iio_trigger_alloc(&client->dev,
client            460 drivers/iio/accel/stk8ba50.c 		data->dready_trig->dev.parent = &client->dev;
client            465 drivers/iio/accel/stk8ba50.c 			dev_err(&client->dev, "iio trigger register failed\n");
client            475 drivers/iio/accel/stk8ba50.c 		dev_err(&client->dev, "iio triggered buffer setup failed\n");
client            481 drivers/iio/accel/stk8ba50.c 		dev_err(&client->dev, "device_register failed\n");
client            497 drivers/iio/accel/stk8ba50.c static int stk8ba50_remove(struct i2c_client *client)
client            499 drivers/iio/accel/stk8ba50.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             82 drivers/iio/adc/ad7291.c 	struct i2c_client	*client;
client             91 drivers/iio/adc/ad7291.c 	struct i2c_client *client = chip->client;
client             94 drivers/iio/adc/ad7291.c 	ret = i2c_smbus_read_word_swapped(client, reg);
client             96 drivers/iio/adc/ad7291.c 		dev_err(&client->dev, "I2C read error\n");
client            107 drivers/iio/adc/ad7291.c 	return i2c_smbus_write_word_swapped(chip->client, reg, data);
client            349 drivers/iio/adc/ad7291.c 			ret = i2c_smbus_read_word_swapped(chip->client,
client            360 drivers/iio/adc/ad7291.c 			ret = i2c_smbus_read_word_swapped(chip->client,
client            370 drivers/iio/adc/ad7291.c 		ret = i2c_smbus_read_word_swapped(chip->client,
client            465 drivers/iio/adc/ad7291.c static int ad7291_probe(struct i2c_client *client,
client            468 drivers/iio/adc/ad7291.c 	struct ad7291_platform_data *pdata = client->dev.platform_data;
client            473 drivers/iio/adc/ad7291.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*chip));
client            479 drivers/iio/adc/ad7291.c 		chip->reg = devm_regulator_get(&client->dev, "vref");
client            490 drivers/iio/adc/ad7291.c 	i2c_set_clientdata(client, indio_dev);
client            492 drivers/iio/adc/ad7291.c 	chip->client = client;
client            505 drivers/iio/adc/ad7291.c 	indio_dev->dev.parent = &client->dev;
client            506 drivers/iio/adc/ad7291.c 	indio_dev->dev.of_node = client->dev.of_node;
client            522 drivers/iio/adc/ad7291.c 	if (client->irq > 0) {
client            523 drivers/iio/adc/ad7291.c 		ret = request_threaded_irq(client->irq,
client            540 drivers/iio/adc/ad7291.c 	if (client->irq)
client            541 drivers/iio/adc/ad7291.c 		free_irq(client->irq, indio_dev);
client            549 drivers/iio/adc/ad7291.c static int ad7291_remove(struct i2c_client *client)
client            551 drivers/iio/adc/ad7291.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            556 drivers/iio/adc/ad7291.c 	if (client->irq)
client            557 drivers/iio/adc/ad7291.c 		free_irq(client->irq, indio_dev);
client            124 drivers/iio/adc/ad799x.c 	struct i2c_client		*client;
client            140 drivers/iio/adc/ad799x.c 		return i2c_smbus_write_word_swapped(st->client, AD7998_CONF_REG,
client            145 drivers/iio/adc/ad799x.c 		return i2c_smbus_write_byte_data(st->client, AD7998_CONF_REG,
client            159 drivers/iio/adc/ad799x.c 		return i2c_smbus_read_word_swapped(st->client, AD7998_CONF_REG);
client            163 drivers/iio/adc/ad799x.c 		return i2c_smbus_read_byte_data(st->client, AD7998_CONF_REG);
client            205 drivers/iio/adc/ad799x.c 	b_sent = i2c_smbus_read_i2c_block_data(st->client,
client            267 drivers/iio/adc/ad799x.c 	return i2c_smbus_read_word_swapped(st->client, cmd);
client            319 drivers/iio/adc/ad799x.c 	int ret = i2c_smbus_read_byte_data(st->client, AD7998_CYCLE_TMR_REG);
client            342 drivers/iio/adc/ad799x.c 	ret = i2c_smbus_read_byte_data(st->client, AD7998_CYCLE_TMR_REG);
client            356 drivers/iio/adc/ad799x.c 	ret = i2c_smbus_write_byte_data(st->client, AD7998_CYCLE_TMR_REG,
client            445 drivers/iio/adc/ad799x.c 	ret = i2c_smbus_write_word_swapped(st->client,
client            464 drivers/iio/adc/ad799x.c 	ret = i2c_smbus_read_word_swapped(st->client,
client            481 drivers/iio/adc/ad799x.c 	ret = i2c_smbus_read_byte_data(st->client, AD7998_ALERT_STAT_REG);
client            485 drivers/iio/adc/ad799x.c 	if (i2c_smbus_write_byte_data(st->client, AD7998_ALERT_STAT_REG,
client            760 drivers/iio/adc/ad799x.c static int ad799x_probe(struct i2c_client *client,
client            769 drivers/iio/adc/ad799x.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*st));
client            775 drivers/iio/adc/ad799x.c 	i2c_set_clientdata(client, indio_dev);
client            778 drivers/iio/adc/ad799x.c 	if (client->irq > 0 && chip_info->irq_config.info)
client            785 drivers/iio/adc/ad799x.c 	st->reg = devm_regulator_get(&client->dev, "vcc");
client            791 drivers/iio/adc/ad799x.c 	st->vref = devm_regulator_get(&client->dev, "vref");
client            800 drivers/iio/adc/ad799x.c 	st->client = client;
client            802 drivers/iio/adc/ad799x.c 	indio_dev->dev.parent = &client->dev;
client            803 drivers/iio/adc/ad799x.c 	indio_dev->dev.of_node = client->dev.of_node;
client            824 drivers/iio/adc/ad799x.c 	if (client->irq > 0) {
client            825 drivers/iio/adc/ad799x.c 		ret = devm_request_threaded_irq(&client->dev,
client            826 drivers/iio/adc/ad799x.c 						client->irq,
client            831 drivers/iio/adc/ad799x.c 						client->name,
client            852 drivers/iio/adc/ad799x.c static int ad799x_remove(struct i2c_client *client)
client            854 drivers/iio/adc/ad799x.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            948 drivers/iio/adc/ina2xx-adc.c static int ina2xx_probe(struct i2c_client *client,
client            958 drivers/iio/adc/ina2xx-adc.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*chip));
client            965 drivers/iio/adc/ina2xx-adc.c 	i2c_set_clientdata(client, indio_dev);
client            967 drivers/iio/adc/ina2xx-adc.c 	chip->regmap = devm_regmap_init_i2c(client, &ina2xx_regmap_config);
client            969 drivers/iio/adc/ina2xx-adc.c 		dev_err(&client->dev, "failed to allocate register map\n");
client            973 drivers/iio/adc/ina2xx-adc.c 	if (client->dev.of_node)
client            974 drivers/iio/adc/ina2xx-adc.c 		type = (enum ina2xx_ids)of_device_get_match_data(&client->dev);
client            981 drivers/iio/adc/ina2xx-adc.c 	if (of_property_read_u32(client->dev.of_node,
client            984 drivers/iio/adc/ina2xx-adc.c 		    dev_get_platdata(&client->dev);
client           1013 drivers/iio/adc/ina2xx-adc.c 		dev_err(&client->dev, "error configuring the device\n");
client           1018 drivers/iio/adc/ina2xx-adc.c 	indio_dev->dev.parent = &client->dev;
client           1019 drivers/iio/adc/ina2xx-adc.c 	indio_dev->dev.of_node = client->dev.of_node;
client           1041 drivers/iio/adc/ina2xx-adc.c static int ina2xx_remove(struct i2c_client *client)
client           1043 drivers/iio/adc/ina2xx-adc.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             23 drivers/iio/adc/ltc2471.c 	struct i2c_client *client;
client             30 drivers/iio/adc/ltc2471.c static int ltc2471_get_value(struct i2c_client *client)
client             35 drivers/iio/adc/ltc2471.c 	ret = i2c_master_recv(client, (char *)&buf, sizeof(buf));
client             54 drivers/iio/adc/ltc2471.c 		ret = ltc2471_get_value(data->client);
client            102 drivers/iio/adc/ltc2471.c static int ltc2471_i2c_probe(struct i2c_client *client,
client            109 drivers/iio/adc/ltc2471.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            112 drivers/iio/adc/ltc2471.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            117 drivers/iio/adc/ltc2471.c 	data->client = client;
client            119 drivers/iio/adc/ltc2471.c 	indio_dev->dev.parent = &client->dev;
client            130 drivers/iio/adc/ltc2471.c 	ret = ltc2471_get_value(client);
client            132 drivers/iio/adc/ltc2471.c 		dev_err(&client->dev, "Cannot read from device.\n");
client            136 drivers/iio/adc/ltc2471.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             21 drivers/iio/adc/ltc2485.c 	struct i2c_client	*client;
client             39 drivers/iio/adc/ltc2485.c 	struct i2c_client *client = data->client;
client             45 drivers/iio/adc/ltc2485.c 	ret = i2c_master_recv(client, (char *)&buf, 4);
client             47 drivers/iio/adc/ltc2485.c 		dev_err(&client->dev, "i2c_master_recv failed\n");
client             92 drivers/iio/adc/ltc2485.c static int ltc2485_probe(struct i2c_client *client,
client             99 drivers/iio/adc/ltc2485.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C |
client            103 drivers/iio/adc/ltc2485.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            108 drivers/iio/adc/ltc2485.c 	i2c_set_clientdata(client, indio_dev);
client            109 drivers/iio/adc/ltc2485.c 	data->client = client;
client            111 drivers/iio/adc/ltc2485.c 	indio_dev->dev.parent = &client->dev;
client            118 drivers/iio/adc/ltc2485.c 	ret = i2c_smbus_write_byte(data->client, LTC2485_CONFIG_DEFAULT);
client            124 drivers/iio/adc/ltc2485.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             27 drivers/iio/adc/ltc2497.c 	struct i2c_client *client;
client             67 drivers/iio/adc/ltc2497.c 	struct i2c_client *client = st->client;
client             75 drivers/iio/adc/ltc2497.c 		ret = i2c_smbus_write_byte(st->client,
client             83 drivers/iio/adc/ltc2497.c 	ret = i2c_master_recv(client, (char *)&st->buf, 3);
client             85 drivers/iio/adc/ltc2497.c 		dev_err(&client->dev, "i2c_master_recv failed\n");
client            190 drivers/iio/adc/ltc2497.c static int ltc2497_probe(struct i2c_client *client,
client            198 drivers/iio/adc/ltc2497.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C |
client            202 drivers/iio/adc/ltc2497.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*st));
client            207 drivers/iio/adc/ltc2497.c 	i2c_set_clientdata(client, indio_dev);
client            208 drivers/iio/adc/ltc2497.c 	st->client = client;
client            210 drivers/iio/adc/ltc2497.c 	indio_dev->dev.parent = &client->dev;
client            217 drivers/iio/adc/ltc2497.c 	st->ref = devm_regulator_get(&client->dev, "vref");
client            225 drivers/iio/adc/ltc2497.c 	if (client->dev.platform_data) {
client            226 drivers/iio/adc/ltc2497.c 		plat_data = ((struct iio_map *)client->dev.platform_data);
client            234 drivers/iio/adc/ltc2497.c 	ret = i2c_smbus_write_byte(st->client, LTC2497_CONFIG_DEFAULT);
client            256 drivers/iio/adc/ltc2497.c static int ltc2497_remove(struct i2c_client *client)
client            258 drivers/iio/adc/ltc2497.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            165 drivers/iio/adc/max1363.c 	struct i2c_client		*client;
client            184 drivers/iio/adc/max1363.c 	int				(*send)(const struct i2c_client *client,
client            186 drivers/iio/adc/max1363.c 	int				(*recv)(const struct i2c_client *client,
client            313 drivers/iio/adc/max1363.c static int max1363_smbus_send(const struct i2c_client *client, const char *buf,
client            319 drivers/iio/adc/max1363.c 		err = i2c_smbus_write_byte(client, buf[i]);
client            324 drivers/iio/adc/max1363.c static int max1363_smbus_recv(const struct i2c_client *client, char *buf,
client            330 drivers/iio/adc/max1363.c 		ret = i2c_smbus_read_byte(client);
client            343 drivers/iio/adc/max1363.c 	return st->send(st->client, tx_buf, 2);
client            365 drivers/iio/adc/max1363.c 	struct i2c_client *client = st->client;
client            390 drivers/iio/adc/max1363.c 		data = st->recv(client, rxbuf, 2);
client            399 drivers/iio/adc/max1363.c 		data = st->recv(client, rxbuf, 1);
client            796 drivers/iio/adc/max1363.c 	st->recv(st->client, &rx, 1);
client            800 drivers/iio/adc/max1363.c 	st->send(st->client, tx, 2);
client            898 drivers/iio/adc/max1363.c 	ret = st->send(st->client, tx_buf, len);
client            915 drivers/iio/adc/max1363.c 	ret = st->send(st->client, tx_buf, 2);
client           1502 drivers/iio/adc/max1363.c 		b_sent = st->recv(st->client, rxbuf, numvals * 2);
client           1504 drivers/iio/adc/max1363.c 		b_sent = st->recv(st->client, rxbuf, numvals);
client           1570 drivers/iio/adc/max1363.c static int max1363_probe(struct i2c_client *client,
client           1578 drivers/iio/adc/max1363.c 	indio_dev = devm_iio_device_alloc(&client->dev,
client           1583 drivers/iio/adc/max1363.c 	indio_dev->dev.of_node = client->dev.of_node;
client           1584 drivers/iio/adc/max1363.c 	ret = iio_map_array_register(indio_dev, client->dev.platform_data);
client           1590 drivers/iio/adc/max1363.c 	st->reg = devm_regulator_get(&client->dev, "vcc");
client           1601 drivers/iio/adc/max1363.c 	i2c_set_clientdata(client, indio_dev);
client           1603 drivers/iio/adc/max1363.c 	st->chip_info = of_device_get_match_data(&client->dev);
client           1606 drivers/iio/adc/max1363.c 	st->client = client;
client           1609 drivers/iio/adc/max1363.c 	vref = devm_regulator_get_optional(&client->dev, "vref");
client           1625 drivers/iio/adc/max1363.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client           1628 drivers/iio/adc/max1363.c 	} else if (i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE)
client           1642 drivers/iio/adc/max1363.c 	indio_dev->dev.parent = &client->dev;
client           1643 drivers/iio/adc/max1363.c 	indio_dev->dev.of_node = client->dev.of_node;
client           1658 drivers/iio/adc/max1363.c 	if (client->irq) {
client           1659 drivers/iio/adc/max1363.c 		ret = devm_request_threaded_irq(&client->dev, st->client->irq,
client           1687 drivers/iio/adc/max1363.c static int max1363_remove(struct i2c_client *client)
client           1689 drivers/iio/adc/max1363.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            470 drivers/iio/adc/max9611.c 	struct i2c_client *client = max9611->i2c_client;
client            474 drivers/iio/adc/max9611.c 	if (!i2c_check_functionality(client->adapter,
client            526 drivers/iio/adc/max9611.c static int max9611_probe(struct i2c_client *client,
client            530 drivers/iio/adc/max9611.c 	const struct device_node *of_node = client->dev.of_node;
client            532 drivers/iio/adc/max9611.c 		of_match_device(max9611_of_table, &client->dev);
client            538 drivers/iio/adc/max9611.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*max9611));
client            542 drivers/iio/adc/max9611.c 	i2c_set_clientdata(client, indio_dev);
client            545 drivers/iio/adc/max9611.c 	max9611->dev		= &client->dev;
client            546 drivers/iio/adc/max9611.c 	max9611->i2c_client	= client;
client            551 drivers/iio/adc/max9611.c 		dev_err(&client->dev,
client            562 drivers/iio/adc/max9611.c 	indio_dev->dev.parent	= &client->dev;
client            563 drivers/iio/adc/max9611.c 	indio_dev->dev.of_node	= client->dev.of_node;
client            570 drivers/iio/adc/max9611.c 	return devm_iio_device_register(&client->dev, indio_dev);
client            328 drivers/iio/adc/mcp3422.c static int mcp3422_probe(struct i2c_client *client,
client            336 drivers/iio/adc/mcp3422.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            339 drivers/iio/adc/mcp3422.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*adc));
client            344 drivers/iio/adc/mcp3422.c 	adc->i2c = client;
client            349 drivers/iio/adc/mcp3422.c 	indio_dev->dev.parent = &client->dev;
client            350 drivers/iio/adc/mcp3422.c 	indio_dev->dev.of_node = client->dev.of_node;
client            351 drivers/iio/adc/mcp3422.c 	indio_dev->name = dev_name(&client->dev);
client            384 drivers/iio/adc/mcp3422.c 	err = devm_iio_device_register(&client->dev, indio_dev);
client            388 drivers/iio/adc/mcp3422.c 	i2c_set_clientdata(client, indio_dev);
client             51 drivers/iio/adc/nau7802.c 	struct i2c_client	*client;
client            118 drivers/iio/adc/nau7802.c 	ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_CTRL1);
client            121 drivers/iio/adc/nau7802.c 	ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_CTRL1,
client            136 drivers/iio/adc/nau7802.c 	data = i2c_smbus_read_byte_data(st->client, NAU7802_REG_ADC_B2);
client            141 drivers/iio/adc/nau7802.c 	data = i2c_smbus_read_byte_data(st->client, NAU7802_REG_ADC_B1);
client            146 drivers/iio/adc/nau7802.c 	data = i2c_smbus_read_byte_data(st->client, NAU7802_REG_ADC_B0);
client            166 drivers/iio/adc/nau7802.c 	ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_PUCTRL);
client            169 drivers/iio/adc/nau7802.c 	ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_PUCTRL,
client            181 drivers/iio/adc/nau7802.c 	status = i2c_smbus_read_byte_data(st->client, NAU7802_REG_PUCTRL);
client            212 drivers/iio/adc/nau7802.c 	enable_irq(st->client->irq);
client            230 drivers/iio/adc/nau7802.c 	disable_irq(st->client->irq);
client            237 drivers/iio/adc/nau7802.c 	disable_irq(st->client->irq);
client            262 drivers/iio/adc/nau7802.c 		ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_PUCTRL);
client            271 drivers/iio/adc/nau7802.c 			ret = i2c_smbus_read_byte_data(st->client,
client            304 drivers/iio/adc/nau7802.c 		ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_CTRL2);
client            314 drivers/iio/adc/nau7802.c 			ret = i2c_smbus_write_byte_data(st->client,
client            325 drivers/iio/adc/nau7802.c 		if (st->client->irq)
client            334 drivers/iio/adc/nau7802.c 		ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_CTRL1);
client            380 drivers/iio/adc/nau7802.c 				ret = i2c_smbus_write_byte_data(st->client,
client            410 drivers/iio/adc/nau7802.c static int nau7802_probe(struct i2c_client *client,
client            415 drivers/iio/adc/nau7802.c 	struct device_node *np = client->dev.of_node;
client            420 drivers/iio/adc/nau7802.c 	if (!client->dev.of_node) {
client            421 drivers/iio/adc/nau7802.c 		dev_err(&client->dev, "No device tree node available.\n");
client            425 drivers/iio/adc/nau7802.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*st));
client            431 drivers/iio/adc/nau7802.c 	i2c_set_clientdata(client, indio_dev);
client            433 drivers/iio/adc/nau7802.c 	indio_dev->dev.parent = &client->dev;
client            434 drivers/iio/adc/nau7802.c 	indio_dev->dev.of_node = client->dev.of_node;
client            435 drivers/iio/adc/nau7802.c 	indio_dev->name = dev_name(&client->dev);
client            439 drivers/iio/adc/nau7802.c 	st->client = client;
client            442 drivers/iio/adc/nau7802.c 	ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_PUCTRL,
client            448 drivers/iio/adc/nau7802.c 	ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_PUCTRL,
client            458 drivers/iio/adc/nau7802.c 	ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_PUCTRL);
client            472 drivers/iio/adc/nau7802.c 	ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_PUCTRL, data);
client            475 drivers/iio/adc/nau7802.c 	ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_ADC_CTRL, 0x30);
client            481 drivers/iio/adc/nau7802.c 		ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_CTRL1,
client            499 drivers/iio/adc/nau7802.c 	if (client->irq) {
client            500 drivers/iio/adc/nau7802.c 		ret = request_threaded_irq(client->irq,
client            504 drivers/iio/adc/nau7802.c 				client->dev.driver->name,
client            515 drivers/iio/adc/nau7802.c 			dev_info(&client->dev,
client            517 drivers/iio/adc/nau7802.c 			client->irq = 0;
client            519 drivers/iio/adc/nau7802.c 			disable_irq(client->irq);
client            522 drivers/iio/adc/nau7802.c 	if (!client->irq) {
client            528 drivers/iio/adc/nau7802.c 		ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_CTRL2,
client            543 drivers/iio/adc/nau7802.c 		dev_err(&client->dev, "Couldn't register the device.\n");
client            553 drivers/iio/adc/nau7802.c 	if (client->irq)
client            554 drivers/iio/adc/nau7802.c 		free_irq(client->irq, indio_dev);
client            559 drivers/iio/adc/nau7802.c static int nau7802_remove(struct i2c_client *client)
client            561 drivers/iio/adc/nau7802.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            567 drivers/iio/adc/nau7802.c 	if (client->irq)
client            568 drivers/iio/adc/nau7802.c 		free_irq(client->irq, indio_dev);
client            145 drivers/iio/adc/ti-adc081c.c static int adc081c_probe(struct i2c_client *client,
client            153 drivers/iio/adc/ti-adc081c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WORD_DATA))
client            156 drivers/iio/adc/ti-adc081c.c 	if (ACPI_COMPANION(&client->dev)) {
client            159 drivers/iio/adc/ti-adc081c.c 		ad_id = acpi_match_device(client->dev.driver->acpi_match_table,
client            160 drivers/iio/adc/ti-adc081c.c 					  &client->dev);
client            168 drivers/iio/adc/ti-adc081c.c 	iio = devm_iio_device_alloc(&client->dev, sizeof(*adc));
client            173 drivers/iio/adc/ti-adc081c.c 	adc->i2c = client;
client            176 drivers/iio/adc/ti-adc081c.c 	adc->ref = devm_regulator_get(&client->dev, "vref");
client            184 drivers/iio/adc/ti-adc081c.c 	iio->dev.parent = &client->dev;
client            185 drivers/iio/adc/ti-adc081c.c 	iio->dev.of_node = client->dev.of_node;
client            186 drivers/iio/adc/ti-adc081c.c 	iio->name = dev_name(&client->dev);
client            195 drivers/iio/adc/ti-adc081c.c 		dev_err(&client->dev, "iio triggered buffer setup failed\n");
client            203 drivers/iio/adc/ti-adc081c.c 	i2c_set_clientdata(client, iio);
client            215 drivers/iio/adc/ti-adc081c.c static int adc081c_remove(struct i2c_client *client)
client            217 drivers/iio/adc/ti-adc081c.c 	struct iio_dev *iio = i2c_get_clientdata(client);
client            841 drivers/iio/adc/ti-ads1015.c static int ads1015_get_channels_config_of(struct i2c_client *client)
client            843 drivers/iio/adc/ti-ads1015.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            847 drivers/iio/adc/ti-ads1015.c 	if (!client->dev.of_node ||
client            848 drivers/iio/adc/ti-ads1015.c 	    !of_get_next_child(client->dev.of_node, NULL))
client            851 drivers/iio/adc/ti-ads1015.c 	for_each_child_of_node(client->dev.of_node, node) {
client            858 drivers/iio/adc/ti-ads1015.c 			dev_err(&client->dev, "invalid reg on %pOF\n",
client            865 drivers/iio/adc/ti-ads1015.c 			dev_err(&client->dev,
client            874 drivers/iio/adc/ti-ads1015.c 				dev_err(&client->dev, "invalid gain on %pOF\n",
client            884 drivers/iio/adc/ti-ads1015.c 				dev_err(&client->dev,
client            900 drivers/iio/adc/ti-ads1015.c static void ads1015_get_channels_config(struct i2c_client *client)
client            904 drivers/iio/adc/ti-ads1015.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            906 drivers/iio/adc/ti-ads1015.c 	struct ads1015_platform_data *pdata = dev_get_platdata(&client->dev);
client            916 drivers/iio/adc/ti-ads1015.c 	if (!ads1015_get_channels_config_of(client))
client            933 drivers/iio/adc/ti-ads1015.c static int ads1015_probe(struct i2c_client *client,
client            942 drivers/iio/adc/ti-ads1015.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            947 drivers/iio/adc/ti-ads1015.c 	i2c_set_clientdata(client, indio_dev);
client            951 drivers/iio/adc/ti-ads1015.c 	indio_dev->dev.parent = &client->dev;
client            952 drivers/iio/adc/ti-ads1015.c 	indio_dev->dev.of_node = client->dev.of_node;
client            956 drivers/iio/adc/ti-ads1015.c 	if (client->dev.of_node)
client            957 drivers/iio/adc/ti-ads1015.c 		chip = (enum chip_ids)of_device_get_match_data(&client->dev);
client            988 drivers/iio/adc/ti-ads1015.c 	ads1015_get_channels_config(client);
client            990 drivers/iio/adc/ti-ads1015.c 	data->regmap = devm_regmap_init_i2c(client, &ads1015_regmap_config);
client            992 drivers/iio/adc/ti-ads1015.c 		dev_err(&client->dev, "Failed to allocate register map\n");
client            996 drivers/iio/adc/ti-ads1015.c 	ret = devm_iio_triggered_buffer_setup(&client->dev, indio_dev, NULL,
client           1000 drivers/iio/adc/ti-ads1015.c 		dev_err(&client->dev, "iio triggered buffer setup failed\n");
client           1004 drivers/iio/adc/ti-ads1015.c 	if (client->irq) {
client           1006 drivers/iio/adc/ti-ads1015.c 			irqd_get_trigger_type(irq_get_irq_data(client->irq));
client           1031 drivers/iio/adc/ti-ads1015.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client           1034 drivers/iio/adc/ti-ads1015.c 						client->name, indio_dev);
client           1045 drivers/iio/adc/ti-ads1015.c 	ret = pm_runtime_set_active(&client->dev);
client           1048 drivers/iio/adc/ti-ads1015.c 	pm_runtime_set_autosuspend_delay(&client->dev, ADS1015_SLEEP_DELAY_MS);
client           1049 drivers/iio/adc/ti-ads1015.c 	pm_runtime_use_autosuspend(&client->dev);
client           1050 drivers/iio/adc/ti-ads1015.c 	pm_runtime_enable(&client->dev);
client           1054 drivers/iio/adc/ti-ads1015.c 		dev_err(&client->dev, "Failed to register IIO device\n");
client           1061 drivers/iio/adc/ti-ads1015.c static int ads1015_remove(struct i2c_client *client)
client           1063 drivers/iio/adc/ti-ads1015.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client           1068 drivers/iio/adc/ti-ads1015.c 	pm_runtime_disable(&client->dev);
client           1069 drivers/iio/adc/ti-ads1015.c 	pm_runtime_set_suspended(&client->dev);
client           1070 drivers/iio/adc/ti-ads1015.c 	pm_runtime_put_noidle(&client->dev);
client             29 drivers/iio/chemical/ams-iaq-core.c 	struct i2c_client *client;
client             60 drivers/iio/chemical/ams-iaq-core.c 	struct i2c_client *client = data->client;
client             64 drivers/iio/chemical/ams-iaq-core.c 		.addr = client->addr,
client             65 drivers/iio/chemical/ams-iaq-core.c 		.flags = client->flags | I2C_M_RD,
client             70 drivers/iio/chemical/ams-iaq-core.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            137 drivers/iio/chemical/ams-iaq-core.c static int ams_iaqcore_probe(struct i2c_client *client,
client            143 drivers/iio/chemical/ams-iaq-core.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            148 drivers/iio/chemical/ams-iaq-core.c 	i2c_set_clientdata(client, indio_dev);
client            149 drivers/iio/chemical/ams-iaq-core.c 	data->client = client;
client            155 drivers/iio/chemical/ams-iaq-core.c 	indio_dev->dev.parent = &client->dev;
client            157 drivers/iio/chemical/ams-iaq-core.c 	indio_dev->name = dev_name(&client->dev);
client            163 drivers/iio/chemical/ams-iaq-core.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             75 drivers/iio/chemical/atlas-ph-sensor.c 	struct i2c_client *client;
client            178 drivers/iio/chemical/atlas-ph-sensor.c 	struct device *dev = &data->client->dev;
client            205 drivers/iio/chemical/atlas-ph-sensor.c 	struct device *dev = &data->client->dev;
client            244 drivers/iio/chemical/atlas-ph-sensor.c 	struct device *dev = &data->client->dev;
client            312 drivers/iio/chemical/atlas-ph-sensor.c 	ret = pm_runtime_get_sync(&data->client->dev);
client            314 drivers/iio/chemical/atlas-ph-sensor.c 		pm_runtime_put_noidle(&data->client->dev);
client            334 drivers/iio/chemical/atlas-ph-sensor.c 	pm_runtime_mark_last_busy(&data->client->dev);
client            335 drivers/iio/chemical/atlas-ph-sensor.c 	return pm_runtime_put_autosuspend(&data->client->dev);
client            385 drivers/iio/chemical/atlas-ph-sensor.c 	struct device *dev = &data->client->dev;
client            512 drivers/iio/chemical/atlas-ph-sensor.c static int atlas_probe(struct i2c_client *client,
client            522 drivers/iio/chemical/atlas-ph-sensor.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            526 drivers/iio/chemical/atlas-ph-sensor.c 	of_id = of_match_device(atlas_dt_ids, &client->dev);
client            537 drivers/iio/chemical/atlas-ph-sensor.c 	indio_dev->dev.parent = &client->dev;
client            539 drivers/iio/chemical/atlas-ph-sensor.c 	trig = devm_iio_trigger_alloc(&client->dev, "%s-dev%d",
client            546 drivers/iio/chemical/atlas-ph-sensor.c 	data->client = client;
client            553 drivers/iio/chemical/atlas-ph-sensor.c 	i2c_set_clientdata(client, indio_dev);
client            555 drivers/iio/chemical/atlas-ph-sensor.c 	data->regmap = devm_regmap_init_i2c(client, &atlas_regmap_config);
client            557 drivers/iio/chemical/atlas-ph-sensor.c 		dev_err(&client->dev, "regmap initialization failed\n");
client            561 drivers/iio/chemical/atlas-ph-sensor.c 	ret = pm_runtime_set_active(&client->dev);
client            565 drivers/iio/chemical/atlas-ph-sensor.c 	if (client->irq <= 0) {
client            566 drivers/iio/chemical/atlas-ph-sensor.c 		dev_err(&client->dev, "no valid irq defined\n");
client            576 drivers/iio/chemical/atlas-ph-sensor.c 		dev_err(&client->dev, "failed to register trigger\n");
client            583 drivers/iio/chemical/atlas-ph-sensor.c 		dev_err(&client->dev, "cannot setup iio trigger\n");
client            590 drivers/iio/chemical/atlas-ph-sensor.c 	ret = devm_request_threaded_irq(&client->dev, client->irq,
client            597 drivers/iio/chemical/atlas-ph-sensor.c 		dev_err(&client->dev, "request irq (%d) failed\n", client->irq);
client            603 drivers/iio/chemical/atlas-ph-sensor.c 		dev_err(&client->dev, "cannot power device on");
client            607 drivers/iio/chemical/atlas-ph-sensor.c 	pm_runtime_enable(&client->dev);
client            608 drivers/iio/chemical/atlas-ph-sensor.c 	pm_runtime_set_autosuspend_delay(&client->dev, 2500);
client            609 drivers/iio/chemical/atlas-ph-sensor.c 	pm_runtime_use_autosuspend(&client->dev);
client            613 drivers/iio/chemical/atlas-ph-sensor.c 		dev_err(&client->dev, "unable to register device\n");
client            620 drivers/iio/chemical/atlas-ph-sensor.c 	pm_runtime_disable(&client->dev);
client            632 drivers/iio/chemical/atlas-ph-sensor.c static int atlas_remove(struct i2c_client *client)
client            634 drivers/iio/chemical/atlas-ph-sensor.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            641 drivers/iio/chemical/atlas-ph-sensor.c 	pm_runtime_disable(&client->dev);
client            642 drivers/iio/chemical/atlas-ph-sensor.c 	pm_runtime_set_suspended(&client->dev);
client            643 drivers/iio/chemical/atlas-ph-sensor.c 	pm_runtime_put_noidle(&client->dev);
client             21 drivers/iio/chemical/bme680_i2c.c static int bme680_i2c_probe(struct i2c_client *client,
client             27 drivers/iio/chemical/bme680_i2c.c 	regmap = devm_regmap_init_i2c(client, &bme680_regmap_config);
client             29 drivers/iio/chemical/bme680_i2c.c 		dev_err(&client->dev, "Failed to register i2c regmap %d\n",
client             37 drivers/iio/chemical/bme680_i2c.c 	return bme680_core_probe(&client->dev, regmap, name);
client             73 drivers/iio/chemical/ccs811.c 	struct i2c_client *client;
client            125 drivers/iio/chemical/ccs811.c static int ccs811_start_sensor_application(struct i2c_client *client)
client            129 drivers/iio/chemical/ccs811.c 	ret = i2c_smbus_read_byte_data(client, CCS811_STATUS);
client            140 drivers/iio/chemical/ccs811.c 	ret = i2c_smbus_write_byte(client, CCS811_APP_START);
client            144 drivers/iio/chemical/ccs811.c 	ret = i2c_smbus_read_byte_data(client, CCS811_STATUS);
client            150 drivers/iio/chemical/ccs811.c 		dev_err(&client->dev, "Application failed to start. Sensor is still in boot mode.\n");
client            157 drivers/iio/chemical/ccs811.c static int ccs811_setup(struct i2c_client *client)
client            161 drivers/iio/chemical/ccs811.c 	ret = ccs811_start_sensor_application(client);
client            165 drivers/iio/chemical/ccs811.c 	return i2c_smbus_write_byte_data(client, CCS811_MEAS_MODE,
client            175 drivers/iio/chemical/ccs811.c 		ret = i2c_smbus_read_byte_data(data->client, CCS811_STATUS);
client            186 drivers/iio/chemical/ccs811.c 	return i2c_smbus_read_i2c_block_data(data->client,
client            285 drivers/iio/chemical/ccs811.c 	ret = i2c_smbus_read_byte_data(data->client, CCS811_MEAS_MODE);
client            296 drivers/iio/chemical/ccs811.c 	return i2c_smbus_write_byte_data(data->client, CCS811_MEAS_MODE, ret);
client            308 drivers/iio/chemical/ccs811.c 	struct i2c_client *client = data->client;
client            312 drivers/iio/chemical/ccs811.c 	ret = i2c_smbus_read_i2c_block_data(client, CCS811_ALG_RESULT_DATA, 4,
client            315 drivers/iio/chemical/ccs811.c 		dev_err(&client->dev, "cannot read sensor data\n");
client            339 drivers/iio/chemical/ccs811.c static int ccs811_probe(struct i2c_client *client,
client            346 drivers/iio/chemical/ccs811.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WRITE_BYTE
client            352 drivers/iio/chemical/ccs811.c 	ret = i2c_smbus_read_byte_data(client, CCS811_HW_ID);
client            357 drivers/iio/chemical/ccs811.c 		dev_err(&client->dev, "hardware id doesn't match CCS81x\n");
client            361 drivers/iio/chemical/ccs811.c 	ret = i2c_smbus_read_byte_data(client, CCS811_HW_VERSION);
client            366 drivers/iio/chemical/ccs811.c 		dev_err(&client->dev, "no CCS811 sensor\n");
client            370 drivers/iio/chemical/ccs811.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            374 drivers/iio/chemical/ccs811.c 	ret = ccs811_setup(client);
client            379 drivers/iio/chemical/ccs811.c 	i2c_set_clientdata(client, indio_dev);
client            380 drivers/iio/chemical/ccs811.c 	data->client = client;
client            384 drivers/iio/chemical/ccs811.c 	indio_dev->dev.parent = &client->dev;
client            392 drivers/iio/chemical/ccs811.c 	if (client->irq > 0) {
client            393 drivers/iio/chemical/ccs811.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            400 drivers/iio/chemical/ccs811.c 			dev_err(&client->dev, "irq request error %d\n", -ret);
client            404 drivers/iio/chemical/ccs811.c 		data->drdy_trig = devm_iio_trigger_alloc(&client->dev,
client            413 drivers/iio/chemical/ccs811.c 		data->drdy_trig->dev.parent = &client->dev;
client            427 drivers/iio/chemical/ccs811.c 		dev_err(&client->dev, "triggered buffer setup failed\n");
client            433 drivers/iio/chemical/ccs811.c 		dev_err(&client->dev, "unable to register iio device\n");
client            444 drivers/iio/chemical/ccs811.c 	i2c_smbus_write_byte_data(client, CCS811_MEAS_MODE, CCS811_MODE_IDLE);
client            449 drivers/iio/chemical/ccs811.c static int ccs811_remove(struct i2c_client *client)
client            451 drivers/iio/chemical/ccs811.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            459 drivers/iio/chemical/ccs811.c 	return i2c_smbus_write_byte_data(client, CCS811_MEAS_MODE,
client            100 drivers/iio/chemical/sgp30.c 	struct i2c_client *client;
client            215 drivers/iio/chemical/sgp30.c 			dev_err(&data->client->dev, "CRC error\n");
client            238 drivers/iio/chemical/sgp30.c 	struct i2c_client *client = data->client;
client            242 drivers/iio/chemical/sgp30.c 	ret = i2c_master_send(client, (const char *)&cmd, SGP_CMD_LEN);
client            251 drivers/iio/chemical/sgp30.c 	ret = i2c_master_recv(client, data_buf, size);
client            321 drivers/iio/chemical/sgp30.c 			dev_warn(&data->client->dev,
client            419 drivers/iio/chemical/sgp30.c 		dev_err(&data->client->dev,
client            426 drivers/iio/chemical/sgp30.c 		dev_err(&data->client->dev,
client            433 drivers/iio/chemical/sgp30.c 		dev_warn(&data->client->dev, "reserved bit is set\n");
client            459 drivers/iio/chemical/sgp30.c 	dev_err(&data->client->dev, "unsupported sgp version: %d.%d\n",
client            499 drivers/iio/chemical/sgp30.c static int sgp_probe(struct i2c_client *client,
client            508 drivers/iio/chemical/sgp30.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            512 drivers/iio/chemical/sgp30.c 	of_id = of_match_device(sgp_dt_ids, &client->dev);
client            519 drivers/iio/chemical/sgp30.c 	i2c_set_clientdata(client, indio_dev);
client            520 drivers/iio/chemical/sgp30.c 	data->client = client;
client            536 drivers/iio/chemical/sgp30.c 	indio_dev->dev.parent = &client->dev;
client            545 drivers/iio/chemical/sgp30.c 	ret = devm_iio_device_register(&client->dev, indio_dev);
client            547 drivers/iio/chemical/sgp30.c 		dev_err(&client->dev, "failed to register iio device\n");
client            552 drivers/iio/chemical/sgp30.c 				       "%s-iaq", data->client->name);
client            557 drivers/iio/chemical/sgp30.c static int sgp_remove(struct i2c_client *client)
client            559 drivers/iio/chemical/sgp30.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             56 drivers/iio/chemical/sps30.c 	struct i2c_client *client;
client             76 drivers/iio/chemical/sps30.c 	ret = i2c_master_send(state->client, txbuf, txsize);
client             83 drivers/iio/chemical/sps30.c 	ret = i2c_master_recv(state->client, rxbuf, rxsize);
client            148 drivers/iio/chemical/sps30.c 			dev_err(&state->client->dev,
client            472 drivers/iio/chemical/sps30.c static int sps30_probe(struct i2c_client *client)
client            479 drivers/iio/chemical/sps30.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            482 drivers/iio/chemical/sps30.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*state));
client            487 drivers/iio/chemical/sps30.c 	i2c_set_clientdata(client, indio_dev);
client            488 drivers/iio/chemical/sps30.c 	state->client = client;
client            490 drivers/iio/chemical/sps30.c 	indio_dev->dev.parent = &client->dev;
client            492 drivers/iio/chemical/sps30.c 	indio_dev->name = client->name;
client            503 drivers/iio/chemical/sps30.c 		dev_err(&client->dev, "failed to reset device\n");
client            509 drivers/iio/chemical/sps30.c 		dev_err(&client->dev, "failed to read serial number\n");
client            513 drivers/iio/chemical/sps30.c 	dev_info(&client->dev, "serial number: %s\n", buf);
client            515 drivers/iio/chemical/sps30.c 	ret = devm_add_action_or_reset(&client->dev, sps30_stop_meas, state);
client            519 drivers/iio/chemical/sps30.c 	ret = devm_iio_triggered_buffer_setup(&client->dev, indio_dev, NULL,
client            524 drivers/iio/chemical/sps30.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             44 drivers/iio/chemical/vz89x.c 	struct i2c_client *client;
client            177 drivers/iio/chemical/vz89x.c 	struct i2c_client *client = data->client;
client            182 drivers/iio/chemical/vz89x.c 	msg[0].addr = client->addr;
client            183 drivers/iio/chemical/vz89x.c 	msg[0].flags = client->flags;
client            187 drivers/iio/chemical/vz89x.c 	msg[1].addr = client->addr;
client            188 drivers/iio/chemical/vz89x.c 	msg[1].flags = client->flags | I2C_M_RD;
client            192 drivers/iio/chemical/vz89x.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            199 drivers/iio/chemical/vz89x.c 	struct i2c_client *client = data->client;
client            203 drivers/iio/chemical/vz89x.c 	ret = i2c_smbus_write_word_data(client, cmd, 0);
client            208 drivers/iio/chemical/vz89x.c 		ret = i2c_smbus_read_byte(client);
client            352 drivers/iio/chemical/vz89x.c static int vz89x_probe(struct i2c_client *client,
client            360 drivers/iio/chemical/vz89x.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            365 drivers/iio/chemical/vz89x.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            367 drivers/iio/chemical/vz89x.c 	else if (i2c_check_functionality(client->adapter,
client            373 drivers/iio/chemical/vz89x.c 	of_id = of_match_device(vz89x_dt_ids, &client->dev);
client            379 drivers/iio/chemical/vz89x.c 	i2c_set_clientdata(client, indio_dev);
client            380 drivers/iio/chemical/vz89x.c 	data->client = client;
client            385 drivers/iio/chemical/vz89x.c 	indio_dev->dev.parent = &client->dev;
client            387 drivers/iio/chemical/vz89x.c 	indio_dev->name = dev_name(&client->dev);
client            393 drivers/iio/chemical/vz89x.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             50 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	struct i2c_client *client = cli;
client             52 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = i2c_smbus_write_byte(client, cmd);
client             54 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		dev_err(&client->dev, "Failed to reset device\n");
client             76 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	struct i2c_client *client = cli;
client             78 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = i2c_smbus_read_word_swapped(client, cmd);
client             80 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		dev_err(&client->dev, "Failed to read prom word\n");
client            109 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	struct i2c_client *client = cli;
client            112 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = i2c_smbus_write_byte(client, conv);
client            119 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		ret = i2c_smbus_read_i2c_block_data(client, rd, 3, (u8 *)&buf);
client            121 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		ret = i2c_master_recv(client, (u8 *)&buf, 3);
client            125 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	dev_dbg(&client->dev, "ADC raw value : %x\n", be32_to_cpu(buf) >> 8);
client            130 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	dev_err(&client->dev, "Unable to make sensor adc conversion\n");
client            185 drivers/iio/common/ms_sensors/ms_sensors_i2c.c int ms_sensors_read_serial(struct i2c_client *client, u64 *sn)
client            195 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		 .addr = client->addr,
client            196 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		 .flags = client->flags,
client            201 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		 .addr = client->addr,
client            202 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		 .flags = client->flags | I2C_M_RD,
client            210 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            212 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		dev_err(&client->dev, "Unable to read device serial number");
client            217 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	dev_dbg(&client->dev, "Serial MSB raw : %llx\n", rcv_val);
client            233 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            235 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		dev_err(&client->dev, "Unable to read device serial number");
client            240 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	dev_dbg(&client->dev, "Serial MSB raw : %llx\n", rcv_val);
client            253 drivers/iio/common/ms_sensors/ms_sensors_i2c.c static int ms_sensors_read_config_reg(struct i2c_client *client,
client            258 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = i2c_smbus_write_byte(client, MS_SENSORS_CONFIG_REG_READ);
client            260 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		dev_err(&client->dev, "Unable to read config register");
client            264 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = i2c_master_recv(client, config_reg, 1);
client            266 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		dev_err(&client->dev, "Unable to read config register");
client            269 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	dev_dbg(&client->dev, "Config register :%x\n", *config_reg);
client            291 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = ms_sensors_read_config_reg(dev_data->client, &config_reg);
client            298 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	return i2c_smbus_write_byte_data(dev_data->client,
client            322 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = ms_sensors_read_config_reg(dev_data->client, &config_reg);
client            349 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = ms_sensors_read_config_reg(dev_data->client, &config_reg);
client            384 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = ms_sensors_read_config_reg(dev_data->client, &config_reg);
client            393 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = i2c_smbus_write_byte_data(dev_data->client,
client            398 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		dev_err(&dev_data->client->dev, "Unable to write config register\n");
client            426 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = ms_sensors_convert_and_read(dev_data->client,
client            435 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		dev_err(&dev_data->client->dev,
client            467 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 	ret = ms_sensors_convert_and_read(dev_data->client,
client            476 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		dev_err(&dev_data->client->dev,
client            542 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 			dev_data->client,
client            552 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 		dev_err(&dev_data->client->dev,
client            586 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 					dev_data->client,
client            597 drivers/iio/common/ms_sensors/ms_sensors_i2c.c 					dev_data->client,
client             23 drivers/iio/common/ms_sensors/ms_sensors_i2c.h 	struct i2c_client *client;
client             37 drivers/iio/common/ms_sensors/ms_sensors_i2c.h 	struct i2c_client *client;
client             47 drivers/iio/common/ms_sensors/ms_sensors_i2c.h int ms_sensors_read_serial(struct i2c_client *client, u64 *sn);
client             42 drivers/iio/common/st_sensors/st_sensors_i2c.c 			     struct i2c_client *client)
client             52 drivers/iio/common/st_sensors/st_sensors_i2c.c 	sdata->regmap = devm_regmap_init_i2c(client, config);
client             54 drivers/iio/common/st_sensors/st_sensors_i2c.c 		dev_err(&client->dev, "Failed to register i2c regmap (%d)\n",
client             59 drivers/iio/common/st_sensors/st_sensors_i2c.c 	i2c_set_clientdata(client, indio_dev);
client             61 drivers/iio/common/st_sensors/st_sensors_i2c.c 	indio_dev->dev.parent = &client->dev;
client             62 drivers/iio/common/st_sensors/st_sensors_i2c.c 	indio_dev->name = client->name;
client             64 drivers/iio/common/st_sensors/st_sensors_i2c.c 	sdata->dev = &client->dev;
client             65 drivers/iio/common/st_sensors/st_sensors_i2c.c 	sdata->irq = client->irq;
client            528 drivers/iio/dac/ad5446.c 	struct i2c_client *client = to_i2c_client(st->dev);
client            531 drivers/iio/dac/ad5446.c 	return i2c_master_send(client, (char *)&data, sizeof(data));
client             56 drivers/iio/dac/ds4424.c 	struct i2c_client *client;
client             77 drivers/iio/dac/ds4424.c 	ret = i2c_smbus_read_byte_data(data->client, DS4424_DAC_ADDR(channel));
client             95 drivers/iio/dac/ds4424.c 	ret = i2c_smbus_write_byte_data(data->client,
client            176 drivers/iio/dac/ds4424.c 	struct i2c_client *client = to_i2c_client(dev);
client            177 drivers/iio/dac/ds4424.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            194 drivers/iio/dac/ds4424.c 	struct i2c_client *client = to_i2c_client(dev);
client            195 drivers/iio/dac/ds4424.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            216 drivers/iio/dac/ds4424.c static int ds4424_probe(struct i2c_client *client,
client            223 drivers/iio/dac/ds4424.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            225 drivers/iio/dac/ds4424.c 		dev_err(&client->dev, "iio dev alloc failed.\n");
client            230 drivers/iio/dac/ds4424.c 	i2c_set_clientdata(client, indio_dev);
client            231 drivers/iio/dac/ds4424.c 	data->client = client;
client            233 drivers/iio/dac/ds4424.c 	indio_dev->dev.of_node = client->dev.of_node;
client            234 drivers/iio/dac/ds4424.c 	indio_dev->dev.parent = &client->dev;
client            236 drivers/iio/dac/ds4424.c 	data->vcc_reg = devm_regulator_get(&client->dev, "vcc");
client            238 drivers/iio/dac/ds4424.c 		dev_err(&client->dev,
client            247 drivers/iio/dac/ds4424.c 		dev_err(&client->dev,
client            265 drivers/iio/dac/ds4424.c 		dev_err(&client->dev,
client            277 drivers/iio/dac/ds4424.c 		dev_err(&client->dev,
client            289 drivers/iio/dac/ds4424.c static int ds4424_remove(struct i2c_client *client)
client            291 drivers/iio/dac/ds4424.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             24 drivers/iio/dac/m62332.c 	struct i2c_client	*client;
client             36 drivers/iio/dac/m62332.c 	struct i2c_client *client = data->client;
client             54 drivers/iio/dac/m62332.c 	res = i2c_master_send(client, outbuf, ARRAY_SIZE(outbuf));
client            130 drivers/iio/dac/m62332.c 	struct i2c_client *client = to_i2c_client(dev);
client            131 drivers/iio/dac/m62332.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            147 drivers/iio/dac/m62332.c 	struct i2c_client *client = to_i2c_client(dev);
client            148 drivers/iio/dac/m62332.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            186 drivers/iio/dac/m62332.c static int m62332_probe(struct i2c_client *client,
client            193 drivers/iio/dac/m62332.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            198 drivers/iio/dac/m62332.c 	i2c_set_clientdata(client, indio_dev);
client            199 drivers/iio/dac/m62332.c 	data->client = client;
client            203 drivers/iio/dac/m62332.c 	data->vcc = devm_regulator_get(&client->dev, "VCC");
client            208 drivers/iio/dac/m62332.c 	indio_dev->dev.parent = &client->dev;
client            215 drivers/iio/dac/m62332.c 	ret = iio_map_array_register(indio_dev, client->dev.platform_data);
client            231 drivers/iio/dac/m62332.c static int m62332_remove(struct i2c_client *client)
client            233 drivers/iio/dac/m62332.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             34 drivers/iio/dac/max517.c 	struct i2c_client	*client;
client             47 drivers/iio/dac/max517.c 	struct i2c_client *client = data->client;
client             57 drivers/iio/dac/max517.c 	res = i2c_master_send(client, outbuf, 2);
client            144 drivers/iio/dac/max517.c static int max517_probe(struct i2c_client *client,
client            149 drivers/iio/dac/max517.c 	struct max517_platform_data *platform_data = client->dev.platform_data;
client            152 drivers/iio/dac/max517.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            156 drivers/iio/dac/max517.c 	i2c_set_clientdata(client, indio_dev);
client            157 drivers/iio/dac/max517.c 	data->client = client;
client            160 drivers/iio/dac/max517.c 	indio_dev->dev.parent = &client->dev;
client            195 drivers/iio/dac/max517.c static int max517_remove(struct i2c_client *client)
client            197 drivers/iio/dac/max517.c 	iio_device_unregister(i2c_get_clientdata(client));
client             34 drivers/iio/dac/max5821.c 	struct i2c_client	*client;
client            107 drivers/iio/dac/max5821.c 	return i2c_master_send(data->client, outbuf, 2);
client            173 drivers/iio/dac/max5821.c 	struct i2c_client *client = data->client;
client            185 drivers/iio/dac/max5821.c 	ret = i2c_master_send(client, outbuf, 1);
client            194 drivers/iio/dac/max5821.c 	ret = i2c_master_recv(client, inbuf, 2);
client            214 drivers/iio/dac/max5821.c 	struct i2c_client *client = data->client;
client            228 drivers/iio/dac/max5821.c 	ret = i2c_master_send(client, outbuf, 2);
client            297 drivers/iio/dac/max5821.c static int max5821_probe(struct i2c_client *client,
client            305 drivers/iio/dac/max5821.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            309 drivers/iio/dac/max5821.c 	i2c_set_clientdata(client, indio_dev);
client            310 drivers/iio/dac/max5821.c 	data->client = client;
client            319 drivers/iio/dac/max5821.c 	data->vref_reg = devm_regulator_get(&client->dev, "vref");
client            322 drivers/iio/dac/max5821.c 		dev_err(&client->dev,
client            329 drivers/iio/dac/max5821.c 		dev_err(&client->dev,
client            336 drivers/iio/dac/max5821.c 		dev_err(&client->dev,
client            344 drivers/iio/dac/max5821.c 	indio_dev->dev.parent = &client->dev;
client            360 drivers/iio/dac/max5821.c static int max5821_remove(struct i2c_client *client)
client            362 drivers/iio/dac/max5821.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             34 drivers/iio/dac/mcp4725.c 	struct i2c_client *client;
client             55 drivers/iio/dac/mcp4725.c 	return i2c_master_send(data->client, outbuf, 2);
client             69 drivers/iio/dac/mcp4725.c 	return i2c_master_send(data->client, outbuf, 2);
client             96 drivers/iio/dac/mcp4725.c 	ret = i2c_master_send(data->client, inoutbuf, 3);
client            105 drivers/iio/dac/mcp4725.c 		ret = i2c_master_recv(data->client, inoutbuf, 3);
client            116 drivers/iio/dac/mcp4725.c 		dev_err(&data->client->dev,
client            186 drivers/iio/dac/mcp4725.c 		ret = mcp4725_suspend(&data->client->dev);
client            188 drivers/iio/dac/mcp4725.c 		ret = mcp4725_resume(&data->client->dev);
client            276 drivers/iio/dac/mcp4725.c 	ret = i2c_master_send(data->client, outbuf, 2);
client            298 drivers/iio/dac/mcp4725.c 	ret = i2c_master_send(data->client, outbuf, 3);
client            384 drivers/iio/dac/mcp4725.c static int mcp4725_probe(struct i2c_client *client,
client            395 drivers/iio/dac/mcp4725.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            399 drivers/iio/dac/mcp4725.c 	i2c_set_clientdata(client, indio_dev);
client            400 drivers/iio/dac/mcp4725.c 	data->client = client;
client            401 drivers/iio/dac/mcp4725.c 	if (client->dev.of_node)
client            402 drivers/iio/dac/mcp4725.c 		data->id = (enum chip_id)of_device_get_match_data(&client->dev);
client            405 drivers/iio/dac/mcp4725.c 	pdata = dev_get_platdata(&client->dev);
client            408 drivers/iio/dac/mcp4725.c 		err = mcp4725_probe_dt(&client->dev, &pdata_dt);
client            410 drivers/iio/dac/mcp4725.c 			dev_err(&client->dev,
client            418 drivers/iio/dac/mcp4725.c 		dev_err(&client->dev,
client            424 drivers/iio/dac/mcp4725.c 		dev_err(&client->dev,
client            436 drivers/iio/dac/mcp4725.c 	data->vdd_reg = devm_regulator_get(&client->dev, "vdd");
client            445 drivers/iio/dac/mcp4725.c 		data->vref_reg = devm_regulator_get(&client->dev, "vref");
client            456 drivers/iio/dac/mcp4725.c 	indio_dev->dev.parent = &client->dev;
client            464 drivers/iio/dac/mcp4725.c 	err = i2c_master_recv(client, inbuf, data->id == MCP4725 ? 3 : 4);
client            467 drivers/iio/dac/mcp4725.c 		dev_err(&client->dev, "failed to read DAC value");
client            478 drivers/iio/dac/mcp4725.c 		dev_info(&client->dev,
client            502 drivers/iio/dac/mcp4725.c static int mcp4725_remove(struct i2c_client *client)
client            504 drivers/iio/dac/mcp4725.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             45 drivers/iio/dac/ti-dac5571.c 	struct i2c_client *client;
client             73 drivers/iio/dac/ti-dac5571.c 	if (i2c_master_send(data->client, data->buf, 2) != 2)
client             89 drivers/iio/dac/ti-dac5571.c 	if (i2c_master_send(data->client, data->buf, 3) != 3)
client            100 drivers/iio/dac/ti-dac5571.c 	if (i2c_master_send(data->client, data->buf, 2) != 2)
client            113 drivers/iio/dac/ti-dac5571.c 	if (i2c_master_send(data->client, data->buf, 3) != 3)
client            307 drivers/iio/dac/ti-dac5571.c static int dac5571_probe(struct i2c_client *client,
client            310 drivers/iio/dac/ti-dac5571.c 	struct device *dev = &client->dev;
client            321 drivers/iio/dac/ti-dac5571.c 	i2c_set_clientdata(client, indio_dev);
client            322 drivers/iio/dac/ti-dac5571.c 	data->client = client;
client            325 drivers/iio/dac/ti-dac5571.c 	indio_dev->dev.of_node = client->dev.of_node;
client             16 drivers/iio/gyro/bmg160_i2c.c static int bmg160_i2c_probe(struct i2c_client *client,
client             22 drivers/iio/gyro/bmg160_i2c.c 	regmap = devm_regmap_init_i2c(client, &bmg160_regmap_i2c_conf);
client             24 drivers/iio/gyro/bmg160_i2c.c 		dev_err(&client->dev, "Failed to register i2c regmap %d\n",
client             32 drivers/iio/gyro/bmg160_i2c.c 	return bmg160_core_probe(&client->dev, regmap, client->irq, name);
client             35 drivers/iio/gyro/bmg160_i2c.c static int bmg160_i2c_remove(struct i2c_client *client)
client             37 drivers/iio/gyro/bmg160_i2c.c 	bmg160_core_remove(&client->dev);
client             57 drivers/iio/gyro/itg3200_core.c 	struct i2c_client *client = st->i2c;
client             63 drivers/iio/gyro/itg3200_core.c 			.addr = client->addr,
client             64 drivers/iio/gyro/itg3200_core.c 			.flags = client->flags,
client             69 drivers/iio/gyro/itg3200_core.c 			.addr = client->addr,
client             70 drivers/iio/gyro/itg3200_core.c 			.flags = client->flags | I2C_M_RD,
client             77 drivers/iio/gyro/itg3200_core.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            297 drivers/iio/gyro/itg3200_core.c static int itg3200_probe(struct i2c_client *client,
client            304 drivers/iio/gyro/itg3200_core.c 	dev_dbg(&client->dev, "probe I2C dev with IRQ %i", client->irq);
client            306 drivers/iio/gyro/itg3200_core.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*st));
client            312 drivers/iio/gyro/itg3200_core.c 	ret = iio_read_mount_matrix(&client->dev, "mount-matrix",
client            317 drivers/iio/gyro/itg3200_core.c 	i2c_set_clientdata(client, indio_dev);
client            318 drivers/iio/gyro/itg3200_core.c 	st->i2c = client;
client            320 drivers/iio/gyro/itg3200_core.c 	indio_dev->dev.parent = &client->dev;
client            321 drivers/iio/gyro/itg3200_core.c 	indio_dev->name = client->dev.driver->name;
client            332 drivers/iio/gyro/itg3200_core.c 	if (client->irq) {
client            349 drivers/iio/gyro/itg3200_core.c 	if (client->irq)
client            356 drivers/iio/gyro/itg3200_core.c static int itg3200_remove(struct i2c_client *client)
client            358 drivers/iio/gyro/itg3200_core.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            362 drivers/iio/gyro/itg3200_core.c 	if (client->irq)
client             35 drivers/iio/gyro/mpu3050-i2c.c static int mpu3050_i2c_probe(struct i2c_client *client,
client             43 drivers/iio/gyro/mpu3050-i2c.c 	if (!i2c_check_functionality(client->adapter,
client             52 drivers/iio/gyro/mpu3050-i2c.c 	regmap = devm_regmap_init_i2c(client, &mpu3050_i2c_regmap_config);
client             54 drivers/iio/gyro/mpu3050-i2c.c 		dev_err(&client->dev, "Failed to register i2c regmap %d\n",
client             59 drivers/iio/gyro/mpu3050-i2c.c 	ret = mpu3050_common_probe(&client->dev, regmap, client->irq, name);
client             64 drivers/iio/gyro/mpu3050-i2c.c 	mpu3050 = iio_priv(dev_get_drvdata(&client->dev));
client             65 drivers/iio/gyro/mpu3050-i2c.c 	mpu3050->i2cmux = i2c_mux_alloc(client->adapter, &client->dev,
client             71 drivers/iio/gyro/mpu3050-i2c.c 		dev_err(&client->dev, "failed to allocate I2C mux\n");
client             81 drivers/iio/gyro/mpu3050-i2c.c static int mpu3050_i2c_remove(struct i2c_client *client)
client             83 drivers/iio/gyro/mpu3050-i2c.c 	struct iio_dev *indio_dev = dev_get_drvdata(&client->dev);
client             89 drivers/iio/gyro/mpu3050-i2c.c 	return mpu3050_common_remove(&client->dev);
client             65 drivers/iio/gyro/st_gyro_i2c.c static int st_gyro_i2c_probe(struct i2c_client *client,
client             73 drivers/iio/gyro/st_gyro_i2c.c 	st_sensors_of_name_probe(&client->dev, st_gyro_of_match,
client             74 drivers/iio/gyro/st_gyro_i2c.c 				 client->name, sizeof(client->name));
client             76 drivers/iio/gyro/st_gyro_i2c.c 	settings = st_gyro_get_settings(client->name);
client             78 drivers/iio/gyro/st_gyro_i2c.c 		dev_err(&client->dev, "device name %s not recognized.\n",
client             79 drivers/iio/gyro/st_gyro_i2c.c 			client->name);
client             83 drivers/iio/gyro/st_gyro_i2c.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*gdata));
client             90 drivers/iio/gyro/st_gyro_i2c.c 	err = st_sensors_i2c_configure(indio_dev, client);
client            101 drivers/iio/gyro/st_gyro_i2c.c static int st_gyro_i2c_remove(struct i2c_client *client)
client            103 drivers/iio/gyro/st_gyro_i2c.c 	st_gyro_common_remove(i2c_get_clientdata(client));
client            462 drivers/iio/health/afe4404.c static int afe4404_probe(struct i2c_client *client,
client            469 drivers/iio/health/afe4404.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*afe));
client            474 drivers/iio/health/afe4404.c 	i2c_set_clientdata(client, indio_dev);
client            476 drivers/iio/health/afe4404.c 	afe->dev = &client->dev;
client            477 drivers/iio/health/afe4404.c 	afe->irq = client->irq;
client            479 drivers/iio/health/afe4404.c 	afe->regmap = devm_regmap_init_i2c(client, &afe4404_regmap_config);
client            585 drivers/iio/health/afe4404.c static int afe4404_remove(struct i2c_client *client)
client            587 drivers/iio/health/afe4404.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             71 drivers/iio/health/max30100.c 	struct i2c_client *client;
client            217 drivers/iio/health/max30100.c 	ret = i2c_smbus_read_i2c_block_data(data->client,
client            269 drivers/iio/health/max30100.c 	struct device *dev = &data->client->dev;
client            418 drivers/iio/health/max30100.c static int max30100_probe(struct i2c_client *client,
client            426 drivers/iio/health/max30100.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            430 drivers/iio/health/max30100.c 	buffer = devm_iio_kfifo_allocate(&client->dev);
client            443 drivers/iio/health/max30100.c 	indio_dev->dev.parent = &client->dev;
client            447 drivers/iio/health/max30100.c 	data->client = client;
client            450 drivers/iio/health/max30100.c 	i2c_set_clientdata(client, indio_dev);
client            452 drivers/iio/health/max30100.c 	data->regmap = devm_regmap_init_i2c(client, &max30100_regmap_config);
client            454 drivers/iio/health/max30100.c 		dev_err(&client->dev, "regmap initialization failed.\n");
client            463 drivers/iio/health/max30100.c 	if (client->irq <= 0) {
client            464 drivers/iio/health/max30100.c 		dev_err(&client->dev, "no valid irq defined\n");
client            467 drivers/iio/health/max30100.c 	ret = devm_request_threaded_irq(&client->dev, client->irq,
client            472 drivers/iio/health/max30100.c 		dev_err(&client->dev, "request irq (%d) failed\n", client->irq);
client            479 drivers/iio/health/max30100.c static int max30100_remove(struct i2c_client *client)
client            481 drivers/iio/health/max30100.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            104 drivers/iio/health/max30102.c 	struct i2c_client *client;
client            267 drivers/iio/health/max30102.c 	ret = i2c_smbus_read_i2c_block_data(data->client,
client            325 drivers/iio/health/max30102.c 	struct device *dev = &data->client->dev;
client            506 drivers/iio/health/max30102.c static int max30102_probe(struct i2c_client *client,
client            515 drivers/iio/health/max30102.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            519 drivers/iio/health/max30102.c 	buffer = devm_iio_kfifo_allocate(&client->dev);
client            529 drivers/iio/health/max30102.c 	indio_dev->dev.parent = &client->dev;
client            533 drivers/iio/health/max30102.c 	data->client = client;
client            537 drivers/iio/health/max30102.c 	i2c_set_clientdata(client, indio_dev);
client            554 drivers/iio/health/max30102.c 	data->regmap = devm_regmap_init_i2c(client, &max30102_regmap_config);
client            556 drivers/iio/health/max30102.c 		dev_err(&client->dev, "regmap initialization failed\n");
client            571 drivers/iio/health/max30102.c 	dev_dbg(&client->dev, "max3010x revision %02x\n", reg);
client            583 drivers/iio/health/max30102.c 	if (client->irq <= 0) {
client            584 drivers/iio/health/max30102.c 		dev_err(&client->dev, "no valid irq defined\n");
client            588 drivers/iio/health/max30102.c 	ret = devm_request_threaded_irq(&client->dev, client->irq,
client            593 drivers/iio/health/max30102.c 		dev_err(&client->dev, "request irq (%d) failed\n", client->irq);
client            600 drivers/iio/health/max30102.c static int max30102_remove(struct i2c_client *client)
client            602 drivers/iio/health/max30102.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             34 drivers/iio/humidity/am2315.c 	struct i2c_client *client;
client             94 drivers/iio/humidity/am2315.c static void am2315_ping(struct i2c_client *client)
client             96 drivers/iio/humidity/am2315.c 	i2c_smbus_read_byte_data(client, AM2315_REG_HUM_MSB);
client            115 drivers/iio/humidity/am2315.c 	am2315_ping(data->client);
client            118 drivers/iio/humidity/am2315.c 	ret = i2c_master_send(data->client, tx_buf, sizeof(tx_buf));
client            120 drivers/iio/humidity/am2315.c 		dev_err(&data->client->dev, "failed to send read request\n");
client            126 drivers/iio/humidity/am2315.c 	ret = i2c_master_recv(data->client, rx_buf, sizeof(rx_buf));
client            128 drivers/iio/humidity/am2315.c 		dev_err(&data->client->dev, "failed to read sensor data\n");
client            138 drivers/iio/humidity/am2315.c 		dev_err(&data->client->dev, "failed to verify sensor data\n");
client            218 drivers/iio/humidity/am2315.c static int am2315_probe(struct i2c_client *client,
client            225 drivers/iio/humidity/am2315.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            227 drivers/iio/humidity/am2315.c 		dev_err(&client->dev, "iio allocation failed!\n");
client            232 drivers/iio/humidity/am2315.c 	data->client = client;
client            233 drivers/iio/humidity/am2315.c 	i2c_set_clientdata(client, indio_dev);
client            236 drivers/iio/humidity/am2315.c 	indio_dev->dev.parent = &client->dev;
client            243 drivers/iio/humidity/am2315.c 	ret = devm_iio_triggered_buffer_setup(&client->dev,
client            247 drivers/iio/humidity/am2315.c 		dev_err(&client->dev, "iio triggered buffer setup failed\n");
client            251 drivers/iio/humidity/am2315.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             35 drivers/iio/humidity/hdc100x.c 	struct i2c_client *client;
client            131 drivers/iio/humidity/hdc100x.c 	ret = i2c_smbus_write_word_swapped(data->client,
client            162 drivers/iio/humidity/hdc100x.c 	struct i2c_client *client = data->client;
client            168 drivers/iio/humidity/hdc100x.c 	ret = i2c_smbus_write_byte(client, chan->address);
client            170 drivers/iio/humidity/hdc100x.c 		dev_err(&client->dev, "cannot start measurement");
client            178 drivers/iio/humidity/hdc100x.c 	ret = i2c_master_recv(data->client, (char *)&val, sizeof(val));
client            180 drivers/iio/humidity/hdc100x.c 		dev_err(&client->dev, "cannot read sensor data\n");
client            319 drivers/iio/humidity/hdc100x.c 	struct i2c_client *client = data->client;
client            326 drivers/iio/humidity/hdc100x.c 	ret = i2c_smbus_write_byte(client, HDC100X_REG_TEMP);
client            328 drivers/iio/humidity/hdc100x.c 		dev_err(&client->dev, "cannot start measurement\n");
client            333 drivers/iio/humidity/hdc100x.c 	ret = i2c_master_recv(client, (u8 *)buf, 4);
client            335 drivers/iio/humidity/hdc100x.c 		dev_err(&client->dev, "cannot read sensor data\n");
client            354 drivers/iio/humidity/hdc100x.c static int hdc100x_probe(struct i2c_client *client,
client            361 drivers/iio/humidity/hdc100x.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WORD_DATA |
client            365 drivers/iio/humidity/hdc100x.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            370 drivers/iio/humidity/hdc100x.c 	i2c_set_clientdata(client, indio_dev);
client            371 drivers/iio/humidity/hdc100x.c 	data->client = client;
client            374 drivers/iio/humidity/hdc100x.c 	indio_dev->dev.parent = &client->dev;
client            375 drivers/iio/humidity/hdc100x.c 	indio_dev->name = dev_name(&client->dev);
client            388 drivers/iio/humidity/hdc100x.c 	ret = devm_iio_triggered_buffer_setup(&client->dev,
client            393 drivers/iio/humidity/hdc100x.c 		dev_err(&client->dev, "iio triggered buffer setup failed\n");
client            397 drivers/iio/humidity/hdc100x.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             28 drivers/iio/humidity/hts221_i2c.c static int hts221_i2c_probe(struct i2c_client *client,
client             33 drivers/iio/humidity/hts221_i2c.c 	regmap = devm_regmap_init_i2c(client, &hts221_i2c_regmap_config);
client             35 drivers/iio/humidity/hts221_i2c.c 		dev_err(&client->dev, "Failed to register i2c regmap %d\n",
client             40 drivers/iio/humidity/hts221_i2c.c 	return hts221_probe(&client->dev, client->irq,
client             41 drivers/iio/humidity/hts221_i2c.c 			    client->name, regmap);
client            179 drivers/iio/humidity/htu21.c static int htu21_probe(struct i2c_client *client,
client            187 drivers/iio/humidity/htu21.c 	if (!i2c_check_functionality(client->adapter,
client            191 drivers/iio/humidity/htu21.c 		dev_err(&client->dev,
client            196 drivers/iio/humidity/htu21.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*dev_data));
client            201 drivers/iio/humidity/htu21.c 	dev_data->client = client;
client            207 drivers/iio/humidity/htu21.c 	indio_dev->dev.parent = &client->dev;
client            218 drivers/iio/humidity/htu21.c 	i2c_set_clientdata(client, indio_dev);
client            220 drivers/iio/humidity/htu21.c 	ret = ms_sensors_reset(client, HTU21_RESET, 15000);
client            224 drivers/iio/humidity/htu21.c 	ret = ms_sensors_read_serial(client, &serial_number);
client            227 drivers/iio/humidity/htu21.c 	dev_info(&client->dev, "Serial number : %llx", serial_number);
client            229 drivers/iio/humidity/htu21.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             34 drivers/iio/humidity/si7005.c 	struct i2c_client *client;
client             46 drivers/iio/humidity/si7005.c 	ret = i2c_smbus_write_byte_data(data->client, SI7005_CONFIG,
client             54 drivers/iio/humidity/si7005.c 		ret = i2c_smbus_read_byte_data(data->client, SI7005_STATUS);
client             65 drivers/iio/humidity/si7005.c 	ret = i2c_smbus_read_word_swapped(data->client, SI7005_DATA);
client            126 drivers/iio/humidity/si7005.c static int si7005_probe(struct i2c_client *client,
client            133 drivers/iio/humidity/si7005.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WORD_DATA))
client            136 drivers/iio/humidity/si7005.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            141 drivers/iio/humidity/si7005.c 	i2c_set_clientdata(client, indio_dev);
client            142 drivers/iio/humidity/si7005.c 	data->client = client;
client            145 drivers/iio/humidity/si7005.c 	indio_dev->dev.parent = &client->dev;
client            146 drivers/iio/humidity/si7005.c 	indio_dev->name = dev_name(&client->dev);
client            153 drivers/iio/humidity/si7005.c 	ret = i2c_smbus_read_byte_data(client, SI7005_ID);
client            159 drivers/iio/humidity/si7005.c 	ret = i2c_smbus_read_byte_data(client, SI7005_CONFIG);
client            164 drivers/iio/humidity/si7005.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             40 drivers/iio/humidity/si7020.c 	struct i2c_client **client = iio_priv(indio_dev);
client             45 drivers/iio/humidity/si7020.c 		ret = i2c_smbus_read_word_swapped(*client,
client            105 drivers/iio/humidity/si7020.c static int si7020_probe(struct i2c_client *client,
client            112 drivers/iio/humidity/si7020.c 	if (!i2c_check_functionality(client->adapter,
client            118 drivers/iio/humidity/si7020.c 	ret = i2c_smbus_write_byte(client, SI7020CMD_RESET);
client            124 drivers/iio/humidity/si7020.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            129 drivers/iio/humidity/si7020.c 	*data = client;
client            131 drivers/iio/humidity/si7020.c 	indio_dev->dev.parent = &client->dev;
client            132 drivers/iio/humidity/si7020.c 	indio_dev->name = dev_name(&client->dev);
client            138 drivers/iio/humidity/si7020.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             19 drivers/iio/imu/bmi160/bmi160_i2c.c static int bmi160_i2c_probe(struct i2c_client *client,
client             25 drivers/iio/imu/bmi160/bmi160_i2c.c 	regmap = devm_regmap_init_i2c(client, &bmi160_regmap_config);
client             27 drivers/iio/imu/bmi160/bmi160_i2c.c 		dev_err(&client->dev, "Failed to register i2c regmap %d\n",
client             35 drivers/iio/imu/bmi160/bmi160_i2c.c 	return bmi160_core_probe(&client->dev, regmap, name, false);
client             44 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 				     struct i2c_client *client,
client             71 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 				if (sub_elem->integer.value != client->addr) {
client            100 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c static int inv_mpu_process_acpi_config(struct i2c_client *client,
client            110 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 	id = acpi_match_device(client->dev.driver->acpi_match_table,
client            111 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 			       &client->dev);
client            115 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 	adev = ACPI_COMPANION(&client->dev);
client            131 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c int inv_mpu_acpi_create_mux_client(struct i2c_client *client)
client            133 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 	struct inv_mpu6050_state *st = iio_priv(dev_get_drvdata(&client->dev));
client            136 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 	if (ACPI_HANDLE(&client->dev)) {
client            141 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 		adev = ACPI_COMPANION(&client->dev);
client            147 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 			ret = asus_acpi_get_sensor_info(adev, client,
client            159 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 			ret = inv_mpu_process_acpi_config(client, &primary,
client            183 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c void inv_mpu_acpi_delete_mux_client(struct i2c_client *client)
client            185 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 	struct inv_mpu6050_state *st = iio_priv(dev_get_drvdata(&client->dev));
client            193 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c int inv_mpu_acpi_create_mux_client(struct i2c_client *client)
client            198 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c void inv_mpu_acpi_delete_mux_client(struct i2c_client *client)
client             78 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c static int inv_mpu_probe(struct i2c_client *client,
client             87 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 	if (!i2c_check_functionality(client->adapter,
client             91 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 	if (client->dev.of_node) {
client             93 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 			of_device_get_match_data(&client->dev);
client             94 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 		name = client->name;
client             99 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 	} else if (ACPI_HANDLE(&client->dev)) {
client            100 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 		name = inv_mpu_match_acpi_device(&client->dev, &chip_type);
client            107 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 	regmap = devm_regmap_init_i2c(client, &inv_mpu_regmap_config);
client            109 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 		dev_err(&client->dev, "Failed to register i2c regmap %d\n",
client            114 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 	result = inv_mpu_core_probe(regmap, client->irq, name,
client            119 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 	st = iio_priv(dev_get_drvdata(&client->dev));
client            127 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 		st->muxc = i2c_mux_alloc(client->adapter, &client->dev,
client            133 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 		st->muxc->priv = dev_get_drvdata(&client->dev);
client            137 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 		result = inv_mpu_acpi_create_mux_client(client);
client            150 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c static int inv_mpu_remove(struct i2c_client *client)
client            152 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            156 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c 		inv_mpu_acpi_delete_mux_client(client);
client            350 drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h int inv_mpu_acpi_create_mux_client(struct i2c_client *client);
client            351 drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h void inv_mpu_acpi_delete_mux_client(struct i2c_client *client);
client            116 drivers/iio/imu/kmx61.c 	struct i2c_client *client;
client            331 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_STBY);
client            333 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error reading reg_stby\n");
client            359 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_write_byte_data(data->client, KMX61_REG_STBY, ret);
client            361 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error writing reg_stby\n");
client            377 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_STBY);
client            379 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error reading reg_stby\n");
client            409 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_write_byte_data(data->client, KMX61_REG_CTRL2,
client            412 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error writing reg_ctrl2\n");
client            442 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_write_byte_data(data->client, KMX61_REG_ODCNTL,
client            485 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_CTRL1);
client            487 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error reading reg_ctrl1\n");
client            494 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_write_byte_data(data->client, KMX61_REG_CTRL1, ret);
client            496 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error writing reg_ctrl1\n");
client            537 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_WHO_AM_I);
client            539 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error reading who_am_i\n");
client            544 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev,
client            555 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_ODCNTL);
client            557 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error reading reg_odcntl\n");
client            599 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_INC1);
client            601 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error reading reg_ctrl1\n");
client            618 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_write_byte_data(data->client, KMX61_REG_INC1, ret);
client            620 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error writing reg_int_ctrl1\n");
client            624 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_CTRL1);
client            626 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error reading reg_ctrl1\n");
client            635 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_write_byte_data(data->client, KMX61_REG_CTRL1, ret);
client            637 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error writing reg_ctrl1\n");
client            648 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_write_byte_data(data->client,
client            652 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Errow writing reg_wuf_timer\n");
client            656 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_write_byte_data(data->client,
client            660 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error writing reg_wuf_thresh\n");
client            683 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_INC1);
client            685 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error reading reg_inc1\n");
client            693 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_write_byte_data(data->client, KMX61_REG_INC1, ret);
client            695 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error writing reg_inc1\n");
client            699 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_CTRL1);
client            701 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error reading reg_ctrl1\n");
client            710 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_write_byte_data(data->client, KMX61_REG_CTRL1, ret);
client            712 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error writing reg_ctrl1\n");
client            753 drivers/iio/imu/kmx61.c 		ret = pm_runtime_get_sync(&data->client->dev);
client            755 drivers/iio/imu/kmx61.c 		pm_runtime_mark_last_busy(&data->client->dev);
client            756 drivers/iio/imu/kmx61.c 		ret = pm_runtime_put_autosuspend(&data->client->dev);
client            759 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev,
client            763 drivers/iio/imu/kmx61.c 			pm_runtime_put_noidle(&data->client->dev);
client            776 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_word_data(data->client, reg);
client            778 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "failed to read reg at %x\n", reg);
client           1072 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_INL);
client           1074 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error reading reg_inl\n");
client           1092 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_INS1);
client           1094 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error reading reg_ins1\n");
client           1099 drivers/iio/imu/kmx61.c 		ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_INS2);
client           1101 drivers/iio/imu/kmx61.c 			dev_err(&data->client->dev, "Error reading reg_ins2\n");
client           1161 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_CTRL1);
client           1163 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error reading reg_ctrl1\n");
client           1166 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_write_byte_data(data->client, KMX61_REG_CTRL1, ret);
client           1168 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error writing reg_ctrl1\n");
client           1170 drivers/iio/imu/kmx61.c 	ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_INL);
client           1172 drivers/iio/imu/kmx61.c 		dev_err(&data->client->dev, "Error reading reg_inl\n");
client           1245 drivers/iio/imu/kmx61.c 	indio_dev = devm_iio_device_alloc(&data->client->dev, sizeof(data));
client           1251 drivers/iio/imu/kmx61.c 	indio_dev->dev.parent = &data->client->dev;
client           1268 drivers/iio/imu/kmx61.c 	trig = devm_iio_trigger_alloc(&data->client->dev,
client           1276 drivers/iio/imu/kmx61.c 	trig->dev.parent = &data->client->dev;
client           1287 drivers/iio/imu/kmx61.c static int kmx61_probe(struct i2c_client *client,
client           1294 drivers/iio/imu/kmx61.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client           1298 drivers/iio/imu/kmx61.c 	i2c_set_clientdata(client, data);
client           1299 drivers/iio/imu/kmx61.c 	data->client = client;
client           1305 drivers/iio/imu/kmx61.c 	else if (ACPI_HANDLE(&client->dev))
client           1306 drivers/iio/imu/kmx61.c 		name = kmx61_match_acpi_device(&client->dev);
client           1330 drivers/iio/imu/kmx61.c 	if (client->irq > 0) {
client           1331 drivers/iio/imu/kmx61.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client           1369 drivers/iio/imu/kmx61.c 			dev_err(&data->client->dev,
client           1379 drivers/iio/imu/kmx61.c 			dev_err(&data->client->dev,
client           1385 drivers/iio/imu/kmx61.c 	ret = pm_runtime_set_active(&client->dev);
client           1389 drivers/iio/imu/kmx61.c 	pm_runtime_enable(&client->dev);
client           1390 drivers/iio/imu/kmx61.c 	pm_runtime_set_autosuspend_delay(&client->dev, KMX61_SLEEP_DELAY_MS);
client           1391 drivers/iio/imu/kmx61.c 	pm_runtime_use_autosuspend(&client->dev);
client           1395 drivers/iio/imu/kmx61.c 		dev_err(&client->dev, "Failed to register acc iio device\n");
client           1401 drivers/iio/imu/kmx61.c 		dev_err(&client->dev, "Failed to register mag iio device\n");
client           1410 drivers/iio/imu/kmx61.c 	if (client->irq > 0)
client           1413 drivers/iio/imu/kmx61.c 	if (client->irq > 0)
client           1426 drivers/iio/imu/kmx61.c static int kmx61_remove(struct i2c_client *client)
client           1428 drivers/iio/imu/kmx61.c 	struct kmx61_data *data = i2c_get_clientdata(client);
client           1433 drivers/iio/imu/kmx61.c 	pm_runtime_disable(&client->dev);
client           1434 drivers/iio/imu/kmx61.c 	pm_runtime_set_suspended(&client->dev);
client           1435 drivers/iio/imu/kmx61.c 	pm_runtime_put_noidle(&client->dev);
client           1437 drivers/iio/imu/kmx61.c 	if (client->irq > 0) {
client             25 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c static int st_lsm6dsx_i2c_probe(struct i2c_client *client,
client             31 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c 	regmap = devm_regmap_init_i2c(client, &st_lsm6dsx_i2c_regmap_config);
client             33 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c 		dev_err(&client->dev, "Failed to register i2c regmap %d\n",
client             38 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c 	return st_lsm6dsx_probe(&client->dev, client->irq, hw_id, regmap);
client             56 drivers/iio/light/adjd_s311.c 	struct i2c_client *client;
client             73 drivers/iio/light/adjd_s311.c 	int ret = i2c_smbus_write_byte_data(data->client, ADJD_S311_CTRL,
client             79 drivers/iio/light/adjd_s311.c 		ret = i2c_smbus_read_byte_data(data->client, ADJD_S311_CTRL);
client             88 drivers/iio/light/adjd_s311.c 		dev_err(&data->client->dev,
client            104 drivers/iio/light/adjd_s311.c 	ret = i2c_smbus_read_word_data(data->client, reg);
client            127 drivers/iio/light/adjd_s311.c 		ret = i2c_smbus_read_word_data(data->client,
client            183 drivers/iio/light/adjd_s311.c 		ret = i2c_smbus_read_byte_data(data->client,
client            190 drivers/iio/light/adjd_s311.c 		ret = i2c_smbus_read_word_data(data->client,
client            216 drivers/iio/light/adjd_s311.c 		return i2c_smbus_write_byte_data(data->client,
client            222 drivers/iio/light/adjd_s311.c 		return i2c_smbus_write_word_data(data->client,
client            247 drivers/iio/light/adjd_s311.c static int adjd_s311_probe(struct i2c_client *client,
client            254 drivers/iio/light/adjd_s311.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            259 drivers/iio/light/adjd_s311.c 	i2c_set_clientdata(client, indio_dev);
client            260 drivers/iio/light/adjd_s311.c 	data->client = client;
client            262 drivers/iio/light/adjd_s311.c 	indio_dev->dev.parent = &client->dev;
client            278 drivers/iio/light/adjd_s311.c 	dev_info(&client->dev, "ADJD-S311 color sensor registered\n");
client            287 drivers/iio/light/adjd_s311.c static int adjd_s311_remove(struct i2c_client *client)
client            289 drivers/iio/light/adjd_s311.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             60 drivers/iio/light/al3320a.c 	struct i2c_client *client;
client             87 drivers/iio/light/al3320a.c 	ret = i2c_smbus_write_byte_data(data->client, AL3320A_REG_CONFIG,
client             92 drivers/iio/light/al3320a.c 	ret = i2c_smbus_write_byte_data(data->client, AL3320A_REG_CONFIG_RANGE,
client             97 drivers/iio/light/al3320a.c 	ret = i2c_smbus_write_byte_data(data->client, AL3320A_REG_MEAN_TIME,
client            102 drivers/iio/light/al3320a.c 	ret = i2c_smbus_write_byte_data(data->client, AL3320A_REG_WAIT,
client            124 drivers/iio/light/al3320a.c 		ret = i2c_smbus_read_word_data(data->client,
client            131 drivers/iio/light/al3320a.c 		ret = i2c_smbus_read_byte_data(data->client,
client            157 drivers/iio/light/al3320a.c 				return i2c_smbus_write_byte_data(data->client,
client            172 drivers/iio/light/al3320a.c static int al3320a_probe(struct i2c_client *client,
client            179 drivers/iio/light/al3320a.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            184 drivers/iio/light/al3320a.c 	i2c_set_clientdata(client, indio_dev);
client            185 drivers/iio/light/al3320a.c 	data->client = client;
client            187 drivers/iio/light/al3320a.c 	indio_dev->dev.parent = &client->dev;
client            196 drivers/iio/light/al3320a.c 		dev_err(&client->dev, "al3320a chip init failed\n");
client            199 drivers/iio/light/al3320a.c 	return devm_iio_device_register(&client->dev, indio_dev);
client            202 drivers/iio/light/al3320a.c static int al3320a_remove(struct i2c_client *client)
client            204 drivers/iio/light/al3320a.c 	return i2c_smbus_write_byte_data(client, AL3320A_REG_CONFIG,
client             47 drivers/iio/light/apds9300.c 	struct i2c_client *client;
client            101 drivers/iio/light/apds9300.c 	ret = i2c_smbus_read_word_data(data->client, flags);
client            103 drivers/iio/light/apds9300.c 		dev_err(&data->client->dev,
client            119 drivers/iio/light/apds9300.c 	ret = i2c_smbus_write_word_data(data->client, APDS9300_THRESHLOWLOW
client            122 drivers/iio/light/apds9300.c 		dev_err(&data->client->dev, "failed to set thresh_low\n");
client            140 drivers/iio/light/apds9300.c 	ret = i2c_smbus_write_word_data(data->client, APDS9300_THRESHHIGHLOW
client            143 drivers/iio/light/apds9300.c 		dev_err(&data->client->dev, "failed to set thresh_hi\n");
client            160 drivers/iio/light/apds9300.c 	ret = i2c_smbus_write_byte_data(data->client,
client            163 drivers/iio/light/apds9300.c 		dev_err(&data->client->dev,
client            178 drivers/iio/light/apds9300.c 	ret = i2c_smbus_write_byte_data(data->client,
client            181 drivers/iio/light/apds9300.c 		dev_err(&data->client->dev,
client            194 drivers/iio/light/apds9300.c 	ret = i2c_smbus_write_byte(data->client, APDS9300_CLEAR | APDS9300_CMD);
client            196 drivers/iio/light/apds9300.c 		dev_err(&data->client->dev, "failed to clear interrupt\n");
client            214 drivers/iio/light/apds9300.c 	ret = i2c_smbus_read_byte_data(data->client,
client            231 drivers/iio/light/apds9300.c 	dev_err(&data->client->dev, "failed to init the chip\n");
client            401 drivers/iio/light/apds9300.c static int apds9300_probe(struct i2c_client *client,
client            408 drivers/iio/light/apds9300.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            413 drivers/iio/light/apds9300.c 	i2c_set_clientdata(client, indio_dev);
client            414 drivers/iio/light/apds9300.c 	data->client = client;
client            422 drivers/iio/light/apds9300.c 	indio_dev->dev.parent = &client->dev;
client            428 drivers/iio/light/apds9300.c 	if (client->irq)
client            433 drivers/iio/light/apds9300.c 	if (client->irq) {
client            434 drivers/iio/light/apds9300.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            439 drivers/iio/light/apds9300.c 			dev_err(&client->dev, "irq request error %d\n", -ret);
client            456 drivers/iio/light/apds9300.c static int apds9300_remove(struct i2c_client *client)
client            458 drivers/iio/light/apds9300.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            122 drivers/iio/light/apds9960.c 	struct i2c_client *client;
client            437 drivers/iio/light/apds9960.c 	struct device *dev = &data->client->dev;
client            793 drivers/iio/light/apds9960.c 		dev_err(&data->client->dev, "irq status reg read failed\n");
client            839 drivers/iio/light/apds9960.c 	pm_runtime_get_sync(&data->client->dev);
client            857 drivers/iio/light/apds9960.c 	pm_runtime_put_autosuspend(&data->client->dev);
client            869 drivers/iio/light/apds9960.c 	struct device *dev = &data->client->dev;
client            988 drivers/iio/light/apds9960.c static int apds9960_probe(struct i2c_client *client,
client            996 drivers/iio/light/apds9960.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client           1000 drivers/iio/light/apds9960.c 	buffer = devm_iio_kfifo_allocate(&client->dev);
client           1006 drivers/iio/light/apds9960.c 	indio_dev->dev.parent = &client->dev;
client           1016 drivers/iio/light/apds9960.c 	i2c_set_clientdata(client, indio_dev);
client           1018 drivers/iio/light/apds9960.c 	data->regmap = devm_regmap_init_i2c(client, &apds9960_regmap_config);
client           1020 drivers/iio/light/apds9960.c 		dev_err(&client->dev, "regmap initialization failed.\n");
client           1024 drivers/iio/light/apds9960.c 	data->client = client;
client           1028 drivers/iio/light/apds9960.c 	ret = pm_runtime_set_active(&client->dev);
client           1032 drivers/iio/light/apds9960.c 	pm_runtime_enable(&client->dev);
client           1033 drivers/iio/light/apds9960.c 	pm_runtime_set_autosuspend_delay(&client->dev, 5000);
client           1034 drivers/iio/light/apds9960.c 	pm_runtime_use_autosuspend(&client->dev);
client           1046 drivers/iio/light/apds9960.c 	if (client->irq <= 0) {
client           1047 drivers/iio/light/apds9960.c 		dev_err(&client->dev, "no valid irq defined\n");
client           1051 drivers/iio/light/apds9960.c 	ret = devm_request_threaded_irq(&client->dev, client->irq,
client           1057 drivers/iio/light/apds9960.c 		dev_err(&client->dev, "request irq (%d) failed\n", client->irq);
client           1075 drivers/iio/light/apds9960.c static int apds9960_remove(struct i2c_client *client)
client           1077 drivers/iio/light/apds9960.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client           1081 drivers/iio/light/apds9960.c 	pm_runtime_disable(&client->dev);
client           1082 drivers/iio/light/apds9960.c 	pm_runtime_set_suspended(&client->dev);
client             39 drivers/iio/light/bh1750.c 	struct i2c_client *client;
client             84 drivers/iio/light/bh1750.c 	ret = i2c_smbus_write_byte(data->client, BH1750_POWER_DOWN);
client             89 drivers/iio/light/bh1750.c 	ret = i2c_smbus_write_byte(data->client,
client             95 drivers/iio/light/bh1750.c 	ret = i2c_smbus_write_byte(data->client,
client            116 drivers/iio/light/bh1750.c 	ret = i2c_smbus_write_byte(data->client, BH1750_ONE_TIME_H_RES_MODE);
client            122 drivers/iio/light/bh1750.c 	ret = i2c_master_recv(data->client, (char *)&result, 2);
client            231 drivers/iio/light/bh1750.c static int bh1750_probe(struct i2c_client *client,
client            238 drivers/iio/light/bh1750.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C |
client            242 drivers/iio/light/bh1750.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            247 drivers/iio/light/bh1750.c 	i2c_set_clientdata(client, indio_dev);
client            248 drivers/iio/light/bh1750.c 	data->client = client;
client            257 drivers/iio/light/bh1750.c 	indio_dev->dev.parent = &client->dev;
client            267 drivers/iio/light/bh1750.c static int bh1750_remove(struct i2c_client *client)
client            269 drivers/iio/light/bh1750.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            275 drivers/iio/light/bh1750.c 	i2c_smbus_write_byte(client, BH1750_POWER_DOWN);
client            292 drivers/iio/light/bh1750.c 	ret = i2c_smbus_write_byte(data->client, BH1750_POWER_DOWN);
client             40 drivers/iio/light/bh1780.c 	struct i2c_client *client;
client             45 drivers/iio/light/bh1780.c 	int ret = i2c_smbus_write_byte_data(bh1780->client,
client             49 drivers/iio/light/bh1780.c 		dev_err(&bh1780->client->dev,
client             58 drivers/iio/light/bh1780.c 	int ret = i2c_smbus_read_byte_data(bh1780->client,
client             61 drivers/iio/light/bh1780.c 		dev_err(&bh1780->client->dev,
client             70 drivers/iio/light/bh1780.c 	int ret = i2c_smbus_read_word_data(bh1780->client,
client             73 drivers/iio/light/bh1780.c 		dev_err(&bh1780->client->dev,
client            110 drivers/iio/light/bh1780.c 			pm_runtime_get_sync(&bh1780->client->dev);
client            114 drivers/iio/light/bh1780.c 			pm_runtime_mark_last_busy(&bh1780->client->dev);
client            115 drivers/iio/light/bh1780.c 			pm_runtime_put_autosuspend(&bh1780->client->dev);
client            144 drivers/iio/light/bh1780.c static int bh1780_probe(struct i2c_client *client,
client            149 drivers/iio/light/bh1780.c 	struct i2c_adapter *adapter = client->adapter;
client            155 drivers/iio/light/bh1780.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*bh1780));
client            160 drivers/iio/light/bh1780.c 	bh1780->client = client;
client            161 drivers/iio/light/bh1780.c 	i2c_set_clientdata(client, indio_dev);
client            168 drivers/iio/light/bh1780.c 	pm_runtime_get_noresume(&client->dev);
client            169 drivers/iio/light/bh1780.c 	pm_runtime_set_active(&client->dev);
client            170 drivers/iio/light/bh1780.c 	pm_runtime_enable(&client->dev);
client            175 drivers/iio/light/bh1780.c 	dev_info(&client->dev,
client            184 drivers/iio/light/bh1780.c 	pm_runtime_set_autosuspend_delay(&client->dev, 5000);
client            185 drivers/iio/light/bh1780.c 	pm_runtime_use_autosuspend(&client->dev);
client            186 drivers/iio/light/bh1780.c 	pm_runtime_put(&client->dev);
client            188 drivers/iio/light/bh1780.c 	indio_dev->dev.parent = &client->dev;
client            201 drivers/iio/light/bh1780.c 	pm_runtime_put_noidle(&client->dev);
client            202 drivers/iio/light/bh1780.c 	pm_runtime_disable(&client->dev);
client            206 drivers/iio/light/bh1780.c static int bh1780_remove(struct i2c_client *client)
client            208 drivers/iio/light/bh1780.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            213 drivers/iio/light/bh1780.c 	pm_runtime_get_sync(&client->dev);
client            214 drivers/iio/light/bh1780.c 	pm_runtime_put_noidle(&client->dev);
client            215 drivers/iio/light/bh1780.c 	pm_runtime_disable(&client->dev);
client            218 drivers/iio/light/bh1780.c 		dev_err(&client->dev, "failed to power off\n");
client            228 drivers/iio/light/bh1780.c 	struct i2c_client *client = to_i2c_client(dev);
client            229 drivers/iio/light/bh1780.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            244 drivers/iio/light/bh1780.c 	struct i2c_client *client = to_i2c_client(dev);
client            245 drivers/iio/light/bh1780.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             56 drivers/iio/light/cm32181.c 	struct i2c_client *client;
client             72 drivers/iio/light/cm32181.c 	struct i2c_client *client = cm32181->client;
client             76 drivers/iio/light/cm32181.c 	ret = i2c_smbus_read_word_data(client, CM32181_REG_ADDR_ID);
client             91 drivers/iio/light/cm32181.c 		ret = i2c_smbus_write_word_data(client, cm32181_reg[i],
client            138 drivers/iio/light/cm32181.c 	struct i2c_client *client = cm32181->client;
client            157 drivers/iio/light/cm32181.c 	ret = i2c_smbus_write_word_data(client, CM32181_REG_ADDR_CMD,
client            175 drivers/iio/light/cm32181.c 	struct i2c_client *client = cm32181->client;
client            188 drivers/iio/light/cm32181.c 	ret = i2c_smbus_read_word_data(client, CM32181_REG_ADDR_ALS);
client            297 drivers/iio/light/cm32181.c static int cm32181_probe(struct i2c_client *client,
client            304 drivers/iio/light/cm32181.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*cm32181));
client            306 drivers/iio/light/cm32181.c 		dev_err(&client->dev, "devm_iio_device_alloc failed\n");
client            311 drivers/iio/light/cm32181.c 	i2c_set_clientdata(client, indio_dev);
client            312 drivers/iio/light/cm32181.c 	cm32181->client = client;
client            315 drivers/iio/light/cm32181.c 	indio_dev->dev.parent = &client->dev;
client            324 drivers/iio/light/cm32181.c 		dev_err(&client->dev,
client            330 drivers/iio/light/cm32181.c 	ret = devm_iio_device_register(&client->dev, indio_dev);
client            332 drivers/iio/light/cm32181.c 		dev_err(&client->dev,
client             70 drivers/iio/light/cm3232.c 	struct i2c_client *client;
client             86 drivers/iio/light/cm3232.c 	struct i2c_client *client = chip->client;
client             92 drivers/iio/light/cm3232.c 	ret = i2c_smbus_read_word_data(client, CM3232_REG_ADDR_ID);
client             94 drivers/iio/light/cm3232.c 		dev_err(&chip->client->dev, "Error reading addr_id\n");
client            103 drivers/iio/light/cm3232.c 	ret = i2c_smbus_write_byte_data(client, CM3232_REG_ADDR_CMD,
client            106 drivers/iio/light/cm3232.c 		dev_err(&chip->client->dev, "Error writing reg_cmd\n");
client            114 drivers/iio/light/cm3232.c 	ret = i2c_smbus_write_byte_data(client, CM3232_REG_ADDR_CMD,
client            117 drivers/iio/light/cm3232.c 		dev_err(&chip->client->dev, "Error writing reg_cmd\n");
client            163 drivers/iio/light/cm3232.c 	struct i2c_client *client = chip->client;
client            177 drivers/iio/light/cm3232.c 			ret = i2c_smbus_write_byte_data(client,
client            200 drivers/iio/light/cm3232.c 	struct i2c_client *client = chip->client;
client            216 drivers/iio/light/cm3232.c 	ret = i2c_smbus_read_word_data(client, CM3232_REG_ADDR_ALS);
client            218 drivers/iio/light/cm3232.c 		dev_err(&client->dev, "Error reading reg_addr_als\n");
client            327 drivers/iio/light/cm3232.c static int cm3232_probe(struct i2c_client *client,
client            334 drivers/iio/light/cm3232.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*chip));
client            339 drivers/iio/light/cm3232.c 	i2c_set_clientdata(client, indio_dev);
client            340 drivers/iio/light/cm3232.c 	chip->client = client;
client            342 drivers/iio/light/cm3232.c 	indio_dev->dev.parent = &client->dev;
client            351 drivers/iio/light/cm3232.c 		dev_err(&client->dev,
client            360 drivers/iio/light/cm3232.c static int cm3232_remove(struct i2c_client *client)
client            362 drivers/iio/light/cm3232.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            364 drivers/iio/light/cm3232.c 	i2c_smbus_write_byte_data(client, CM3232_REG_ADDR_CMD,
client            382 drivers/iio/light/cm3232.c 	struct i2c_client *client = chip->client;
client            386 drivers/iio/light/cm3232.c 	ret = i2c_smbus_write_byte_data(client, CM3232_REG_ADDR_CMD,
client            396 drivers/iio/light/cm3232.c 	struct i2c_client *client = chip->client;
client            400 drivers/iio/light/cm3232.c 	ret = i2c_smbus_write_byte_data(client, CM3232_REG_ADDR_CMD,
client             47 drivers/iio/light/cm3323.c 	struct i2c_client *client;
client             84 drivers/iio/light/cm3323.c 	ret = i2c_smbus_read_word_data(data->client, CM3323_CMD_CONF);
client             86 drivers/iio/light/cm3323.c 		dev_err(&data->client->dev, "Error reading reg_conf\n");
client             93 drivers/iio/light/cm3323.c 	ret = i2c_smbus_write_word_data(data->client, CM3323_CMD_CONF, ret);
client             95 drivers/iio/light/cm3323.c 		dev_err(&data->client->dev, "Error writing reg_conf\n");
client            110 drivers/iio/light/cm3323.c 	ret = i2c_smbus_write_word_data(cm_data->client, CM3323_CMD_CONF,
client            113 drivers/iio/light/cm3323.c 		dev_err(&cm_data->client->dev, "Error writing reg_conf\n");
client            127 drivers/iio/light/cm3323.c 			ret = i2c_smbus_write_word_data(data->client,
client            165 drivers/iio/light/cm3323.c 		ret = i2c_smbus_read_word_data(data->client, chan->address);
client            217 drivers/iio/light/cm3323.c static int cm3323_probe(struct i2c_client *client,
client            224 drivers/iio/light/cm3323.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            229 drivers/iio/light/cm3323.c 	i2c_set_clientdata(client, indio_dev);
client            230 drivers/iio/light/cm3323.c 	data->client = client;
client            234 drivers/iio/light/cm3323.c 	indio_dev->dev.parent = &client->dev;
client            243 drivers/iio/light/cm3323.c 		dev_err(&client->dev, "cm3323 chip init failed\n");
client            247 drivers/iio/light/cm3323.c 	ret = devm_add_action_or_reset(&client->dev, cm3323_disable, indio_dev);
client            251 drivers/iio/light/cm3323.c 	return devm_iio_device_register(&client->dev, indio_dev);
client            130 drivers/iio/light/cm36651.c 	struct i2c_client *client;
client            145 drivers/iio/light/cm36651.c 	struct i2c_client *client = cm36651->client;
client            155 drivers/iio/light/cm36651.c 		ret = i2c_smbus_write_byte_data(client, cm36651_cs_reg[i],
client            177 drivers/iio/light/cm36651.c 	ret = i2c_smbus_write_byte_data(client, CM36651_CS_CONF1,
client            193 drivers/iio/light/cm36651.c 	struct i2c_client *client = cm36651->client;
client            198 drivers/iio/light/cm36651.c 		*val = i2c_smbus_read_word_data(client, chan->address);
client            202 drivers/iio/light/cm36651.c 		ret = i2c_smbus_write_byte_data(client, CM36651_CS_CONF1,
client            234 drivers/iio/light/cm36651.c 	struct i2c_client *client = cm36651->client;
client            247 drivers/iio/light/cm36651.c 		dev_err(&client->dev,
client            259 drivers/iio/light/cm36651.c 		dev_err(&client->dev,
client            275 drivers/iio/light/cm36651.c 	struct i2c_client *client = cm36651->client;
client            281 drivers/iio/light/cm36651.c 		ret = i2c_smbus_write_byte_data(client, CM36651_CS_CONF1,
client            293 drivers/iio/light/cm36651.c 			dev_err(&client->dev,
client            304 drivers/iio/light/cm36651.c 			dev_err(&client->dev, "Proximity enable event failed\n");
client            310 drivers/iio/light/cm36651.c 			dev_err(&client->dev,
client            321 drivers/iio/light/cm36651.c 		dev_err(&client->dev, "Write register failed\n");
client            329 drivers/iio/light/cm36651.c 	struct i2c_client *client = cm36651->client;
client            341 drivers/iio/light/cm36651.c 		dev_err(&client->dev, "CM36651 set operation mode failed\n");
client            348 drivers/iio/light/cm36651.c 		dev_err(&client->dev, "CM36651 read output failed\n");
client            393 drivers/iio/light/cm36651.c 	struct i2c_client *client = cm36651->client;
client            410 drivers/iio/light/cm36651.c 		ret = i2c_smbus_write_byte_data(client, CM36651_CS_CONF3,
client            413 drivers/iio/light/cm36651.c 			dev_err(&client->dev, "CS integration time write failed\n");
client            433 drivers/iio/light/cm36651.c 			dev_err(&client->dev, "PS integration time write failed\n");
client            476 drivers/iio/light/cm36651.c 	struct i2c_client *client = cm36651->client;
client            482 drivers/iio/light/cm36651.c 			dev_err(&client->dev, "Integration time write failed\n");
client            510 drivers/iio/light/cm36651.c 	struct i2c_client *client = cm36651->client;
client            521 drivers/iio/light/cm36651.c 		dev_err(&client->dev, "PS threshold write failed: %d\n", ret);
client            621 drivers/iio/light/cm36651.c static int cm36651_probe(struct i2c_client *client,
client            628 drivers/iio/light/cm36651.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*cm36651));
client            634 drivers/iio/light/cm36651.c 	cm36651->vled_reg = devm_regulator_get(&client->dev, "vled");
client            636 drivers/iio/light/cm36651.c 		dev_err(&client->dev, "get regulator vled failed\n");
client            642 drivers/iio/light/cm36651.c 		dev_err(&client->dev, "enable regulator vled failed\n");
client            646 drivers/iio/light/cm36651.c 	i2c_set_clientdata(client, indio_dev);
client            648 drivers/iio/light/cm36651.c 	cm36651->client = client;
client            649 drivers/iio/light/cm36651.c 	cm36651->ps_client = i2c_new_dummy_device(client->adapter,
client            652 drivers/iio/light/cm36651.c 		dev_err(&client->dev, "%s: new i2c device failed\n", __func__);
client            657 drivers/iio/light/cm36651.c 	cm36651->ara_client = i2c_new_dummy_device(client->adapter, CM36651_ARA);
client            659 drivers/iio/light/cm36651.c 		dev_err(&client->dev, "%s: new i2c device failed\n", __func__);
client            665 drivers/iio/light/cm36651.c 	indio_dev->dev.parent = &client->dev;
client            674 drivers/iio/light/cm36651.c 		dev_err(&client->dev, "%s: register setup failed\n", __func__);
client            678 drivers/iio/light/cm36651.c 	ret = request_threaded_irq(client->irq, NULL, cm36651_irq_handler,
client            682 drivers/iio/light/cm36651.c 		dev_err(&client->dev, "%s: request irq failed\n", __func__);
client            688 drivers/iio/light/cm36651.c 		dev_err(&client->dev, "%s: regist device failed\n", __func__);
client            695 drivers/iio/light/cm36651.c 	free_irq(client->irq, indio_dev);
client            705 drivers/iio/light/cm36651.c static int cm36651_remove(struct i2c_client *client)
client            707 drivers/iio/light/cm36651.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            712 drivers/iio/light/cm36651.c 	free_irq(client->irq, indio_dev);
client            241 drivers/iio/light/gp2ap020a00f.c 	struct i2c_client *client;
client            706 drivers/iio/light/gp2ap020a00f.c 		dev_dbg(&data->client->dev, "data ready timeout\n");
client            742 drivers/iio/light/gp2ap020a00f.c 			dev_err(&data->client->dev,
client            750 drivers/iio/light/gp2ap020a00f.c 			dev_err(&data->client->dev,
client            762 drivers/iio/light/gp2ap020a00f.c 			dev_err(&data->client->dev,
client            773 drivers/iio/light/gp2ap020a00f.c 			dev_err(&data->client->dev,
client            784 drivers/iio/light/gp2ap020a00f.c 			dev_err(&data->client->dev,
client            794 drivers/iio/light/gp2ap020a00f.c 				dev_err(&data->client->dev,
client            804 drivers/iio/light/gp2ap020a00f.c 				dev_err(&data->client->dev,
client           1138 drivers/iio/light/gp2ap020a00f.c 	free_irq(data->client->irq, indio_dev);
client           1141 drivers/iio/light/gp2ap020a00f.c 		err = request_threaded_irq(data->client->irq, NULL,
client           1149 drivers/iio/light/gp2ap020a00f.c 		err = request_threaded_irq(data->client->irq, NULL,
client           1255 drivers/iio/light/gp2ap020a00f.c 		dev_err(&data->client->dev,
client           1262 drivers/iio/light/gp2ap020a00f.c 		dev_err(&data->client->dev,
client           1268 drivers/iio/light/gp2ap020a00f.c 		dev_err(&data->client->dev,
client           1482 drivers/iio/light/gp2ap020a00f.c static int gp2ap020a00f_probe(struct i2c_client *client,
client           1490 drivers/iio/light/gp2ap020a00f.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client           1496 drivers/iio/light/gp2ap020a00f.c 	data->vled_reg = devm_regulator_get(&client->dev, "vled");
client           1504 drivers/iio/light/gp2ap020a00f.c 	regmap = devm_regmap_init_i2c(client, &gp2ap020a00f_regmap_config);
client           1506 drivers/iio/light/gp2ap020a00f.c 		dev_err(&client->dev, "Regmap initialization failed.\n");
client           1517 drivers/iio/light/gp2ap020a00f.c 		dev_err(&client->dev, "Device initialization failed.\n");
client           1521 drivers/iio/light/gp2ap020a00f.c 	i2c_set_clientdata(client, indio_dev);
client           1523 drivers/iio/light/gp2ap020a00f.c 	data->client = client;
client           1529 drivers/iio/light/gp2ap020a00f.c 	indio_dev->dev.parent = &client->dev;
client           1543 drivers/iio/light/gp2ap020a00f.c 	data->trig = devm_iio_trigger_alloc(&client->dev, "%s-trigger",
client           1552 drivers/iio/light/gp2ap020a00f.c 	err = request_threaded_irq(client->irq, NULL,
client           1559 drivers/iio/light/gp2ap020a00f.c 		dev_err(&client->dev, "Irq request failed.\n");
client           1564 drivers/iio/light/gp2ap020a00f.c 	data->trig->dev.parent = &data->client->dev;
client           1570 drivers/iio/light/gp2ap020a00f.c 		dev_err(&client->dev, "Failed to register iio trigger.\n");
client           1583 drivers/iio/light/gp2ap020a00f.c 	free_irq(client->irq, indio_dev);
client           1592 drivers/iio/light/gp2ap020a00f.c static int gp2ap020a00f_remove(struct i2c_client *client)
client           1594 drivers/iio/light/gp2ap020a00f.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client           1605 drivers/iio/light/gp2ap020a00f.c 	free_irq(client->irq, indio_dev);
client            714 drivers/iio/light/isl29018.c static int isl29018_probe(struct i2c_client *client,
client            723 drivers/iio/light/isl29018.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*chip));
client            729 drivers/iio/light/isl29018.c 	i2c_set_clientdata(client, indio_dev);
client            736 drivers/iio/light/isl29018.c 	if (ACPI_HANDLE(&client->dev))
client            737 drivers/iio/light/isl29018.c 		name = isl29018_match_acpi_device(&client->dev, &dev_id);
client            748 drivers/iio/light/isl29018.c 	chip->vcc_reg = devm_regulator_get(&client->dev, "vcc");
client            752 drivers/iio/light/isl29018.c 			dev_err(&client->dev, "failed to get VCC regulator!\n");
client            758 drivers/iio/light/isl29018.c 		dev_err(&client->dev, "failed to enable VCC regulator!\n");
client            762 drivers/iio/light/isl29018.c 	err = devm_add_action_or_reset(&client->dev, isl29018_disable_regulator_action,
client            765 drivers/iio/light/isl29018.c 		dev_err(&client->dev, "failed to setup regulator cleanup action!\n");
client            769 drivers/iio/light/isl29018.c 	chip->regmap = devm_regmap_init_i2c(client,
client            773 drivers/iio/light/isl29018.c 		dev_err(&client->dev, "regmap initialization fails: %d\n", err);
client            785 drivers/iio/light/isl29018.c 	indio_dev->dev.parent = &client->dev;
client            788 drivers/iio/light/isl29018.c 	return devm_iio_device_register(&client->dev, indio_dev);
client            570 drivers/iio/light/isl29028.c static int isl29028_probe(struct i2c_client *client,
client            577 drivers/iio/light/isl29028.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*chip));
client            583 drivers/iio/light/isl29028.c 	i2c_set_clientdata(client, indio_dev);
client            586 drivers/iio/light/isl29028.c 	chip->regmap = devm_regmap_init_i2c(client, &isl29028_regmap_config);
client            589 drivers/iio/light/isl29028.c 		dev_err(&client->dev, "%s: Error %d initializing regmap\n",
client            601 drivers/iio/light/isl29028.c 		dev_err(&client->dev,
client            609 drivers/iio/light/isl29028.c 		dev_err(&client->dev,
client            623 drivers/iio/light/isl29028.c 	indio_dev->dev.parent = &client->dev;
client            626 drivers/iio/light/isl29028.c 	pm_runtime_enable(&client->dev);
client            627 drivers/iio/light/isl29028.c 	pm_runtime_set_autosuspend_delay(&client->dev,
client            629 drivers/iio/light/isl29028.c 	pm_runtime_use_autosuspend(&client->dev);
client            633 drivers/iio/light/isl29028.c 		dev_err(&client->dev,
client            642 drivers/iio/light/isl29028.c static int isl29028_remove(struct i2c_client *client)
client            644 drivers/iio/light/isl29028.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            649 drivers/iio/light/isl29028.c 	pm_runtime_disable(&client->dev);
client            650 drivers/iio/light/isl29028.c 	pm_runtime_set_suspended(&client->dev);
client            651 drivers/iio/light/isl29028.c 	pm_runtime_put_noidle(&client->dev);
client             52 drivers/iio/light/isl29125.c 	struct i2c_client *client;
client             92 drivers/iio/light/isl29125.c 	ret = i2c_smbus_write_byte_data(data->client, ISL29125_CONF1,
client            100 drivers/iio/light/isl29125.c 		ret = i2c_smbus_read_byte_data(data->client, ISL29125_STATUS);
client            109 drivers/iio/light/isl29125.c 		dev_err(&data->client->dev, "data not ready\n");
client            114 drivers/iio/light/isl29125.c 	ret = i2c_smbus_read_word_data(data->client, isl29125_regs[si].data);
client            117 drivers/iio/light/isl29125.c 	i2c_smbus_write_byte_data(data->client, ISL29125_CONF1, data->conf1);
client            166 drivers/iio/light/isl29125.c 		return i2c_smbus_write_byte_data(data->client, ISL29125_CONF1,
client            182 drivers/iio/light/isl29125.c 		int ret = i2c_smbus_read_word_data(data->client,
client            221 drivers/iio/light/isl29125.c 	return i2c_smbus_write_byte_data(data->client, ISL29125_CONF1,
client            236 drivers/iio/light/isl29125.c 	return i2c_smbus_write_byte_data(data->client, ISL29125_CONF1,
client            246 drivers/iio/light/isl29125.c static int isl29125_probe(struct i2c_client *client,
client            253 drivers/iio/light/isl29125.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            258 drivers/iio/light/isl29125.c 	i2c_set_clientdata(client, indio_dev);
client            259 drivers/iio/light/isl29125.c 	data->client = client;
client            261 drivers/iio/light/isl29125.c 	indio_dev->dev.parent = &client->dev;
client            268 drivers/iio/light/isl29125.c 	ret = i2c_smbus_read_byte_data(data->client, ISL29125_DEVICE_ID);
client            275 drivers/iio/light/isl29125.c 	ret = i2c_smbus_write_byte_data(data->client, ISL29125_CONF1,
client            280 drivers/iio/light/isl29125.c 	ret = i2c_smbus_write_byte_data(data->client, ISL29125_STATUS, 0);
client            302 drivers/iio/light/isl29125.c 	return i2c_smbus_write_byte_data(data->client, ISL29125_CONF1,
client            306 drivers/iio/light/isl29125.c static int isl29125_remove(struct i2c_client *client)
client            308 drivers/iio/light/isl29125.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            329 drivers/iio/light/isl29125.c 	return i2c_smbus_write_byte_data(data->client, ISL29125_CONF1,
client            117 drivers/iio/light/jsa1212.c 	struct i2c_client *client;
client            177 drivers/iio/light/jsa1212.c 		dev_err(&data->client->dev, "als data read err\n");
client            203 drivers/iio/light/jsa1212.c 		dev_err(&data->client->dev, "pxs data read err\n");
client            311 drivers/iio/light/jsa1212.c static int jsa1212_probe(struct i2c_client *client,
client            319 drivers/iio/light/jsa1212.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            323 drivers/iio/light/jsa1212.c 	regmap = devm_regmap_init_i2c(client, &jsa1212_regmap_config);
client            325 drivers/iio/light/jsa1212.c 		dev_err(&client->dev, "Regmap initialization failed.\n");
client            331 drivers/iio/light/jsa1212.c 	i2c_set_clientdata(client, indio_dev);
client            332 drivers/iio/light/jsa1212.c 	data->client = client;
client            341 drivers/iio/light/jsa1212.c 	indio_dev->dev.parent = &client->dev;
client            351 drivers/iio/light/jsa1212.c 		dev_err(&client->dev, "%s: register device failed\n", __func__);
client            370 drivers/iio/light/jsa1212.c 		dev_err(&data->client->dev, "power off cmd failed\n");
client            377 drivers/iio/light/jsa1212.c static int jsa1212_remove(struct i2c_client *client)
client            379 drivers/iio/light/jsa1212.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            150 drivers/iio/light/ltr501.c 	struct i2c_client *client;
client            338 drivers/iio/light/ltr501.c 	dev_err(&data->client->dev, "ltr501_drdy() failed, data not ready\n");
client           1300 drivers/iio/light/ltr501.c 		dev_err(&data->client->dev,
client           1389 drivers/iio/light/ltr501.c static int ltr501_probe(struct i2c_client *client,
client           1398 drivers/iio/light/ltr501.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client           1402 drivers/iio/light/ltr501.c 	regmap = devm_regmap_init_i2c(client, &ltr501_regmap_config);
client           1404 drivers/iio/light/ltr501.c 		dev_err(&client->dev, "Regmap initialization failed.\n");
client           1409 drivers/iio/light/ltr501.c 	i2c_set_clientdata(client, indio_dev);
client           1410 drivers/iio/light/ltr501.c 	data->client = client;
client           1415 drivers/iio/light/ltr501.c 	data->reg_it = devm_regmap_field_alloc(&client->dev, regmap,
client           1418 drivers/iio/light/ltr501.c 		dev_err(&client->dev, "Integ time reg field init failed.\n");
client           1422 drivers/iio/light/ltr501.c 	data->reg_als_intr = devm_regmap_field_alloc(&client->dev, regmap,
client           1425 drivers/iio/light/ltr501.c 		dev_err(&client->dev, "ALS intr mode reg field init failed\n");
client           1429 drivers/iio/light/ltr501.c 	data->reg_ps_intr = devm_regmap_field_alloc(&client->dev, regmap,
client           1432 drivers/iio/light/ltr501.c 		dev_err(&client->dev, "PS intr mode reg field init failed.\n");
client           1436 drivers/iio/light/ltr501.c 	data->reg_als_rate = devm_regmap_field_alloc(&client->dev, regmap,
client           1439 drivers/iio/light/ltr501.c 		dev_err(&client->dev, "ALS samp rate field init failed.\n");
client           1443 drivers/iio/light/ltr501.c 	data->reg_ps_rate = devm_regmap_field_alloc(&client->dev, regmap,
client           1446 drivers/iio/light/ltr501.c 		dev_err(&client->dev, "PS samp rate field init failed.\n");
client           1450 drivers/iio/light/ltr501.c 	data->reg_als_prst = devm_regmap_field_alloc(&client->dev, regmap,
client           1453 drivers/iio/light/ltr501.c 		dev_err(&client->dev, "ALS prst reg field init failed\n");
client           1457 drivers/iio/light/ltr501.c 	data->reg_ps_prst = devm_regmap_field_alloc(&client->dev, regmap,
client           1460 drivers/iio/light/ltr501.c 		dev_err(&client->dev, "PS prst reg field init failed.\n");
client           1471 drivers/iio/light/ltr501.c 	} else  if (ACPI_HANDLE(&client->dev)) {
client           1472 drivers/iio/light/ltr501.c 		name = ltr501_match_acpi_device(&client->dev, &chip_idx);
client           1482 drivers/iio/light/ltr501.c 	indio_dev->dev.parent = &client->dev;
client           1493 drivers/iio/light/ltr501.c 	if (client->irq > 0) {
client           1494 drivers/iio/light/ltr501.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client           1501 drivers/iio/light/ltr501.c 			dev_err(&client->dev, "request irq (%d) failed\n",
client           1502 drivers/iio/light/ltr501.c 				client->irq);
client           1527 drivers/iio/light/ltr501.c static int ltr501_remove(struct i2c_client *client)
client           1529 drivers/iio/light/ltr501.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             39 drivers/iio/light/lv0104cs.c 	struct i2c_client *client;
client            131 drivers/iio/light/lv0104cs.c static int lv0104cs_write_reg(struct i2c_client *client, u8 regval)
client            135 drivers/iio/light/lv0104cs.c 	ret = i2c_master_send(client, (char *)&regval, sizeof(regval));
client            144 drivers/iio/light/lv0104cs.c static int lv0104cs_read_adc(struct i2c_client *client, u16 *adc_output)
client            149 drivers/iio/light/lv0104cs.c 	ret = i2c_master_recv(client, (char *)&regval, sizeof(regval));
client            169 drivers/iio/light/lv0104cs.c 	ret = lv0104cs_write_reg(lv0104cs->client, regval);
client            191 drivers/iio/light/lv0104cs.c 	ret = lv0104cs_read_adc(lv0104cs->client, &adc_output);
client            195 drivers/iio/light/lv0104cs.c 	ret = lv0104cs_write_reg(lv0104cs->client, LV0104CS_REGVAL_SLEEP);
client            308 drivers/iio/light/lv0104cs.c 	ret = lv0104cs_write_reg(lv0104cs->client,
client            477 drivers/iio/light/lv0104cs.c static int lv0104cs_probe(struct i2c_client *client,
client            484 drivers/iio/light/lv0104cs.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*lv0104cs));
client            490 drivers/iio/light/lv0104cs.c 	i2c_set_clientdata(client, lv0104cs);
client            491 drivers/iio/light/lv0104cs.c 	lv0104cs->client = client;
client            499 drivers/iio/light/lv0104cs.c 	ret = lv0104cs_write_reg(lv0104cs->client,
client            505 drivers/iio/light/lv0104cs.c 	indio_dev->dev.parent = &client->dev;
client            508 drivers/iio/light/lv0104cs.c 	indio_dev->name = client->name;
client            511 drivers/iio/light/lv0104cs.c 	return devm_iio_device_register(&client->dev, indio_dev);
client            522 drivers/iio/light/max44000.c static int max44000_probe(struct i2c_client *client,
client            529 drivers/iio/light/max44000.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            533 drivers/iio/light/max44000.c 	data->regmap = devm_regmap_init_i2c(client, &max44000_regmap_config);
client            535 drivers/iio/light/max44000.c 		dev_err(&client->dev, "regmap_init failed!\n");
client            539 drivers/iio/light/max44000.c 	i2c_set_clientdata(client, indio_dev);
client            541 drivers/iio/light/max44000.c 	indio_dev->dev.parent = &client->dev;
client            559 drivers/iio/light/max44000.c 		dev_err(&client->dev, "failed to write default CFG_RX: %d\n",
client            570 drivers/iio/light/max44000.c 		dev_err(&client->dev, "failed to write init config: %d\n", ret);
client            578 drivers/iio/light/max44000.c 		dev_err(&client->dev, "failed to write init config: %d\n", ret);
client            585 drivers/iio/light/max44000.c 		dev_err(&client->dev, "failed to read init status: %d\n", ret);
client            591 drivers/iio/light/max44000.c 		dev_err(&client->dev, "iio triggered buffer setup failed\n");
client            598 drivers/iio/light/max44000.c static int max44000_remove(struct i2c_client *client)
client            600 drivers/iio/light/max44000.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             80 drivers/iio/light/max44009.c 	struct i2c_client *client;
client            112 drivers/iio/light/max44009.c 	int ret = i2c_smbus_read_byte_data(data->client, MAX44009_REG_CFG);
client            123 drivers/iio/light/max44009.c 	struct i2c_client *client = data->client;
client            133 drivers/iio/light/max44009.c 	ret = i2c_smbus_read_byte_data(client, MAX44009_REG_CFG);
client            146 drivers/iio/light/max44009.c 	return i2c_smbus_write_byte_data(client, MAX44009_REG_CFG, config);
client            206 drivers/iio/light/max44009.c 			.addr = data->client->addr,
client            212 drivers/iio/light/max44009.c 			.addr = data->client->addr,
client            218 drivers/iio/light/max44009.c 			.addr = data->client->addr,
client            224 drivers/iio/light/max44009.c 			.addr = data->client->addr,
client            237 drivers/iio/light/max44009.c 	ret = i2c_transfer(data->client->adapter,
client            359 drivers/iio/light/max44009.c 	return i2c_smbus_write_byte_data(data->client, reg, threshold);
client            373 drivers/iio/light/max44009.c 	byte = i2c_smbus_read_byte_data(data->client, reg);
client            433 drivers/iio/light/max44009.c 	ret = i2c_smbus_write_byte_data(data->client,
client            442 drivers/iio/light/max44009.c 	return i2c_smbus_write_byte_data(data->client,
client            456 drivers/iio/light/max44009.c 	return i2c_smbus_read_byte_data(data->client, MAX44009_REG_INT_EN);
client            476 drivers/iio/light/max44009.c 	ret = i2c_smbus_read_byte_data(data->client, MAX44009_REG_INT_STATUS);
client            490 drivers/iio/light/max44009.c static int max44009_probe(struct i2c_client *client,
client            497 drivers/iio/light/max44009.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            502 drivers/iio/light/max44009.c 	i2c_set_clientdata(client, indio_dev);
client            503 drivers/iio/light/max44009.c 	data->client = client;
client            504 drivers/iio/light/max44009.c 	indio_dev->dev.parent = &client->dev;
client            513 drivers/iio/light/max44009.c 	ret = i2c_smbus_read_byte_data(client, MAX44009_REG_CFG);
client            517 drivers/iio/light/max44009.c 	if (client->irq > 0) {
client            518 drivers/iio/light/max44009.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            529 drivers/iio/light/max44009.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             47 drivers/iio/light/noa1305.c 	struct i2c_client *client;
client            197 drivers/iio/light/noa1305.c static int noa1305_probe(struct i2c_client *client,
client            207 drivers/iio/light/noa1305.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*priv));
client            211 drivers/iio/light/noa1305.c 	regmap = devm_regmap_init_i2c(client, &noa1305_regmap_config);
client            213 drivers/iio/light/noa1305.c 		dev_err(&client->dev, "Regmap initialization failed.\n");
client            219 drivers/iio/light/noa1305.c 	priv->vin_reg = devm_regulator_get(&client->dev, "vin");
client            221 drivers/iio/light/noa1305.c 		dev_err(&client->dev, "get regulator vin failed\n");
client            227 drivers/iio/light/noa1305.c 		dev_err(&client->dev, "enable regulator vin failed\n");
client            231 drivers/iio/light/noa1305.c 	ret = devm_add_action_or_reset(&client->dev, noa1305_reg_remove, priv);
client            233 drivers/iio/light/noa1305.c 		dev_err(&client->dev, "addition of devm action failed\n");
client            237 drivers/iio/light/noa1305.c 	i2c_set_clientdata(client, indio_dev);
client            238 drivers/iio/light/noa1305.c 	priv->client = client;
client            243 drivers/iio/light/noa1305.c 		dev_err(&client->dev, "ID reading failed: %d\n", ret);
client            249 drivers/iio/light/noa1305.c 		dev_err(&client->dev, "Unknown device ID: 0x%x\n", dev_id);
client            256 drivers/iio/light/noa1305.c 		dev_err(&client->dev, "Enabling power control failed\n");
client            262 drivers/iio/light/noa1305.c 		dev_err(&client->dev, "Device reset failed\n");
client            269 drivers/iio/light/noa1305.c 		dev_err(&client->dev, "Setting integration time failed\n");
client            273 drivers/iio/light/noa1305.c 	indio_dev->dev.parent = &client->dev;
client            280 drivers/iio/light/noa1305.c 	ret = devm_iio_device_register(&client->dev, indio_dev);
client            282 drivers/iio/light/noa1305.c 		dev_err(&client->dev, "registering device failed\n");
client             73 drivers/iio/light/opt3001.c 	struct i2c_client	*client;
client            238 drivers/iio/light/opt3001.c 		ret = i2c_smbus_write_word_swapped(opt->client,
client            255 drivers/iio/light/opt3001.c 	ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION);
client            265 drivers/iio/light/opt3001.c 	ret = i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION,
client            285 drivers/iio/light/opt3001.c 		ret = i2c_smbus_read_word_swapped(opt->client,
client            299 drivers/iio/light/opt3001.c 		ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_RESULT);
client            328 drivers/iio/light/opt3001.c 		ret = i2c_smbus_write_word_swapped(opt->client,
client            359 drivers/iio/light/opt3001.c 	ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION);
client            381 drivers/iio/light/opt3001.c 	return i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION,
client            514 drivers/iio/light/opt3001.c 	ret = i2c_smbus_write_word_swapped(opt->client, reg, value);
client            555 drivers/iio/light/opt3001.c 	ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION);
client            565 drivers/iio/light/opt3001.c 	ret = i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION,
client            595 drivers/iio/light/opt3001.c 	ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_MANUFACTURER_ID);
client            605 drivers/iio/light/opt3001.c 	ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_DEVICE_ID);
client            625 drivers/iio/light/opt3001.c 	ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION);
client            653 drivers/iio/light/opt3001.c 	ret = i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION,
client            661 drivers/iio/light/opt3001.c 	ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_LOW_LIMIT);
client            671 drivers/iio/light/opt3001.c 	ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_HIGH_LIMIT);
client            694 drivers/iio/light/opt3001.c 	ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION);
client            716 drivers/iio/light/opt3001.c 		ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_RESULT);
client            737 drivers/iio/light/opt3001.c static int opt3001_probe(struct i2c_client *client,
client            740 drivers/iio/light/opt3001.c 	struct device *dev = &client->dev;
client            744 drivers/iio/light/opt3001.c 	int irq = client->irq;
client            752 drivers/iio/light/opt3001.c 	opt->client = client;
client            757 drivers/iio/light/opt3001.c 	i2c_set_clientdata(client, iio);
client            767 drivers/iio/light/opt3001.c 	iio->name = client->name;
client            797 drivers/iio/light/opt3001.c static int opt3001_remove(struct i2c_client *client)
client            799 drivers/iio/light/opt3001.c 	struct iio_dev *iio = i2c_get_clientdata(client);
client            805 drivers/iio/light/opt3001.c 		free_irq(client->irq, iio);
client            807 drivers/iio/light/opt3001.c 	ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION);
client            817 drivers/iio/light/opt3001.c 	ret = i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION,
client             63 drivers/iio/light/pa12203001.c 	struct i2c_client *client;
client            189 drivers/iio/light/pa12203001.c 		ret = pm_runtime_get_sync(&data->client->dev);
client            191 drivers/iio/light/pa12203001.c 			pm_runtime_put_noidle(&data->client->dev);
client            194 drivers/iio/light/pa12203001.c 		pm_runtime_mark_last_busy(&data->client->dev);
client            195 drivers/iio/light/pa12203001.c 		ret = pm_runtime_put_autosuspend(&data->client->dev);
client            343 drivers/iio/light/pa12203001.c static int pa12203001_probe(struct i2c_client *client,
client            350 drivers/iio/light/pa12203001.c 	indio_dev = devm_iio_device_alloc(&client->dev,
client            356 drivers/iio/light/pa12203001.c 	i2c_set_clientdata(client, indio_dev);
client            357 drivers/iio/light/pa12203001.c 	data->client = client;
client            359 drivers/iio/light/pa12203001.c 	data->map = devm_regmap_init_i2c(client, &pa12203001_regmap_config);
client            365 drivers/iio/light/pa12203001.c 	indio_dev->dev.parent = &client->dev;
client            380 drivers/iio/light/pa12203001.c 	ret = pm_runtime_set_active(&client->dev);
client            384 drivers/iio/light/pa12203001.c 	pm_runtime_enable(&client->dev);
client            385 drivers/iio/light/pa12203001.c 	pm_runtime_set_autosuspend_delay(&client->dev,
client            387 drivers/iio/light/pa12203001.c 	pm_runtime_use_autosuspend(&client->dev);
client            400 drivers/iio/light/pa12203001.c static int pa12203001_remove(struct i2c_client *client)
client            402 drivers/iio/light/pa12203001.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            406 drivers/iio/light/pa12203001.c 	pm_runtime_disable(&client->dev);
client            407 drivers/iio/light/pa12203001.c 	pm_runtime_set_suspended(&client->dev);
client            178 drivers/iio/light/rpr0521.c 	struct i2c_client *client;
client            352 drivers/iio/light/rpr0521.c 		ret = pm_runtime_get_sync(&data->client->dev);
client            354 drivers/iio/light/rpr0521.c 		pm_runtime_mark_last_busy(&data->client->dev);
client            355 drivers/iio/light/rpr0521.c 		ret = pm_runtime_put_autosuspend(&data->client->dev);
client            358 drivers/iio/light/rpr0521.c 		dev_err(&data->client->dev,
client            362 drivers/iio/light/rpr0521.c 			pm_runtime_put_noidle(&data->client->dev);
client            470 drivers/iio/light/rpr0521.c 		dev_err(&data->client->dev,
client            488 drivers/iio/light/rpr0521.c 		dev_err(&data->client->dev, "PS control reg write fail.\n");
client            499 drivers/iio/light/rpr0521.c 		dev_err(&data->client->dev, "Interrupt setup write fail.\n");
client            531 drivers/iio/light/rpr0521.c 		dev_err(&data->client->dev, "rpr0521_pxs_drdy_set_state failed\n");
client            551 drivers/iio/light/rpr0521.c 		dev_err(&data->client->dev, "_buffer_preenable fail\n");
client            566 drivers/iio/light/rpr0521.c 		dev_err(&data->client->dev, "_buffer_postdisable fail\n");
client            690 drivers/iio/light/rpr0521.c 		dev_err(&data->client->dev, "Failed to read PS OFFSET register\n");
client            708 drivers/iio/light/rpr0521.c 		dev_err(&data->client->dev, "Failed to write PS OFFSET register\n");
client            841 drivers/iio/light/rpr0521.c 		dev_err(&data->client->dev, "Failed to read REG_ID register\n");
client            846 drivers/iio/light/rpr0521.c 		dev_err(&data->client->dev, "Wrong id, got %x, expected %x\n",
client            896 drivers/iio/light/rpr0521.c 		dev_err(&data->client->dev, "Failed to reset int pin.\n");
client            926 drivers/iio/light/rpr0521.c static int rpr0521_probe(struct i2c_client *client,
client            934 drivers/iio/light/rpr0521.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            938 drivers/iio/light/rpr0521.c 	regmap = devm_regmap_init_i2c(client, &rpr0521_regmap_config);
client            940 drivers/iio/light/rpr0521.c 		dev_err(&client->dev, "regmap_init failed!\n");
client            945 drivers/iio/light/rpr0521.c 	i2c_set_clientdata(client, indio_dev);
client            946 drivers/iio/light/rpr0521.c 	data->client = client;
client            951 drivers/iio/light/rpr0521.c 	indio_dev->dev.parent = &client->dev;
client            960 drivers/iio/light/rpr0521.c 		dev_err(&client->dev, "rpr0521 chip init failed\n");
client            964 drivers/iio/light/rpr0521.c 	ret = pm_runtime_set_active(&client->dev);
client            968 drivers/iio/light/rpr0521.c 	pm_runtime_enable(&client->dev);
client            969 drivers/iio/light/rpr0521.c 	pm_runtime_set_autosuspend_delay(&client->dev, RPR0521_SLEEP_DELAY_MS);
client            970 drivers/iio/light/rpr0521.c 	pm_runtime_use_autosuspend(&client->dev);
client            978 drivers/iio/light/rpr0521.c 	if (client->irq) {
client            993 drivers/iio/light/rpr0521.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            998 drivers/iio/light/rpr0521.c 			dev_err(&client->dev, "request irq %d for trigger0 failed\n",
client            999 drivers/iio/light/rpr0521.c 				client->irq);
client           1006 drivers/iio/light/rpr0521.c 			dev_err(&client->dev, "iio trigger register failed\n");
client           1022 drivers/iio/light/rpr0521.c 			dev_err(&client->dev, "iio triggered buffer setup failed\n");
client           1034 drivers/iio/light/rpr0521.c 	pm_runtime_disable(&client->dev);
client           1035 drivers/iio/light/rpr0521.c 	pm_runtime_set_suspended(&client->dev);
client           1036 drivers/iio/light/rpr0521.c 	pm_runtime_put_noidle(&client->dev);
client           1043 drivers/iio/light/rpr0521.c static int rpr0521_remove(struct i2c_client *client)
client           1045 drivers/iio/light/rpr0521.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client           1049 drivers/iio/light/rpr0521.c 	pm_runtime_disable(&client->dev);
client           1050 drivers/iio/light/rpr0521.c 	pm_runtime_set_suspended(&client->dev);
client           1051 drivers/iio/light/rpr0521.c 	pm_runtime_put_noidle(&client->dev);
client            197 drivers/iio/light/si1133.c 	struct i2c_client *client;
client            315 drivers/iio/light/si1133.c 	struct device *dev = &data->client->dev;
client            389 drivers/iio/light/si1133.c 	struct device *dev = &data->client->dev;
client            999 drivers/iio/light/si1133.c static int si1133_probe(struct i2c_client *client,
client           1006 drivers/iio/light/si1133.c 	iio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client           1014 drivers/iio/light/si1133.c 	data->regmap = devm_regmap_init_i2c(client, &si1133_regmap_config);
client           1017 drivers/iio/light/si1133.c 		dev_err(&client->dev, "Failed to initialise regmap: %d\n", err);
client           1021 drivers/iio/light/si1133.c 	i2c_set_clientdata(client, iio_dev);
client           1022 drivers/iio/light/si1133.c 	data->client = client;
client           1024 drivers/iio/light/si1133.c 	iio_dev->dev.parent = &client->dev;
client           1039 drivers/iio/light/si1133.c 		dev_err(&client->dev,
client           1044 drivers/iio/light/si1133.c 	if (!client->irq) {
client           1045 drivers/iio/light/si1133.c 		dev_err(&client->dev,
client           1050 drivers/iio/light/si1133.c 	err = devm_request_threaded_irq(&client->dev, client->irq,
client           1054 drivers/iio/light/si1133.c 					client->name, iio_dev);
client           1056 drivers/iio/light/si1133.c 		dev_warn(&client->dev, "Request irq %d failed: %i\n",
client           1057 drivers/iio/light/si1133.c 			 client->irq, err);
client           1061 drivers/iio/light/si1133.c 	return devm_iio_device_register(&client->dev, iio_dev);
client            174 drivers/iio/light/si1145.c 	struct i2c_client *client;
client            194 drivers/iio/light/si1145.c 	struct device *dev = &data->client->dev;
client            198 drivers/iio/light/si1145.c 	ret = i2c_smbus_write_byte_data(data->client, SI1145_REG_COMMAND,
client            206 drivers/iio/light/si1145.c 		ret = i2c_smbus_read_byte_data(data->client,
client            230 drivers/iio/light/si1145.c 	struct device *dev = &data->client->dev;
client            246 drivers/iio/light/si1145.c 	ret = i2c_smbus_write_byte_data(data->client, SI1145_REG_COMMAND, cmd);
client            256 drivers/iio/light/si1145.c 		ret = i2c_smbus_read_byte_data(data->client,
client            313 drivers/iio/light/si1145.c 	ret = i2c_smbus_write_byte_data(data->client,
client            335 drivers/iio/light/si1145.c 	return i2c_smbus_read_byte_data(data->client, SI1145_REG_PARAM_RD);
client            395 drivers/iio/light/si1145.c 		return i2c_smbus_write_word_data(data->client,
client            398 drivers/iio/light/si1145.c 		return i2c_smbus_write_byte_data(data->client,
client            459 drivers/iio/light/si1145.c 		irq_status = ret = i2c_smbus_read_byte_data(data->client,
client            481 drivers/iio/light/si1145.c 				data->client, indio_dev->channels[i].address,
client            490 drivers/iio/light/si1145.c 		ret = i2c_smbus_write_byte_data(data->client,
client            577 drivers/iio/light/si1145.c 	return i2c_smbus_read_word_data(data->client, chan->address);
client            649 drivers/iio/light/si1145.c 			ret = i2c_smbus_read_byte_data(data->client,
client            780 drivers/iio/light/si1145.c 		ret = i2c_smbus_read_byte_data(data->client, reg1);
client            785 drivers/iio/light/si1145.c 		ret = i2c_smbus_write_byte_data(data->client, reg1,
client           1013 drivers/iio/light/si1145.c 	struct i2c_client *client = data->client;
client           1016 drivers/iio/light/si1145.c 	ret = i2c_smbus_write_byte_data(client, SI1145_REG_COMMAND,
client           1023 drivers/iio/light/si1145.c 	ret = i2c_smbus_write_byte_data(client, SI1145_REG_HW_KEY, 0x17);
client           1041 drivers/iio/light/si1145.c 		ret = i2c_smbus_write_byte_data(client,
client           1048 drivers/iio/light/si1145.c 		ret = i2c_smbus_write_byte_data(client,
client           1054 drivers/iio/light/si1145.c 		ret = i2c_smbus_write_byte_data(client,
client           1118 drivers/iio/light/si1145.c 		ret = i2c_smbus_write_byte_data(data->client,
client           1123 drivers/iio/light/si1145.c 		ret = i2c_smbus_write_byte_data(data->client,
client           1127 drivers/iio/light/si1145.c 		ret = i2c_smbus_write_byte_data(data->client,
client           1131 drivers/iio/light/si1145.c 		ret = i2c_smbus_write_byte_data(data->client,
client           1196 drivers/iio/light/si1145.c 		err = i2c_smbus_write_byte_data(data->client,
client           1200 drivers/iio/light/si1145.c 		err = i2c_smbus_write_byte_data(data->client,
client           1219 drivers/iio/light/si1145.c 		ret = i2c_smbus_write_byte_data(data->client,
client           1223 drivers/iio/light/si1145.c 		ret = i2c_smbus_write_byte_data(data->client,
client           1241 drivers/iio/light/si1145.c 	struct i2c_client *client = data->client;
client           1245 drivers/iio/light/si1145.c 	trig = devm_iio_trigger_alloc(&client->dev,
client           1250 drivers/iio/light/si1145.c 	trig->dev.parent = &client->dev;
client           1254 drivers/iio/light/si1145.c 	ret = devm_request_irq(&client->dev, client->irq,
client           1260 drivers/iio/light/si1145.c 		dev_err(&client->dev, "irq request failed\n");
client           1264 drivers/iio/light/si1145.c 	ret = devm_iio_trigger_register(&client->dev, trig);
client           1274 drivers/iio/light/si1145.c static int si1145_probe(struct i2c_client *client,
client           1282 drivers/iio/light/si1145.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client           1287 drivers/iio/light/si1145.c 	i2c_set_clientdata(client, indio_dev);
client           1288 drivers/iio/light/si1145.c 	data->client = client;
client           1291 drivers/iio/light/si1145.c 	part_id = ret = i2c_smbus_read_byte_data(data->client,
client           1295 drivers/iio/light/si1145.c 	rev_id = ret = i2c_smbus_read_byte_data(data->client,
client           1299 drivers/iio/light/si1145.c 	seq_id = ret = i2c_smbus_read_byte_data(data->client,
client           1303 drivers/iio/light/si1145.c 	dev_info(&client->dev, "device ID part %#02hhx rev %#02hhx seq %#02hhx\n",
client           1306 drivers/iio/light/si1145.c 		dev_err(&client->dev, "part ID mismatch got %#02hhx, expected %#02x\n",
client           1311 drivers/iio/light/si1145.c 	indio_dev->dev.parent = &client->dev;
client           1325 drivers/iio/light/si1145.c 	ret = devm_iio_triggered_buffer_setup(&client->dev,
client           1331 drivers/iio/light/si1145.c 	if (client->irq) {
client           1336 drivers/iio/light/si1145.c 		dev_info(&client->dev, "no irq, using polling\n");
client           1339 drivers/iio/light/si1145.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             28 drivers/iio/light/st_uvis25_i2c.c static int st_uvis25_i2c_probe(struct i2c_client *client,
client             33 drivers/iio/light/st_uvis25_i2c.c 	regmap = devm_regmap_init_i2c(client, &st_uvis25_i2c_regmap_config);
client             35 drivers/iio/light/st_uvis25_i2c.c 		dev_err(&client->dev, "Failed to register i2c regmap %d\n",
client             40 drivers/iio/light/st_uvis25_i2c.c 	return st_uvis25_probe(&client->dev, client->irq, regmap);
client             58 drivers/iio/light/stk3310.c 			devm_regmap_field_alloc(&client->dev, regmap,	    \
client             61 drivers/iio/light/stk3310.c 			dev_err(&client->dev, "reg field alloc failed.\n"); \
client            104 drivers/iio/light/stk3310.c 	struct i2c_client *client;
client            218 drivers/iio/light/stk3310.c 		dev_err(&data->client->dev, "register read failed\n");
client            238 drivers/iio/light/stk3310.c 	struct i2c_client *client = data->client;
client            257 drivers/iio/light/stk3310.c 		dev_err(&client->dev, "failed to set PS threshold!\n");
client            286 drivers/iio/light/stk3310.c 	struct i2c_client *client = data->client;
client            295 drivers/iio/light/stk3310.c 		dev_err(&client->dev, "failed to set interrupt mode\n");
client            310 drivers/iio/light/stk3310.c 	struct i2c_client *client = data->client;
client            325 drivers/iio/light/stk3310.c 			dev_err(&client->dev, "register read failed\n");
client            383 drivers/iio/light/stk3310.c 			dev_err(&data->client->dev,
client            400 drivers/iio/light/stk3310.c 			dev_err(&data->client->dev,
client            422 drivers/iio/light/stk3310.c 	struct i2c_client *client = data->client;
client            431 drivers/iio/light/stk3310.c 		dev_err(&client->dev, "failed to change sensor state\n");
client            448 drivers/iio/light/stk3310.c 	struct i2c_client *client = data->client;
client            457 drivers/iio/light/stk3310.c 		dev_err(&client->dev, "invalid chip id: 0x%x\n", chipid);
client            464 drivers/iio/light/stk3310.c 		dev_err(&client->dev, "failed to enable sensor");
client            471 drivers/iio/light/stk3310.c 		dev_err(&client->dev, "failed to enable interrupts!\n");
client            502 drivers/iio/light/stk3310.c 	struct i2c_client *client;
client            504 drivers/iio/light/stk3310.c 	client = data->client;
client            505 drivers/iio/light/stk3310.c 	regmap = devm_regmap_init_i2c(client, &stk3310_regmap_config);
client            507 drivers/iio/light/stk3310.c 		dev_err(&client->dev, "regmap initialization failed.\n");
client            547 drivers/iio/light/stk3310.c 		dev_err(&data->client->dev, "register read failed\n");
client            560 drivers/iio/light/stk3310.c 		dev_err(&data->client->dev, "failed to reset interrupts\n");
client            566 drivers/iio/light/stk3310.c static int stk3310_probe(struct i2c_client *client,
client            573 drivers/iio/light/stk3310.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            575 drivers/iio/light/stk3310.c 		dev_err(&client->dev, "iio allocation failed!\n");
client            580 drivers/iio/light/stk3310.c 	data->client = client;
client            581 drivers/iio/light/stk3310.c 	i2c_set_clientdata(client, indio_dev);
client            588 drivers/iio/light/stk3310.c 	indio_dev->dev.parent = &client->dev;
client            599 drivers/iio/light/stk3310.c 	if (client->irq > 0) {
client            600 drivers/iio/light/stk3310.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            607 drivers/iio/light/stk3310.c 			dev_err(&client->dev, "request irq %d failed\n",
client            608 drivers/iio/light/stk3310.c 				client->irq);
client            615 drivers/iio/light/stk3310.c 		dev_err(&client->dev, "device_register failed\n");
client            626 drivers/iio/light/stk3310.c static int stk3310_remove(struct i2c_client *client)
client            628 drivers/iio/light/stk3310.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             52 drivers/iio/light/tcs3414.c 	struct i2c_client *client;
client             97 drivers/iio/light/tcs3414.c 	ret = i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL,
client            103 drivers/iio/light/tcs3414.c 		ret = i2c_smbus_read_byte_data(data->client, TCS3414_CONTROL);
client            111 drivers/iio/light/tcs3414.c 	ret = i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL,
client            117 drivers/iio/light/tcs3414.c 		dev_err(&data->client->dev, "data not ready\n");
client            141 drivers/iio/light/tcs3414.c 		ret = i2c_smbus_read_word_data(data->client, chan->address);
client            175 drivers/iio/light/tcs3414.c 					data->client, TCS3414_GAIN,
client            188 drivers/iio/light/tcs3414.c 					data->client, TCS3414_TIMING,
client            207 drivers/iio/light/tcs3414.c 		int ret = i2c_smbus_read_word_data(data->client,
client            248 drivers/iio/light/tcs3414.c 	return i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL,
client            262 drivers/iio/light/tcs3414.c 	return i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL,
client            272 drivers/iio/light/tcs3414.c static int tcs3414_probe(struct i2c_client *client,
client            279 drivers/iio/light/tcs3414.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            284 drivers/iio/light/tcs3414.c 	i2c_set_clientdata(client, indio_dev);
client            285 drivers/iio/light/tcs3414.c 	data->client = client;
client            287 drivers/iio/light/tcs3414.c 	indio_dev->dev.parent = &client->dev;
client            294 drivers/iio/light/tcs3414.c 	ret = i2c_smbus_read_byte_data(data->client, TCS3414_ID);
client            300 drivers/iio/light/tcs3414.c 		dev_info(&client->dev, "TCS3404 found\n");
client            303 drivers/iio/light/tcs3414.c 		dev_info(&client->dev, "TCS3413/14/15/16 found\n");
client            310 drivers/iio/light/tcs3414.c 	ret = i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL,
client            316 drivers/iio/light/tcs3414.c 	ret = i2c_smbus_write_byte_data(data->client, TCS3414_TIMING,
client            321 drivers/iio/light/tcs3414.c 	ret = i2c_smbus_read_byte_data(data->client, TCS3414_GAIN);
client            344 drivers/iio/light/tcs3414.c 	return i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL,
client            349 drivers/iio/light/tcs3414.c static int tcs3414_remove(struct i2c_client *client)
client            351 drivers/iio/light/tcs3414.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            372 drivers/iio/light/tcs3414.c 	return i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL,
client             59 drivers/iio/light/tcs3472.c 	struct i2c_client *client;
client            122 drivers/iio/light/tcs3472.c 		ret = i2c_smbus_read_byte_data(data->client, TCS3472_STATUS);
client            131 drivers/iio/light/tcs3472.c 		dev_err(&data->client->dev, "data not ready\n");
client            155 drivers/iio/light/tcs3472.c 		ret = i2c_smbus_read_word_data(data->client, chan->address);
client            189 drivers/iio/light/tcs3472.c 					data->client, TCS3472_CONTROL,
client            201 drivers/iio/light/tcs3472.c 					data->client, TCS3472_ATIME,
client            278 drivers/iio/light/tcs3472.c 		ret = i2c_smbus_write_word_data(data->client, command, val);
client            294 drivers/iio/light/tcs3472.c 		ret = i2c_smbus_write_byte_data(data->client, TCS3472_PERS, i);
client            342 drivers/iio/light/tcs3472.c 		ret = i2c_smbus_write_byte_data(data->client, TCS3472_ENABLE,
client            358 drivers/iio/light/tcs3472.c 	ret = i2c_smbus_read_byte_data(data->client, TCS3472_STATUS);
client            365 drivers/iio/light/tcs3472.c 		i2c_smbus_read_byte_data(data->client, TCS3472_INTR_CLEAR);
client            384 drivers/iio/light/tcs3472.c 		ret = i2c_smbus_read_word_data(data->client,
client            441 drivers/iio/light/tcs3472.c static int tcs3472_probe(struct i2c_client *client,
client            448 drivers/iio/light/tcs3472.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            453 drivers/iio/light/tcs3472.c 	i2c_set_clientdata(client, indio_dev);
client            454 drivers/iio/light/tcs3472.c 	data->client = client;
client            457 drivers/iio/light/tcs3472.c 	indio_dev->dev.parent = &client->dev;
client            464 drivers/iio/light/tcs3472.c 	ret = i2c_smbus_read_byte_data(data->client, TCS3472_ID);
client            469 drivers/iio/light/tcs3472.c 		dev_info(&client->dev, "TCS34721/34725 found\n");
client            471 drivers/iio/light/tcs3472.c 		dev_info(&client->dev, "TCS34723/34727 found\n");
client            475 drivers/iio/light/tcs3472.c 	ret = i2c_smbus_read_byte_data(data->client, TCS3472_CONTROL);
client            480 drivers/iio/light/tcs3472.c 	ret = i2c_smbus_read_byte_data(data->client, TCS3472_ATIME);
client            485 drivers/iio/light/tcs3472.c 	ret = i2c_smbus_read_word_data(data->client, TCS3472_AILT);
client            490 drivers/iio/light/tcs3472.c 	ret = i2c_smbus_read_word_data(data->client, TCS3472_AIHT);
client            496 drivers/iio/light/tcs3472.c 	ret = i2c_smbus_write_byte_data(data->client, TCS3472_PERS,
client            501 drivers/iio/light/tcs3472.c 	ret = i2c_smbus_read_byte_data(data->client, TCS3472_ENABLE);
client            508 drivers/iio/light/tcs3472.c 	ret = i2c_smbus_write_byte_data(data->client, TCS3472_ENABLE,
client            518 drivers/iio/light/tcs3472.c 	if (client->irq) {
client            519 drivers/iio/light/tcs3472.c 		ret = request_threaded_irq(client->irq, NULL,
client            523 drivers/iio/light/tcs3472.c 					   client->name, indio_dev);
client            535 drivers/iio/light/tcs3472.c 	free_irq(client->irq, indio_dev);
client            548 drivers/iio/light/tcs3472.c 	ret = i2c_smbus_write_byte_data(data->client, TCS3472_ENABLE,
client            558 drivers/iio/light/tcs3472.c static int tcs3472_remove(struct i2c_client *client)
client            560 drivers/iio/light/tcs3472.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            563 drivers/iio/light/tcs3472.c 	free_irq(client->irq, indio_dev);
client            587 drivers/iio/light/tcs3472.c 	ret = i2c_smbus_write_byte_data(data->client, TCS3472_ENABLE,
client            104 drivers/iio/light/tsl2563.c 	struct i2c_client	*client;
client            129 drivers/iio/light/tsl2563.c 	struct i2c_client *client = chip->client;
client            133 drivers/iio/light/tsl2563.c 	return i2c_smbus_write_byte_data(client,
client            143 drivers/iio/light/tsl2563.c 	struct i2c_client *client = chip->client;
client            146 drivers/iio/light/tsl2563.c 	ret = i2c_smbus_read_byte_data(client, TSL2563_CMD | TSL2563_REG_CTRL);
client            157 drivers/iio/light/tsl2563.c 	ret = i2c_smbus_write_byte_data(chip->client,
client            162 drivers/iio/light/tsl2563.c 	ret = i2c_smbus_write_byte_data(chip->client,
client            167 drivers/iio/light/tsl2563.c 	ret = i2c_smbus_write_byte_data(chip->client,
client            172 drivers/iio/light/tsl2563.c 	ret = i2c_smbus_write_byte_data(chip->client,
client            177 drivers/iio/light/tsl2563.c 	ret = i2c_smbus_write_byte_data(chip->client,
client            212 drivers/iio/light/tsl2563.c 	struct i2c_client *client = chip->client;
client            215 drivers/iio/light/tsl2563.c 	ret = i2c_smbus_read_byte_data(client, TSL2563_CMD | TSL2563_REG_ID);
client            281 drivers/iio/light/tsl2563.c 	struct i2c_client *client = chip->client;
client            288 drivers/iio/light/tsl2563.c 		i2c_smbus_write_byte_data(client,
client            302 drivers/iio/light/tsl2563.c 	struct i2c_client *client = chip->client;
client            325 drivers/iio/light/tsl2563.c 		ret = i2c_smbus_read_word_data(client,
client            331 drivers/iio/light/tsl2563.c 		ret = i2c_smbus_read_word_data(client,
client            592 drivers/iio/light/tsl2563.c 	ret = i2c_smbus_write_byte_data(chip->client, TSL2563_CMD | address,
client            596 drivers/iio/light/tsl2563.c 	ret = i2c_smbus_write_byte_data(chip->client,
client            623 drivers/iio/light/tsl2563.c 	i2c_smbus_write_byte(chip->client, TSL2563_CMD | TSL2563_CLEARINT);
client            648 drivers/iio/light/tsl2563.c 		ret = i2c_smbus_write_byte_data(chip->client,
client            656 drivers/iio/light/tsl2563.c 		ret = i2c_smbus_write_byte_data(chip->client,
client            677 drivers/iio/light/tsl2563.c 	ret = i2c_smbus_read_byte_data(chip->client,
client            700 drivers/iio/light/tsl2563.c static int tsl2563_probe(struct i2c_client *client,
client            705 drivers/iio/light/tsl2563.c 	struct tsl2563_platform_data *pdata = client->dev.platform_data;
client            706 drivers/iio/light/tsl2563.c 	struct device_node *np = client->dev.of_node;
client            710 drivers/iio/light/tsl2563.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*chip));
client            716 drivers/iio/light/tsl2563.c 	i2c_set_clientdata(client, chip);
client            717 drivers/iio/light/tsl2563.c 	chip->client = client;
client            721 drivers/iio/light/tsl2563.c 		dev_err(&client->dev, "detect error %d\n", -err);
client            727 drivers/iio/light/tsl2563.c 		dev_err(&client->dev, "read id error %d\n", -err);
client            749 drivers/iio/light/tsl2563.c 	dev_info(&client->dev, "model %d, rev. %d\n", id >> 4, id & 0x0f);
client            750 drivers/iio/light/tsl2563.c 	indio_dev->name = client->name;
client            753 drivers/iio/light/tsl2563.c 	indio_dev->dev.parent = &client->dev;
client            756 drivers/iio/light/tsl2563.c 	if (client->irq)
client            761 drivers/iio/light/tsl2563.c 	if (client->irq) {
client            762 drivers/iio/light/tsl2563.c 		err = devm_request_threaded_irq(&client->dev, client->irq,
client            769 drivers/iio/light/tsl2563.c 			dev_err(&client->dev, "irq request error %d\n", -err);
client            776 drivers/iio/light/tsl2563.c 		dev_err(&client->dev, "configure error %d\n", -err);
client            787 drivers/iio/light/tsl2563.c 		dev_err(&client->dev, "iio registration error %d\n", -err);
client            798 drivers/iio/light/tsl2563.c static int tsl2563_remove(struct i2c_client *client)
client            800 drivers/iio/light/tsl2563.c 	struct tsl2563_chip *chip = i2c_get_clientdata(client);
client            808 drivers/iio/light/tsl2563.c 	i2c_smbus_write_byte_data(chip->client, TSL2563_CMD | TSL2563_REG_INT,
client            100 drivers/iio/light/tsl2583.c 	struct i2c_client *client;
client            174 drivers/iio/light/tsl2583.c 	ret = i2c_smbus_read_byte_data(chip->client, TSL2583_CMD_REG);
client            176 drivers/iio/light/tsl2583.c 		dev_err(&chip->client->dev, "%s: failed to read CMD_REG register\n",
client            183 drivers/iio/light/tsl2583.c 		dev_err(&chip->client->dev, "%s: data not valid; returning last value\n",
client            192 drivers/iio/light/tsl2583.c 		ret = i2c_smbus_read_byte_data(chip->client, reg);
client            194 drivers/iio/light/tsl2583.c 			dev_err(&chip->client->dev, "%s: failed to read register %x\n",
client            206 drivers/iio/light/tsl2583.c 	ret = i2c_smbus_write_byte(chip->client,
client            210 drivers/iio/light/tsl2583.c 		dev_err(&chip->client->dev, "%s: failed to clear the interrupt bit\n",
client            258 drivers/iio/light/tsl2583.c 			dev_dbg(&chip->client->dev, "%s: No Data - Returning 0\n",
client            315 drivers/iio/light/tsl2583.c 	ret = i2c_smbus_read_byte_data(chip->client,
client            318 drivers/iio/light/tsl2583.c 		dev_err(&chip->client->dev,
client            326 drivers/iio/light/tsl2583.c 		dev_err(&chip->client->dev,
client            331 drivers/iio/light/tsl2583.c 		dev_err(&chip->client->dev,
client            339 drivers/iio/light/tsl2583.c 		dev_err(&chip->client->dev, "%s: failed to get lux\n",
client            347 drivers/iio/light/tsl2583.c 		dev_err(&chip->client->dev,
client            372 drivers/iio/light/tsl2583.c 	ret = i2c_smbus_write_byte_data(chip->client,
client            376 drivers/iio/light/tsl2583.c 		dev_err(&chip->client->dev, "%s: failed to set the als time to %d\n",
client            393 drivers/iio/light/tsl2583.c 	ret = i2c_smbus_write_byte_data(chip->client,
client            397 drivers/iio/light/tsl2583.c 		dev_err(&chip->client->dev,
client            408 drivers/iio/light/tsl2583.c 	ret = i2c_smbus_write_byte_data(chip->client,
client            411 drivers/iio/light/tsl2583.c 		dev_err(&chip->client->dev,
client            432 drivers/iio/light/tsl2583.c 	ret = i2c_smbus_write_byte_data(chip->client,
client            436 drivers/iio/light/tsl2583.c 		dev_err(&chip->client->dev,
client            639 drivers/iio/light/tsl2583.c 		ret = pm_runtime_get_sync(&chip->client->dev);
client            641 drivers/iio/light/tsl2583.c 			pm_runtime_put_noidle(&chip->client->dev);
client            643 drivers/iio/light/tsl2583.c 		pm_runtime_mark_last_busy(&chip->client->dev);
client            644 drivers/iio/light/tsl2583.c 		ret = pm_runtime_put_autosuspend(&chip->client->dev);
client            821 drivers/iio/light/tsl2583.c 	chip->client = clientp;
client            845 drivers/iio/light/tsl2583.c 	indio_dev->name = chip->client->name;
client            867 drivers/iio/light/tsl2583.c static int tsl2583_remove(struct i2c_client *client)
client            869 drivers/iio/light/tsl2583.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            874 drivers/iio/light/tsl2583.c 	pm_runtime_disable(&client->dev);
client            875 drivers/iio/light/tsl2583.c 	pm_runtime_set_suspended(&client->dev);
client            876 drivers/iio/light/tsl2583.c 	pm_runtime_put_noidle(&client->dev);
client            169 drivers/iio/light/tsl2772.c 	struct i2c_client *client;
client            324 drivers/iio/light/tsl2772.c 	ret = i2c_smbus_read_byte_data(chip->client,
client            327 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client            338 drivers/iio/light/tsl2772.c 	ret = i2c_smbus_write_byte_data(chip->client,
client            341 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client            355 drivers/iio/light/tsl2772.c 	ret = i2c_smbus_write_byte(chip->client,
client            359 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client            365 drivers/iio/light/tsl2772.c 	ret = i2c_smbus_read_byte_data(chip->client,
client            368 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client            375 drivers/iio/light/tsl2772.c 	ret = i2c_smbus_read_byte_data(chip->client,
client            378 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client            385 drivers/iio/light/tsl2772.c 	ret = i2c_smbus_write_byte(chip->client,
client            389 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client            419 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev, "%s: device is not enabled\n",
client            430 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client            552 drivers/iio/light/tsl2772.c 	struct device_node *of_node = chip->client->dev.of_node;
client            566 drivers/iio/light/tsl2772.c 	dev_err(&chip->client->dev, "Invalid value %d for led-max-microamp\n",
client            575 drivers/iio/light/tsl2772.c 	struct device_node *of_node = chip->client->dev.of_node;
client            590 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client            603 drivers/iio/light/tsl2772.c 			dev_err(&chip->client->dev,
client            660 drivers/iio/light/tsl2772.c 	ret = i2c_smbus_read_byte_data(chip->client,
client            663 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client            671 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client            676 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client            684 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client            747 drivers/iio/light/tsl2772.c 		dev_info(&chip->client->dev, "device is already enabled\n");
client            781 drivers/iio/light/tsl2772.c 		ret = i2c_smbus_write_byte_data(chip->client, reg,
client            784 drivers/iio/light/tsl2772.c 			dev_err(&chip->client->dev,
client            805 drivers/iio/light/tsl2772.c 	ret = i2c_smbus_write_byte(chip->client,
client            809 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client           1417 drivers/iio/light/tsl2772.c 	ret = i2c_smbus_write_byte(chip->client,
client           1421 drivers/iio/light/tsl2772.c 		dev_err(&chip->client->dev,
client           1770 drivers/iio/light/tsl2772.c 	chip->client = clientp;
client           1806 drivers/iio/light/tsl2772.c 	ret = i2c_smbus_read_byte_data(chip->client,
client           1812 drivers/iio/light/tsl2772.c 		dev_info(&chip->client->dev,
client           1838 drivers/iio/light/tsl2772.c 	indio_dev->name = chip->client->name;
client             49 drivers/iio/light/tsl4531.c 	struct i2c_client *client;
client             83 drivers/iio/light/tsl4531.c 		ret = i2c_smbus_read_word_data(data->client,
client            129 drivers/iio/light/tsl4531.c 		ret = i2c_smbus_write_byte_data(data->client,
client            146 drivers/iio/light/tsl4531.c static int tsl4531_check_id(struct i2c_client *client)
client            148 drivers/iio/light/tsl4531.c 	int ret = i2c_smbus_read_byte_data(client, TSL4531_ID);
client            163 drivers/iio/light/tsl4531.c static int tsl4531_probe(struct i2c_client *client,
client            170 drivers/iio/light/tsl4531.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            175 drivers/iio/light/tsl4531.c 	i2c_set_clientdata(client, indio_dev);
client            176 drivers/iio/light/tsl4531.c 	data->client = client;
client            179 drivers/iio/light/tsl4531.c 	ret = tsl4531_check_id(client);
client            181 drivers/iio/light/tsl4531.c 		dev_err(&client->dev, "no TSL4531 sensor\n");
client            185 drivers/iio/light/tsl4531.c 	ret = i2c_smbus_write_byte_data(data->client, TSL4531_CONTROL,
client            190 drivers/iio/light/tsl4531.c 	ret = i2c_smbus_write_byte_data(data->client, TSL4531_CONFIG,
client            195 drivers/iio/light/tsl4531.c 	indio_dev->dev.parent = &client->dev;
client            205 drivers/iio/light/tsl4531.c static int tsl4531_powerdown(struct i2c_client *client)
client            207 drivers/iio/light/tsl4531.c 	return i2c_smbus_write_byte_data(client, TSL4531_CONTROL,
client            211 drivers/iio/light/tsl4531.c static int tsl4531_remove(struct i2c_client *client)
client            213 drivers/iio/light/tsl4531.c 	iio_device_unregister(i2c_get_clientdata(client));
client            214 drivers/iio/light/tsl4531.c 	tsl4531_powerdown(client);
client            118 drivers/iio/light/us5182d.c 	struct i2c_client *client;
client            202 drivers/iio/light/us5182d.c 	ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG0);
client            212 drivers/iio/light/us5182d.c 	return i2c_smbus_write_byte_data(data->client, US5182D_REG_CFG0, ret);
client            222 drivers/iio/light/us5182d.c 	ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG0);
client            235 drivers/iio/light/us5182d.c 	ret = i2c_smbus_write_byte_data(data->client, US5182D_REG_CFG0, ret);
client            239 drivers/iio/light/us5182d.c 	ret = i2c_smbus_write_byte_data(data->client, US5182D_REG_MODE_STORE,
client            311 drivers/iio/light/us5182d.c 	ret = i2c_smbus_read_word_data(data->client,
client            331 drivers/iio/light/us5182d.c 	return i2c_smbus_read_word_data(data->client,
client            342 drivers/iio/light/us5182d.c 	ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG0);
client            349 drivers/iio/light/us5182d.c 	ret = i2c_smbus_write_byte_data(data->client, US5182D_REG_CFG0, ret);
client            370 drivers/iio/light/us5182d.c 		ret = pm_runtime_get_sync(&data->client->dev);
client            372 drivers/iio/light/us5182d.c 			pm_runtime_put_noidle(&data->client->dev);
client            374 drivers/iio/light/us5182d.c 		pm_runtime_mark_last_busy(&data->client->dev);
client            375 drivers/iio/light/us5182d.c 		ret = pm_runtime_put_autosuspend(&data->client->dev);
client            436 drivers/iio/light/us5182d.c 		ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG1);
client            461 drivers/iio/light/us5182d.c 	ret = i2c_smbus_write_byte_data(data->client, US5182D_REG_UDARK_TH,
client            466 drivers/iio/light/us5182d.c 	return i2c_smbus_write_byte_data(data->client, US5182D_REG_UDARK_TH + 1,
client            482 drivers/iio/light/us5182d.c 	ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG1);
client            489 drivers/iio/light/us5182d.c 	ret = i2c_smbus_write_byte_data(data->client, US5182D_REG_CFG1, ret);
client            528 drivers/iio/light/us5182d.c 		return i2c_smbus_write_word_data(data->client,
client            531 drivers/iio/light/us5182d.c 		return i2c_smbus_write_word_data(data->client,
client            722 drivers/iio/light/us5182d.c 	return i2c_smbus_write_byte_data(data->client, US5182D_REG_CFG3,
client            741 drivers/iio/light/us5182d.c 		ret = i2c_smbus_write_byte_data(data->client,
client            765 drivers/iio/light/us5182d.c 	if (device_property_read_u32(&data->client->dev, "upisemi,glass-coef",
client            768 drivers/iio/light/us5182d.c 	if (device_property_read_u16_array(&data->client->dev,
client            773 drivers/iio/light/us5182d.c 	if (device_property_read_u8(&data->client->dev,
client            777 drivers/iio/light/us5182d.c 	if (device_property_read_u8(&data->client->dev,
client            781 drivers/iio/light/us5182d.c 	data->default_continuous = device_property_read_bool(&data->client->dev,
client            794 drivers/iio/light/us5182d.c 	ret = i2c_smbus_write_byte_data(data->client,
client            800 drivers/iio/light/us5182d.c 	ret = i2c_smbus_write_byte_data(data->client,
client            806 drivers/iio/light/us5182d.c 	return i2c_smbus_write_byte_data(data->client, US5182D_REG_DARK_AUTO_EN,
client            818 drivers/iio/light/us5182d.c 	ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG0);
client            820 drivers/iio/light/us5182d.c 		dev_err(&data->client->dev, "i2c transfer error in irq\n");
client            829 drivers/iio/light/us5182d.c 	ret = i2c_smbus_write_byte_data(data->client, US5182D_REG_CFG0,
client            832 drivers/iio/light/us5182d.c 		dev_err(&data->client->dev, "i2c transfer error in irq\n");
client            837 drivers/iio/light/us5182d.c static int us5182d_probe(struct i2c_client *client,
client            844 drivers/iio/light/us5182d.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            849 drivers/iio/light/us5182d.c 	i2c_set_clientdata(client, indio_dev);
client            850 drivers/iio/light/us5182d.c 	data->client = client;
client            854 drivers/iio/light/us5182d.c 	indio_dev->dev.parent = &client->dev;
client            861 drivers/iio/light/us5182d.c 	ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CHIPID);
client            863 drivers/iio/light/us5182d.c 		dev_err(&data->client->dev,
client            868 drivers/iio/light/us5182d.c 	if (client->irq > 0) {
client            869 drivers/iio/light/us5182d.c 		ret = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            876 drivers/iio/light/us5182d.c 		dev_warn(&client->dev, "no valid irq found\n");
client            888 drivers/iio/light/us5182d.c 		ret = pm_runtime_set_active(&client->dev);
client            893 drivers/iio/light/us5182d.c 	pm_runtime_enable(&client->dev);
client            894 drivers/iio/light/us5182d.c 	pm_runtime_set_autosuspend_delay(&client->dev,
client            896 drivers/iio/light/us5182d.c 	pm_runtime_use_autosuspend(&client->dev);
client            910 drivers/iio/light/us5182d.c static int us5182d_remove(struct i2c_client *client)
client            912 drivers/iio/light/us5182d.c 	struct us5182d_data *data = iio_priv(i2c_get_clientdata(client));
client            914 drivers/iio/light/us5182d.c 	iio_device_unregister(i2c_get_clientdata(client));
client            916 drivers/iio/light/us5182d.c 	pm_runtime_disable(&client->dev);
client            917 drivers/iio/light/us5182d.c 	pm_runtime_set_suspended(&client->dev);
client             75 drivers/iio/light/vcnl4000.c 	struct i2c_client *client;
client            106 drivers/iio/light/vcnl4000.c 	ret = i2c_smbus_read_byte_data(data->client, VCNL4000_PROD_REV);
client            114 drivers/iio/light/vcnl4000.c 			dev_warn(&data->client->dev,
client            119 drivers/iio/light/vcnl4000.c 			dev_warn(&data->client->dev,
client            137 drivers/iio/light/vcnl4000.c 	ret = i2c_smbus_read_word_data(data->client, VCNL4200_DEV_ID);
client            144 drivers/iio/light/vcnl4000.c 		ret = i2c_smbus_read_word_data(data->client, VCNL4040_DEV_ID);
client            154 drivers/iio/light/vcnl4000.c 	dev_dbg(&data->client->dev, "device id 0x%x", id);
client            159 drivers/iio/light/vcnl4000.c 	ret = i2c_smbus_write_word_data(data->client, VCNL4200_AL_CONF, 0);
client            162 drivers/iio/light/vcnl4000.c 	ret = i2c_smbus_write_word_data(data->client, VCNL4200_PS_CONF1, 0);
client            200 drivers/iio/light/vcnl4000.c 	ret = i2c_smbus_write_byte_data(data->client, VCNL4000_COMMAND,
client            207 drivers/iio/light/vcnl4000.c 		ret = i2c_smbus_read_byte_data(data->client, VCNL4000_COMMAND);
client            216 drivers/iio/light/vcnl4000.c 		dev_err(&data->client->dev,
client            222 drivers/iio/light/vcnl4000.c 	ret = i2c_smbus_read_word_swapped(data->client, data_reg);
client            254 drivers/iio/light/vcnl4000.c 	ret = i2c_smbus_read_word_data(data->client, chan->reg);
client            364 drivers/iio/light/vcnl4000.c static int vcnl4000_probe(struct i2c_client *client,
client            371 drivers/iio/light/vcnl4000.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            376 drivers/iio/light/vcnl4000.c 	i2c_set_clientdata(client, indio_dev);
client            377 drivers/iio/light/vcnl4000.c 	data->client = client;
client            385 drivers/iio/light/vcnl4000.c 	dev_dbg(&client->dev, "%s Ambient light/proximity sensor, Rev: %02x\n",
client            388 drivers/iio/light/vcnl4000.c 	indio_dev->dev.parent = &client->dev;
client            395 drivers/iio/light/vcnl4000.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             59 drivers/iio/light/vcnl4035.c 	struct i2c_client *client;
client            110 drivers/iio/light/vcnl4035.c 		dev_err(&data->client->dev,
client            144 drivers/iio/light/vcnl4035.c 	struct device *dev = &data->client->dev;
client            413 drivers/iio/light/vcnl4035.c 		dev_err(&data->client->dev, "Failed to read DEV_ID register\n");
client            418 drivers/iio/light/vcnl4035.c 		dev_err(&data->client->dev, "Wrong id, got %x, expected %x\n",
client            432 drivers/iio/light/vcnl4035.c 		dev_err(&data->client->dev, "set white channel enable %d\n",
client            442 drivers/iio/light/vcnl4035.c 		dev_err(&data->client->dev, "set default ALS IT returned %d\n",
client            453 drivers/iio/light/vcnl4035.c 		dev_err(&data->client->dev, "set default PERS returned %d\n",
client            463 drivers/iio/light/vcnl4035.c 		dev_err(&data->client->dev, "set default THDH returned %d\n",
client            473 drivers/iio/light/vcnl4035.c 		dev_err(&data->client->dev, "set default THDL returned %d\n",
client            520 drivers/iio/light/vcnl4035.c 		dev_err(&data->client->dev, "iio trigger register failed\n");
client            529 drivers/iio/light/vcnl4035.c 		dev_err(&data->client->dev, "iio triggered buffer setup failed\n");
client            534 drivers/iio/light/vcnl4035.c 	ret = devm_request_threaded_irq(&data->client->dev, data->client->irq,
client            539 drivers/iio/light/vcnl4035.c 		dev_err(&data->client->dev, "request irq %d for trigger0 failed\n",
client            540 drivers/iio/light/vcnl4035.c 				data->client->irq);
client            544 drivers/iio/light/vcnl4035.c static int vcnl4035_probe(struct i2c_client *client,
client            552 drivers/iio/light/vcnl4035.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            556 drivers/iio/light/vcnl4035.c 	regmap = devm_regmap_init_i2c(client, &vcnl4035_regmap_config);
client            558 drivers/iio/light/vcnl4035.c 		dev_err(&client->dev, "regmap_init failed!\n");
client            563 drivers/iio/light/vcnl4035.c 	i2c_set_clientdata(client, indio_dev);
client            564 drivers/iio/light/vcnl4035.c 	data->client = client;
client            567 drivers/iio/light/vcnl4035.c 	indio_dev->dev.parent = &client->dev;
client            576 drivers/iio/light/vcnl4035.c 		dev_err(&client->dev, "vcnl4035 chip init failed\n");
client            580 drivers/iio/light/vcnl4035.c 	if (client->irq > 0) {
client            583 drivers/iio/light/vcnl4035.c 			dev_err(&client->dev, "vcnl4035 unable init trigger\n");
client            588 drivers/iio/light/vcnl4035.c 	ret = pm_runtime_set_active(&client->dev);
client            596 drivers/iio/light/vcnl4035.c 	pm_runtime_enable(&client->dev);
client            597 drivers/iio/light/vcnl4035.c 	pm_runtime_set_autosuspend_delay(&client->dev, VCNL4035_SLEEP_DELAY_MS);
client            598 drivers/iio/light/vcnl4035.c 	pm_runtime_use_autosuspend(&client->dev);
client            607 drivers/iio/light/vcnl4035.c static int vcnl4035_remove(struct i2c_client *client)
client            609 drivers/iio/light/vcnl4035.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            611 drivers/iio/light/vcnl4035.c 	pm_runtime_dont_use_autosuspend(&client->dev);
client            612 drivers/iio/light/vcnl4035.c 	pm_runtime_disable(&client->dev);
client            614 drivers/iio/light/vcnl4035.c 	pm_runtime_set_suspended(&client->dev);
client            138 drivers/iio/light/veml6070.c static int veml6070_probe(struct i2c_client *client,
client            145 drivers/iio/light/veml6070.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            150 drivers/iio/light/veml6070.c 	i2c_set_clientdata(client, indio_dev);
client            151 drivers/iio/light/veml6070.c 	data->client1 = client;
client            154 drivers/iio/light/veml6070.c 	indio_dev->dev.parent = &client->dev;
client            161 drivers/iio/light/veml6070.c 	data->client2 = i2c_new_dummy_device(client->adapter, VEML6070_ADDR_DATA_LSB);
client            163 drivers/iio/light/veml6070.c 		dev_err(&client->dev, "i2c device for second chip address failed\n");
client            184 drivers/iio/light/veml6070.c static int veml6070_remove(struct i2c_client *client)
client            186 drivers/iio/light/veml6070.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             85 drivers/iio/light/vl6180.c 	struct i2c_client *client;
client            127 drivers/iio/light/vl6180.c static int vl6180_read(struct i2c_client *client, u16 cmd, void *databuf,
client            132 drivers/iio/light/vl6180.c 		{ .addr = client->addr, .len = sizeof(cmdbuf), .buf = (u8 *) &cmdbuf },
client            133 drivers/iio/light/vl6180.c 		{ .addr = client->addr, .len = len, .buf = databuf,
client            137 drivers/iio/light/vl6180.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            139 drivers/iio/light/vl6180.c 		dev_err(&client->dev, "failed reading register 0x%04x\n", cmd);
client            144 drivers/iio/light/vl6180.c static int vl6180_read_byte(struct i2c_client *client, u16 cmd)
client            149 drivers/iio/light/vl6180.c 	ret = vl6180_read(client, cmd, &data, sizeof(data));
client            156 drivers/iio/light/vl6180.c static int vl6180_read_word(struct i2c_client *client, u16 cmd)
client            161 drivers/iio/light/vl6180.c 	ret = vl6180_read(client, cmd, &data, sizeof(data));
client            168 drivers/iio/light/vl6180.c static int vl6180_write_byte(struct i2c_client *client, u16 cmd, u8 val)
client            172 drivers/iio/light/vl6180.c 		{ .addr = client->addr, .len = sizeof(buf), .buf = (u8 *) &buf } };
client            179 drivers/iio/light/vl6180.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            181 drivers/iio/light/vl6180.c 		dev_err(&client->dev, "failed writing register 0x%04x\n", cmd);
client            188 drivers/iio/light/vl6180.c static int vl6180_write_word(struct i2c_client *client, u16 cmd, u16 val)
client            192 drivers/iio/light/vl6180.c 		{ .addr = client->addr, .len = sizeof(buf), .buf = (u8 *) &buf } };
client            198 drivers/iio/light/vl6180.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            200 drivers/iio/light/vl6180.c 		dev_err(&client->dev, "failed writing register 0x%04x\n", cmd);
client            209 drivers/iio/light/vl6180.c 	struct i2c_client *client = data->client;
client            215 drivers/iio/light/vl6180.c 	ret = vl6180_write_byte(client,
client            221 drivers/iio/light/vl6180.c 		ret = vl6180_read_byte(client, VL6180_INTR_STATUS);
client            237 drivers/iio/light/vl6180.c 		vl6180_read_word(client, vl6180_chan_regs_table[addr].value_reg) :
client            238 drivers/iio/light/vl6180.c 		vl6180_read_byte(client, vl6180_chan_regs_table[addr].value_reg);
client            244 drivers/iio/light/vl6180.c 	ret = vl6180_write_byte(client, VL6180_INTR_CLEAR,
client            355 drivers/iio/light/vl6180.c 	return vl6180_write_byte(data->client, VL6180_HOLD,
client            378 drivers/iio/light/vl6180.c 	ret = vl6180_write_byte(data->client, VL6180_ALS_GAIN,
client            403 drivers/iio/light/vl6180.c 	ret = vl6180_write_word(data->client, VL6180_ALS_IT, it_ms - 1);
client            443 drivers/iio/light/vl6180.c 	struct i2c_client *client = data->client;
client            446 drivers/iio/light/vl6180.c 	ret = vl6180_read_byte(client, VL6180_MODEL_ID);
client            451 drivers/iio/light/vl6180.c 		dev_err(&client->dev, "invalid model ID %02x\n", ret);
client            459 drivers/iio/light/vl6180.c 	ret = vl6180_read_byte(client, VL6180_OUT_OF_RESET);
client            468 drivers/iio/light/vl6180.c 		dev_info(&client->dev, "device is not fresh out of reset\n");
client            471 drivers/iio/light/vl6180.c 	ret = vl6180_write_byte(client, VL6180_INTR_CONFIG,
client            478 drivers/iio/light/vl6180.c 	ret = vl6180_write_word(client, VL6180_ALS_IT, VL6180_ALS_IT_100);
client            484 drivers/iio/light/vl6180.c 	ret = vl6180_write_byte(client, VL6180_ALS_GAIN, VL6180_ALS_GAIN_1);
client            488 drivers/iio/light/vl6180.c 	ret = vl6180_write_byte(client, VL6180_OUT_OF_RESET, 0x00);
client            495 drivers/iio/light/vl6180.c static int vl6180_probe(struct i2c_client *client,
client            502 drivers/iio/light/vl6180.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            507 drivers/iio/light/vl6180.c 	i2c_set_clientdata(client, indio_dev);
client            508 drivers/iio/light/vl6180.c 	data->client = client;
client            511 drivers/iio/light/vl6180.c 	indio_dev->dev.parent = &client->dev;
client            522 drivers/iio/light/vl6180.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             73 drivers/iio/light/zopt2201.c 	struct i2c_client *client;
client            179 drivers/iio/light/zopt2201.c 	return i2c_smbus_write_byte_data(data->client, ZOPT2201_MAIN_CTRL, out);
client            184 drivers/iio/light/zopt2201.c 	struct i2c_client *client = data->client;
client            201 drivers/iio/light/zopt2201.c 		ret = i2c_smbus_read_byte_data(client, ZOPT2201_MAIN_STATUS);
client            213 drivers/iio/light/zopt2201.c 	ret = i2c_smbus_read_i2c_block_data(client, reg, sizeof(buf), buf);
client            217 drivers/iio/light/zopt2201.c 	ret = i2c_smbus_write_byte_data(client, ZOPT2201_MAIN_CTRL, 0x00);
client            306 drivers/iio/light/zopt2201.c 	ret = i2c_smbus_write_byte_data(data->client, ZOPT2201_LS_MEAS_RATE,
client            340 drivers/iio/light/zopt2201.c 	ret = i2c_smbus_write_byte_data(data->client, ZOPT2201_LS_GAIN, gain);
client            502 drivers/iio/light/zopt2201.c static int zopt2201_probe(struct i2c_client *client,
client            509 drivers/iio/light/zopt2201.c 	if (!i2c_check_functionality(client->adapter,
client            513 drivers/iio/light/zopt2201.c 	ret = i2c_smbus_read_byte_data(client, ZOPT2201_PART_ID);
client            519 drivers/iio/light/zopt2201.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            524 drivers/iio/light/zopt2201.c 	i2c_set_clientdata(client, indio_dev);
client            525 drivers/iio/light/zopt2201.c 	data->client = client;
client            528 drivers/iio/light/zopt2201.c 	indio_dev->dev.parent = &client->dev;
client            544 drivers/iio/light/zopt2201.c 	return devm_iio_device_register(&client->dev, indio_dev);
client            358 drivers/iio/magnetometer/ak8975.c 	struct i2c_client	*client;
client            380 drivers/iio/magnetometer/ak8975.c 		dev_warn(&data->client->dev,
client            386 drivers/iio/magnetometer/ak8975.c 		dev_warn(&data->client->dev,
client            410 drivers/iio/magnetometer/ak8975.c static int ak8975_who_i_am(struct i2c_client *client,
client            425 drivers/iio/magnetometer/ak8975.c 			client, AK09912_REG_WIA1, 2, wia_val);
client            427 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "Error reading WIA\n");
client            447 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "Type %d unknown\n", type);
client            462 drivers/iio/magnetometer/ak8975.c 	ret = i2c_smbus_write_byte_data(data->client,
client            492 drivers/iio/magnetometer/ak8975.c 	struct i2c_client *client = data->client;
client            498 drivers/iio/magnetometer/ak8975.c 	if (client->irq)
client            499 drivers/iio/magnetometer/ak8975.c 		irq = client->irq;
client            503 drivers/iio/magnetometer/ak8975.c 	rc = devm_request_irq(&client->dev, irq, ak8975_irq_handler,
client            505 drivers/iio/magnetometer/ak8975.c 			      dev_name(&client->dev), data);
client            507 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev,
client            523 drivers/iio/magnetometer/ak8975.c static int ak8975_setup(struct i2c_client *client)
client            525 drivers/iio/magnetometer/ak8975.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            532 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "Error in setting fuse access mode\n");
client            538 drivers/iio/magnetometer/ak8975.c 			client, data->def->ctrl_regs[ASA_BASE],
client            541 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "Not able to read asa data\n");
client            548 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "Error in setting power-down mode\n");
client            552 drivers/iio/magnetometer/ak8975.c 	if (data->eoc_gpio > 0 || client->irq > 0) {
client            555 drivers/iio/magnetometer/ak8975.c 			dev_err(&client->dev,
client            570 drivers/iio/magnetometer/ak8975.c 	struct i2c_client *client = data->client;
client            582 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "Conversion timeout happened\n");
client            586 drivers/iio/magnetometer/ak8975.c 	ret = i2c_smbus_read_byte_data(client, data->def->ctrl_regs[ST1]);
client            588 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "Error in reading ST1\n");
client            595 drivers/iio/magnetometer/ak8975.c 	struct i2c_client *client = data->client;
client            603 drivers/iio/magnetometer/ak8975.c 		ret = i2c_smbus_read_byte_data(client,
client            606 drivers/iio/magnetometer/ak8975.c 			dev_err(&client->dev, "Error in reading ST1\n");
client            615 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "Conversion timeout happened\n");
client            636 drivers/iio/magnetometer/ak8975.c 				  const struct i2c_client *client)
client            642 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "Error in setting operating mode\n");
client            658 drivers/iio/magnetometer/ak8975.c 		ret = i2c_smbus_read_byte_data(client,
client            661 drivers/iio/magnetometer/ak8975.c 			dev_err(&client->dev, "Error in reading ST2\n");
client            666 drivers/iio/magnetometer/ak8975.c 			dev_err(&client->dev, "ST2 status error 0x%x\n", ret);
client            678 drivers/iio/magnetometer/ak8975.c 	const struct i2c_client *client = data->client;
client            684 drivers/iio/magnetometer/ak8975.c 	pm_runtime_get_sync(&data->client->dev);
client            688 drivers/iio/magnetometer/ak8975.c 	ret = ak8975_start_read_axis(data, client);
client            693 drivers/iio/magnetometer/ak8975.c 			client, def->data_regs[index],
client            700 drivers/iio/magnetometer/ak8975.c 	pm_runtime_mark_last_busy(&data->client->dev);
client            701 drivers/iio/magnetometer/ak8975.c 	pm_runtime_put_autosuspend(&data->client->dev);
client            710 drivers/iio/magnetometer/ak8975.c 	dev_err(&client->dev, "Error in reading axis\n");
client            805 drivers/iio/magnetometer/ak8975.c 	const struct i2c_client *client = data->client;
client            813 drivers/iio/magnetometer/ak8975.c 	ret = ak8975_start_read_axis(data, client);
client            821 drivers/iio/magnetometer/ak8975.c 	ret = i2c_smbus_read_i2c_block_data_or_emulated(client,
client            841 drivers/iio/magnetometer/ak8975.c 	dev_err(&client->dev, "Error in reading axes block\n");
client            854 drivers/iio/magnetometer/ak8975.c static int ak8975_probe(struct i2c_client *client,
client            864 drivers/iio/magnetometer/ak8975.c 		dev_get_platdata(&client->dev);
client            869 drivers/iio/magnetometer/ak8975.c 	else if (client->dev.of_node)
client            870 drivers/iio/magnetometer/ak8975.c 		eoc_gpio = of_get_gpio(client->dev.of_node, 0);
client            880 drivers/iio/magnetometer/ak8975.c 		err = devm_gpio_request_one(&client->dev, eoc_gpio,
client            883 drivers/iio/magnetometer/ak8975.c 			dev_err(&client->dev,
client            891 drivers/iio/magnetometer/ak8975.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            896 drivers/iio/magnetometer/ak8975.c 	i2c_set_clientdata(client, indio_dev);
client            898 drivers/iio/magnetometer/ak8975.c 	data->client = client;
client            903 drivers/iio/magnetometer/ak8975.c 		err = iio_read_mount_matrix(&client->dev, "mount-matrix",
client            914 drivers/iio/magnetometer/ak8975.c 	} else if (ACPI_HANDLE(&client->dev)) {
client            915 drivers/iio/magnetometer/ak8975.c 		name = ak8975_match_acpi_device(&client->dev, &chipset);
client            922 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "AKM device type unsupported: %d\n",
client            930 drivers/iio/magnetometer/ak8975.c 	data->vdd = devm_regulator_get(&client->dev, "vdd");
client            933 drivers/iio/magnetometer/ak8975.c 	data->vid = devm_regulator_get(&client->dev, "vid");
client            941 drivers/iio/magnetometer/ak8975.c 	err = ak8975_who_i_am(client, data->def->type);
client            943 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "Unexpected device\n");
client            946 drivers/iio/magnetometer/ak8975.c 	dev_dbg(&client->dev, "Asahi compass chip %s\n", name);
client            949 drivers/iio/magnetometer/ak8975.c 	err = ak8975_setup(client);
client            951 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "%s initialization fails\n", name);
client            956 drivers/iio/magnetometer/ak8975.c 	indio_dev->dev.parent = &client->dev;
client            967 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "triggered buffer setup failed\n");
client            973 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "device register failed\n");
client            978 drivers/iio/magnetometer/ak8975.c 	pm_runtime_get_noresume(&client->dev);
client            979 drivers/iio/magnetometer/ak8975.c 	pm_runtime_set_active(&client->dev);
client            980 drivers/iio/magnetometer/ak8975.c 	pm_runtime_enable(&client->dev);
client            985 drivers/iio/magnetometer/ak8975.c 	pm_runtime_set_autosuspend_delay(&client->dev, 50);
client            986 drivers/iio/magnetometer/ak8975.c 	pm_runtime_use_autosuspend(&client->dev);
client            987 drivers/iio/magnetometer/ak8975.c 	pm_runtime_put(&client->dev);
client            998 drivers/iio/magnetometer/ak8975.c static int ak8975_remove(struct i2c_client *client)
client           1000 drivers/iio/magnetometer/ak8975.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client           1003 drivers/iio/magnetometer/ak8975.c 	pm_runtime_get_sync(&client->dev);
client           1004 drivers/iio/magnetometer/ak8975.c 	pm_runtime_put_noidle(&client->dev);
client           1005 drivers/iio/magnetometer/ak8975.c 	pm_runtime_disable(&client->dev);
client           1017 drivers/iio/magnetometer/ak8975.c 	struct i2c_client *client = to_i2c_client(dev);
client           1018 drivers/iio/magnetometer/ak8975.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client           1025 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "Error in setting power-down mode\n");
client           1036 drivers/iio/magnetometer/ak8975.c 	struct i2c_client *client = to_i2c_client(dev);
client           1037 drivers/iio/magnetometer/ak8975.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client           1049 drivers/iio/magnetometer/ak8975.c 		dev_err(&client->dev, "Error in setting power-down mode\n");
client             19 drivers/iio/magnetometer/bmc150_magn_i2c.c static int bmc150_magn_i2c_probe(struct i2c_client *client,
client             25 drivers/iio/magnetometer/bmc150_magn_i2c.c 	regmap = devm_regmap_init_i2c(client, &bmc150_magn_regmap_config);
client             27 drivers/iio/magnetometer/bmc150_magn_i2c.c 		dev_err(&client->dev, "Failed to initialize i2c regmap\n");
client             34 drivers/iio/magnetometer/bmc150_magn_i2c.c 	return bmc150_magn_probe(&client->dev, regmap, client->irq, name);
client             37 drivers/iio/magnetometer/bmc150_magn_i2c.c static int bmc150_magn_i2c_remove(struct i2c_client *client)
client             39 drivers/iio/magnetometer/bmc150_magn_i2c.c 	return bmc150_magn_remove(&client->dev);
client             68 drivers/iio/magnetometer/hmc5843_i2c.c static int hmc5843_i2c_remove(struct i2c_client *client)
client             70 drivers/iio/magnetometer/hmc5843_i2c.c 	return hmc5843_common_remove(&client->dev);
client             53 drivers/iio/magnetometer/mag3110.c 	struct i2c_client *client;
client             67 drivers/iio/magnetometer/mag3110.c 		ret = i2c_smbus_write_byte_data(data->client, MAG3110_CTRL_REG1,
client             74 drivers/iio/magnetometer/mag3110.c 		ret = i2c_smbus_read_byte_data(data->client, MAG3110_STATUS);
client             88 drivers/iio/magnetometer/mag3110.c 		dev_err(&data->client->dev, "data not ready\n");
client            105 drivers/iio/magnetometer/mag3110.c 	ret = i2c_smbus_read_i2c_block_data(data->client,
client            171 drivers/iio/magnetometer/mag3110.c 	return i2c_smbus_write_byte_data(data->client, MAG3110_CTRL_REG1,
client            185 drivers/iio/magnetometer/mag3110.c 		ret = i2c_smbus_read_byte_data(data->client, MAG3110_SYSMOD);
client            187 drivers/iio/magnetometer/mag3110.c 			dev_err(&data->client->dev, "i2c error\n");
client            198 drivers/iio/magnetometer/mag3110.c 		dev_err(&data->client->dev, "device not entering standby mode\n");
client            207 drivers/iio/magnetometer/mag3110.c 	return i2c_smbus_write_byte_data(data->client, MAG3110_CTRL_REG1,
client            216 drivers/iio/magnetometer/mag3110.c 	reg = i2c_smbus_read_byte_data(data->client, MAG3110_CTRL_REG1);
client            251 drivers/iio/magnetometer/mag3110.c 	ret = i2c_smbus_write_byte_data(data->client, reg, val);
client            298 drivers/iio/magnetometer/mag3110.c 			ret = i2c_smbus_read_byte_data(data->client,
client            331 drivers/iio/magnetometer/mag3110.c 		ret = i2c_smbus_read_word_swapped(data->client,
client            374 drivers/iio/magnetometer/mag3110.c 		ret = i2c_smbus_write_word_swapped(data->client,
client            398 drivers/iio/magnetometer/mag3110.c 		ret = i2c_smbus_read_byte_data(data->client,
client            465 drivers/iio/magnetometer/mag3110.c static int mag3110_probe(struct i2c_client *client,
client            472 drivers/iio/magnetometer/mag3110.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            478 drivers/iio/magnetometer/mag3110.c 	data->vdd_reg = devm_regulator_get(&client->dev, "vdd");
client            483 drivers/iio/magnetometer/mag3110.c 		dev_err(&client->dev, "failed to get VDD regulator!\n");
client            487 drivers/iio/magnetometer/mag3110.c 	data->vddio_reg = devm_regulator_get(&client->dev, "vddio");
client            492 drivers/iio/magnetometer/mag3110.c 		dev_err(&client->dev, "failed to get VDDIO regulator!\n");
client            498 drivers/iio/magnetometer/mag3110.c 		dev_err(&client->dev, "failed to enable VDD regulator!\n");
client            504 drivers/iio/magnetometer/mag3110.c 		dev_err(&client->dev, "failed to enable VDDIO regulator!\n");
client            508 drivers/iio/magnetometer/mag3110.c 	ret = i2c_smbus_read_byte_data(client, MAG3110_WHO_AM_I);
client            516 drivers/iio/magnetometer/mag3110.c 	data->client = client;
client            519 drivers/iio/magnetometer/mag3110.c 	i2c_set_clientdata(client, indio_dev);
client            522 drivers/iio/magnetometer/mag3110.c 	indio_dev->dev.parent = &client->dev;
client            537 drivers/iio/magnetometer/mag3110.c 	ret = i2c_smbus_write_byte_data(client, MAG3110_CTRL_REG2,
client            564 drivers/iio/magnetometer/mag3110.c static int mag3110_remove(struct i2c_client *client)
client            566 drivers/iio/magnetometer/mag3110.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            624 drivers/iio/magnetometer/mag3110.c 	return i2c_smbus_write_byte_data(data->client, MAG3110_CTRL_REG1,
client            123 drivers/iio/magnetometer/mmc35240.c 	struct i2c_client *client;
client            214 drivers/iio/magnetometer/mmc35240.c 		dev_err(&data->client->dev, "Error reading product id\n");
client            218 drivers/iio/magnetometer/mmc35240.c 	dev_dbg(&data->client->dev, "MMC35240 chip id %x\n", reg_id);
client            283 drivers/iio/magnetometer/mmc35240.c 		dev_err(&data->client->dev, "data not ready\n");
client            484 drivers/iio/magnetometer/mmc35240.c static int mmc35240_probe(struct i2c_client *client,
client            492 drivers/iio/magnetometer/mmc35240.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            496 drivers/iio/magnetometer/mmc35240.c 	regmap = devm_regmap_init_i2c(client, &mmc35240_regmap_config);
client            498 drivers/iio/magnetometer/mmc35240.c 		dev_err(&client->dev, "regmap initialization failed\n");
client            503 drivers/iio/magnetometer/mmc35240.c 	i2c_set_clientdata(client, indio_dev);
client            504 drivers/iio/magnetometer/mmc35240.c 	data->client = client;
client            510 drivers/iio/magnetometer/mmc35240.c 	indio_dev->dev.parent = &client->dev;
client            519 drivers/iio/magnetometer/mmc35240.c 		dev_err(&client->dev, "mmc35240 chip init failed\n");
client            522 drivers/iio/magnetometer/mmc35240.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             26 drivers/iio/magnetometer/rm3100-i2c.c static int rm3100_probe(struct i2c_client *client)
client             30 drivers/iio/magnetometer/rm3100-i2c.c 	regmap = devm_regmap_init_i2c(client, &rm3100_regmap_config);
client             34 drivers/iio/magnetometer/rm3100-i2c.c 	return rm3100_common_probe(&client->dev, regmap, client->irq);
client             57 drivers/iio/magnetometer/st_magn_i2c.c static int st_magn_i2c_probe(struct i2c_client *client,
client             65 drivers/iio/magnetometer/st_magn_i2c.c 	st_sensors_of_name_probe(&client->dev, st_magn_of_match,
client             66 drivers/iio/magnetometer/st_magn_i2c.c 				 client->name, sizeof(client->name));
client             68 drivers/iio/magnetometer/st_magn_i2c.c 	settings = st_magn_get_settings(client->name);
client             70 drivers/iio/magnetometer/st_magn_i2c.c 		dev_err(&client->dev, "device name %s not recognized.\n",
client             71 drivers/iio/magnetometer/st_magn_i2c.c 			client->name);
client             75 drivers/iio/magnetometer/st_magn_i2c.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*mdata));
client             82 drivers/iio/magnetometer/st_magn_i2c.c 	err = st_sensors_i2c_configure(indio_dev, client);
client             93 drivers/iio/magnetometer/st_magn_i2c.c static int st_magn_i2c_remove(struct i2c_client *client)
client             95 drivers/iio/magnetometer/st_magn_i2c.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             49 drivers/iio/potentiometer/ad5272.c 	struct i2c_client       *client;
client             70 drivers/iio/potentiometer/ad5272.c 	ret = i2c_master_send(data->client, data->buf, sizeof(data->buf));
client             83 drivers/iio/potentiometer/ad5272.c 	ret = i2c_master_send(data->client, data->buf, sizeof(data->buf));
client             87 drivers/iio/potentiometer/ad5272.c 	ret = i2c_master_recv(data->client, data->buf, sizeof(data->buf));
client            144 drivers/iio/potentiometer/ad5272.c 	reset_gpio = devm_gpiod_get_optional(&data->client->dev, "reset",
client            160 drivers/iio/potentiometer/ad5272.c static int ad5272_probe(struct i2c_client *client,
client            163 drivers/iio/potentiometer/ad5272.c 	struct device *dev = &client->dev;
client            172 drivers/iio/potentiometer/ad5272.c 	i2c_set_clientdata(client, indio_dev);
client            175 drivers/iio/potentiometer/ad5272.c 	data->client = client;
client            191 drivers/iio/potentiometer/ad5272.c 	indio_dev->name = client->name;
client             39 drivers/iio/potentiometer/ds1803.c 	struct i2c_client *client;
client             68 drivers/iio/potentiometer/ds1803.c 		ret = i2c_master_recv(data->client, result,
client            104 drivers/iio/potentiometer/ds1803.c 	return i2c_smbus_write_byte_data(data->client, DS1803_WRITE(pot), val);
client            112 drivers/iio/potentiometer/ds1803.c static int ds1803_probe(struct i2c_client *client,
client            115 drivers/iio/potentiometer/ds1803.c 	struct device *dev = &client->dev;
client            123 drivers/iio/potentiometer/ds1803.c 	i2c_set_clientdata(client, indio_dev);
client            126 drivers/iio/potentiometer/ds1803.c 	data->client = client;
client            133 drivers/iio/potentiometer/ds1803.c 	indio_dev->name = client->name;
client             27 drivers/iio/potentiometer/max5432.c 	struct i2c_client *client;
client             79 drivers/iio/potentiometer/max5432.c 	return i2c_smbus_write_byte_data(data->client, chan->address,
client             88 drivers/iio/potentiometer/max5432.c static int max5432_probe(struct i2c_client *client,
client             91 drivers/iio/potentiometer/max5432.c 	struct device *dev = &client->dev;
client             99 drivers/iio/potentiometer/max5432.c 	i2c_set_clientdata(client, indio_dev);
client            102 drivers/iio/potentiometer/max5432.c 	data->client = client;
client            109 drivers/iio/potentiometer/max5432.c 	indio_dev->name = client->name;
client             43 drivers/iio/potentiometer/mcp4018.c 	struct i2c_client *client;
client             65 drivers/iio/potentiometer/mcp4018.c 		ret = i2c_smbus_read_byte(data->client);
client             94 drivers/iio/potentiometer/mcp4018.c 	return i2c_smbus_write_byte(data->client, val);
client            145 drivers/iio/potentiometer/mcp4018.c static int mcp4018_probe(struct i2c_client *client)
client            147 drivers/iio/potentiometer/mcp4018.c 	struct device *dev = &client->dev;
client            151 drivers/iio/potentiometer/mcp4018.c 	if (!i2c_check_functionality(client->adapter,
client            161 drivers/iio/potentiometer/mcp4018.c 	i2c_set_clientdata(client, indio_dev);
client            162 drivers/iio/potentiometer/mcp4018.c 	data->client = client;
client            166 drivers/iio/potentiometer/mcp4018.c 		data->cfg = &mcp4018_cfg[i2c_match_id(mcp4018_id, client)->driver_data];
client            172 drivers/iio/potentiometer/mcp4018.c 	indio_dev->name = client->name;
client            120 drivers/iio/potentiometer/mcp4531.c 	struct i2c_client *client;
client            149 drivers/iio/potentiometer/mcp4531.c 		ret = i2c_smbus_read_word_swapped(data->client,
client            198 drivers/iio/potentiometer/mcp4531.c 	return i2c_smbus_write_byte_data(data->client,
client            355 drivers/iio/potentiometer/mcp4531.c static int mcp4531_probe(struct i2c_client *client)
client            357 drivers/iio/potentiometer/mcp4531.c 	struct device *dev = &client->dev;
client            361 drivers/iio/potentiometer/mcp4531.c 	if (!i2c_check_functionality(client->adapter,
client            371 drivers/iio/potentiometer/mcp4531.c 	i2c_set_clientdata(client, indio_dev);
client            372 drivers/iio/potentiometer/mcp4531.c 	data->client = client;
client            376 drivers/iio/potentiometer/mcp4531.c 		data->cfg = &mcp4531_cfg[i2c_match_id(mcp4531_id, client)->driver_data];
client            382 drivers/iio/potentiometer/mcp4531.c 	indio_dev->name = client->name;
client            123 drivers/iio/potentiometer/tpl0102.c static int tpl0102_probe(struct i2c_client *client,
client            126 drivers/iio/potentiometer/tpl0102.c 	struct device *dev = &client->dev;
client            134 drivers/iio/potentiometer/tpl0102.c 	i2c_set_clientdata(client, indio_dev);
client            137 drivers/iio/potentiometer/tpl0102.c 	data->regmap = devm_regmap_init_i2c(client, &tpl0102_regmap_config);
client            147 drivers/iio/potentiometer/tpl0102.c 	indio_dev->name = client->name;
client            300 drivers/iio/potentiostat/lmp91000.c static int lmp91000_probe(struct i2c_client *client,
client            303 drivers/iio/potentiostat/lmp91000.c 	struct device *dev = &client->dev;
client            316 drivers/iio/potentiostat/lmp91000.c 	indio_dev->dev.parent = &client->dev;
client            318 drivers/iio/potentiostat/lmp91000.c 	i2c_set_clientdata(client, indio_dev);
client            322 drivers/iio/potentiostat/lmp91000.c 	data->regmap = devm_regmap_init_i2c(client, &lmp91000_regmap_config);
client            394 drivers/iio/potentiostat/lmp91000.c static int lmp91000_remove(struct i2c_client *client)
client            396 drivers/iio/potentiostat/lmp91000.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             78 drivers/iio/pressure/abp060mg.c 	struct i2c_client *client;
client            102 drivers/iio/pressure/abp060mg.c 	struct i2c_client *client = state->client;
client            108 drivers/iio/pressure/abp060mg.c 	ret = i2c_master_send(client, (u8 *)&buf, state->mreq_len);
client            114 drivers/iio/pressure/abp060mg.c 	ret = i2c_master_recv(client, (u8 *)&buf, sizeof(buf));
client            177 drivers/iio/pressure/abp060mg.c static int abp060mg_probe(struct i2c_client *client,
client            184 drivers/iio/pressure/abp060mg.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*state));
client            189 drivers/iio/pressure/abp060mg.c 	i2c_set_clientdata(client, state);
client            190 drivers/iio/pressure/abp060mg.c 	state->client = client;
client            192 drivers/iio/pressure/abp060mg.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_QUICK))
client            197 drivers/iio/pressure/abp060mg.c 	indio_dev->dev.parent = &client->dev;
client            198 drivers/iio/pressure/abp060mg.c 	indio_dev->name = dev_name(&client->dev);
client            207 drivers/iio/pressure/abp060mg.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             10 drivers/iio/pressure/bmp280-i2c.c static int bmp280_i2c_probe(struct i2c_client *client,
client             28 drivers/iio/pressure/bmp280-i2c.c 	regmap = devm_regmap_init_i2c(client, regmap_config);
client             30 drivers/iio/pressure/bmp280-i2c.c 		dev_err(&client->dev, "failed to allocate register map\n");
client             34 drivers/iio/pressure/bmp280-i2c.c 	return bmp280_common_probe(&client->dev,
client             38 drivers/iio/pressure/bmp280-i2c.c 				   client->irq);
client             41 drivers/iio/pressure/bmp280-i2c.c static int bmp280_i2c_remove(struct i2c_client *client)
client             43 drivers/iio/pressure/bmp280-i2c.c 	return bmp280_common_remove(&client->dev);
client             84 drivers/iio/pressure/dps310.c 	struct i2c_client *client;
client            720 drivers/iio/pressure/dps310.c static int dps310_probe(struct i2c_client *client,
client            727 drivers/iio/pressure/dps310.c 	iio = devm_iio_device_alloc(&client->dev,  sizeof(*data));
client            732 drivers/iio/pressure/dps310.c 	data->client = client;
client            735 drivers/iio/pressure/dps310.c 	iio->dev.parent = &client->dev;
client            742 drivers/iio/pressure/dps310.c 	data->regmap = devm_regmap_init_i2c(client, &dps310_regmap_config);
client            747 drivers/iio/pressure/dps310.c 	rc = devm_add_action_or_reset(&client->dev, dps310_reset, data);
client            801 drivers/iio/pressure/dps310.c 	rc = devm_iio_device_register(&client->dev, iio);
client            805 drivers/iio/pressure/dps310.c 	i2c_set_clientdata(client, iio);
client             36 drivers/iio/pressure/hp03.c 	struct i2c_client	*client;
client             85 drivers/iio/pressure/hp03.c 	ret = i2c_smbus_write_byte_data(priv->client, HP03_ADC_WRITE_REG, reg);
client             91 drivers/iio/pressure/hp03.c 	return i2c_smbus_read_word_data(priv->client, HP03_ADC_READ_REG);
client             96 drivers/iio/pressure/hp03.c 	struct device *dev = &priv->client->dev;
client            211 drivers/iio/pressure/hp03.c static int hp03_probe(struct i2c_client *client,
client            214 drivers/iio/pressure/hp03.c 	struct device *dev = &client->dev;
client            224 drivers/iio/pressure/hp03.c 	priv->client = client;
client            246 drivers/iio/pressure/hp03.c 	priv->eeprom_client = i2c_new_dummy_device(client->adapter, HP03_EEPROM_ADDR);
client            266 drivers/iio/pressure/hp03.c 	i2c_set_clientdata(client, indio_dev);
client            278 drivers/iio/pressure/hp03.c static int hp03_remove(struct i2c_client *client)
client            280 drivers/iio/pressure/hp03.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             57 drivers/iio/pressure/hp206c.c 	struct i2c_client *client;
client             80 drivers/iio/pressure/hp206c.c static inline int hp206c_read_reg(struct i2c_client *client, u8 reg)
client             82 drivers/iio/pressure/hp206c.c 	return i2c_smbus_read_byte_data(client, HP206C_CMD_READ_REG | reg);
client             85 drivers/iio/pressure/hp206c.c static inline int hp206c_write_reg(struct i2c_client *client, u8 reg, u8 val)
client             87 drivers/iio/pressure/hp206c.c 	return i2c_smbus_write_byte_data(client,
client             91 drivers/iio/pressure/hp206c.c static int hp206c_read_20bit(struct i2c_client *client, u8 cmd)
client             96 drivers/iio/pressure/hp206c.c 	ret = i2c_smbus_read_i2c_block_data(client, cmd, 3, values);
client            110 drivers/iio/pressure/hp206c.c 	struct i2c_client *client = data->client;
client            113 drivers/iio/pressure/hp206c.c 		ret = hp206c_read_reg(client, HP206C_REG_INT_SRC);
client            125 drivers/iio/pressure/hp206c.c static int hp206c_set_compensation(struct i2c_client *client, bool enabled)
client            129 drivers/iio/pressure/hp206c.c 	val = hp206c_read_reg(client, HP206C_REG_PARA);
client            137 drivers/iio/pressure/hp206c.c 	return hp206c_write_reg(client, HP206C_REG_PARA, val);
client            145 drivers/iio/pressure/hp206c.c 	struct i2c_client *client = data->client;
client            147 drivers/iio/pressure/hp206c.c 	ret = i2c_smbus_write_byte(client, HP206C_CMD_SOFT_RST);
client            149 drivers/iio/pressure/hp206c.c 		dev_err(&client->dev, "Failed to reset device: %d\n", ret);
client            157 drivers/iio/pressure/hp206c.c 		dev_err(&client->dev, "Device not ready after soft reset: %d\n", ret);
client            161 drivers/iio/pressure/hp206c.c 	ret = hp206c_set_compensation(client, true);
client            163 drivers/iio/pressure/hp206c.c 		dev_err(&client->dev, "Failed to enable compensation: %d\n", ret);
client            173 drivers/iio/pressure/hp206c.c 	struct i2c_client *client = data->client;
client            181 drivers/iio/pressure/hp206c.c 	ret = i2c_smbus_write_byte(client, conv_cmd);
client            195 drivers/iio/pressure/hp206c.c 	ret = hp206c_read_20bit(client, read_cmd);
client            353 drivers/iio/pressure/hp206c.c static int hp206c_probe(struct i2c_client *client,
client            360 drivers/iio/pressure/hp206c.c 	if (!i2c_check_functionality(client->adapter,
client            364 drivers/iio/pressure/hp206c.c 		dev_err(&client->dev, "Adapter does not support "
client            369 drivers/iio/pressure/hp206c.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            374 drivers/iio/pressure/hp206c.c 	data->client = client;
client            379 drivers/iio/pressure/hp206c.c 	indio_dev->dev.parent = &client->dev;
client            384 drivers/iio/pressure/hp206c.c 	i2c_set_clientdata(client, indio_dev);
client            389 drivers/iio/pressure/hp206c.c 		dev_err(&client->dev, "Failed to reset on startup: %d\n", ret);
client            393 drivers/iio/pressure/hp206c.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             38 drivers/iio/pressure/mpl115_i2c.c static int mpl115_i2c_probe(struct i2c_client *client,
client             41 drivers/iio/pressure/mpl115_i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WORD_DATA))
client             44 drivers/iio/pressure/mpl115_i2c.c 	return mpl115_probe(&client->dev, id->name, &mpl115_i2c_ops);
client             39 drivers/iio/pressure/mpl3115.c 	struct i2c_client *client;
client             49 drivers/iio/pressure/mpl3115.c 	ret = i2c_smbus_write_byte_data(data->client, MPL3115_CTRL_REG1,
client             55 drivers/iio/pressure/mpl3115.c 		ret = i2c_smbus_read_byte_data(data->client, MPL3115_CTRL_REG1);
client             65 drivers/iio/pressure/mpl3115.c 		dev_err(&data->client->dev, "data not ready\n");
client             94 drivers/iio/pressure/mpl3115.c 			ret = i2c_smbus_read_i2c_block_data(data->client,
client            109 drivers/iio/pressure/mpl3115.c 			ret = i2c_smbus_read_i2c_block_data(data->client,
client            159 drivers/iio/pressure/mpl3115.c 		ret = i2c_smbus_read_i2c_block_data(data->client,
client            169 drivers/iio/pressure/mpl3115.c 		ret = i2c_smbus_read_i2c_block_data(data->client,
client            220 drivers/iio/pressure/mpl3115.c static int mpl3115_probe(struct i2c_client *client,
client            227 drivers/iio/pressure/mpl3115.c 	ret = i2c_smbus_read_byte_data(client, MPL3115_WHO_AM_I);
client            233 drivers/iio/pressure/mpl3115.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            238 drivers/iio/pressure/mpl3115.c 	data->client = client;
client            241 drivers/iio/pressure/mpl3115.c 	i2c_set_clientdata(client, indio_dev);
client            244 drivers/iio/pressure/mpl3115.c 	indio_dev->dev.parent = &client->dev;
client            250 drivers/iio/pressure/mpl3115.c 	i2c_smbus_write_byte_data(client, MPL3115_CTRL_REG1,
client            255 drivers/iio/pressure/mpl3115.c 	ret = i2c_smbus_write_byte_data(client, MPL3115_CTRL_REG1,
client            277 drivers/iio/pressure/mpl3115.c 	return i2c_smbus_write_byte_data(data->client, MPL3115_CTRL_REG1,
client            281 drivers/iio/pressure/mpl3115.c static int mpl3115_remove(struct i2c_client *client)
client            283 drivers/iio/pressure/mpl3115.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            304 drivers/iio/pressure/mpl3115.c 	return i2c_smbus_write_byte_data(data->client, MPL3115_CTRL_REG1,
client             47 drivers/iio/pressure/ms5611.h 	void *client;
client             25 drivers/iio/pressure/ms5611_i2c.c 	return i2c_smbus_write_byte(st->client, MS5611_RESET);
client             33 drivers/iio/pressure/ms5611_i2c.c 	ret = i2c_smbus_read_word_swapped(st->client,
client             48 drivers/iio/pressure/ms5611_i2c.c 	ret = i2c_smbus_read_i2c_block_data(st->client, MS5611_READ_ADC,
client             65 drivers/iio/pressure/ms5611_i2c.c 	ret = i2c_smbus_write_byte(st->client, osr->cmd);
client             75 drivers/iio/pressure/ms5611_i2c.c 	ret = i2c_smbus_write_byte(st->client, osr->cmd);
client             83 drivers/iio/pressure/ms5611_i2c.c static int ms5611_i2c_probe(struct i2c_client *client,
client             89 drivers/iio/pressure/ms5611_i2c.c 	if (!i2c_check_functionality(client->adapter,
client             95 drivers/iio/pressure/ms5611_i2c.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*st));
client            100 drivers/iio/pressure/ms5611_i2c.c 	i2c_set_clientdata(client, indio_dev);
client            104 drivers/iio/pressure/ms5611_i2c.c 	st->client = client;
client            106 drivers/iio/pressure/ms5611_i2c.c 	return ms5611_probe(indio_dev, &client->dev, id->name, id->driver_data);
client            109 drivers/iio/pressure/ms5611_i2c.c static int ms5611_i2c_remove(struct i2c_client *client)
client            111 drivers/iio/pressure/ms5611_i2c.c 	return ms5611_remove(i2c_get_clientdata(client));
client             21 drivers/iio/pressure/ms5611_spi.c 	return spi_write_then_read(st->client, &cmd, 1, NULL, 0);
client             29 drivers/iio/pressure/ms5611_spi.c 	ret = spi_w8r16be(st->client, MS5611_READ_PROM_WORD + (index << 1));
client             44 drivers/iio/pressure/ms5611_spi.c 	ret = spi_write_then_read(st->client, buf, 1, buf, 3);
client             64 drivers/iio/pressure/ms5611_spi.c 	ret = spi_write_then_read(st->client, &osr->cmd, 1, NULL, 0);
client             74 drivers/iio/pressure/ms5611_spi.c 	ret = spi_write_then_read(st->client, &osr->cmd, 1, NULL, 0);
client            105 drivers/iio/pressure/ms5611_spi.c 	st->client = spi;
client            128 drivers/iio/pressure/ms5637.c static int ms5637_probe(struct i2c_client *client,
client            135 drivers/iio/pressure/ms5637.c 	if (!i2c_check_functionality(client->adapter,
client            139 drivers/iio/pressure/ms5637.c 		dev_err(&client->dev,
client            144 drivers/iio/pressure/ms5637.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*dev_data));
client            149 drivers/iio/pressure/ms5637.c 	dev_data->client = client;
client            155 drivers/iio/pressure/ms5637.c 	indio_dev->dev.parent = &client->dev;
client            160 drivers/iio/pressure/ms5637.c 	i2c_set_clientdata(client, indio_dev);
client            162 drivers/iio/pressure/ms5637.c 	ret = ms_sensors_reset(client, 0x1E, 3000);
client            170 drivers/iio/pressure/ms5637.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             80 drivers/iio/pressure/st_pressure_i2c.c static int st_press_i2c_probe(struct i2c_client *client,
client             88 drivers/iio/pressure/st_pressure_i2c.c 	if (client->dev.of_node) {
client             89 drivers/iio/pressure/st_pressure_i2c.c 		st_sensors_of_name_probe(&client->dev, st_press_of_match,
client             90 drivers/iio/pressure/st_pressure_i2c.c 					 client->name, sizeof(client->name));
client             91 drivers/iio/pressure/st_pressure_i2c.c 	} else if (ACPI_HANDLE(&client->dev)) {
client             92 drivers/iio/pressure/st_pressure_i2c.c 		ret = st_sensors_match_acpi_device(&client->dev);
client             96 drivers/iio/pressure/st_pressure_i2c.c 		strlcpy(client->name, st_press_id_table[ret].name,
client             97 drivers/iio/pressure/st_pressure_i2c.c 			sizeof(client->name));
client            101 drivers/iio/pressure/st_pressure_i2c.c 	settings = st_press_get_settings(client->name);
client            103 drivers/iio/pressure/st_pressure_i2c.c 		dev_err(&client->dev, "device name %s not recognized.\n",
client            104 drivers/iio/pressure/st_pressure_i2c.c 			client->name);
client            108 drivers/iio/pressure/st_pressure_i2c.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*press_data));
client            115 drivers/iio/pressure/st_pressure_i2c.c 	ret = st_sensors_i2c_configure(indio_dev, client);
client            126 drivers/iio/pressure/st_pressure_i2c.c static int st_press_i2c_remove(struct i2c_client *client)
client            128 drivers/iio/pressure/st_pressure_i2c.c 	st_press_common_remove(i2c_get_clientdata(client));
client             39 drivers/iio/pressure/t5403.c 	struct i2c_client *client;
client             52 drivers/iio/pressure/t5403.c 	int ret = i2c_smbus_write_byte_data(data->client, T5403_COMMAND,
client             62 drivers/iio/pressure/t5403.c 	return i2c_smbus_read_word_data(data->client, T5403_DATA);
client            211 drivers/iio/pressure/t5403.c static int t5403_probe(struct i2c_client *client,
client            218 drivers/iio/pressure/t5403.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WORD_DATA |
client            222 drivers/iio/pressure/t5403.c 	ret = i2c_smbus_read_byte_data(client, T5403_SLAVE_ADDR);
client            228 drivers/iio/pressure/t5403.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            233 drivers/iio/pressure/t5403.c 	data->client = client;
client            236 drivers/iio/pressure/t5403.c 	i2c_set_clientdata(client, indio_dev);
client            239 drivers/iio/pressure/t5403.c 	indio_dev->dev.parent = &client->dev;
client            246 drivers/iio/pressure/t5403.c 	ret = i2c_smbus_read_i2c_block_data(data->client, T5403_CALIB_DATA,
client            251 drivers/iio/pressure/t5403.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             31 drivers/iio/pressure/zpa2326_i2c.c static unsigned int zpa2326_i2c_hwid(const struct i2c_client *client)
client             38 drivers/iio/pressure/zpa2326_i2c.c 		(ZPA2326_SA0(client->addr) << ZPA2326_DEVICE_ID_SA0_SHIFT));
client             41 drivers/iio/pressure/zpa2326_i2c.c static int zpa2326_probe_i2c(struct i2c_client          *client,
client             46 drivers/iio/pressure/zpa2326_i2c.c 	regmap = devm_regmap_init_i2c(client, &zpa2326_regmap_i2c_config);
client             48 drivers/iio/pressure/zpa2326_i2c.c 		dev_err(&client->dev, "failed to init registers map");
client             52 drivers/iio/pressure/zpa2326_i2c.c 	return zpa2326_probe(&client->dev, i2c_id->name, client->irq,
client             53 drivers/iio/pressure/zpa2326_i2c.c 			     zpa2326_i2c_hwid(client), regmap);
client             56 drivers/iio/pressure/zpa2326_i2c.c static int zpa2326_remove_i2c(struct i2c_client *client)
client             58 drivers/iio/pressure/zpa2326_i2c.c 	zpa2326_remove(&client->dev);
client            107 drivers/iio/proximity/isl29501.c 	struct i2c_client *client;
client            207 drivers/iio/proximity/isl29501.c 		ret = i2c_smbus_read_byte_data(isl29501->client, reg->msb);
client            214 drivers/iio/proximity/isl29501.c 		ret = i2c_smbus_read_byte_data(isl29501->client, reg->lsb);
client            245 drivers/iio/proximity/isl29501.c 		ret = i2c_smbus_write_byte_data(isl29501->client,
client            251 drivers/iio/proximity/isl29501.c 	ret = i2c_smbus_write_byte_data(isl29501->client, reg->lsb, value);
client            431 drivers/iio/proximity/isl29501.c 			dev_dbg(&isl29501->client->dev,
client            543 drivers/iio/proximity/isl29501.c 	ret = i2c_smbus_write_byte_data(isl29501->client,
client            547 drivers/iio/proximity/isl29501.c 		dev_err(&isl29501->client->dev,
client            552 drivers/iio/proximity/isl29501.c 	ret = i2c_smbus_write_byte_data(isl29501->client,
client            556 drivers/iio/proximity/isl29501.c 		dev_err(&isl29501->client->dev,
client            566 drivers/iio/proximity/isl29501.c 	ret = i2c_smbus_write_byte_data(isl29501->client,
client            570 drivers/iio/proximity/isl29501.c 		dev_err(&isl29501->client->dev,
client            915 drivers/iio/proximity/isl29501.c 	ret = i2c_smbus_read_byte_data(isl29501->client, ISL29501_DEVICE_ID);
client            917 drivers/iio/proximity/isl29501.c 		dev_err(&isl29501->client->dev, "Error reading device id\n");
client            922 drivers/iio/proximity/isl29501.c 		dev_err(&isl29501->client->dev,
client            952 drivers/iio/proximity/isl29501.c static int isl29501_probe(struct i2c_client *client,
client            959 drivers/iio/proximity/isl29501.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*isl29501));
client            965 drivers/iio/proximity/isl29501.c 	i2c_set_clientdata(client, indio_dev);
client            966 drivers/iio/proximity/isl29501.c 	isl29501->client = client;
client            975 drivers/iio/proximity/isl29501.c 	indio_dev->dev.parent = &client->dev;
client            978 drivers/iio/proximity/isl29501.c 	indio_dev->name = client->name;
client            981 drivers/iio/proximity/isl29501.c 	ret = devm_iio_triggered_buffer_setup(&client->dev, indio_dev,
client            986 drivers/iio/proximity/isl29501.c 		dev_err(&client->dev, "unable to setup iio triggered buffer\n");
client            990 drivers/iio/proximity/isl29501.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             31 drivers/iio/proximity/mb1232.c 	struct i2c_client	*client;
client             57 drivers/iio/proximity/mb1232.c 	struct i2c_client *client = data->client;
client             66 drivers/iio/proximity/mb1232.c 	ret = i2c_smbus_write_byte(client, MB1232_RANGE_COMMAND);
client             68 drivers/iio/proximity/mb1232.c 		dev_err(&client->dev, "write command - err: %d\n", ret);
client             87 drivers/iio/proximity/mb1232.c 	ret = i2c_master_recv(client, (char *)&buf, sizeof(buf));
client             89 drivers/iio/proximity/mb1232.c 		dev_err(&client->dev, "i2c_master_recv: ret=%d\n", ret);
client             96 drivers/iio/proximity/mb1232.c 		dev_err(&client->dev, "distance=%d\n", distance);
client            180 drivers/iio/proximity/mb1232.c static int mb1232_probe(struct i2c_client *client,
client            186 drivers/iio/proximity/mb1232.c 	struct device *dev = &client->dev;
client            188 drivers/iio/proximity/mb1232.c 	if (!i2c_check_functionality(client->adapter,
client            198 drivers/iio/proximity/mb1232.c 	i2c_set_clientdata(client, indio_dev);
client            199 drivers/iio/proximity/mb1232.c 	data->client = client;
client             41 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	struct i2c_client *client;
client             66 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	struct i2c_client *client = data->client;
client             70 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	msg[0].addr = client->addr;
client             71 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	msg[0].flags = client->flags | I2C_M_STOP;
client             75 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	msg[1].addr = client->addr;
client             76 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	msg[1].flags = client->flags | I2C_M_RD;
client             80 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	ret = i2c_transfer(client->adapter, msg, 2);
client             87 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	struct i2c_client *client = data->client;
client             96 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 		ret = i2c_smbus_write_byte(client, reg++);
client             98 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 			dev_err(&client->dev, "cannot write addr value");
client            102 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 		ret = i2c_smbus_read_byte(client);
client            104 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 			dev_err(&client->dev, "cannot read data value");
client            128 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	return i2c_smbus_write_byte_data(data->client, LIDAR_REG_CONTROL, val);
client            133 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	return i2c_smbus_write_byte_data(data->client,
client            151 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	struct i2c_client *client = data->client;
client            155 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	pm_runtime_get_sync(&client->dev);
client            160 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 		dev_err(&client->dev, "cannot send start measurement command");
client            185 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	pm_runtime_mark_last_busy(&client->dev);
client            186 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	pm_runtime_put_autosuspend(&client->dev);
client            235 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 		dev_err(&data->client->dev, "cannot read LIDAR measurement");
client            247 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c static int lidar_probe(struct i2c_client *client,
client            254 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            259 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            262 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	} else if (i2c_check_functionality(client->adapter,
client            272 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	indio_dev->dev.parent = &client->dev;
client            275 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	i2c_set_clientdata(client, indio_dev);
client            277 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	data->client = client;
client            289 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	pm_runtime_set_autosuspend_delay(&client->dev, 1000);
client            290 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	pm_runtime_use_autosuspend(&client->dev);
client            292 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	ret = pm_runtime_set_active(&client->dev);
client            295 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	pm_runtime_enable(&client->dev);
client            296 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	pm_runtime_idle(&client->dev);
client            306 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c static int lidar_remove(struct i2c_client *client)
client            308 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            313 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	pm_runtime_disable(&client->dev);
client            314 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c 	pm_runtime_set_suspended(&client->dev);
client             80 drivers/iio/proximity/rfd77402.c 	struct i2c_client *client;
client             97 drivers/iio/proximity/rfd77402.c 	ret = i2c_smbus_write_byte_data(data->client, RFD77402_CMD_R,
client            104 drivers/iio/proximity/rfd77402.c 	ret = i2c_smbus_read_word_data(data->client, RFD77402_STATUS_R);
client            123 drivers/iio/proximity/rfd77402.c 	ret = i2c_smbus_write_byte_data(data->client, RFD77402_CMD_R,
client            130 drivers/iio/proximity/rfd77402.c 		ret = i2c_smbus_read_byte_data(data->client, RFD77402_ICSR);
client            143 drivers/iio/proximity/rfd77402.c 	ret = i2c_smbus_read_word_data(data->client, RFD77402_RESULT_R);
client            201 drivers/iio/proximity/rfd77402.c 	ret = i2c_smbus_write_byte_data(data->client, RFD77402_ICSR,
client            207 drivers/iio/proximity/rfd77402.c 	ret = i2c_smbus_write_word_data(data->client, RFD77402_I2C_INIT_CFG,
client            216 drivers/iio/proximity/rfd77402.c 	ret = i2c_smbus_write_word_data(data->client, RFD77402_PMU_CFG, 0x0500);
client            226 drivers/iio/proximity/rfd77402.c 	ret = i2c_smbus_write_word_data(data->client, RFD77402_PMU_CFG, 0x0600);
client            236 drivers/iio/proximity/rfd77402.c 		ret = i2c_smbus_write_word_data(data->client,
client            255 drivers/iio/proximity/rfd77402.c static int rfd77402_probe(struct i2c_client *client,
client            262 drivers/iio/proximity/rfd77402.c 	ret = i2c_smbus_read_word_data(client, RFD77402_MOD_CHIP_ID);
client            268 drivers/iio/proximity/rfd77402.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            273 drivers/iio/proximity/rfd77402.c 	i2c_set_clientdata(client, indio_dev);
client            274 drivers/iio/proximity/rfd77402.c 	data->client = client;
client            277 drivers/iio/proximity/rfd77402.c 	indio_dev->dev.parent = &client->dev;
client            299 drivers/iio/proximity/rfd77402.c static int rfd77402_remove(struct i2c_client *client)
client            301 drivers/iio/proximity/rfd77402.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client             54 drivers/iio/proximity/srf08.c 	struct i2c_client	*client;
client            125 drivers/iio/proximity/srf08.c 	struct i2c_client *client = data->client;
client            131 drivers/iio/proximity/srf08.c 	ret = i2c_smbus_write_byte_data(data->client,
client            134 drivers/iio/proximity/srf08.c 		dev_err(&client->dev, "write command - err: %d\n", ret);
client            152 drivers/iio/proximity/srf08.c 		ret = i2c_smbus_read_byte_data(data->client,
client            162 drivers/iio/proximity/srf08.c 		dev_err(&client->dev, "device not ready\n");
client            167 drivers/iio/proximity/srf08.c 	ret = i2c_smbus_read_word_swapped(data->client,
client            170 drivers/iio/proximity/srf08.c 		dev_err(&client->dev, "cannot read distance: ret=%d\n", ret);
client            263 drivers/iio/proximity/srf08.c 	struct i2c_client *client = data->client;
client            277 drivers/iio/proximity/srf08.c 	ret = i2c_smbus_write_byte_data(client, SRF08_WRITE_RANGE, regval);
client            279 drivers/iio/proximity/srf08.c 		dev_err(&client->dev, "write_range - err: %d\n", ret);
client            349 drivers/iio/proximity/srf08.c 	struct i2c_client *client = data->client;
client            367 drivers/iio/proximity/srf08.c 	ret = i2c_smbus_write_byte_data(client, SRF08_WRITE_MAX_GAIN, regval);
client            369 drivers/iio/proximity/srf08.c 		dev_err(&client->dev, "write_sensitivity - err: %d\n", ret);
client            446 drivers/iio/proximity/srf08.c static int srf08_probe(struct i2c_client *client,
client            453 drivers/iio/proximity/srf08.c 	if (!i2c_check_functionality(client->adapter,
client            459 drivers/iio/proximity/srf08.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            464 drivers/iio/proximity/srf08.c 	i2c_set_clientdata(client, indio_dev);
client            465 drivers/iio/proximity/srf08.c 	data->client = client;
client            486 drivers/iio/proximity/srf08.c 	indio_dev->dev.parent = &client->dev;
client            493 drivers/iio/proximity/srf08.c 	ret = devm_iio_triggered_buffer_setup(&client->dev, indio_dev,
client            496 drivers/iio/proximity/srf08.c 		dev_err(&client->dev, "setup of iio triggered buffer failed\n");
client            528 drivers/iio/proximity/srf08.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             81 drivers/iio/proximity/sx9500.c 	struct i2c_client *client;
client            322 drivers/iio/proximity/sx9500.c 	if (data->client->irq > 0)
client            474 drivers/iio/proximity/sx9500.c 		dev_err(&data->client->dev, "i2c transfer error in irq\n");
client            509 drivers/iio/proximity/sx9500.c 		dev_err(&data->client->dev, "i2c transfer error in irq\n");
client            816 drivers/iio/proximity/sx9500.c 		dev_err(&data->client->dev, "initial compensation timed out");
client            876 drivers/iio/proximity/sx9500.c static void sx9500_gpio_probe(struct i2c_client *client,
client            883 drivers/iio/proximity/sx9500.c 	if (!client)
client            886 drivers/iio/proximity/sx9500.c 	dev = &client->dev;
client            892 drivers/iio/proximity/sx9500.c 	if (client->irq <= 0) {
client            897 drivers/iio/proximity/sx9500.c 			client->irq = gpiod_to_irq(gpiod_int);
client            907 drivers/iio/proximity/sx9500.c static int sx9500_probe(struct i2c_client *client,
client            914 drivers/iio/proximity/sx9500.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            919 drivers/iio/proximity/sx9500.c 	data->client = client;
client            924 drivers/iio/proximity/sx9500.c 	data->regmap = devm_regmap_init_i2c(client, &sx9500_regmap_config);
client            928 drivers/iio/proximity/sx9500.c 	indio_dev->dev.parent = &client->dev;
client            934 drivers/iio/proximity/sx9500.c 	i2c_set_clientdata(client, indio_dev);
client            936 drivers/iio/proximity/sx9500.c 	sx9500_gpio_probe(client, data);
client            942 drivers/iio/proximity/sx9500.c 	if (client->irq <= 0)
client            943 drivers/iio/proximity/sx9500.c 		dev_warn(&client->dev, "no valid irq found\n");
client            945 drivers/iio/proximity/sx9500.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            952 drivers/iio/proximity/sx9500.c 		data->trig = devm_iio_trigger_alloc(&client->dev,
client            957 drivers/iio/proximity/sx9500.c 		data->trig->dev.parent = &client->dev;
client            981 drivers/iio/proximity/sx9500.c 	if (client->irq > 0)
client            987 drivers/iio/proximity/sx9500.c static int sx9500_remove(struct i2c_client *client)
client            989 drivers/iio/proximity/sx9500.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            994 drivers/iio/proximity/sx9500.c 	if (client->irq > 0)
client             37 drivers/iio/proximity/vl53l0x-i2c.c 	struct i2c_client *client;
client             44 drivers/iio/proximity/vl53l0x-i2c.c 	struct i2c_client *client = data->client;
client             49 drivers/iio/proximity/vl53l0x-i2c.c 	ret = i2c_smbus_write_byte_data(client, VL_REG_SYSRANGE_START, 1);
client             54 drivers/iio/proximity/vl53l0x-i2c.c 		ret = i2c_smbus_read_byte_data(client,
client             67 drivers/iio/proximity/vl53l0x-i2c.c 	ret = i2c_smbus_read_i2c_block_data(client, VL_REG_RESULT_RANGE_STATUS,
client            119 drivers/iio/proximity/vl53l0x-i2c.c static int vl53l0x_probe(struct i2c_client *client)
client            124 drivers/iio/proximity/vl53l0x-i2c.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            129 drivers/iio/proximity/vl53l0x-i2c.c 	data->client = client;
client            130 drivers/iio/proximity/vl53l0x-i2c.c 	i2c_set_clientdata(client, indio_dev);
client            132 drivers/iio/proximity/vl53l0x-i2c.c 	if (!i2c_check_functionality(client->adapter,
client            137 drivers/iio/proximity/vl53l0x-i2c.c 	indio_dev->dev.parent = &client->dev;
client            144 drivers/iio/proximity/vl53l0x-i2c.c 	return devm_iio_device_register(&client->dev, indio_dev);
client             74 drivers/iio/temperature/mlx90614.c 	struct i2c_client *client;
client             98 drivers/iio/temperature/mlx90614.c static s32 mlx90614_write_word(const struct i2c_client *client, u8 command,
client            109 drivers/iio/temperature/mlx90614.c 	dev_dbg(&client->dev, "Writing 0x%x to address 0x%x", value, command);
client            112 drivers/iio/temperature/mlx90614.c 	ret = i2c_smbus_xfer(client->adapter, client->addr,
client            113 drivers/iio/temperature/mlx90614.c 			     client->flags | I2C_CLIENT_PEC,
client            122 drivers/iio/temperature/mlx90614.c 	ret = i2c_smbus_xfer(client->adapter, client->addr,
client            123 drivers/iio/temperature/mlx90614.c 			     client->flags | I2C_CLIENT_PEC,
client            136 drivers/iio/temperature/mlx90614.c static inline s32 mlx90614_iir_search(const struct i2c_client *client,
client            155 drivers/iio/temperature/mlx90614.c 	ret = i2c_smbus_read_word_data(client, MLX90614_CONFIG);
client            165 drivers/iio/temperature/mlx90614.c 	ret = mlx90614_write_word(client, MLX90614_CONFIG, ret);
client            183 drivers/iio/temperature/mlx90614.c 	pm_runtime_get_sync(&data->client->dev);
client            190 drivers/iio/temperature/mlx90614.c 			pm_runtime_put_autosuspend(&data->client->dev);
client            203 drivers/iio/temperature/mlx90614.c 	pm_runtime_mark_last_busy(&data->client->dev);
client            204 drivers/iio/temperature/mlx90614.c 	pm_runtime_put_autosuspend(&data->client->dev);
client            250 drivers/iio/temperature/mlx90614.c 		ret = i2c_smbus_read_word_data(data->client, cmd);
client            272 drivers/iio/temperature/mlx90614.c 		ret = i2c_smbus_read_word_data(data->client,
client            292 drivers/iio/temperature/mlx90614.c 		ret = i2c_smbus_read_word_data(data->client, MLX90614_CONFIG);
client            324 drivers/iio/temperature/mlx90614.c 		ret = mlx90614_write_word(data->client, MLX90614_EMISSIVITY,
client            336 drivers/iio/temperature/mlx90614.c 		ret = mlx90614_iir_search(data->client,
client            407 drivers/iio/temperature/mlx90614.c 		dev_dbg(&data->client->dev, "Sleep disabled");
client            411 drivers/iio/temperature/mlx90614.c 	dev_dbg(&data->client->dev, "Requesting sleep");
client            414 drivers/iio/temperature/mlx90614.c 	ret = i2c_smbus_xfer(data->client->adapter, data->client->addr,
client            415 drivers/iio/temperature/mlx90614.c 			     data->client->flags | I2C_CLIENT_PEC,
client            426 drivers/iio/temperature/mlx90614.c 		dev_dbg(&data->client->dev, "Wake-up disabled");
client            430 drivers/iio/temperature/mlx90614.c 	dev_dbg(&data->client->dev, "Requesting wake-up");
client            432 drivers/iio/temperature/mlx90614.c 	i2c_lock_bus(data->client->adapter, I2C_LOCK_ROOT_ADAPTER);
client            436 drivers/iio/temperature/mlx90614.c 	i2c_unlock_bus(data->client->adapter, I2C_LOCK_ROOT_ADAPTER);
client            447 drivers/iio/temperature/mlx90614.c 	i2c_smbus_read_word_data(data->client, MLX90614_CONFIG);
client            453 drivers/iio/temperature/mlx90614.c static struct gpio_desc *mlx90614_probe_wakeup(struct i2c_client *client)
client            457 drivers/iio/temperature/mlx90614.c 	if (!i2c_check_functionality(client->adapter,
client            459 drivers/iio/temperature/mlx90614.c 		dev_info(&client->dev,
client            464 drivers/iio/temperature/mlx90614.c 	gpio = devm_gpiod_get_optional(&client->dev, "wakeup", GPIOD_IN);
client            467 drivers/iio/temperature/mlx90614.c 		dev_warn(&client->dev,
client            472 drivers/iio/temperature/mlx90614.c 		dev_info(&client->dev,
client            487 drivers/iio/temperature/mlx90614.c static inline struct gpio_desc *mlx90614_probe_wakeup(struct i2c_client *client)
client            494 drivers/iio/temperature/mlx90614.c static int mlx90614_probe_num_ir_sensors(struct i2c_client *client)
client            498 drivers/iio/temperature/mlx90614.c 	ret = i2c_smbus_read_word_data(client, MLX90614_CONFIG);
client            506 drivers/iio/temperature/mlx90614.c static int mlx90614_probe(struct i2c_client *client,
client            513 drivers/iio/temperature/mlx90614.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WORD_DATA))
client            516 drivers/iio/temperature/mlx90614.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            521 drivers/iio/temperature/mlx90614.c 	i2c_set_clientdata(client, indio_dev);
client            522 drivers/iio/temperature/mlx90614.c 	data->client = client;
client            524 drivers/iio/temperature/mlx90614.c 	data->wakeup_gpio = mlx90614_probe_wakeup(client);
client            528 drivers/iio/temperature/mlx90614.c 	indio_dev->dev.parent = &client->dev;
client            533 drivers/iio/temperature/mlx90614.c 	ret = mlx90614_probe_num_ir_sensors(client);
client            536 drivers/iio/temperature/mlx90614.c 		dev_dbg(&client->dev, "Found single sensor");
client            541 drivers/iio/temperature/mlx90614.c 		dev_dbg(&client->dev, "Found dual sensor");
client            550 drivers/iio/temperature/mlx90614.c 		pm_runtime_set_autosuspend_delay(&client->dev,
client            552 drivers/iio/temperature/mlx90614.c 		pm_runtime_use_autosuspend(&client->dev);
client            553 drivers/iio/temperature/mlx90614.c 		pm_runtime_set_active(&client->dev);
client            554 drivers/iio/temperature/mlx90614.c 		pm_runtime_enable(&client->dev);
client            560 drivers/iio/temperature/mlx90614.c static int mlx90614_remove(struct i2c_client *client)
client            562 drivers/iio/temperature/mlx90614.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            568 drivers/iio/temperature/mlx90614.c 		pm_runtime_disable(&client->dev);
client            569 drivers/iio/temperature/mlx90614.c 		if (!pm_runtime_status_suspended(&client->dev))
client            571 drivers/iio/temperature/mlx90614.c 		pm_runtime_set_suspended(&client->dev);
client             93 drivers/iio/temperature/mlx90632.c 	struct i2c_client *client;
client            195 drivers/iio/temperature/mlx90632.c 		dev_err(&data->client->dev, "data not ready");
client            601 drivers/iio/temperature/mlx90632.c 	dev_dbg(&data->client->dev, "Requesting sleep");
client            611 drivers/iio/temperature/mlx90632.c 		dev_err(&data->client->dev,
client            616 drivers/iio/temperature/mlx90632.c 	dev_dbg(&data->client->dev, "Requesting wake-up\n");
client            620 drivers/iio/temperature/mlx90632.c static int mlx90632_probe(struct i2c_client *client,
client            629 drivers/iio/temperature/mlx90632.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*mlx90632));
client            631 drivers/iio/temperature/mlx90632.c 		dev_err(&client->dev, "Failed to allocate device\n");
client            635 drivers/iio/temperature/mlx90632.c 	regmap = devm_regmap_init_i2c(client, &mlx90632_regmap);
client            638 drivers/iio/temperature/mlx90632.c 		dev_err(&client->dev, "Failed to allocate regmap: %d\n", ret);
client            643 drivers/iio/temperature/mlx90632.c 	i2c_set_clientdata(client, indio_dev);
client            644 drivers/iio/temperature/mlx90632.c 	mlx90632->client = client;
client            648 drivers/iio/temperature/mlx90632.c 	indio_dev->dev.parent = &client->dev;
client            657 drivers/iio/temperature/mlx90632.c 		dev_err(&client->dev, "Wakeup failed: %d\n", ret);
client            663 drivers/iio/temperature/mlx90632.c 		dev_err(&client->dev, "read of version failed: %d\n", ret);
client            667 drivers/iio/temperature/mlx90632.c 		dev_dbg(&client->dev,
client            670 drivers/iio/temperature/mlx90632.c 		dev_dbg(&client->dev,
client            673 drivers/iio/temperature/mlx90632.c 		dev_dbg(&client->dev,
client            676 drivers/iio/temperature/mlx90632.c 		dev_err(&client->dev,
client            684 drivers/iio/temperature/mlx90632.c 	pm_runtime_disable(&client->dev);
client            685 drivers/iio/temperature/mlx90632.c 	ret = pm_runtime_set_active(&client->dev);
client            690 drivers/iio/temperature/mlx90632.c 	pm_runtime_enable(&client->dev);
client            691 drivers/iio/temperature/mlx90632.c 	pm_runtime_set_autosuspend_delay(&client->dev, MLX90632_SLEEP_DELAY_MS);
client            692 drivers/iio/temperature/mlx90632.c 	pm_runtime_use_autosuspend(&client->dev);
client            697 drivers/iio/temperature/mlx90632.c static int mlx90632_remove(struct i2c_client *client)
client            699 drivers/iio/temperature/mlx90632.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            704 drivers/iio/temperature/mlx90632.c 	pm_runtime_disable(&client->dev);
client            705 drivers/iio/temperature/mlx90632.c 	pm_runtime_set_suspended(&client->dev);
client            706 drivers/iio/temperature/mlx90632.c 	pm_runtime_put_noidle(&client->dev);
client             45 drivers/iio/temperature/tmp006.c 	struct i2c_client *client;
client             55 drivers/iio/temperature/tmp006.c 		ret = i2c_smbus_read_word_swapped(data->client,
client             67 drivers/iio/temperature/tmp006.c 	return i2c_smbus_read_word_swapped(data->client, reg);
client            141 drivers/iio/temperature/tmp006.c 			return i2c_smbus_write_word_swapped(data->client,
client            181 drivers/iio/temperature/tmp006.c static bool tmp006_check_identification(struct i2c_client *client)
client            185 drivers/iio/temperature/tmp006.c 	mid = i2c_smbus_read_word_swapped(client, TMP006_MANUFACTURER_ID);
client            189 drivers/iio/temperature/tmp006.c 	did = i2c_smbus_read_word_swapped(client, TMP006_DEVICE_ID);
client            196 drivers/iio/temperature/tmp006.c static int tmp006_probe(struct i2c_client *client,
client            203 drivers/iio/temperature/tmp006.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WORD_DATA))
client            206 drivers/iio/temperature/tmp006.c 	if (!tmp006_check_identification(client)) {
client            207 drivers/iio/temperature/tmp006.c 		dev_err(&client->dev, "no TMP006 sensor\n");
client            211 drivers/iio/temperature/tmp006.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            216 drivers/iio/temperature/tmp006.c 	i2c_set_clientdata(client, indio_dev);
client            217 drivers/iio/temperature/tmp006.c 	data->client = client;
client            219 drivers/iio/temperature/tmp006.c 	indio_dev->dev.parent = &client->dev;
client            220 drivers/iio/temperature/tmp006.c 	indio_dev->name = dev_name(&client->dev);
client            227 drivers/iio/temperature/tmp006.c 	ret = i2c_smbus_read_word_swapped(data->client, TMP006_CONFIG);
client            237 drivers/iio/temperature/tmp006.c 	return i2c_smbus_write_word_swapped(data->client, TMP006_CONFIG,
client            241 drivers/iio/temperature/tmp006.c static int tmp006_remove(struct i2c_client *client)
client            243 drivers/iio/temperature/tmp006.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            262 drivers/iio/temperature/tmp006.c 	return i2c_smbus_write_word_swapped(data->client, TMP006_CONFIG,
client             64 drivers/iio/temperature/tmp007.c 	struct i2c_client *client;
client             79 drivers/iio/temperature/tmp007.c 		ret = i2c_smbus_read_word_swapped(data->client,
client             92 drivers/iio/temperature/tmp007.c 	return i2c_smbus_read_word_swapped(data->client, reg);
client             97 drivers/iio/temperature/tmp007.c 	return i2c_smbus_write_word_swapped(data->client, TMP007_CONFIG,
client            113 drivers/iio/temperature/tmp007.c 			ret = i2c_smbus_read_word_swapped(data->client, TMP007_TDIE);
client            161 drivers/iio/temperature/tmp007.c 				return i2c_smbus_write_word_swapped(data->client,
client            177 drivers/iio/temperature/tmp007.c 	ret = i2c_smbus_read_word_swapped(data->client, TMP007_STATUS);
client            243 drivers/iio/temperature/tmp007.c 	ret = i2c_smbus_read_word_swapped(data->client, TMP007_STATUS_MASK);
client            253 drivers/iio/temperature/tmp007.c 	return i2c_smbus_write_word_swapped(data->client, TMP007_STATUS_MASK,
client            310 drivers/iio/temperature/tmp007.c 	ret = i2c_smbus_read_word_swapped(data->client, reg);
client            350 drivers/iio/temperature/tmp007.c 	return i2c_smbus_write_word_swapped(data->client, reg, (val << 7));
client            427 drivers/iio/temperature/tmp007.c static bool tmp007_identify(struct i2c_client *client)
client            431 drivers/iio/temperature/tmp007.c 	manf_id = i2c_smbus_read_word_swapped(client, TMP007_MANUFACTURER_ID);
client            435 drivers/iio/temperature/tmp007.c 	dev_id = i2c_smbus_read_word_swapped(client, TMP007_DEVICE_ID);
client            442 drivers/iio/temperature/tmp007.c static int tmp007_probe(struct i2c_client *client,
client            449 drivers/iio/temperature/tmp007.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WORD_DATA))
client            452 drivers/iio/temperature/tmp007.c 	if (!tmp007_identify(client)) {
client            453 drivers/iio/temperature/tmp007.c 		dev_err(&client->dev, "TMP007 not found\n");
client            457 drivers/iio/temperature/tmp007.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
client            462 drivers/iio/temperature/tmp007.c 	i2c_set_clientdata(client, indio_dev);
client            463 drivers/iio/temperature/tmp007.c 	data->client = client;
client            466 drivers/iio/temperature/tmp007.c 	indio_dev->dev.parent = &client->dev;
client            481 drivers/iio/temperature/tmp007.c 	ret = i2c_smbus_read_word_swapped(data->client, TMP007_CONFIG);
client            488 drivers/iio/temperature/tmp007.c 	ret = i2c_smbus_write_word_swapped(data->client, TMP007_CONFIG,
client            504 drivers/iio/temperature/tmp007.c 	ret = i2c_smbus_read_word_swapped(data->client, TMP007_STATUS_MASK);
client            512 drivers/iio/temperature/tmp007.c 	ret = i2c_smbus_write_word_swapped(data->client, TMP007_STATUS_MASK, data->status_mask);
client            516 drivers/iio/temperature/tmp007.c 	if (client->irq) {
client            517 drivers/iio/temperature/tmp007.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            522 drivers/iio/temperature/tmp007.c 			dev_err(&client->dev, "irq request error %d\n", -ret);
client            535 drivers/iio/temperature/tmp007.c static int tmp007_remove(struct i2c_client *client)
client            537 drivers/iio/temperature/tmp007.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            560 drivers/iio/temperature/tmp007.c 	return i2c_smbus_write_word_swapped(data->client, TMP007_CONFIG,
client             30 drivers/iio/temperature/tsys01.c 	void *client;
client             54 drivers/iio/temperature/tsys01.c 	ret = dev_data->convert_and_read(dev_data->client,
client            134 drivers/iio/temperature/tsys01.c 		ret = dev_data->read_prom_word(dev_data->client,
client            168 drivers/iio/temperature/tsys01.c 	ret = dev_data->reset(dev_data->client, TSYS01_RESET, 3000);
client            179 drivers/iio/temperature/tsys01.c static int tsys01_i2c_probe(struct i2c_client *client,
client            185 drivers/iio/temperature/tsys01.c 	if (!i2c_check_functionality(client->adapter,
client            189 drivers/iio/temperature/tsys01.c 		dev_err(&client->dev,
client            194 drivers/iio/temperature/tsys01.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*dev_data));
client            199 drivers/iio/temperature/tsys01.c 	dev_data->client = client;
client            204 drivers/iio/temperature/tsys01.c 	i2c_set_clientdata(client, indio_dev);
client            206 drivers/iio/temperature/tsys01.c 	return tsys01_probe(indio_dev, &client->dev);
client            124 drivers/iio/temperature/tsys02d.c static int tsys02d_probe(struct i2c_client *client,
client            132 drivers/iio/temperature/tsys02d.c 	if (!i2c_check_functionality(client->adapter,
client            136 drivers/iio/temperature/tsys02d.c 		dev_err(&client->dev,
client            141 drivers/iio/temperature/tsys02d.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*dev_data));
client            146 drivers/iio/temperature/tsys02d.c 	dev_data->client = client;
client            152 drivers/iio/temperature/tsys02d.c 	indio_dev->dev.parent = &client->dev;
client            157 drivers/iio/temperature/tsys02d.c 	i2c_set_clientdata(client, indio_dev);
client            159 drivers/iio/temperature/tsys02d.c 	ret = ms_sensors_reset(client, TSYS02D_RESET, 15000);
client            163 drivers/iio/temperature/tsys02d.c 	ret = ms_sensors_read_serial(client, &serial_number);
client            166 drivers/iio/temperature/tsys02d.c 	dev_info(&client->dev, "Serial number : %llx", serial_number);
client            168 drivers/iio/temperature/tsys02d.c 	return devm_iio_device_register(&client->dev, indio_dev);
client            101 drivers/infiniband/core/device.c static void ib_client_put(struct ib_client *client)
client            103 drivers/infiniband/core/device.c 	if (refcount_dec_and_test(&client->uses))
client            104 drivers/infiniband/core/device.c 		complete(&client->uses_zero);
client            434 drivers/infiniband/core/device.c 		struct ib_client *client = xa_load(&clients, index);
client            436 drivers/infiniband/core/device.c 		if (!client || !client->rename)
client            439 drivers/infiniband/core/device.c 		client->rename(ibdev, client_data);
client            654 drivers/infiniband/core/device.c 			      struct ib_client *client)
client            658 drivers/infiniband/core/device.c 	if (!device->kverbs_provider && !client->no_kverbs_req)
client            666 drivers/infiniband/core/device.c 	if (!refcount_inc_not_zero(&client->uses))
client            674 drivers/infiniband/core/device.c 	if (xa_get_mark(&device->client_data, client->client_id,
client            678 drivers/infiniband/core/device.c 	ret = xa_err(xa_store(&device->client_data, client->client_id, NULL,
client            683 drivers/infiniband/core/device.c 	if (client->add)
client            684 drivers/infiniband/core/device.c 		client->add(device);
client            687 drivers/infiniband/core/device.c 	xa_set_mark(&device->client_data, client->client_id,
client            694 drivers/infiniband/core/device.c 	ib_client_put(client);
client            703 drivers/infiniband/core/device.c 	struct ib_client *client;
client            714 drivers/infiniband/core/device.c 	client = xa_load(&clients, client_id);
client            726 drivers/infiniband/core/device.c 	if (client->remove)
client            727 drivers/infiniband/core/device.c 		client->remove(device, client_data);
client            731 drivers/infiniband/core/device.c 	ib_client_put(client);
client           1295 drivers/infiniband/core/device.c 	struct ib_client *client;
client           1320 drivers/infiniband/core/device.c 	xa_for_each_marked (&clients, index, client, CLIENT_REGISTERED) {
client           1321 drivers/infiniband/core/device.c 		ret = add_client_context(device, client);
client           1693 drivers/infiniband/core/device.c static int assign_client_id(struct ib_client *client)
client           1703 drivers/infiniband/core/device.c 	client->client_id = highest_client_id;
client           1704 drivers/infiniband/core/device.c 	ret = xa_insert(&clients, client->client_id, client, GFP_KERNEL);
client           1709 drivers/infiniband/core/device.c 	xa_set_mark(&clients, client->client_id, CLIENT_REGISTERED);
client           1716 drivers/infiniband/core/device.c static void remove_client_id(struct ib_client *client)
client           1719 drivers/infiniband/core/device.c 	xa_erase(&clients, client->client_id);
client           1739 drivers/infiniband/core/device.c int ib_register_client(struct ib_client *client)
client           1745 drivers/infiniband/core/device.c 	refcount_set(&client->uses, 1);
client           1746 drivers/infiniband/core/device.c 	init_completion(&client->uses_zero);
client           1747 drivers/infiniband/core/device.c 	ret = assign_client_id(client);
client           1753 drivers/infiniband/core/device.c 		ret = add_client_context(device, client);
client           1756 drivers/infiniband/core/device.c 			ib_unregister_client(client);
client           1776 drivers/infiniband/core/device.c void ib_unregister_client(struct ib_client *client)
client           1782 drivers/infiniband/core/device.c 	ib_client_put(client);
client           1783 drivers/infiniband/core/device.c 	xa_clear_mark(&clients, client->client_id, CLIENT_REGISTERED);
client           1793 drivers/infiniband/core/device.c 		remove_client_context(device, client->client_id);
client           1804 drivers/infiniband/core/device.c 	wait_for_completion(&client->uses_zero);
client           1805 drivers/infiniband/core/device.c 	remove_client_id(client);
client           1812 drivers/infiniband/core/device.c 	struct ib_client *client;
client           1817 drivers/infiniband/core/device.c 	xa_for_each_marked (&clients, index, client, CLIENT_REGISTERED) {
client           1818 drivers/infiniband/core/device.c 		if (strcmp(client->name, client_name) != 0)
client           1820 drivers/infiniband/core/device.c 		if (!client->get_global_nl_info) {
client           1824 drivers/infiniband/core/device.c 		ret = client->get_global_nl_info(res);
client           1846 drivers/infiniband/core/device.c 		struct ib_client *client = xa_load(&clients, index);
client           1848 drivers/infiniband/core/device.c 		if (!client || strcmp(client->name, client_name) != 0)
client           1850 drivers/infiniband/core/device.c 		if (!client->get_nl_info) {
client           1854 drivers/infiniband/core/device.c 		ret = client->get_nl_info(ibdev, client_data, res);
client           1918 drivers/infiniband/core/device.c void ib_set_client_data(struct ib_device *device, struct ib_client *client,
client           1926 drivers/infiniband/core/device.c 	rc = xa_store(&device->client_data, client->client_id, data,
client           2520 drivers/infiniband/core/device.c 		struct ib_client *client = xa_load(&clients, index);
client           2522 drivers/infiniband/core/device.c 		if (!client || !client->get_net_dev_by_params)
client           2525 drivers/infiniband/core/device.c 		net_dev = client->get_net_dev_by_params(dev, port, pkey, gid,
client            116 drivers/infiniband/core/multicast.c 	struct ib_sa_client	*client;
client            607 drivers/infiniband/core/multicast.c ib_sa_join_multicast(struct ib_sa_client *client,
client            628 drivers/infiniband/core/multicast.c 	ib_sa_client_get(client);
client            629 drivers/infiniband/core/multicast.c 	member->client = client;
client            656 drivers/infiniband/core/multicast.c 	ib_sa_client_put(client);
client            688 drivers/infiniband/core/multicast.c 	ib_sa_client_put(member->client);
client            132 drivers/infiniband/core/netlink.c 		   int len, int client, int op, int flags)
client            134 drivers/infiniband/core/netlink.c 	*nlh = nlmsg_put(skb, 0, seq, RDMA_NL_GET_TYPE(client, op), len, flags);
client             40 drivers/infiniband/core/sa.h static inline void ib_sa_client_get(struct ib_sa_client *client)
client             42 drivers/infiniband/core/sa.h 	atomic_inc(&client->users);
client             45 drivers/infiniband/core/sa.h static inline void ib_sa_client_put(struct ib_sa_client *client)
client             47 drivers/infiniband/core/sa.h 	if (atomic_dec_and_test(&client->users))
client             48 drivers/infiniband/core/sa.h 		complete(&client->comp);
client             51 drivers/infiniband/core/sa.h int ib_sa_mcmember_rec_query(struct ib_sa_client *client,
client            110 drivers/infiniband/core/sa_query.c 	struct ib_sa_client    *client;
client           1153 drivers/infiniband/core/sa_query.c void ib_sa_register_client(struct ib_sa_client *client)
client           1155 drivers/infiniband/core/sa_query.c 	atomic_set(&client->users, 1);
client           1156 drivers/infiniband/core/sa_query.c 	init_completion(&client->comp);
client           1160 drivers/infiniband/core/sa_query.c void ib_sa_unregister_client(struct ib_sa_client *client)
client           1162 drivers/infiniband/core/sa_query.c 	ib_sa_client_put(client);
client           1163 drivers/infiniband/core/sa_query.c 	wait_for_completion(&client->comp);
client           1414 drivers/infiniband/core/sa_query.c static bool ib_sa_opa_pathrecord_support(struct ib_sa_client *client,
client           1452 drivers/infiniband/core/sa_query.c static int opa_pr_query_possible(struct ib_sa_client *client,
client           1462 drivers/infiniband/core/sa_query.c 	if (ib_sa_opa_pathrecord_support(client, device, port_num))
client           1542 drivers/infiniband/core/sa_query.c int ib_sa_path_rec_get(struct ib_sa_client *client,
client           1577 drivers/infiniband/core/sa_query.c 		status = opa_pr_query_possible(client, device, port_num, rec);
client           1597 drivers/infiniband/core/sa_query.c 	ib_sa_client_get(client);
client           1598 drivers/infiniband/core/sa_query.c 	query->sa_query.client = client;
client           1637 drivers/infiniband/core/sa_query.c 	ib_sa_client_put(query->sa_query.client);
client           1696 drivers/infiniband/core/sa_query.c int ib_sa_service_rec_query(struct ib_sa_client *client,
client           1734 drivers/infiniband/core/sa_query.c 	ib_sa_client_get(client);
client           1735 drivers/infiniband/core/sa_query.c 	query->sa_query.client = client;
client           1761 drivers/infiniband/core/sa_query.c 	ib_sa_client_put(query->sa_query.client);
client           1792 drivers/infiniband/core/sa_query.c int ib_sa_mcmember_rec_query(struct ib_sa_client *client,
client           1826 drivers/infiniband/core/sa_query.c 	ib_sa_client_get(client);
client           1827 drivers/infiniband/core/sa_query.c 	query->sa_query.client = client;
client           1853 drivers/infiniband/core/sa_query.c 	ib_sa_client_put(query->sa_query.client);
client           1884 drivers/infiniband/core/sa_query.c int ib_sa_guid_info_rec_query(struct ib_sa_client *client,
client           1923 drivers/infiniband/core/sa_query.c 	ib_sa_client_get(client);
client           1924 drivers/infiniband/core/sa_query.c 	query->sa_query.client = client;
client           1951 drivers/infiniband/core/sa_query.c 	ib_sa_client_put(query->sa_query.client);
client           1960 drivers/infiniband/core/sa_query.c bool ib_sa_sendonly_fullmem_support(struct ib_sa_client *client,
client           2188 drivers/infiniband/core/sa_query.c 	if (query->client)
client           2189 drivers/infiniband/core/sa_query.c 		ib_sa_client_put(query->client);
client            239 drivers/infiniband/hw/i40iw/i40iw.h 	struct i40e_client *client;
client            323 drivers/infiniband/hw/i40iw/i40iw.h 	struct i40e_client *client;
client           2937 drivers/infiniband/hw/i40iw/i40iw_cm.c 	cm_node->tcp_cntxt.client = 1;
client           3018 drivers/infiniband/hw/i40iw/i40iw_cm.c 	if (cm_node->tcp_cntxt.client)
client            262 drivers/infiniband/hw/i40iw/i40iw_cm.h 	u8 client;
client            761 drivers/infiniband/hw/i40iw/i40iw_main.c 	ldev->ops->request_reset(ldev, iwdev->client, 1);
client           1559 drivers/infiniband/hw/i40iw/i40iw_main.c 						     struct i40e_client *client)
client           1575 drivers/infiniband/hw/i40iw/i40iw_main.c 	hdl->client = client;
client           1631 drivers/infiniband/hw/i40iw/i40iw_main.c static int i40iw_open(struct i40e_info *ldev, struct i40e_client *client)
client           1655 drivers/infiniband/hw/i40iw/i40iw_main.c 	iwdev->client = client;
client           1660 drivers/infiniband/hw/i40iw/i40iw_main.c 		status = i40iw_setup_init_state(hdl, ldev, client);
client           1748 drivers/infiniband/hw/i40iw/i40iw_main.c static void i40iw_l2param_change(struct i40e_info *ldev, struct i40e_client *client,
client           1792 drivers/infiniband/hw/i40iw/i40iw_main.c static void i40iw_close(struct i40e_info *ldev, struct i40e_client *client, bool reset)
client           1821 drivers/infiniband/hw/i40iw/i40iw_main.c static void i40iw_vf_reset(struct i40e_info *ldev, struct i40e_client *client, u32 vf_id)
client           1872 drivers/infiniband/hw/i40iw/i40iw_main.c 			    struct i40e_client *client,
client           1897 drivers/infiniband/hw/i40iw/i40iw_main.c 			    struct i40e_client *client,
client           1930 drivers/infiniband/hw/i40iw/i40iw_main.c 				  struct i40e_client *client,
client             75 drivers/input/evdev.c static bool __evdev_is_filtered(struct evdev_client *client,
client             87 drivers/input/evdev.c 	mask = client->evmasks[0];
client             96 drivers/input/evdev.c 	mask = client->evmasks[type];
client            101 drivers/input/evdev.c static void __evdev_flush_queue(struct evdev_client *client, unsigned int type)
client            104 drivers/input/evdev.c 	unsigned int mask = client->bufsize - 1;
client            110 drivers/input/evdev.c 	head = client->tail;
client            111 drivers/input/evdev.c 	client->packet_head = client->tail;
client            116 drivers/input/evdev.c 	for (i = client->tail; i != client->head; i = (i + 1) & mask) {
client            117 drivers/input/evdev.c 		ev = &client->buffer[i];
client            128 drivers/input/evdev.c 			client->buffer[head] = *ev;
client            136 drivers/input/evdev.c 			client->packet_head = head;
client            140 drivers/input/evdev.c 	client->head = head;
client            143 drivers/input/evdev.c static void __evdev_queue_syn_dropped(struct evdev_client *client)
client            145 drivers/input/evdev.c 	ktime_t *ev_time = input_get_timestamp(client->evdev->handle.dev);
client            146 drivers/input/evdev.c 	struct timespec64 ts = ktime_to_timespec64(ev_time[client->clk_type]);
client            155 drivers/input/evdev.c 	client->buffer[client->head++] = ev;
client            156 drivers/input/evdev.c 	client->head &= client->bufsize - 1;
client            158 drivers/input/evdev.c 	if (unlikely(client->head == client->tail)) {
client            160 drivers/input/evdev.c 		client->tail = (client->head - 1) & (client->bufsize - 1);
client            161 drivers/input/evdev.c 		client->packet_head = client->tail;
client            165 drivers/input/evdev.c static void evdev_queue_syn_dropped(struct evdev_client *client)
client            169 drivers/input/evdev.c 	spin_lock_irqsave(&client->buffer_lock, flags);
client            170 drivers/input/evdev.c 	__evdev_queue_syn_dropped(client);
client            171 drivers/input/evdev.c 	spin_unlock_irqrestore(&client->buffer_lock, flags);
client            174 drivers/input/evdev.c static int evdev_set_clk_type(struct evdev_client *client, unsigned int clkid)
client            194 drivers/input/evdev.c 	if (client->clk_type != clk_type) {
client            195 drivers/input/evdev.c 		client->clk_type = clk_type;
client            201 drivers/input/evdev.c 		spin_lock_irqsave(&client->buffer_lock, flags);
client            203 drivers/input/evdev.c 		if (client->head != client->tail) {
client            204 drivers/input/evdev.c 			client->packet_head = client->head = client->tail;
client            205 drivers/input/evdev.c 			__evdev_queue_syn_dropped(client);
client            208 drivers/input/evdev.c 		spin_unlock_irqrestore(&client->buffer_lock, flags);
client            214 drivers/input/evdev.c static void __pass_event(struct evdev_client *client,
client            217 drivers/input/evdev.c 	client->buffer[client->head++] = *event;
client            218 drivers/input/evdev.c 	client->head &= client->bufsize - 1;
client            220 drivers/input/evdev.c 	if (unlikely(client->head == client->tail)) {
client            225 drivers/input/evdev.c 		client->tail = (client->head - 2) & (client->bufsize - 1);
client            227 drivers/input/evdev.c 		client->buffer[client->tail] = (struct input_event) {
client            235 drivers/input/evdev.c 		client->packet_head = client->tail;
client            239 drivers/input/evdev.c 		client->packet_head = client->head;
client            240 drivers/input/evdev.c 		kill_fasync(&client->fasync, SIGIO, POLL_IN);
client            244 drivers/input/evdev.c static void evdev_pass_values(struct evdev_client *client,
client            248 drivers/input/evdev.c 	struct evdev *evdev = client->evdev;
client            254 drivers/input/evdev.c 	if (client->revoked)
client            257 drivers/input/evdev.c 	ts = ktime_to_timespec64(ev_time[client->clk_type]);
client            262 drivers/input/evdev.c 	spin_lock(&client->buffer_lock);
client            265 drivers/input/evdev.c 		if (__evdev_is_filtered(client, v->type, v->code))
client            270 drivers/input/evdev.c 			if (client->packet_head == client->head)
client            279 drivers/input/evdev.c 		__pass_event(client, &event);
client            282 drivers/input/evdev.c 	spin_unlock(&client->buffer_lock);
client            295 drivers/input/evdev.c 	struct evdev_client *client;
client            300 drivers/input/evdev.c 	client = rcu_dereference(evdev->grab);
client            302 drivers/input/evdev.c 	if (client)
client            303 drivers/input/evdev.c 		evdev_pass_values(client, vals, count, ev_time);
client            305 drivers/input/evdev.c 		list_for_each_entry_rcu(client, &evdev->client_list, node)
client            306 drivers/input/evdev.c 			evdev_pass_values(client, vals, count, ev_time);
client            324 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
client            326 drivers/input/evdev.c 	return fasync_helper(fd, file, on, &client->fasync);
client            341 drivers/input/evdev.c static int evdev_grab(struct evdev *evdev, struct evdev_client *client)
client            352 drivers/input/evdev.c 	rcu_assign_pointer(evdev->grab, client);
client            357 drivers/input/evdev.c static int evdev_ungrab(struct evdev *evdev, struct evdev_client *client)
client            362 drivers/input/evdev.c 	if (grab != client)
client            373 drivers/input/evdev.c 				struct evdev_client *client)
client            376 drivers/input/evdev.c 	list_add_tail_rcu(&client->node, &evdev->client_list);
client            381 drivers/input/evdev.c 				struct evdev_client *client)
client            384 drivers/input/evdev.c 	list_del_rcu(&client->node);
client            425 drivers/input/evdev.c 	struct evdev_client *client;
client            428 drivers/input/evdev.c 	list_for_each_entry(client, &evdev->client_list, node)
client            429 drivers/input/evdev.c 		kill_fasync(&client->fasync, SIGIO, POLL_HUP);
client            437 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
client            438 drivers/input/evdev.c 	struct evdev *evdev = client->evdev;
client            443 drivers/input/evdev.c 	if (evdev->exist && !client->revoked)
client            446 drivers/input/evdev.c 	evdev_ungrab(evdev, client);
client            449 drivers/input/evdev.c 	evdev_detach_client(evdev, client);
client            452 drivers/input/evdev.c 		bitmap_free(client->evmasks[i]);
client            454 drivers/input/evdev.c 	kvfree(client);
client            474 drivers/input/evdev.c 	struct evdev_client *client;
client            477 drivers/input/evdev.c 	client = kvzalloc(struct_size(client, buffer, bufsize), GFP_KERNEL);
client            478 drivers/input/evdev.c 	if (!client)
client            481 drivers/input/evdev.c 	client->bufsize = bufsize;
client            482 drivers/input/evdev.c 	spin_lock_init(&client->buffer_lock);
client            483 drivers/input/evdev.c 	client->evdev = evdev;
client            484 drivers/input/evdev.c 	evdev_attach_client(evdev, client);
client            490 drivers/input/evdev.c 	file->private_data = client;
client            496 drivers/input/evdev.c 	evdev_detach_client(evdev, client);
client            497 drivers/input/evdev.c 	kvfree(client);
client            504 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
client            505 drivers/input/evdev.c 	struct evdev *evdev = client->evdev;
client            516 drivers/input/evdev.c 	if (!evdev->exist || client->revoked) {
client            539 drivers/input/evdev.c static int evdev_fetch_next_event(struct evdev_client *client,
client            544 drivers/input/evdev.c 	spin_lock_irq(&client->buffer_lock);
client            546 drivers/input/evdev.c 	have_event = client->packet_head != client->tail;
client            548 drivers/input/evdev.c 		*event = client->buffer[client->tail++];
client            549 drivers/input/evdev.c 		client->tail &= client->bufsize - 1;
client            552 drivers/input/evdev.c 	spin_unlock_irq(&client->buffer_lock);
client            560 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
client            561 drivers/input/evdev.c 	struct evdev *evdev = client->evdev;
client            570 drivers/input/evdev.c 		if (!evdev->exist || client->revoked)
client            573 drivers/input/evdev.c 		if (client->packet_head == client->tail &&
client            585 drivers/input/evdev.c 		       evdev_fetch_next_event(client, &event)) {
client            598 drivers/input/evdev.c 					client->packet_head != client->tail ||
client            599 drivers/input/evdev.c 					!evdev->exist || client->revoked);
client            611 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
client            612 drivers/input/evdev.c 	struct evdev *evdev = client->evdev;
client            617 drivers/input/evdev.c 	if (evdev->exist && !client->revoked)
client            622 drivers/input/evdev.c 	if (client->packet_head != client->tail)
client            885 drivers/input/evdev.c static int evdev_handle_get_val(struct evdev_client *client,
client            899 drivers/input/evdev.c 	spin_lock(&client->buffer_lock);
client            905 drivers/input/evdev.c 	__evdev_flush_queue(client, type);
client            907 drivers/input/evdev.c 	spin_unlock_irq(&client->buffer_lock);
client            911 drivers/input/evdev.c 		evdev_queue_syn_dropped(client);
client            942 drivers/input/evdev.c static int evdev_revoke(struct evdev *evdev, struct evdev_client *client,
client            945 drivers/input/evdev.c 	client->revoked = true;
client            946 drivers/input/evdev.c 	evdev_ungrab(evdev, client);
client            954 drivers/input/evdev.c static int evdev_set_mask(struct evdev_client *client,
client            979 drivers/input/evdev.c 	spin_lock_irqsave(&client->buffer_lock, flags);
client            980 drivers/input/evdev.c 	oldmask = client->evmasks[type];
client            981 drivers/input/evdev.c 	client->evmasks[type] = mask;
client            982 drivers/input/evdev.c 	spin_unlock_irqrestore(&client->buffer_lock, flags);
client            990 drivers/input/evdev.c static int evdev_get_mask(struct evdev_client *client,
client           1007 drivers/input/evdev.c 		mask = client->evmasks[type];
client           1031 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
client           1032 drivers/input/evdev.c 	struct evdev *evdev = client->evdev;
client           1087 drivers/input/evdev.c 			return evdev_grab(evdev, client);
client           1089 drivers/input/evdev.c 			return evdev_ungrab(evdev, client);
client           1095 drivers/input/evdev.c 			return evdev_revoke(evdev, client, file);
client           1104 drivers/input/evdev.c 		return evdev_get_mask(client,
client           1116 drivers/input/evdev.c 		return evdev_set_mask(client,
client           1125 drivers/input/evdev.c 		return evdev_set_clk_type(client, i);
client           1154 drivers/input/evdev.c 		return evdev_handle_get_val(client, dev, EV_KEY, dev->key,
client           1158 drivers/input/evdev.c 		return evdev_handle_get_val(client, dev, EV_LED, dev->led,
client           1162 drivers/input/evdev.c 		return evdev_handle_get_val(client, dev, EV_SND, dev->snd,
client           1166 drivers/input/evdev.c 		return evdev_handle_get_val(client, dev, EV_SW, dev->sw,
client           1258 drivers/input/evdev.c 	struct evdev_client *client = file->private_data;
client           1259 drivers/input/evdev.c 	struct evdev *evdev = client->evdev;
client           1266 drivers/input/evdev.c 	if (!evdev->exist || client->revoked) {
client             89 drivers/input/joydev.c static void joydev_pass_event(struct joydev_client *client,
client             92 drivers/input/joydev.c 	struct joydev *joydev = client->joydev;
client             97 drivers/input/joydev.c 	spin_lock(&client->buffer_lock);
client             99 drivers/input/joydev.c 	client->buffer[client->head] = *event;
client            101 drivers/input/joydev.c 	if (client->startup == joydev->nabs + joydev->nkey) {
client            102 drivers/input/joydev.c 		client->head++;
client            103 drivers/input/joydev.c 		client->head &= JOYDEV_BUFFER_SIZE - 1;
client            104 drivers/input/joydev.c 		if (client->tail == client->head)
client            105 drivers/input/joydev.c 			client->startup = 0;
client            108 drivers/input/joydev.c 	spin_unlock(&client->buffer_lock);
client            110 drivers/input/joydev.c 	kill_fasync(&client->fasync, SIGIO, POLL_IN);
client            117 drivers/input/joydev.c 	struct joydev_client *client;
client            147 drivers/input/joydev.c 	list_for_each_entry_rcu(client, &joydev->client_list, node)
client            148 drivers/input/joydev.c 		joydev_pass_event(client, &event);
client            156 drivers/input/joydev.c 	struct joydev_client *client = file->private_data;
client            158 drivers/input/joydev.c 	return fasync_helper(fd, file, on, &client->fasync);
client            170 drivers/input/joydev.c 				 struct joydev_client *client)
client            173 drivers/input/joydev.c 	list_add_tail_rcu(&client->node, &joydev->client_list);
client            178 drivers/input/joydev.c 				 struct joydev_client *client)
client            181 drivers/input/joydev.c 	list_del_rcu(&client->node);
client            235 drivers/input/joydev.c 	struct joydev_client *client;
client            238 drivers/input/joydev.c 	list_for_each_entry(client, &joydev->client_list, node)
client            239 drivers/input/joydev.c 		kill_fasync(&client->fasync, SIGIO, POLL_HUP);
client            247 drivers/input/joydev.c 	struct joydev_client *client = file->private_data;
client            248 drivers/input/joydev.c 	struct joydev *joydev = client->joydev;
client            250 drivers/input/joydev.c 	joydev_detach_client(joydev, client);
client            251 drivers/input/joydev.c 	kfree(client);
client            262 drivers/input/joydev.c 	struct joydev_client *client;
client            265 drivers/input/joydev.c 	client = kzalloc(sizeof(struct joydev_client), GFP_KERNEL);
client            266 drivers/input/joydev.c 	if (!client)
client            269 drivers/input/joydev.c 	spin_lock_init(&client->buffer_lock);
client            270 drivers/input/joydev.c 	client->joydev = joydev;
client            271 drivers/input/joydev.c 	joydev_attach_client(joydev, client);
client            277 drivers/input/joydev.c 	file->private_data = client;
client            283 drivers/input/joydev.c 	joydev_detach_client(joydev, client);
client            284 drivers/input/joydev.c 	kfree(client);
client            288 drivers/input/joydev.c static int joydev_generate_startup_event(struct joydev_client *client,
client            292 drivers/input/joydev.c 	struct joydev *joydev = client->joydev;
client            295 drivers/input/joydev.c 	spin_lock_irq(&client->buffer_lock);
client            297 drivers/input/joydev.c 	have_event = client->startup < joydev->nabs + joydev->nkey;
client            302 drivers/input/joydev.c 		if (client->startup < joydev->nkey) {
client            304 drivers/input/joydev.c 			event->number = client->startup;
client            309 drivers/input/joydev.c 			event->number = client->startup - joydev->nkey;
client            312 drivers/input/joydev.c 		client->startup++;
client            315 drivers/input/joydev.c 	spin_unlock_irq(&client->buffer_lock);
client            320 drivers/input/joydev.c static int joydev_fetch_next_event(struct joydev_client *client,
client            325 drivers/input/joydev.c 	spin_lock_irq(&client->buffer_lock);
client            327 drivers/input/joydev.c 	have_event = client->head != client->tail;
client            329 drivers/input/joydev.c 		*event = client->buffer[client->tail++];
client            330 drivers/input/joydev.c 		client->tail &= JOYDEV_BUFFER_SIZE - 1;
client            333 drivers/input/joydev.c 	spin_unlock_irq(&client->buffer_lock);
client            341 drivers/input/joydev.c static ssize_t joydev_0x_read(struct joydev_client *client,
client            345 drivers/input/joydev.c 	struct joydev *joydev = client->joydev;
client            363 drivers/input/joydev.c 	spin_lock(&client->buffer_lock);
client            364 drivers/input/joydev.c 	client->startup = 0;
client            365 drivers/input/joydev.c 	client->tail = client->head;
client            366 drivers/input/joydev.c 	spin_unlock(&client->buffer_lock);
client            376 drivers/input/joydev.c static inline int joydev_data_pending(struct joydev_client *client)
client            378 drivers/input/joydev.c 	struct joydev *joydev = client->joydev;
client            380 drivers/input/joydev.c 	return client->startup < joydev->nabs + joydev->nkey ||
client            381 drivers/input/joydev.c 		client->head != client->tail;
client            387 drivers/input/joydev.c 	struct joydev_client *client = file->private_data;
client            388 drivers/input/joydev.c 	struct joydev *joydev = client->joydev;
client            400 drivers/input/joydev.c 		return joydev_0x_read(client, input, buf);
client            402 drivers/input/joydev.c 	if (!joydev_data_pending(client) && (file->f_flags & O_NONBLOCK))
client            406 drivers/input/joydev.c 			!joydev->exist || joydev_data_pending(client));
client            414 drivers/input/joydev.c 	       joydev_generate_startup_event(client, input, &event)) {
client            423 drivers/input/joydev.c 	       joydev_fetch_next_event(client, &event)) {
client            437 drivers/input/joydev.c 	struct joydev_client *client = file->private_data;
client            438 drivers/input/joydev.c 	struct joydev *joydev = client->joydev;
client            441 drivers/input/joydev.c 	return (joydev_data_pending(client) ? (EPOLLIN | EPOLLRDNORM) : 0) |
client            596 drivers/input/joydev.c 	struct joydev_client *client = file->private_data;
client            597 drivers/input/joydev.c 	struct joydev *joydev = client->joydev;
client            663 drivers/input/joydev.c 	struct joydev_client *client = file->private_data;
client            664 drivers/input/joydev.c 	struct joydev *joydev = client->joydev;
client             69 drivers/input/joystick/as5011.c static int as5011_i2c_write(struct i2c_client *client,
client             75 drivers/input/joystick/as5011.c 		.addr = client->addr,
client             82 drivers/input/joystick/as5011.c 	error = i2c_transfer(client->adapter, &msg, 1);
client             86 drivers/input/joystick/as5011.c static int as5011_i2c_read(struct i2c_client *client,
client             92 drivers/input/joystick/as5011.c 			.addr = client->addr,
client             98 drivers/input/joystick/as5011.c 			.addr = client->addr,
client            106 drivers/input/joystick/as5011.c 	error = i2c_transfer(client->adapter, msg_set, 2);
client            150 drivers/input/joystick/as5011.c 	struct i2c_client *client = as5011->i2c_client;
client            155 drivers/input/joystick/as5011.c 	error = as5011_i2c_write(client, AS5011_CTRL1,
client            158 drivers/input/joystick/as5011.c 		dev_err(&client->dev, "Soft reset failed\n");
client            164 drivers/input/joystick/as5011.c 	error = as5011_i2c_write(client, AS5011_CTRL1,
client            169 drivers/input/joystick/as5011.c 		dev_err(&client->dev, "Power config failed\n");
client            173 drivers/input/joystick/as5011.c 	error = as5011_i2c_write(client, AS5011_CTRL2,
client            176 drivers/input/joystick/as5011.c 		dev_err(&client->dev, "Can't invert spinning\n");
client            181 drivers/input/joystick/as5011.c 	error = as5011_i2c_write(client, AS5011_XP, plat_dat->xp);
client            183 drivers/input/joystick/as5011.c 		dev_err(&client->dev, "Can't write threshold\n");
client            187 drivers/input/joystick/as5011.c 	error = as5011_i2c_write(client, AS5011_XN, plat_dat->xn);
client            189 drivers/input/joystick/as5011.c 		dev_err(&client->dev, "Can't write threshold\n");
client            193 drivers/input/joystick/as5011.c 	error = as5011_i2c_write(client, AS5011_YP, plat_dat->yp);
client            195 drivers/input/joystick/as5011.c 		dev_err(&client->dev, "Can't write threshold\n");
client            199 drivers/input/joystick/as5011.c 	error = as5011_i2c_write(client, AS5011_YN, plat_dat->yn);
client            201 drivers/input/joystick/as5011.c 		dev_err(&client->dev, "Can't write threshold\n");
client            206 drivers/input/joystick/as5011.c 	error = as5011_i2c_read(client, AS5011_X_RES_INT, &value);
client            208 drivers/input/joystick/as5011.c 		dev_err(&client->dev, "Can't read i2c X resolution value\n");
client            215 drivers/input/joystick/as5011.c static int as5011_probe(struct i2c_client *client,
client            224 drivers/input/joystick/as5011.c 	plat_data = dev_get_platdata(&client->dev);
client            229 drivers/input/joystick/as5011.c 		dev_err(&client->dev, "No axis IRQ?\n");
client            233 drivers/input/joystick/as5011.c 	if (!i2c_check_functionality(client->adapter,
client            236 drivers/input/joystick/as5011.c 		dev_err(&client->dev,
client            244 drivers/input/joystick/as5011.c 		dev_err(&client->dev,
client            250 drivers/input/joystick/as5011.c 	as5011->i2c_client = client;
client            257 drivers/input/joystick/as5011.c 	input_dev->dev.parent = &client->dev;
client            268 drivers/input/joystick/as5011.c 		dev_err(&client->dev, "Failed to request button gpio\n");
client            274 drivers/input/joystick/as5011.c 		dev_err(&client->dev,
client            288 drivers/input/joystick/as5011.c 		dev_err(&client->dev,
client            302 drivers/input/joystick/as5011.c 		dev_err(&client->dev,
client            309 drivers/input/joystick/as5011.c 		dev_err(&client->dev, "Failed to register input device\n");
client            313 drivers/input/joystick/as5011.c 	i2c_set_clientdata(client, as5011);
client            330 drivers/input/joystick/as5011.c static int as5011_remove(struct i2c_client *client)
client            332 drivers/input/joystick/as5011.c 	struct as5011_device *as5011 = i2c_get_clientdata(client);
client             41 drivers/input/keyboard/adp5588-keys.c 	struct i2c_client *client;
client             58 drivers/input/keyboard/adp5588-keys.c static int adp5588_read(struct i2c_client *client, u8 reg)
client             60 drivers/input/keyboard/adp5588-keys.c 	int ret = i2c_smbus_read_byte_data(client, reg);
client             63 drivers/input/keyboard/adp5588-keys.c 		dev_err(&client->dev, "Read Error\n");
client             68 drivers/input/keyboard/adp5588-keys.c static int adp5588_write(struct i2c_client *client, u8 reg, u8 val)
client             70 drivers/input/keyboard/adp5588-keys.c 	return i2c_smbus_write_byte_data(client, reg, val);
client             86 drivers/input/keyboard/adp5588-keys.c 		val = adp5588_read(kpad->client, GPIO_DAT_STAT1 + bank);
client            107 drivers/input/keyboard/adp5588-keys.c 	adp5588_write(kpad->client, GPIO_DAT_OUT1 + bank,
client            123 drivers/input/keyboard/adp5588-keys.c 	ret = adp5588_write(kpad->client, GPIO_DIR1 + bank, kpad->dir[bank]);
client            147 drivers/input/keyboard/adp5588-keys.c 	ret = adp5588_write(kpad->client, GPIO_DAT_OUT1 + bank,
client            149 drivers/input/keyboard/adp5588-keys.c 	ret |= adp5588_write(kpad->client, GPIO_DIR1 + bank,
client            184 drivers/input/keyboard/adp5588-keys.c 	struct device *dev = &kpad->client->dev;
client            207 drivers/input/keyboard/adp5588-keys.c 	kpad->gc.label = kpad->client->name;
client            220 drivers/input/keyboard/adp5588-keys.c 		kpad->dat_out[i] = adp5588_read(kpad->client,
client            222 drivers/input/keyboard/adp5588-keys.c 		kpad->dir[i] = adp5588_read(kpad->client, GPIO_DIR1 + i);
client            226 drivers/input/keyboard/adp5588-keys.c 		error = gpio_data->setup(kpad->client,
client            238 drivers/input/keyboard/adp5588-keys.c 	struct device *dev = &kpad->client->dev;
client            247 drivers/input/keyboard/adp5588-keys.c 		error = gpio_data->teardown(kpad->client,
client            272 drivers/input/keyboard/adp5588-keys.c 		int key = adp5588_read(kpad->client, Key_EVENTA + i);
client            296 drivers/input/keyboard/adp5588-keys.c 	struct i2c_client *client = kpad->client;
client            299 drivers/input/keyboard/adp5588-keys.c 	status = adp5588_read(client, INT_STAT);
client            302 drivers/input/keyboard/adp5588-keys.c 		dev_err(&client->dev, "Event Overflow Error\n");
client            305 drivers/input/keyboard/adp5588-keys.c 		ev_cnt = adp5588_read(client, KEY_LCK_EC_STAT) & ADP5588_KEC;
client            311 drivers/input/keyboard/adp5588-keys.c 	adp5588_write(client, INT_STAT, status); /* Status is W1C */
client            329 drivers/input/keyboard/adp5588-keys.c static int adp5588_setup(struct i2c_client *client)
client            332 drivers/input/keyboard/adp5588-keys.c 			dev_get_platdata(&client->dev);
client            337 drivers/input/keyboard/adp5588-keys.c 	ret = adp5588_write(client, KP_GPIO1, KP_SEL(pdata->rows));
client            338 drivers/input/keyboard/adp5588-keys.c 	ret |= adp5588_write(client, KP_GPIO2, KP_SEL(pdata->cols) & 0xFF);
client            339 drivers/input/keyboard/adp5588-keys.c 	ret |= adp5588_write(client, KP_GPIO3, KP_SEL(pdata->cols) >> 8);
client            342 drivers/input/keyboard/adp5588-keys.c 		ret |= adp5588_write(client, UNLOCK1, pdata->unlock_key1);
client            343 drivers/input/keyboard/adp5588-keys.c 		ret |= adp5588_write(client, UNLOCK2, pdata->unlock_key2);
client            344 drivers/input/keyboard/adp5588-keys.c 		ret |= adp5588_write(client, KEY_LCK_EC_STAT, ADP5588_K_LCK_EN);
client            348 drivers/input/keyboard/adp5588-keys.c 		ret |= adp5588_read(client, Key_EVENTA);
client            362 drivers/input/keyboard/adp5588-keys.c 		ret |= adp5588_write(client, GPI_EM1, evt_mode1);
client            363 drivers/input/keyboard/adp5588-keys.c 		ret |= adp5588_write(client, GPI_EM2, evt_mode2);
client            364 drivers/input/keyboard/adp5588-keys.c 		ret |= adp5588_write(client, GPI_EM3, evt_mode3);
client            371 drivers/input/keyboard/adp5588-keys.c 			ret |= adp5588_write(client, GPIO_PULL1 + i,
client            376 drivers/input/keyboard/adp5588-keys.c 	ret |= adp5588_write(client, INT_STAT,
client            381 drivers/input/keyboard/adp5588-keys.c 	ret |= adp5588_write(client, CFG, ADP5588_INT_CFG |
client            386 drivers/input/keyboard/adp5588-keys.c 		dev_err(&client->dev, "Write Error\n");
client            395 drivers/input/keyboard/adp5588-keys.c 	int gpi_stat1 = adp5588_read(kpad->client, GPIO_DAT_STAT1);
client            396 drivers/input/keyboard/adp5588-keys.c 	int gpi_stat2 = adp5588_read(kpad->client, GPIO_DAT_STAT2);
client            397 drivers/input/keyboard/adp5588-keys.c 	int gpi_stat3 = adp5588_read(kpad->client, GPIO_DAT_STAT3);
client            416 drivers/input/keyboard/adp5588-keys.c 			dev_err(&kpad->client->dev,
client            431 drivers/input/keyboard/adp5588-keys.c static int adp5588_probe(struct i2c_client *client,
client            436 drivers/input/keyboard/adp5588-keys.c 			dev_get_platdata(&client->dev);
client            442 drivers/input/keyboard/adp5588-keys.c 	if (!i2c_check_functionality(client->adapter,
client            444 drivers/input/keyboard/adp5588-keys.c 		dev_err(&client->dev, "SMBUS Byte Data not Supported\n");
client            449 drivers/input/keyboard/adp5588-keys.c 		dev_err(&client->dev, "no platform data?\n");
client            454 drivers/input/keyboard/adp5588-keys.c 		dev_err(&client->dev, "no rows, cols or keymap from pdata\n");
client            459 drivers/input/keyboard/adp5588-keys.c 		dev_err(&client->dev, "invalid keymapsize\n");
client            464 drivers/input/keyboard/adp5588-keys.c 		dev_err(&client->dev, "invalid gpimap from pdata\n");
client            469 drivers/input/keyboard/adp5588-keys.c 		dev_err(&client->dev, "invalid gpimapsize\n");
client            477 drivers/input/keyboard/adp5588-keys.c 			dev_err(&client->dev, "invalid gpi pin data\n");
client            483 drivers/input/keyboard/adp5588-keys.c 				dev_err(&client->dev, "invalid gpi row data\n");
client            488 drivers/input/keyboard/adp5588-keys.c 				dev_err(&client->dev, "invalid gpi col data\n");
client            494 drivers/input/keyboard/adp5588-keys.c 	if (!client->irq) {
client            495 drivers/input/keyboard/adp5588-keys.c 		dev_err(&client->dev, "no IRQ?\n");
client            506 drivers/input/keyboard/adp5588-keys.c 	kpad->client = client;
client            510 drivers/input/keyboard/adp5588-keys.c 	ret = adp5588_read(client, DEV_ID);
client            520 drivers/input/keyboard/adp5588-keys.c 	input->name = client->name;
client            522 drivers/input/keyboard/adp5588-keys.c 	input->dev.parent = &client->dev;
client            559 drivers/input/keyboard/adp5588-keys.c 		dev_err(&client->dev, "unable to register input device\n");
client            563 drivers/input/keyboard/adp5588-keys.c 	error = request_irq(client->irq, adp5588_irq,
client            565 drivers/input/keyboard/adp5588-keys.c 			    client->dev.driver->name, kpad);
client            567 drivers/input/keyboard/adp5588-keys.c 		dev_err(&client->dev, "irq %d busy?\n", client->irq);
client            571 drivers/input/keyboard/adp5588-keys.c 	error = adp5588_setup(client);
client            582 drivers/input/keyboard/adp5588-keys.c 	device_init_wakeup(&client->dev, 1);
client            583 drivers/input/keyboard/adp5588-keys.c 	i2c_set_clientdata(client, kpad);
client            585 drivers/input/keyboard/adp5588-keys.c 	dev_info(&client->dev, "Rev.%d keypad, irq %d\n", revid, client->irq);
client            589 drivers/input/keyboard/adp5588-keys.c 	free_irq(client->irq, kpad);
client            601 drivers/input/keyboard/adp5588-keys.c static int adp5588_remove(struct i2c_client *client)
client            603 drivers/input/keyboard/adp5588-keys.c 	struct adp5588_kpad *kpad = i2c_get_clientdata(client);
client            605 drivers/input/keyboard/adp5588-keys.c 	adp5588_write(client, CFG, 0);
client            606 drivers/input/keyboard/adp5588-keys.c 	free_irq(client->irq, kpad);
client            619 drivers/input/keyboard/adp5588-keys.c 	struct i2c_client *client = kpad->client;
client            621 drivers/input/keyboard/adp5588-keys.c 	disable_irq(client->irq);
client            624 drivers/input/keyboard/adp5588-keys.c 	if (device_may_wakeup(&client->dev))
client            625 drivers/input/keyboard/adp5588-keys.c 		enable_irq_wake(client->irq);
client            633 drivers/input/keyboard/adp5588-keys.c 	struct i2c_client *client = kpad->client;
client            635 drivers/input/keyboard/adp5588-keys.c 	if (device_may_wakeup(&client->dev))
client            636 drivers/input/keyboard/adp5588-keys.c 		disable_irq_wake(client->irq);
client            638 drivers/input/keyboard/adp5588-keys.c 	enable_irq(client->irq);
client            230 drivers/input/keyboard/adp5589-keys.c 	struct i2c_client *client;
client            372 drivers/input/keyboard/adp5589-keys.c static int adp5589_read(struct i2c_client *client, u8 reg)
client            374 drivers/input/keyboard/adp5589-keys.c 	int ret = i2c_smbus_read_byte_data(client, reg);
client            377 drivers/input/keyboard/adp5589-keys.c 		dev_err(&client->dev, "Read Error\n");
client            382 drivers/input/keyboard/adp5589-keys.c static int adp5589_write(struct i2c_client *client, u8 reg, u8 val)
client            384 drivers/input/keyboard/adp5589-keys.c 	return i2c_smbus_write_byte_data(client, reg, val);
client            394 drivers/input/keyboard/adp5589-keys.c 	return !!(adp5589_read(kpad->client,
client            413 drivers/input/keyboard/adp5589-keys.c 	adp5589_write(kpad->client, kpad->var->reg(ADP5589_GPO_DATA_OUT_A) +
client            429 drivers/input/keyboard/adp5589-keys.c 	ret = adp5589_write(kpad->client,
client            455 drivers/input/keyboard/adp5589-keys.c 	ret = adp5589_write(kpad->client, kpad->var->reg(ADP5589_GPO_DATA_OUT_A)
client            457 drivers/input/keyboard/adp5589-keys.c 	ret |= adp5589_write(kpad->client,
client            500 drivers/input/keyboard/adp5589-keys.c 	struct device *dev = &kpad->client->dev;
client            524 drivers/input/keyboard/adp5589-keys.c 	kpad->gc.label = kpad->client->name;
client            536 drivers/input/keyboard/adp5589-keys.c 		kpad->dat_out[i] = adp5589_read(kpad->client, kpad->var->reg(
client            538 drivers/input/keyboard/adp5589-keys.c 		kpad->dir[i] = adp5589_read(kpad->client, kpad->var->reg(
client            543 drivers/input/keyboard/adp5589-keys.c 		error = gpio_data->setup(kpad->client,
client            555 drivers/input/keyboard/adp5589-keys.c 	struct device *dev = &kpad->client->dev;
client            564 drivers/input/keyboard/adp5589-keys.c 		error = gpio_data->teardown(kpad->client,
client            604 drivers/input/keyboard/adp5589-keys.c 		int key = adp5589_read(kpad->client, ADP5589_5_FIFO_1 + i);
client            621 drivers/input/keyboard/adp5589-keys.c 	struct i2c_client *client = kpad->client;
client            624 drivers/input/keyboard/adp5589-keys.c 	status = adp5589_read(client, ADP5589_5_INT_STATUS);
client            627 drivers/input/keyboard/adp5589-keys.c 		dev_err(&client->dev, "Event Overflow Error\n");
client            630 drivers/input/keyboard/adp5589-keys.c 		ev_cnt = adp5589_read(client, ADP5589_5_STATUS) & KEC;
client            637 drivers/input/keyboard/adp5589-keys.c 	adp5589_write(client, ADP5589_5_INT_STATUS, status); /* Status is W1C */
client            650 drivers/input/keyboard/adp5589-keys.c 	dev_err(&kpad->client->dev, "RESET/UNLOCK key not in keycode map\n");
client            657 drivers/input/keyboard/adp5589-keys.c 	struct i2c_client *client = kpad->client;
client            659 drivers/input/keyboard/adp5589-keys.c 		dev_get_platdata(&client->dev);
client            665 drivers/input/keyboard/adp5589-keys.c 	ret = adp5589_write(client, reg(ADP5589_PIN_CONFIG_A),
client            667 drivers/input/keyboard/adp5589-keys.c 	ret |= adp5589_write(client, reg(ADP5589_PIN_CONFIG_B),
client            672 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, ADP5589_PIN_CONFIG_C,
client            676 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, ADP5589_UNLOCK1,
client            678 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, ADP5589_UNLOCK2,
client            680 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, ADP5589_UNLOCK_TIMERS,
client            682 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, ADP5589_LOCK_CFG, LOCK_EN);
client            686 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_read(client, ADP5589_5_FIFO_1 + i);
client            703 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, reg(ADP5589_GPI_EVENT_EN_A),
client            705 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, reg(ADP5589_GPI_EVENT_EN_B),
client            708 drivers/input/keyboard/adp5589-keys.c 			ret |= adp5589_write(client,
client            715 drivers/input/keyboard/adp5589-keys.c 		dev_warn(&client->dev, "Conflicting pull resistor config\n");
client            731 drivers/input/keyboard/adp5589-keys.c 			ret |= adp5589_write(client, reg(ADP5585_RPULL_CONFIG_A)
client            751 drivers/input/keyboard/adp5589-keys.c 			ret |= adp5589_write(client,
client            759 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, reg(ADP5589_RESET1_EVENT_A),
client            762 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, reg(ADP5589_RESET1_EVENT_B),
client            765 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, reg(ADP5589_RESET1_EVENT_C),
client            772 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, reg(ADP5589_RESET2_EVENT_A),
client            775 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, reg(ADP5589_RESET2_EVENT_B),
client            782 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, reg(ADP5589_RESET_CFG),
client            784 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, reg(ADP5589_PIN_CONFIG_D),
client            788 drivers/input/keyboard/adp5589-keys.c 	ret |= adp5589_write(client, reg(ADP5589_DEBOUNCE_DIS_A),
client            791 drivers/input/keyboard/adp5589-keys.c 	ret |= adp5589_write(client, reg(ADP5589_DEBOUNCE_DIS_B),
client            796 drivers/input/keyboard/adp5589-keys.c 		ret |= adp5589_write(client, reg(ADP5589_DEBOUNCE_DIS_C),
client            799 drivers/input/keyboard/adp5589-keys.c 	ret |= adp5589_write(client, reg(ADP5589_POLL_PTIME_CFG),
client            801 drivers/input/keyboard/adp5589-keys.c 	ret |= adp5589_write(client, ADP5589_5_INT_STATUS,
client            807 drivers/input/keyboard/adp5589-keys.c 	ret |= adp5589_write(client, reg(ADP5589_GENERAL_CFG),
client            809 drivers/input/keyboard/adp5589-keys.c 	ret |= adp5589_write(client, reg(ADP5589_INT_EN),
client            813 drivers/input/keyboard/adp5589-keys.c 		dev_err(&client->dev, "Write Error\n");
client            824 drivers/input/keyboard/adp5589-keys.c 	int gpi_stat1 = adp5589_read(kpad->client,
client            826 drivers/input/keyboard/adp5589-keys.c 	int gpi_stat2 = adp5589_read(kpad->client,
client            829 drivers/input/keyboard/adp5589-keys.c 			adp5589_read(kpad->client, ADP5589_GPI_STATUS_C) : 0;
client            846 drivers/input/keyboard/adp5589-keys.c 			dev_err(&kpad->client->dev,
client            860 drivers/input/keyboard/adp5589-keys.c static int adp5589_probe(struct i2c_client *client,
client            865 drivers/input/keyboard/adp5589-keys.c 		dev_get_platdata(&client->dev);
client            871 drivers/input/keyboard/adp5589-keys.c 	if (!i2c_check_functionality(client->adapter,
client            873 drivers/input/keyboard/adp5589-keys.c 		dev_err(&client->dev, "SMBUS Byte Data not Supported\n");
client            878 drivers/input/keyboard/adp5589-keys.c 		dev_err(&client->dev, "no platform data?\n");
client            903 drivers/input/keyboard/adp5589-keys.c 		dev_err(&client->dev, "no rows, cols or keymap from pdata\n");
client            909 drivers/input/keyboard/adp5589-keys.c 		dev_err(&client->dev, "invalid keymapsize\n");
client            915 drivers/input/keyboard/adp5589-keys.c 		dev_err(&client->dev, "invalid gpimap from pdata\n");
client            921 drivers/input/keyboard/adp5589-keys.c 		dev_err(&client->dev, "invalid gpimapsize\n");
client            931 drivers/input/keyboard/adp5589-keys.c 			dev_err(&client->dev, "invalid gpi pin data\n");
client            938 drivers/input/keyboard/adp5589-keys.c 			dev_err(&client->dev, "invalid gpi row/col data\n");
client            944 drivers/input/keyboard/adp5589-keys.c 	if (!client->irq) {
client            945 drivers/input/keyboard/adp5589-keys.c 		dev_err(&client->dev, "no IRQ?\n");
client            956 drivers/input/keyboard/adp5589-keys.c 	kpad->client = client;
client            959 drivers/input/keyboard/adp5589-keys.c 	ret = adp5589_read(client, ADP5589_5_ID);
client            967 drivers/input/keyboard/adp5589-keys.c 	input->name = client->name;
client            969 drivers/input/keyboard/adp5589-keys.c 	input->dev.parent = &client->dev;
client           1006 drivers/input/keyboard/adp5589-keys.c 		dev_err(&client->dev, "unable to register input device\n");
client           1010 drivers/input/keyboard/adp5589-keys.c 	error = request_threaded_irq(client->irq, NULL, adp5589_irq,
client           1012 drivers/input/keyboard/adp5589-keys.c 				     client->dev.driver->name, kpad);
client           1014 drivers/input/keyboard/adp5589-keys.c 		dev_err(&client->dev, "irq %d busy?\n", client->irq);
client           1029 drivers/input/keyboard/adp5589-keys.c 	device_init_wakeup(&client->dev, 1);
client           1030 drivers/input/keyboard/adp5589-keys.c 	i2c_set_clientdata(client, kpad);
client           1032 drivers/input/keyboard/adp5589-keys.c 	dev_info(&client->dev, "Rev.%d keypad, irq %d\n", revid, client->irq);
client           1036 drivers/input/keyboard/adp5589-keys.c 	free_irq(client->irq, kpad);
client           1048 drivers/input/keyboard/adp5589-keys.c static int adp5589_remove(struct i2c_client *client)
client           1050 drivers/input/keyboard/adp5589-keys.c 	struct adp5589_kpad *kpad = i2c_get_clientdata(client);
client           1052 drivers/input/keyboard/adp5589-keys.c 	adp5589_write(client, kpad->var->reg(ADP5589_GENERAL_CFG), 0);
client           1053 drivers/input/keyboard/adp5589-keys.c 	free_irq(client->irq, kpad);
client           1065 drivers/input/keyboard/adp5589-keys.c 	struct i2c_client *client = kpad->client;
client           1067 drivers/input/keyboard/adp5589-keys.c 	disable_irq(client->irq);
client           1069 drivers/input/keyboard/adp5589-keys.c 	if (device_may_wakeup(&client->dev))
client           1070 drivers/input/keyboard/adp5589-keys.c 		enable_irq_wake(client->irq);
client           1078 drivers/input/keyboard/adp5589-keys.c 	struct i2c_client *client = kpad->client;
client           1080 drivers/input/keyboard/adp5589-keys.c 	if (device_may_wakeup(&client->dev))
client           1081 drivers/input/keyboard/adp5589-keys.c 		disable_irq_wake(client->irq);
client           1083 drivers/input/keyboard/adp5589-keys.c 	enable_irq(client->irq);
client             21 drivers/input/keyboard/dlink-dir685-touchkeys.c 	struct i2c_client	*client;
client             38 drivers/input/keyboard/dlink-dir685-touchkeys.c 	err = i2c_master_recv(tk->client, buf, sizeof(buf));
client             62 drivers/input/keyboard/dlink-dir685-touchkeys.c static int dir685_tk_probe(struct i2c_client *client,
client             66 drivers/input/keyboard/dlink-dir685-touchkeys.c 	struct device *dev = &client->dev;
client             71 drivers/input/keyboard/dlink-dir685-touchkeys.c 	tk = devm_kzalloc(&client->dev, sizeof(*tk), GFP_KERNEL);
client             79 drivers/input/keyboard/dlink-dir685-touchkeys.c 	tk->client = client;
client            110 drivers/input/keyboard/dlink-dir685-touchkeys.c 	err = i2c_master_send(client, bl_data, sizeof(bl_data));
client            114 drivers/input/keyboard/dlink-dir685-touchkeys.c 	if (!client->irq) {
client            118 drivers/input/keyboard/dlink-dir685-touchkeys.c 	err = devm_request_threaded_irq(dev, client->irq,
client            136 drivers/input/keyboard/lm8323.c 	struct i2c_client	*client;
client            150 drivers/input/keyboard/lm8323.c #define client_to_lm8323(c)	container_of(c, struct lm8323_chip, client)
client            151 drivers/input/keyboard/lm8323.c #define dev_to_lm8323(d)	container_of(d, struct lm8323_chip, client->dev)
client            171 drivers/input/keyboard/lm8323.c 		dev_err(&lm->client->dev, "tried to send %d bytes\n", len);
client            185 drivers/input/keyboard/lm8323.c 	ret = i2c_master_send(lm->client, data, len);
client            187 drivers/input/keyboard/lm8323.c 		ret = i2c_master_send(lm->client, data, len);
client            189 drivers/input/keyboard/lm8323.c 		dev_err(&lm->client->dev, "sent %d bytes of %d total\n",
client            207 drivers/input/keyboard/lm8323.c 	ret = i2c_master_send(lm->client, &cmd, 1);
client            209 drivers/input/keyboard/lm8323.c 		ret = i2c_master_send(lm->client, &cmd, 1);
client            211 drivers/input/keyboard/lm8323.c 		dev_err(&lm->client->dev, "sending read cmd 0x%02x failed\n",
client            216 drivers/input/keyboard/lm8323.c 	ret = i2c_master_recv(lm->client, buf, len);
client            218 drivers/input/keyboard/lm8323.c 		dev_err(&lm->client->dev, "wanted %d bytes, got %d\n",
client            261 drivers/input/keyboard/lm8323.c 		dev_err(&lm->client->dev, "Failed reading fifo \n");
client            271 drivers/input/keyboard/lm8323.c 		dev_vdbg(&lm->client->dev, "key 0x%02x %s\n",
client            303 drivers/input/keyboard/lm8323.c 			dev_vdbg(&lm->client->dev, "fifo overflow!\n");
client            305 drivers/input/keyboard/lm8323.c 			dev_vdbg(&lm->client->dev,
client            308 drivers/input/keyboard/lm8323.c 			dev_vdbg(&lm->client->dev,
client            311 drivers/input/keyboard/lm8323.c 			dev_vdbg(&lm->client->dev, "bad command parameter\n");
client            377 drivers/input/keyboard/lm8323.c 			dev_vdbg(&lm->client->dev, "rotator fired\n");
client            380 drivers/input/keyboard/lm8323.c 			dev_vdbg(&lm->client->dev, "error!\n");
client            384 drivers/input/keyboard/lm8323.c 			dev_err(&lm->client->dev, "chip lost config; "
client            390 drivers/input/keyboard/lm8323.c 				dev_vdbg(&lm->client->dev,
client            618 drivers/input/keyboard/lm8323.c static int lm8323_probe(struct i2c_client *client,
client            621 drivers/input/keyboard/lm8323.c 	struct lm8323_platform_data *pdata = dev_get_platdata(&client->dev);
client            630 drivers/input/keyboard/lm8323.c 		dev_err(&client->dev, "missing platform_data\n");
client            635 drivers/input/keyboard/lm8323.c 		dev_err(&client->dev, "invalid x size %d specified\n",
client            641 drivers/input/keyboard/lm8323.c 		dev_err(&client->dev, "invalid y size %d specified\n",
client            653 drivers/input/keyboard/lm8323.c 	lm->client = client;
client            659 drivers/input/keyboard/lm8323.c 	dev_vdbg(&client->dev, "Keypad size: %d x %d\n",
client            675 drivers/input/keyboard/lm8323.c 			dev_err(&client->dev,
client            687 drivers/input/keyboard/lm8323.c 		dev_err(&client->dev, "device not found\n");
client            693 drivers/input/keyboard/lm8323.c 		err = init_pwm(lm, pwm + 1, &client->dev,
client            700 drivers/input/keyboard/lm8323.c 	err = device_create_file(&client->dev, &dev_attr_disable_kp);
client            706 drivers/input/keyboard/lm8323.c 		 "%s/input-kp", dev_name(&client->dev));
client            722 drivers/input/keyboard/lm8323.c 		dev_dbg(&client->dev, "error registering input device\n");
client            726 drivers/input/keyboard/lm8323.c 	err = request_threaded_irq(client->irq, NULL, lm8323_irq,
client            729 drivers/input/keyboard/lm8323.c 		dev_err(&client->dev, "could not get IRQ %d\n", client->irq);
client            733 drivers/input/keyboard/lm8323.c 	i2c_set_clientdata(client, lm);
client            735 drivers/input/keyboard/lm8323.c 	device_init_wakeup(&client->dev, 1);
client            736 drivers/input/keyboard/lm8323.c 	enable_irq_wake(client->irq);
client            744 drivers/input/keyboard/lm8323.c 	device_remove_file(&client->dev, &dev_attr_disable_kp);
client            755 drivers/input/keyboard/lm8323.c static int lm8323_remove(struct i2c_client *client)
client            757 drivers/input/keyboard/lm8323.c 	struct lm8323_chip *lm = i2c_get_clientdata(client);
client            760 drivers/input/keyboard/lm8323.c 	disable_irq_wake(client->irq);
client            761 drivers/input/keyboard/lm8323.c 	free_irq(client->irq, lm);
client            765 drivers/input/keyboard/lm8323.c 	device_remove_file(&lm->client->dev, &dev_attr_disable_kp);
client            783 drivers/input/keyboard/lm8323.c 	struct i2c_client *client = to_i2c_client(dev);
client            784 drivers/input/keyboard/lm8323.c 	struct lm8323_chip *lm = i2c_get_clientdata(client);
client            787 drivers/input/keyboard/lm8323.c 	irq_set_irq_wake(client->irq, 0);
client            788 drivers/input/keyboard/lm8323.c 	disable_irq(client->irq);
client            803 drivers/input/keyboard/lm8323.c 	struct i2c_client *client = to_i2c_client(dev);
client            804 drivers/input/keyboard/lm8323.c 	struct lm8323_chip *lm = i2c_get_clientdata(client);
client            815 drivers/input/keyboard/lm8323.c 	enable_irq(client->irq);
client            816 drivers/input/keyboard/lm8323.c 	irq_set_irq_wake(client->irq, 1);
client             34 drivers/input/keyboard/lm8333.c 	struct i2c_client *client;
client             47 drivers/input/keyboard/lm8333.c 		ret = i2c_smbus_read_byte_data(lm8333->client, cmd);
client             58 drivers/input/keyboard/lm8333.c 		ret = i2c_smbus_write_byte_data(lm8333->client, cmd, val);
client             69 drivers/input/keyboard/lm8333.c 		ret = i2c_smbus_read_i2c_block_data(lm8333->client,
client             86 drivers/input/keyboard/lm8333.c 		dev_err(&lm8333->client->dev,
client            119 drivers/input/keyboard/lm8333.c 		dev_err(&lm8333->client->dev, "Got error %02x\n", err);
client            128 drivers/input/keyboard/lm8333.c static int lm8333_probe(struct i2c_client *client,
client            132 drivers/input/keyboard/lm8333.c 			dev_get_platdata(&client->dev);
client            142 drivers/input/keyboard/lm8333.c 		dev_err(&client->dev, "Active time not big enough!\n");
client            153 drivers/input/keyboard/lm8333.c 	lm8333->client = client;
client            156 drivers/input/keyboard/lm8333.c 	input->name = client->name;
client            157 drivers/input/keyboard/lm8333.c 	input->dev.parent = &client->dev;
client            172 drivers/input/keyboard/lm8333.c 			dev_warn(&client->dev, "Unable to set debounce time\n");
client            179 drivers/input/keyboard/lm8333.c 			dev_warn(&client->dev, "Unable to set active time\n");
client            182 drivers/input/keyboard/lm8333.c 	err = request_threaded_irq(client->irq, NULL, lm8333_irq_thread,
client            192 drivers/input/keyboard/lm8333.c 	i2c_set_clientdata(client, lm8333);
client            196 drivers/input/keyboard/lm8333.c 	free_irq(client->irq, lm8333);
client            203 drivers/input/keyboard/lm8333.c static int lm8333_remove(struct i2c_client *client)
client            205 drivers/input/keyboard/lm8333.c 	struct lm8333 *lm8333 = i2c_get_clientdata(client);
client            207 drivers/input/keyboard/lm8333.c 	free_irq(client->irq, lm8333);
client             61 drivers/input/keyboard/max7359_keypad.c 	struct i2c_client *client;
client             64 drivers/input/keyboard/max7359_keypad.c static int max7359_write_reg(struct i2c_client *client, u8 reg, u8 val)
client             66 drivers/input/keyboard/max7359_keypad.c 	int ret = i2c_smbus_write_byte_data(client, reg, val);
client             69 drivers/input/keyboard/max7359_keypad.c 		dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n",
client             74 drivers/input/keyboard/max7359_keypad.c static int max7359_read_reg(struct i2c_client *client, int reg)
client             76 drivers/input/keyboard/max7359_keypad.c 	int ret = i2c_smbus_read_byte_data(client, reg);
client             79 drivers/input/keyboard/max7359_keypad.c 		dev_err(&client->dev, "%s: reg 0x%x, err %d\n",
client             91 drivers/input/keyboard/max7359_keypad.c 	val = max7359_read_reg(keypad->client, MAX7359_REG_KEYFIFO);
client             98 drivers/input/keyboard/max7359_keypad.c 	dev_dbg(&keypad->client->dev,
client            113 drivers/input/keyboard/max7359_keypad.c static inline void max7359_fall_deepsleep(struct i2c_client *client)
client            115 drivers/input/keyboard/max7359_keypad.c 	max7359_write_reg(client, MAX7359_REG_SLEEP, MAX7359_AUTOSLEEP_8192);
client            122 drivers/input/keyboard/max7359_keypad.c static inline void max7359_take_catnap(struct i2c_client *client)
client            124 drivers/input/keyboard/max7359_keypad.c 	max7359_write_reg(client, MAX7359_REG_SLEEP, MAX7359_AUTOSLEEP_256);
client            131 drivers/input/keyboard/max7359_keypad.c 	max7359_take_catnap(keypad->client);
client            140 drivers/input/keyboard/max7359_keypad.c 	max7359_fall_deepsleep(keypad->client);
client            143 drivers/input/keyboard/max7359_keypad.c static void max7359_initialize(struct i2c_client *client)
client            145 drivers/input/keyboard/max7359_keypad.c 	max7359_write_reg(client, MAX7359_REG_CONFIG,
client            150 drivers/input/keyboard/max7359_keypad.c 	max7359_write_reg(client, MAX7359_REG_DEBOUNCE, 0x1F);
client            153 drivers/input/keyboard/max7359_keypad.c 	max7359_write_reg(client, MAX7359_REG_INTERRUPT, 0x01);
client            155 drivers/input/keyboard/max7359_keypad.c 	max7359_fall_deepsleep(client);
client            158 drivers/input/keyboard/max7359_keypad.c static int max7359_probe(struct i2c_client *client,
client            162 drivers/input/keyboard/max7359_keypad.c 			dev_get_platdata(&client->dev);
client            168 drivers/input/keyboard/max7359_keypad.c 	if (!client->irq) {
client            169 drivers/input/keyboard/max7359_keypad.c 		dev_err(&client->dev, "The irq number should not be zero\n");
client            174 drivers/input/keyboard/max7359_keypad.c 	ret = max7359_read_reg(client, MAX7359_REG_KEYFIFO);
client            176 drivers/input/keyboard/max7359_keypad.c 		dev_err(&client->dev, "failed to detect device\n");
client            180 drivers/input/keyboard/max7359_keypad.c 	dev_dbg(&client->dev, "keys FIFO is 0x%02x\n", ret);
client            182 drivers/input/keyboard/max7359_keypad.c 	keypad = devm_kzalloc(&client->dev, sizeof(struct max7359_keypad),
client            185 drivers/input/keyboard/max7359_keypad.c 		dev_err(&client->dev, "failed to allocate memory\n");
client            189 drivers/input/keyboard/max7359_keypad.c 	input_dev = devm_input_allocate_device(&client->dev);
client            191 drivers/input/keyboard/max7359_keypad.c 		dev_err(&client->dev, "failed to allocate input device\n");
client            195 drivers/input/keyboard/max7359_keypad.c 	keypad->client = client;
client            198 drivers/input/keyboard/max7359_keypad.c 	input_dev->name = client->name;
client            202 drivers/input/keyboard/max7359_keypad.c 	input_dev->dev.parent = &client->dev;
client            218 drivers/input/keyboard/max7359_keypad.c 		dev_err(&client->dev, "failed to build keymap\n");
client            222 drivers/input/keyboard/max7359_keypad.c 	error = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            225 drivers/input/keyboard/max7359_keypad.c 					  client->name, keypad);
client            227 drivers/input/keyboard/max7359_keypad.c 		dev_err(&client->dev, "failed to register interrupt\n");
client            234 drivers/input/keyboard/max7359_keypad.c 		dev_err(&client->dev, "failed to register input device\n");
client            239 drivers/input/keyboard/max7359_keypad.c 	max7359_initialize(client);
client            241 drivers/input/keyboard/max7359_keypad.c 	device_init_wakeup(&client->dev, 1);
client            249 drivers/input/keyboard/max7359_keypad.c 	struct i2c_client *client = to_i2c_client(dev);
client            251 drivers/input/keyboard/max7359_keypad.c 	max7359_fall_deepsleep(client);
client            253 drivers/input/keyboard/max7359_keypad.c 	if (device_may_wakeup(&client->dev))
client            254 drivers/input/keyboard/max7359_keypad.c 		enable_irq_wake(client->irq);
client            261 drivers/input/keyboard/max7359_keypad.c 	struct i2c_client *client = to_i2c_client(dev);
client            263 drivers/input/keyboard/max7359_keypad.c 	if (device_may_wakeup(&client->dev))
client            264 drivers/input/keyboard/max7359_keypad.c 		disable_irq_wake(client->irq);
client            267 drivers/input/keyboard/max7359_keypad.c 	max7359_take_catnap(client);
client             46 drivers/input/keyboard/mcs_touchkey.c 	struct i2c_client *client;
client             58 drivers/input/keyboard/mcs_touchkey.c 	struct i2c_client *client = data->client;
client             64 drivers/input/keyboard/mcs_touchkey.c 	val = i2c_smbus_read_byte_data(client, chip->status_reg);
client             66 drivers/input/keyboard/mcs_touchkey.c 		dev_err(&client->dev, "i2c read error [%d]\n", val);
client             88 drivers/input/keyboard/mcs_touchkey.c 	dev_dbg(&client->dev, "key %d %d %s\n", data->key_val, data->key_code,
client             95 drivers/input/keyboard/mcs_touchkey.c static int mcs_touchkey_probe(struct i2c_client *client,
client            106 drivers/input/keyboard/mcs_touchkey.c 	pdata = dev_get_platdata(&client->dev);
client            108 drivers/input/keyboard/mcs_touchkey.c 		dev_err(&client->dev, "no platform data defined\n");
client            116 drivers/input/keyboard/mcs_touchkey.c 		dev_err(&client->dev, "Failed to allocate memory\n");
client            121 drivers/input/keyboard/mcs_touchkey.c 	data->client = client;
client            137 drivers/input/keyboard/mcs_touchkey.c 	fw_ver = i2c_smbus_read_byte_data(client, fw_reg);
client            140 drivers/input/keyboard/mcs_touchkey.c 		dev_err(&client->dev, "i2c read error[%d]\n", error);
client            143 drivers/input/keyboard/mcs_touchkey.c 	dev_info(&client->dev, "Firmware version: %d\n", fw_ver);
client            147 drivers/input/keyboard/mcs_touchkey.c 	input_dev->dev.parent = &client->dev;
client            174 drivers/input/keyboard/mcs_touchkey.c 	error = request_threaded_irq(client->irq, NULL, mcs_touchkey_interrupt,
client            176 drivers/input/keyboard/mcs_touchkey.c 				     client->dev.driver->name, data);
client            178 drivers/input/keyboard/mcs_touchkey.c 		dev_err(&client->dev, "Failed to register interrupt\n");
client            186 drivers/input/keyboard/mcs_touchkey.c 	i2c_set_clientdata(client, data);
client            190 drivers/input/keyboard/mcs_touchkey.c 	free_irq(client->irq, data);
client            197 drivers/input/keyboard/mcs_touchkey.c static int mcs_touchkey_remove(struct i2c_client *client)
client            199 drivers/input/keyboard/mcs_touchkey.c 	struct mcs_touchkey_data *data = i2c_get_clientdata(client);
client            201 drivers/input/keyboard/mcs_touchkey.c 	free_irq(client->irq, data);
client            210 drivers/input/keyboard/mcs_touchkey.c static void mcs_touchkey_shutdown(struct i2c_client *client)
client            212 drivers/input/keyboard/mcs_touchkey.c 	struct mcs_touchkey_data *data = i2c_get_clientdata(client);
client            222 drivers/input/keyboard/mcs_touchkey.c 	struct i2c_client *client = data->client;
client            225 drivers/input/keyboard/mcs_touchkey.c 	disable_irq(client->irq);
client            237 drivers/input/keyboard/mcs_touchkey.c 	struct i2c_client *client = data->client;
client            244 drivers/input/keyboard/mcs_touchkey.c 	enable_irq(client->irq);
client             58 drivers/input/keyboard/mpr121_touchkey.c 	struct i2c_client	*client;
client            121 drivers/input/keyboard/mpr121_touchkey.c 	struct i2c_client *client = mpr121->client;
client            127 drivers/input/keyboard/mpr121_touchkey.c 	reg = i2c_smbus_read_byte_data(client, ELE_TOUCH_STATUS_1_ADDR);
client            129 drivers/input/keyboard/mpr121_touchkey.c 		dev_err(&client->dev, "i2c read error [%d]\n", reg);
client            134 drivers/input/keyboard/mpr121_touchkey.c 	reg |= i2c_smbus_read_byte_data(client, ELE_TOUCH_STATUS_0_ADDR);
client            136 drivers/input/keyboard/mpr121_touchkey.c 		dev_err(&client->dev, "i2c read error [%d]\n", reg);
client            153 drivers/input/keyboard/mpr121_touchkey.c 		dev_dbg(&client->dev, "key %d %d %s\n", key_num, key_val,
client            164 drivers/input/keyboard/mpr121_touchkey.c 			    struct i2c_client *client, int vdd_uv)
client            173 drivers/input/keyboard/mpr121_touchkey.c 		ret = i2c_smbus_write_byte_data(client, t, TOUCH_THRESHOLD);
client            176 drivers/input/keyboard/mpr121_touchkey.c 		ret = i2c_smbus_write_byte_data(client, t + 1,
client            185 drivers/input/keyboard/mpr121_touchkey.c 		ret = i2c_smbus_write_byte_data(client, reg->addr, reg->val);
client            200 drivers/input/keyboard/mpr121_touchkey.c 	ret = i2c_smbus_write_byte_data(client, AUTO_CONFIG_USL_ADDR, usl);
client            201 drivers/input/keyboard/mpr121_touchkey.c 	ret |= i2c_smbus_write_byte_data(client, AUTO_CONFIG_LSL_ADDR, lsl);
client            202 drivers/input/keyboard/mpr121_touchkey.c 	ret |= i2c_smbus_write_byte_data(client, AUTO_CONFIG_TL_ADDR, tl);
client            210 drivers/input/keyboard/mpr121_touchkey.c 	ret |= i2c_smbus_write_byte_data(client, ELECTRODE_CONF_ADDR,
client            215 drivers/input/keyboard/mpr121_touchkey.c 	dev_dbg(&client->dev, "set up with %x keys.\n", mpr121->keycount);
client            220 drivers/input/keyboard/mpr121_touchkey.c 	dev_err(&client->dev, "i2c write error: %d\n", ret);
client            224 drivers/input/keyboard/mpr121_touchkey.c static int mpr_touchkey_probe(struct i2c_client *client,
client            227 drivers/input/keyboard/mpr121_touchkey.c 	struct device *dev = &client->dev;
client            235 drivers/input/keyboard/mpr121_touchkey.c 	if (!client->irq) {
client            254 drivers/input/keyboard/mpr121_touchkey.c 	mpr121->client = client;
client            285 drivers/input/keyboard/mpr121_touchkey.c 	error = mpr121_phys_init(mpr121, client, vdd_uv);
client            291 drivers/input/keyboard/mpr121_touchkey.c 	error = devm_request_threaded_irq(dev, client->irq, NULL,
client            304 drivers/input/keyboard/mpr121_touchkey.c 	i2c_set_clientdata(client, mpr121);
client            313 drivers/input/keyboard/mpr121_touchkey.c 	struct i2c_client *client = to_i2c_client(dev);
client            315 drivers/input/keyboard/mpr121_touchkey.c 	if (device_may_wakeup(&client->dev))
client            316 drivers/input/keyboard/mpr121_touchkey.c 		enable_irq_wake(client->irq);
client            318 drivers/input/keyboard/mpr121_touchkey.c 	i2c_smbus_write_byte_data(client, ELECTRODE_CONF_ADDR, 0x00);
client            325 drivers/input/keyboard/mpr121_touchkey.c 	struct i2c_client *client = to_i2c_client(dev);
client            326 drivers/input/keyboard/mpr121_touchkey.c 	struct mpr121_touchkey *mpr121 = i2c_get_clientdata(client);
client            328 drivers/input/keyboard/mpr121_touchkey.c 	if (device_may_wakeup(&client->dev))
client            329 drivers/input/keyboard/mpr121_touchkey.c 		disable_irq_wake(client->irq);
client            331 drivers/input/keyboard/mpr121_touchkey.c 	i2c_smbus_write_byte_data(client, ELECTRODE_CONF_ADDR,
client            115 drivers/input/keyboard/qt1050.c 	struct i2c_client	*client;
client            231 drivers/input/keyboard/qt1050.c 		dev_err(&ts->client->dev, "ID %d not supported\n", val);
client            238 drivers/input/keyboard/qt1050.c 		dev_err(&ts->client->dev, "could not read the firmware version\n");
client            242 drivers/input/keyboard/qt1050.c 	dev_info(&ts->client->dev, "AT42QT1050 firmware version %1d.%1d\n",
client            259 drivers/input/keyboard/qt1050.c 		dev_err(&ts->client->dev, "Fail to read detection status: %d\n",
client            267 drivers/input/keyboard/qt1050.c 		dev_err(&ts->client->dev,
client            343 drivers/input/keyboard/qt1050.c 	struct device *dev = &ts->client->dev;
client            428 drivers/input/keyboard/qt1050.c static int qt1050_probe(struct i2c_client *client)
client            432 drivers/input/keyboard/qt1050.c 	struct device *dev = &client->dev;
client            438 drivers/input/keyboard/qt1050.c 	err = i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE);
client            440 drivers/input/keyboard/qt1050.c 		dev_err(&client->dev, "%s adapter not supported\n",
client            441 drivers/input/keyboard/qt1050.c 			dev_driver_string(&client->adapter->dev));
client            445 drivers/input/keyboard/qt1050.c 	if (!client->irq) {
client            458 drivers/input/keyboard/qt1050.c 	map = devm_regmap_init_i2c(client, &qt1050_regmap_config);
client            462 drivers/input/keyboard/qt1050.c 	ts->client = client;
client            466 drivers/input/keyboard/qt1050.c 	i2c_set_clientdata(client, ts);
client            480 drivers/input/keyboard/qt1050.c 	input->dev.parent = &client->dev;
client            524 drivers/input/keyboard/qt1050.c 	err = devm_request_threaded_irq(dev, client->irq, NULL,
client            528 drivers/input/keyboard/qt1050.c 		dev_err(&client->dev, "Failed to request irq: %d\n", err);
client            542 drivers/input/keyboard/qt1050.c 		dev_err(&client->dev, "Failed to register input device: %d\n",
client            552 drivers/input/keyboard/qt1050.c 	struct i2c_client *client = to_i2c_client(dev);
client            553 drivers/input/keyboard/qt1050.c 	struct qt1050_priv *ts = i2c_get_clientdata(client);
client            555 drivers/input/keyboard/qt1050.c 	disable_irq(client->irq);
client            568 drivers/input/keyboard/qt1050.c 	struct i2c_client *client = to_i2c_client(dev);
client            569 drivers/input/keyboard/qt1050.c 	struct qt1050_priv *ts = i2c_get_clientdata(client);
client            571 drivers/input/keyboard/qt1050.c 	enable_irq(client->irq);
client             49 drivers/input/keyboard/qt1070.c 	struct i2c_client *client;
client             56 drivers/input/keyboard/qt1070.c static int qt1070_read(struct i2c_client *client, u8 reg)
client             60 drivers/input/keyboard/qt1070.c 	ret = i2c_smbus_read_byte_data(client, reg);
client             62 drivers/input/keyboard/qt1070.c 		dev_err(&client->dev,
client             68 drivers/input/keyboard/qt1070.c static int qt1070_write(struct i2c_client *client, u8 reg, u8 data)
client             72 drivers/input/keyboard/qt1070.c 	ret = i2c_smbus_write_byte_data(client, reg, data);
client             74 drivers/input/keyboard/qt1070.c 		dev_err(&client->dev,
client             80 drivers/input/keyboard/qt1070.c static bool qt1070_identify(struct i2c_client *client)
client             85 drivers/input/keyboard/qt1070.c 	id = qt1070_read(client, CHIP_ID);
client             87 drivers/input/keyboard/qt1070.c 		dev_err(&client->dev, "ID %d not supported\n", id);
client             92 drivers/input/keyboard/qt1070.c 	ver = qt1070_read(client, FW_VERSION);
client             94 drivers/input/keyboard/qt1070.c 		dev_err(&client->dev, "could not read the firmware version\n");
client             98 drivers/input/keyboard/qt1070.c 	dev_info(&client->dev, "AT42QT1070 firmware version %x\n", ver);
client            106 drivers/input/keyboard/qt1070.c 	struct i2c_client *client = data->client;
client            112 drivers/input/keyboard/qt1070.c 	qt1070_read(client, DET_STATUS);
client            115 drivers/input/keyboard/qt1070.c 	new_keys = qt1070_read(client, KEY_STATUS);
client            129 drivers/input/keyboard/qt1070.c static int qt1070_probe(struct i2c_client *client,
client            137 drivers/input/keyboard/qt1070.c 	err = i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE);
client            139 drivers/input/keyboard/qt1070.c 		dev_err(&client->dev, "%s adapter not supported\n",
client            140 drivers/input/keyboard/qt1070.c 			dev_driver_string(&client->adapter->dev));
client            144 drivers/input/keyboard/qt1070.c 	if (!client->irq) {
client            145 drivers/input/keyboard/qt1070.c 		dev_err(&client->dev, "please assign the irq to this device\n");
client            150 drivers/input/keyboard/qt1070.c 	if (!qt1070_identify(client))
client            156 drivers/input/keyboard/qt1070.c 		dev_err(&client->dev, "insufficient memory\n");
client            161 drivers/input/keyboard/qt1070.c 	data->client = client;
client            163 drivers/input/keyboard/qt1070.c 	data->irq = client->irq;
client            166 drivers/input/keyboard/qt1070.c 	input->dev.parent = &client->dev;
client            182 drivers/input/keyboard/qt1070.c 	qt1070_write(client, CALIBRATE_CMD, 1);
client            186 drivers/input/keyboard/qt1070.c 	qt1070_write(client, RESET, 1);
client            189 drivers/input/keyboard/qt1070.c 	err = request_threaded_irq(client->irq, NULL, qt1070_interrupt,
client            191 drivers/input/keyboard/qt1070.c 				   client->dev.driver->name, data);
client            193 drivers/input/keyboard/qt1070.c 		dev_err(&client->dev, "fail to request irq\n");
client            200 drivers/input/keyboard/qt1070.c 		dev_err(&client->dev, "Failed to register input device\n");
client            204 drivers/input/keyboard/qt1070.c 	i2c_set_clientdata(client, data);
client            207 drivers/input/keyboard/qt1070.c 	qt1070_read(client, DET_STATUS);
client            212 drivers/input/keyboard/qt1070.c 	free_irq(client->irq, data);
client            219 drivers/input/keyboard/qt1070.c static int qt1070_remove(struct i2c_client *client)
client            221 drivers/input/keyboard/qt1070.c 	struct qt1070_data *data = i2c_get_clientdata(client);
client            224 drivers/input/keyboard/qt1070.c 	free_irq(client->irq, data);
client            235 drivers/input/keyboard/qt1070.c 	struct i2c_client *client = to_i2c_client(dev);
client            236 drivers/input/keyboard/qt1070.c 	struct qt1070_data *data = i2c_get_clientdata(client);
client            246 drivers/input/keyboard/qt1070.c 	struct i2c_client *client = to_i2c_client(dev);
client            247 drivers/input/keyboard/qt1070.c 	struct qt1070_data *data = i2c_get_clientdata(client);
client             55 drivers/input/keyboard/qt2160.c 	struct i2c_client *client;
client             65 drivers/input/keyboard/qt2160.c static int qt2160_read(struct i2c_client *client, u8 reg);
client             66 drivers/input/keyboard/qt2160.c static int qt2160_write(struct i2c_client *client, u8 reg, u8 data);
client             75 drivers/input/keyboard/qt2160.c 	struct i2c_client *client = qt2160->client;
client             79 drivers/input/keyboard/qt2160.c 		drive = qt2160_read(client, QT2160_CMD_DRIVE_X);
client             80 drivers/input/keyboard/qt2160.c 		pwmen = qt2160_read(client, QT2160_CMD_PWMEN_X);
client             89 drivers/input/keyboard/qt2160.c 		qt2160_write(client, QT2160_CMD_DRIVE_X, drive);
client             90 drivers/input/keyboard/qt2160.c 		qt2160_write(client, QT2160_CMD_PWMEN_X, pwmen);
client             97 drivers/input/keyboard/qt2160.c 			qt2160_write(client, QT2160_CMD_PWM_DUTY, value);
client            107 drivers/input/keyboard/qt2160.c static int qt2160_read_block(struct i2c_client *client,
client            117 drivers/input/keyboard/qt2160.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C))	{
client            119 drivers/input/keyboard/qt2160.c 		error = i2c_smbus_write_byte(client, inireg + idx);
client            121 drivers/input/keyboard/qt2160.c 			dev_err(&client->dev,
client            126 drivers/input/keyboard/qt2160.c 		error = i2c_master_recv(client, buffer, count);
client            128 drivers/input/keyboard/qt2160.c 			dev_err(&client->dev,
client            137 drivers/input/keyboard/qt2160.c 			error = i2c_smbus_write_byte(client, inireg + idx);
client            139 drivers/input/keyboard/qt2160.c 				dev_err(&client->dev,
client            144 drivers/input/keyboard/qt2160.c 			data = i2c_smbus_read_byte(client);
client            146 drivers/input/keyboard/qt2160.c 				dev_err(&client->dev,
client            160 drivers/input/keyboard/qt2160.c 	struct i2c_client *client = qt2160->client;
client            166 drivers/input/keyboard/qt2160.c 	dev_dbg(&client->dev, "requesting keys...\n");
client            172 drivers/input/keyboard/qt2160.c 	ret = qt2160_read_block(client, QT2160_CMD_GSTAT, regs, 6);
client            174 drivers/input/keyboard/qt2160.c 		dev_err(&client->dev,
client            188 drivers/input/keyboard/qt2160.c 			dev_dbg(&client->dev, "key %d %s\n",
client            217 drivers/input/keyboard/qt2160.c 	dev_dbg(&qt2160->client->dev, "worker\n");
client            225 drivers/input/keyboard/qt2160.c static int qt2160_read(struct i2c_client *client, u8 reg)
client            229 drivers/input/keyboard/qt2160.c 	ret = i2c_smbus_write_byte(client, reg);
client            231 drivers/input/keyboard/qt2160.c 		dev_err(&client->dev,
client            236 drivers/input/keyboard/qt2160.c 	ret = i2c_smbus_read_byte(client);
client            238 drivers/input/keyboard/qt2160.c 		dev_err(&client->dev,
client            246 drivers/input/keyboard/qt2160.c static int qt2160_write(struct i2c_client *client, u8 reg, u8 data)
client            250 drivers/input/keyboard/qt2160.c 	ret = i2c_smbus_write_byte_data(client, reg, data);
client            252 drivers/input/keyboard/qt2160.c 		dev_err(&client->dev,
client            262 drivers/input/keyboard/qt2160.c 	struct i2c_client *client = qt2160->client;
client            276 drivers/input/keyboard/qt2160.c 		ret = led_classdev_register(&client->dev, &led->cdev);
client            282 drivers/input/keyboard/qt2160.c 	qt2160_write(client, QT2160_CMD_DRIVE_X, 0);
client            283 drivers/input/keyboard/qt2160.c 	qt2160_write(client, QT2160_CMD_PWMEN_X, 0);
client            284 drivers/input/keyboard/qt2160.c 	qt2160_write(client, QT2160_CMD_PWM_DUTY, 0);
client            310 drivers/input/keyboard/qt2160.c static bool qt2160_identify(struct i2c_client *client)
client            315 drivers/input/keyboard/qt2160.c 	id = qt2160_read(client, QT2160_CMD_CHIPID);
client            317 drivers/input/keyboard/qt2160.c 		dev_err(&client->dev, "ID %d not supported\n", id);
client            322 drivers/input/keyboard/qt2160.c 	ver = qt2160_read(client, QT2160_CMD_CODEVER);
client            324 drivers/input/keyboard/qt2160.c 		dev_err(&client->dev, "could not get firmware version\n");
client            329 drivers/input/keyboard/qt2160.c 	rev = qt2160_read(client, QT2160_CMD_SUBVER);
client            331 drivers/input/keyboard/qt2160.c 		dev_err(&client->dev, "could not get firmware revision\n");
client            335 drivers/input/keyboard/qt2160.c 	dev_info(&client->dev, "AT42QT2160 firmware version %d.%d.%d\n",
client            341 drivers/input/keyboard/qt2160.c static int qt2160_probe(struct i2c_client *client,
client            350 drivers/input/keyboard/qt2160.c 	error = i2c_check_functionality(client->adapter,
client            353 drivers/input/keyboard/qt2160.c 		dev_err(&client->dev, "%s adapter not supported\n",
client            354 drivers/input/keyboard/qt2160.c 				dev_driver_string(&client->adapter->dev));
client            358 drivers/input/keyboard/qt2160.c 	if (!qt2160_identify(client))
client            365 drivers/input/keyboard/qt2160.c 		dev_err(&client->dev, "insufficient memory\n");
client            370 drivers/input/keyboard/qt2160.c 	qt2160->client = client;
client            390 drivers/input/keyboard/qt2160.c 	error = qt2160_write(client, QT2160_CMD_CALIBRATE, 1);
client            392 drivers/input/keyboard/qt2160.c 		dev_err(&client->dev, "failed to calibrate device\n");
client            396 drivers/input/keyboard/qt2160.c 	if (client->irq) {
client            397 drivers/input/keyboard/qt2160.c 		error = request_irq(client->irq, qt2160_irq,
client            400 drivers/input/keyboard/qt2160.c 			dev_err(&client->dev,
client            401 drivers/input/keyboard/qt2160.c 				"failed to allocate irq %d\n", client->irq);
client            408 drivers/input/keyboard/qt2160.c 		dev_err(&client->dev, "Failed to register leds\n");
client            414 drivers/input/keyboard/qt2160.c 		dev_err(&client->dev,
client            419 drivers/input/keyboard/qt2160.c 	i2c_set_clientdata(client, qt2160);
client            427 drivers/input/keyboard/qt2160.c 	if (client->irq)
client            428 drivers/input/keyboard/qt2160.c 		free_irq(client->irq, qt2160);
client            435 drivers/input/keyboard/qt2160.c static int qt2160_remove(struct i2c_client *client)
client            437 drivers/input/keyboard/qt2160.c 	struct qt2160_data *qt2160 = i2c_get_clientdata(client);
client            442 drivers/input/keyboard/qt2160.c 	if (client->irq)
client            443 drivers/input/keyboard/qt2160.c 		free_irq(client->irq, qt2160);
client             44 drivers/input/keyboard/tca6416-keypad.c 	struct i2c_client *client;
client             59 drivers/input/keyboard/tca6416-keypad.c 		i2c_smbus_write_word_data(chip->client, reg << 1, val) :
client             60 drivers/input/keyboard/tca6416-keypad.c 		i2c_smbus_write_byte_data(chip->client, reg, val);
client             62 drivers/input/keyboard/tca6416-keypad.c 		dev_err(&chip->client->dev,
client             76 drivers/input/keyboard/tca6416-keypad.c 		 i2c_smbus_read_word_data(chip->client, reg << 1) :
client             77 drivers/input/keyboard/tca6416-keypad.c 		 i2c_smbus_read_byte_data(chip->client, reg);
client             79 drivers/input/keyboard/tca6416-keypad.c 		dev_err(&chip->client->dev, "%s failed, reg: %d, error: %d\n",
client            197 drivers/input/keyboard/tca6416-keypad.c static int tca6416_keypad_probe(struct i2c_client *client,
client            207 drivers/input/keyboard/tca6416-keypad.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE)) {
client            208 drivers/input/keyboard/tca6416-keypad.c 		dev_err(&client->dev, "%s adapter not supported\n",
client            209 drivers/input/keyboard/tca6416-keypad.c 			dev_driver_string(&client->adapter->dev));
client            213 drivers/input/keyboard/tca6416-keypad.c 	pdata = dev_get_platdata(&client->dev);
client            215 drivers/input/keyboard/tca6416-keypad.c 		dev_dbg(&client->dev, "no platform data\n");
client            226 drivers/input/keyboard/tca6416-keypad.c 	chip->client = client;
client            235 drivers/input/keyboard/tca6416-keypad.c 	input->name = client->name;
client            236 drivers/input/keyboard/tca6416-keypad.c 	input->dev.parent = &client->dev;
client            270 drivers/input/keyboard/tca6416-keypad.c 			chip->irqnum = gpio_to_irq(client->irq);
client            272 drivers/input/keyboard/tca6416-keypad.c 			chip->irqnum = client->irq;
client            280 drivers/input/keyboard/tca6416-keypad.c 			dev_dbg(&client->dev,
client            290 drivers/input/keyboard/tca6416-keypad.c 		dev_dbg(&client->dev,
client            295 drivers/input/keyboard/tca6416-keypad.c 	i2c_set_clientdata(client, chip);
client            296 drivers/input/keyboard/tca6416-keypad.c 	device_init_wakeup(&client->dev, 1);
client            311 drivers/input/keyboard/tca6416-keypad.c static int tca6416_keypad_remove(struct i2c_client *client)
client            313 drivers/input/keyboard/tca6416-keypad.c 	struct tca6416_keypad_chip *chip = i2c_get_clientdata(client);
client            329 drivers/input/keyboard/tca6416-keypad.c 	struct i2c_client *client = to_i2c_client(dev);
client            330 drivers/input/keyboard/tca6416-keypad.c 	struct tca6416_keypad_chip *chip = i2c_get_clientdata(client);
client            340 drivers/input/keyboard/tca6416-keypad.c 	struct i2c_client *client = to_i2c_client(dev);
client            341 drivers/input/keyboard/tca6416-keypad.c 	struct tca6416_keypad_chip *chip = i2c_get_clientdata(client);
client            113 drivers/input/keyboard/tca8418_keypad.c 	struct i2c_client *client;
client            127 drivers/input/keyboard/tca8418_keypad.c 	error = i2c_smbus_write_byte_data(keypad_data->client, reg, val);
client            129 drivers/input/keyboard/tca8418_keypad.c 		dev_err(&keypad_data->client->dev,
client            146 drivers/input/keyboard/tca8418_keypad.c 	error = i2c_smbus_read_byte_data(keypad_data->client, reg);
client            148 drivers/input/keyboard/tca8418_keypad.c 		dev_err(&keypad_data->client->dev,
client            169 drivers/input/keyboard/tca8418_keypad.c 			dev_err(&keypad_data->client->dev,
client            207 drivers/input/keyboard/tca8418_keypad.c 		dev_err(&keypad_data->client->dev,
client            216 drivers/input/keyboard/tca8418_keypad.c 		dev_warn(&keypad_data->client->dev, "overflow occurred\n");
client            225 drivers/input/keyboard/tca8418_keypad.c 		dev_err(&keypad_data->client->dev,
client            262 drivers/input/keyboard/tca8418_keypad.c static int tca8418_keypad_probe(struct i2c_client *client,
client            265 drivers/input/keyboard/tca8418_keypad.c 	struct device *dev = &client->dev;
client            273 drivers/input/keyboard/tca8418_keypad.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE)) {
client            275 drivers/input/keyboard/tca8418_keypad.c 			dev_driver_string(&client->adapter->dev));
client            300 drivers/input/keyboard/tca8418_keypad.c 	keypad_data->client = client;
client            315 drivers/input/keyboard/tca8418_keypad.c 	input->name = client->name;
client            332 drivers/input/keyboard/tca8418_keypad.c 	error = devm_request_threaded_irq(dev, client->irq,
client            335 drivers/input/keyboard/tca8418_keypad.c 					  client->name, keypad_data);
client            338 drivers/input/keyboard/tca8418_keypad.c 			client->irq, error);
client             47 drivers/input/keyboard/tm2-touchkey.c 	struct i2c_client *client;
client            106 drivers/input/keyboard/tm2-touchkey.c 		i2c_smbus_write_byte(touchkey->client, data) :
client            107 drivers/input/keyboard/tm2-touchkey.c 		i2c_smbus_write_byte_data(touchkey->client,
client            142 drivers/input/keyboard/tm2-touchkey.c 		data = i2c_smbus_read_byte(touchkey->client);
client            144 drivers/input/keyboard/tm2-touchkey.c 		data = i2c_smbus_read_byte_data(touchkey->client,
client            147 drivers/input/keyboard/tm2-touchkey.c 		dev_err(&touchkey->client->dev,
client            154 drivers/input/keyboard/tm2-touchkey.c 		dev_warn(&touchkey->client->dev,
client            182 drivers/input/keyboard/tm2-touchkey.c static int tm2_touchkey_probe(struct i2c_client *client,
client            185 drivers/input/keyboard/tm2-touchkey.c 	struct device_node *np = client->dev.of_node;
client            190 drivers/input/keyboard/tm2-touchkey.c 	if (!i2c_check_functionality(client->adapter,
client            192 drivers/input/keyboard/tm2-touchkey.c 		dev_err(&client->dev, "incompatible I2C adapter\n");
client            196 drivers/input/keyboard/tm2-touchkey.c 	touchkey = devm_kzalloc(&client->dev, sizeof(*touchkey), GFP_KERNEL);
client            200 drivers/input/keyboard/tm2-touchkey.c 	touchkey->client = client;
client            201 drivers/input/keyboard/tm2-touchkey.c 	i2c_set_clientdata(client, touchkey);
client            203 drivers/input/keyboard/tm2-touchkey.c 	touchkey->variant = of_device_get_match_data(&client->dev);
client            207 drivers/input/keyboard/tm2-touchkey.c 	error = devm_regulator_bulk_get(&client->dev,
client            211 drivers/input/keyboard/tm2-touchkey.c 		dev_err(&client->dev, "failed to get regulators: %d\n", error);
client            230 drivers/input/keyboard/tm2-touchkey.c 		dev_err(&client->dev, "failed to power up device: %d\n", error);
client            234 drivers/input/keyboard/tm2-touchkey.c 	error = devm_add_action_or_reset(&client->dev,
client            237 drivers/input/keyboard/tm2-touchkey.c 		dev_err(&client->dev,
client            243 drivers/input/keyboard/tm2-touchkey.c 	touchkey->input_dev = devm_input_allocate_device(&client->dev);
client            245 drivers/input/keyboard/tm2-touchkey.c 		dev_err(&client->dev, "failed to allocate input device\n");
client            258 drivers/input/keyboard/tm2-touchkey.c 		dev_err(&client->dev,
client            263 drivers/input/keyboard/tm2-touchkey.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client            268 drivers/input/keyboard/tm2-touchkey.c 		dev_err(&client->dev,
client            280 drivers/input/keyboard/tm2-touchkey.c 	error = devm_led_classdev_register(&client->dev, &touchkey->led_dev);
client            282 drivers/input/keyboard/tm2-touchkey.c 		dev_err(&client->dev,
client            295 drivers/input/keyboard/tm2-touchkey.c 	struct i2c_client *client = to_i2c_client(dev);
client            296 drivers/input/keyboard/tm2-touchkey.c 	struct tm2_touchkey_data *touchkey = i2c_get_clientdata(client);
client            298 drivers/input/keyboard/tm2-touchkey.c 	disable_irq(client->irq);
client            306 drivers/input/keyboard/tm2-touchkey.c 	struct i2c_client *client = to_i2c_client(dev);
client            307 drivers/input/keyboard/tm2-touchkey.c 	struct tm2_touchkey_data *touchkey = i2c_get_clientdata(client);
client            310 drivers/input/keyboard/tm2-touchkey.c 	enable_irq(client->irq);
client             75 drivers/input/misc/88pm860x_onkey.c 	info->i2c = (chip->id == CHIP_PM8607) ? chip->client : chip->companion;
client             30 drivers/input/misc/ad714x-i2c.c 	struct i2c_client *client = to_i2c_client(chip->dev);
client             36 drivers/input/misc/ad714x-i2c.c 	error = i2c_master_send(client, (u8 *)chip->xfer_buf,
client             39 drivers/input/misc/ad714x-i2c.c 		dev_err(&client->dev, "I2C write error: %d\n", error);
client             49 drivers/input/misc/ad714x-i2c.c 	struct i2c_client *client = to_i2c_client(chip->dev);
client             55 drivers/input/misc/ad714x-i2c.c 	error = i2c_master_send(client, (u8 *)chip->xfer_buf,
client             58 drivers/input/misc/ad714x-i2c.c 		error = i2c_master_recv(client, (u8 *)chip->xfer_buf,
client             62 drivers/input/misc/ad714x-i2c.c 		dev_err(&client->dev, "I2C read error: %d\n", error);
client             72 drivers/input/misc/ad714x-i2c.c static int ad714x_i2c_probe(struct i2c_client *client,
client             77 drivers/input/misc/ad714x-i2c.c 	chip = ad714x_probe(&client->dev, BUS_I2C, client->irq,
client             82 drivers/input/misc/ad714x-i2c.c 	i2c_set_clientdata(client, chip);
client             20 drivers/input/misc/adxl34x-i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client             22 drivers/input/misc/adxl34x-i2c.c 	return i2c_smbus_read_byte_data(client, reg);
client             28 drivers/input/misc/adxl34x-i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client             30 drivers/input/misc/adxl34x-i2c.c 	return i2c_smbus_write_byte_data(client, reg, val);
client             37 drivers/input/misc/adxl34x-i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client             39 drivers/input/misc/adxl34x-i2c.c 	return i2c_smbus_read_i2c_block_data(client, reg, count, buf);
client             46 drivers/input/misc/adxl34x-i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client             49 drivers/input/misc/adxl34x-i2c.c 	ret = i2c_master_send(client, &reg, 1);
client             53 drivers/input/misc/adxl34x-i2c.c 	ret = i2c_master_recv(client, buf, count);
client             77 drivers/input/misc/adxl34x-i2c.c static int adxl34x_i2c_probe(struct i2c_client *client,
client             83 drivers/input/misc/adxl34x-i2c.c 	error = i2c_check_functionality(client->adapter,
client             86 drivers/input/misc/adxl34x-i2c.c 		dev_err(&client->dev, "SMBUS Byte Data not Supported\n");
client             90 drivers/input/misc/adxl34x-i2c.c 	ac = adxl34x_probe(&client->dev, client->irq, false,
client             91 drivers/input/misc/adxl34x-i2c.c 			   i2c_check_functionality(client->adapter,
client             97 drivers/input/misc/adxl34x-i2c.c 	i2c_set_clientdata(client, ac);
client            102 drivers/input/misc/adxl34x-i2c.c static int adxl34x_i2c_remove(struct i2c_client *client)
client            104 drivers/input/misc/adxl34x-i2c.c 	struct adxl34x *ac = i2c_get_clientdata(client);
client            111 drivers/input/misc/adxl34x-i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            112 drivers/input/misc/adxl34x-i2c.c 	struct adxl34x *ac = i2c_get_clientdata(client);
client            121 drivers/input/misc/adxl34x-i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            122 drivers/input/misc/adxl34x-i2c.c 	struct adxl34x *ac = i2c_get_clientdata(client);
client             55 drivers/input/misc/apanel.c 	struct i2c_client *client;
client             90 drivers/input/misc/apanel.c 	data = i2c_smbus_read_word_data(ap->client, cmd);
client             95 drivers/input/misc/apanel.c 	i2c_smbus_write_word_data(ap->client, cmd, 0);
client            112 drivers/input/misc/apanel.c 	return i2c_smbus_write_word_data(ap->client, 0x10, led_bits);
client            115 drivers/input/misc/apanel.c static int apanel_remove(struct i2c_client *client)
client            117 drivers/input/misc/apanel.c 	struct apanel *ap = i2c_get_clientdata(client);
client            128 drivers/input/misc/apanel.c static void apanel_shutdown(struct i2c_client *client)
client            130 drivers/input/misc/apanel.c 	apanel_remove(client);
client            169 drivers/input/misc/apanel.c static int apanel_probe(struct i2c_client *client,
client            185 drivers/input/misc/apanel.c 	ap->client = client;
client            187 drivers/input/misc/apanel.c 	i2c_set_clientdata(client, ap);
client            189 drivers/input/misc/apanel.c 	err = i2c_smbus_write_word_data(client, cmd, 0);
client            191 drivers/input/misc/apanel.c 		dev_warn(&client->dev, APANEL ": smbus write error %d\n",
client            204 drivers/input/misc/apanel.c 	idev->dev.parent = &client->dev;
client            221 drivers/input/misc/apanel.c 		err = led_classdev_register(&client->dev, &ap->mail_led);
client             69 drivers/input/misc/atmel_captouch.c 	struct i2c_client *client;
client             86 drivers/input/misc/atmel_captouch.c 	struct i2c_client *client = capdev->client;
client             87 drivers/input/misc/atmel_captouch.c 	struct device *dev = &client->dev;
client             97 drivers/input/misc/atmel_captouch.c 	msg[0].addr = client->addr;
client            102 drivers/input/misc/atmel_captouch.c 	msg[1].addr = client->addr;
client            107 drivers/input/misc/atmel_captouch.c 	err = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg));
client            131 drivers/input/misc/atmel_captouch.c 	struct device *dev = &capdev->client->dev;
client            164 drivers/input/misc/atmel_captouch.c static int atmel_captouch_probe(struct i2c_client *client,
client            168 drivers/input/misc/atmel_captouch.c 	struct device *dev = &client->dev;
client            173 drivers/input/misc/atmel_captouch.c 	if (!i2c_check_functionality(client->adapter,
client            185 drivers/input/misc/atmel_captouch.c 	capdev->client = client;
client            239 drivers/input/misc/atmel_captouch.c 	err = devm_request_threaded_irq(dev, client->irq,
client            245 drivers/input/misc/atmel_captouch.c 			client->irq, err);
client            125 drivers/input/misc/bma150.c 	struct i2c_client *client;
client            152 drivers/input/misc/bma150.c static int bma150_write_byte(struct i2c_client *client, u8 reg, u8 val)
client            157 drivers/input/misc/bma150.c 	if (client->irq)
client            158 drivers/input/misc/bma150.c 		disable_irq_nosync(client->irq);
client            160 drivers/input/misc/bma150.c 	ret = i2c_smbus_write_byte_data(client, reg, val);
client            162 drivers/input/misc/bma150.c 	if (client->irq)
client            163 drivers/input/misc/bma150.c 		enable_irq(client->irq);
client            168 drivers/input/misc/bma150.c static int bma150_set_reg_bits(struct i2c_client *client,
client            173 drivers/input/misc/bma150.c 	data = i2c_smbus_read_byte_data(client, reg);
client            178 drivers/input/misc/bma150.c 	return bma150_write_byte(client, reg, data);
client            185 drivers/input/misc/bma150.c 	error = bma150_set_reg_bits(bma150->client, mode, BMA150_WAKE_UP_POS,
client            190 drivers/input/misc/bma150.c 	error = bma150_set_reg_bits(bma150->client, mode, BMA150_SLEEP_POS,
client            206 drivers/input/misc/bma150.c 	error = bma150_set_reg_bits(bma150->client, 1, BMA150_SW_RES_POS,
client            217 drivers/input/misc/bma150.c 	return bma150_set_reg_bits(bma150->client, range, BMA150_RANGE_POS,
client            223 drivers/input/misc/bma150.c 	return bma150_set_reg_bits(bma150->client, bw, BMA150_BANDWIDTH_POS,
client            232 drivers/input/misc/bma150.c 	error = bma150_set_reg_bits(bma150->client, hyst,
client            238 drivers/input/misc/bma150.c 	error = bma150_write_byte(bma150->client, BMA150_LOW_G_DUR_REG, dur);
client            242 drivers/input/misc/bma150.c 	error = bma150_write_byte(bma150->client, BMA150_LOW_G_THRES_REG, thres);
client            246 drivers/input/misc/bma150.c 	return bma150_set_reg_bits(bma150->client, !!enable,
client            256 drivers/input/misc/bma150.c 	error = bma150_set_reg_bits(bma150->client, hyst,
client            262 drivers/input/misc/bma150.c 	error = bma150_write_byte(bma150->client,
client            267 drivers/input/misc/bma150.c 	error = bma150_write_byte(bma150->client,
client            272 drivers/input/misc/bma150.c 	return bma150_set_reg_bits(bma150->client, !!enable,
client            283 drivers/input/misc/bma150.c 	error = bma150_set_reg_bits(bma150->client, dur,
client            290 drivers/input/misc/bma150.c 	error = bma150_write_byte(bma150->client,
client            295 drivers/input/misc/bma150.c 	error = bma150_set_reg_bits(bma150->client, !!enable,
client            301 drivers/input/misc/bma150.c 	return bma150_set_reg_bits(bma150->client, !!enable,
client            313 drivers/input/misc/bma150.c 	ret = i2c_smbus_read_i2c_block_data(bma150->client,
client            348 drivers/input/misc/bma150.c 	error = pm_runtime_get_sync(&bma150->client->dev);
client            367 drivers/input/misc/bma150.c 	pm_runtime_put_sync(&bma150->client->dev);
client            418 drivers/input/misc/bma150.c 	if (bma150->client->irq) {
client            448 drivers/input/misc/bma150.c 	idev->dev.parent = &bma150->client->dev;
client            513 drivers/input/misc/bma150.c static int bma150_probe(struct i2c_client *client,
client            517 drivers/input/misc/bma150.c 			dev_get_platdata(&client->dev);
client            523 drivers/input/misc/bma150.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            524 drivers/input/misc/bma150.c 		dev_err(&client->dev, "i2c_check_functionality error\n");
client            528 drivers/input/misc/bma150.c 	chip_id = i2c_smbus_read_byte_data(client, BMA150_CHIP_ID_REG);
client            530 drivers/input/misc/bma150.c 		dev_err(&client->dev, "BMA150 chip id error: %d\n", chip_id);
client            538 drivers/input/misc/bma150.c 	bma150->client = client;
client            544 drivers/input/misc/bma150.c 				dev_err(&client->dev,
client            546 drivers/input/misc/bma150.c 					client->irq, error);
client            559 drivers/input/misc/bma150.c 	if (client->irq > 0) {
client            564 drivers/input/misc/bma150.c 		error = request_threaded_irq(client->irq,
client            569 drivers/input/misc/bma150.c 			dev_err(&client->dev,
client            571 drivers/input/misc/bma150.c 				client->irq, error);
client            581 drivers/input/misc/bma150.c 	i2c_set_clientdata(client, bma150);
client            583 drivers/input/misc/bma150.c 	pm_runtime_enable(&client->dev);
client            592 drivers/input/misc/bma150.c static int bma150_remove(struct i2c_client *client)
client            594 drivers/input/misc/bma150.c 	struct bma150_data *bma150 = i2c_get_clientdata(client);
client            596 drivers/input/misc/bma150.c 	pm_runtime_disable(&client->dev);
client            598 drivers/input/misc/bma150.c 	if (client->irq > 0) {
client            599 drivers/input/misc/bma150.c 		free_irq(client->irq, bma150);
client            614 drivers/input/misc/bma150.c 	struct i2c_client *client = to_i2c_client(dev);
client            615 drivers/input/misc/bma150.c 	struct bma150_data *bma150 = i2c_get_clientdata(client);
client            622 drivers/input/misc/bma150.c 	struct i2c_client *client = to_i2c_client(dev);
client            623 drivers/input/misc/bma150.c 	struct bma150_data *bma150 = i2c_get_clientdata(client);
client             17 drivers/input/misc/cma3000_d0x_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client             20 drivers/input/misc/cma3000_d0x_i2c.c 	ret = i2c_smbus_write_byte_data(client, reg, val);
client             22 drivers/input/misc/cma3000_d0x_i2c.c 		dev_err(&client->dev,
client             29 drivers/input/misc/cma3000_d0x_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client             32 drivers/input/misc/cma3000_d0x_i2c.c 	ret = i2c_smbus_read_byte_data(client, reg);
client             34 drivers/input/misc/cma3000_d0x_i2c.c 		dev_err(&client->dev,
client             47 drivers/input/misc/cma3000_d0x_i2c.c static int cma3000_i2c_probe(struct i2c_client *client,
client             52 drivers/input/misc/cma3000_d0x_i2c.c 	data = cma3000_init(&client->dev, client->irq, &cma3000_i2c_bops);
client             56 drivers/input/misc/cma3000_d0x_i2c.c 	i2c_set_clientdata(client, data);
client             61 drivers/input/misc/cma3000_d0x_i2c.c static int cma3000_i2c_remove(struct i2c_client *client)
client             63 drivers/input/misc/cma3000_d0x_i2c.c 	struct cma3000_accl_data *data = i2c_get_clientdata(client);
client             73 drivers/input/misc/cma3000_d0x_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client             74 drivers/input/misc/cma3000_d0x_i2c.c 	struct cma3000_accl_data *data = i2c_get_clientdata(client);
client             83 drivers/input/misc/cma3000_d0x_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client             84 drivers/input/misc/cma3000_d0x_i2c.c 	struct cma3000_accl_data *data = i2c_get_clientdata(client);
client            184 drivers/input/misc/drv260x.c 	struct i2c_client *client;
client            260 drivers/input/misc/drv260x.c 		dev_err(&haptics->client->dev,
client            266 drivers/input/misc/drv260x.c 			dev_err(&haptics->client->dev,
client            299 drivers/input/misc/drv260x.c 		dev_err(&haptics->client->dev,
client            352 drivers/input/misc/drv260x.c 		dev_err(&haptics->client->dev,
client            361 drivers/input/misc/drv260x.c 		dev_err(&haptics->client->dev,
client            373 drivers/input/misc/drv260x.c 			dev_err(&haptics->client->dev,
client            386 drivers/input/misc/drv260x.c 			dev_err(&haptics->client->dev,
client            396 drivers/input/misc/drv260x.c 			dev_err(&haptics->client->dev,
client            409 drivers/input/misc/drv260x.c 			dev_err(&haptics->client->dev,
client            419 drivers/input/misc/drv260x.c 			dev_err(&haptics->client->dev,
client            431 drivers/input/misc/drv260x.c 		dev_err(&haptics->client->dev,
client            440 drivers/input/misc/drv260x.c 			dev_err(&haptics->client->dev,
client            460 drivers/input/misc/drv260x.c static int drv260x_probe(struct i2c_client *client,
client            463 drivers/input/misc/drv260x.c 	struct device *dev = &client->dev;
client            551 drivers/input/misc/drv260x.c 	haptics->client = client;
client            552 drivers/input/misc/drv260x.c 	i2c_set_clientdata(client, haptics);
client            554 drivers/input/misc/drv260x.c 	haptics->regmap = devm_regmap_init_i2c(client, &drv260x_regmap_config);
client             55 drivers/input/misc/drv2665.c 	struct i2c_client *client;
client             85 drivers/input/misc/drv2665.c 		dev_err(&haptics->client->dev,
client             96 drivers/input/misc/drv2665.c 			dev_err(&haptics->client->dev,
client            123 drivers/input/misc/drv2665.c 		dev_err(&haptics->client->dev,
client            140 drivers/input/misc/drv2665.c 		dev_err(&haptics->client->dev,
client            159 drivers/input/misc/drv2665.c static int drv2665_probe(struct i2c_client *client,
client            165 drivers/input/misc/drv2665.c 	haptics = devm_kzalloc(&client->dev, sizeof(*haptics), GFP_KERNEL);
client            169 drivers/input/misc/drv2665.c 	haptics->regulator = devm_regulator_get(&client->dev, "vbat");
client            172 drivers/input/misc/drv2665.c 		dev_err(&client->dev,
client            177 drivers/input/misc/drv2665.c 	haptics->input_dev = devm_input_allocate_device(&client->dev);
client            179 drivers/input/misc/drv2665.c 		dev_err(&client->dev, "Failed to allocate input device\n");
client            184 drivers/input/misc/drv2665.c 	haptics->input_dev->dev.parent = client->dev.parent;
client            192 drivers/input/misc/drv2665.c 		dev_err(&client->dev, "input_ff_create() failed: %d\n",
client            199 drivers/input/misc/drv2665.c 	haptics->client = client;
client            200 drivers/input/misc/drv2665.c 	i2c_set_clientdata(client, haptics);
client            202 drivers/input/misc/drv2665.c 	haptics->regmap = devm_regmap_init_i2c(client, &drv2665_regmap_config);
client            205 drivers/input/misc/drv2665.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            212 drivers/input/misc/drv2665.c 		dev_err(&client->dev, "Device init failed: %d\n", error);
client            218 drivers/input/misc/drv2665.c 		dev_err(&client->dev, "couldn't register input device: %d\n",
client            102 drivers/input/misc/drv2667.c 	struct i2c_client *client;
client            138 drivers/input/misc/drv2667.c 		dev_err(&haptics->client->dev,
client            145 drivers/input/misc/drv2667.c 		dev_err(&haptics->client->dev,
client            155 drivers/input/misc/drv2667.c 			dev_err(&haptics->client->dev,
client            163 drivers/input/misc/drv2667.c 		dev_err(&haptics->client->dev,
client            171 drivers/input/misc/drv2667.c 			dev_err(&haptics->client->dev,
client            189 drivers/input/misc/drv2667.c 			dev_err(&haptics->client->dev,
client            197 drivers/input/misc/drv2667.c 			dev_err(&haptics->client->dev,
client            205 drivers/input/misc/drv2667.c 			dev_err(&haptics->client->dev,
client            213 drivers/input/misc/drv2667.c 			dev_err(&haptics->client->dev,
client            220 drivers/input/misc/drv2667.c 			dev_err(&haptics->client->dev,
client            253 drivers/input/misc/drv2667.c 		dev_err(&haptics->client->dev,
client            288 drivers/input/misc/drv2667.c 		dev_err(&haptics->client->dev,
client            296 drivers/input/misc/drv2667.c 		dev_err(&haptics->client->dev, "Failed to set page: %d\n",
client            309 drivers/input/misc/drv2667.c 		dev_err(&haptics->client->dev,
client            334 drivers/input/misc/drv2667.c static int drv2667_probe(struct i2c_client *client,
client            340 drivers/input/misc/drv2667.c 	haptics = devm_kzalloc(&client->dev, sizeof(*haptics), GFP_KERNEL);
client            344 drivers/input/misc/drv2667.c 	haptics->regulator = devm_regulator_get(&client->dev, "vbat");
client            347 drivers/input/misc/drv2667.c 		dev_err(&client->dev,
client            352 drivers/input/misc/drv2667.c 	haptics->input_dev = devm_input_allocate_device(&client->dev);
client            354 drivers/input/misc/drv2667.c 		dev_err(&client->dev, "Failed to allocate input device\n");
client            359 drivers/input/misc/drv2667.c 	haptics->input_dev->dev.parent = client->dev.parent;
client            367 drivers/input/misc/drv2667.c 		dev_err(&client->dev, "input_ff_create() failed: %d\n",
client            374 drivers/input/misc/drv2667.c 	haptics->client = client;
client            375 drivers/input/misc/drv2667.c 	i2c_set_clientdata(client, haptics);
client            377 drivers/input/misc/drv2667.c 	haptics->regmap = devm_regmap_init_i2c(client, &drv2667_regmap_config);
client            380 drivers/input/misc/drv2667.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            387 drivers/input/misc/drv2667.c 		dev_err(&client->dev, "Device init failed: %d\n", error);
client            393 drivers/input/misc/drv2667.c 		dev_err(&client->dev, "couldn't register input device: %d\n",
client            122 drivers/input/misc/gp2ap002a00f.c static int gp2a_probe(struct i2c_client *client,
client            125 drivers/input/misc/gp2ap002a00f.c 	const struct gp2a_platform_data *pdata = dev_get_platdata(&client->dev);
client            133 drivers/input/misc/gp2ap002a00f.c 		error = pdata->hw_setup(client);
client            149 drivers/input/misc/gp2ap002a00f.c 	dt->i2c_client = client;
client            167 drivers/input/misc/gp2ap002a00f.c 	dt->input->dev.parent = &client->dev;
client            171 drivers/input/misc/gp2ap002a00f.c 	error = request_threaded_irq(client->irq, NULL, gp2a_irq,
client            176 drivers/input/misc/gp2ap002a00f.c 		dev_err(&client->dev, "irq request failed\n");
client            182 drivers/input/misc/gp2ap002a00f.c 		dev_err(&client->dev, "device registration failed\n");
client            186 drivers/input/misc/gp2ap002a00f.c 	device_init_wakeup(&client->dev, pdata->wakeup);
client            187 drivers/input/misc/gp2ap002a00f.c 	i2c_set_clientdata(client, dt);
client            192 drivers/input/misc/gp2ap002a00f.c 	free_irq(client->irq, dt);
client            201 drivers/input/misc/gp2ap002a00f.c 		pdata->hw_shutdown(client);
client            205 drivers/input/misc/gp2ap002a00f.c static int gp2a_remove(struct i2c_client *client)
client            207 drivers/input/misc/gp2ap002a00f.c 	struct gp2a_data *dt = i2c_get_clientdata(client);
client            210 drivers/input/misc/gp2ap002a00f.c 	free_irq(client->irq, dt);
client            218 drivers/input/misc/gp2ap002a00f.c 		pdata->hw_shutdown(client);
client            225 drivers/input/misc/gp2ap002a00f.c 	struct i2c_client *client = to_i2c_client(dev);
client            226 drivers/input/misc/gp2ap002a00f.c 	struct gp2a_data *dt = i2c_get_clientdata(client);
client            229 drivers/input/misc/gp2ap002a00f.c 	if (device_may_wakeup(&client->dev)) {
client            230 drivers/input/misc/gp2ap002a00f.c 		enable_irq_wake(client->irq);
client            243 drivers/input/misc/gp2ap002a00f.c 	struct i2c_client *client = to_i2c_client(dev);
client            244 drivers/input/misc/gp2ap002a00f.c 	struct gp2a_data *dt = i2c_get_clientdata(client);
client            247 drivers/input/misc/gp2ap002a00f.c 	if (device_may_wakeup(&client->dev)) {
client            248 drivers/input/misc/gp2ap002a00f.c 		disable_irq_wake(client->irq);
client             71 drivers/input/misc/kxtj9.c 	struct i2c_client *client;
client             88 drivers/input/misc/kxtj9.c 			.addr = tj9->client->addr,
client             89 drivers/input/misc/kxtj9.c 			.flags = tj9->client->flags,
client             94 drivers/input/misc/kxtj9.c 			.addr = tj9->client->addr,
client             95 drivers/input/misc/kxtj9.c 			.flags = tj9->client->flags | I2C_M_RD,
client            101 drivers/input/misc/kxtj9.c 	return i2c_transfer(tj9->client->adapter, msgs, 2);
client            112 drivers/input/misc/kxtj9.c 		dev_err(&tj9->client->dev, "accelerometer data read failed\n");
client            136 drivers/input/misc/kxtj9.c 	err = i2c_smbus_read_byte_data(tj9->client, INT_REL);
client            138 drivers/input/misc/kxtj9.c 		dev_err(&tj9->client->dev,
client            178 drivers/input/misc/kxtj9.c 	err = i2c_smbus_write_byte_data(tj9->client, CTRL_REG1, 0);
client            182 drivers/input/misc/kxtj9.c 	err = i2c_smbus_write_byte_data(tj9->client, DATA_CTRL, tj9->data_ctrl);
client            186 drivers/input/misc/kxtj9.c 	err = i2c_smbus_write_byte_data(tj9->client, CTRL_REG1, tj9->ctrl_reg1);
client            206 drivers/input/misc/kxtj9.c 	err = i2c_smbus_write_byte_data(tj9->client, CTRL_REG1, tj9->ctrl_reg1);
client            208 drivers/input/misc/kxtj9.c 		dev_err(&tj9->client->dev, "soft power off failed\n");
client            223 drivers/input/misc/kxtj9.c 	err = i2c_smbus_write_byte_data(tj9->client, CTRL_REG1, 0);
client            228 drivers/input/misc/kxtj9.c 	if (tj9->client->irq) {
client            229 drivers/input/misc/kxtj9.c 		err = i2c_smbus_write_byte_data(tj9->client,
client            241 drivers/input/misc/kxtj9.c 	err = i2c_smbus_write_byte_data(tj9->client, CTRL_REG1, tj9->ctrl_reg1);
client            250 drivers/input/misc/kxtj9.c 	if (tj9->client->irq) {
client            251 drivers/input/misc/kxtj9.c 		err = i2c_smbus_read_byte_data(tj9->client, INT_REL);
client            253 drivers/input/misc/kxtj9.c 			dev_err(&tj9->client->dev,
client            295 drivers/input/misc/kxtj9.c 	input_dev->dev.parent = &tj9->client->dev;
client            305 drivers/input/misc/kxtj9.c 		dev_err(&tj9->client->dev, "input device allocate failed\n");
client            319 drivers/input/misc/kxtj9.c 		dev_err(&tj9->client->dev,
client            344 drivers/input/misc/kxtj9.c 	struct i2c_client *client = to_i2c_client(dev);
client            345 drivers/input/misc/kxtj9.c 	struct kxtj9_data *tj9 = i2c_get_clientdata(client);
client            354 drivers/input/misc/kxtj9.c 	struct i2c_client *client = to_i2c_client(dev);
client            355 drivers/input/misc/kxtj9.c 	struct kxtj9_data *tj9 = i2c_get_clientdata(client);
client            367 drivers/input/misc/kxtj9.c 	disable_irq(client->irq);
client            377 drivers/input/misc/kxtj9.c 	enable_irq(client->irq);
client            430 drivers/input/misc/kxtj9.c 		dev_err(&tj9->client->dev,
client            447 drivers/input/misc/kxtj9.c 		dev_err(&tj9->client->dev,
client            483 drivers/input/misc/kxtj9.c 	retval = i2c_smbus_read_byte_data(tj9->client, WHO_AM_I);
client            485 drivers/input/misc/kxtj9.c 		dev_err(&tj9->client->dev, "read err int source\n");
client            496 drivers/input/misc/kxtj9.c static int kxtj9_probe(struct i2c_client *client,
client            500 drivers/input/misc/kxtj9.c 			dev_get_platdata(&client->dev);
client            504 drivers/input/misc/kxtj9.c 	if (!i2c_check_functionality(client->adapter,
client            506 drivers/input/misc/kxtj9.c 		dev_err(&client->dev, "client is not i2c capable\n");
client            511 drivers/input/misc/kxtj9.c 		dev_err(&client->dev, "platform data is NULL; exiting\n");
client            517 drivers/input/misc/kxtj9.c 		dev_err(&client->dev,
client            522 drivers/input/misc/kxtj9.c 	tj9->client = client;
client            533 drivers/input/misc/kxtj9.c 		dev_err(&client->dev, "device not recognized\n");
client            537 drivers/input/misc/kxtj9.c 	i2c_set_clientdata(client, tj9);
client            542 drivers/input/misc/kxtj9.c 	if (client->irq) {
client            551 drivers/input/misc/kxtj9.c 		err = request_threaded_irq(client->irq, NULL, kxtj9_isr,
client            555 drivers/input/misc/kxtj9.c 			dev_err(&client->dev, "request irq failed: %d\n", err);
client            559 drivers/input/misc/kxtj9.c 		err = sysfs_create_group(&client->dev.kobj, &kxtj9_attribute_group);
client            561 drivers/input/misc/kxtj9.c 			dev_err(&client->dev, "sysfs create failed: %d\n", err);
client            574 drivers/input/misc/kxtj9.c 	free_irq(client->irq, tj9);
client            585 drivers/input/misc/kxtj9.c static int kxtj9_remove(struct i2c_client *client)
client            587 drivers/input/misc/kxtj9.c 	struct kxtj9_data *tj9 = i2c_get_clientdata(client);
client            589 drivers/input/misc/kxtj9.c 	if (client->irq) {
client            590 drivers/input/misc/kxtj9.c 		sysfs_remove_group(&client->dev.kobj, &kxtj9_attribute_group);
client            591 drivers/input/misc/kxtj9.c 		free_irq(client->irq, tj9);
client            607 drivers/input/misc/kxtj9.c 	struct i2c_client *client = to_i2c_client(dev);
client            608 drivers/input/misc/kxtj9.c 	struct kxtj9_data *tj9 = i2c_get_clientdata(client);
client            622 drivers/input/misc/kxtj9.c 	struct i2c_client *client = to_i2c_client(dev);
client            623 drivers/input/misc/kxtj9.c 	struct kxtj9_data *tj9 = i2c_get_clientdata(client);
client             34 drivers/input/misc/max8997_haptic.c 	struct i2c_client *client;
client             75 drivers/input/misc/max8997_haptic.c 			max8997_write_reg(chip->client,
client             79 drivers/input/misc/max8997_haptic.c 			max8997_write_reg(chip->client,
client             83 drivers/input/misc/max8997_haptic.c 			max8997_write_reg(chip->client,
client             87 drivers/input/misc/max8997_haptic.c 			max8997_write_reg(chip->client,
client            104 drivers/input/misc/max8997_haptic.c 	max8997_write_reg(chip->client, MAX8997_HAPTIC_REG_CONF2, value);
client            111 drivers/input/misc/max8997_haptic.c 		max8997_write_reg(chip->client,
client            117 drivers/input/misc/max8997_haptic.c 			max8997_write_reg(chip->client,
client            120 drivers/input/misc/max8997_haptic.c 			max8997_write_reg(chip->client,
client            126 drivers/input/misc/max8997_haptic.c 			max8997_write_reg(chip->client,
client            129 drivers/input/misc/max8997_haptic.c 			max8997_write_reg(chip->client,
client            135 drivers/input/misc/max8997_haptic.c 			max8997_write_reg(chip->client,
client            138 drivers/input/misc/max8997_haptic.c 			max8997_write_reg(chip->client,
client            144 drivers/input/misc/max8997_haptic.c 			max8997_write_reg(chip->client,
client            147 drivers/input/misc/max8997_haptic.c 			max8997_write_reg(chip->client,
client            268 drivers/input/misc/max8997_haptic.c 	chip->client = iodev->haptic;
client             44 drivers/input/misc/mma8450.c 	struct i2c_client	*client;
client             50 drivers/input/misc/mma8450.c 	struct i2c_client *c = m->client;
client             64 drivers/input/misc/mma8450.c 	struct i2c_client *c = m->client;
client             81 drivers/input/misc/mma8450.c 	struct i2c_client *c = m->client;
client            172 drivers/input/misc/mma8450.c 	m->client = c;
client             40 drivers/input/misc/pcf8574_keypad.c 	struct i2c_client *client;
client             50 drivers/input/misc/pcf8574_keypad.c 	i2c_smbus_write_byte(lp->client, 240);
client             51 drivers/input/misc/pcf8574_keypad.c 	x = 0xF & (~(i2c_smbus_read_byte(lp->client) >> 4));
client             53 drivers/input/misc/pcf8574_keypad.c 	i2c_smbus_write_byte(lp->client, 15);
client             54 drivers/input/misc/pcf8574_keypad.c 	y = 0xF & (~i2c_smbus_read_byte(lp->client));
client             83 drivers/input/misc/pcf8574_keypad.c static int pcf8574_kp_probe(struct i2c_client *client, const struct i2c_device_id *id)
client             89 drivers/input/misc/pcf8574_keypad.c 	if (i2c_smbus_write_byte(client, 240) < 0) {
client             90 drivers/input/misc/pcf8574_keypad.c 		dev_err(&client->dev, "probe: write fail\n");
client            100 drivers/input/misc/pcf8574_keypad.c 		dev_err(&client->dev, "Can't allocate input device\n");
client            106 drivers/input/misc/pcf8574_keypad.c 	lp->client = client;
client            133 drivers/input/misc/pcf8574_keypad.c 	ret = request_threaded_irq(client->irq, NULL, pcf8574_kp_irq_handler,
client            137 drivers/input/misc/pcf8574_keypad.c 		dev_err(&client->dev, "IRQ %d is not free\n", client->irq);
client            143 drivers/input/misc/pcf8574_keypad.c 		dev_err(&client->dev, "input_register_device() failed\n");
client            147 drivers/input/misc/pcf8574_keypad.c 	i2c_set_clientdata(client, lp);
client            151 drivers/input/misc/pcf8574_keypad.c 	free_irq(client->irq, lp);
client            160 drivers/input/misc/pcf8574_keypad.c static int pcf8574_kp_remove(struct i2c_client *client)
client            162 drivers/input/misc/pcf8574_keypad.c 	struct kp_data *lp = i2c_get_clientdata(client);
client            164 drivers/input/misc/pcf8574_keypad.c 	free_irq(client->irq, lp);
client            175 drivers/input/misc/pcf8574_keypad.c 	struct i2c_client *client = to_i2c_client(dev);
client            177 drivers/input/misc/pcf8574_keypad.c 	enable_irq(client->irq);
client            184 drivers/input/misc/pcf8574_keypad.c 	struct i2c_client *client = to_i2c_client(dev);
client            186 drivers/input/misc/pcf8574_keypad.c 	disable_irq(client->irq);
client             94 drivers/input/mouse/cyapa.c 	struct i2c_client *client = cyapa->client;
client             97 drivers/input/mouse/cyapa.c 			.addr = client->addr,
client            103 drivers/input/mouse/cyapa.c 			.addr = client->addr,
client            111 drivers/input/mouse/cyapa.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            131 drivers/input/mouse/cyapa.c 	struct i2c_client *client = cyapa->client;
client            141 drivers/input/mouse/cyapa.c 	ret = i2c_master_send(client, buf, len + 1);
client            148 drivers/input/mouse/cyapa.c static u8 cyapa_check_adapter_functionality(struct i2c_client *client)
client            152 drivers/input/mouse/cyapa.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            154 drivers/input/mouse/cyapa.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA |
client            169 drivers/input/mouse/cyapa.c 	bool even_addr = ((cyapa->client->addr & 0x0001) == 0);
client            350 drivers/input/mouse/cyapa.c 	struct device *dev = &cyapa->client->dev;
client            371 drivers/input/mouse/cyapa.c 	struct i2c_client *client = cyapa->client;
client            372 drivers/input/mouse/cyapa.c 	struct device *dev = &client->dev;
client            399 drivers/input/mouse/cyapa.c 	enable_irq(client->irq);
client            416 drivers/input/mouse/cyapa.c 	struct i2c_client *client = cyapa->client;
client            417 drivers/input/mouse/cyapa.c 	struct device *dev = &cyapa->client->dev;
client            421 drivers/input/mouse/cyapa.c 	disable_irq(client->irq);
client            435 drivers/input/mouse/cyapa.c 	struct device *dev = &cyapa->client->dev;
client            453 drivers/input/mouse/cyapa.c 	input->dev.parent = &cyapa->client->dev;
client            541 drivers/input/mouse/cyapa.c 			enable_irq(cyapa->client->irq);
client            551 drivers/input/mouse/cyapa.c 			disable_irq(cyapa->client->irq);
client            629 drivers/input/mouse/cyapa.c 	struct device *dev = &cyapa->client->dev;
client            679 drivers/input/mouse/cyapa.c 	struct device *dev = &cyapa->client->dev;
client            824 drivers/input/mouse/cyapa.c 	sysfs_unmerge_group(&cyapa->client->dev.kobj,
client            830 drivers/input/mouse/cyapa.c 	struct i2c_client *client = cyapa->client;
client            831 drivers/input/mouse/cyapa.c 	struct device *dev = &client->dev;
client            940 drivers/input/mouse/cyapa.c 	sysfs_unmerge_group(&cyapa->client->dev.kobj,
client            946 drivers/input/mouse/cyapa.c 	struct device *dev = &cyapa->client->dev;
client           1015 drivers/input/mouse/cyapa.c 	struct device *dev = &cyapa->client->dev;
client           1248 drivers/input/mouse/cyapa.c static int cyapa_probe(struct i2c_client *client,
client           1251 drivers/input/mouse/cyapa.c 	struct device *dev = &client->dev;
client           1257 drivers/input/mouse/cyapa.c 	adapter_func = cyapa_check_adapter_functionality(client);
client           1264 drivers/input/mouse/cyapa.c 	if (i2c_smbus_xfer(client->adapter, client->addr, 0,
client           1276 drivers/input/mouse/cyapa.c 	cyapa->client = client;
client           1277 drivers/input/mouse/cyapa.c 	i2c_set_clientdata(client, cyapa);
client           1278 drivers/input/mouse/cyapa.c 	sprintf(cyapa->phys, "i2c-%d-%04x/input0", client->adapter->nr,
client           1279 drivers/input/mouse/cyapa.c 		client->addr);
client           1326 drivers/input/mouse/cyapa.c 	error = devm_request_threaded_irq(dev, client->irq,
client           1336 drivers/input/mouse/cyapa.c 	disable_irq(client->irq);
client           1357 drivers/input/mouse/cyapa.c 	struct i2c_client *client = to_i2c_client(dev);
client           1358 drivers/input/mouse/cyapa.c 	struct cyapa *cyapa = i2c_get_clientdata(client);
client           1373 drivers/input/mouse/cyapa.c 	disable_irq(client->irq);
client           1397 drivers/input/mouse/cyapa.c 		cyapa->irq_wake = (enable_irq_wake(client->irq) == 0);
client           1405 drivers/input/mouse/cyapa.c 	struct i2c_client *client = to_i2c_client(dev);
client           1406 drivers/input/mouse/cyapa.c 	struct cyapa *cyapa = i2c_get_clientdata(client);
client           1412 drivers/input/mouse/cyapa.c 		disable_irq_wake(client->irq);
client           1424 drivers/input/mouse/cyapa.c 	enable_irq(client->irq);
client            337 drivers/input/mouse/cyapa.h 	struct i2c_client *client;
client            251 drivers/input/mouse/cyapa_gen3.c 	struct i2c_client *client = cyapa->client;
client            259 drivers/input/mouse/cyapa_gen3.c 		ret = i2c_smbus_read_block_data(client, smbus_cmd, values);
client            268 drivers/input/mouse/cyapa_gen3.c 		ret = i2c_smbus_read_block_data(client, smbus_cmd, buf);
client            287 drivers/input/mouse/cyapa_gen3.c 	return i2c_smbus_read_byte_data(cyapa->client, cmd);
client            300 drivers/input/mouse/cyapa_gen3.c 	return i2c_smbus_write_byte_data(cyapa->client, cmd, value);
client            306 drivers/input/mouse/cyapa_gen3.c 	return i2c_smbus_read_i2c_block_data(cyapa->client, reg, len, values);
client            312 drivers/input/mouse/cyapa_gen3.c 	return i2c_smbus_write_i2c_block_data(cyapa->client, reg, len, values);
client            566 drivers/input/mouse/cyapa_gen3.c 	struct device *dev = &cyapa->client->dev;
client            720 drivers/input/mouse/cyapa_gen3.c 	struct device *dev = &cyapa->client->dev;
client           1059 drivers/input/mouse/cyapa_gen3.c 	struct device *dev = &cyapa->client->dev;
client           1184 drivers/input/mouse/cyapa_gen3.c 	struct device *dev = &cyapa->client->dev;
client            381 drivers/input/mouse/cyapa_gen5.c 	ret = i2c_master_recv(cyapa->client, buf, size);
client            398 drivers/input/mouse/cyapa_gen5.c 	ret = i2c_master_send(cyapa->client, buf, size);
client           1240 drivers/input/mouse/cyapa_gen5.c 	struct device *dev = &cyapa->client->dev;
client           1383 drivers/input/mouse/cyapa_gen5.c 	struct device *dev = &cyapa->client->dev;
client           1617 drivers/input/mouse/cyapa_gen5.c 	struct device *dev = &cyapa->client->dev;
client           2541 drivers/input/mouse/cyapa_gen5.c 	struct device *dev = &cyapa->client->dev;
client           2766 drivers/input/mouse/cyapa_gen5.c 	struct device *dev = &cyapa->client->dev;
client           2811 drivers/input/mouse/cyapa_gen5.c 	struct device *dev = &cyapa->client->dev;
client            430 drivers/input/mouse/cyapa_gen6.c 	struct device *dev = &cyapa->client->dev;
client            667 drivers/input/mouse/cyapa_gen6.c 	struct device *dev = &cyapa->client->dev;
client             47 drivers/input/mouse/elan_i2c.h 	int (*initialize)(struct i2c_client *client);
client             50 drivers/input/mouse/elan_i2c.h 	int (*set_mode)(struct i2c_client *client, u8 mode);
client             52 drivers/input/mouse/elan_i2c.h 	int (*calibrate)(struct i2c_client *client);
client             53 drivers/input/mouse/elan_i2c.h 	int (*calibrate_result)(struct i2c_client *client, u8 *val);
client             55 drivers/input/mouse/elan_i2c.h 	int (*get_baseline_data)(struct i2c_client *client,
client             58 drivers/input/mouse/elan_i2c.h 	int (*get_version)(struct i2c_client *client, bool iap, u8 *version);
client             59 drivers/input/mouse/elan_i2c.h 	int (*get_sm_version)(struct i2c_client *client,
client             61 drivers/input/mouse/elan_i2c.h 	int (*get_checksum)(struct i2c_client *client, bool iap, u16 *csum);
client             62 drivers/input/mouse/elan_i2c.h 	int (*get_product_id)(struct i2c_client *client, u16 *id);
client             64 drivers/input/mouse/elan_i2c.h 	int (*get_max)(struct i2c_client *client,
client             66 drivers/input/mouse/elan_i2c.h 	int (*get_resolution)(struct i2c_client *client,
client             68 drivers/input/mouse/elan_i2c.h 	int (*get_num_traces)(struct i2c_client *client,
client             72 drivers/input/mouse/elan_i2c.h 	int (*iap_get_mode)(struct i2c_client *client, enum tp_mode *mode);
client             73 drivers/input/mouse/elan_i2c.h 	int (*iap_reset)(struct i2c_client *client);
client             75 drivers/input/mouse/elan_i2c.h 	int (*prepare_fw_update)(struct i2c_client *client);
client             76 drivers/input/mouse/elan_i2c.h 	int (*write_fw_block)(struct i2c_client *client,
client             78 drivers/input/mouse/elan_i2c.h 	int (*finish_fw_update)(struct i2c_client *client,
client             81 drivers/input/mouse/elan_i2c.h 	int (*get_report)(struct i2c_client *client, u8 *report);
client             82 drivers/input/mouse/elan_i2c.h 	int (*get_pressure_adjustment)(struct i2c_client *client,
client             84 drivers/input/mouse/elan_i2c.h 	int (*get_pattern)(struct i2c_client *client, u8 *pattern);
client             62 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client	*client;
client            149 drivers/input/mouse/elan_i2c_core.c 		dev_err(&data->client->dev,
client            155 drivers/input/mouse/elan_i2c_core.c 		error = data->ops->power_control(data->client, true);
client            162 drivers/input/mouse/elan_i2c_core.c 	dev_err(&data->client->dev, "failed to enable power: %d\n", error);
client            172 drivers/input/mouse/elan_i2c_core.c 		error = data->ops->power_control(data->client, false);
client            176 drivers/input/mouse/elan_i2c_core.c 				dev_err(&data->client->dev,
client            180 drivers/input/mouse/elan_i2c_core.c 				data->ops->power_control(data->client, true);
client            190 drivers/input/mouse/elan_i2c_core.c 	dev_err(&data->client->dev, "failed to disable power: %d\n", error);
client            200 drivers/input/mouse/elan_i2c_core.c 		error = data->ops->sleep_control(data->client, true);
client            214 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->get_product_id(data->client, &data->product_id);
client            218 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->get_sm_version(data->client, &data->ic_type,
client            245 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = data->client;
client            249 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->initialize(client);
client            251 drivers/input/mouse/elan_i2c_core.c 		dev_err(&client->dev, "device initialize failed: %d\n", error);
client            265 drivers/input/mouse/elan_i2c_core.c 		error = data->ops->sleep_control(client, false);
client            267 drivers/input/mouse/elan_i2c_core.c 			dev_err(&client->dev,
client            277 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->set_mode(client, data->mode);
client            279 drivers/input/mouse/elan_i2c_core.c 		dev_err(&client->dev,
client            285 drivers/input/mouse/elan_i2c_core.c 		error = data->ops->sleep_control(client, false);
client            287 drivers/input/mouse/elan_i2c_core.c 			dev_err(&client->dev,
client            317 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->get_version(data->client, false, &data->fw_version);
client            321 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->get_checksum(data->client, false,
client            326 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->get_version(data->client, true, &data->iap_version);
client            330 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->get_pressure_adjustment(data->client,
client            335 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->get_pattern(data->client, &data->pattern);
client            347 drivers/input/mouse/elan_i2c_core.c 		dev_warn(&data->client->dev,
client            368 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = data->client;
client            374 drivers/input/mouse/elan_i2c_core.c 	if (device_property_read_u32(&client->dev,
client            376 drivers/input/mouse/elan_i2c_core.c 	    device_property_read_u32(&client->dev,
client            378 drivers/input/mouse/elan_i2c_core.c 		error = data->ops->get_max(data->client,
client            389 drivers/input/mouse/elan_i2c_core.c 	if (device_property_read_u32(&client->dev,
client            392 drivers/input/mouse/elan_i2c_core.c 	    device_property_read_u32(&client->dev,
client            395 drivers/input/mouse/elan_i2c_core.c 		error = data->ops->get_num_traces(data->client,
client            403 drivers/input/mouse/elan_i2c_core.c 	if (device_property_read_u32(&client->dev,
client            405 drivers/input/mouse/elan_i2c_core.c 	    device_property_read_u32(&client->dev,
client            407 drivers/input/mouse/elan_i2c_core.c 		error = data->ops->get_resolution(data->client,
client            419 drivers/input/mouse/elan_i2c_core.c 	if (device_property_read_bool(&client->dev, "elan,clickpad"))
client            422 drivers/input/mouse/elan_i2c_core.c 	if (device_property_read_bool(&client->dev, "elan,middle-button"))
client            440 drivers/input/mouse/elan_i2c_core.c 		error = data->ops->write_fw_block(data->client,
client            445 drivers/input/mouse/elan_i2c_core.c 		dev_dbg(&data->client->dev,
client            455 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = data->client;
client            456 drivers/input/mouse/elan_i2c_core.c 	struct device *dev = &client->dev;
client            463 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->prepare_fw_update(client);
client            489 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->finish_fw_update(client, &data->fw_completion);
client            493 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->get_checksum(client, true, &fw_checksum);
client            509 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = data->client;
client            512 drivers/input/mouse/elan_i2c_core.c 	dev_dbg(&client->dev, "Starting firmware update....\n");
client            514 drivers/input/mouse/elan_i2c_core.c 	disable_irq(client->irq);
client            519 drivers/input/mouse/elan_i2c_core.c 		dev_err(&client->dev, "firmware update failed: %d\n", retval);
client            520 drivers/input/mouse/elan_i2c_core.c 		data->ops->iap_reset(client);
client            528 drivers/input/mouse/elan_i2c_core.c 	enable_irq(client->irq);
client            542 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = to_i2c_client(dev);
client            543 drivers/input/mouse/elan_i2c_core.c 	struct elan_tp_data *data = i2c_get_clientdata(client);
client            552 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = to_i2c_client(dev);
client            553 drivers/input/mouse/elan_i2c_core.c 	struct elan_tp_data *data = i2c_get_clientdata(client);
client            563 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = to_i2c_client(dev);
client            564 drivers/input/mouse/elan_i2c_core.c 	struct elan_tp_data *data = i2c_get_clientdata(client);
client            573 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = to_i2c_client(dev);
client            574 drivers/input/mouse/elan_i2c_core.c 	struct elan_tp_data *data = i2c_get_clientdata(client);
client            583 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = to_i2c_client(dev);
client            584 drivers/input/mouse/elan_i2c_core.c 	struct elan_tp_data *data = i2c_get_clientdata(client);
client            645 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = to_i2c_client(dev);
client            646 drivers/input/mouse/elan_i2c_core.c 	struct elan_tp_data *data = i2c_get_clientdata(client);
client            656 drivers/input/mouse/elan_i2c_core.c 	disable_irq(client->irq);
client            659 drivers/input/mouse/elan_i2c_core.c 	retval = data->ops->set_mode(client, data->mode);
client            666 drivers/input/mouse/elan_i2c_core.c 	retval = data->ops->calibrate(client);
client            678 drivers/input/mouse/elan_i2c_core.c 		retval = data->ops->calibrate_result(client, val);
client            694 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->set_mode(data->client, data->mode);
client            702 drivers/input/mouse/elan_i2c_core.c 	enable_irq(client->irq);
client            711 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = to_i2c_client(dev);
client            712 drivers/input/mouse/elan_i2c_core.c 	struct elan_tp_data *data = i2c_get_clientdata(client);
client            720 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->iap_get_mode(data->client, &mode);
client            759 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = to_i2c_client(dev);
client            760 drivers/input/mouse/elan_i2c_core.c 	struct elan_tp_data *data = i2c_get_clientdata(client);
client            768 drivers/input/mouse/elan_i2c_core.c 	disable_irq(client->irq);
client            773 drivers/input/mouse/elan_i2c_core.c 	retval = data->ops->set_mode(data->client, data->mode);
client            782 drivers/input/mouse/elan_i2c_core.c 	retval = data->ops->get_baseline_data(data->client, true,
client            790 drivers/input/mouse/elan_i2c_core.c 	retval = data->ops->get_baseline_data(data->client, false,
client            802 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->set_mode(data->client, data->mode);
client            810 drivers/input/mouse/elan_i2c_core.c 	enable_irq(client->irq);
client            818 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = to_i2c_client(dev);
client            819 drivers/input/mouse/elan_i2c_core.c 	struct elan_tp_data *data = i2c_get_clientdata(client);
client            841 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = to_i2c_client(dev);
client            842 drivers/input/mouse/elan_i2c_core.c 	struct elan_tp_data *data = i2c_get_clientdata(client);
client            978 drivers/input/mouse/elan_i2c_core.c 		dev_warn_once(&data->client->dev,
client           1001 drivers/input/mouse/elan_i2c_core.c 	struct device *dev = &data->client->dev;
client           1015 drivers/input/mouse/elan_i2c_core.c 	error = data->ops->get_report(data->client, report);
client           1045 drivers/input/mouse/elan_i2c_core.c 	struct device *dev = &data->client->dev;
client           1074 drivers/input/mouse/elan_i2c_core.c 	struct device *dev = &data->client->dev;
client           1141 drivers/input/mouse/elan_i2c_core.c static int elan_probe(struct i2c_client *client,
client           1145 drivers/input/mouse/elan_i2c_core.c 	struct device *dev = &client->dev;
client           1151 drivers/input/mouse/elan_i2c_core.c 	    i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client           1154 drivers/input/mouse/elan_i2c_core.c 		   i2c_check_functionality(client->adapter,
client           1168 drivers/input/mouse/elan_i2c_core.c 	i2c_set_clientdata(client, data);
client           1171 drivers/input/mouse/elan_i2c_core.c 	data->client = client;
client           1198 drivers/input/mouse/elan_i2c_core.c 	error = i2c_smbus_read_byte(client);
client           1200 drivers/input/mouse/elan_i2c_core.c 		dev_dbg(&client->dev, "nothing at this address: %d\n", error);
client           1241 drivers/input/mouse/elan_i2c_core.c 	if (device_property_read_bool(&client->dev, "elan,trackpoint")) {
client           1252 drivers/input/mouse/elan_i2c_core.c 	irqflags = irq_get_trigger_type(client->irq);
client           1256 drivers/input/mouse/elan_i2c_core.c 	error = devm_request_threaded_irq(dev, client->irq, NULL, elan_isr,
client           1258 drivers/input/mouse/elan_i2c_core.c 					  client->name, data);
client           1260 drivers/input/mouse/elan_i2c_core.c 		dev_err(dev, "cannot register irq=%d\n", client->irq);
client           1279 drivers/input/mouse/elan_i2c_core.c 			dev_err(&client->dev,
client           1298 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = to_i2c_client(dev);
client           1299 drivers/input/mouse/elan_i2c_core.c 	struct elan_tp_data *data = i2c_get_clientdata(client);
client           1311 drivers/input/mouse/elan_i2c_core.c 	disable_irq(client->irq);
client           1316 drivers/input/mouse/elan_i2c_core.c 		data->irq_wake = (enable_irq_wake(client->irq) == 0);
client           1327 drivers/input/mouse/elan_i2c_core.c 	struct i2c_client *client = to_i2c_client(dev);
client           1328 drivers/input/mouse/elan_i2c_core.c 	struct elan_tp_data *data = i2c_get_clientdata(client);
client           1332 drivers/input/mouse/elan_i2c_core.c 		disable_irq_wake(client->irq);
client           1347 drivers/input/mouse/elan_i2c_core.c 	enable_irq(data->client->irq);
client             67 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_read_block(struct i2c_client *client,
client             75 drivers/input/mouse/elan_i2c_i2c.c 			.addr = client->addr,
client             76 drivers/input/mouse/elan_i2c_i2c.c 			.flags = client->flags & I2C_M_TEN,
client             81 drivers/input/mouse/elan_i2c_i2c.c 			.addr = client->addr,
client             82 drivers/input/mouse/elan_i2c_i2c.c 			.flags = (client->flags & I2C_M_TEN) | I2C_M_RD,
client             89 drivers/input/mouse/elan_i2c_i2c.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client             93 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_read_cmd(struct i2c_client *client, u16 reg, u8 *val)
client             97 drivers/input/mouse/elan_i2c_i2c.c 	retval = elan_i2c_read_block(client, reg, val, ETP_I2C_INF_LENGTH);
client             99 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "reading cmd (0x%04x) fail.\n", reg);
client            106 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_write_cmd(struct i2c_client *client, u16 reg, u16 cmd)
client            113 drivers/input/mouse/elan_i2c_i2c.c 		.addr = client->addr,
client            114 drivers/input/mouse/elan_i2c_i2c.c 		.flags = client->flags & I2C_M_TEN,
client            120 drivers/input/mouse/elan_i2c_i2c.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            124 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "writing cmd (0x%04x) failed: %d\n",
client            132 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_initialize(struct i2c_client *client)
client            134 drivers/input/mouse/elan_i2c_i2c.c 	struct device *dev = &client->dev;
client            138 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_write_cmd(client, ETP_I2C_STAND_CMD, ETP_I2C_RESET);
client            148 drivers/input/mouse/elan_i2c_i2c.c 	error = i2c_master_recv(client, val, ETP_I2C_INF_LENGTH);
client            154 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_block(client, ETP_I2C_DESC_CMD,
client            161 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_block(client, ETP_I2C_REPORT_DESC_CMD,
client            171 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_sleep_control(struct i2c_client *client, bool sleep)
client            173 drivers/input/mouse/elan_i2c_i2c.c 	return elan_i2c_write_cmd(client, ETP_I2C_STAND_CMD,
client            177 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_power_control(struct i2c_client *client, bool enable)
client            183 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client, ETP_I2C_POWER_CMD, val);
client            185 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev,
client            197 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_write_cmd(client, ETP_I2C_POWER_CMD, reg);
client            199 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev,
client            208 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_set_mode(struct i2c_client *client, u8 mode)
client            210 drivers/input/mouse/elan_i2c_i2c.c 	return elan_i2c_write_cmd(client, ETP_I2C_SET_CMD, mode);
client            214 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_calibrate(struct i2c_client *client)
client            216 drivers/input/mouse/elan_i2c_i2c.c 	return elan_i2c_write_cmd(client, ETP_I2C_CALIBRATE_CMD, 1);
client            219 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_calibrate_result(struct i2c_client *client, u8 *val)
client            221 drivers/input/mouse/elan_i2c_i2c.c 	return elan_i2c_read_block(client, ETP_I2C_CALIBRATE_CMD, val, 1);
client            224 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_get_baseline_data(struct i2c_client *client,
client            230 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client,
client            242 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_get_pattern(struct i2c_client *client, u8 *pattern)
client            247 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client, ETP_I2C_PATTERN_CMD, val);
client            249 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "failed to get pattern: %d\n", error);
client            257 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_get_version(struct i2c_client *client,
client            264 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_get_pattern(client, &pattern_ver);
client            266 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "failed to get pattern version\n");
client            270 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client,
client            275 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "failed to get %s version: %d\n",
client            287 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_get_sm_version(struct i2c_client *client,
client            295 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_get_pattern(client, &pattern_ver);
client            297 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "failed to get pattern version\n");
client            302 drivers/input/mouse/elan_i2c_i2c.c 		error = elan_i2c_read_cmd(client, ETP_I2C_IC_TYPE_CMD, val);
client            304 drivers/input/mouse/elan_i2c_i2c.c 			dev_err(&client->dev, "failed to get ic type: %d\n",
client            310 drivers/input/mouse/elan_i2c_i2c.c 		error = elan_i2c_read_cmd(client, ETP_I2C_NSM_VERSION_CMD,
client            313 drivers/input/mouse/elan_i2c_i2c.c 			dev_err(&client->dev, "failed to get SM version: %d\n",
client            320 drivers/input/mouse/elan_i2c_i2c.c 		error = elan_i2c_read_cmd(client, ETP_I2C_OSM_VERSION_CMD, val);
client            322 drivers/input/mouse/elan_i2c_i2c.c 			dev_err(&client->dev, "failed to get SM version: %d\n",
client            329 drivers/input/mouse/elan_i2c_i2c.c 		error = elan_i2c_read_cmd(client, ETP_I2C_NSM_VERSION_CMD,
client            332 drivers/input/mouse/elan_i2c_i2c.c 			dev_err(&client->dev, "failed to get SM version: %d\n",
client            342 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_get_product_id(struct i2c_client *client, u16 *id)
client            347 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client, ETP_I2C_UNIQUEID_CMD, val);
client            349 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "failed to get product ID: %d\n", error);
client            357 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_get_checksum(struct i2c_client *client,
client            363 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client,
client            368 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "failed to get %s checksum: %d\n",
client            377 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_get_max(struct i2c_client *client,
client            383 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client, ETP_I2C_MAX_X_AXIS_CMD, val);
client            385 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "failed to get X dimension: %d\n", error);
client            391 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client, ETP_I2C_MAX_Y_AXIS_CMD, val);
client            393 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "failed to get Y dimension: %d\n", error);
client            402 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_get_resolution(struct i2c_client *client,
client            408 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client, ETP_I2C_RESOLUTION_CMD, val);
client            410 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "failed to get resolution: %d\n", error);
client            420 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_get_num_traces(struct i2c_client *client,
client            427 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client, ETP_I2C_XY_TRACENUM_CMD, val);
client            429 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "failed to get trace info: %d\n", error);
client            439 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_get_pressure_adjustment(struct i2c_client *client,
client            445 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client, ETP_I2C_PRESSURE_CMD, val);
client            447 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "failed to get pressure format: %d\n",
client            460 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_iap_get_mode(struct i2c_client *client, enum tp_mode *mode)
client            466 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client, ETP_I2C_IAP_CTRL_CMD, val);
client            468 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev,
client            475 drivers/input/mouse/elan_i2c_i2c.c 	dev_dbg(&client->dev, "iap control reg: 0x%04x.\n", constant);
client            482 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_iap_reset(struct i2c_client *client)
client            486 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_write_cmd(client, ETP_I2C_IAP_RESET_CMD,
client            489 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "cannot reset IC: %d\n", error);
client            496 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_set_flash_key(struct i2c_client *client)
client            500 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_write_cmd(client, ETP_I2C_IAP_CMD,
client            503 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "cannot set flash key: %d\n", error);
client            510 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_prepare_fw_update(struct i2c_client *client)
client            512 drivers/input/mouse/elan_i2c_i2c.c 	struct device *dev = &client->dev;
client            519 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_iap_get_mode(client, &mode);
client            525 drivers/input/mouse/elan_i2c_i2c.c 		error = elan_i2c_iap_reset(client);
client            533 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_set_flash_key(client);
client            541 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_iap_get_mode(client, &mode);
client            551 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_set_flash_key(client);
client            559 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client, ETP_I2C_IAP_CMD, val);
client            575 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_write_fw_block(struct i2c_client *client,
client            578 drivers/input/mouse/elan_i2c_i2c.c 	struct device *dev = &client->dev;
client            590 drivers/input/mouse/elan_i2c_i2c.c 	ret = i2c_master_send(client, page_store, sizeof(page_store));
client            600 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_read_cmd(client, ETP_I2C_IAP_CTRL_CMD, val);
client            616 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_finish_fw_update(struct i2c_client *client,
client            619 drivers/input/mouse/elan_i2c_i2c.c 	struct device *dev = &client->dev;
client            624 drivers/input/mouse/elan_i2c_i2c.c 	len = i2c_master_recv(client, buffer, ETP_I2C_REPORT_LEN);
client            632 drivers/input/mouse/elan_i2c_i2c.c 	enable_irq(client->irq);
client            634 drivers/input/mouse/elan_i2c_i2c.c 	error = elan_i2c_write_cmd(client, ETP_I2C_STAND_CMD, ETP_I2C_RESET);
client            643 drivers/input/mouse/elan_i2c_i2c.c 	disable_irq(client->irq);
client            648 drivers/input/mouse/elan_i2c_i2c.c 	len = i2c_master_recv(client, buffer, ETP_I2C_INF_LENGTH);
client            659 drivers/input/mouse/elan_i2c_i2c.c static int elan_i2c_get_report(struct i2c_client *client, u8 *report)
client            663 drivers/input/mouse/elan_i2c_i2c.c 	len = i2c_master_recv(client, report, ETP_I2C_REPORT_LEN);
client            665 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev, "failed to read report data: %d\n", len);
client            670 drivers/input/mouse/elan_i2c_i2c.c 		dev_err(&client->dev,
client             53 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_initialize(struct i2c_client *client)
client             60 drivers/input/mouse/elan_i2c_smbus.c 	len = i2c_smbus_read_block_data(client,
client             63 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "hello packet length fail: %d\n", len);
client             70 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "hello packet fail [%*ph]\n",
client             76 drivers/input/mouse/elan_i2c_smbus.c 	error = i2c_smbus_write_byte(client, ETP_SMBUS_ENABLE_TP);
client             78 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "failed to enable touchpad: %d\n", error);
client             85 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_set_mode(struct i2c_client *client, u8 mode)
client             89 drivers/input/mouse/elan_i2c_smbus.c 	return i2c_smbus_write_block_data(client, ETP_SMBUS_IAP_CMD,
client             93 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_sleep_control(struct i2c_client *client, bool sleep)
client             96 drivers/input/mouse/elan_i2c_smbus.c 		return i2c_smbus_write_byte(client, ETP_SMBUS_SLEEP_CMD);
client            101 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_power_control(struct i2c_client *client, bool enable)
client            106 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_calibrate(struct i2c_client *client)
client            110 drivers/input/mouse/elan_i2c_smbus.c 	return i2c_smbus_write_block_data(client, ETP_SMBUS_IAP_CMD,
client            114 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_calibrate_result(struct i2c_client *client, u8 *val)
client            121 drivers/input/mouse/elan_i2c_smbus.c 	error = i2c_smbus_read_block_data(client,
client            130 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_get_baseline_data(struct i2c_client *client,
client            136 drivers/input/mouse/elan_i2c_smbus.c 	error = i2c_smbus_read_block_data(client,
client            149 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_get_version(struct i2c_client *client,
client            155 drivers/input/mouse/elan_i2c_smbus.c 	error = i2c_smbus_read_block_data(client,
client            160 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "failed to get %s version: %d\n",
client            169 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_get_sm_version(struct i2c_client *client,
client            176 drivers/input/mouse/elan_i2c_smbus.c 	error = i2c_smbus_read_block_data(client,
client            179 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "failed to get SM version: %d\n", error);
client            189 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_get_product_id(struct i2c_client *client, u16 *id)
client            194 drivers/input/mouse/elan_i2c_smbus.c 	error = i2c_smbus_read_block_data(client,
client            197 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "failed to get product ID: %d\n", error);
client            205 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_get_checksum(struct i2c_client *client,
client            211 drivers/input/mouse/elan_i2c_smbus.c 	error = i2c_smbus_read_block_data(client,
client            216 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "failed to get %s checksum: %d\n",
client            225 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_get_max(struct i2c_client *client,
client            232 drivers/input/mouse/elan_i2c_smbus.c 	ret = i2c_smbus_read_block_data(client, ETP_SMBUS_RANGE_CMD, val);
client            235 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "failed to get dimensions: %d\n", error);
client            245 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_get_resolution(struct i2c_client *client,
client            252 drivers/input/mouse/elan_i2c_smbus.c 	ret = i2c_smbus_read_block_data(client, ETP_SMBUS_RESOLUTION_CMD, val);
client            255 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "failed to get resolution: %d\n", error);
client            265 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_get_num_traces(struct i2c_client *client,
client            273 drivers/input/mouse/elan_i2c_smbus.c 	ret = i2c_smbus_read_block_data(client, ETP_SMBUS_XY_TRACENUM_CMD, val);
client            276 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "failed to get trace info: %d\n", error);
client            286 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_get_pressure_adjustment(struct i2c_client *client,
client            293 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_iap_get_mode(struct i2c_client *client,
client            300 drivers/input/mouse/elan_i2c_smbus.c 	error = i2c_smbus_read_block_data(client, ETP_SMBUS_IAP_CTRL_CMD, val);
client            302 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "failed to read iap ctrol register: %d\n",
client            308 drivers/input/mouse/elan_i2c_smbus.c 	dev_dbg(&client->dev, "iap control reg: 0x%04x.\n", constant);
client            315 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_iap_reset(struct i2c_client *client)
client            319 drivers/input/mouse/elan_i2c_smbus.c 	error = i2c_smbus_write_byte(client, ETP_SMBUS_IAP_RESET_CMD);
client            321 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "cannot reset IC: %d\n", error);
client            328 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_set_flash_key(struct i2c_client *client)
client            333 drivers/input/mouse/elan_i2c_smbus.c 	error = i2c_smbus_write_block_data(client, ETP_SMBUS_IAP_CMD,
client            336 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "cannot set flash key: %d\n", error);
client            343 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_prepare_fw_update(struct i2c_client *client)
client            345 drivers/input/mouse/elan_i2c_smbus.c 	struct device *dev = &client->dev;
client            354 drivers/input/mouse/elan_i2c_smbus.c 	error = elan_smbus_iap_get_mode(client, &mode);
client            361 drivers/input/mouse/elan_i2c_smbus.c 		error = elan_smbus_set_flash_key(client);
client            366 drivers/input/mouse/elan_i2c_smbus.c 		if (i2c_smbus_write_byte(client,
client            372 drivers/input/mouse/elan_i2c_smbus.c 		error = i2c_smbus_write_block_data(client, ETP_SMBUS_IAP_CMD,
client            384 drivers/input/mouse/elan_i2c_smbus.c 		len = i2c_smbus_read_block_data(client,
client            404 drivers/input/mouse/elan_i2c_smbus.c 	error = elan_smbus_set_flash_key(client);
client            409 drivers/input/mouse/elan_i2c_smbus.c 	error = elan_smbus_iap_reset(client);
client            417 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_write_fw_block(struct i2c_client *client,
client            420 drivers/input/mouse/elan_i2c_smbus.c 	struct device *dev = &client->dev;
client            430 drivers/input/mouse/elan_i2c_smbus.c 	error = i2c_smbus_write_block_data(client,
client            440 drivers/input/mouse/elan_i2c_smbus.c 	error = i2c_smbus_write_block_data(client,
client            454 drivers/input/mouse/elan_i2c_smbus.c 	error = i2c_smbus_read_block_data(client,
client            472 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_get_report(struct i2c_client *client, u8 *report)
client            478 drivers/input/mouse/elan_i2c_smbus.c 	len = i2c_smbus_read_block_data(client,
client            482 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev, "failed to read report data: %d\n", len);
client            487 drivers/input/mouse/elan_i2c_smbus.c 		dev_err(&client->dev,
client            496 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_finish_fw_update(struct i2c_client *client,
client            503 drivers/input/mouse/elan_i2c_smbus.c static int elan_smbus_get_pattern(struct i2c_client *client, u8 *pattern)
client             20 drivers/input/mouse/psmouse-smbus.c 	struct i2c_client *client;
client             42 drivers/input/mouse/psmouse-smbus.c 		if (smbdev->client)
client             60 drivers/input/mouse/psmouse-smbus.c static void psmouse_smbus_detach_i2c_client(struct i2c_client *client)
client             67 drivers/input/mouse/psmouse-smbus.c 		if (smbdev->client != client)
client             70 drivers/input/mouse/psmouse-smbus.c 		kfree(client->dev.platform_data);
client             71 drivers/input/mouse/psmouse-smbus.c 		client->dev.platform_data = NULL;
client             76 drivers/input/mouse/psmouse-smbus.c 				    dev_name(&smbdev->client->dev));
client            129 drivers/input/mouse/psmouse-smbus.c 	struct i2c_client *client;
client            137 drivers/input/mouse/psmouse-smbus.c 	dev_dbg(&rwork->client->dev, "destroying SMBus companion device\n");
client            138 drivers/input/mouse/psmouse-smbus.c 	i2c_unregister_device(rwork->client);
client            153 drivers/input/mouse/psmouse-smbus.c static void psmouse_smbus_schedule_remove(struct i2c_client *client)
client            160 drivers/input/mouse/psmouse-smbus.c 		rwork->client = client;
client            179 drivers/input/mouse/psmouse-smbus.c 			    dev_name(&smbdev->client->dev));
client            180 drivers/input/mouse/psmouse-smbus.c 		psmouse_smbus_schedule_remove(smbdev->client);
client            201 drivers/input/mouse/psmouse-smbus.c 	smbdev->client = i2c_new_probed_device(adapter, &smbdev->board,
client            203 drivers/input/mouse/psmouse-smbus.c 	if (!smbdev->client)
client            269 drivers/input/mouse/psmouse-smbus.c 	if (smbdev->client) {
client            219 drivers/input/mouse/synaptics_i2c.c 	struct i2c_client	*client;
client            241 drivers/input/mouse/synaptics_i2c.c static s32 synaptics_i2c_reg_get(struct i2c_client *client, u16 reg)
client            245 drivers/input/mouse/synaptics_i2c.c 	ret = i2c_smbus_write_byte_data(client, PAGE_SEL_REG, reg >> 8);
client            247 drivers/input/mouse/synaptics_i2c.c 		ret = i2c_smbus_read_byte_data(client, reg & 0xff);
client            252 drivers/input/mouse/synaptics_i2c.c static s32 synaptics_i2c_reg_set(struct i2c_client *client, u16 reg, u8 val)
client            256 drivers/input/mouse/synaptics_i2c.c 	ret = i2c_smbus_write_byte_data(client, PAGE_SEL_REG, reg >> 8);
client            258 drivers/input/mouse/synaptics_i2c.c 		ret = i2c_smbus_write_byte_data(client, reg & 0xff, val);
client            263 drivers/input/mouse/synaptics_i2c.c static s32 synaptics_i2c_word_get(struct i2c_client *client, u16 reg)
client            267 drivers/input/mouse/synaptics_i2c.c 	ret = i2c_smbus_write_byte_data(client, PAGE_SEL_REG, reg >> 8);
client            269 drivers/input/mouse/synaptics_i2c.c 		ret = i2c_smbus_read_word_data(client, reg & 0xff);
client            274 drivers/input/mouse/synaptics_i2c.c static int synaptics_i2c_config(struct i2c_client *client)
client            280 drivers/input/mouse/synaptics_i2c.c 	ret = synaptics_i2c_reg_set(client, DEV_CONTROL_REG, 0xc1);
client            286 drivers/input/mouse/synaptics_i2c.c 	ret = synaptics_i2c_reg_set(client, INTERRUPT_EN_REG, int_en);
client            290 drivers/input/mouse/synaptics_i2c.c 	control = synaptics_i2c_reg_get(client, GENERAL_2D_CONTROL_REG);
client            297 drivers/input/mouse/synaptics_i2c.c 	ret = synaptics_i2c_reg_set(client, GENERAL_2D_CONTROL_REG, control);
client            304 drivers/input/mouse/synaptics_i2c.c static int synaptics_i2c_reset_config(struct i2c_client *client)
client            309 drivers/input/mouse/synaptics_i2c.c 	ret = synaptics_i2c_reg_set(client, DEV_COMMAND_REG, RESET_COMMAND);
client            311 drivers/input/mouse/synaptics_i2c.c 		dev_err(&client->dev, "Unable to reset device\n");
client            314 drivers/input/mouse/synaptics_i2c.c 		ret = synaptics_i2c_config(client);
client            316 drivers/input/mouse/synaptics_i2c.c 			dev_err(&client->dev, "Unable to config device\n");
client            322 drivers/input/mouse/synaptics_i2c.c static int synaptics_i2c_check_error(struct i2c_client *client)
client            326 drivers/input/mouse/synaptics_i2c.c 	status = i2c_smbus_read_byte_data(client, DEVICE_STATUS_REG) &
client            330 drivers/input/mouse/synaptics_i2c.c 		ret = synaptics_i2c_reset_config(client);
client            343 drivers/input/mouse/synaptics_i2c.c 	if (synaptics_i2c_check_error(touch->client))
client            347 drivers/input/mouse/synaptics_i2c.c 	data = synaptics_i2c_reg_get(touch->client, DATA_REG0);
client            354 drivers/input/mouse/synaptics_i2c.c 	xy_delta = synaptics_i2c_word_get(touch->client, REL_X_REG) & 0xffff;
client            403 drivers/input/mouse/synaptics_i2c.c 		synaptics_i2c_reset_config(touch->client);
client            459 drivers/input/mouse/synaptics_i2c.c 	ret = synaptics_i2c_reset_config(touch->client);
client            475 drivers/input/mouse/synaptics_i2c.c 		synaptics_i2c_reg_set(touch->client, INTERRUPT_EN_REG, 0);
client            480 drivers/input/mouse/synaptics_i2c.c 	synaptics_i2c_reg_set(touch->client, DEV_CONTROL_REG, DEEP_SLEEP);
client            487 drivers/input/mouse/synaptics_i2c.c 	input->name = touch->client->name;
client            488 drivers/input/mouse/synaptics_i2c.c 	input->phys = touch->client->adapter->name;
client            490 drivers/input/mouse/synaptics_i2c.c 	input->id.version = synaptics_i2c_word_get(touch->client,
client            492 drivers/input/mouse/synaptics_i2c.c 	input->dev.parent = &touch->client->dev;
client            507 drivers/input/mouse/synaptics_i2c.c static struct synaptics_i2c *synaptics_i2c_touch_create(struct i2c_client *client)
client            515 drivers/input/mouse/synaptics_i2c.c 	touch->client = client;
client            524 drivers/input/mouse/synaptics_i2c.c static int synaptics_i2c_probe(struct i2c_client *client,
client            530 drivers/input/mouse/synaptics_i2c.c 	touch = synaptics_i2c_touch_create(client);
client            534 drivers/input/mouse/synaptics_i2c.c 	ret = synaptics_i2c_reset_config(client);
client            538 drivers/input/mouse/synaptics_i2c.c 	if (client->irq < 1)
client            550 drivers/input/mouse/synaptics_i2c.c 		dev_dbg(&touch->client->dev,
client            551 drivers/input/mouse/synaptics_i2c.c 			 "Requesting IRQ: %d\n", touch->client->irq);
client            553 drivers/input/mouse/synaptics_i2c.c 		ret = request_irq(touch->client->irq, synaptics_i2c_irq,
client            557 drivers/input/mouse/synaptics_i2c.c 			dev_warn(&touch->client->dev,
client            561 drivers/input/mouse/synaptics_i2c.c 			synaptics_i2c_reg_set(touch->client,
client            567 drivers/input/mouse/synaptics_i2c.c 		dev_dbg(&touch->client->dev,
client            573 drivers/input/mouse/synaptics_i2c.c 		dev_err(&client->dev,
client            578 drivers/input/mouse/synaptics_i2c.c 	i2c_set_clientdata(client, touch);
client            590 drivers/input/mouse/synaptics_i2c.c static int synaptics_i2c_remove(struct i2c_client *client)
client            592 drivers/input/mouse/synaptics_i2c.c 	struct synaptics_i2c *touch = i2c_get_clientdata(client);
client            595 drivers/input/mouse/synaptics_i2c.c 		free_irq(client->irq, touch);
client            605 drivers/input/mouse/synaptics_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            606 drivers/input/mouse/synaptics_i2c.c 	struct synaptics_i2c *touch = i2c_get_clientdata(client);
client            611 drivers/input/mouse/synaptics_i2c.c 	synaptics_i2c_reg_set(touch->client, DEV_CONTROL_REG, DEEP_SLEEP);
client            619 drivers/input/mouse/synaptics_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            620 drivers/input/mouse/synaptics_i2c.c 	struct synaptics_i2c *touch = i2c_get_clientdata(client);
client            622 drivers/input/mouse/synaptics_i2c.c 	ret = synaptics_i2c_reset_config(client);
client            264 drivers/input/mousedev.c 	struct mousedev_client *client;
client            270 drivers/input/mousedev.c 	list_for_each_entry_rcu(client, &mousedev->client_list, node) {
client            273 drivers/input/mousedev.c 		spin_lock(&client->packet_lock);
client            275 drivers/input/mousedev.c 		p = &client->packets[client->head];
client            276 drivers/input/mousedev.c 		if (client->ready && p->buttons != mousedev->packet.buttons) {
client            277 drivers/input/mousedev.c 			new_head = (client->head + 1) % PACKET_QUEUE_LEN;
client            278 drivers/input/mousedev.c 			if (new_head != client->tail) {
client            279 drivers/input/mousedev.c 				p = &client->packets[client->head = new_head];
client            285 drivers/input/mousedev.c 			p->dx += packet->x - client->pos_x;
client            286 drivers/input/mousedev.c 			p->dy += packet->y - client->pos_y;
client            287 drivers/input/mousedev.c 			client->pos_x = packet->x;
client            288 drivers/input/mousedev.c 			client->pos_y = packet->y;
client            291 drivers/input/mousedev.c 		client->pos_x += packet->dx;
client            292 drivers/input/mousedev.c 		client->pos_x = clamp_val(client->pos_x, 0, xres);
client            294 drivers/input/mousedev.c 		client->pos_y += packet->dy;
client            295 drivers/input/mousedev.c 		client->pos_y = clamp_val(client->pos_y, 0, yres);
client            303 drivers/input/mousedev.c 		    p->buttons != client->last_buttons)
client            304 drivers/input/mousedev.c 			client->ready = 1;
client            306 drivers/input/mousedev.c 		spin_unlock(&client->packet_lock);
client            308 drivers/input/mousedev.c 		if (client->ready) {
client            309 drivers/input/mousedev.c 			kill_fasync(&client->fasync, SIGIO, POLL_IN);
client            406 drivers/input/mousedev.c 	struct mousedev_client *client = file->private_data;
client            408 drivers/input/mousedev.c 	return fasync_helper(fd, file, on, &client->fasync);
client            504 drivers/input/mousedev.c 				   struct mousedev_client *client)
client            507 drivers/input/mousedev.c 	list_add_tail_rcu(&client->node, &mousedev->client_list);
client            512 drivers/input/mousedev.c 				   struct mousedev_client *client)
client            515 drivers/input/mousedev.c 	list_del_rcu(&client->node);
client            522 drivers/input/mousedev.c 	struct mousedev_client *client = file->private_data;
client            523 drivers/input/mousedev.c 	struct mousedev *mousedev = client->mousedev;
client            525 drivers/input/mousedev.c 	mousedev_detach_client(mousedev, client);
client            526 drivers/input/mousedev.c 	kfree(client);
client            535 drivers/input/mousedev.c 	struct mousedev_client *client;
client            546 drivers/input/mousedev.c 	client = kzalloc(sizeof(struct mousedev_client), GFP_KERNEL);
client            547 drivers/input/mousedev.c 	if (!client)
client            550 drivers/input/mousedev.c 	spin_lock_init(&client->packet_lock);
client            551 drivers/input/mousedev.c 	client->pos_x = xres / 2;
client            552 drivers/input/mousedev.c 	client->pos_y = yres / 2;
client            553 drivers/input/mousedev.c 	client->mousedev = mousedev;
client            554 drivers/input/mousedev.c 	mousedev_attach_client(mousedev, client);
client            560 drivers/input/mousedev.c 	file->private_data = client;
client            566 drivers/input/mousedev.c 	mousedev_detach_client(mousedev, client);
client            567 drivers/input/mousedev.c 	kfree(client);
client            571 drivers/input/mousedev.c static void mousedev_packet(struct mousedev_client *client, u8 *ps2_data)
client            573 drivers/input/mousedev.c 	struct mousedev_motion *p = &client->packets[client->tail];
client            588 drivers/input/mousedev.c 	switch (client->mode) {
client            594 drivers/input/mousedev.c 		client->bufsiz = 4;
client            605 drivers/input/mousedev.c 		client->bufsiz = 4;
client            615 drivers/input/mousedev.c 		client->bufsiz = 3;
client            620 drivers/input/mousedev.c 		if (client->tail == client->head) {
client            621 drivers/input/mousedev.c 			client->ready = 0;
client            622 drivers/input/mousedev.c 			client->last_buttons = p->buttons;
client            624 drivers/input/mousedev.c 			client->tail = (client->tail + 1) % PACKET_QUEUE_LEN;
client            628 drivers/input/mousedev.c static void mousedev_generate_response(struct mousedev_client *client,
client            631 drivers/input/mousedev.c 	client->ps2[0] = 0xfa; /* ACK */
client            636 drivers/input/mousedev.c 		mousedev_packet(client, &client->ps2[1]);
client            637 drivers/input/mousedev.c 		client->bufsiz++; /* account for leading ACK */
client            641 drivers/input/mousedev.c 		switch (client->mode) {
client            643 drivers/input/mousedev.c 			client->ps2[1] = 0;
client            646 drivers/input/mousedev.c 			client->ps2[1] = 3;
client            649 drivers/input/mousedev.c 			client->ps2[1] = 4;
client            652 drivers/input/mousedev.c 		client->bufsiz = 2;
client            656 drivers/input/mousedev.c 		client->ps2[1] = 0x60; client->ps2[2] = 3; client->ps2[3] = 200;
client            657 drivers/input/mousedev.c 		client->bufsiz = 4;
client            661 drivers/input/mousedev.c 		client->impsseq = client->imexseq = 0;
client            662 drivers/input/mousedev.c 		client->mode = MOUSEDEV_EMUL_PS2;
client            663 drivers/input/mousedev.c 		client->ps2[1] = 0xaa; client->ps2[2] = 0x00;
client            664 drivers/input/mousedev.c 		client->bufsiz = 3;
client            668 drivers/input/mousedev.c 		client->bufsiz = 1;
client            671 drivers/input/mousedev.c 	client->buffer = client->bufsiz;
client            677 drivers/input/mousedev.c 	struct mousedev_client *client = file->private_data;
client            686 drivers/input/mousedev.c 		spin_lock_irq(&client->packet_lock);
client            688 drivers/input/mousedev.c 		if (c == mousedev_imex_seq[client->imexseq]) {
client            689 drivers/input/mousedev.c 			if (++client->imexseq == MOUSEDEV_SEQ_LEN) {
client            690 drivers/input/mousedev.c 				client->imexseq = 0;
client            691 drivers/input/mousedev.c 				client->mode = MOUSEDEV_EMUL_EXPS;
client            694 drivers/input/mousedev.c 			client->imexseq = 0;
client            696 drivers/input/mousedev.c 		if (c == mousedev_imps_seq[client->impsseq]) {
client            697 drivers/input/mousedev.c 			if (++client->impsseq == MOUSEDEV_SEQ_LEN) {
client            698 drivers/input/mousedev.c 				client->impsseq = 0;
client            699 drivers/input/mousedev.c 				client->mode = MOUSEDEV_EMUL_IMPS;
client            702 drivers/input/mousedev.c 			client->impsseq = 0;
client            704 drivers/input/mousedev.c 		mousedev_generate_response(client, c);
client            706 drivers/input/mousedev.c 		spin_unlock_irq(&client->packet_lock);
client            710 drivers/input/mousedev.c 	kill_fasync(&client->fasync, SIGIO, POLL_IN);
client            711 drivers/input/mousedev.c 	wake_up_interruptible(&client->mousedev->wait);
client            719 drivers/input/mousedev.c 	struct mousedev_client *client = file->private_data;
client            720 drivers/input/mousedev.c 	struct mousedev *mousedev = client->mousedev;
client            721 drivers/input/mousedev.c 	u8 data[sizeof(client->ps2)];
client            724 drivers/input/mousedev.c 	if (!client->ready && !client->buffer && mousedev->exist &&
client            729 drivers/input/mousedev.c 			!mousedev->exist || client->ready || client->buffer);
client            736 drivers/input/mousedev.c 	spin_lock_irq(&client->packet_lock);
client            738 drivers/input/mousedev.c 	if (!client->buffer && client->ready) {
client            739 drivers/input/mousedev.c 		mousedev_packet(client, client->ps2);
client            740 drivers/input/mousedev.c 		client->buffer = client->bufsiz;
client            743 drivers/input/mousedev.c 	if (count > client->buffer)
client            744 drivers/input/mousedev.c 		count = client->buffer;
client            746 drivers/input/mousedev.c 	memcpy(data, client->ps2 + client->bufsiz - client->buffer, count);
client            747 drivers/input/mousedev.c 	client->buffer -= count;
client            749 drivers/input/mousedev.c 	spin_unlock_irq(&client->packet_lock);
client            760 drivers/input/mousedev.c 	struct mousedev_client *client = file->private_data;
client            761 drivers/input/mousedev.c 	struct mousedev *mousedev = client->mousedev;
client            767 drivers/input/mousedev.c 	if (client->ready || client->buffer)
client            802 drivers/input/mousedev.c 	struct mousedev_client *client;
client            805 drivers/input/mousedev.c 	list_for_each_entry(client, &mousedev->client_list, node)
client            806 drivers/input/mousedev.c 		kill_fasync(&client->fasync, SIGIO, POLL_HUP);
client             29 drivers/input/rmi4/rmi_i2c.c 	struct i2c_client *client;
client             60 drivers/input/rmi4/rmi_i2c.c 	struct i2c_client *client = rmi_i2c->client;
client             64 drivers/input/rmi4/rmi_i2c.c 	retval = i2c_master_send(client, txbuf, sizeof(txbuf));
client             66 drivers/input/rmi4/rmi_i2c.c 		dev_err(&client->dev,
client             80 drivers/input/rmi4/rmi_i2c.c 	struct i2c_client *client = rmi_i2c->client;
client             88 drivers/input/rmi4/rmi_i2c.c 			devm_kfree(&client->dev, rmi_i2c->tx_buf);
client             90 drivers/input/rmi4/rmi_i2c.c 		rmi_i2c->tx_buf = devm_kzalloc(&client->dev,
client            109 drivers/input/rmi4/rmi_i2c.c 	retval = i2c_master_send(client, rmi_i2c->tx_buf, tx_size);
client            116 drivers/input/rmi4/rmi_i2c.c 	rmi_dbg(RMI_DEBUG_XPORT, &client->dev,
client            129 drivers/input/rmi4/rmi_i2c.c 	struct i2c_client *client = rmi_i2c->client;
client            134 drivers/input/rmi4/rmi_i2c.c 			.addr	= client->addr,
client            139 drivers/input/rmi4/rmi_i2c.c 			.addr	= client->addr,
client            154 drivers/input/rmi4/rmi_i2c.c 	retval = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            161 drivers/input/rmi4/rmi_i2c.c 	rmi_dbg(RMI_DEBUG_XPORT, &client->dev,
client            197 drivers/input/rmi4/rmi_i2c.c static int rmi_i2c_probe(struct i2c_client *client,
client            202 drivers/input/rmi4/rmi_i2c.c 					dev_get_platdata(&client->dev);
client            206 drivers/input/rmi4/rmi_i2c.c 	rmi_i2c = devm_kzalloc(&client->dev, sizeof(struct rmi_i2c_xport),
client            213 drivers/input/rmi4/rmi_i2c.c 	if (!client->dev.of_node && client_pdata)
client            216 drivers/input/rmi4/rmi_i2c.c 	pdata->irq = client->irq;
client            218 drivers/input/rmi4/rmi_i2c.c 	rmi_dbg(RMI_DEBUG_XPORT, &client->dev, "Probing %s.\n",
client            219 drivers/input/rmi4/rmi_i2c.c 			dev_name(&client->dev));
client            221 drivers/input/rmi4/rmi_i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            222 drivers/input/rmi4/rmi_i2c.c 		dev_err(&client->dev,
client            229 drivers/input/rmi4/rmi_i2c.c 	error = devm_regulator_bulk_get(&client->dev,
client            240 drivers/input/rmi4/rmi_i2c.c 	error = devm_add_action_or_reset(&client->dev,
client            246 drivers/input/rmi4/rmi_i2c.c 	of_property_read_u32(client->dev.of_node, "syna,startup-delay-ms",
client            251 drivers/input/rmi4/rmi_i2c.c 	rmi_i2c->client = client;
client            254 drivers/input/rmi4/rmi_i2c.c 	rmi_i2c->xport.dev = &client->dev;
client            258 drivers/input/rmi4/rmi_i2c.c 	i2c_set_clientdata(client, rmi_i2c);
client            266 drivers/input/rmi4/rmi_i2c.c 		dev_err(&client->dev, "Failed to set page select to 0\n");
client            270 drivers/input/rmi4/rmi_i2c.c 	dev_info(&client->dev, "registering I2C-connected sensor\n");
client            274 drivers/input/rmi4/rmi_i2c.c 		dev_err(&client->dev, "failed to register sensor: %d\n", error);
client            278 drivers/input/rmi4/rmi_i2c.c 	error = devm_add_action_or_reset(&client->dev,
client            290 drivers/input/rmi4/rmi_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            291 drivers/input/rmi4/rmi_i2c.c 	struct rmi_i2c_xport *rmi_i2c = i2c_get_clientdata(client);
client            306 drivers/input/rmi4/rmi_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            307 drivers/input/rmi4/rmi_i2c.c 	struct rmi_i2c_xport *rmi_i2c = i2c_get_clientdata(client);
client            328 drivers/input/rmi4/rmi_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            329 drivers/input/rmi4/rmi_i2c.c 	struct rmi_i2c_xport *rmi_i2c = i2c_get_clientdata(client);
client            344 drivers/input/rmi4/rmi_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            345 drivers/input/rmi4/rmi_i2c.c 	struct rmi_i2c_xport *rmi_i2c = i2c_get_clientdata(client);
client             33 drivers/input/rmi4/rmi_smbus.c 	struct i2c_client *client;
client             44 drivers/input/rmi4/rmi_smbus.c 	struct i2c_client *client = rmi_smb->client;
client             48 drivers/input/rmi4/rmi_smbus.c 	retval = i2c_smbus_read_byte_data(client, SMB_PROTOCOL_VERSION_ADDRESS);
client             50 drivers/input/rmi4/rmi_smbus.c 		dev_err(&client->dev, "failed to get SMBus version number!\n");
client             63 drivers/input/rmi4/rmi_smbus.c 	struct i2c_client *client = rmi_smb->client;
client             66 drivers/input/rmi4/rmi_smbus.c 	retval = i2c_smbus_write_block_data(client, commandcode, len, buf);
client             68 drivers/input/rmi4/rmi_smbus.c 	rmi_dbg(RMI_DEBUG_XPORT, &client->dev,
client            179 drivers/input/rmi4/rmi_smbus.c 	struct i2c_client *client = rmi_smb->client;
client            182 drivers/input/rmi4/rmi_smbus.c 	retval = i2c_smbus_read_block_data(client, commandcode, buf);
client            271 drivers/input/rmi4/rmi_smbus.c static int rmi_smb_probe(struct i2c_client *client,
client            274 drivers/input/rmi4/rmi_smbus.c 	struct rmi_device_platform_data *pdata = dev_get_platdata(&client->dev);
client            280 drivers/input/rmi4/rmi_smbus.c 		dev_err(&client->dev, "no platform data, aborting\n");
client            284 drivers/input/rmi4/rmi_smbus.c 	if (!i2c_check_functionality(client->adapter,
client            287 drivers/input/rmi4/rmi_smbus.c 		dev_err(&client->dev,
client            292 drivers/input/rmi4/rmi_smbus.c 	if (client->irq <= 0) {
client            293 drivers/input/rmi4/rmi_smbus.c 		dev_err(&client->dev, "no IRQ provided, giving up\n");
client            294 drivers/input/rmi4/rmi_smbus.c 		return client->irq ? client->irq : -ENODEV;
client            297 drivers/input/rmi4/rmi_smbus.c 	rmi_smb = devm_kzalloc(&client->dev, sizeof(struct rmi_smb_xport),
client            302 drivers/input/rmi4/rmi_smbus.c 	rmi_dbg(RMI_DEBUG_XPORT, &client->dev, "Probing %s\n",
client            303 drivers/input/rmi4/rmi_smbus.c 		dev_name(&client->dev));
client            305 drivers/input/rmi4/rmi_smbus.c 	rmi_smb->client = client;
client            309 drivers/input/rmi4/rmi_smbus.c 	rmi_smb->xport.dev = &client->dev;
client            311 drivers/input/rmi4/rmi_smbus.c 	rmi_smb->xport.pdata.irq = client->irq;
client            319 drivers/input/rmi4/rmi_smbus.c 	rmi_dbg(RMI_DEBUG_XPORT, &client->dev, "Smbus version is %d",
client            323 drivers/input/rmi4/rmi_smbus.c 		dev_err(&client->dev, "Unrecognized SMB version %d\n",
client            328 drivers/input/rmi4/rmi_smbus.c 	i2c_set_clientdata(client, rmi_smb);
client            330 drivers/input/rmi4/rmi_smbus.c 	dev_info(&client->dev, "registering SMbus-connected sensor\n");
client            334 drivers/input/rmi4/rmi_smbus.c 		dev_err(&client->dev, "failed to register sensor: %d\n", error);
client            341 drivers/input/rmi4/rmi_smbus.c static int rmi_smb_remove(struct i2c_client *client)
client            343 drivers/input/rmi4/rmi_smbus.c 	struct rmi_smb_xport *rmi_smb = i2c_get_clientdata(client);
client            352 drivers/input/rmi4/rmi_smbus.c 	struct i2c_client *client = to_i2c_client(dev);
client            353 drivers/input/rmi4/rmi_smbus.c 	struct rmi_smb_xport *rmi_smb = i2c_get_clientdata(client);
client            365 drivers/input/rmi4/rmi_smbus.c 	struct i2c_client *client = to_i2c_client(dev);
client            366 drivers/input/rmi4/rmi_smbus.c 	struct rmi_smb_xport *rmi_smb = i2c_get_clientdata(client);
client            378 drivers/input/rmi4/rmi_smbus.c 	struct i2c_client *client = container_of(dev, struct i2c_client, dev);
client            379 drivers/input/rmi4/rmi_smbus.c 	struct rmi_smb_xport *rmi_smb = i2c_get_clientdata(client);
client            396 drivers/input/rmi4/rmi_smbus.c 	struct i2c_client *client = to_i2c_client(dev);
client            397 drivers/input/rmi4/rmi_smbus.c 	struct rmi_smb_xport *rmi_smb = i2c_get_clientdata(client);
client             57 drivers/input/serio/serio_raw.c 	struct serio_raw_client *client = file->private_data;
client             59 drivers/input/serio/serio_raw.c 	return fasync_helper(fd, file, on, &client->fasync);
client             77 drivers/input/serio/serio_raw.c 	struct serio_raw_client *client;
client             95 drivers/input/serio/serio_raw.c 	client = kzalloc(sizeof(struct serio_raw_client), GFP_KERNEL);
client             96 drivers/input/serio/serio_raw.c 	if (!client) {
client            101 drivers/input/serio/serio_raw.c 	client->serio_raw = serio_raw;
client            102 drivers/input/serio/serio_raw.c 	file->private_data = client;
client            107 drivers/input/serio/serio_raw.c 	list_add_tail(&client->node, &serio_raw->client_list);
client            126 drivers/input/serio/serio_raw.c 	struct serio_raw_client *client = file->private_data;
client            127 drivers/input/serio/serio_raw.c 	struct serio_raw *serio_raw = client->serio_raw;
client            130 drivers/input/serio/serio_raw.c 	list_del(&client->node);
client            133 drivers/input/serio/serio_raw.c 	kfree(client);
client            160 drivers/input/serio/serio_raw.c 	struct serio_raw_client *client = file->private_data;
client            161 drivers/input/serio/serio_raw.c 	struct serio_raw *serio_raw = client->serio_raw;
client            201 drivers/input/serio/serio_raw.c 	struct serio_raw_client *client = file->private_data;
client            202 drivers/input/serio/serio_raw.c 	struct serio_raw *serio_raw = client->serio_raw;
client            241 drivers/input/serio/serio_raw.c 	struct serio_raw_client *client = file->private_data;
client            242 drivers/input/serio/serio_raw.c 	struct serio_raw *serio_raw = client->serio_raw;
client            274 drivers/input/serio/serio_raw.c 	struct serio_raw_client *client;
client            282 drivers/input/serio/serio_raw.c 		list_for_each_entry(client, &serio_raw->client_list, node)
client            283 drivers/input/serio/serio_raw.c 			kill_fasync(&client->fasync, SIGIO, POLL_IN);
client            380 drivers/input/serio/serio_raw.c 	struct serio_raw_client *client;
client            383 drivers/input/serio/serio_raw.c 	list_for_each_entry(client, &serio_raw->client_list, node)
client            384 drivers/input/serio/serio_raw.c 		kill_fasync(&client->fasync, SIGIO, POLL_HUP);
client            121 drivers/input/touchscreen/88pm860x-ts.c 	struct i2c_client *i2c = (chip->id == CHIP_PM8607) ? chip->client \
client            183 drivers/input/touchscreen/88pm860x-ts.c 	struct i2c_client *i2c = (chip->id == CHIP_PM8607) ? chip->client \
client             26 drivers/input/touchscreen/ad7879-i2c.c static int ad7879_i2c_probe(struct i2c_client *client,
client             31 drivers/input/touchscreen/ad7879-i2c.c 	if (!i2c_check_functionality(client->adapter,
client             33 drivers/input/touchscreen/ad7879-i2c.c 		dev_err(&client->dev, "SMBUS Word Data not Supported\n");
client             37 drivers/input/touchscreen/ad7879-i2c.c 	regmap = devm_regmap_init_i2c(client, &ad7879_i2c_regmap_config);
client             41 drivers/input/touchscreen/ad7879-i2c.c 	return ad7879_probe(&client->dev, regmap, client->irq,
client             26 drivers/input/touchscreen/ar1021_i2c.c 	struct i2c_client *client;
client             39 drivers/input/touchscreen/ar1021_i2c.c 	retval = i2c_master_recv(ar1021->client,
client             69 drivers/input/touchscreen/ar1021_i2c.c 	struct i2c_client *client = ar1021->client;
client             72 drivers/input/touchscreen/ar1021_i2c.c 	error = i2c_master_send(ar1021->client, cmd_enable_touch,
client             77 drivers/input/touchscreen/ar1021_i2c.c 	enable_irq(client->irq);
client             85 drivers/input/touchscreen/ar1021_i2c.c 	struct i2c_client *client = ar1021->client;
client             87 drivers/input/touchscreen/ar1021_i2c.c 	disable_irq(client->irq);
client             90 drivers/input/touchscreen/ar1021_i2c.c static int ar1021_i2c_probe(struct i2c_client *client,
client             97 drivers/input/touchscreen/ar1021_i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client             98 drivers/input/touchscreen/ar1021_i2c.c 		dev_err(&client->dev, "i2c_check_functionality error\n");
client            102 drivers/input/touchscreen/ar1021_i2c.c 	ar1021 = devm_kzalloc(&client->dev, sizeof(*ar1021), GFP_KERNEL);
client            106 drivers/input/touchscreen/ar1021_i2c.c 	input = devm_input_allocate_device(&client->dev);
client            110 drivers/input/touchscreen/ar1021_i2c.c 	ar1021->client = client;
client            115 drivers/input/touchscreen/ar1021_i2c.c 	input->dev.parent = &client->dev;
client            126 drivers/input/touchscreen/ar1021_i2c.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client            131 drivers/input/touchscreen/ar1021_i2c.c 		dev_err(&client->dev,
client            137 drivers/input/touchscreen/ar1021_i2c.c 	disable_irq(client->irq);
client            141 drivers/input/touchscreen/ar1021_i2c.c 		dev_err(&client->dev,
client            151 drivers/input/touchscreen/ar1021_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            153 drivers/input/touchscreen/ar1021_i2c.c 	disable_irq(client->irq);
client            160 drivers/input/touchscreen/ar1021_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            162 drivers/input/touchscreen/ar1021_i2c.c 	enable_irq(client->irq);
client            279 drivers/input/touchscreen/atmel_mxt_ts.c 	struct i2c_client *client;
client            393 drivers/input/touchscreen/atmel_mxt_ts.c 	dev_dbg(&data->client->dev, "message: %*ph\n",
client            401 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client            422 drivers/input/touchscreen/atmel_mxt_ts.c 	msg.flags = data->client->flags & I2C_M_TEN;
client            427 drivers/input/touchscreen/atmel_mxt_ts.c 	ret = i2c_transfer(data->client->adapter, &msg, 1);
client            432 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&data->client->dev, "%s: i2c recv failed (%d)\n",
client            446 drivers/input/touchscreen/atmel_mxt_ts.c 	msg.flags = data->client->flags & I2C_M_TEN;
client            450 drivers/input/touchscreen/atmel_mxt_ts.c 	ret = i2c_transfer(data->client->adapter, &msg, 1);
client            455 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&data->client->dev, "%s: i2c send failed (%d)\n",
client            464 drivers/input/touchscreen/atmel_mxt_ts.c 	u8 appmode = data->client->addr;
client            485 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&data->client->dev,
client            497 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client            521 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client            543 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client            623 drivers/input/touchscreen/atmel_mxt_ts.c static int __mxt_read_reg(struct i2c_client *client,
client            634 drivers/input/touchscreen/atmel_mxt_ts.c 	xfer[0].addr = client->addr;
client            640 drivers/input/touchscreen/atmel_mxt_ts.c 	xfer[1].addr = client->addr;
client            645 drivers/input/touchscreen/atmel_mxt_ts.c 	ret = i2c_transfer(client->adapter, xfer, 2);
client            651 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&client->dev, "%s: i2c transfer failed (%d)\n",
client            658 drivers/input/touchscreen/atmel_mxt_ts.c static int __mxt_write_reg(struct i2c_client *client, u16 reg, u16 len,
client            674 drivers/input/touchscreen/atmel_mxt_ts.c 	ret = i2c_master_send(client, buf, count);
client            680 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&client->dev, "%s: i2c send failed (%d)\n",
client            688 drivers/input/touchscreen/atmel_mxt_ts.c static int mxt_write_reg(struct i2c_client *client, u16 reg, u8 val)
client            690 drivers/input/touchscreen/atmel_mxt_ts.c 	return __mxt_write_reg(client, reg, 1, &val);
client            705 drivers/input/touchscreen/atmel_mxt_ts.c 	dev_warn(&data->client->dev, "Invalid object type T%u\n", type);
client            711 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client            753 drivers/input/touchscreen/atmel_mxt_ts.c 	return mxt_write_reg(data->client, reg + offset, val);
client            780 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client            850 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client            989 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client            999 drivers/input/touchscreen/atmel_mxt_ts.c 	ret = __mxt_read_reg(data->client, data->T5_address,
client           1020 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client           1025 drivers/input/touchscreen/atmel_mxt_ts.c 	ret = __mxt_read_reg(data->client, data->T44_address,
client           1075 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client           1166 drivers/input/touchscreen/atmel_mxt_ts.c 	ret = mxt_write_reg(data->client, reg, value);
client           1175 drivers/input/touchscreen/atmel_mxt_ts.c 		ret = __mxt_read_reg(data->client, reg, 1, &command_register);
client           1181 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&data->client->dev, "Command failed!\n");
client           1203 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client           1288 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client           1396 drivers/input/touchscreen/atmel_mxt_ts.c 		error = __mxt_write_reg(data->client,
client           1400 drivers/input/touchscreen/atmel_mxt_ts.c 			dev_err(&data->client->dev,
client           1434 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client           1618 drivers/input/touchscreen/atmel_mxt_ts.c 	struct i2c_client *client = data->client;
client           1642 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_dbg(&data->client->dev,
client           1709 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&client->dev, "Invalid T44 position\n");
client           1723 drivers/input/touchscreen/atmel_mxt_ts.c 	struct i2c_client *client = data->client;
client           1741 drivers/input/touchscreen/atmel_mxt_ts.c 	error = __mxt_read_reg(client, 0, size, id_buf);
client           1758 drivers/input/touchscreen/atmel_mxt_ts.c 	error = __mxt_read_reg(client, MXT_OBJECT_START,
client           1776 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&client->dev,
client           1786 drivers/input/touchscreen/atmel_mxt_ts.c 	dev_info(&client->dev,
client           1795 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&client->dev, "Error %d parsing object table\n", error);
client           1811 drivers/input/touchscreen/atmel_mxt_ts.c 	struct i2c_client *client = data->client;
client           1821 drivers/input/touchscreen/atmel_mxt_ts.c 	error = __mxt_read_reg(client,
client           1827 drivers/input/touchscreen/atmel_mxt_ts.c 	error = __mxt_read_reg(client,
client           1833 drivers/input/touchscreen/atmel_mxt_ts.c 	error = __mxt_read_reg(client,
client           1842 drivers/input/touchscreen/atmel_mxt_ts.c 	error =  __mxt_read_reg(client,
client           1857 drivers/input/touchscreen/atmel_mxt_ts.c 	struct i2c_client *client = data->client;
client           1869 drivers/input/touchscreen/atmel_mxt_ts.c 	error = __mxt_read_reg(client,
client           1877 drivers/input/touchscreen/atmel_mxt_ts.c 	error = __mxt_read_reg(client,
client           1885 drivers/input/touchscreen/atmel_mxt_ts.c 	error = __mxt_read_reg(client,
client           1891 drivers/input/touchscreen/atmel_mxt_ts.c 	error = __mxt_read_reg(client,
client           1898 drivers/input/touchscreen/atmel_mxt_ts.c 	error =  __mxt_read_reg(client,
client           1909 drivers/input/touchscreen/atmel_mxt_ts.c 	error =  __mxt_read_reg(client,
client           1926 drivers/input/touchscreen/atmel_mxt_ts.c 	dev_dbg(&client->dev,
client           1960 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client           2105 drivers/input/touchscreen/atmel_mxt_ts.c 	struct i2c_client *client = data->client;
client           2117 drivers/input/touchscreen/atmel_mxt_ts.c 			dev_info(&client->dev, "Trying alternate bootloader address\n");
client           2127 drivers/input/touchscreen/atmel_mxt_ts.c 			dev_err(&client->dev, "Could not recover from bootloader mode\n");
client           2146 drivers/input/touchscreen/atmel_mxt_ts.c 					&client->dev, GFP_KERNEL, data,
client           2149 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&client->dev, "Failed to invoke firmware loader: %d\n",
client           2159 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client           2169 drivers/input/touchscreen/atmel_mxt_ts.c 	error = __mxt_write_reg(data->client, data->T7_address,
client           2182 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client           2187 drivers/input/touchscreen/atmel_mxt_ts.c 	error = __mxt_read_reg(data->client, data->T7_address,
client           2289 drivers/input/touchscreen/atmel_mxt_ts.c 		ret = mxt_write_reg(data->client, dbg->diag_cmd_address,
client           2298 drivers/input/touchscreen/atmel_mxt_ts.c 		ret = __mxt_read_reg(data->client, dbg->diag_cmd_address,
client           2313 drivers/input/touchscreen/atmel_mxt_ts.c 		ret = __mxt_read_reg(data->client, dbg->t37_address,
client           2319 drivers/input/touchscreen/atmel_mxt_ts.c 			dev_err(&data->client->dev, "T37 page mismatch\n");
client           2323 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_dbg(&data->client->dev, "%s page:%d retries:%d\n",
client           2358 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&data->client->dev, "Error acquiring frame ptr\n");
client           2411 drivers/input/touchscreen/atmel_mxt_ts.c 		 "I2C:%s", dev_name(&data->client->dev));
client           2569 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_warn(&data->client->dev, "Bad T37 size");
client           2586 drivers/input/touchscreen/atmel_mxt_ts.c 	dbg->t37_buf = devm_kmalloc_array(&data->client->dev, dbg->t37_pages,
client           2596 drivers/input/touchscreen/atmel_mxt_ts.c 	error = v4l2_device_register(&data->client->dev, &dbg->v4l2);
client           2605 drivers/input/touchscreen/atmel_mxt_ts.c 	dbg->queue.dev = &data->client->dev;
client           2627 drivers/input/touchscreen/atmel_mxt_ts.c 	dev_warn(&data->client->dev, "Error initializing T37\n");
client           2638 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client           2733 drivers/input/touchscreen/atmel_mxt_ts.c 			error = __mxt_read_reg(data->client, addr, size, obuf);
client           2987 drivers/input/touchscreen/atmel_mxt_ts.c 	struct device *dev = &data->client->dev;
client           3036 drivers/input/touchscreen/atmel_mxt_ts.c static int mxt_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           3050 drivers/input/touchscreen/atmel_mxt_ts.c 	if (!device_property_present(&client->dev, "compatible"))
client           3063 drivers/input/touchscreen/atmel_mxt_ts.c 	if (ACPI_COMPANION(&client->dev) && client->addr < 0x40)
client           3066 drivers/input/touchscreen/atmel_mxt_ts.c 	data = devm_kzalloc(&client->dev, sizeof(struct mxt_data), GFP_KERNEL);
client           3071 drivers/input/touchscreen/atmel_mxt_ts.c 		 client->adapter->nr, client->addr);
client           3073 drivers/input/touchscreen/atmel_mxt_ts.c 	data->client = client;
client           3074 drivers/input/touchscreen/atmel_mxt_ts.c 	data->irq = client->irq;
client           3075 drivers/input/touchscreen/atmel_mxt_ts.c 	i2c_set_clientdata(client, data);
client           3088 drivers/input/touchscreen/atmel_mxt_ts.c 	data->reset_gpio = devm_gpiod_get_optional(&client->dev,
client           3092 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&client->dev, "Failed to get reset gpio: %d\n", error);
client           3096 drivers/input/touchscreen/atmel_mxt_ts.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client           3098 drivers/input/touchscreen/atmel_mxt_ts.c 					  client->name, data);
client           3100 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&client->dev, "Failed to register interrupt\n");
client           3104 drivers/input/touchscreen/atmel_mxt_ts.c 	disable_irq(client->irq);
client           3116 drivers/input/touchscreen/atmel_mxt_ts.c 	error = sysfs_create_group(&client->dev.kobj, &mxt_attr_group);
client           3118 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(&client->dev, "Failure %d creating sysfs group\n",
client           3131 drivers/input/touchscreen/atmel_mxt_ts.c static int mxt_remove(struct i2c_client *client)
client           3133 drivers/input/touchscreen/atmel_mxt_ts.c 	struct mxt_data *data = i2c_get_clientdata(client);
client           3136 drivers/input/touchscreen/atmel_mxt_ts.c 	sysfs_remove_group(&client->dev.kobj, &mxt_attr_group);
client           3145 drivers/input/touchscreen/atmel_mxt_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client           3146 drivers/input/touchscreen/atmel_mxt_ts.c 	struct mxt_data *data = i2c_get_clientdata(client);
client           3166 drivers/input/touchscreen/atmel_mxt_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client           3167 drivers/input/touchscreen/atmel_mxt_ts.c 	struct mxt_data *data = i2c_get_clientdata(client);
client            104 drivers/input/touchscreen/auo-pixcir-ts.c 	struct i2c_client	*client;
client            127 drivers/input/touchscreen/auo-pixcir-ts.c 	struct i2c_client *client = ts->client;
client            134 drivers/input/touchscreen/auo-pixcir-ts.c 	ret = i2c_smbus_read_i2c_block_data(client, AUO_PIXCIR_REG_X1_LSB,
client            137 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "failed to read coordinate, %d\n", ret);
client            142 drivers/input/touchscreen/auo-pixcir-ts.c 	ret = i2c_smbus_read_i2c_block_data(client, AUO_PIXCIR_REG_TOUCHAREA_X1,
client            145 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "could not read touch area, %d\n", ret);
client            157 drivers/input/touchscreen/auo-pixcir-ts.c 			dev_warn(&client->dev, "coordinates (%d,%d) invalid\n",
client            258 drivers/input/touchscreen/auo-pixcir-ts.c 	struct i2c_client *client = ts->client;
client            261 drivers/input/touchscreen/auo-pixcir-ts.c 	ret = i2c_smbus_read_byte_data(client, AUO_PIXCIR_REG_POWER_MODE);
client            263 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "unable to read reg %Xh, %d\n",
client            271 drivers/input/touchscreen/auo-pixcir-ts.c 	ret = i2c_smbus_write_byte_data(client, AUO_PIXCIR_REG_POWER_MODE, ret);
client            273 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "unable to write reg %Xh, %d\n",
client            284 drivers/input/touchscreen/auo-pixcir-ts.c 	struct i2c_client *client = ts->client;
client            288 drivers/input/touchscreen/auo-pixcir-ts.c 	ret = i2c_smbus_read_byte_data(client, AUO_PIXCIR_REG_INT_SETTING);
client            290 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "unable to read reg %Xh, %d\n",
client            299 drivers/input/touchscreen/auo-pixcir-ts.c 	ret = i2c_smbus_write_byte_data(client, AUO_PIXCIR_REG_INT_SETTING,
client            302 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "unable to write reg %Xh, %d\n",
client            315 drivers/input/touchscreen/auo-pixcir-ts.c 	struct i2c_client *client = ts->client;
client            318 drivers/input/touchscreen/auo-pixcir-ts.c 	ret = i2c_smbus_read_byte_data(client, AUO_PIXCIR_REG_INT_SETTING);
client            320 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "unable to read reg %Xh, %d\n",
client            330 drivers/input/touchscreen/auo-pixcir-ts.c 	ret = i2c_smbus_write_byte_data(client, AUO_PIXCIR_REG_INT_SETTING,
client            333 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "unable to write reg %Xh, %d\n",
client            343 drivers/input/touchscreen/auo-pixcir-ts.c 	struct i2c_client *client = ts->client;
client            348 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "could not set power mode, %d\n",
client            355 drivers/input/touchscreen/auo-pixcir-ts.c 	enable_irq(client->irq);
client            359 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "could not enable interrupt, %d\n",
client            361 drivers/input/touchscreen/auo-pixcir-ts.c 		disable_irq(client->irq);
client            370 drivers/input/touchscreen/auo-pixcir-ts.c 	struct i2c_client *client = ts->client;
client            375 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "could not disable interrupt, %d\n",
client            381 drivers/input/touchscreen/auo-pixcir-ts.c 	disable_irq(client->irq);
client            405 drivers/input/touchscreen/auo-pixcir-ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            406 drivers/input/touchscreen/auo-pixcir-ts.c 	struct auo_pixcir_ts *ts = i2c_get_clientdata(client);
client            415 drivers/input/touchscreen/auo-pixcir-ts.c 	if (device_may_wakeup(&client->dev)) {
client            423 drivers/input/touchscreen/auo-pixcir-ts.c 		enable_irq_wake(client->irq);
client            437 drivers/input/touchscreen/auo-pixcir-ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            438 drivers/input/touchscreen/auo-pixcir-ts.c 	struct auo_pixcir_ts *ts = i2c_get_clientdata(client);
client            444 drivers/input/touchscreen/auo-pixcir-ts.c 	if (device_may_wakeup(&client->dev)) {
client            445 drivers/input/touchscreen/auo-pixcir-ts.c 		disable_irq_wake(client->irq);
client            522 drivers/input/touchscreen/auo-pixcir-ts.c static int auo_pixcir_probe(struct i2c_client *client,
client            531 drivers/input/touchscreen/auo-pixcir-ts.c 	pdata = dev_get_platdata(&client->dev);
client            533 drivers/input/touchscreen/auo-pixcir-ts.c 		pdata = auo_pixcir_parse_dt(&client->dev);
client            538 drivers/input/touchscreen/auo-pixcir-ts.c 	ts = devm_kzalloc(&client->dev,
client            543 drivers/input/touchscreen/auo-pixcir-ts.c 	input_dev = devm_input_allocate_device(&client->dev);
client            545 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "could not allocate input device\n");
client            550 drivers/input/touchscreen/auo-pixcir-ts.c 	ts->client = client;
client            557 drivers/input/touchscreen/auo-pixcir-ts.c 		 "%s/input0", dev_name(&client->dev));
client            588 drivers/input/touchscreen/auo-pixcir-ts.c 	error = devm_gpio_request_one(&client->dev, pdata->gpio_int,
client            591 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "request of gpio %d failed, %d\n",
client            596 drivers/input/touchscreen/auo-pixcir-ts.c 	error = devm_gpio_request_one(&client->dev, pdata->gpio_rst,
client            600 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "request of gpio %d failed, %d\n",
client            605 drivers/input/touchscreen/auo-pixcir-ts.c 	error = devm_add_action_or_reset(&client->dev, auo_pixcir_reset, ts);
client            607 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "failed to register reset action, %d\n",
client            614 drivers/input/touchscreen/auo-pixcir-ts.c 	version = i2c_smbus_read_byte_data(client, AUO_PIXCIR_REG_VERSION);
client            620 drivers/input/touchscreen/auo-pixcir-ts.c 	dev_info(&client->dev, "firmware version 0x%X\n", version);
client            626 drivers/input/touchscreen/auo-pixcir-ts.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client            631 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "irq %d requested failed, %d\n",
client            632 drivers/input/touchscreen/auo-pixcir-ts.c 			client->irq, error);
client            643 drivers/input/touchscreen/auo-pixcir-ts.c 		dev_err(&client->dev, "could not register input device, %d\n",
client            648 drivers/input/touchscreen/auo-pixcir-ts.c 	i2c_set_clientdata(client, ts);
client            158 drivers/input/touchscreen/bu21013_ts.c 	struct i2c_client *client;
client            176 drivers/input/touchscreen/bu21013_ts.c 		ret = i2c_smbus_read_i2c_block_data(ts->client,
client            245 drivers/input/touchscreen/bu21013_ts.c 			dev_err(&ts->client->dev, "%s failed\n", __func__);
client            263 drivers/input/touchscreen/bu21013_ts.c 	struct i2c_client *client = ts->client;
client            266 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_RESET_REG,
client            269 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_RESET reg write failed\n");
client            274 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_SENSOR_0_7_REG,
client            277 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_SENSOR_0_7 reg write failed\n");
client            281 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_SENSOR_8_15_REG,
client            284 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_SENSOR_8_15 reg write failed\n");
client            288 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_SENSOR_16_23_REG,
client            291 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_SENSOR_16_23 reg write failed\n");
client            295 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_POS_MODE1_REG,
client            299 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_POS_MODE1 reg write failed\n");
client            303 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_POS_MODE2_REG,
client            310 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_POS_MODE2 reg write failed\n");
client            314 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_CLK_MODE_REG,
client            318 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_CLK_MODE reg write failed\n");
client            322 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_IDLE_REG,
client            326 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_IDLE reg write failed\n");
client            330 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_INT_MODE_REG,
client            333 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_INT_MODE reg write failed\n");
client            337 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_FILTER_REG,
client            341 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_FILTER reg write failed\n");
client            345 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_TH_ON_REG,
client            348 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_TH_ON reg write failed\n");
client            352 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_TH_OFF_REG,
client            355 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_TH_OFF reg write failed\n");
client            359 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_GAIN_REG,
client            362 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_GAIN reg write failed\n");
client            366 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_OFFSET_MODE_REG,
client            369 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_OFFSET_MODE reg write failed\n");
client            373 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_XY_EDGE_REG,
client            379 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_XY_EDGE reg write failed\n");
client            383 drivers/input/touchscreen/bu21013_ts.c 	error = i2c_smbus_write_byte_data(client, BU21013_DONE_REG,
client            386 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "BU21013_REG_DONE reg write failed\n");
client            407 drivers/input/touchscreen/bu21013_ts.c static int bu21013_probe(struct i2c_client *client,
client            416 drivers/input/touchscreen/bu21013_ts.c 	if (!i2c_check_functionality(client->adapter,
client            418 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "i2c smbus byte data not supported\n");
client            422 drivers/input/touchscreen/bu21013_ts.c 	if (!client->irq) {
client            423 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "No IRQ set up\n");
client            427 drivers/input/touchscreen/bu21013_ts.c 	ts = devm_kzalloc(&client->dev, sizeof(*ts), GFP_KERNEL);
client            431 drivers/input/touchscreen/bu21013_ts.c 	ts->client = client;
client            433 drivers/input/touchscreen/bu21013_ts.c 	ts->x_flip = device_property_read_bool(&client->dev, "rohm,flip-x");
client            434 drivers/input/touchscreen/bu21013_ts.c 	ts->y_flip = device_property_read_bool(&client->dev, "rohm,flip-y");
client            436 drivers/input/touchscreen/bu21013_ts.c 	in_dev = devm_input_allocate_device(&client->dev);
client            438 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "device memory alloc failed\n");
client            448 drivers/input/touchscreen/bu21013_ts.c 	device_property_read_u32(&client->dev, "rohm,touch-max-x", &max_x);
client            449 drivers/input/touchscreen/bu21013_ts.c 	device_property_read_u32(&client->dev, "rohm,touch-max-y", &max_y);
client            458 drivers/input/touchscreen/bu21013_ts.c 	    device_property_read_bool(&client->dev, "rohm,flip-x")) {
client            465 drivers/input/touchscreen/bu21013_ts.c 	    device_property_read_bool(&client->dev, "rohm,flip-y")) {
client            475 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "failed to initialize MT slots");
client            479 drivers/input/touchscreen/bu21013_ts.c 	ts->regulator = devm_regulator_get(&client->dev, "avdd");
client            481 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "regulator_get failed\n");
client            487 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "regulator enable failed\n");
client            491 drivers/input/touchscreen/bu21013_ts.c 	error = devm_add_action_or_reset(&client->dev, bu21013_power_off, ts);
client            493 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "failed to install power off handler\n");
client            498 drivers/input/touchscreen/bu21013_ts.c 	ts->cs_gpiod = devm_gpiod_get(&client->dev, "reset", GPIOD_OUT_HIGH);
client            502 drivers/input/touchscreen/bu21013_ts.c 			dev_err(&client->dev, "failed to get CS GPIO\n");
client            507 drivers/input/touchscreen/bu21013_ts.c 	error = devm_add_action_or_reset(&client->dev,
client            510 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev,
client            516 drivers/input/touchscreen/bu21013_ts.c 	ts->int_gpiod = devm_gpiod_get_optional(&client->dev,
client            521 drivers/input/touchscreen/bu21013_ts.c 			dev_err(&client->dev, "failed to get INT GPIO\n");
client            531 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "error in bu21013 config\n");
client            535 drivers/input/touchscreen/bu21013_ts.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client            539 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "request irq %d failed\n",
client            540 drivers/input/touchscreen/bu21013_ts.c 			client->irq);
client            546 drivers/input/touchscreen/bu21013_ts.c 		dev_err(&client->dev, "failed to register input device\n");
client            550 drivers/input/touchscreen/bu21013_ts.c 	i2c_set_clientdata(client, ts);
client            555 drivers/input/touchscreen/bu21013_ts.c static int bu21013_remove(struct i2c_client *client)
client            557 drivers/input/touchscreen/bu21013_ts.c 	struct bu21013_ts *ts = i2c_get_clientdata(client);
client            568 drivers/input/touchscreen/bu21013_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            569 drivers/input/touchscreen/bu21013_ts.c 	struct bu21013_ts *ts = i2c_get_clientdata(client);
client            573 drivers/input/touchscreen/bu21013_ts.c 	disable_irq(client->irq);
client            575 drivers/input/touchscreen/bu21013_ts.c 	if (!device_may_wakeup(&client->dev))
client            583 drivers/input/touchscreen/bu21013_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            584 drivers/input/touchscreen/bu21013_ts.c 	struct bu21013_ts *ts = i2c_get_clientdata(client);
client            587 drivers/input/touchscreen/bu21013_ts.c 	if (!device_may_wakeup(&client->dev)) {
client            590 drivers/input/touchscreen/bu21013_ts.c 			dev_err(&client->dev,
client            597 drivers/input/touchscreen/bu21013_ts.c 			dev_err(&client->dev,
client            605 drivers/input/touchscreen/bu21013_ts.c 	enable_irq(client->irq);
client            156 drivers/input/touchscreen/bu21029_ts.c 	struct i2c_client		*client;
client            229 drivers/input/touchscreen/bu21029_ts.c 	error = i2c_smbus_read_i2c_block_data(bu21029->client, BU21029_AUTOSCAN,
client            255 drivers/input/touchscreen/bu21029_ts.c 	struct i2c_client *i2c = bu21029->client;
client            314 drivers/input/touchscreen/bu21029_ts.c 	enable_irq(bu21029->client->irq);
client            327 drivers/input/touchscreen/bu21029_ts.c 	disable_irq(bu21029->client->irq);
client            334 drivers/input/touchscreen/bu21029_ts.c static int bu21029_probe(struct i2c_client *client,
client            341 drivers/input/touchscreen/bu21029_ts.c 	if (!i2c_check_functionality(client->adapter,
client            345 drivers/input/touchscreen/bu21029_ts.c 		dev_err(&client->dev,
client            350 drivers/input/touchscreen/bu21029_ts.c 	bu21029 = devm_kzalloc(&client->dev, sizeof(*bu21029), GFP_KERNEL);
client            354 drivers/input/touchscreen/bu21029_ts.c 	error = device_property_read_u32(&client->dev, "rohm,x-plate-ohms",
client            357 drivers/input/touchscreen/bu21029_ts.c 		dev_err(&client->dev,
client            362 drivers/input/touchscreen/bu21029_ts.c 	bu21029->vdd = devm_regulator_get(&client->dev, "vdd");
client            366 drivers/input/touchscreen/bu21029_ts.c 			dev_err(&client->dev,
client            371 drivers/input/touchscreen/bu21029_ts.c 	bu21029->reset_gpios = devm_gpiod_get_optional(&client->dev,
client            376 drivers/input/touchscreen/bu21029_ts.c 			dev_err(&client->dev,
client            381 drivers/input/touchscreen/bu21029_ts.c 	in_dev = devm_input_allocate_device(&client->dev);
client            383 drivers/input/touchscreen/bu21029_ts.c 		dev_err(&client->dev, "unable to allocate input device\n");
client            387 drivers/input/touchscreen/bu21029_ts.c 	bu21029->client = client;
client            404 drivers/input/touchscreen/bu21029_ts.c 	irq_set_status_flags(client->irq, IRQ_NOAUTOEN);
client            405 drivers/input/touchscreen/bu21029_ts.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client            409 drivers/input/touchscreen/bu21029_ts.c 		dev_err(&client->dev,
client            416 drivers/input/touchscreen/bu21029_ts.c 		dev_err(&client->dev,
client            421 drivers/input/touchscreen/bu21029_ts.c 	i2c_set_clientdata(client, bu21029);
client             49 drivers/input/touchscreen/chipone_icn8318.c 	struct i2c_client *client;
client             55 drivers/input/touchscreen/chipone_icn8318.c static int icn8318_read_touch_data(struct i2c_client *client,
client             61 drivers/input/touchscreen/chipone_icn8318.c 			.addr = client->addr,
client             66 drivers/input/touchscreen/chipone_icn8318.c 			.addr = client->addr,
client             73 drivers/input/touchscreen/chipone_icn8318.c 	return i2c_transfer(client->adapter, msg, 2);
client             85 drivers/input/touchscreen/chipone_icn8318.c 	struct device *dev = &data->client->dev;
client             89 drivers/input/touchscreen/chipone_icn8318.c 	ret = icn8318_read_touch_data(data->client, &touch_data);
client            135 drivers/input/touchscreen/chipone_icn8318.c 	enable_irq(data->client->irq);
client            145 drivers/input/touchscreen/chipone_icn8318.c 	disable_irq(data->client->irq);
client            146 drivers/input/touchscreen/chipone_icn8318.c 	i2c_smbus_write_byte_data(data->client, ICN8318_REG_POWER,
client            179 drivers/input/touchscreen/chipone_icn8318.c static int icn8318_probe(struct i2c_client *client,
client            182 drivers/input/touchscreen/chipone_icn8318.c 	struct device *dev = &client->dev;
client            187 drivers/input/touchscreen/chipone_icn8318.c 	if (!client->irq) {
client            208 drivers/input/touchscreen/chipone_icn8318.c 	input->name = client->name;
client            229 drivers/input/touchscreen/chipone_icn8318.c 	data->client = client;
client            233 drivers/input/touchscreen/chipone_icn8318.c 	error = devm_request_threaded_irq(dev, client->irq, NULL, icn8318_irq,
client            234 drivers/input/touchscreen/chipone_icn8318.c 					  IRQF_ONESHOT, client->name, data);
client            247 drivers/input/touchscreen/chipone_icn8318.c 	i2c_set_clientdata(client, data);
client             69 drivers/input/touchscreen/chipone_icn8505.c 	struct i2c_client *client;
client             76 drivers/input/touchscreen/chipone_icn8505.c static int icn8505_read_xfer(struct i2c_client *client, u16 i2c_addr,
client             99 drivers/input/touchscreen/chipone_icn8505.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            104 drivers/input/touchscreen/chipone_icn8505.c 			dev_err(&client->dev,
client            113 drivers/input/touchscreen/chipone_icn8505.c static int icn8505_write_xfer(struct i2c_client *client, u16 i2c_addr,
client            133 drivers/input/touchscreen/chipone_icn8505.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            138 drivers/input/touchscreen/chipone_icn8505.c 			dev_err(&client->dev,
client            150 drivers/input/touchscreen/chipone_icn8505.c 	return icn8505_read_xfer(icn8505->client, icn8505->client->addr, reg,
client            159 drivers/input/touchscreen/chipone_icn8505.c 	error = icn8505_read_xfer(icn8505->client, icn8505->client->addr, reg,
client            169 drivers/input/touchscreen/chipone_icn8505.c 	return icn8505_write_xfer(icn8505->client, icn8505->client->addr, reg,
client            176 drivers/input/touchscreen/chipone_icn8505.c 	return icn8505_read_xfer(icn8505->client, ICN8505_PROG_I2C_ADDR, reg,
client            183 drivers/input/touchscreen/chipone_icn8505.c 	return icn8505_write_xfer(icn8505->client, ICN8505_PROG_I2C_ADDR, reg,
client            189 drivers/input/touchscreen/chipone_icn8505.c 	return icn8505_write_xfer(icn8505->client, ICN8505_PROG_I2C_ADDR, reg,
client            202 drivers/input/touchscreen/chipone_icn8505.c 	struct device *dev = &icn8505->client->dev;
client            282 drivers/input/touchscreen/chipone_icn8505.c 	struct device *dev = &icn8505->client->dev;
client            325 drivers/input/touchscreen/chipone_icn8505.c 	struct device *dev = &icn8505->client->dev;
client            396 drivers/input/touchscreen/chipone_icn8505.c static int icn8505_probe(struct i2c_client *client)
client            398 drivers/input/touchscreen/chipone_icn8505.c 	struct device *dev = &client->dev;
client            404 drivers/input/touchscreen/chipone_icn8505.c 	if (!client->irq) {
client            417 drivers/input/touchscreen/chipone_icn8505.c 	input->name = client->name;
client            424 drivers/input/touchscreen/chipone_icn8505.c 	icn8505->client = client;
client            460 drivers/input/touchscreen/chipone_icn8505.c 	error = devm_request_threaded_irq(dev, client->irq, NULL, icn8505_irq,
client            461 drivers/input/touchscreen/chipone_icn8505.c 					IRQF_ONESHOT, client->name, icn8505);
client            471 drivers/input/touchscreen/chipone_icn8505.c 	i2c_set_clientdata(client, icn8505);
client            479 drivers/input/touchscreen/chipone_icn8505.c 	disable_irq(icn8505->client->irq);
client            495 drivers/input/touchscreen/chipone_icn8505.c 	enable_irq(icn8505->client->irq);
client             47 drivers/input/touchscreen/cy8ctmg110_ts.c 	struct i2c_client *client;
client             65 drivers/input/touchscreen/cy8ctmg110_ts.c 	struct i2c_client *client = tsc->client;
client             74 drivers/input/touchscreen/cy8ctmg110_ts.c 	ret = i2c_master_send(client, i2c_data, len + 1);
client             76 drivers/input/touchscreen/cy8ctmg110_ts.c 		dev_err(&client->dev, "i2c write data cmd failed\n");
client             86 drivers/input/touchscreen/cy8ctmg110_ts.c 	struct i2c_client *client = tsc->client;
client             91 drivers/input/touchscreen/cy8ctmg110_ts.c 			.addr = client->addr,
client             97 drivers/input/touchscreen/cy8ctmg110_ts.c 			.addr = client->addr,
client            104 drivers/input/touchscreen/cy8ctmg110_ts.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            166 drivers/input/touchscreen/cy8ctmg110_ts.c static int cy8ctmg110_probe(struct i2c_client *client,
client            169 drivers/input/touchscreen/cy8ctmg110_ts.c 	const struct cy8ctmg110_pdata *pdata = dev_get_platdata(&client->dev);
client            176 drivers/input/touchscreen/cy8ctmg110_ts.c 		dev_err(&client->dev, "no pdata\n");
client            180 drivers/input/touchscreen/cy8ctmg110_ts.c 	if (!i2c_check_functionality(client->adapter,
client            191 drivers/input/touchscreen/cy8ctmg110_ts.c 	ts->client = client;
client            197 drivers/input/touchscreen/cy8ctmg110_ts.c 		 "%s/input0", dev_name(&client->dev));
client            202 drivers/input/touchscreen/cy8ctmg110_ts.c 	input_dev->dev.parent = &client->dev;
client            215 drivers/input/touchscreen/cy8ctmg110_ts.c 			dev_err(&client->dev,
client            227 drivers/input/touchscreen/cy8ctmg110_ts.c 		dev_err(&client->dev,
client            235 drivers/input/touchscreen/cy8ctmg110_ts.c 		dev_err(&client->dev,
client            241 drivers/input/touchscreen/cy8ctmg110_ts.c 	client->irq = gpio_to_irq(ts->irq_pin);
client            242 drivers/input/touchscreen/cy8ctmg110_ts.c 	if (client->irq < 0) {
client            243 drivers/input/touchscreen/cy8ctmg110_ts.c 		err = client->irq;
client            244 drivers/input/touchscreen/cy8ctmg110_ts.c 		dev_err(&client->dev,
client            250 drivers/input/touchscreen/cy8ctmg110_ts.c 	err = request_threaded_irq(client->irq, NULL, cy8ctmg110_irq_thread,
client            254 drivers/input/touchscreen/cy8ctmg110_ts.c 		dev_err(&client->dev,
client            255 drivers/input/touchscreen/cy8ctmg110_ts.c 			"irq %d busy? error %d\n", client->irq, err);
client            263 drivers/input/touchscreen/cy8ctmg110_ts.c 	i2c_set_clientdata(client, ts);
client            264 drivers/input/touchscreen/cy8ctmg110_ts.c 	device_init_wakeup(&client->dev, 1);
client            268 drivers/input/touchscreen/cy8ctmg110_ts.c 	free_irq(client->irq, ts);
client            284 drivers/input/touchscreen/cy8ctmg110_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            285 drivers/input/touchscreen/cy8ctmg110_ts.c 	struct cy8ctmg110 *ts = i2c_get_clientdata(client);
client            287 drivers/input/touchscreen/cy8ctmg110_ts.c 	if (device_may_wakeup(&client->dev))
client            288 drivers/input/touchscreen/cy8ctmg110_ts.c 		enable_irq_wake(client->irq);
client            298 drivers/input/touchscreen/cy8ctmg110_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            299 drivers/input/touchscreen/cy8ctmg110_ts.c 	struct cy8ctmg110 *ts = i2c_get_clientdata(client);
client            301 drivers/input/touchscreen/cy8ctmg110_ts.c 	if (device_may_wakeup(&client->dev))
client            302 drivers/input/touchscreen/cy8ctmg110_ts.c 		disable_irq_wake(client->irq);
client            312 drivers/input/touchscreen/cy8ctmg110_ts.c static int cy8ctmg110_remove(struct i2c_client *client)
client            314 drivers/input/touchscreen/cy8ctmg110_ts.c 	struct cy8ctmg110 *ts = i2c_get_clientdata(client);
client            319 drivers/input/touchscreen/cy8ctmg110_ts.c 	free_irq(client->irq, ts);
client             30 drivers/input/touchscreen/cyttsp4_i2c.c static int cyttsp4_i2c_probe(struct i2c_client *client,
client             35 drivers/input/touchscreen/cyttsp4_i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client             36 drivers/input/touchscreen/cyttsp4_i2c.c 		dev_err(&client->dev, "I2C functionality not Supported\n");
client             40 drivers/input/touchscreen/cyttsp4_i2c.c 	ts = cyttsp4_probe(&cyttsp4_i2c_bus_ops, &client->dev, client->irq,
client             46 drivers/input/touchscreen/cyttsp4_i2c.c static int cyttsp4_i2c_remove(struct i2c_client *client)
client             48 drivers/input/touchscreen/cyttsp4_i2c.c 	struct cyttsp4 *ts = i2c_get_clientdata(client);
client             29 drivers/input/touchscreen/cyttsp_i2c.c static int cyttsp_i2c_probe(struct i2c_client *client,
client             34 drivers/input/touchscreen/cyttsp_i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client             35 drivers/input/touchscreen/cyttsp_i2c.c 		dev_err(&client->dev, "I2C functionality not Supported\n");
client             39 drivers/input/touchscreen/cyttsp_i2c.c 	ts = cyttsp_probe(&cyttsp_i2c_bus_ops, &client->dev, client->irq,
client             45 drivers/input/touchscreen/cyttsp_i2c.c 	i2c_set_clientdata(client, ts);
client             29 drivers/input/touchscreen/cyttsp_i2c_common.c 	struct i2c_client *client = to_i2c_client(dev);
client             30 drivers/input/touchscreen/cyttsp_i2c_common.c 	u8 client_addr = client->addr | ((addr >> 8) & 0x1);
client             48 drivers/input/touchscreen/cyttsp_i2c_common.c 	retval = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client             59 drivers/input/touchscreen/cyttsp_i2c_common.c 	struct i2c_client *client = to_i2c_client(dev);
client             60 drivers/input/touchscreen/cyttsp_i2c_common.c 	u8 client_addr = client->addr | ((addr >> 8) & 0x1);
client             75 drivers/input/touchscreen/cyttsp_i2c_common.c 	retval = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client             86 drivers/input/touchscreen/edt-ft5x06.c 	struct i2c_client *client;
client            121 drivers/input/touchscreen/edt-ft5x06.c static int edt_ft5x06_ts_readwrite(struct i2c_client *client,
client            130 drivers/input/touchscreen/edt-ft5x06.c 		wrmsg[i].addr  = client->addr;
client            137 drivers/input/touchscreen/edt-ft5x06.c 		wrmsg[i].addr  = client->addr;
client            144 drivers/input/touchscreen/edt-ft5x06.c 	ret = i2c_transfer(client->adapter, wrmsg, i);
client            163 drivers/input/touchscreen/edt-ft5x06.c 		dev_err_ratelimited(&tsdata->client->dev,
client            175 drivers/input/touchscreen/edt-ft5x06.c 	struct device *dev = &tsdata->client->dev;
client            207 drivers/input/touchscreen/edt-ft5x06.c 	error = edt_ft5x06_ts_readwrite(tsdata->client,
client            275 drivers/input/touchscreen/edt-ft5x06.c 		return edt_ft5x06_ts_readwrite(tsdata->client, 4,
client            285 drivers/input/touchscreen/edt-ft5x06.c 		return edt_ft5x06_ts_readwrite(tsdata->client, 2,
client            305 drivers/input/touchscreen/edt-ft5x06.c 		error = edt_ft5x06_ts_readwrite(tsdata->client, 2, wrbuf, 2,
client            311 drivers/input/touchscreen/edt-ft5x06.c 			dev_err(&tsdata->client->dev,
client            325 drivers/input/touchscreen/edt-ft5x06.c 		error = edt_ft5x06_ts_readwrite(tsdata->client, 1,
client            366 drivers/input/touchscreen/edt-ft5x06.c 	struct i2c_client *client = to_i2c_client(dev);
client            367 drivers/input/touchscreen/edt-ft5x06.c 	struct edt_ft5x06_ts_data *tsdata = i2c_get_clientdata(client);
client            407 drivers/input/touchscreen/edt-ft5x06.c 			dev_err(&tsdata->client->dev,
client            417 drivers/input/touchscreen/edt-ft5x06.c 		dev_warn(&tsdata->client->dev,
client            433 drivers/input/touchscreen/edt-ft5x06.c 	struct i2c_client *client = to_i2c_client(dev);
client            434 drivers/input/touchscreen/edt-ft5x06.c 	struct edt_ft5x06_ts_data *tsdata = i2c_get_clientdata(client);
client            481 drivers/input/touchscreen/edt-ft5x06.c 			dev_err(&tsdata->client->dev,
client            530 drivers/input/touchscreen/edt-ft5x06.c 	struct i2c_client *client = tsdata->client;
client            536 drivers/input/touchscreen/edt-ft5x06.c 		dev_err(&client->dev,
client            541 drivers/input/touchscreen/edt-ft5x06.c 	disable_irq(client->irq);
client            556 drivers/input/touchscreen/edt-ft5x06.c 		dev_err(&client->dev,
client            571 drivers/input/touchscreen/edt-ft5x06.c 		dev_err(&client->dev, "not in factory mode after %dms.\n",
client            583 drivers/input/touchscreen/edt-ft5x06.c 	enable_irq(client->irq);
client            590 drivers/input/touchscreen/edt-ft5x06.c 	struct i2c_client *client = tsdata->client;
client            599 drivers/input/touchscreen/edt-ft5x06.c 		dev_err(&client->dev,
client            615 drivers/input/touchscreen/edt-ft5x06.c 		dev_err(&client->dev, "not in work mode after %dms.\n",
client            642 drivers/input/touchscreen/edt-ft5x06.c 	enable_irq(client->irq);
client            683 drivers/input/touchscreen/edt-ft5x06.c 	struct i2c_client *client = tsdata->client;
client            703 drivers/input/touchscreen/edt-ft5x06.c 		dev_dbg(&client->dev,
client            717 drivers/input/touchscreen/edt-ft5x06.c 		dev_dbg(&client->dev,
client            723 drivers/input/touchscreen/edt-ft5x06.c 		dev_dbg(&client->dev,
client            736 drivers/input/touchscreen/edt-ft5x06.c 		error = edt_ft5x06_ts_readwrite(tsdata->client,
client            799 drivers/input/touchscreen/edt-ft5x06.c static int edt_ft5x06_ts_identify(struct i2c_client *client,
client            813 drivers/input/touchscreen/edt-ft5x06.c 	error = edt_ft5x06_ts_readwrite(client, 1, "\xBB",
client            862 drivers/input/touchscreen/edt-ft5x06.c 		error = edt_ft5x06_ts_readwrite(client, 1, "\xA6",
client            869 drivers/input/touchscreen/edt-ft5x06.c 		error = edt_ft5x06_ts_readwrite(client, 1, "\xA8",
client            898 drivers/input/touchscreen/edt-ft5x06.c 			error = edt_ft5x06_ts_readwrite(client, 1, "\x53",
client           1039 drivers/input/touchscreen/edt-ft5x06.c static int edt_ft5x06_ts_probe(struct i2c_client *client,
client           1050 drivers/input/touchscreen/edt-ft5x06.c 	dev_dbg(&client->dev, "probing for EDT FT5x06 I2C\n");
client           1052 drivers/input/touchscreen/edt-ft5x06.c 	tsdata = devm_kzalloc(&client->dev, sizeof(*tsdata), GFP_KERNEL);
client           1054 drivers/input/touchscreen/edt-ft5x06.c 		dev_err(&client->dev, "failed to allocate driver data.\n");
client           1058 drivers/input/touchscreen/edt-ft5x06.c 	chip_data = device_get_match_data(&client->dev);
client           1062 drivers/input/touchscreen/edt-ft5x06.c 		dev_err(&client->dev, "invalid or missing chip data\n");
client           1068 drivers/input/touchscreen/edt-ft5x06.c 	tsdata->reset_gpio = devm_gpiod_get_optional(&client->dev,
client           1072 drivers/input/touchscreen/edt-ft5x06.c 		dev_err(&client->dev,
client           1077 drivers/input/touchscreen/edt-ft5x06.c 	tsdata->wake_gpio = devm_gpiod_get_optional(&client->dev,
client           1081 drivers/input/touchscreen/edt-ft5x06.c 		dev_err(&client->dev,
client           1097 drivers/input/touchscreen/edt-ft5x06.c 	input = devm_input_allocate_device(&client->dev);
client           1099 drivers/input/touchscreen/edt-ft5x06.c 		dev_err(&client->dev, "failed to allocate input device.\n");
client           1104 drivers/input/touchscreen/edt-ft5x06.c 	tsdata->client = client;
client           1108 drivers/input/touchscreen/edt-ft5x06.c 	error = edt_ft5x06_ts_identify(client, tsdata, fw_version);
client           1110 drivers/input/touchscreen/edt-ft5x06.c 		dev_err(&client->dev, "touchscreen probe failed\n");
client           1118 drivers/input/touchscreen/edt-ft5x06.c 	edt_ft5x06_ts_readwrite(tsdata->client, 2, buf, 2, buf);
client           1121 drivers/input/touchscreen/edt-ft5x06.c 	edt_ft5x06_ts_get_defaults(&client->dev, tsdata);
client           1124 drivers/input/touchscreen/edt-ft5x06.c 	dev_dbg(&client->dev,
client           1130 drivers/input/touchscreen/edt-ft5x06.c 	input->dev.parent = &client->dev;
client           1152 drivers/input/touchscreen/edt-ft5x06.c 		dev_err(&client->dev, "Unable to init MT slots.\n");
client           1156 drivers/input/touchscreen/edt-ft5x06.c 	i2c_set_clientdata(client, tsdata);
client           1158 drivers/input/touchscreen/edt-ft5x06.c 	irq_flags = irq_get_trigger_type(client->irq);
client           1163 drivers/input/touchscreen/edt-ft5x06.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client           1165 drivers/input/touchscreen/edt-ft5x06.c 					client->name, tsdata);
client           1167 drivers/input/touchscreen/edt-ft5x06.c 		dev_err(&client->dev, "Unable to request touchscreen IRQ.\n");
client           1171 drivers/input/touchscreen/edt-ft5x06.c 	error = devm_device_add_group(&client->dev, &edt_ft5x06_attr_group);
client           1179 drivers/input/touchscreen/edt-ft5x06.c 	edt_ft5x06_ts_prepare_debugfs(tsdata, dev_driver_string(&client->dev));
client           1180 drivers/input/touchscreen/edt-ft5x06.c 	device_init_wakeup(&client->dev, 1);
client           1182 drivers/input/touchscreen/edt-ft5x06.c 	dev_dbg(&client->dev,
client           1184 drivers/input/touchscreen/edt-ft5x06.c 		client->irq,
client           1191 drivers/input/touchscreen/edt-ft5x06.c static int edt_ft5x06_ts_remove(struct i2c_client *client)
client           1193 drivers/input/touchscreen/edt-ft5x06.c 	struct edt_ft5x06_ts_data *tsdata = i2c_get_clientdata(client);
client           1202 drivers/input/touchscreen/edt-ft5x06.c 	struct i2c_client *client = to_i2c_client(dev);
client           1205 drivers/input/touchscreen/edt-ft5x06.c 		enable_irq_wake(client->irq);
client           1212 drivers/input/touchscreen/edt-ft5x06.c 	struct i2c_client *client = to_i2c_client(dev);
client           1215 drivers/input/touchscreen/edt-ft5x06.c 		disable_irq_wake(client->irq);
client             27 drivers/input/touchscreen/eeti_ts.c 	struct i2c_client *client;
client             71 drivers/input/touchscreen/eeti_ts.c 	len = i2c_master_recv(eeti->client, buf, sizeof(buf));
client             74 drivers/input/touchscreen/eeti_ts.c 		dev_err(&eeti->client->dev,
client            121 drivers/input/touchscreen/eeti_ts.c 	enable_irq(eeti->client->irq);
client            142 drivers/input/touchscreen/eeti_ts.c 	disable_irq(eeti->client->irq);
client            161 drivers/input/touchscreen/eeti_ts.c static int eeti_ts_probe(struct i2c_client *client,
client            164 drivers/input/touchscreen/eeti_ts.c 	struct device *dev = &client->dev;
client            198 drivers/input/touchscreen/eeti_ts.c 	input->name = client->name;
client            203 drivers/input/touchscreen/eeti_ts.c 	eeti->client = client;
client            210 drivers/input/touchscreen/eeti_ts.c 	i2c_set_clientdata(client, eeti);
client            213 drivers/input/touchscreen/eeti_ts.c 	error = devm_request_threaded_irq(dev, client->irq,
client            216 drivers/input/touchscreen/eeti_ts.c 					  client->name, eeti);
client            238 drivers/input/touchscreen/eeti_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            239 drivers/input/touchscreen/eeti_ts.c 	struct eeti_ts *eeti = i2c_get_clientdata(client);
client            249 drivers/input/touchscreen/eeti_ts.c 	if (device_may_wakeup(&client->dev))
client            250 drivers/input/touchscreen/eeti_ts.c 		enable_irq_wake(client->irq);
client            257 drivers/input/touchscreen/eeti_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            258 drivers/input/touchscreen/eeti_ts.c 	struct eeti_ts *eeti = i2c_get_clientdata(client);
client            261 drivers/input/touchscreen/eeti_ts.c 	if (device_may_wakeup(&client->dev))
client            262 drivers/input/touchscreen/eeti_ts.c 		disable_irq_wake(client->irq);
client             60 drivers/input/touchscreen/egalax_ts.c 	struct i2c_client		*client;
client             68 drivers/input/touchscreen/egalax_ts.c 	struct i2c_client *client = ts->client;
client             76 drivers/input/touchscreen/egalax_ts.c 		ret = i2c_master_recv(client, buf, MAX_I2C_DATA_LEN);
client             97 drivers/input/touchscreen/egalax_ts.c 		dev_dbg(&client->dev, "point invalid\n");
client            104 drivers/input/touchscreen/egalax_ts.c 	dev_dbg(&client->dev, "%s id:%d x:%d y:%d z:%d",
client            120 drivers/input/touchscreen/egalax_ts.c static int egalax_wake_up_device(struct i2c_client *client)
client            122 drivers/input/touchscreen/egalax_ts.c 	struct device_node *np = client->dev.of_node;
client            135 drivers/input/touchscreen/egalax_ts.c 		dev_err(&client->dev,
client            152 drivers/input/touchscreen/egalax_ts.c static int egalax_firmware_version(struct i2c_client *client)
client            157 drivers/input/touchscreen/egalax_ts.c 	ret = i2c_master_send(client, cmd, MAX_I2C_DATA_LEN);
client            164 drivers/input/touchscreen/egalax_ts.c static int egalax_ts_probe(struct i2c_client *client,
client            171 drivers/input/touchscreen/egalax_ts.c 	ts = devm_kzalloc(&client->dev, sizeof(struct egalax_ts), GFP_KERNEL);
client            173 drivers/input/touchscreen/egalax_ts.c 		dev_err(&client->dev, "Failed to allocate memory\n");
client            177 drivers/input/touchscreen/egalax_ts.c 	input_dev = devm_input_allocate_device(&client->dev);
client            179 drivers/input/touchscreen/egalax_ts.c 		dev_err(&client->dev, "Failed to allocate memory\n");
client            183 drivers/input/touchscreen/egalax_ts.c 	ts->client = client;
client            187 drivers/input/touchscreen/egalax_ts.c 	error = egalax_wake_up_device(client);
client            189 drivers/input/touchscreen/egalax_ts.c 		dev_err(&client->dev, "Failed to wake up the controller\n");
client            193 drivers/input/touchscreen/egalax_ts.c 	error = egalax_firmware_version(client);
client            195 drivers/input/touchscreen/egalax_ts.c 		dev_err(&client->dev, "Failed to read firmware version\n");
client            214 drivers/input/touchscreen/egalax_ts.c 	error = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            219 drivers/input/touchscreen/egalax_ts.c 		dev_err(&client->dev, "Failed to register interrupt\n");
client            241 drivers/input/touchscreen/egalax_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            245 drivers/input/touchscreen/egalax_ts.c 		return enable_irq_wake(client->irq);
client            247 drivers/input/touchscreen/egalax_ts.c 	ret = i2c_master_send(client, suspend_cmd, MAX_I2C_DATA_LEN);
client            253 drivers/input/touchscreen/egalax_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            256 drivers/input/touchscreen/egalax_ts.c 		return disable_irq_wake(client->irq);
client            258 drivers/input/touchscreen/egalax_ts.c 	return egalax_wake_up_device(client);
client             44 drivers/input/touchscreen/ektf2127.c 	struct i2c_client *client;
client             77 drivers/input/touchscreen/ektf2127.c 		dev_err(&ts->client->dev,
client            101 drivers/input/touchscreen/ektf2127.c 	struct device *dev = &ts->client->dev;
client            105 drivers/input/touchscreen/ektf2127.c 	ret = i2c_master_recv(ts->client, buf, EKTF2127_TOUCH_REPORT_SIZE);
client            138 drivers/input/touchscreen/ektf2127.c 	enable_irq(ts->client->irq);
client            148 drivers/input/touchscreen/ektf2127.c 	disable_irq(ts->client->irq);
client            179 drivers/input/touchscreen/ektf2127.c static int ektf2127_query_dimension(struct i2c_client *client, bool width)
client            181 drivers/input/touchscreen/ektf2127.c 	struct device *dev = &client->dev;
client            193 drivers/input/touchscreen/ektf2127.c 	ret = i2c_master_send(client, buf, sizeof(buf));
client            203 drivers/input/touchscreen/ektf2127.c 	ret = i2c_master_recv(client, buf, sizeof(buf));
client            219 drivers/input/touchscreen/ektf2127.c static int ektf2127_probe(struct i2c_client *client,
client            222 drivers/input/touchscreen/ektf2127.c 	struct device *dev = &client->dev;
client            229 drivers/input/touchscreen/ektf2127.c 	if (!client->irq) {
client            251 drivers/input/touchscreen/ektf2127.c 	input->name = client->name;
client            256 drivers/input/touchscreen/ektf2127.c 	ts->client = client;
client            260 drivers/input/touchscreen/ektf2127.c 	i2c_master_recv(ts->client, buf, sizeof(buf));
client            263 drivers/input/touchscreen/ektf2127.c 	max_x = ektf2127_query_dimension(client, true);
client            267 drivers/input/touchscreen/ektf2127.c 	max_y = ektf2127_query_dimension(client, false);
client            285 drivers/input/touchscreen/ektf2127.c 	error = devm_request_threaded_irq(dev, client->irq,
client            287 drivers/input/touchscreen/ektf2127.c 					  IRQF_ONESHOT, client->name, ts);
client            300 drivers/input/touchscreen/ektf2127.c 	i2c_set_clientdata(client, ts);
client            118 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client;
client            152 drivers/input/touchscreen/elants_i2c.c static int elants_i2c_send(struct i2c_client *client,
client            157 drivers/input/touchscreen/elants_i2c.c 	ret = i2c_master_send(client, data, size);
client            164 drivers/input/touchscreen/elants_i2c.c 	dev_err(&client->dev, "%s failed (%*ph): %d\n",
client            170 drivers/input/touchscreen/elants_i2c.c static int elants_i2c_read(struct i2c_client *client, void *data, size_t size)
client            174 drivers/input/touchscreen/elants_i2c.c 	ret = i2c_master_recv(client, data, size);
client            181 drivers/input/touchscreen/elants_i2c.c 	dev_err(&client->dev, "%s failed: %d\n", __func__, ret);
client            186 drivers/input/touchscreen/elants_i2c.c static int elants_i2c_execute_command(struct i2c_client *client,
client            204 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "%s: invalid command %*ph\n",
client            209 drivers/input/touchscreen/elants_i2c.c 	msgs[0].addr = client->addr;
client            210 drivers/input/touchscreen/elants_i2c.c 	msgs[0].flags = client->flags & I2C_M_TEN;
client            214 drivers/input/touchscreen/elants_i2c.c 	msgs[1].addr = client->addr;
client            215 drivers/input/touchscreen/elants_i2c.c 	msgs[1].flags = client->flags & I2C_M_TEN;
client            220 drivers/input/touchscreen/elants_i2c.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            232 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = ts->client;
client            238 drivers/input/touchscreen/elants_i2c.c 	disable_irq(client->irq);
client            243 drivers/input/touchscreen/elants_i2c.c 	elants_i2c_send(client, w_flashkey, sizeof(w_flashkey));
client            244 drivers/input/touchscreen/elants_i2c.c 	elants_i2c_send(client, rek, sizeof(rek));
client            246 drivers/input/touchscreen/elants_i2c.c 	enable_irq(client->irq);
client            255 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev,
client            262 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev,
client            271 drivers/input/touchscreen/elants_i2c.c static int elants_i2c_sw_reset(struct i2c_client *client)
client            276 drivers/input/touchscreen/elants_i2c.c 	error = elants_i2c_send(client, soft_rst_cmd,
client            279 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "software reset failed: %d\n", error);
client            299 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = ts->client;
client            305 drivers/input/touchscreen/elants_i2c.c 		error = elants_i2c_execute_command(client, cmd, sizeof(cmd),
client            313 drivers/input/touchscreen/elants_i2c.c 		dev_dbg(&client->dev, "read fw id error=%d, buf=%*phC\n",
client            318 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev,
client            323 drivers/input/touchscreen/elants_i2c.c 	dev_err(&client->dev, "Invalid fw id: %#04x\n", ts->hw_version);
client            330 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = ts->client;
client            336 drivers/input/touchscreen/elants_i2c.c 		error = elants_i2c_execute_command(client, cmd, sizeof(cmd),
client            345 drivers/input/touchscreen/elants_i2c.c 		dev_dbg(&client->dev, "read fw version error=%d, buf=%*phC\n",
client            349 drivers/input/touchscreen/elants_i2c.c 	dev_err(&client->dev,
client            357 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = ts->client;
client            364 drivers/input/touchscreen/elants_i2c.c 		error = elants_i2c_execute_command(client, cmd, sizeof(cmd),
client            374 drivers/input/touchscreen/elants_i2c.c 		dev_dbg(&client->dev,
client            379 drivers/input/touchscreen/elants_i2c.c 	dev_err(&client->dev, "Failed to read test version\n");
client            386 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = ts->client;
client            392 drivers/input/touchscreen/elants_i2c.c 	error = elants_i2c_execute_command(client, cmd, sizeof(cmd),
client            395 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev,
client            410 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = ts->client;
client            428 drivers/input/touchscreen/elants_i2c.c 	error = elants_i2c_execute_command(client,
client            433 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "get resolution command failed: %d\n",
client            442 drivers/input/touchscreen/elants_i2c.c 	error = elants_i2c_execute_command(client,
client            446 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "get osr command failed: %d\n",
client            453 drivers/input/touchscreen/elants_i2c.c 	error = elants_i2c_execute_command(client,
client            458 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "get physical scan command failed: %d\n",
client            465 drivers/input/touchscreen/elants_i2c.c 	error = elants_i2c_execute_command(client,
client            470 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "get physical drive command failed: %d\n",
client            477 drivers/input/touchscreen/elants_i2c.c 	dev_dbg(&client->dev, "phy_x=%d, phy_y=%d\n", phy_x, phy_y);
client            480 drivers/input/touchscreen/elants_i2c.c 		dev_warn(&client->dev,
client            494 drivers/input/touchscreen/elants_i2c.c static int elants_i2c_fastboot(struct i2c_client *client)
client            499 drivers/input/touchscreen/elants_i2c.c 	error = elants_i2c_send(client, boot_cmd, sizeof(boot_cmd));
client            501 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "boot failed: %d\n", error);
client            505 drivers/input/touchscreen/elants_i2c.c 	dev_dbg(&client->dev, "boot success -- 0x%x\n", client->addr);
client            511 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = ts->client;
client            518 drivers/input/touchscreen/elants_i2c.c 		error = elants_i2c_sw_reset(client);
client            525 drivers/input/touchscreen/elants_i2c.c 		error = elants_i2c_fastboot(client);
client            535 drivers/input/touchscreen/elants_i2c.c 		error = elants_i2c_read(client, buf, sizeof(buf));
client            537 drivers/input/touchscreen/elants_i2c.c 			dev_err(&client->dev,
client            551 drivers/input/touchscreen/elants_i2c.c 			dev_err(&client->dev,
client            581 drivers/input/touchscreen/elants_i2c.c static int elants_i2c_fw_write_page(struct i2c_client *client,
client            590 drivers/input/touchscreen/elants_i2c.c 		error = elants_i2c_send(client, page, ELAN_FW_PAGESIZE);
client            592 drivers/input/touchscreen/elants_i2c.c 			dev_err(&client->dev,
client            597 drivers/input/touchscreen/elants_i2c.c 		error = elants_i2c_read(client, buf, 2);
client            599 drivers/input/touchscreen/elants_i2c.c 			dev_err(&client->dev,
client            608 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev,
client            616 drivers/input/touchscreen/elants_i2c.c static int elants_i2c_do_update_firmware(struct i2c_client *client,
client            631 drivers/input/touchscreen/elants_i2c.c 		dev_dbg(&client->dev, "Recovery mode procedure\n");
client            632 drivers/input/touchscreen/elants_i2c.c 		error = elants_i2c_send(client, enter_iap2, sizeof(enter_iap2));
client            635 drivers/input/touchscreen/elants_i2c.c 		dev_dbg(&client->dev, "Normal IAP procedure\n");
client            637 drivers/input/touchscreen/elants_i2c.c 		error = elants_i2c_send(client, close_idle, sizeof(close_idle));
client            639 drivers/input/touchscreen/elants_i2c.c 			dev_err(&client->dev, "Failed close idle: %d\n", error);
client            641 drivers/input/touchscreen/elants_i2c.c 		elants_i2c_sw_reset(client);
client            643 drivers/input/touchscreen/elants_i2c.c 		error = elants_i2c_send(client, enter_iap, sizeof(enter_iap));
client            647 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "failed to enter IAP mode: %d\n", error);
client            654 drivers/input/touchscreen/elants_i2c.c 	error = elants_i2c_read(client, buf, 4);
client            656 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev,
client            663 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev,
client            669 drivers/input/touchscreen/elants_i2c.c 	dev_info(&client->dev, "successfully entered IAP mode");
client            671 drivers/input/touchscreen/elants_i2c.c 	send_id = client->addr;
client            672 drivers/input/touchscreen/elants_i2c.c 	error = elants_i2c_send(client, &send_id, 1);
client            674 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "sending dummy byte failed: %d\n",
client            680 drivers/input/touchscreen/elants_i2c.c 	error = elants_i2c_send(client, fw->data, ELAN_FW_PAGESIZE);
client            682 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "clearing of the last page failed: %d\n",
client            687 drivers/input/touchscreen/elants_i2c.c 	error = elants_i2c_read(client, buf, 2);
client            689 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev,
client            696 drivers/input/touchscreen/elants_i2c.c 	dev_dbg(&client->dev, "IAP Pages = %d\n", n_fw_pages);
client            699 drivers/input/touchscreen/elants_i2c.c 		error = elants_i2c_fw_write_page(client,
client            702 drivers/input/touchscreen/elants_i2c.c 			dev_err(&client->dev,
client            712 drivers/input/touchscreen/elants_i2c.c 	dev_info(&client->dev, "firmware update completed\n");
client            718 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = ts->client;
client            727 drivers/input/touchscreen/elants_i2c.c 	dev_info(&client->dev, "requesting fw name = %s\n", fw_name);
client            728 drivers/input/touchscreen/elants_i2c.c 	error = request_firmware(&fw, fw_name, &client->dev);
client            731 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "failed to request firmware: %d\n",
client            737 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "invalid firmware length: %zu\n",
client            743 drivers/input/touchscreen/elants_i2c.c 	disable_irq(client->irq);
client            745 drivers/input/touchscreen/elants_i2c.c 	error = elants_i2c_do_update_firmware(client, fw,
client            748 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "firmware update failed: %d\n", error);
client            755 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev,
client            766 drivers/input/touchscreen/elants_i2c.c 	enable_irq(client->irq);
client            791 drivers/input/touchscreen/elants_i2c.c 	dev_dbg(&ts->client->dev,
client            805 drivers/input/touchscreen/elants_i2c.c 			dev_dbg(&ts->client->dev, "i=%d x=%d y=%d p=%d w=%d\n",
client            841 drivers/input/touchscreen/elants_i2c.c 		dev_warn(&ts->client->dev,
client            846 drivers/input/touchscreen/elants_i2c.c 		dev_warn(&ts->client->dev,
client            857 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = ts->client;
client            862 drivers/input/touchscreen/elants_i2c.c 	len = i2c_master_recv_dmasafe(client, ts->buf, sizeof(ts->buf));
client            864 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "%s: failed to read data: %d\n",
client            869 drivers/input/touchscreen/elants_i2c.c 	dev_dbg(&client->dev, "%s: packet %*ph\n",
client            898 drivers/input/touchscreen/elants_i2c.c 				dev_err(&client->dev,
client            914 drivers/input/touchscreen/elants_i2c.c 				dev_err(&client->dev,
client            922 drivers/input/touchscreen/elants_i2c.c 				dev_err(&client->dev,
client            936 drivers/input/touchscreen/elants_i2c.c 			dev_err(&client->dev, "unknown packet %*ph\n",
client            954 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            955 drivers/input/touchscreen/elants_i2c.c 	struct elants_data *ts = i2c_get_clientdata(client);
client            972 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            973 drivers/input/touchscreen/elants_i2c.c 	struct elants_data *ts = i2c_get_clientdata(client);
client            990 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            991 drivers/input/touchscreen/elants_i2c.c 	struct elants_data *ts = i2c_get_clientdata(client);
client           1025 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client           1026 drivers/input/touchscreen/elants_i2c.c 	struct elants_data *ts = i2c_get_clientdata(client);
client           1084 drivers/input/touchscreen/elants_i2c.c 		dev_err(&ts->client->dev,
client           1092 drivers/input/touchscreen/elants_i2c.c 		dev_err(&ts->client->dev,
client           1130 drivers/input/touchscreen/elants_i2c.c static int elants_i2c_probe(struct i2c_client *client,
client           1138 drivers/input/touchscreen/elants_i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client           1139 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev,
client           1144 drivers/input/touchscreen/elants_i2c.c 	ts = devm_kzalloc(&client->dev, sizeof(struct elants_data), GFP_KERNEL);
client           1151 drivers/input/touchscreen/elants_i2c.c 	ts->client = client;
client           1152 drivers/input/touchscreen/elants_i2c.c 	i2c_set_clientdata(client, ts);
client           1154 drivers/input/touchscreen/elants_i2c.c 	ts->vcc33 = devm_regulator_get(&client->dev, "vcc33");
client           1158 drivers/input/touchscreen/elants_i2c.c 			dev_err(&client->dev,
client           1164 drivers/input/touchscreen/elants_i2c.c 	ts->vccio = devm_regulator_get(&client->dev, "vccio");
client           1168 drivers/input/touchscreen/elants_i2c.c 			dev_err(&client->dev,
client           1174 drivers/input/touchscreen/elants_i2c.c 	ts->reset_gpio = devm_gpiod_get(&client->dev, "reset", GPIOD_OUT_LOW);
client           1182 drivers/input/touchscreen/elants_i2c.c 			dev_err(&client->dev,
client           1195 drivers/input/touchscreen/elants_i2c.c 	error = devm_add_action(&client->dev, elants_i2c_power_off, ts);
client           1197 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev,
client           1204 drivers/input/touchscreen/elants_i2c.c 	if (i2c_smbus_xfer(client->adapter, client->addr, 0,
client           1206 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "nothing at this address\n");
client           1212 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "failed to initialize: %d\n", error);
client           1216 drivers/input/touchscreen/elants_i2c.c 	ts->input = devm_input_allocate_device(&client->dev);
client           1218 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "Failed to allocate input device\n");
client           1240 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev,
client           1254 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev,
client           1264 drivers/input/touchscreen/elants_i2c.c 	irqflags = irq_get_trigger_type(client->irq);
client           1268 drivers/input/touchscreen/elants_i2c.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client           1271 drivers/input/touchscreen/elants_i2c.c 					  client->name, ts);
client           1273 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "Failed to register interrupt\n");
client           1281 drivers/input/touchscreen/elants_i2c.c 	if (!client->dev.of_node)
client           1282 drivers/input/touchscreen/elants_i2c.c 		device_init_wakeup(&client->dev, true);
client           1284 drivers/input/touchscreen/elants_i2c.c 	error = devm_device_add_group(&client->dev, &elants_attribute_group);
client           1286 drivers/input/touchscreen/elants_i2c.c 		dev_err(&client->dev, "failed to create sysfs attributes: %d\n",
client           1296 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client           1297 drivers/input/touchscreen/elants_i2c.c 	struct elants_data *ts = i2c_get_clientdata(client);
client           1306 drivers/input/touchscreen/elants_i2c.c 	disable_irq(client->irq);
client           1313 drivers/input/touchscreen/elants_i2c.c 		ts->wake_irq_enabled = (enable_irq_wake(client->irq) == 0);
client           1316 drivers/input/touchscreen/elants_i2c.c 			error = elants_i2c_send(client, set_sleep_cmd,
client           1321 drivers/input/touchscreen/elants_i2c.c 			dev_err(&client->dev,
client           1333 drivers/input/touchscreen/elants_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client           1334 drivers/input/touchscreen/elants_i2c.c 	struct elants_data *ts = i2c_get_clientdata(client);
client           1341 drivers/input/touchscreen/elants_i2c.c 			disable_irq_wake(client->irq);
client           1342 drivers/input/touchscreen/elants_i2c.c 		elants_i2c_sw_reset(client);
client           1345 drivers/input/touchscreen/elants_i2c.c 			error = elants_i2c_send(client, set_active_cmd,
client           1350 drivers/input/touchscreen/elants_i2c.c 			dev_err(&client->dev,
client           1359 drivers/input/touchscreen/elants_i2c.c 	enable_irq(client->irq);
client             30 drivers/input/touchscreen/exc3000.c 	struct i2c_client *client;
client             61 drivers/input/touchscreen/exc3000.c static int exc3000_read_frame(struct i2c_client *client, u8 *buf)
client             65 drivers/input/touchscreen/exc3000.c 	ret = i2c_master_send(client, "'", 2);
client             72 drivers/input/touchscreen/exc3000.c 	ret = i2c_master_recv(client, buf, EXC3000_LEN_FRAME);
client             86 drivers/input/touchscreen/exc3000.c static int exc3000_read_data(struct i2c_client *client,
client             91 drivers/input/touchscreen/exc3000.c 	error = exc3000_read_frame(client, buf);
client            101 drivers/input/touchscreen/exc3000.c 		error = exc3000_read_frame(client, buf + EXC3000_LEN_FRAME);
client            121 drivers/input/touchscreen/exc3000.c 	error = exc3000_read_data(data->client, buf, &total_slots);
client            148 drivers/input/touchscreen/exc3000.c static int exc3000_probe(struct i2c_client *client,
client            155 drivers/input/touchscreen/exc3000.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            159 drivers/input/touchscreen/exc3000.c 	data->client = client;
client            162 drivers/input/touchscreen/exc3000.c 	input = devm_input_allocate_device(&client->dev);
client            184 drivers/input/touchscreen/exc3000.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client            186 drivers/input/touchscreen/exc3000.c 					  client->name, data);
client             41 drivers/input/touchscreen/goodix.c 	struct i2c_client *client;
client            179 drivers/input/touchscreen/goodix.c static int goodix_i2c_read(struct i2c_client *client,
client            187 drivers/input/touchscreen/goodix.c 	msgs[0].addr  = client->addr;
client            192 drivers/input/touchscreen/goodix.c 	msgs[1].addr  = client->addr;
client            196 drivers/input/touchscreen/goodix.c 	ret = i2c_transfer(client->adapter, msgs, 2);
client            208 drivers/input/touchscreen/goodix.c static int goodix_i2c_write(struct i2c_client *client, u16 reg, const u8 *buf,
client            224 drivers/input/touchscreen/goodix.c 	msg.addr = client->addr;
client            228 drivers/input/touchscreen/goodix.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            233 drivers/input/touchscreen/goodix.c static int goodix_i2c_write_u8(struct i2c_client *client, u16 reg, u8 value)
client            235 drivers/input/touchscreen/goodix.c 	return goodix_i2c_write(client, reg, &value, sizeof(value));
client            275 drivers/input/touchscreen/goodix.c 		error = goodix_i2c_read(ts->client, GOODIX_READ_COOR_ADDR,
client            278 drivers/input/touchscreen/goodix.c 			dev_err(&ts->client->dev, "I2C transfer error: %d\n",
client            290 drivers/input/touchscreen/goodix.c 				error = goodix_i2c_read(ts->client,
client            391 drivers/input/touchscreen/goodix.c 	if (goodix_i2c_write_u8(ts->client, GOODIX_READ_COOR_ADDR, 0) < 0)
client            392 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev, "I2C write end_cmd error\n");
client            399 drivers/input/touchscreen/goodix.c 	devm_free_irq(&ts->client->dev, ts->client->irq, ts);
client            404 drivers/input/touchscreen/goodix.c 	return devm_request_threaded_irq(&ts->client->dev, ts->client->irq,
client            406 drivers/input/touchscreen/goodix.c 					 ts->irq_flags, ts->client->name, ts);
client            419 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev,
client            425 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev,
client            443 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev,
client            449 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev,
client            467 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev,
client            490 drivers/input/touchscreen/goodix.c 	error = goodix_i2c_write(ts->client, ts->chip->config_addr, cfg->data,
client            493 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev, "Failed to write config data: %d",
client            497 drivers/input/touchscreen/goodix.c 	dev_dbg(&ts->client->dev, "Config sent successfully.");
client            539 drivers/input/touchscreen/goodix.c 	error = gpiod_direction_output(ts->gpiod_int, ts->client->addr == 0x14);
client            574 drivers/input/touchscreen/goodix.c 	if (!ts->client)
client            576 drivers/input/touchscreen/goodix.c 	dev = &ts->client->dev;
client            636 drivers/input/touchscreen/goodix.c 	error = goodix_i2c_read(ts->client, ts->chip->config_addr,
client            639 drivers/input/touchscreen/goodix.c 		dev_warn(&ts->client->dev, "Error reading config: %d\n",
client            668 drivers/input/touchscreen/goodix.c 	error = goodix_i2c_read(ts->client, GOODIX_REG_ID, buf, sizeof(buf));
client            670 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev, "read version failed: %d\n", error);
client            681 drivers/input/touchscreen/goodix.c 	dev_info(&ts->client->dev, "ID %d, version: %04x\n", ts->id,
client            692 drivers/input/touchscreen/goodix.c static int goodix_i2c_test(struct i2c_client *client)
client            699 drivers/input/touchscreen/goodix.c 		error = goodix_i2c_read(client, GOODIX_REG_ID,
client            704 drivers/input/touchscreen/goodix.c 		dev_err(&client->dev, "i2c test failed attempt %d: %d\n",
client            729 drivers/input/touchscreen/goodix.c 	ts->input_dev = devm_input_allocate_device(&ts->client->dev);
client            731 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev, "Failed to allocate input device.");
client            757 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev,
client            772 drivers/input/touchscreen/goodix.c 		dev_dbg(&ts->client->dev,
client            779 drivers/input/touchscreen/goodix.c 		dev_dbg(&ts->client->dev,
client            786 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev,
client            793 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev,
client            801 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev, "request IRQ failed: %d\n", error);
client            843 drivers/input/touchscreen/goodix.c static int goodix_ts_probe(struct i2c_client *client,
client            849 drivers/input/touchscreen/goodix.c 	dev_dbg(&client->dev, "I2C Address: 0x%02x\n", client->addr);
client            851 drivers/input/touchscreen/goodix.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            852 drivers/input/touchscreen/goodix.c 		dev_err(&client->dev, "I2C check functionality failed.\n");
client            856 drivers/input/touchscreen/goodix.c 	ts = devm_kzalloc(&client->dev, sizeof(*ts), GFP_KERNEL);
client            860 drivers/input/touchscreen/goodix.c 	ts->client = client;
client            861 drivers/input/touchscreen/goodix.c 	i2c_set_clientdata(client, ts);
client            872 drivers/input/touchscreen/goodix.c 		dev_err(&client->dev,
client            880 drivers/input/touchscreen/goodix.c 		dev_err(&client->dev,
client            887 drivers/input/touchscreen/goodix.c 	error = devm_add_action_or_reset(&client->dev,
client            896 drivers/input/touchscreen/goodix.c 			dev_err(&client->dev, "Controller reset failed.\n");
client            901 drivers/input/touchscreen/goodix.c 	error = goodix_i2c_test(client);
client            903 drivers/input/touchscreen/goodix.c 		dev_err(&client->dev, "I2C communication failure: %d\n", error);
client            909 drivers/input/touchscreen/goodix.c 		dev_err(&client->dev, "Read version failed.\n");
client            917 drivers/input/touchscreen/goodix.c 		ts->cfg_name = devm_kasprintf(&client->dev, GFP_KERNEL,
client            923 drivers/input/touchscreen/goodix.c 						&client->dev, GFP_KERNEL, ts,
client            926 drivers/input/touchscreen/goodix.c 			dev_err(&client->dev,
client            942 drivers/input/touchscreen/goodix.c static int goodix_ts_remove(struct i2c_client *client)
client            944 drivers/input/touchscreen/goodix.c 	struct goodix_ts_data *ts = i2c_get_clientdata(client);
client            954 drivers/input/touchscreen/goodix.c 	struct i2c_client *client = to_i2c_client(dev);
client            955 drivers/input/touchscreen/goodix.c 	struct goodix_ts_data *ts = i2c_get_clientdata(client);
client            960 drivers/input/touchscreen/goodix.c 		disable_irq(client->irq);
client            978 drivers/input/touchscreen/goodix.c 	error = goodix_i2c_write_u8(ts->client, GOODIX_REG_COMMAND,
client            981 drivers/input/touchscreen/goodix.c 		dev_err(&ts->client->dev, "Screen off command failed\n");
client            998 drivers/input/touchscreen/goodix.c 	struct i2c_client *client = to_i2c_client(dev);
client            999 drivers/input/touchscreen/goodix.c 	struct goodix_ts_data *ts = i2c_get_clientdata(client);
client           1003 drivers/input/touchscreen/goodix.c 		enable_irq(client->irq);
client            145 drivers/input/touchscreen/hideep.c 	struct i2c_client *client;
client            184 drivers/input/touchscreen/hideep.c 		.addr	= ts->client->addr,
client            198 drivers/input/touchscreen/hideep.c 	ret = i2c_transfer(ts->client->adapter, &msg, 1);
client            212 drivers/input/touchscreen/hideep.c 			.addr	= ts->client->addr,
client            218 drivers/input/touchscreen/hideep.c 			.addr	= ts->client->addr,
client            232 drivers/input/touchscreen/hideep.c 	ret = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg));
client            246 drivers/input/touchscreen/hideep.c 		dev_err(&ts->client->dev,
client            263 drivers/input/touchscreen/hideep.c 		dev_err(&ts->client->dev,
client            315 drivers/input/touchscreen/hideep.c 		dev_err(&ts->client->dev,
client            344 drivers/input/touchscreen/hideep.c 			dev_err(&ts->client->dev,
client            347 drivers/input/touchscreen/hideep.c 			dev_err(&ts->client->dev, "%s: bad pattern: %#08x\n",
client            350 drivers/input/touchscreen/hideep.c 			dev_dbg(&ts->client->dev, "found magic code");
client            359 drivers/input/touchscreen/hideep.c 	dev_err(&ts->client->dev, "failed to  enter pgm mode\n");
client            377 drivers/input/touchscreen/hideep.c 		dev_warn(&ts->client->dev,
client            474 drivers/input/touchscreen/hideep.c 			dev_err(&ts->client->dev,
client            485 drivers/input/touchscreen/hideep.c 				dev_err(&ts->client->dev,
client            520 drivers/input/touchscreen/hideep.c 			dev_err(&ts->client->dev,
client            532 drivers/input/touchscreen/hideep.c 					dev_err(&ts->client->dev,
client            568 drivers/input/touchscreen/hideep.c 		dev_err(&ts->client->dev,
client            577 drivers/input/touchscreen/hideep.c 		dev_dbg(&ts->client->dev, "used crimson IC");
client            582 drivers/input/touchscreen/hideep.c 		dev_dbg(&ts->client->dev, "used lime IC");
client            587 drivers/input/touchscreen/hideep.c 		dev_err(&ts->client->dev, "product code is wrong: %#04x",
client            592 drivers/input/touchscreen/hideep.c 	dev_dbg(&ts->client->dev, "firmware release version: %#04x",
client            621 drivers/input/touchscreen/hideep.c 	dev_dbg(&ts->client->dev, "starting firmware update");
client            630 drivers/input/touchscreen/hideep.c 		dev_err(&ts->client->dev,
client            633 drivers/input/touchscreen/hideep.c 		dev_dbg(&ts->client->dev, "firmware updated successfully\n");
client            639 drivers/input/touchscreen/hideep.c 		dev_err(&ts->client->dev,
client            652 drivers/input/touchscreen/hideep.c 		dev_err(&ts->client->dev,
client            659 drivers/input/touchscreen/hideep.c 		dev_err(&ts->client->dev,
client            670 drivers/input/touchscreen/hideep.c 			dev_err(&ts->client->dev,
client            721 drivers/input/touchscreen/hideep.c 	dev_dbg(&ts->client->dev, "mt = %d, key = %d, lpm = %02x",
client            751 drivers/input/touchscreen/hideep.c 		dev_err(&ts->client->dev, "failed to read events: %d\n", error);
client            773 drivers/input/touchscreen/hideep.c 	dev_dbg(&ts->client->dev, "X: %d, Y: %d",
client            781 drivers/input/touchscreen/hideep.c 	struct device *dev = &ts->client->dev;
client            857 drivers/input/touchscreen/hideep.c 	struct i2c_client *client = to_i2c_client(dev);
client            858 drivers/input/touchscreen/hideep.c 	struct hideep_ts *ts = i2c_get_clientdata(client);
client            894 drivers/input/touchscreen/hideep.c 	disable_irq(client->irq);
client            899 drivers/input/touchscreen/hideep.c 	enable_irq(client->irq);
client            913 drivers/input/touchscreen/hideep.c 	struct i2c_client *client = to_i2c_client(dev);
client            914 drivers/input/touchscreen/hideep.c 	struct hideep_ts *ts = i2c_get_clientdata(client);
client            928 drivers/input/touchscreen/hideep.c 	struct i2c_client *client = to_i2c_client(dev);
client            929 drivers/input/touchscreen/hideep.c 	struct hideep_ts *ts = i2c_get_clientdata(client);
client            957 drivers/input/touchscreen/hideep.c 	struct i2c_client *client = to_i2c_client(dev);
client            958 drivers/input/touchscreen/hideep.c 	struct hideep_ts *ts = i2c_get_clientdata(client);
client            960 drivers/input/touchscreen/hideep.c 	disable_irq(client->irq);
client            968 drivers/input/touchscreen/hideep.c 	struct i2c_client *client = to_i2c_client(dev);
client            969 drivers/input/touchscreen/hideep.c 	struct hideep_ts *ts = i2c_get_clientdata(client);
client            974 drivers/input/touchscreen/hideep.c 		dev_err(&client->dev, "power on failed");
client            978 drivers/input/touchscreen/hideep.c 	enable_irq(client->irq);
client            993 drivers/input/touchscreen/hideep.c static int hideep_probe(struct i2c_client *client,
client           1000 drivers/input/touchscreen/hideep.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client           1001 drivers/input/touchscreen/hideep.c 		dev_err(&client->dev, "check i2c device error");
client           1005 drivers/input/touchscreen/hideep.c 	if (client->irq <= 0) {
client           1006 drivers/input/touchscreen/hideep.c 		dev_err(&client->dev, "missing irq: %d\n", client->irq);
client           1010 drivers/input/touchscreen/hideep.c 	ts = devm_kzalloc(&client->dev, sizeof(*ts), GFP_KERNEL);
client           1014 drivers/input/touchscreen/hideep.c 	ts->client = client;
client           1015 drivers/input/touchscreen/hideep.c 	i2c_set_clientdata(client, ts);
client           1018 drivers/input/touchscreen/hideep.c 	ts->reg = devm_regmap_init_i2c(client, &hideep_regmap_config);
client           1021 drivers/input/touchscreen/hideep.c 		dev_err(&client->dev,
client           1026 drivers/input/touchscreen/hideep.c 	ts->vcc_vdd = devm_regulator_get(&client->dev, "vdd");
client           1030 drivers/input/touchscreen/hideep.c 	ts->vcc_vid = devm_regulator_get(&client->dev, "vid");
client           1034 drivers/input/touchscreen/hideep.c 	ts->reset_gpio = devm_gpiod_get_optional(&client->dev,
client           1041 drivers/input/touchscreen/hideep.c 		dev_err(&client->dev, "power on failed: %d\n", error);
client           1045 drivers/input/touchscreen/hideep.c 	error = devm_add_action_or_reset(&client->dev, hideep_power_off, ts);
client           1051 drivers/input/touchscreen/hideep.c 		dev_err(&client->dev, "failed to load dwz: %d", error);
client           1059 drivers/input/touchscreen/hideep.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client           1061 drivers/input/touchscreen/hideep.c 					  client->name, ts);
client           1063 drivers/input/touchscreen/hideep.c 		dev_err(&client->dev, "failed to request irq %d: %d\n",
client           1064 drivers/input/touchscreen/hideep.c 			client->irq, error);
client           1068 drivers/input/touchscreen/hideep.c 	error = devm_device_add_group(&client->dev, &hideep_ts_attr_group);
client           1070 drivers/input/touchscreen/hideep.c 		dev_err(&client->dev,
client             37 drivers/input/touchscreen/ili210x.c 	struct i2c_client *client;
client             47 drivers/input/touchscreen/ili210x.c static int ili210x_read_reg(struct i2c_client *client, u8 reg, void *buf,
client             50 drivers/input/touchscreen/ili210x.c 	struct ili210x *priv = i2c_get_clientdata(client);
client             53 drivers/input/touchscreen/ili210x.c 			.addr	= client->addr,
client             59 drivers/input/touchscreen/ili210x.c 			.addr	= client->addr,
client             67 drivers/input/touchscreen/ili210x.c 		if (i2c_transfer(client->adapter, msg, 1) != 1) {
client             68 drivers/input/touchscreen/ili210x.c 			dev_err(&client->dev, "i2c transfer failed\n");
client             74 drivers/input/touchscreen/ili210x.c 		if (i2c_transfer(client->adapter, msg + 1, 1) != 1) {
client             75 drivers/input/touchscreen/ili210x.c 			dev_err(&client->dev, "i2c transfer failed\n");
client             79 drivers/input/touchscreen/ili210x.c 		if (i2c_transfer(client->adapter, msg, 2) != 2) {
client             80 drivers/input/touchscreen/ili210x.c 			dev_err(&client->dev, "i2c transfer failed\n");
client             88 drivers/input/touchscreen/ili210x.c static int ili210x_read(struct i2c_client *client, void *buf, size_t len)
client             91 drivers/input/touchscreen/ili210x.c 		.addr	= client->addr,
client             97 drivers/input/touchscreen/ili210x.c 	if (i2c_transfer(client->adapter, &msg, 1) != 1) {
client             98 drivers/input/touchscreen/ili210x.c 		dev_err(&client->dev, "i2c transfer failed\n");
client            177 drivers/input/touchscreen/ili210x.c 	struct i2c_client *client = priv->client;
client            183 drivers/input/touchscreen/ili210x.c 		error = ili210x_read_reg(client, REG_TOUCHDATA,
client            186 drivers/input/touchscreen/ili210x.c 		error = ili210x_read_reg(client, REG_TOUCHDATA,
client            189 drivers/input/touchscreen/ili210x.c 			error = ili210x_read(client, &touchdata[31], 20);
client            193 drivers/input/touchscreen/ili210x.c 		dev_err(&client->dev,
client            218 drivers/input/touchscreen/ili210x.c 	struct i2c_client *client = to_i2c_client(dev);
client            219 drivers/input/touchscreen/ili210x.c 	struct ili210x *priv = i2c_get_clientdata(client);
client            231 drivers/input/touchscreen/ili210x.c 		rc = i2c_master_send(priv->client, &cmd, sizeof(cmd));
client            263 drivers/input/touchscreen/ili210x.c static int ili210x_i2c_probe(struct i2c_client *client,
client            266 drivers/input/touchscreen/ili210x.c 	struct device *dev = &client->dev;
client            278 drivers/input/touchscreen/ili210x.c 	if (client->irq <= 0) {
client            306 drivers/input/touchscreen/ili210x.c 	priv->client = client;
client            317 drivers/input/touchscreen/ili210x.c 	i2c_set_clientdata(client, priv);
client            320 drivers/input/touchscreen/ili210x.c 	error = ili210x_read_reg(client, REG_FIRMWARE_VERSION,
client            348 drivers/input/touchscreen/ili210x.c 	error = devm_request_irq(dev, client->irq, ili210x_irq, 0,
client            349 drivers/input/touchscreen/ili210x.c 				 client->name, priv);
client            373 drivers/input/touchscreen/ili210x.c 		client->irq, firmware.id, firmware.major, firmware.minor);
client            380 drivers/input/touchscreen/ili210x.c 	struct i2c_client *client = to_i2c_client(dev);
client            382 drivers/input/touchscreen/ili210x.c 	if (device_may_wakeup(&client->dev))
client            383 drivers/input/touchscreen/ili210x.c 		enable_irq_wake(client->irq);
client            390 drivers/input/touchscreen/ili210x.c 	struct i2c_client *client = to_i2c_client(dev);
client            392 drivers/input/touchscreen/ili210x.c 	if (device_may_wakeup(&client->dev))
client            393 drivers/input/touchscreen/ili210x.c 		disable_irq_wake(client->irq);
client             99 drivers/input/touchscreen/iqs5xx.c 	struct i2c_client *client;
client            129 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_read_burst(struct i2c_client *client,
client            136 drivers/input/touchscreen/iqs5xx.c 			.addr = client->addr,
client            142 drivers/input/touchscreen/iqs5xx.c 			.addr = client->addr,
client            155 drivers/input/touchscreen/iqs5xx.c 		ret = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg));
client            165 drivers/input/touchscreen/iqs5xx.c 	dev_err(&client->dev, "Failed to read from address 0x%04X: %d\n",
client            171 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_read_word(struct i2c_client *client, u16 reg, u16 *val)
client            176 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_read_burst(client, reg, &val_buf, sizeof(val_buf));
client            185 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_read_byte(struct i2c_client *client, u16 reg, u8 *val)
client            187 drivers/input/touchscreen/iqs5xx.c 	return iqs5xx_read_burst(client, reg, val, sizeof(*val));
client            190 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_write_burst(struct i2c_client *client,
client            209 drivers/input/touchscreen/iqs5xx.c 		ret = i2c_master_send(client, mbuf, mlen);
client            219 drivers/input/touchscreen/iqs5xx.c 	dev_err(&client->dev, "Failed to write to address 0x%04X: %d\n",
client            225 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_write_word(struct i2c_client *client, u16 reg, u16 val)
client            229 drivers/input/touchscreen/iqs5xx.c 	return iqs5xx_write_burst(client, reg, &val_buf, sizeof(val_buf));
client            232 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_write_byte(struct i2c_client *client, u16 reg, u8 val)
client            234 drivers/input/touchscreen/iqs5xx.c 	return iqs5xx_write_burst(client, reg, &val, sizeof(val));
client            237 drivers/input/touchscreen/iqs5xx.c static void iqs5xx_reset(struct i2c_client *client)
client            239 drivers/input/touchscreen/iqs5xx.c 	struct iqs5xx_private *iqs5xx = i2c_get_clientdata(client);
client            247 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_bl_cmd(struct i2c_client *client, u8 bl_cmd, u16 bl_addr)
client            253 drivers/input/touchscreen/iqs5xx.c 	msg.addr = client->addr ^ IQS5XX_BL_ADDR_MASK;
client            273 drivers/input/touchscreen/iqs5xx.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            299 drivers/input/touchscreen/iqs5xx.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            305 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev, "Unrecognized bootloader ID: 0x%04X\n",
client            311 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev, "Bootloader CRC failed\n");
client            322 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev,
client            329 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_bl_open(struct i2c_client *client)
client            339 drivers/input/touchscreen/iqs5xx.c 		iqs5xx_reset(client);
client            342 drivers/input/touchscreen/iqs5xx.c 			error = iqs5xx_bl_cmd(client, IQS5XX_BL_CMD_VER, 0);
client            348 drivers/input/touchscreen/iqs5xx.c 	dev_err(&client->dev, "Failed to open bootloader: %d\n", error);
client            353 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_bl_write(struct i2c_client *client,
client            363 drivers/input/touchscreen/iqs5xx.c 	msg.addr = client->addr ^ IQS5XX_BL_ADDR_MASK;
client            373 drivers/input/touchscreen/iqs5xx.c 		ret = i2c_transfer(client->adapter, &msg, 1);
client            386 drivers/input/touchscreen/iqs5xx.c 	dev_err(&client->dev, "Failed to write block at address 0x%04X: %d\n",
client            392 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_bl_verify(struct i2c_client *client,
client            402 drivers/input/touchscreen/iqs5xx.c 	msg.addr = client->addr ^ IQS5XX_BL_ADDR_MASK;
client            408 drivers/input/touchscreen/iqs5xx.c 		ret = iqs5xx_bl_cmd(client, IQS5XX_BL_CMD_READ, bl_addr + i);
client            412 drivers/input/touchscreen/iqs5xx.c 		ret = i2c_transfer(client->adapter, &msg, 1);
client            417 drivers/input/touchscreen/iqs5xx.c 			dev_err(&client->dev,
client            430 drivers/input/touchscreen/iqs5xx.c 	dev_err(&client->dev, "Failed to read block at address 0x%04X: %d\n",
client            436 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_set_state(struct i2c_client *client, u8 state)
client            438 drivers/input/touchscreen/iqs5xx.c 	struct iqs5xx_private *iqs5xx = i2c_get_clientdata(client);
client            451 drivers/input/touchscreen/iqs5xx.c 	disable_irq(client->irq);
client            453 drivers/input/touchscreen/iqs5xx.c 	error1 = iqs5xx_write_byte(client, IQS5XX_SYS_CTRL1, state);
client            454 drivers/input/touchscreen/iqs5xx.c 	error2 = iqs5xx_write_byte(client, IQS5XX_END_COMM, 0);
client            457 drivers/input/touchscreen/iqs5xx.c 	enable_irq(client->irq);
client            471 drivers/input/touchscreen/iqs5xx.c 	return iqs5xx_set_state(iqs5xx->client, IQS5XX_RESUME);
client            478 drivers/input/touchscreen/iqs5xx.c 	iqs5xx_set_state(iqs5xx->client, IQS5XX_SUSPEND);
client            481 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_axis_init(struct i2c_client *client)
client            483 drivers/input/touchscreen/iqs5xx.c 	struct iqs5xx_private *iqs5xx = i2c_get_clientdata(client);
client            492 drivers/input/touchscreen/iqs5xx.c 		input = devm_input_allocate_device(&client->dev);
client            496 drivers/input/touchscreen/iqs5xx.c 		input->name = client->name;
client            511 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_read_byte(client, IQS5XX_TOTAL_RX, &val);
client            516 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_read_byte(client, IQS5XX_TOTAL_TX, &val);
client            521 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_read_byte(client, IQS5XX_XY_CFG0, &val);
client            537 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_write_byte(client, IQS5XX_XY_CFG0, val);
client            542 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev, "Invalid maximum x-coordinate: %u > %u\n",
client            546 drivers/input/touchscreen/iqs5xx.c 		error = iqs5xx_read_word(client, IQS5XX_X_RES, &max_x);
client            559 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev, "Invalid maximum y-coordinate: %u > %u\n",
client            563 drivers/input/touchscreen/iqs5xx.c 		error = iqs5xx_read_word(client, IQS5XX_Y_RES, &max_y);
client            580 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_write_word(client,
client            586 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_write_word(client,
client            595 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev, "Failed to initialize slots: %d\n",
client            601 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_dev_init(struct i2c_client *client)
client            603 drivers/input/touchscreen/iqs5xx.c 	struct iqs5xx_private *iqs5xx = i2c_get_clientdata(client);
client            609 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_read_burst(client, IQS5XX_PROD_NUM,
client            612 drivers/input/touchscreen/iqs5xx.c 		return iqs5xx_bl_open(client);
client            630 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev, "Unrecognized product number: %u\n",
client            637 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev, "Unsupported project number: %u\n",
client            639 drivers/input/touchscreen/iqs5xx.c 		return iqs5xx_bl_open(client);
client            643 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev, "Unrecognized project number: %u\n",
client            649 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev, "Unsupported major version: %u\n",
client            651 drivers/input/touchscreen/iqs5xx.c 		return iqs5xx_bl_open(client);
client            659 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev,
client            665 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_axis_init(client);
client            669 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_read_byte(client, IQS5XX_SYS_CFG0, &val);
client            675 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_write_byte(client, IQS5XX_SYS_CFG0, val);
client            680 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_write_byte(client, IQS5XX_SYS_CFG1, val);
client            684 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_write_byte(client, IQS5XX_END_COMM, 0);
client            706 drivers/input/touchscreen/iqs5xx.c 	struct i2c_client *client = iqs5xx->client;
client            718 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_read_burst(client, IQS5XX_ABS_X,
client            740 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_write_byte(client, IQS5XX_END_COMM, 0);
client            754 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_fw_file_parse(struct i2c_client *client,
client            776 drivers/input/touchscreen/iqs5xx.c 	error = request_firmware(&fw, fw_file, &client->dev);
client            778 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev, "Failed to request firmware %s: %d\n",
client            785 drivers/input/touchscreen/iqs5xx.c 			dev_err(&client->dev, "Insufficient firmware size\n");
client            793 drivers/input/touchscreen/iqs5xx.c 			dev_err(&client->dev, "Invalid start at record %u\n",
client            801 drivers/input/touchscreen/iqs5xx.c 			dev_err(&client->dev, "Invalid header at record %u\n",
client            811 drivers/input/touchscreen/iqs5xx.c 			dev_err(&client->dev, "Insufficient firmware size\n");
client            819 drivers/input/touchscreen/iqs5xx.c 			dev_err(&client->dev, "Invalid data at record %u\n",
client            827 drivers/input/touchscreen/iqs5xx.c 			dev_err(&client->dev, "Invalid checksum at record %u\n",
client            840 drivers/input/touchscreen/iqs5xx.c 			dev_err(&client->dev,
client            851 drivers/input/touchscreen/iqs5xx.c 				dev_err(&client->dev,
client            863 drivers/input/touchscreen/iqs5xx.c 			dev_err(&client->dev, "Invalid type at record %u\n",
client            884 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_fw_file_write(struct i2c_client *client, const char *fw_file)
client            886 drivers/input/touchscreen/iqs5xx.c 	struct iqs5xx_private *iqs5xx = i2c_get_clientdata(client);
client            897 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_fw_file_parse(client, fw_file, pmap);
client            908 drivers/input/touchscreen/iqs5xx.c 	disable_irq(client->irq);
client            912 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_bl_cmd(client, IQS5XX_BL_CMD_VER, 0);
client            914 drivers/input/touchscreen/iqs5xx.c 		error = iqs5xx_bl_open(client);
client            919 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_bl_write(client, IQS5XX_CHKSM, pmap, IQS5XX_PMAP_LEN);
client            923 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_bl_cmd(client, IQS5XX_BL_CMD_CRC, 0);
client            927 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_bl_verify(client, IQS5XX_CSTM,
client            933 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_bl_cmd(client, IQS5XX_BL_CMD_EXEC, 0);
client            937 drivers/input/touchscreen/iqs5xx.c 		iqs5xx_reset(client);
client            941 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_dev_init(client);
client            945 drivers/input/touchscreen/iqs5xx.c 	enable_irq(client->irq);
client            959 drivers/input/touchscreen/iqs5xx.c 	struct i2c_client *client = iqs5xx->client;
client            977 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_fw_file_write(client, fw_file);
client            988 drivers/input/touchscreen/iqs5xx.c 			dev_err(&client->dev,
client           1021 drivers/input/touchscreen/iqs5xx.c 		error = iqs5xx_set_state(iqs5xx->client, IQS5XX_SUSPEND);
client           1040 drivers/input/touchscreen/iqs5xx.c 		error = iqs5xx_set_state(iqs5xx->client, IQS5XX_RESUME);
client           1049 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_probe(struct i2c_client *client,
client           1055 drivers/input/touchscreen/iqs5xx.c 	iqs5xx = devm_kzalloc(&client->dev, sizeof(*iqs5xx), GFP_KERNEL);
client           1059 drivers/input/touchscreen/iqs5xx.c 	i2c_set_clientdata(client, iqs5xx);
client           1060 drivers/input/touchscreen/iqs5xx.c 	iqs5xx->client = client;
client           1062 drivers/input/touchscreen/iqs5xx.c 	iqs5xx->reset_gpio = devm_gpiod_get(&client->dev,
client           1066 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev, "Failed to request GPIO: %d\n", error);
client           1072 drivers/input/touchscreen/iqs5xx.c 	iqs5xx_reset(client);
client           1075 drivers/input/touchscreen/iqs5xx.c 	error = iqs5xx_dev_init(client);
client           1079 drivers/input/touchscreen/iqs5xx.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client           1081 drivers/input/touchscreen/iqs5xx.c 					  client->name, iqs5xx);
client           1083 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev, "Failed to request IRQ: %d\n", error);
client           1087 drivers/input/touchscreen/iqs5xx.c 	error = devm_device_add_group(&client->dev, &iqs5xx_attr_group);
client           1089 drivers/input/touchscreen/iqs5xx.c 		dev_err(&client->dev, "Failed to add attributes: %d\n", error);
client           1096 drivers/input/touchscreen/iqs5xx.c 			dev_err(&client->dev,
client             79 drivers/input/touchscreen/max11801_ts.c 	struct i2c_client		*client;
client             83 drivers/input/touchscreen/max11801_ts.c static u8 read_register(struct i2c_client *client, int addr)
client             86 drivers/input/touchscreen/max11801_ts.c 	return i2c_smbus_read_byte_data(client, addr << 1);
client             89 drivers/input/touchscreen/max11801_ts.c static int max11801_write_reg(struct i2c_client *client, int addr, int data)
client             92 drivers/input/touchscreen/max11801_ts.c 	return i2c_smbus_write_byte_data(client, addr << 1, data);
client             98 drivers/input/touchscreen/max11801_ts.c 	struct i2c_client *client = data->client;
client            104 drivers/input/touchscreen/max11801_ts.c 	status = read_register(data->client, GENERNAL_STATUS_REG);
client            107 drivers/input/touchscreen/max11801_ts.c 		status = read_register(data->client, GENERNAL_STATUS_REG);
client            109 drivers/input/touchscreen/max11801_ts.c 		ret = i2c_smbus_read_i2c_block_data(client, FIFO_RD_CMD,
client            156 drivers/input/touchscreen/max11801_ts.c 	struct i2c_client *client = data->client;
client            159 drivers/input/touchscreen/max11801_ts.c 	max11801_write_reg(client, MESURE_AVER_CONF_REG, 0xff);
client            161 drivers/input/touchscreen/max11801_ts.c 	max11801_write_reg(client, PANEL_SETUPTIME_CONF_REG, 0x11);
client            163 drivers/input/touchscreen/max11801_ts.c 	max11801_write_reg(client, TOUCH_DETECT_PULLUP_CONF_REG, 0x10);
client            165 drivers/input/touchscreen/max11801_ts.c 	max11801_write_reg(client, AUTO_MODE_TIME_CONF_REG, 0xaa);
client            167 drivers/input/touchscreen/max11801_ts.c 	max11801_write_reg(client, APERTURE_CONF_REG, 0x33);
client            169 drivers/input/touchscreen/max11801_ts.c 	max11801_write_reg(client, OP_MODE_CONF_REG, 0x36);
client            172 drivers/input/touchscreen/max11801_ts.c static int max11801_ts_probe(struct i2c_client *client,
client            179 drivers/input/touchscreen/max11801_ts.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            180 drivers/input/touchscreen/max11801_ts.c 	input_dev = devm_input_allocate_device(&client->dev);
client            182 drivers/input/touchscreen/max11801_ts.c 		dev_err(&client->dev, "Failed to allocate memory\n");
client            186 drivers/input/touchscreen/max11801_ts.c 	data->client = client;
client            191 drivers/input/touchscreen/max11801_ts.c 	input_dev->dev.parent = &client->dev;
client            201 drivers/input/touchscreen/max11801_ts.c 	error = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            206 drivers/input/touchscreen/max11801_ts.c 		dev_err(&client->dev, "Failed to register interrupt\n");
client            100 drivers/input/touchscreen/mcs5000_ts.c 	struct i2c_client *client;
client            108 drivers/input/touchscreen/mcs5000_ts.c 	struct i2c_client *client = data->client;
client            114 drivers/input/touchscreen/mcs5000_ts.c 	err = i2c_smbus_read_i2c_block_data(client, MCS5000_TS_INPUT_INFO,
client            117 drivers/input/touchscreen/mcs5000_ts.c 		dev_err(&client->dev, "%s, err[%d]\n", __func__, err);
client            150 drivers/input/touchscreen/mcs5000_ts.c 		dev_err(&client->dev, "Unknown ts input type %d\n",
client            162 drivers/input/touchscreen/mcs5000_ts.c 	struct i2c_client *client = data->client;
client            165 drivers/input/touchscreen/mcs5000_ts.c 	i2c_smbus_write_byte_data(client, MCS5000_TS_OP_MODE,
client            169 drivers/input/touchscreen/mcs5000_ts.c 	i2c_smbus_write_byte_data(client, MCS5000_TS_X_SIZE_UPPER,
client            171 drivers/input/touchscreen/mcs5000_ts.c 	i2c_smbus_write_byte_data(client, MCS5000_TS_X_SIZE_LOWER,
client            173 drivers/input/touchscreen/mcs5000_ts.c 	i2c_smbus_write_byte_data(client, MCS5000_TS_Y_SIZE_UPPER,
client            175 drivers/input/touchscreen/mcs5000_ts.c 	i2c_smbus_write_byte_data(client, MCS5000_TS_Y_SIZE_LOWER,
client            179 drivers/input/touchscreen/mcs5000_ts.c 	i2c_smbus_write_byte_data(data->client, MCS5000_TS_OP_MODE,
client            183 drivers/input/touchscreen/mcs5000_ts.c static int mcs5000_ts_probe(struct i2c_client *client,
client            191 drivers/input/touchscreen/mcs5000_ts.c 	pdata = dev_get_platdata(&client->dev);
client            195 drivers/input/touchscreen/mcs5000_ts.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            197 drivers/input/touchscreen/mcs5000_ts.c 		dev_err(&client->dev, "Failed to allocate memory\n");
client            201 drivers/input/touchscreen/mcs5000_ts.c 	data->client = client;
client            203 drivers/input/touchscreen/mcs5000_ts.c 	input_dev = devm_input_allocate_device(&client->dev);
client            205 drivers/input/touchscreen/mcs5000_ts.c 		dev_err(&client->dev, "Failed to allocate input device\n");
client            211 drivers/input/touchscreen/mcs5000_ts.c 	input_dev->dev.parent = &client->dev;
client            224 drivers/input/touchscreen/mcs5000_ts.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client            229 drivers/input/touchscreen/mcs5000_ts.c 		dev_err(&client->dev, "Failed to register interrupt\n");
client            235 drivers/input/touchscreen/mcs5000_ts.c 		dev_err(&client->dev, "Failed to register input device\n");
client            240 drivers/input/touchscreen/mcs5000_ts.c 	i2c_set_clientdata(client, data);
client            247 drivers/input/touchscreen/mcs5000_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            250 drivers/input/touchscreen/mcs5000_ts.c 	i2c_smbus_write_byte_data(client, MCS5000_TS_OP_MODE, OP_MODE_SLEEP);
client            257 drivers/input/touchscreen/mcs5000_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            258 drivers/input/touchscreen/mcs5000_ts.c 	struct mcs5000_ts_data *data = i2c_get_clientdata(client);
client            148 drivers/input/touchscreen/melfas_mip4.c 	struct i2c_client *client;
client            185 drivers/input/touchscreen/melfas_mip4.c 			.addr = ts->client->addr,
client            190 drivers/input/touchscreen/melfas_mip4.c 			.addr = ts->client->addr,
client            201 drivers/input/touchscreen/melfas_mip4.c 		res = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg));
client            206 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client            256 drivers/input/touchscreen/melfas_mip4.c 	if (i2c_smbus_xfer(ts->client->adapter, ts->client->addr,
client            258 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev, "nothing at this address\n");
client            268 drivers/input/touchscreen/melfas_mip4.c 		dev_warn(&ts->client->dev,
client            271 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev, "product name: %.*s\n",
client            279 drivers/input/touchscreen/melfas_mip4.c 		dev_warn(&ts->client->dev,
client            283 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev, "product id: %04X\n", ts->product_id);
client            289 drivers/input/touchscreen/melfas_mip4.c 	dev_dbg(&ts->client->dev, "firmware name: %s\n", ts->fw_name);
client            297 drivers/input/touchscreen/melfas_mip4.c 		dev_warn(&ts->client->dev,
client            300 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev, "IC name: %.*s\n",
client            306 drivers/input/touchscreen/melfas_mip4.c 		dev_warn(&ts->client->dev,
client            309 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev, "F/W Version: %04X %04X %04X %04X\n",
client            318 drivers/input/touchscreen/melfas_mip4.c 		dev_warn(&ts->client->dev,
client            324 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev, "max_x: %d, max_y: %d\n",
client            330 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev,
client            336 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev, "ppm_x: %d, ppm_y: %d\n",
client            349 drivers/input/touchscreen/melfas_mip4.c 		dev_warn(&ts->client->dev,
client            355 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev, "event_format: %d, event_size: %d\n",
client            359 drivers/input/touchscreen/melfas_mip4.c 			dev_warn(&ts->client->dev,
client            412 drivers/input/touchscreen/melfas_mip4.c 	enable_irq(ts->client->irq);
client            419 drivers/input/touchscreen/melfas_mip4.c 	disable_irq(ts->client->irq);
client            453 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev,
client            461 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev, "Unknown key: %d\n", key);
client            519 drivers/input/touchscreen/melfas_mip4.c 	dev_dbg(&ts->client->dev,
client            524 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev, "Screen - invalid slot ID: %d\n", id);
client            562 drivers/input/touchscreen/melfas_mip4.c 	dev_dbg(&ts->client->dev, "Type: %d\n", type);
client            575 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev, "Unknown event type: %d\n", type);
client            585 drivers/input/touchscreen/melfas_mip4.c 	struct i2c_client *client = ts->client;
client            597 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&client->dev,
client            604 drivers/input/touchscreen/melfas_mip4.c 	dev_dbg(&client->dev, "packet size: %d, alert: %d\n", size, alert);
client            608 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&client->dev, "Empty packet\n");
client            617 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&client->dev,
client            623 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&client->dev, "Alert: %d\n", ts->buf[0]);
client            712 drivers/input/touchscreen/melfas_mip4.c 			.addr = ts->client->addr,
client            717 drivers/input/touchscreen/melfas_mip4.c 			.addr = ts->client->addr,
client            728 drivers/input/touchscreen/melfas_mip4.c 		ret = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg));
client            731 drivers/input/touchscreen/melfas_mip4.c 			dev_err(&ts->client->dev,
client            739 drivers/input/touchscreen/melfas_mip4.c 			dev_dbg(&ts->client->dev, "%s - done\n", __func__);
client            743 drivers/input/touchscreen/melfas_mip4.c 			dev_err(&ts->client->dev, "Bootloader failure\n");
client            747 drivers/input/touchscreen/melfas_mip4.c 			dev_dbg(&ts->client->dev, "%s - Busy\n", __func__);
client            752 drivers/input/touchscreen/melfas_mip4.c 			dev_err(&ts->client->dev,
client            775 drivers/input/touchscreen/melfas_mip4.c 			.addr = ts->client->addr,
client            780 drivers/input/touchscreen/melfas_mip4.c 			.addr = ts->client->addr,
client            792 drivers/input/touchscreen/melfas_mip4.c 		ret = i2c_master_send(ts->client,
client            796 drivers/input/touchscreen/melfas_mip4.c 			dev_err(&ts->client->dev,
client            802 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev,
client            809 drivers/input/touchscreen/melfas_mip4.c 		ret = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg));
client            812 drivers/input/touchscreen/melfas_mip4.c 			dev_err(&ts->client->dev,
client            817 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev,
client            850 drivers/input/touchscreen/melfas_mip4.c 			.addr = ts->client->addr,
client            855 drivers/input/touchscreen/melfas_mip4.c 			.addr = ts->client->addr,
client            864 drivers/input/touchscreen/melfas_mip4.c 	ret = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg));
client            867 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client            874 drivers/input/touchscreen/melfas_mip4.c 	dev_dbg(&ts->client->dev,
client            889 drivers/input/touchscreen/melfas_mip4.c 	dev_dbg(&ts->client->dev, "Writing page @%#06x (%d)\n",
client            893 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client            906 drivers/input/touchscreen/melfas_mip4.c 	ret = i2c_master_send(ts->client, cmd, 6);
client            909 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client            918 drivers/input/touchscreen/melfas_mip4.c 	ret = i2c_master_send(ts->client, cmd, 6);
client            921 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client            930 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev,
client            935 drivers/input/touchscreen/melfas_mip4.c 		ret = i2c_master_send(ts->client,
client            939 drivers/input/touchscreen/melfas_mip4.c 			dev_err(&ts->client->dev,
client            950 drivers/input/touchscreen/melfas_mip4.c 	ret = i2c_master_send(ts->client, cmd, 3);
client            953 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client            974 drivers/input/touchscreen/melfas_mip4.c 			.addr = ts->client->addr,
client            979 drivers/input/touchscreen/melfas_mip4.c 			.addr = ts->client->addr,
client            987 drivers/input/touchscreen/melfas_mip4.c 	dev_dbg(&ts->client->dev, "Validating page @%#06x (%d)\n",
client            994 drivers/input/touchscreen/melfas_mip4.c 	ret = i2c_master_send(ts->client, cmd, 6);
client            997 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client           1006 drivers/input/touchscreen/melfas_mip4.c 	ret = i2c_master_send(ts->client, cmd, 6);
client           1009 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client           1018 drivers/input/touchscreen/melfas_mip4.c 	ret = i2c_master_send(ts->client, cmd, 3);
client           1021 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client           1039 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev,
client           1043 drivers/input/touchscreen/melfas_mip4.c 		ret = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg));
client           1046 drivers/input/touchscreen/melfas_mip4.c 			dev_err(&ts->client->dev,
client           1053 drivers/input/touchscreen/melfas_mip4.c 			dev_err(&ts->client->dev,
client           1082 drivers/input/touchscreen/melfas_mip4.c 	struct i2c_client *client = ts->client;
client           1088 drivers/input/touchscreen/melfas_mip4.c 	dev_dbg(&client->dev, "Entering bootloader mode\n");
client           1092 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&client->dev,
client           1104 drivers/input/touchscreen/melfas_mip4.c 	dev_dbg(&client->dev,
client           1126 drivers/input/touchscreen/melfas_mip4.c 	dev_dbg(&client->dev, "Exiting bootloader mode\n");
client           1130 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&client->dev,
client           1164 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client           1179 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client           1188 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client           1198 drivers/input/touchscreen/melfas_mip4.c 	dev_dbg(&ts->client->dev,
client           1203 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client           1210 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client           1218 drivers/input/touchscreen/melfas_mip4.c 	dev_dbg(&ts->client->dev,
client           1223 drivers/input/touchscreen/melfas_mip4.c 	dev_dbg(&ts->client->dev, "F/W chip version: %04X %04X %04X %04X\n",
client           1232 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev, "F/W type: Bootloader\n");
client           1237 drivers/input/touchscreen/melfas_mip4.c 		dev_dbg(&ts->client->dev, "F/W type: Main\n");
client           1239 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev, "Wrong firmware type\n");
client           1260 drivers/input/touchscreen/melfas_mip4.c 		disable_irq(ts->client->irq);
client           1275 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client           1280 drivers/input/touchscreen/melfas_mip4.c 		enable_irq(ts->client->irq);
client           1291 drivers/input/touchscreen/melfas_mip4.c 	struct i2c_client *client = to_i2c_client(dev);
client           1292 drivers/input/touchscreen/melfas_mip4.c 	struct mip4_ts *ts = i2c_get_clientdata(client);
client           1298 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client           1318 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&ts->client->dev,
client           1332 drivers/input/touchscreen/melfas_mip4.c 	struct i2c_client *client = to_i2c_client(dev);
client           1333 drivers/input/touchscreen/melfas_mip4.c 	struct mip4_ts *ts = i2c_get_clientdata(client);
client           1354 drivers/input/touchscreen/melfas_mip4.c 	struct i2c_client *client = to_i2c_client(dev);
client           1355 drivers/input/touchscreen/melfas_mip4.c 	struct mip4_ts *ts = i2c_get_clientdata(client);
client           1379 drivers/input/touchscreen/melfas_mip4.c 	struct i2c_client *client = to_i2c_client(dev);
client           1380 drivers/input/touchscreen/melfas_mip4.c 	struct mip4_ts *ts = i2c_get_clientdata(client);
client           1398 drivers/input/touchscreen/melfas_mip4.c 	struct i2c_client *client = to_i2c_client(dev);
client           1399 drivers/input/touchscreen/melfas_mip4.c 	struct mip4_ts *ts = i2c_get_clientdata(client);
client           1427 drivers/input/touchscreen/melfas_mip4.c static int mip4_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1433 drivers/input/touchscreen/melfas_mip4.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client           1434 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&client->dev, "Not supported I2C adapter\n");
client           1438 drivers/input/touchscreen/melfas_mip4.c 	ts = devm_kzalloc(&client->dev, sizeof(*ts), GFP_KERNEL);
client           1442 drivers/input/touchscreen/melfas_mip4.c 	input = devm_input_allocate_device(&client->dev);
client           1446 drivers/input/touchscreen/melfas_mip4.c 	ts->client = client;
client           1450 drivers/input/touchscreen/melfas_mip4.c 		 "%s/input0", dev_name(&client->dev));
client           1452 drivers/input/touchscreen/melfas_mip4.c 	ts->gpio_ce = devm_gpiod_get_optional(&client->dev,
client           1457 drivers/input/touchscreen/melfas_mip4.c 			dev_err(&client->dev,
client           1501 drivers/input/touchscreen/melfas_mip4.c 	i2c_set_clientdata(client, ts);
client           1503 drivers/input/touchscreen/melfas_mip4.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client           1507 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&client->dev,
client           1509 drivers/input/touchscreen/melfas_mip4.c 			client->irq, error);
client           1513 drivers/input/touchscreen/melfas_mip4.c 	disable_irq(client->irq);
client           1517 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&client->dev,
client           1522 drivers/input/touchscreen/melfas_mip4.c 	error = devm_device_add_group(&client->dev, &mip4_attr_group);
client           1524 drivers/input/touchscreen/melfas_mip4.c 		dev_err(&client->dev,
client           1534 drivers/input/touchscreen/melfas_mip4.c 	struct i2c_client *client = to_i2c_client(dev);
client           1535 drivers/input/touchscreen/melfas_mip4.c 	struct mip4_ts *ts = i2c_get_clientdata(client);
client           1541 drivers/input/touchscreen/melfas_mip4.c 		ts->wake_irq_enabled = enable_irq_wake(client->irq) == 0;
client           1552 drivers/input/touchscreen/melfas_mip4.c 	struct i2c_client *client = to_i2c_client(dev);
client           1553 drivers/input/touchscreen/melfas_mip4.c 	struct mip4_ts *ts = i2c_get_clientdata(client);
client           1559 drivers/input/touchscreen/melfas_mip4.c 		disable_irq_wake(client->irq);
client             24 drivers/input/touchscreen/migor_ts.c 	struct i2c_client *client;
client             55 drivers/input/touchscreen/migor_ts.c 	if (i2c_master_send(priv->client, buf, 1) != 1) {
client             56 drivers/input/touchscreen/migor_ts.c 		dev_err(&priv->client->dev, "Unable to write i2c index\n");
client             61 drivers/input/touchscreen/migor_ts.c 	if (i2c_master_recv(priv->client, buf, sizeof(buf)) != sizeof(buf)) {
client             62 drivers/input/touchscreen/migor_ts.c 		dev_err(&priv->client->dev, "Unable to read i2c page\n");
client             92 drivers/input/touchscreen/migor_ts.c 	struct i2c_client *client = priv->client;
client             96 drivers/input/touchscreen/migor_ts.c 	count = i2c_master_send(client, migor_ts_ena_seq,
client             99 drivers/input/touchscreen/migor_ts.c 		dev_err(&client->dev, "Unable to enable touchscreen.\n");
client            109 drivers/input/touchscreen/migor_ts.c 	struct i2c_client *client = priv->client;
client            114 drivers/input/touchscreen/migor_ts.c 	i2c_master_send(client, migor_ts_dis_seq, sizeof(migor_ts_dis_seq));
client            119 drivers/input/touchscreen/migor_ts.c static int migor_ts_probe(struct i2c_client *client,
client            129 drivers/input/touchscreen/migor_ts.c 		dev_err(&client->dev, "failed to allocate memory\n");
client            134 drivers/input/touchscreen/migor_ts.c 	priv->client = client;
client            136 drivers/input/touchscreen/migor_ts.c 	priv->irq = client->irq;
client            145 drivers/input/touchscreen/migor_ts.c 	input->name = client->name;
client            147 drivers/input/touchscreen/migor_ts.c 	input->dev.parent = &client->dev;
client            156 drivers/input/touchscreen/migor_ts.c                                      client->name, priv);
client            158 drivers/input/touchscreen/migor_ts.c 		dev_err(&client->dev, "Unable to request touchscreen IRQ.\n");
client            166 drivers/input/touchscreen/migor_ts.c 	i2c_set_clientdata(client, priv);
client            167 drivers/input/touchscreen/migor_ts.c 	device_init_wakeup(&client->dev, 1);
client            179 drivers/input/touchscreen/migor_ts.c static int migor_ts_remove(struct i2c_client *client)
client            181 drivers/input/touchscreen/migor_ts.c 	struct migor_ts_priv *priv = i2c_get_clientdata(client);
client            187 drivers/input/touchscreen/migor_ts.c 	dev_set_drvdata(&client->dev, NULL);
client            194 drivers/input/touchscreen/migor_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            195 drivers/input/touchscreen/migor_ts.c 	struct migor_ts_priv *priv = i2c_get_clientdata(client);
client            197 drivers/input/touchscreen/migor_ts.c 	if (device_may_wakeup(&client->dev))
client            205 drivers/input/touchscreen/migor_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            206 drivers/input/touchscreen/migor_ts.c 	struct migor_ts_priv *priv = i2c_get_clientdata(client);
client            208 drivers/input/touchscreen/migor_ts.c 	if (device_may_wakeup(&client->dev))
client             60 drivers/input/touchscreen/mms114.c 	struct i2c_client	*client;
client             86 drivers/input/touchscreen/mms114.c 	struct i2c_client *client = data->client;
client             95 drivers/input/touchscreen/mms114.c 	xfer[0].addr = client->addr;
client             96 drivers/input/touchscreen/mms114.c 	xfer[0].flags = client->flags & I2C_M_TEN;
client            101 drivers/input/touchscreen/mms114.c 	xfer[1].addr = client->addr;
client            102 drivers/input/touchscreen/mms114.c 	xfer[1].flags = (client->flags & I2C_M_TEN) | I2C_M_RD;
client            106 drivers/input/touchscreen/mms114.c 	error = i2c_transfer(client->adapter, xfer, 2);
client            108 drivers/input/touchscreen/mms114.c 		dev_err(&client->dev,
client            132 drivers/input/touchscreen/mms114.c 	struct i2c_client *client = data->client;
client            139 drivers/input/touchscreen/mms114.c 	error = i2c_master_send(client, buf, 2);
client            141 drivers/input/touchscreen/mms114.c 		dev_err(&client->dev,
client            155 drivers/input/touchscreen/mms114.c 	struct i2c_client *client = data->client;
client            162 drivers/input/touchscreen/mms114.c 		dev_err(&client->dev, "Wrong touch id (%d)\n", touch->id);
client            167 drivers/input/touchscreen/mms114.c 		dev_err(&client->dev, "Wrong touch type (%d)\n", touch->type);
client            175 drivers/input/touchscreen/mms114.c 	dev_dbg(&client->dev,
client            247 drivers/input/touchscreen/mms114.c 	struct device *dev = &data->client->dev;
client            258 drivers/input/touchscreen/mms114.c 		group = i2c_smbus_read_byte_data(data->client,
client            333 drivers/input/touchscreen/mms114.c 	struct i2c_client *client = data->client;
client            338 drivers/input/touchscreen/mms114.c 		dev_err(&client->dev, "Failed to enable avdd: %d\n", error);
client            344 drivers/input/touchscreen/mms114.c 		dev_err(&client->dev, "Failed to enable vdd: %d\n", error);
client            358 drivers/input/touchscreen/mms114.c 	enable_irq(client->irq);
client            365 drivers/input/touchscreen/mms114.c 	struct i2c_client *client = data->client;
client            368 drivers/input/touchscreen/mms114.c 	disable_irq(client->irq);
client            372 drivers/input/touchscreen/mms114.c 		dev_warn(&client->dev, "Failed to disable vdd: %d\n", error);
client            376 drivers/input/touchscreen/mms114.c 		dev_warn(&client->dev, "Failed to disable avdd: %d\n", error);
client            395 drivers/input/touchscreen/mms114.c 	struct device *dev = &data->client->dev;
client            423 drivers/input/touchscreen/mms114.c static int mms114_probe(struct i2c_client *client,
client            431 drivers/input/touchscreen/mms114.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            432 drivers/input/touchscreen/mms114.c 		dev_err(&client->dev, "Not supported I2C adapter\n");
client            436 drivers/input/touchscreen/mms114.c 	data = devm_kzalloc(&client->dev, sizeof(struct mms114_data),
client            438 drivers/input/touchscreen/mms114.c 	input_dev = devm_input_allocate_device(&client->dev);
client            440 drivers/input/touchscreen/mms114.c 		dev_err(&client->dev, "Failed to allocate memory\n");
client            444 drivers/input/touchscreen/mms114.c 	data->client = client;
client            448 drivers/input/touchscreen/mms114.c 	match_data = of_device_get_match_data(&client->dev);
client            462 drivers/input/touchscreen/mms114.c 		dev_dbg(&client->dev,
client            488 drivers/input/touchscreen/mms114.c 	input_dev->name = devm_kasprintf(&client->dev, GFP_KERNEL,
client            495 drivers/input/touchscreen/mms114.c 	input_dev->dev.parent = &client->dev;
client            505 drivers/input/touchscreen/mms114.c 	i2c_set_clientdata(client, data);
client            507 drivers/input/touchscreen/mms114.c 	data->core_reg = devm_regulator_get(&client->dev, "avdd");
client            510 drivers/input/touchscreen/mms114.c 		dev_err(&client->dev,
client            515 drivers/input/touchscreen/mms114.c 	data->io_reg = devm_regulator_get(&client->dev, "vdd");
client            518 drivers/input/touchscreen/mms114.c 		dev_err(&client->dev,
client            523 drivers/input/touchscreen/mms114.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client            525 drivers/input/touchscreen/mms114.c 					  dev_name(&client->dev), data);
client            527 drivers/input/touchscreen/mms114.c 		dev_err(&client->dev, "Failed to register interrupt\n");
client            530 drivers/input/touchscreen/mms114.c 	disable_irq(client->irq);
client            534 drivers/input/touchscreen/mms114.c 		dev_err(&client->dev, "Failed to register input device\n");
client            543 drivers/input/touchscreen/mms114.c 	struct i2c_client *client = to_i2c_client(dev);
client            544 drivers/input/touchscreen/mms114.c 	struct mms114_data *data = i2c_get_clientdata(client);
client            567 drivers/input/touchscreen/mms114.c 	struct i2c_client *client = to_i2c_client(dev);
client            568 drivers/input/touchscreen/mms114.c 	struct mms114_data *data = i2c_get_clientdata(client);
client             25 drivers/input/touchscreen/pixcir_i2c_ts.c 	struct i2c_client *client;
client             61 drivers/input/touchscreen/pixcir_i2c_ts.c 	ret = i2c_master_send(tsdata->client, wrbuf, sizeof(wrbuf));
client             63 drivers/input/touchscreen/pixcir_i2c_ts.c 		dev_err(&tsdata->client->dev,
client             69 drivers/input/touchscreen/pixcir_i2c_ts.c 	ret = i2c_master_recv(tsdata->client, rdbuf, readsize);
client             71 drivers/input/touchscreen/pixcir_i2c_ts.c 		dev_err(&tsdata->client->dev,
client            102 drivers/input/touchscreen/pixcir_i2c_ts.c 	struct device *dev = &ts->client->dev;
client            185 drivers/input/touchscreen/pixcir_i2c_ts.c 	struct device *dev = &ts->client->dev;
client            193 drivers/input/touchscreen/pixcir_i2c_ts.c 	ret = i2c_smbus_read_byte_data(ts->client, PIXCIR_REG_POWER_MODE);
client            206 drivers/input/touchscreen/pixcir_i2c_ts.c 	ret = i2c_smbus_write_byte_data(ts->client, PIXCIR_REG_POWER_MODE, ret);
client            229 drivers/input/touchscreen/pixcir_i2c_ts.c 	struct device *dev = &ts->client->dev;
client            232 drivers/input/touchscreen/pixcir_i2c_ts.c 	ret = i2c_smbus_read_byte_data(ts->client, PIXCIR_REG_INT_MODE);
client            247 drivers/input/touchscreen/pixcir_i2c_ts.c 	ret = i2c_smbus_write_byte_data(ts->client, PIXCIR_REG_INT_MODE, ret);
client            262 drivers/input/touchscreen/pixcir_i2c_ts.c 	struct device *dev = &ts->client->dev;
client            265 drivers/input/touchscreen/pixcir_i2c_ts.c 	ret = i2c_smbus_read_byte_data(ts->client, PIXCIR_REG_INT_MODE);
client            277 drivers/input/touchscreen/pixcir_i2c_ts.c 	ret = i2c_smbus_write_byte_data(ts->client, PIXCIR_REG_INT_MODE, ret);
client            289 drivers/input/touchscreen/pixcir_i2c_ts.c 	struct device *dev = &ts->client->dev;
client            325 drivers/input/touchscreen/pixcir_i2c_ts.c 		dev_err(&ts->client->dev,
client            336 drivers/input/touchscreen/pixcir_i2c_ts.c 	synchronize_irq(ts->client->irq);
client            360 drivers/input/touchscreen/pixcir_i2c_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            361 drivers/input/touchscreen/pixcir_i2c_ts.c 	struct pixcir_i2c_ts_data *ts = i2c_get_clientdata(client);
client            367 drivers/input/touchscreen/pixcir_i2c_ts.c 	if (device_may_wakeup(&client->dev)) {
client            387 drivers/input/touchscreen/pixcir_i2c_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            388 drivers/input/touchscreen/pixcir_i2c_ts.c 	struct pixcir_i2c_ts_data *ts = i2c_get_clientdata(client);
client            394 drivers/input/touchscreen/pixcir_i2c_ts.c 	if (device_may_wakeup(&client->dev)) {
client            435 drivers/input/touchscreen/pixcir_i2c_ts.c static int pixcir_i2c_ts_probe(struct i2c_client *client,
client            439 drivers/input/touchscreen/pixcir_i2c_ts.c 			dev_get_platdata(&client->dev);
client            440 drivers/input/touchscreen/pixcir_i2c_ts.c 	struct device *dev = &client->dev;
client            471 drivers/input/touchscreen/pixcir_i2c_ts.c 	tsdata->client = client;
client            474 drivers/input/touchscreen/pixcir_i2c_ts.c 	input->name = client->name;
client            546 drivers/input/touchscreen/pixcir_i2c_ts.c 	error = devm_request_threaded_irq(dev, client->irq, NULL, pixcir_ts_isr,
client            548 drivers/input/touchscreen/pixcir_i2c_ts.c 					  client->name, tsdata);
client            550 drivers/input/touchscreen/pixcir_i2c_ts.c 		dev_err(dev, "failed to request irq %d\n", client->irq);
client            572 drivers/input/touchscreen/pixcir_i2c_ts.c 	i2c_set_clientdata(client, tsdata);
client            116 drivers/input/touchscreen/raydium_i2c_ts.c 	struct i2c_client *client;
client            139 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_send(struct i2c_client *client,
client            154 drivers/input/touchscreen/raydium_i2c_ts.c 		ret = i2c_master_send(client, buf, len + 1);
client            166 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "%s failed: %d\n", __func__, ret);
client            173 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_read(struct i2c_client *client,
client            178 drivers/input/touchscreen/raydium_i2c_ts.c 			.addr = client->addr,
client            183 drivers/input/touchscreen/raydium_i2c_ts.c 			.addr = client->addr,
client            191 drivers/input/touchscreen/raydium_i2c_ts.c 	ret = i2c_transfer(client->adapter, xfer, ARRAY_SIZE(xfer));
client            198 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_read_message(struct i2c_client *client,
client            210 drivers/input/touchscreen/raydium_i2c_ts.c 		error = raydium_i2c_send(client, RM_CMD_BANK_SWITCH,
client            213 drivers/input/touchscreen/raydium_i2c_ts.c 			error = raydium_i2c_read(client, addr & 0xff,
client            226 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_send_message(struct i2c_client *client,
client            232 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_send(client, RM_CMD_BANK_SWITCH,
client            235 drivers/input/touchscreen/raydium_i2c_ts.c 		error = raydium_i2c_send(client, addr & 0xff, data, len);
client            240 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_sw_reset(struct i2c_client *client)
client            245 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_send_message(client, RM_RESET_MSG_ADDR,
client            248 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "software reset failed: %d\n", error);
client            259 drivers/input/touchscreen/raydium_i2c_ts.c 	struct i2c_client *client = ts->client;
client            266 drivers/input/touchscreen/raydium_i2c_ts.c 		error = raydium_i2c_read(client, RM_CMD_DATA_BANK,
client            277 drivers/input/touchscreen/raydium_i2c_ts.c 			dev_warn(&client->dev,
client            288 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_dbg(&client->dev,
client            292 drivers/input/touchscreen/raydium_i2c_ts.c 		error = raydium_i2c_read(client, RM_CMD_QUERY_BANK,
client            298 drivers/input/touchscreen/raydium_i2c_ts.c 		error = raydium_i2c_read_message(client,
client            307 drivers/input/touchscreen/raydium_i2c_ts.c 	dev_err(&client->dev, "failed to query device parameters: %d\n", error);
client            313 drivers/input/touchscreen/raydium_i2c_ts.c 	struct i2c_client *client = ts->client;
client            319 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_read(client, RM_CMD_BOOT_READ, buf, sizeof(buf));
client            333 drivers/input/touchscreen/raydium_i2c_ts.c 	struct i2c_client *client = ts->client;
client            342 drivers/input/touchscreen/raydium_i2c_ts.c 			dev_err(&client->dev,
client            367 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_bl_chk_state(struct i2c_client *client,
client            381 drivers/input/touchscreen/raydium_i2c_ts.c 			error = raydium_i2c_read(client, RM_CMD_BOOT_CHK,
client            389 drivers/input/touchscreen/raydium_i2c_ts.c 			error = raydium_i2c_read(client, RM_CMD_BOOT_CHK,
client            397 drivers/input/touchscreen/raydium_i2c_ts.c 			dev_err(&client->dev, "%s: invalid target state %d\n",
client            408 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_write_object(struct i2c_client *client,
client            414 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_send(client, RM_CMD_BOOT_WRT, data, len);
client            416 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "WRT obj command failed: %d\n",
client            421 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_send(client, RM_CMD_BOOT_ACK, NULL, 0);
client            423 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "Ack obj command failed: %d\n", error);
client            427 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_bl_chk_state(client, state);
client            429 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "BL check state failed: %d\n", error);
client            435 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_boot_trigger(struct i2c_client *client)
client            450 drivers/input/touchscreen/raydium_i2c_ts.c 		error = raydium_i2c_write_object(client, cmd[i], sizeof(cmd[i]),
client            453 drivers/input/touchscreen/raydium_i2c_ts.c 			dev_err(&client->dev,
client            463 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_fw_trigger(struct i2c_client *client)
client            476 drivers/input/touchscreen/raydium_i2c_ts.c 		error = raydium_i2c_write_object(client, cmd[i], sizeof(cmd[i]),
client            479 drivers/input/touchscreen/raydium_i2c_ts.c 			dev_err(&client->dev,
client            489 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_check_path(struct i2c_client *client)
client            494 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_write_object(client, cmd, sizeof(cmd),
client            497 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "check path command failed: %d\n", error);
client            504 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_enter_bl(struct i2c_client *client)
client            509 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_write_object(client, cal_cmd, sizeof(cal_cmd),
client            512 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "enter bl command failed: %d\n", error);
client            520 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_leave_bl(struct i2c_client *client)
client            525 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_write_object(client, leave_cmd, sizeof(leave_cmd),
client            528 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "leave bl command failed: %d\n", error);
client            536 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_write_checksum(struct i2c_client *client,
client            545 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_write_object(client,
client            549 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "failed to write checksum: %d\n",
client            557 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_disable_watch_dog(struct i2c_client *client)
client            562 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_write_object(client, cmd, sizeof(cmd),
client            565 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "disable watchdog command failed: %d\n",
client            573 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_fw_write_page(struct i2c_client *client,
client            594 drivers/input/touchscreen/raydium_i2c_ts.c 		error = raydium_i2c_write_object(client, buf, RM_BL_WRT_LEN,
client            597 drivers/input/touchscreen/raydium_i2c_ts.c 			dev_err(&client->dev,
client            624 drivers/input/touchscreen/raydium_i2c_ts.c 	struct i2c_client *client = ts->client;
client            634 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "Invalid firmware length\n");
client            640 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "Unable to access IC %d\n", error);
client            646 drivers/input/touchscreen/raydium_i2c_ts.c 			error = raydium_i2c_enter_bl(client);
client            650 drivers/input/touchscreen/raydium_i2c_ts.c 					dev_err(&client->dev,
client            662 drivers/input/touchscreen/raydium_i2c_ts.c 			dev_err(&client->dev,
client            669 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_disable_watch_dog(client);
client            673 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_check_path(client);
client            677 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_boot_trigger(client);
client            679 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "send boot trigger fail: %d\n", error);
client            692 drivers/input/touchscreen/raydium_i2c_ts.c 		error = raydium_i2c_fw_write_page(client, page_nr++, data, len);
client            702 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_leave_bl(client);
client            704 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev,
client            709 drivers/input/touchscreen/raydium_i2c_ts.c 	dev_dbg(&client->dev, "left boot loader mode\n");
client            714 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev,
client            721 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev,
client            727 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_fw_trigger(client);
client            729 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "failed to trigger fw: %d\n", error);
client            735 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_write_checksum(client, fw->size, fw_checksum);
client            744 drivers/input/touchscreen/raydium_i2c_ts.c 	struct i2c_client *client = ts->client;
client            754 drivers/input/touchscreen/raydium_i2c_ts.c 	dev_dbg(&client->dev, "firmware name: %s\n", fw_file);
client            756 drivers/input/touchscreen/raydium_i2c_ts.c 	error = request_firmware(&fw, fw_file, &client->dev);
client            758 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "Unable to open firmware %s\n", fw_file);
client            762 drivers/input/touchscreen/raydium_i2c_ts.c 	disable_irq(client->irq);
client            766 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "firmware update failed: %d\n", error);
client            773 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev,
client            783 drivers/input/touchscreen/raydium_i2c_ts.c 	enable_irq(client->irq);
client            837 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_read_message(ts->client, ts->data_bank_addr,
client            845 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_warn(&ts->client->dev,
client            860 drivers/input/touchscreen/raydium_i2c_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            861 drivers/input/touchscreen/raydium_i2c_ts.c 	struct raydium_data *ts = i2c_get_clientdata(client);
client            869 drivers/input/touchscreen/raydium_i2c_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            870 drivers/input/touchscreen/raydium_i2c_ts.c 	struct raydium_data *ts = i2c_get_clientdata(client);
client            879 drivers/input/touchscreen/raydium_i2c_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            880 drivers/input/touchscreen/raydium_i2c_ts.c 	struct raydium_data *ts = i2c_get_clientdata(client);
client            891 drivers/input/touchscreen/raydium_i2c_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            892 drivers/input/touchscreen/raydium_i2c_ts.c 	struct raydium_data *ts = i2c_get_clientdata(client);
client            910 drivers/input/touchscreen/raydium_i2c_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            911 drivers/input/touchscreen/raydium_i2c_ts.c 	struct raydium_data *ts = i2c_get_clientdata(client);
client            919 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_write_object(client, cal_cmd, sizeof(cal_cmd),
client            922 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "calibrate command failed: %d\n", error);
client            958 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&ts->client->dev,
client            966 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&ts->client->dev,
client            995 drivers/input/touchscreen/raydium_i2c_ts.c static int raydium_i2c_probe(struct i2c_client *client,
client           1002 drivers/input/touchscreen/raydium_i2c_ts.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client           1003 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev,
client           1008 drivers/input/touchscreen/raydium_i2c_ts.c 	ts = devm_kzalloc(&client->dev, sizeof(*ts), GFP_KERNEL);
client           1014 drivers/input/touchscreen/raydium_i2c_ts.c 	ts->client = client;
client           1015 drivers/input/touchscreen/raydium_i2c_ts.c 	i2c_set_clientdata(client, ts);
client           1017 drivers/input/touchscreen/raydium_i2c_ts.c 	ts->avdd = devm_regulator_get(&client->dev, "avdd");
client           1021 drivers/input/touchscreen/raydium_i2c_ts.c 			dev_err(&client->dev,
client           1026 drivers/input/touchscreen/raydium_i2c_ts.c 	ts->vccio = devm_regulator_get(&client->dev, "vccio");
client           1030 drivers/input/touchscreen/raydium_i2c_ts.c 			dev_err(&client->dev,
client           1035 drivers/input/touchscreen/raydium_i2c_ts.c 	ts->reset_gpio = devm_gpiod_get_optional(&client->dev, "reset",
client           1040 drivers/input/touchscreen/raydium_i2c_ts.c 			dev_err(&client->dev,
client           1049 drivers/input/touchscreen/raydium_i2c_ts.c 	error = devm_add_action(&client->dev, raydium_i2c_power_off, ts);
client           1051 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev,
client           1058 drivers/input/touchscreen/raydium_i2c_ts.c 	if (i2c_smbus_xfer(client->adapter, client->addr, 0,
client           1060 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "nothing at this address\n");
client           1066 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "failed to initialize: %d\n", error);
client           1070 drivers/input/touchscreen/raydium_i2c_ts.c 	ts->report_data = devm_kmalloc(&client->dev,
client           1075 drivers/input/touchscreen/raydium_i2c_ts.c 	ts->input = devm_input_allocate_device(&client->dev);
client           1077 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "Failed to allocate input device\n");
client           1097 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev,
client           1104 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev,
client           1109 drivers/input/touchscreen/raydium_i2c_ts.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client           1111 drivers/input/touchscreen/raydium_i2c_ts.c 					  IRQF_ONESHOT, client->name, ts);
client           1113 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "Failed to register interrupt\n");
client           1117 drivers/input/touchscreen/raydium_i2c_ts.c 	error = devm_device_add_group(&client->dev,
client           1120 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev, "failed to create sysfs attributes: %d\n",
client           1128 drivers/input/touchscreen/raydium_i2c_ts.c static void __maybe_unused raydium_enter_sleep(struct i2c_client *client)
client           1133 drivers/input/touchscreen/raydium_i2c_ts.c 	error = raydium_i2c_send(client, RM_CMD_ENTER_SLEEP,
client           1136 drivers/input/touchscreen/raydium_i2c_ts.c 		dev_err(&client->dev,
client           1142 drivers/input/touchscreen/raydium_i2c_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client           1143 drivers/input/touchscreen/raydium_i2c_ts.c 	struct raydium_data *ts = i2c_get_clientdata(client);
client           1149 drivers/input/touchscreen/raydium_i2c_ts.c 	disable_irq(client->irq);
client           1152 drivers/input/touchscreen/raydium_i2c_ts.c 		raydium_enter_sleep(client);
client           1154 drivers/input/touchscreen/raydium_i2c_ts.c 		ts->wake_irq_enabled = (enable_irq_wake(client->irq) == 0);
client           1164 drivers/input/touchscreen/raydium_i2c_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client           1165 drivers/input/touchscreen/raydium_i2c_ts.c 	struct raydium_data *ts = i2c_get_clientdata(client);
client           1169 drivers/input/touchscreen/raydium_i2c_ts.c 			disable_irq_wake(client->irq);
client           1170 drivers/input/touchscreen/raydium_i2c_ts.c 		raydium_i2c_sw_reset(client);
client           1176 drivers/input/touchscreen/raydium_i2c_ts.c 	enable_irq(client->irq);
client            258 drivers/input/touchscreen/rohm_bu21023.c 	struct i2c_client *client;
client            282 drivers/input/touchscreen/rohm_bu21023.c static int rohm_i2c_burst_read(struct i2c_client *client, u8 start, void *buf,
client            285 drivers/input/touchscreen/rohm_bu21023.c 	struct i2c_adapter *adap = client->adapter;
client            289 drivers/input/touchscreen/rohm_bu21023.c 	msg[0].addr = client->addr;
client            294 drivers/input/touchscreen/rohm_bu21023.c 	msg[1].addr = client->addr;
client            315 drivers/input/touchscreen/rohm_bu21023.c 	struct i2c_client *client = ts->client;
client            316 drivers/input/touchscreen/rohm_bu21023.c 	struct device *dev = &client->dev;
client            335 drivers/input/touchscreen/rohm_bu21023.c 	reg1_orig = i2c_smbus_read_byte_data(client, CALIBRATION_REG1);
client            339 drivers/input/touchscreen/rohm_bu21023.c 	reg2_orig = i2c_smbus_read_byte_data(client, CALIBRATION_REG2);
client            343 drivers/input/touchscreen/rohm_bu21023.c 	reg3_orig = i2c_smbus_read_byte_data(client, CALIBRATION_REG3);
client            347 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, INT_MASK,
client            353 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, TEST1,
client            364 drivers/input/touchscreen/rohm_bu21023.c 		error = rohm_i2c_burst_read(client, PRM1_X_H, buf, sizeof(buf));
client            378 drivers/input/touchscreen/rohm_bu21023.c 			error = i2c_smbus_write_byte_data(client, TEST1,
client            413 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client,
client            418 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client,
client            423 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client,
client            431 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client, FORCE_CALIBRATION,
client            436 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client, FORCE_CALIBRATION,
client            442 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client, INT_CLEAR, 0xff);
client            454 drivers/input/touchscreen/rohm_bu21023.c 			val = i2c_smbus_read_byte_data(client, TOUCH_GESTURE);
client            465 drivers/input/touchscreen/rohm_bu21023.c 			val = i2c_smbus_read_byte_data(client, INT_STATUS);
client            479 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client, CALIBRATION_REG1,
client            484 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client, CALIBRATION_REG2,
client            489 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client, CALIBRATION_REG3,
client            495 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client, TEST1,
client            508 drivers/input/touchscreen/rohm_bu21023.c 	error2 = i2c_smbus_write_byte_data(client, INT_MASK, INT_ALL);
client            511 drivers/input/touchscreen/rohm_bu21023.c 		error2 = i2c_smbus_write_byte_data(client, INT_CLEAR, 0xff);
client            523 drivers/input/touchscreen/rohm_bu21023.c 	struct i2c_client *client = ts->client;
client            525 drivers/input/touchscreen/rohm_bu21023.c 	struct device *dev = &client->dev;
client            539 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, INT_MASK, INT_ALL);
client            544 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, INT_CLEAR, 0xff);
client            550 drivers/input/touchscreen/rohm_bu21023.c 	error = rohm_i2c_burst_read(client, POS_X1_H, buf, sizeof(buf));
client            635 drivers/input/touchscreen/rohm_bu21023.c 	i2c_smbus_write_byte_data(client, INT_MASK,
client            642 drivers/input/touchscreen/rohm_bu21023.c static int rohm_ts_load_firmware(struct i2c_client *client,
client            645 drivers/input/touchscreen/rohm_bu21023.c 	struct device *dev = &client->dev;
client            659 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, INT_MASK,
client            670 drivers/input/touchscreen/rohm_bu21023.c 			error = i2c_smbus_write_byte_data(client, EX_WDAT, 0);
client            675 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client, EX_ADDR_H, 0);
client            679 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client, EX_ADDR_L, 0);
client            683 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client, COMMON_SETUP1,
client            695 drivers/input/touchscreen/rohm_bu21023.c 			error = i2c_smbus_write_i2c_block_data(client, EX_WDAT,
client            705 drivers/input/touchscreen/rohm_bu21023.c 		status = i2c_smbus_read_byte_data(client, INT_STATUS);
client            712 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client, INT_CLEAR, 0xff);
client            723 drivers/input/touchscreen/rohm_bu21023.c 	error2 = i2c_smbus_write_byte_data(client, INT_MASK, INT_ALL);
client            733 drivers/input/touchscreen/rohm_bu21023.c 	struct i2c_client *client = to_i2c_client(dev);
client            734 drivers/input/touchscreen/rohm_bu21023.c 	struct rohm_ts_data *ts = i2c_get_clientdata(client);
client            742 drivers/input/touchscreen/rohm_bu21023.c 	struct i2c_client *client = to_i2c_client(dev);
client            743 drivers/input/touchscreen/rohm_bu21023.c 	struct rohm_ts_data *ts = i2c_get_clientdata(client);
client            761 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(ts->client, COMMON_SETUP2,
client            772 drivers/input/touchscreen/rohm_bu21023.c 	struct i2c_client *client = to_i2c_client(dev);
client            773 drivers/input/touchscreen/rohm_bu21023.c 	struct rohm_ts_data *ts = i2c_get_clientdata(client);
client            781 drivers/input/touchscreen/rohm_bu21023.c 	struct i2c_client *client = to_i2c_client(dev);
client            782 drivers/input/touchscreen/rohm_bu21023.c 	struct rohm_ts_data *ts = i2c_get_clientdata(client);
client            800 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(ts->client, COMMON_SETUP2,
client            811 drivers/input/touchscreen/rohm_bu21023.c 	struct i2c_client *client = to_i2c_client(dev);
client            812 drivers/input/touchscreen/rohm_bu21023.c 	struct rohm_ts_data *ts = i2c_get_clientdata(client);
client            820 drivers/input/touchscreen/rohm_bu21023.c 	struct i2c_client *client = to_i2c_client(dev);
client            821 drivers/input/touchscreen/rohm_bu21023.c 	struct rohm_ts_data *ts = i2c_get_clientdata(client);
client            839 drivers/input/touchscreen/rohm_bu21023.c 		error = i2c_smbus_write_byte_data(client, COMMON_SETUP2,
client            862 drivers/input/touchscreen/rohm_bu21023.c static int rohm_ts_device_init(struct i2c_client *client, u8 setup2)
client            864 drivers/input/touchscreen/rohm_bu21023.c 	struct device *dev = &client->dev;
client            867 drivers/input/touchscreen/rohm_bu21023.c 	disable_irq(client->irq);
client            875 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, SYSTEM,
client            884 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, INT_CLEAR, 0xff);
client            888 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, EX_WDAT, 0);
client            892 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, COMMON_SETUP1, 0);
client            896 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, COMMON_SETUP2, setup2);
client            900 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, COMMON_SETUP3,
client            905 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, THRESHOLD_GESTURE,
client            910 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, INTERVAL_TIME,
client            915 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, CPU_FREQ, CPU_FREQ_10MHZ);
client            919 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, PRM_SWOFF_TIME,
client            924 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, ADC_CTRL, ADC_DIV_DEFAULT);
client            928 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, ADC_WAIT, ADC_WAIT_DEFAULT);
client            935 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, STEP_X, STEP_X_DEFAULT);
client            939 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, STEP_Y, STEP_Y_DEFAULT);
client            943 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, OFFSET_X, OFFSET_X_DEFAULT);
client            947 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, OFFSET_Y, OFFSET_Y_DEFAULT);
client            951 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, THRESHOLD_TOUCH,
client            956 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, EVR_XY, EVR_XY_DEFAULT);
client            960 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, EVR_X, EVR_X_DEFAULT);
client            964 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, EVR_Y, EVR_Y_DEFAULT);
client            969 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, CALIBRATION_ADJUST,
client            974 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, SWCONT, SWCONT_DEFAULT);
client            978 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, TEST1,
client            984 drivers/input/touchscreen/rohm_bu21023.c 	error = rohm_ts_load_firmware(client, BU21023_FIRMWARE_NAME);
client            996 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, CALIBRATION_REG1,
client           1001 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, CALIBRATION_REG2,
client           1006 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, CALIBRATION_REG3,
client           1011 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, FORCE_CALIBRATION,
client           1016 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, FORCE_CALIBRATION,
client           1022 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, INT_CLEAR, 0xff);
client           1027 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, INT_MASK,
client           1033 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, ERR_MASK,
client           1040 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, SYSTEM,
client           1043 drivers/input/touchscreen/rohm_bu21023.c 	enable_irq(client->irq);
client           1048 drivers/input/touchscreen/rohm_bu21023.c static int rohm_ts_power_off(struct i2c_client *client)
client           1052 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, SYSTEM,
client           1055 drivers/input/touchscreen/rohm_bu21023.c 		dev_err(&client->dev,
client           1060 drivers/input/touchscreen/rohm_bu21023.c 	error = i2c_smbus_write_byte_data(client, SYSTEM,
client           1063 drivers/input/touchscreen/rohm_bu21023.c 		dev_err(&client->dev,
client           1072 drivers/input/touchscreen/rohm_bu21023.c 	struct i2c_client *client = ts->client;
client           1076 drivers/input/touchscreen/rohm_bu21023.c 		error = rohm_ts_device_init(client, ts->setup2);
client           1078 drivers/input/touchscreen/rohm_bu21023.c 			dev_err(&client->dev,
client           1093 drivers/input/touchscreen/rohm_bu21023.c 	rohm_ts_power_off(ts->client);
client           1098 drivers/input/touchscreen/rohm_bu21023.c static int rohm_bu21023_i2c_probe(struct i2c_client *client,
client           1101 drivers/input/touchscreen/rohm_bu21023.c 	struct device *dev = &client->dev;
client           1106 drivers/input/touchscreen/rohm_bu21023.c 	if (!client->irq) {
client           1111 drivers/input/touchscreen/rohm_bu21023.c 	if (!client->adapter->algo->master_xfer) {
client           1117 drivers/input/touchscreen/rohm_bu21023.c 	error = rohm_ts_power_off(client);
client           1125 drivers/input/touchscreen/rohm_bu21023.c 	ts->client = client;
client           1127 drivers/input/touchscreen/rohm_bu21023.c 	i2c_set_clientdata(client, ts);
client           1154 drivers/input/touchscreen/rohm_bu21023.c 	error = devm_request_threaded_irq(dev, client->irq,
client           1156 drivers/input/touchscreen/rohm_bu21023.c 					  IRQF_ONESHOT, client->name, ts);
client             63 drivers/input/touchscreen/s3c2410_ts.c 	struct s3c_adc_client *client;
client            122 drivers/input/touchscreen/s3c2410_ts.c 		s3c_adc_start(ts.client, 0, 1 << ts.shift);
client            160 drivers/input/touchscreen/s3c2410_ts.c 		s3c_adc_start(ts.client, 0, 1 << ts.shift);
client            181 drivers/input/touchscreen/s3c2410_ts.c static void s3c24xx_ts_conversion(struct s3c_adc_client *client,
client            209 drivers/input/touchscreen/s3c2410_ts.c static void s3c24xx_ts_select(struct s3c_adc_client *client, unsigned select)
client            285 drivers/input/touchscreen/s3c2410_ts.c 	ts.client = s3c_adc_register(pdev, s3c24xx_ts_select,
client            287 drivers/input/touchscreen/s3c2410_ts.c 	if (IS_ERR(ts.client)) {
client            289 drivers/input/touchscreen/s3c2410_ts.c 		ret = PTR_ERR(ts.client);
client            102 drivers/input/touchscreen/s6sy761.c 	struct i2c_client *client;
client            122 drivers/input/touchscreen/s6sy761.c 			.addr	= sdata->client->addr,
client            127 drivers/input/touchscreen/s6sy761.c 			.addr	= sdata->client->addr,
client            135 drivers/input/touchscreen/s6sy761.c 	ret = i2c_transfer(sdata->client->adapter, msgs, ARRAY_SIZE(msgs));
client            229 drivers/input/touchscreen/s6sy761.c 	ret = i2c_smbus_read_i2c_block_data(sdata->client,
client            234 drivers/input/touchscreen/s6sy761.c 		dev_err(&sdata->client->dev, "failed to read events\n");
client            248 drivers/input/touchscreen/s6sy761.c 			dev_err(&sdata->client->dev, "failed to read events\n");
client            262 drivers/input/touchscreen/s6sy761.c 	return i2c_smbus_write_byte(sdata->client, S6SY761_SENSE_ON);
client            270 drivers/input/touchscreen/s6sy761.c 	ret = i2c_smbus_write_byte(sdata->client, S6SY761_SENSE_OFF);
client            272 drivers/input/touchscreen/s6sy761.c 		dev_err(&sdata->client->dev, "failed to turn off sensing\n");
client            308 drivers/input/touchscreen/s6sy761.c 	ret = i2c_smbus_read_i2c_block_data(sdata->client,
client            323 drivers/input/touchscreen/s6sy761.c 	ret = i2c_smbus_read_byte_data(sdata->client, S6SY761_BOOT_STATUS);
client            332 drivers/input/touchscreen/s6sy761.c 	ret = i2c_smbus_write_word_data(sdata->client,
client            351 drivers/input/touchscreen/s6sy761.c 	ret = i2c_smbus_read_i2c_block_data(sdata->client,
client            360 drivers/input/touchscreen/s6sy761.c 	ret = i2c_smbus_read_i2c_block_data(sdata->client,
client            373 drivers/input/touchscreen/s6sy761.c 	ret = i2c_smbus_read_byte_data(sdata->client,
client            387 drivers/input/touchscreen/s6sy761.c 	disable_irq(sdata->client->irq);
client            392 drivers/input/touchscreen/s6sy761.c static int s6sy761_probe(struct i2c_client *client,
client            399 drivers/input/touchscreen/s6sy761.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C |
client            404 drivers/input/touchscreen/s6sy761.c 	sdata = devm_kzalloc(&client->dev, sizeof(*sdata), GFP_KERNEL);
client            408 drivers/input/touchscreen/s6sy761.c 	i2c_set_clientdata(client, sdata);
client            409 drivers/input/touchscreen/s6sy761.c 	sdata->client = client;
client            413 drivers/input/touchscreen/s6sy761.c 	err = devm_regulator_bulk_get(&client->dev,
client            419 drivers/input/touchscreen/s6sy761.c 	err = devm_add_action_or_reset(&client->dev, s6sy761_power_off, sdata);
client            427 drivers/input/touchscreen/s6sy761.c 	sdata->input = devm_input_allocate_device(&client->dev);
client            448 drivers/input/touchscreen/s6sy761.c 		dev_warn(&client->dev, "the axis have not been set\n");
client            462 drivers/input/touchscreen/s6sy761.c 	err = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            469 drivers/input/touchscreen/s6sy761.c 	err = devm_device_add_group(&client->dev, &s6sy761_attribute_group);
client            473 drivers/input/touchscreen/s6sy761.c 	pm_runtime_enable(&client->dev);
client            478 drivers/input/touchscreen/s6sy761.c static int s6sy761_remove(struct i2c_client *client)
client            480 drivers/input/touchscreen/s6sy761.c 	pm_runtime_disable(&client->dev);
client            489 drivers/input/touchscreen/s6sy761.c 	return i2c_smbus_write_byte_data(sdata->client,
client            497 drivers/input/touchscreen/s6sy761.c 	return i2c_smbus_write_byte_data(sdata->client,
client            514 drivers/input/touchscreen/s6sy761.c 	enable_irq(sdata->client->irq);
client             66 drivers/input/touchscreen/silead.c 	struct i2c_client *client;
client             86 drivers/input/touchscreen/silead.c 	struct device *dev = &data->client->dev;
client            120 drivers/input/touchscreen/silead.c static void silead_ts_set_power(struct i2c_client *client,
client            123 drivers/input/touchscreen/silead.c 	struct silead_ts_data *data = i2c_get_clientdata(client);
client            131 drivers/input/touchscreen/silead.c static void silead_ts_read_data(struct i2c_client *client)
client            133 drivers/input/touchscreen/silead.c 	struct silead_ts_data *data = i2c_get_clientdata(client);
client            135 drivers/input/touchscreen/silead.c 	struct device *dev = &client->dev;
client            140 drivers/input/touchscreen/silead.c 	error = i2c_smbus_read_i2c_block_data(client, SILEAD_REG_DATA,
client            200 drivers/input/touchscreen/silead.c static int silead_ts_init(struct i2c_client *client)
client            202 drivers/input/touchscreen/silead.c 	struct silead_ts_data *data = i2c_get_clientdata(client);
client            205 drivers/input/touchscreen/silead.c 	error = i2c_smbus_write_byte_data(client, SILEAD_REG_RESET,
client            211 drivers/input/touchscreen/silead.c 	error = i2c_smbus_write_byte_data(client, SILEAD_REG_TOUCH_NR,
client            217 drivers/input/touchscreen/silead.c 	error = i2c_smbus_write_byte_data(client, SILEAD_REG_CLOCK,
client            223 drivers/input/touchscreen/silead.c 	error = i2c_smbus_write_byte_data(client, SILEAD_REG_RESET,
client            232 drivers/input/touchscreen/silead.c 	dev_err(&client->dev, "Registers clear error %d\n", error);
client            236 drivers/input/touchscreen/silead.c static int silead_ts_reset(struct i2c_client *client)
client            240 drivers/input/touchscreen/silead.c 	error = i2c_smbus_write_byte_data(client, SILEAD_REG_RESET,
client            246 drivers/input/touchscreen/silead.c 	error = i2c_smbus_write_byte_data(client, SILEAD_REG_CLOCK,
client            252 drivers/input/touchscreen/silead.c 	error = i2c_smbus_write_byte_data(client, SILEAD_REG_POWER,
client            261 drivers/input/touchscreen/silead.c 	dev_err(&client->dev, "Chip reset error %d\n", error);
client            265 drivers/input/touchscreen/silead.c static int silead_ts_startup(struct i2c_client *client)
client            269 drivers/input/touchscreen/silead.c 	error = i2c_smbus_write_byte_data(client, SILEAD_REG_RESET, 0x00);
client            271 drivers/input/touchscreen/silead.c 		dev_err(&client->dev, "Startup error %d\n", error);
client            280 drivers/input/touchscreen/silead.c static int silead_ts_load_fw(struct i2c_client *client)
client            282 drivers/input/touchscreen/silead.c 	struct device *dev = &client->dev;
client            283 drivers/input/touchscreen/silead.c 	struct silead_ts_data *data = i2c_get_clientdata(client);
client            301 drivers/input/touchscreen/silead.c 		error = i2c_smbus_write_i2c_block_data(client,
client            315 drivers/input/touchscreen/silead.c static u32 silead_ts_get_status(struct i2c_client *client)
client            320 drivers/input/touchscreen/silead.c 	error = i2c_smbus_read_i2c_block_data(client, SILEAD_REG_STATUS,
client            323 drivers/input/touchscreen/silead.c 		dev_err(&client->dev, "Status read error %d\n", error);
client            330 drivers/input/touchscreen/silead.c static int silead_ts_get_id(struct i2c_client *client)
client            332 drivers/input/touchscreen/silead.c 	struct silead_ts_data *data = i2c_get_clientdata(client);
client            336 drivers/input/touchscreen/silead.c 	error = i2c_smbus_read_i2c_block_data(client, SILEAD_REG_ID,
client            339 drivers/input/touchscreen/silead.c 		dev_err(&client->dev, "Chip ID read error %d\n", error);
client            344 drivers/input/touchscreen/silead.c 	dev_info(&client->dev, "Silead chip ID: 0x%8X", data->chip_id);
client            349 drivers/input/touchscreen/silead.c static int silead_ts_setup(struct i2c_client *client)
client            354 drivers/input/touchscreen/silead.c 	silead_ts_set_power(client, SILEAD_POWER_OFF);
client            355 drivers/input/touchscreen/silead.c 	silead_ts_set_power(client, SILEAD_POWER_ON);
client            357 drivers/input/touchscreen/silead.c 	error = silead_ts_get_id(client);
client            361 drivers/input/touchscreen/silead.c 	error = silead_ts_init(client);
client            365 drivers/input/touchscreen/silead.c 	error = silead_ts_reset(client);
client            369 drivers/input/touchscreen/silead.c 	error = silead_ts_load_fw(client);
client            373 drivers/input/touchscreen/silead.c 	error = silead_ts_startup(client);
client            377 drivers/input/touchscreen/silead.c 	status = silead_ts_get_status(client);
client            379 drivers/input/touchscreen/silead.c 		dev_err(&client->dev,
client            390 drivers/input/touchscreen/silead.c 	struct i2c_client *client = data->client;
client            392 drivers/input/touchscreen/silead.c 	silead_ts_read_data(client);
client            397 drivers/input/touchscreen/silead.c static void silead_ts_read_props(struct i2c_client *client)
client            399 drivers/input/touchscreen/silead.c 	struct silead_ts_data *data = i2c_get_clientdata(client);
client            400 drivers/input/touchscreen/silead.c 	struct device *dev = &client->dev;
client            424 drivers/input/touchscreen/silead.c 	struct device *dev = &data->client->dev;
client            461 drivers/input/touchscreen/silead.c static int silead_ts_probe(struct i2c_client *client,
client            465 drivers/input/touchscreen/silead.c 	struct device *dev = &client->dev;
client            468 drivers/input/touchscreen/silead.c 	if (!i2c_check_functionality(client->adapter,
client            480 drivers/input/touchscreen/silead.c 	i2c_set_clientdata(client, data);
client            481 drivers/input/touchscreen/silead.c 	data->client = client;
client            487 drivers/input/touchscreen/silead.c 	silead_ts_read_props(client);
client            490 drivers/input/touchscreen/silead.c 	if (client->irq <= 0)
client            521 drivers/input/touchscreen/silead.c 	error = silead_ts_setup(client);
client            529 drivers/input/touchscreen/silead.c 	error = devm_request_threaded_irq(dev, client->irq,
client            531 drivers/input/touchscreen/silead.c 					  IRQF_ONESHOT, client->name, data);
client            543 drivers/input/touchscreen/silead.c 	struct i2c_client *client = to_i2c_client(dev);
client            545 drivers/input/touchscreen/silead.c 	disable_irq(client->irq);
client            546 drivers/input/touchscreen/silead.c 	silead_ts_set_power(client, SILEAD_POWER_OFF);
client            552 drivers/input/touchscreen/silead.c 	struct i2c_client *client = to_i2c_client(dev);
client            556 drivers/input/touchscreen/silead.c 	silead_ts_set_power(client, SILEAD_POWER_ON);
client            559 drivers/input/touchscreen/silead.c 	error = silead_ts_reset(client);
client            564 drivers/input/touchscreen/silead.c 		error = silead_ts_load_fw(client);
client            569 drivers/input/touchscreen/silead.c 	error = silead_ts_startup(client);
client            573 drivers/input/touchscreen/silead.c 	status = silead_ts_get_status(client);
client            584 drivers/input/touchscreen/silead.c 	enable_irq(client->irq);
client             95 drivers/input/touchscreen/sis_i2c.c 	struct i2c_client *client;
client            104 drivers/input/touchscreen/sis_i2c.c static int sis_read_packet(struct i2c_client *client, u8 *buf,
client            114 drivers/input/touchscreen/sis_i2c.c 	ret = i2c_master_recv(client, buf, SIS_MAX_PACKET_SIZE);
client            120 drivers/input/touchscreen/sis_i2c.c 		dev_err(&client->dev,
client            144 drivers/input/touchscreen/sis_i2c.c 				dev_err(&client->dev,
client            153 drivers/input/touchscreen/sis_i2c.c 			dev_err(&client->dev,
client            182 drivers/input/touchscreen/sis_i2c.c 		dev_err(&ts->client->dev, "Unexpected touch status: %#02x\n",
client            234 drivers/input/touchscreen/sis_i2c.c 		error = sis_read_packet(ts->client, ts->packet,
client            242 drivers/input/touchscreen/sis_i2c.c 			dev_err(&ts->client->dev,
client            299 drivers/input/touchscreen/sis_i2c.c static int sis_ts_probe(struct i2c_client *client,
client            306 drivers/input/touchscreen/sis_i2c.c 	ts = devm_kzalloc(&client->dev, sizeof(*ts), GFP_KERNEL);
client            310 drivers/input/touchscreen/sis_i2c.c 	ts->client = client;
client            312 drivers/input/touchscreen/sis_i2c.c 	ts->attn_gpio = devm_gpiod_get_optional(&client->dev,
client            317 drivers/input/touchscreen/sis_i2c.c 			dev_err(&client->dev,
client            322 drivers/input/touchscreen/sis_i2c.c 	ts->reset_gpio = devm_gpiod_get_optional(&client->dev,
client            327 drivers/input/touchscreen/sis_i2c.c 			dev_err(&client->dev,
client            334 drivers/input/touchscreen/sis_i2c.c 	ts->input = input = devm_input_allocate_device(&client->dev);
client            336 drivers/input/touchscreen/sis_i2c.c 		dev_err(&client->dev, "Failed to allocate input device\n");
client            353 drivers/input/touchscreen/sis_i2c.c 		dev_err(&client->dev,
client            358 drivers/input/touchscreen/sis_i2c.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client            361 drivers/input/touchscreen/sis_i2c.c 					  client->name, ts);
client            363 drivers/input/touchscreen/sis_i2c.c 		dev_err(&client->dev, "Failed to request IRQ: %d\n", error);
client            369 drivers/input/touchscreen/sis_i2c.c 		dev_err(&client->dev,
client             45 drivers/input/touchscreen/st1232.c 	struct i2c_client *client;
client             59 drivers/input/touchscreen/st1232.c 	struct i2c_client *client = ts->client;
client             67 drivers/input/touchscreen/st1232.c 	msg[0].addr = client->addr;
client             72 drivers/input/touchscreen/st1232.c 	msg[1].addr = ts->client->addr;
client             77 drivers/input/touchscreen/st1232.c 	error = i2c_transfer(client->adapter, msg, 2);
client            134 drivers/input/touchscreen/st1232.c 		dev_pm_qos_add_ancestor_request(&ts->client->dev,
client            175 drivers/input/touchscreen/st1232.c static int st1232_ts_probe(struct i2c_client *client,
client            184 drivers/input/touchscreen/st1232.c 	match = device_get_match_data(&client->dev);
client            188 drivers/input/touchscreen/st1232.c 		dev_err(&client->dev, "unknown device model\n");
client            192 drivers/input/touchscreen/st1232.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            193 drivers/input/touchscreen/st1232.c 		dev_err(&client->dev, "need I2C_FUNC_I2C\n");
client            197 drivers/input/touchscreen/st1232.c 	if (!client->irq) {
client            198 drivers/input/touchscreen/st1232.c 		dev_err(&client->dev, "no IRQ?\n");
client            202 drivers/input/touchscreen/st1232.c 	ts = devm_kzalloc(&client->dev, sizeof(*ts), GFP_KERNEL);
client            207 drivers/input/touchscreen/st1232.c 	ts->finger = devm_kcalloc(&client->dev,
client            215 drivers/input/touchscreen/st1232.c 	ts->read_buf = devm_kzalloc(&client->dev, ts->read_buf_len, GFP_KERNEL);
client            219 drivers/input/touchscreen/st1232.c 	input_dev = devm_input_allocate_device(&client->dev);
client            223 drivers/input/touchscreen/st1232.c 	ts->client = client;
client            226 drivers/input/touchscreen/st1232.c 	ts->reset_gpio = devm_gpiod_get_optional(&client->dev, NULL,
client            230 drivers/input/touchscreen/st1232.c 		dev_err(&client->dev, "Unable to request GPIO pin: %d.\n",
client            237 drivers/input/touchscreen/st1232.c 	error = devm_add_action_or_reset(&client->dev, st1232_ts_power_off, ts);
client            239 drivers/input/touchscreen/st1232.c 		dev_err(&client->dev,
client            246 drivers/input/touchscreen/st1232.c 	input_dev->dev.parent = &client->dev;
client            264 drivers/input/touchscreen/st1232.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client            267 drivers/input/touchscreen/st1232.c 					  client->name, ts);
client            269 drivers/input/touchscreen/st1232.c 		dev_err(&client->dev, "Failed to register interrupt\n");
client            275 drivers/input/touchscreen/st1232.c 		dev_err(&client->dev, "Unable to register %s input device\n",
client            280 drivers/input/touchscreen/st1232.c 	i2c_set_clientdata(client, ts);
client            281 drivers/input/touchscreen/st1232.c 	device_init_wakeup(&client->dev, 1);
client            288 drivers/input/touchscreen/st1232.c 	struct i2c_client *client = to_i2c_client(dev);
client            289 drivers/input/touchscreen/st1232.c 	struct st1232_ts_data *ts = i2c_get_clientdata(client);
client            291 drivers/input/touchscreen/st1232.c 	if (device_may_wakeup(&client->dev)) {
client            292 drivers/input/touchscreen/st1232.c 		enable_irq_wake(client->irq);
client            294 drivers/input/touchscreen/st1232.c 		disable_irq(client->irq);
client            303 drivers/input/touchscreen/st1232.c 	struct i2c_client *client = to_i2c_client(dev);
client            304 drivers/input/touchscreen/st1232.c 	struct st1232_ts_data *ts = i2c_get_clientdata(client);
client            306 drivers/input/touchscreen/st1232.c 	if (device_may_wakeup(&client->dev)) {
client            307 drivers/input/touchscreen/st1232.c 		disable_irq_wake(client->irq);
client            310 drivers/input/touchscreen/st1232.c 		enable_irq(client->irq);
client             78 drivers/input/touchscreen/stmfts.c 	struct i2c_client *client;
client            122 drivers/input/touchscreen/stmfts.c 				dev_warn(&sdata->client->dev,
client            151 drivers/input/touchscreen/stmfts.c 			.addr	= sdata->client->addr,
client            156 drivers/input/touchscreen/stmfts.c 			.addr	= sdata->client->addr,
client            164 drivers/input/touchscreen/stmfts.c 	ret = i2c_transfer(sdata->client->adapter, msgs, ARRAY_SIZE(msgs));
client            237 drivers/input/touchscreen/stmfts.c 		dev_warn(&sdata->client->dev,
client            287 drivers/input/touchscreen/stmfts.c 			dev_warn(&sdata->client->dev,
client            294 drivers/input/touchscreen/stmfts.c 			dev_err(&sdata->client->dev,
client            309 drivers/input/touchscreen/stmfts.c 		dev_err(&sdata->client->dev,
client            324 drivers/input/touchscreen/stmfts.c 	err = i2c_smbus_write_byte(sdata->client, cmd);
client            340 drivers/input/touchscreen/stmfts.c 	err = pm_runtime_get_sync(&sdata->client->dev);
client            344 drivers/input/touchscreen/stmfts.c 	err = i2c_smbus_write_byte(sdata->client, STMFTS_MS_MT_SENSE_ON);
client            352 drivers/input/touchscreen/stmfts.c 		err = i2c_smbus_write_byte(sdata->client,
client            355 drivers/input/touchscreen/stmfts.c 			dev_warn(&sdata->client->dev,
client            361 drivers/input/touchscreen/stmfts.c 		err = i2c_smbus_write_byte(sdata->client,
client            365 drivers/input/touchscreen/stmfts.c 			dev_warn(&sdata->client->dev,
client            377 drivers/input/touchscreen/stmfts.c 	err = i2c_smbus_write_byte(sdata->client, STMFTS_MS_MT_SENSE_OFF);
client            379 drivers/input/touchscreen/stmfts.c 		dev_warn(&sdata->client->dev,
client            387 drivers/input/touchscreen/stmfts.c 		err = i2c_smbus_write_byte(sdata->client,
client            390 drivers/input/touchscreen/stmfts.c 			dev_warn(&sdata->client->dev,
client            396 drivers/input/touchscreen/stmfts.c 		err = i2c_smbus_write_byte(sdata->client,
client            399 drivers/input/touchscreen/stmfts.c 			dev_warn(&sdata->client->dev,
client            403 drivers/input/touchscreen/stmfts.c 	pm_runtime_put_sync(&sdata->client->dev);
client            453 drivers/input/touchscreen/stmfts.c 	err = i2c_smbus_read_i2c_block_data(sdata->client, STMFTS_READ_STATUS,
client            486 drivers/input/touchscreen/stmfts.c 		err = i2c_smbus_write_byte(sdata->client,
client            539 drivers/input/touchscreen/stmfts.c 	err = i2c_smbus_read_i2c_block_data(sdata->client, STMFTS_READ_INFO,
client            552 drivers/input/touchscreen/stmfts.c 	enable_irq(sdata->client->irq);
client            567 drivers/input/touchscreen/stmfts.c 		dev_warn(&sdata->client->dev,
client            573 drivers/input/touchscreen/stmfts.c 		dev_warn(&sdata->client->dev,
client            584 drivers/input/touchscreen/stmfts.c 	(void) i2c_smbus_write_byte(sdata->client, STMFTS_SLEEP_IN);
client            593 drivers/input/touchscreen/stmfts.c 	disable_irq(sdata->client->irq);
client            606 drivers/input/touchscreen/stmfts.c 	sdata->ledvdd = devm_regulator_get(&sdata->client->dev, "ledvdd");
client            616 drivers/input/touchscreen/stmfts.c 	err = devm_led_classdev_register(&sdata->client->dev, &sdata->led_cdev);
client            625 drivers/input/touchscreen/stmfts.c static int stmfts_probe(struct i2c_client *client,
client            631 drivers/input/touchscreen/stmfts.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C |
client            636 drivers/input/touchscreen/stmfts.c 	sdata = devm_kzalloc(&client->dev, sizeof(*sdata), GFP_KERNEL);
client            640 drivers/input/touchscreen/stmfts.c 	i2c_set_clientdata(client, sdata);
client            642 drivers/input/touchscreen/stmfts.c 	sdata->client = client;
client            648 drivers/input/touchscreen/stmfts.c 	err = devm_regulator_bulk_get(&client->dev,
client            654 drivers/input/touchscreen/stmfts.c 	sdata->input = devm_input_allocate_device(&client->dev);
client            673 drivers/input/touchscreen/stmfts.c 	sdata->use_key = device_property_read_bool(&client->dev,
client            694 drivers/input/touchscreen/stmfts.c 	irq_set_status_flags(client->irq, IRQ_NOAUTOEN);
client            695 drivers/input/touchscreen/stmfts.c 	err = devm_request_threaded_irq(&client->dev, client->irq,
client            702 drivers/input/touchscreen/stmfts.c 	dev_dbg(&client->dev, "initializing ST-Microelectronics FTS...\n");
client            708 drivers/input/touchscreen/stmfts.c 	err = devm_add_action_or_reset(&client->dev, stmfts_power_off, sdata);
client            725 drivers/input/touchscreen/stmfts.c 			dev_warn(&client->dev, "unable to use touchkey leds\n");
client            730 drivers/input/touchscreen/stmfts.c 	err = devm_device_add_group(&client->dev, &stmfts_attribute_group);
client            734 drivers/input/touchscreen/stmfts.c 	pm_runtime_enable(&client->dev);
client            735 drivers/input/touchscreen/stmfts.c 	device_enable_async_suspend(&client->dev);
client            740 drivers/input/touchscreen/stmfts.c static int stmfts_remove(struct i2c_client *client)
client            742 drivers/input/touchscreen/stmfts.c 	pm_runtime_disable(&client->dev);
client            752 drivers/input/touchscreen/stmfts.c 	ret = i2c_smbus_write_byte(sdata->client, STMFTS_SLEEP_IN);
client            764 drivers/input/touchscreen/stmfts.c 	ret = i2c_smbus_write_byte(sdata->client, STMFTS_SLEEP_OUT);
client             98 drivers/input/touchscreen/sx8654.c 	struct i2c_client *client;
client            125 drivers/input/touchscreen/sx8654.c 	dev_dbg(&ts->client->dev, "penrelease by timer\n");
client            131 drivers/input/touchscreen/sx8654.c 	struct device *dev = &ts->client->dev;
client            142 drivers/input/touchscreen/sx8654.c 	stat = i2c_smbus_read_byte_data(ts->client, CMD_READ_REGISTER
client            150 drivers/input/touchscreen/sx8654.c 	len = i2c_master_recv(ts->client, (u8 *)data, readlen);
client            200 drivers/input/touchscreen/sx8654.c 	irqsrc = i2c_smbus_read_byte_data(sx8654->client,
client            202 drivers/input/touchscreen/sx8654.c 	dev_dbg(&sx8654->client->dev, "irqsrc = 0x%x", irqsrc);
client            208 drivers/input/touchscreen/sx8654.c 		dev_dbg(&sx8654->client->dev, "pen release interrupt");
client            215 drivers/input/touchscreen/sx8654.c 		dev_dbg(&sx8654->client->dev, "pen touch interrupt");
client            217 drivers/input/touchscreen/sx8654.c 		retval = i2c_master_recv(sx8654->client, data, sizeof(data));
client            233 drivers/input/touchscreen/sx8654.c 		dev_dbg(&sx8654->client->dev, "point(%4d,%4d)\n", x, y);
client            249 drivers/input/touchscreen/sx8654.c 		dev_dbg(&ts->client->dev, "NRST unavailable, try softreset\n");
client            250 drivers/input/touchscreen/sx8654.c 		err = i2c_smbus_write_byte_data(ts->client, I2C_REG_SOFTRESET,
client            262 drivers/input/touchscreen/sx8654.c 	struct i2c_client *client = sx8654->client;
client            266 drivers/input/touchscreen/sx8654.c 	error = i2c_smbus_write_byte_data(client, I2C_REG_TOUCH0,
client            269 drivers/input/touchscreen/sx8654.c 		dev_err(&client->dev, "writing to I2C_REG_TOUCH0 failed");
client            273 drivers/input/touchscreen/sx8654.c 	error = i2c_smbus_write_byte(client, CMD_PENTRG);
client            275 drivers/input/touchscreen/sx8654.c 		dev_err(&client->dev, "writing command CMD_PENTRG failed");
client            279 drivers/input/touchscreen/sx8654.c 	enable_irq(client->irq);
client            287 drivers/input/touchscreen/sx8654.c 	struct i2c_client *client = sx8654->client;
client            290 drivers/input/touchscreen/sx8654.c 	disable_irq(client->irq);
client            296 drivers/input/touchscreen/sx8654.c 	error = i2c_smbus_write_byte(client, sx8654->data->cmd_manual);
client            298 drivers/input/touchscreen/sx8654.c 		dev_err(&client->dev, "writing command CMD_MANUAL failed");
client            302 drivers/input/touchscreen/sx8654.c 	error = i2c_smbus_write_byte_data(client, I2C_REG_TOUCH0, RATE_MANUAL);
client            304 drivers/input/touchscreen/sx8654.c 		dev_err(&client->dev, "writing to I2C_REG_TOUCH0 failed");
client            309 drivers/input/touchscreen/sx8654.c static int sx8654_probe(struct i2c_client *client,
client            316 drivers/input/touchscreen/sx8654.c 	if (!i2c_check_functionality(client->adapter,
client            320 drivers/input/touchscreen/sx8654.c 	sx8654 = devm_kzalloc(&client->dev, sizeof(*sx8654), GFP_KERNEL);
client            324 drivers/input/touchscreen/sx8654.c 	sx8654->gpio_reset = devm_gpiod_get_optional(&client->dev, "reset",
client            329 drivers/input/touchscreen/sx8654.c 			dev_err(&client->dev, "unable to get reset-gpio: %d\n",
client            333 drivers/input/touchscreen/sx8654.c 	dev_dbg(&client->dev, "got GPIO reset pin\n");
client            335 drivers/input/touchscreen/sx8654.c 	sx8654->data = device_get_match_data(&client->dev);
client            339 drivers/input/touchscreen/sx8654.c 		dev_err(&client->dev, "invalid or missing device data\n");
client            344 drivers/input/touchscreen/sx8654.c 		dev_dbg(&client->dev, "use timer for penrelease\n");
client            349 drivers/input/touchscreen/sx8654.c 	input = devm_input_allocate_device(&client->dev);
client            355 drivers/input/touchscreen/sx8654.c 	input->dev.parent = &client->dev;
client            366 drivers/input/touchscreen/sx8654.c 	sx8654->client = client;
client            373 drivers/input/touchscreen/sx8654.c 		dev_err(&client->dev, "reset failed");
client            377 drivers/input/touchscreen/sx8654.c 	error = i2c_smbus_write_byte_data(client, I2C_REG_CHANMASK,
client            380 drivers/input/touchscreen/sx8654.c 		dev_err(&client->dev, "writing to I2C_REG_CHANMASK failed");
client            385 drivers/input/touchscreen/sx8654.c 		error = i2c_smbus_write_byte_data(client, I2C_REG_IRQMASK,
client            389 drivers/input/touchscreen/sx8654.c 			dev_err(&client->dev, "writing I2C_REG_IRQMASK failed");
client            394 drivers/input/touchscreen/sx8654.c 	error = i2c_smbus_write_byte_data(client, I2C_REG_TOUCH1,
client            397 drivers/input/touchscreen/sx8654.c 		dev_err(&client->dev, "writing to I2C_REG_TOUCH1 failed");
client            401 drivers/input/touchscreen/sx8654.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client            404 drivers/input/touchscreen/sx8654.c 					  client->name, sx8654);
client            406 drivers/input/touchscreen/sx8654.c 		dev_err(&client->dev,
client            408 drivers/input/touchscreen/sx8654.c 			client->irq, error);
client            413 drivers/input/touchscreen/sx8654.c 	disable_irq(client->irq);
client             62 drivers/input/touchscreen/tsc2007.h 	struct i2c_client	*client;
client             35 drivers/input/touchscreen/tsc2007_core.c 	data = i2c_smbus_read_word_data(tsc->client, cmd);
client             37 drivers/input/touchscreen/tsc2007_core.c 		dev_err(&tsc->client->dev, "i2c io error: %d\n", data);
client             47 drivers/input/touchscreen/tsc2007_core.c 	dev_dbg(&tsc->client->dev, "data: 0x%x, val: 0x%x\n", data, val);
client            107 drivers/input/touchscreen/tsc2007_core.c 	return ts->get_pendown_state(&ts->client->dev);
client            137 drivers/input/touchscreen/tsc2007_core.c 			dev_dbg(&ts->client->dev,
client            156 drivers/input/touchscreen/tsc2007_core.c 			dev_dbg(&ts->client->dev, "ignored pressure %d\n", rt);
client            162 drivers/input/touchscreen/tsc2007_core.c 	dev_dbg(&ts->client->dev, "UP\n");
client            226 drivers/input/touchscreen/tsc2007_core.c 	struct i2c_client *client = to_i2c_client(dev);
client            227 drivers/input/touchscreen/tsc2007_core.c 	struct tsc2007 *ts = i2c_get_clientdata(client);
client            232 drivers/input/touchscreen/tsc2007_core.c static int tsc2007_probe_dt(struct i2c_client *client, struct tsc2007 *ts)
client            234 drivers/input/touchscreen/tsc2007_core.c 	struct device_node *np = client->dev.of_node;
client            239 drivers/input/touchscreen/tsc2007_core.c 		dev_err(&client->dev, "missing device tree data\n");
client            265 drivers/input/touchscreen/tsc2007_core.c 		dev_err(&client->dev, "missing ti,x-plate-ohms devicetree property.");
client            273 drivers/input/touchscreen/tsc2007_core.c 		dev_warn(&client->dev,
client            280 drivers/input/touchscreen/tsc2007_core.c static int tsc2007_probe_dt(struct i2c_client *client, struct tsc2007 *ts)
client            282 drivers/input/touchscreen/tsc2007_core.c 	dev_err(&client->dev, "platform data is required!\n");
client            287 drivers/input/touchscreen/tsc2007_core.c static int tsc2007_probe_pdev(struct i2c_client *client, struct tsc2007 *ts,
client            302 drivers/input/touchscreen/tsc2007_core.c 		dev_err(&client->dev, "x_plate_ohms is not set up in platform data");
client            317 drivers/input/touchscreen/tsc2007_core.c static int tsc2007_probe(struct i2c_client *client,
client            321 drivers/input/touchscreen/tsc2007_core.c 		dev_get_platdata(&client->dev);
client            326 drivers/input/touchscreen/tsc2007_core.c 	if (!i2c_check_functionality(client->adapter,
client            330 drivers/input/touchscreen/tsc2007_core.c 	ts = devm_kzalloc(&client->dev, sizeof(struct tsc2007), GFP_KERNEL);
client            335 drivers/input/touchscreen/tsc2007_core.c 		err = tsc2007_probe_pdev(client, ts, pdata, id);
client            337 drivers/input/touchscreen/tsc2007_core.c 		err = tsc2007_probe_dt(client, ts);
client            341 drivers/input/touchscreen/tsc2007_core.c 	input_dev = devm_input_allocate_device(&client->dev);
client            345 drivers/input/touchscreen/tsc2007_core.c 	i2c_set_clientdata(client, ts);
client            347 drivers/input/touchscreen/tsc2007_core.c 	ts->client = client;
client            348 drivers/input/touchscreen/tsc2007_core.c 	ts->irq = client->irq;
client            355 drivers/input/touchscreen/tsc2007_core.c 		 "%s/input0", dev_name(&client->dev));
client            375 drivers/input/touchscreen/tsc2007_core.c 			err = devm_add_action(&client->dev,
client            377 drivers/input/touchscreen/tsc2007_core.c 					      &client->dev);
client            379 drivers/input/touchscreen/tsc2007_core.c 				dev_err(&client->dev,
client            390 drivers/input/touchscreen/tsc2007_core.c 	err = devm_request_threaded_irq(&client->dev, ts->irq,
client            393 drivers/input/touchscreen/tsc2007_core.c 					client->dev.driver->name, ts);
client            395 drivers/input/touchscreen/tsc2007_core.c 		dev_err(&client->dev, "Failed to request irq %d: %d\n",
client            405 drivers/input/touchscreen/tsc2007_core.c 		dev_err(&client->dev,
client            412 drivers/input/touchscreen/tsc2007_core.c 		dev_err(&client->dev,
client            419 drivers/input/touchscreen/tsc2007_core.c 		dev_err(&client->dev,
client            112 drivers/input/touchscreen/tsc2007_iio.c 	indio_dev = devm_iio_device_alloc(&ts->client->dev, sizeof(*iio));
client            114 drivers/input/touchscreen/tsc2007_iio.c 		dev_err(&ts->client->dev, "iio_device_alloc failed\n");
client            122 drivers/input/touchscreen/tsc2007_iio.c 	indio_dev->dev.parent = &ts->client->dev;
client            128 drivers/input/touchscreen/tsc2007_iio.c 	error = devm_iio_device_register(&ts->client->dev, indio_dev);
client            130 drivers/input/touchscreen/tsc2007_iio.c 		dev_err(&ts->client->dev,
client             34 drivers/input/touchscreen/wacom_i2c.c 	struct i2c_client *client;
client             41 drivers/input/touchscreen/wacom_i2c.c static int wacom_query_device(struct i2c_client *client,
client             51 drivers/input/touchscreen/wacom_i2c.c 			.addr = client->addr,
client             57 drivers/input/touchscreen/wacom_i2c.c 			.addr = client->addr,
client             63 drivers/input/touchscreen/wacom_i2c.c 			.addr = client->addr,
client             70 drivers/input/touchscreen/wacom_i2c.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client             81 drivers/input/touchscreen/wacom_i2c.c 	dev_dbg(&client->dev,
client             98 drivers/input/touchscreen/wacom_i2c.c 	error = i2c_master_recv(wac_i2c->client,
client            133 drivers/input/touchscreen/wacom_i2c.c 	struct i2c_client *client = wac_i2c->client;
client            135 drivers/input/touchscreen/wacom_i2c.c 	enable_irq(client->irq);
client            143 drivers/input/touchscreen/wacom_i2c.c 	struct i2c_client *client = wac_i2c->client;
client            145 drivers/input/touchscreen/wacom_i2c.c 	disable_irq(client->irq);
client            148 drivers/input/touchscreen/wacom_i2c.c static int wacom_i2c_probe(struct i2c_client *client,
client            156 drivers/input/touchscreen/wacom_i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            157 drivers/input/touchscreen/wacom_i2c.c 		dev_err(&client->dev, "i2c_check_functionality error\n");
client            161 drivers/input/touchscreen/wacom_i2c.c 	error = wacom_query_device(client, &features);
client            172 drivers/input/touchscreen/wacom_i2c.c 	wac_i2c->client = client;
client            179 drivers/input/touchscreen/wacom_i2c.c 	input->dev.parent = &client->dev;
client            198 drivers/input/touchscreen/wacom_i2c.c 	error = request_threaded_irq(client->irq, NULL, wacom_i2c_irq,
client            202 drivers/input/touchscreen/wacom_i2c.c 		dev_err(&client->dev,
client            208 drivers/input/touchscreen/wacom_i2c.c 	disable_irq(client->irq);
client            212 drivers/input/touchscreen/wacom_i2c.c 		dev_err(&client->dev,
client            217 drivers/input/touchscreen/wacom_i2c.c 	i2c_set_clientdata(client, wac_i2c);
client            221 drivers/input/touchscreen/wacom_i2c.c 	free_irq(client->irq, wac_i2c);
client            229 drivers/input/touchscreen/wacom_i2c.c static int wacom_i2c_remove(struct i2c_client *client)
client            231 drivers/input/touchscreen/wacom_i2c.c 	struct wacom_i2c *wac_i2c = i2c_get_clientdata(client);
client            233 drivers/input/touchscreen/wacom_i2c.c 	free_irq(client->irq, wac_i2c);
client            242 drivers/input/touchscreen/wacom_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            244 drivers/input/touchscreen/wacom_i2c.c 	disable_irq(client->irq);
client            251 drivers/input/touchscreen/wacom_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            253 drivers/input/touchscreen/wacom_i2c.c 	enable_irq(client->irq);
client            179 drivers/input/touchscreen/wdt87xx_i2c.c 	struct i2c_client		*client;
client            187 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_i2c_xfer(struct i2c_client *client,
client            193 drivers/input/touchscreen/wdt87xx_i2c.c 			.addr	= client->addr,
client            199 drivers/input/touchscreen/wdt87xx_i2c.c 			.addr	= client->addr,
client            208 drivers/input/touchscreen/wdt87xx_i2c.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            211 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "%s: i2c transfer failed: %d\n",
client            219 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_get_desc(struct i2c_client *client, u8 desc_idx,
client            227 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_i2c_xfer(client, tx_buf, sizeof(tx_buf),
client            230 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "get desc failed: %d\n", error);
client            235 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "unexpected response to get desc: %d\n",
client            245 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_get_string(struct i2c_client *client, u8 str_idx,
client            256 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_i2c_xfer(client, tx_buf, sizeof(tx_buf),
client            259 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "get string failed: %d\n", error);
client            264 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "unexpected response to get string: %d\n",
client            277 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_get_feature(struct i2c_client *client,
client            303 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_i2c_xfer(client, tx_buf, tx_len, rx_buf, rx_len);
client            305 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "get feature failed: %d\n", error);
client            317 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_set_feature(struct i2c_client *client,
client            346 drivers/input/touchscreen/wdt87xx_i2c.c 	error = i2c_master_send(client, tx_buf, tx_len);
client            348 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "set feature failed: %d\n", error);
client            357 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_send_command(struct i2c_client *client, int cmd, int value)
client            390 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "Invalid command: %d\n", cmd);
client            394 drivers/input/touchscreen/wdt87xx_i2c.c 	return wdt87xx_set_feature(client, cmd_buf, sizeof(cmd_buf));
client            397 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_sw_reset(struct i2c_client *client)
client            401 drivers/input/touchscreen/wdt87xx_i2c.c 	dev_dbg(&client->dev, "resetting device now\n");
client            403 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_send_command(client, VND_CMD_RESET, 0);
client            405 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "reset failed\n");
client            434 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_get_sysparam(struct i2c_client *client,
client            440 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_get_desc(client, WDT_GD_DEVICE, buf, 18);
client            442 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "failed to get device desc\n");
client            449 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_get_string(client, STRIDX_PARAMETERS, buf, 34);
client            451 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "failed to get parameters\n");
client            470 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_get_string(client, STRIDX_PLATFORM_ID, buf, 8);
client            472 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "failed to get platform id\n");
client            479 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_get_feature(client, buf, 16);
client            481 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "failed to get firmware id\n");
client            486 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "wrong id of fw response: 0x%x\n",
client            493 drivers/input/touchscreen/wdt87xx_i2c.c 	dev_info(&client->dev,
client            513 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&wdt->client->dev, "check fw tag failed\n");
client            519 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&wdt->client->dev,
client            531 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&wdt->client->dev,
client            541 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&wdt->client->dev,
client            563 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_write_data(struct i2c_client *client, const char *data,
client            573 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev,
client            588 drivers/input/touchscreen/wdt87xx_i2c.c 		error = wdt87xx_set_feature(client, pkt_buf, sizeof(pkt_buf));
client            641 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_get_checksum(struct i2c_client *client, u16 *checksum,
client            649 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_send_command(client, VND_SET_CHECKSUM_LENGTH, length);
client            651 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "failed to set checksum length\n");
client            655 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_send_command(client, VND_SET_CHECKSUM_CALC, address);
client            657 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "failed to set checksum address\n");
client            668 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_set_feature(client, cmd_buf, sizeof(cmd_buf));
client            670 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "failed to request checksum\n");
client            676 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_get_feature(client, pkt_buf, sizeof(pkt_buf));
client            678 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "failed to read checksum\n");
client            686 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_write_firmware(struct i2c_client *client, const void *chunk)
client            697 drivers/input/touchscreen/wdt87xx_i2c.c 	dev_dbg(&client->dev, "start 4k page program\n");
client            699 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_send_command(client, VND_CMD_STOP, MODE_STOP);
client            701 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "stop report mode failed\n");
client            705 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_send_command(client, VND_CMD_SFUNL, 0);
client            707 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "unlock failed\n");
client            714 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_dbg(&client->dev, "%s: %x, %x\n", __func__,
client            721 drivers/input/touchscreen/wdt87xx_i2c.c 			error = wdt87xx_send_command(client, VND_CMD_ERASE,
client            724 drivers/input/touchscreen/wdt87xx_i2c.c 				dev_err(&client->dev,
client            731 drivers/input/touchscreen/wdt87xx_i2c.c 			error = wdt87xx_write_data(client, data, start_addr,
client            734 drivers/input/touchscreen/wdt87xx_i2c.c 				dev_err(&client->dev,
client            740 drivers/input/touchscreen/wdt87xx_i2c.c 			error = wdt87xx_get_checksum(client, &device_checksum,
client            743 drivers/input/touchscreen/wdt87xx_i2c.c 				dev_err(&client->dev,
client            755 drivers/input/touchscreen/wdt87xx_i2c.c 			dev_err(&client->dev,
client            761 drivers/input/touchscreen/wdt87xx_i2c.c 			dev_err(&client->dev, "page write failed\n");
client            771 drivers/input/touchscreen/wdt87xx_i2c.c 	err1 = wdt87xx_send_command(client, VND_CMD_SFLCK, 0);
client            773 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "lock failed\n");
client            778 drivers/input/touchscreen/wdt87xx_i2c.c 	err1 = wdt87xx_send_command(client, VND_CMD_START, 0);
client            780 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "start to report failed\n");
client            785 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_load_chunk(struct i2c_client *client,
client            793 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "unable to locate chunk (type %d)\n",
client            800 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "invalid chunk (type %d): %d\n",
client            805 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_write_firmware(client, chunk);
client            807 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev,
client            816 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_do_update_firmware(struct i2c_client *client,
client            820 drivers/input/touchscreen/wdt87xx_i2c.c 	struct wdt87xx_data *wdt = i2c_get_clientdata(client);
client            831 drivers/input/touchscreen/wdt87xx_i2c.c 	disable_irq(client->irq);
client            833 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_load_chunk(client, fw, chunk_id);
client            835 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev,
client            841 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_sw_reset(client);
client            843 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "soft reset failed: %d\n", error);
client            848 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_get_sysparam(client, &wdt->param);
client            850 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev,
client            853 drivers/input/touchscreen/wdt87xx_i2c.c 	enable_irq(client->irq);
client            862 drivers/input/touchscreen/wdt87xx_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            868 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "unable to retrieve firmware %s: %d\n",
client            873 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_do_update_firmware(client, fw, chunk_id);
client            883 drivers/input/touchscreen/wdt87xx_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            884 drivers/input/touchscreen/wdt87xx_i2c.c 	struct wdt87xx_data *wdt = i2c_get_clientdata(client);
client            896 drivers/input/touchscreen/wdt87xx_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            897 drivers/input/touchscreen/wdt87xx_i2c.c 	struct wdt87xx_data *wdt = i2c_get_clientdata(client);
client            905 drivers/input/touchscreen/wdt87xx_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            906 drivers/input/touchscreen/wdt87xx_i2c.c 	struct wdt87xx_data *wdt = i2c_get_clientdata(client);
client            996 drivers/input/touchscreen/wdt87xx_i2c.c 	struct i2c_client *client = wdt->client;
client           1001 drivers/input/touchscreen/wdt87xx_i2c.c 	error = i2c_master_recv(client, raw_buf, WDT_V1_RAW_BUF_COUNT);
client           1003 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "read v1 raw data failed: %d\n", error);
client           1026 drivers/input/touchscreen/wdt87xx_i2c.c 	struct device *dev = &wdt->client->dev;
client           1067 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_ts_probe(struct i2c_client *client,
client           1073 drivers/input/touchscreen/wdt87xx_i2c.c 	dev_dbg(&client->dev, "adapter=%d, client irq: %d\n",
client           1074 drivers/input/touchscreen/wdt87xx_i2c.c 		client->adapter->nr, client->irq);
client           1077 drivers/input/touchscreen/wdt87xx_i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client           1080 drivers/input/touchscreen/wdt87xx_i2c.c 	wdt = devm_kzalloc(&client->dev, sizeof(*wdt), GFP_KERNEL);
client           1084 drivers/input/touchscreen/wdt87xx_i2c.c 	wdt->client = client;
client           1086 drivers/input/touchscreen/wdt87xx_i2c.c 	i2c_set_clientdata(client, wdt);
client           1089 drivers/input/touchscreen/wdt87xx_i2c.c 		 client->adapter->nr, client->addr);
client           1091 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_get_sysparam(client, &wdt->param);
client           1099 drivers/input/touchscreen/wdt87xx_i2c.c 	error = devm_request_threaded_irq(&client->dev, client->irq,
client           1102 drivers/input/touchscreen/wdt87xx_i2c.c 					  client->name, wdt);
client           1104 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "request irq failed: %d\n", error);
client           1108 drivers/input/touchscreen/wdt87xx_i2c.c 	error = devm_device_add_group(&client->dev, &wdt87xx_attr_group);
client           1110 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev, "create sysfs failed: %d\n", error);
client           1119 drivers/input/touchscreen/wdt87xx_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client           1122 drivers/input/touchscreen/wdt87xx_i2c.c 	disable_irq(client->irq);
client           1124 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_send_command(client, VND_CMD_STOP, MODE_IDLE);
client           1126 drivers/input/touchscreen/wdt87xx_i2c.c 		enable_irq(client->irq);
client           1127 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev,
client           1138 drivers/input/touchscreen/wdt87xx_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client           1147 drivers/input/touchscreen/wdt87xx_i2c.c 	error = wdt87xx_send_command(client, VND_CMD_START, 0);
client           1149 drivers/input/touchscreen/wdt87xx_i2c.c 		dev_err(&client->dev,
client           1153 drivers/input/touchscreen/wdt87xx_i2c.c 	enable_irq(client->irq);
client             26 drivers/input/touchscreen/zet6223.c 	struct i2c_client *client;
client             41 drivers/input/touchscreen/zet6223.c 	enable_irq(ts->client->irq);
client             50 drivers/input/touchscreen/zet6223.c 	disable_irq(ts->client->irq);
client             68 drivers/input/touchscreen/zet6223.c 	ret = i2c_master_recv(ts->client, buf, bufsize);
client             71 drivers/input/touchscreen/zet6223.c 		dev_err_ratelimited(&ts->client->dev,
client            107 drivers/input/touchscreen/zet6223.c 	struct device *dev = &ts->client->dev;
client            140 drivers/input/touchscreen/zet6223.c 	ret = i2c_master_send(ts->client, &cmd, sizeof(cmd));
client            143 drivers/input/touchscreen/zet6223.c 		dev_err(&ts->client->dev,
client            148 drivers/input/touchscreen/zet6223.c 	ret = i2c_master_recv(ts->client, buf, sizeof(buf));
client            151 drivers/input/touchscreen/zet6223.c 		dev_err(&ts->client->dev,
client            158 drivers/input/touchscreen/zet6223.c 		dev_warn(&ts->client->dev,
client            170 drivers/input/touchscreen/zet6223.c static int zet6223_probe(struct i2c_client *client,
client            173 drivers/input/touchscreen/zet6223.c 	struct device *dev = &client->dev;
client            178 drivers/input/touchscreen/zet6223.c 	if (!client->irq) {
client            187 drivers/input/touchscreen/zet6223.c 	ts->client = client;
client            203 drivers/input/touchscreen/zet6223.c 	input->name = client->name;
client            218 drivers/input/touchscreen/zet6223.c 	error = devm_request_threaded_irq(dev, client->irq, NULL, zet6223_irq,
client            219 drivers/input/touchscreen/zet6223.c 					  IRQF_ONESHOT, client->name, ts);
client            222 drivers/input/touchscreen/zet6223.c 			client->irq, error);
client            107 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client	*client;
client            137 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            141 drivers/input/touchscreen/zforce_ts.c 	dev_dbg(&client->dev, "%s: 0x%x\n", __func__, cmd);
client            148 drivers/input/touchscreen/zforce_ts.c 	ret = i2c_master_send(client, &buf[0], ARRAY_SIZE(buf));
client            151 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "i2c send data request error: %d\n", ret);
client            170 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            175 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "already waiting for a command\n");
client            179 drivers/input/touchscreen/zforce_ts.c 	dev_dbg(&client->dev, "sending %d bytes for command 0x%x\n",
client            185 drivers/input/touchscreen/zforce_ts.c 	ret = i2c_master_send(client, buf, len);
client            188 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "i2c send data request error: %d\n", ret);
client            192 drivers/input/touchscreen/zforce_ts.c 	dev_dbg(&client->dev, "waiting for result for command 0x%x\n", buf[2]);
client            208 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            212 drivers/input/touchscreen/zforce_ts.c 	dev_dbg(&client->dev, "%s: 0x%x\n", __func__, cmd);
client            220 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "i2c send data request error: %d\n", ret);
client            229 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            234 drivers/input/touchscreen/zforce_ts.c 	dev_dbg(&client->dev, "set resolution to (%d,%d)\n", x, y);
client            242 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            248 drivers/input/touchscreen/zforce_ts.c 	dev_dbg(&client->dev,
client            257 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            261 drivers/input/touchscreen/zforce_ts.c 	dev_dbg(&client->dev, "set config to (%d)\n", b1);
client            268 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            272 drivers/input/touchscreen/zforce_ts.c 	dev_dbg(&client->dev, "starting device\n");
client            276 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "Unable to initialize, %d\n", ret);
client            282 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "Unable to set resolution, %d\n", ret);
client            288 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "Unable to set scan frequency, %d\n",
client            295 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "Unable to set config\n");
client            302 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "Unable to request data\n");
client            321 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            324 drivers/input/touchscreen/zforce_ts.c 	dev_dbg(&client->dev, "stopping device\n");
client            329 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "could not deactivate device, %d\n",
client            339 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            346 drivers/input/touchscreen/zforce_ts.c 		dev_warn(&client->dev,
client            360 drivers/input/touchscreen/zforce_ts.c 			dev_warn(&client->dev, "coordinates (%d,%d) invalid\n",
client            378 drivers/input/touchscreen/zforce_ts.c 		dev_dbg(&client->dev,
client            418 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            424 drivers/input/touchscreen/zforce_ts.c 	ret = i2c_master_recv(client, buf, 2);
client            426 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "error reading header: %d\n", ret);
client            431 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "invalid frame start: %d\n", buf[0]);
client            437 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "invalid payload length: %d\n",
client            444 drivers/input/touchscreen/zforce_ts.c 	ret = i2c_master_recv(client, &buf[PAYLOAD_BODY], buf[PAYLOAD_LENGTH]);
client            446 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "error reading payload: %d\n", ret);
client            450 drivers/input/touchscreen/zforce_ts.c 	dev_dbg(&client->dev, "read %d bytes for response command 0x%x\n",
client            460 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            463 drivers/input/touchscreen/zforce_ts.c 		dev_dbg(&client->dev, "completing command 0x%x\n", cmd);
client            467 drivers/input/touchscreen/zforce_ts.c 		dev_dbg(&client->dev, "command %d not for us\n", cmd);
client            474 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            476 drivers/input/touchscreen/zforce_ts.c 	if (ts->suspended && device_may_wakeup(&client->dev))
client            477 drivers/input/touchscreen/zforce_ts.c 		pm_wakeup_event(&client->dev, 500);
client            485 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            499 drivers/input/touchscreen/zforce_ts.c 	dev_dbg(&client->dev, "handling interrupt\n");
client            502 drivers/input/touchscreen/zforce_ts.c 	if (!ts->suspending && device_may_wakeup(&client->dev))
client            503 drivers/input/touchscreen/zforce_ts.c 		pm_stay_awake(&client->dev);
client            517 drivers/input/touchscreen/zforce_ts.c 			dev_err(&client->dev,
client            530 drivers/input/touchscreen/zforce_ts.c 			if (ts->suspending && device_may_wakeup(&client->dev))
client            531 drivers/input/touchscreen/zforce_ts.c 				pm_wakeup_event(&client->dev, 500);
client            562 drivers/input/touchscreen/zforce_ts.c 			dev_dbg(&ts->client->dev,
client            571 drivers/input/touchscreen/zforce_ts.c 			dev_err(&ts->client->dev, "invalid command: 0x%x\n",
client            576 drivers/input/touchscreen/zforce_ts.c 			dev_err(&ts->client->dev,
client            583 drivers/input/touchscreen/zforce_ts.c 	if (!ts->suspending && device_may_wakeup(&client->dev))
client            584 drivers/input/touchscreen/zforce_ts.c 		pm_relax(&client->dev);
client            586 drivers/input/touchscreen/zforce_ts.c 	dev_dbg(&client->dev, "finished interrupt\n");
client            601 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = ts->client;
client            606 drivers/input/touchscreen/zforce_ts.c 		dev_warn(&client->dev, "stopping zforce failed\n");
client            613 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            614 drivers/input/touchscreen/zforce_ts.c 	struct zforce_ts *ts = i2c_get_clientdata(client);
client            625 drivers/input/touchscreen/zforce_ts.c 	if (device_may_wakeup(&client->dev)) {
client            626 drivers/input/touchscreen/zforce_ts.c 		dev_dbg(&client->dev, "suspend while being a wakeup source\n");
client            635 drivers/input/touchscreen/zforce_ts.c 		enable_irq_wake(client->irq);
client            637 drivers/input/touchscreen/zforce_ts.c 		dev_dbg(&client->dev,
client            644 drivers/input/touchscreen/zforce_ts.c 		disable_irq(client->irq);
client            658 drivers/input/touchscreen/zforce_ts.c 	struct i2c_client *client = to_i2c_client(dev);
client            659 drivers/input/touchscreen/zforce_ts.c 	struct zforce_ts *ts = i2c_get_clientdata(client);
client            667 drivers/input/touchscreen/zforce_ts.c 	if (device_may_wakeup(&client->dev)) {
client            668 drivers/input/touchscreen/zforce_ts.c 		dev_dbg(&client->dev, "resume from being a wakeup source\n");
client            670 drivers/input/touchscreen/zforce_ts.c 		disable_irq_wake(client->irq);
client            679 drivers/input/touchscreen/zforce_ts.c 		dev_dbg(&client->dev, "resume without being a wakeup source\n");
client            681 drivers/input/touchscreen/zforce_ts.c 		enable_irq(client->irq);
client            735 drivers/input/touchscreen/zforce_ts.c static int zforce_probe(struct i2c_client *client,
client            738 drivers/input/touchscreen/zforce_ts.c 	const struct zforce_ts_platdata *pdata = dev_get_platdata(&client->dev);
client            744 drivers/input/touchscreen/zforce_ts.c 		pdata = zforce_parse_dt(&client->dev);
client            749 drivers/input/touchscreen/zforce_ts.c 	ts = devm_kzalloc(&client->dev, sizeof(struct zforce_ts), GFP_KERNEL);
client            753 drivers/input/touchscreen/zforce_ts.c 	ts->gpio_rst = devm_gpiod_get_optional(&client->dev, "reset",
client            757 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev,
client            763 drivers/input/touchscreen/zforce_ts.c 		ts->gpio_int = devm_gpiod_get_optional(&client->dev, "irq",
client            767 drivers/input/touchscreen/zforce_ts.c 			dev_err(&client->dev,
client            778 drivers/input/touchscreen/zforce_ts.c 		ts->gpio_int = devm_gpiod_get_index(&client->dev, NULL, 0,
client            782 drivers/input/touchscreen/zforce_ts.c 			dev_err(&client->dev,
client            788 drivers/input/touchscreen/zforce_ts.c 		ts->gpio_rst = devm_gpiod_get_index(&client->dev, NULL, 1,
client            792 drivers/input/touchscreen/zforce_ts.c 			dev_err(&client->dev,
client            798 drivers/input/touchscreen/zforce_ts.c 	ts->reg_vdd = devm_regulator_get_optional(&client->dev, "vdd");
client            815 drivers/input/touchscreen/zforce_ts.c 	ret = devm_add_action(&client->dev, zforce_reset, ts);
client            817 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "failed to register reset action, %d\n",
client            828 drivers/input/touchscreen/zforce_ts.c 		 "%s/input0", dev_name(&client->dev));
client            830 drivers/input/touchscreen/zforce_ts.c 	input_dev = devm_input_allocate_device(&client->dev);
client            832 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "could not allocate input device\n");
client            840 drivers/input/touchscreen/zforce_ts.c 	ts->client = client;
client            878 drivers/input/touchscreen/zforce_ts.c 	ret = devm_request_threaded_irq(&client->dev, client->irq,
client            883 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "irq %d request failed\n", client->irq);
client            887 drivers/input/touchscreen/zforce_ts.c 	i2c_set_clientdata(client, ts);
client            894 drivers/input/touchscreen/zforce_ts.c 		dev_warn(&client->dev, "bootcomplete timed out\n");
client            899 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "unable to initialize, %d\n", ret);
client            906 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "couldn't get status, %d\n", ret);
client            916 drivers/input/touchscreen/zforce_ts.c 	device_set_wakeup_capable(&client->dev, true);
client            920 drivers/input/touchscreen/zforce_ts.c 		dev_err(&client->dev, "could not register input device, %d\n",
client            355 drivers/iommu/tegra-smmu.c 		const struct tegra_mc_client *client = &smmu->soc->clients[i];
client            357 drivers/iommu/tegra-smmu.c 		if (client->swgroup != swgroup)
client            360 drivers/iommu/tegra-smmu.c 		value = smmu_readl(smmu, client->smmu.reg);
client            361 drivers/iommu/tegra-smmu.c 		value |= BIT(client->smmu.bit);
client            362 drivers/iommu/tegra-smmu.c 		smmu_writel(smmu, value, client->smmu.reg);
client            392 drivers/iommu/tegra-smmu.c 		const struct tegra_mc_client *client = &smmu->soc->clients[i];
client            394 drivers/iommu/tegra-smmu.c 		if (client->swgroup != swgroup)
client            397 drivers/iommu/tegra-smmu.c 		value = smmu_readl(smmu, client->smmu.reg);
client            398 drivers/iommu/tegra-smmu.c 		value &= ~BIT(client->smmu.bit);
client            399 drivers/iommu/tegra-smmu.c 		smmu_writel(smmu, value, client->smmu.reg);
client            960 drivers/iommu/tegra-smmu.c 		const struct tegra_mc_client *client = &smmu->soc->clients[i];
client            963 drivers/iommu/tegra-smmu.c 		value = smmu_readl(smmu, client->smmu.reg);
client            965 drivers/iommu/tegra-smmu.c 		if (value & BIT(client->smmu.bit))
client            970 drivers/iommu/tegra-smmu.c 		seq_printf(s, "%-12s %s\n", client->name, status);
client            195 drivers/leds/leds-88pm860x.c 	data->i2c = (chip->id == CHIP_PM8606) ? chip->client : chip->companion;
client             75 drivers/leds/leds-an30259a.c 	struct i2c_client *client;
client            202 drivers/leds/leds-an30259a.c static int an30259a_dt_init(struct i2c_client *client,
client            205 drivers/leds/leds-an30259a.c 	struct device_node *np = client->dev.of_node, *child;
client            220 drivers/leds/leds-an30259a.c 			dev_err(&client->dev, "Couldn't read LED address: %d\n",
client            289 drivers/leds/leds-an30259a.c static int an30259a_probe(struct i2c_client *client)
client            294 drivers/leds/leds-an30259a.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client            298 drivers/leds/leds-an30259a.c 	err = an30259a_dt_init(client, chip);
client            303 drivers/leds/leds-an30259a.c 	chip->client = client;
client            304 drivers/leds/leds-an30259a.c 	i2c_set_clientdata(client, chip);
client            306 drivers/leds/leds-an30259a.c 	chip->regmap = devm_regmap_init_i2c(client, &an30259a_regmap_config);
client            310 drivers/leds/leds-an30259a.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            327 drivers/leds/leds-an30259a.c 		err = devm_led_classdev_register_ext(&client->dev,
client            340 drivers/leds/leds-an30259a.c static int an30259a_remove(struct i2c_client *client)
client            342 drivers/leds/leds-an30259a.c 	struct an30259a *chip = i2c_get_clientdata(client);
client            128 drivers/leds/leds-as3645a.c 	struct i2c_client *client;
client            158 drivers/leds/leds-as3645a.c 	struct i2c_client *client = flash->client;
client            161 drivers/leds/leds-as3645a.c 	rval = i2c_smbus_write_byte_data(client, addr, val);
client            163 drivers/leds/leds-as3645a.c 	dev_dbg(&client->dev, "Write Addr:%02X Val:%02X %s\n", addr, val,
client            172 drivers/leds/leds-as3645a.c 	struct i2c_client *client = flash->client;
client            175 drivers/leds/leds-as3645a.c 	rval = i2c_smbus_read_byte_data(client, addr);
client            177 drivers/leds/leds-as3645a.c 	dev_dbg(&client->dev, "Read Addr:%02X Val:%02X %s\n", addr, rval,
client            267 drivers/leds/leds-as3645a.c 	dev_dbg(&flash->client->dev, "%u connected LEDs\n",
client            382 drivers/leds/leds-as3645a.c 	struct device *dev = &flash->client->dev;
client            422 drivers/leds/leds-as3645a.c 	struct device *dev = &flash->client->dev;
client            501 drivers/leds/leds-as3645a.c 			dev_warn(&flash->client->dev,
client            509 drivers/leds/leds-as3645a.c 		dev_err(&flash->client->dev, "can't find flash node\n");
client            516 drivers/leds/leds-as3645a.c 		dev_err(&flash->client->dev,
client            524 drivers/leds/leds-as3645a.c 		dev_err(&flash->client->dev,
client            532 drivers/leds/leds-as3645a.c 		dev_err(&flash->client->dev,
client            545 drivers/leds/leds-as3645a.c 		dev_warn(&flash->client->dev,
client            555 drivers/leds/leds-as3645a.c 		dev_err(&flash->client->dev,
client            586 drivers/leds/leds-as3645a.c 	rval = led_classdev_register_ext(&flash->client->dev, iled_cdev,
client            616 drivers/leds/leds-as3645a.c 	rval = led_classdev_flash_register_ext(&flash->client->dev,
client            625 drivers/leds/leds-as3645a.c 	dev_err(&flash->client->dev,
client            657 drivers/leds/leds-as3645a.c 		&flash->client->dev, flash->flash_node, &flash->fled, NULL,
client            663 drivers/leds/leds-as3645a.c 		&flash->client->dev, flash->indicator_node, &flash->iled_cdev,
client            673 drivers/leds/leds-as3645a.c static int as3645a_probe(struct i2c_client *client)
client            678 drivers/leds/leds-as3645a.c 	if (!dev_fwnode(&client->dev))
client            681 drivers/leds/leds-as3645a.c 	flash = devm_kzalloc(&client->dev, sizeof(*flash), GFP_KERNEL);
client            685 drivers/leds/leds-as3645a.c 	flash->client = client;
client            687 drivers/leds/leds-as3645a.c 	rval = as3645a_parse_node(flash, dev_fwnode(&client->dev));
client            696 drivers/leds/leds-as3645a.c 	i2c_set_clientdata(client, flash);
client            725 drivers/leds/leds-as3645a.c static int as3645a_remove(struct i2c_client *client)
client            727 drivers/leds/leds-as3645a.c 	struct as3645a *flash = i2c_get_clientdata(client);
client             69 drivers/leds/leds-bd2802.c 	struct i2c_client		*client;
client            118 drivers/leds/leds-bd2802.c 		dev_err(&led->client->dev, "%s: Invalid color\n", __func__);
client            158 drivers/leds/leds-bd2802.c static int bd2802_write_byte(struct i2c_client *client, u8 reg, u8 val)
client            160 drivers/leds/leds-bd2802.c 	int ret = i2c_smbus_write_byte_data(client, reg, val);
client            164 drivers/leds/leds-bd2802.c 	dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n",
client            189 drivers/leds/leds-bd2802.c 				dev_err(&led->client->dev,
client            212 drivers/leds/leds-bd2802.c 	bd2802_write_byte(led->client, BD2802_REG_CONTROL, value);
client            221 drivers/leds/leds-bd2802.c 	bd2802_write_byte(led->client, reg, pdata->rgb_time);
client            224 drivers/leds/leds-bd2802.c 	bd2802_write_byte(led->client, reg, pdata->rgb_time);
client            245 drivers/leds/leds-bd2802.c 	bd2802_write_byte(led->client, BD2802_REG_CONTROL, value);
client            257 drivers/leds/leds-bd2802.c 	bd2802_write_byte(led->client, reg, led->rgb_current);
client            259 drivers/leds/leds-bd2802.c 	bd2802_write_byte(led->client, reg, BD2802_CURRENT_000);
client            261 drivers/leds/leds-bd2802.c 	bd2802_write_byte(led->client, reg, BD2802_PATTERN_FULL);
client            276 drivers/leds/leds-bd2802.c 	bd2802_write_byte(led->client, reg, BD2802_CURRENT_000);
client            278 drivers/leds/leds-bd2802.c 	bd2802_write_byte(led->client, reg, led->rgb_current);
client            280 drivers/leds/leds-bd2802.c 	bd2802_write_byte(led->client, reg, led->wave_pattern);
client            290 drivers/leds/leds-bd2802.c 		dev_err(&led->client->dev,
client            310 drivers/leds/leds-bd2802.c 	bd2802_write_byte(led->client, reg, BD2802_CURRENT_000);
client            312 drivers/leds/leds-bd2802.c 	bd2802_write_byte(led->client, reg, BD2802_CURRENT_000);
client            330 drivers/leds/leds-bd2802.c 	bd2802_write_byte(led->client, reg_addr, (u8) val);		\
client            392 drivers/leds/leds-bd2802.c 		ret = device_create_file(&led->client->dev,
client            395 drivers/leds/leds-bd2802.c 			dev_err(&led->client->dev, "failed: sysfs file %s\n",
client            410 drivers/leds/leds-bd2802.c 		device_remove_file(&led->client->dev,
client            419 drivers/leds/leds-bd2802.c 		device_remove_file(&led->client->dev,
client            563 drivers/leds/leds-bd2802.c 	ret = led_classdev_register(&led->client->dev, &led->cdev_led1r);
client            565 drivers/leds/leds-bd2802.c 		dev_err(&led->client->dev, "couldn't register LED %s\n",
client            575 drivers/leds/leds-bd2802.c 	ret = led_classdev_register(&led->client->dev, &led->cdev_led1g);
client            577 drivers/leds/leds-bd2802.c 		dev_err(&led->client->dev, "couldn't register LED %s\n",
client            587 drivers/leds/leds-bd2802.c 	ret = led_classdev_register(&led->client->dev, &led->cdev_led1b);
client            589 drivers/leds/leds-bd2802.c 		dev_err(&led->client->dev, "couldn't register LED %s\n",
client            599 drivers/leds/leds-bd2802.c 	ret = led_classdev_register(&led->client->dev, &led->cdev_led2r);
client            601 drivers/leds/leds-bd2802.c 		dev_err(&led->client->dev, "couldn't register LED %s\n",
client            611 drivers/leds/leds-bd2802.c 	ret = led_classdev_register(&led->client->dev, &led->cdev_led2g);
client            613 drivers/leds/leds-bd2802.c 		dev_err(&led->client->dev, "couldn't register LED %s\n",
client            624 drivers/leds/leds-bd2802.c 	ret = led_classdev_register(&led->client->dev, &led->cdev_led2b);
client            626 drivers/leds/leds-bd2802.c 		dev_err(&led->client->dev, "couldn't register LED %s\n",
client            658 drivers/leds/leds-bd2802.c static int bd2802_probe(struct i2c_client *client,
client            665 drivers/leds/leds-bd2802.c 	led = devm_kzalloc(&client->dev, sizeof(struct bd2802_led), GFP_KERNEL);
client            669 drivers/leds/leds-bd2802.c 	led->client = client;
client            670 drivers/leds/leds-bd2802.c 	pdata = led->pdata = dev_get_platdata(&client->dev);
client            671 drivers/leds/leds-bd2802.c 	i2c_set_clientdata(client, led);
client            680 drivers/leds/leds-bd2802.c 	ret = bd2802_write_byte(client, BD2802_REG_CLKSETUP, 0x00);
client            682 drivers/leds/leds-bd2802.c 		dev_err(&client->dev, "failed to detect device\n");
client            685 drivers/leds/leds-bd2802.c 		dev_info(&client->dev, "return 0x%02x\n", ret);
client            697 drivers/leds/leds-bd2802.c 		ret = device_create_file(&led->client->dev,
client            700 drivers/leds/leds-bd2802.c 			dev_err(&led->client->dev, "failed: sysfs file %s\n",
client            714 drivers/leds/leds-bd2802.c 		device_remove_file(&led->client->dev, bd2802_attributes[i]);
client            718 drivers/leds/leds-bd2802.c static int bd2802_remove(struct i2c_client *client)
client            720 drivers/leds/leds-bd2802.c 	struct bd2802_led *led = i2c_get_clientdata(client);
client            728 drivers/leds/leds-bd2802.c 		device_remove_file(&led->client->dev, bd2802_attributes[i]);
client            750 drivers/leds/leds-bd2802.c 	struct i2c_client *client = to_i2c_client(dev);
client            751 drivers/leds/leds-bd2802.c 	struct bd2802_led *led = i2c_get_clientdata(client);
client            760 drivers/leds/leds-bd2802.c 	struct i2c_client *client = to_i2c_client(dev);
client            761 drivers/leds/leds-bd2802.c 	struct bd2802_led *led = i2c_get_clientdata(client);
client             22 drivers/leds/leds-blinkm.c static int blinkm_transfer_hw(struct i2c_client *client, int cmd);
client             23 drivers/leds/leds-blinkm.c static int blinkm_test_run(struct i2c_client *client);
client            130 drivers/leds/leds-blinkm.c 	struct i2c_client *client;
client            134 drivers/leds/leds-blinkm.c 	client = to_i2c_client(dev);
client            135 drivers/leds/leds-blinkm.c 	data = i2c_get_clientdata(client);
client            137 drivers/leds/leds-blinkm.c 	ret = blinkm_transfer_hw(client, BLM_GET_CUR_RGB);
client            155 drivers/leds/leds-blinkm.c 	struct i2c_client *client;
client            160 drivers/leds/leds-blinkm.c 	client = to_i2c_client(dev);
client            161 drivers/leds/leds-blinkm.c 	data = i2c_get_clientdata(client);
client            187 drivers/leds/leds-blinkm.c 	ret = blinkm_transfer_hw(client, BLM_GO_RGB);
client            264 drivers/leds/leds-blinkm.c 	struct i2c_client *client;
client            266 drivers/leds/leds-blinkm.c 	client = to_i2c_client(dev);
client            269 drivers/leds/leds-blinkm.c 	ret = blinkm_test_run(client);
client            293 drivers/leds/leds-blinkm.c static int blinkm_write(struct i2c_client *client, int cmd, u8 *arg)
client            299 drivers/leds/leds-blinkm.c 	result = i2c_smbus_write_byte(client, blinkm_cmds[cmd].cmdbyte);
client            308 drivers/leds/leds-blinkm.c 		result = i2c_smbus_write_byte(client, arg[i]);
client            315 drivers/leds/leds-blinkm.c static int blinkm_read(struct i2c_client *client, int cmd, u8 *arg)
client            322 drivers/leds/leds-blinkm.c 		result = i2c_smbus_read_byte(client);
client            331 drivers/leds/leds-blinkm.c static int blinkm_transfer_hw(struct i2c_client *client, int cmd)
client            345 drivers/leds/leds-blinkm.c 	struct blinkm_data *data = i2c_get_clientdata(client);
client            360 drivers/leds/leds-blinkm.c 		blinkm_write(client, cmd, data->args);
client            370 drivers/leds/leds-blinkm.c 		blinkm_write(client, cmd, data->args);
client            379 drivers/leds/leds-blinkm.c 		blinkm_write(client, cmd, data->args);
client            382 drivers/leds/leds-blinkm.c 		blinkm_write(client, cmd, NULL);
client            388 drivers/leds/leds-blinkm.c 		blinkm_write(client, cmd, NULL);
client            389 drivers/leds/leds-blinkm.c 		blinkm_read(client, cmd, data->args);
client            396 drivers/leds/leds-blinkm.c 		blinkm_write(client, cmd, NULL);
client            397 drivers/leds/leds-blinkm.c 		blinkm_read(client, cmd, data->args);
client            408 drivers/leds/leds-blinkm.c 		dev_err(&client->dev,
client            412 drivers/leds/leds-blinkm.c 		dev_err(&client->dev, "BlinkM: unknown command %d\n", cmd);
client            481 drivers/leds/leds-blinkm.c static void blinkm_init_hw(struct i2c_client *client)
client            484 drivers/leds/leds-blinkm.c 	ret = blinkm_transfer_hw(client, BLM_STOP_SCRIPT);
client            485 drivers/leds/leds-blinkm.c 	ret = blinkm_transfer_hw(client, BLM_GO_RGB);
client            488 drivers/leds/leds-blinkm.c static int blinkm_test_run(struct i2c_client *client)
client            491 drivers/leds/leds-blinkm.c 	struct blinkm_data *data = i2c_get_clientdata(client);
client            496 drivers/leds/leds-blinkm.c 	ret = blinkm_transfer_hw(client, BLM_GO_RGB);
client            504 drivers/leds/leds-blinkm.c 	ret = blinkm_transfer_hw(client, BLM_FADE_RGB);
client            512 drivers/leds/leds-blinkm.c 	ret = blinkm_transfer_hw(client, BLM_FADE_HSB);
client            521 drivers/leds/leds-blinkm.c static int blinkm_detect(struct i2c_client *client, struct i2c_board_info *info)
client            523 drivers/leds/leds-blinkm.c 	struct i2c_adapter *adapter = client->adapter;
client            538 drivers/leds/leds-blinkm.c 		ret = blinkm_write(client, BLM_GET_ADDR, NULL);
client            542 drivers/leds/leds-blinkm.c 		ret = blinkm_read(client, BLM_GET_ADDR, tmpargs);
client            552 drivers/leds/leds-blinkm.c 	ret = blinkm_write(client, BLM_GET_ADDR, NULL);
client            556 drivers/leds/leds-blinkm.c 	ret = blinkm_read(client, BLM_GET_ADDR, tmpargs);
client            561 drivers/leds/leds-blinkm.c 		dev_err(&client->dev, "enodev DEV ADDR = 0x%02X\n", tmpargs[0]);
client            569 drivers/leds/leds-blinkm.c static int blinkm_probe(struct i2c_client *client,
client            577 drivers/leds/leds-blinkm.c 	data = devm_kzalloc(&client->dev,
client            590 drivers/leds/leds-blinkm.c 	data->i2c_client = client;
client            592 drivers/leds/leds-blinkm.c 	i2c_set_clientdata(client, data);
client            596 drivers/leds/leds-blinkm.c 	err = sysfs_create_group(&client->dev.kobj, &blinkm_group);
client            598 drivers/leds/leds-blinkm.c 		dev_err(&client->dev, "couldn't register sysfs group\n");
client            605 drivers/leds/leds-blinkm.c 		led[i]->i2c_client = client;
client            613 drivers/leds/leds-blinkm.c 					 client->adapter->nr,
client            614 drivers/leds/leds-blinkm.c 					 client->addr);
client            618 drivers/leds/leds-blinkm.c 			err = led_classdev_register(&client->dev,
client            621 drivers/leds/leds-blinkm.c 				dev_err(&client->dev,
client            630 drivers/leds/leds-blinkm.c 					 client->adapter->nr,
client            631 drivers/leds/leds-blinkm.c 					 client->addr);
client            635 drivers/leds/leds-blinkm.c 			err = led_classdev_register(&client->dev,
client            638 drivers/leds/leds-blinkm.c 				dev_err(&client->dev,
client            647 drivers/leds/leds-blinkm.c 					 client->adapter->nr,
client            648 drivers/leds/leds-blinkm.c 					 client->addr);
client            652 drivers/leds/leds-blinkm.c 			err = led_classdev_register(&client->dev,
client            655 drivers/leds/leds-blinkm.c 				dev_err(&client->dev,
client            665 drivers/leds/leds-blinkm.c 	blinkm_init_hw(client);
client            676 drivers/leds/leds-blinkm.c 	sysfs_remove_group(&client->dev.kobj, &blinkm_group);
client            681 drivers/leds/leds-blinkm.c static int blinkm_remove(struct i2c_client *client)
client            683 drivers/leds/leds-blinkm.c 	struct blinkm_data *data = i2c_get_clientdata(client);
client            695 drivers/leds/leds-blinkm.c 	ret = blinkm_transfer_hw(client, BLM_FADE_RGB);
client            697 drivers/leds/leds-blinkm.c 		dev_err(&client->dev, "Failure in blinkm_remove ignored. Continuing.\n");
client            703 drivers/leds/leds-blinkm.c 	ret = blinkm_transfer_hw(client, BLM_FADE_HSB);
client            705 drivers/leds/leds-blinkm.c 		dev_err(&client->dev, "Failure in blinkm_remove ignored. Continuing.\n");
client            709 drivers/leds/leds-blinkm.c 	ret = blinkm_transfer_hw(client, BLM_GO_RGB);
client            711 drivers/leds/leds-blinkm.c 		dev_err(&client->dev, "Failure in blinkm_remove ignored. Continuing.\n");
client            715 drivers/leds/leds-blinkm.c 	ret = blinkm_transfer_hw(client, BLM_FADE_RGB);
client            717 drivers/leds/leds-blinkm.c 		dev_err(&client->dev, "Failure in blinkm_remove ignored. Continuing.\n");
client            719 drivers/leds/leds-blinkm.c 	sysfs_remove_group(&client->dev.kobj, &blinkm_group);
client             63 drivers/leds/leds-is31fl319x.c 	struct i2c_client               *client;
client            118 drivers/leds/leds-is31fl319x.c 	dev_dbg(&is31->client->dev, "%s %d: %d\n", __func__, chan, brightness);
client            138 drivers/leds/leds-is31fl319x.c 		dev_dbg(&is31->client->dev, "%s read %d: ret=%d: %d\n",
client            151 drivers/leds/leds-is31fl319x.c 		dev_dbg(&is31->client->dev, "power up %02x %02x\n",
client            160 drivers/leds/leds-is31fl319x.c 		dev_dbg(&is31->client->dev, "power down\n");
client            331 drivers/leds/leds-is31fl319x.c static int is31fl319x_probe(struct i2c_client *client,
client            335 drivers/leds/leds-is31fl319x.c 	struct device *dev = &client->dev;
client            340 drivers/leds/leds-is31fl319x.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            343 drivers/leds/leds-is31fl319x.c 	is31 = devm_kzalloc(&client->dev, sizeof(*is31), GFP_KERNEL);
client            349 drivers/leds/leds-is31fl319x.c 	err = is31fl319x_parse_dt(&client->dev, is31);
client            353 drivers/leds/leds-is31fl319x.c 	is31->client = client;
client            354 drivers/leds/leds-is31fl319x.c 	is31->regmap = devm_regmap_init_i2c(client, &regmap_config);
client            356 drivers/leds/leds-is31fl319x.c 		dev_err(&client->dev, "failed to allocate register map\n");
client            361 drivers/leds/leds-is31fl319x.c 	i2c_set_clientdata(client, is31);
client            366 drivers/leds/leds-is31fl319x.c 		dev_err(&client->dev, "no response from chip write: err = %d\n",
client            395 drivers/leds/leds-is31fl319x.c 		err = devm_led_classdev_register(&client->dev, &led->cdev);
client            407 drivers/leds/leds-is31fl319x.c static int is31fl319x_remove(struct i2c_client *client)
client            409 drivers/leds/leds-is31fl319x.c 	struct is31fl319x_chip *is31 = i2c_get_clientdata(client);
client             45 drivers/leds/leds-is31fl32xx.c 	struct i2c_client *client;
client            141 drivers/leds/leds-is31fl32xx.c 	dev_dbg(&priv->client->dev, "writing register 0x%02X=0x%02X", reg, val);
client            143 drivers/leds/leds-is31fl32xx.c 	ret =  i2c_smbus_write_byte_data(priv->client, reg, val);
client            145 drivers/leds/leds-is31fl32xx.c 		dev_err(&priv->client->dev,
client            427 drivers/leds/leds-is31fl32xx.c static int is31fl32xx_probe(struct i2c_client *client,
client            432 drivers/leds/leds-is31fl32xx.c 	struct device *dev = &client->dev;
client            452 drivers/leds/leds-is31fl32xx.c 	priv->client = client;
client            454 drivers/leds/leds-is31fl32xx.c 	i2c_set_clientdata(client, priv);
client            467 drivers/leds/leds-is31fl32xx.c static int is31fl32xx_remove(struct i2c_client *client)
client            469 drivers/leds/leds-is31fl32xx.c 	struct is31fl32xx_priv *priv = i2c_get_clientdata(client);
client            107 drivers/leds/leds-lm3530.c 	struct i2c_client *client;
client            232 drivers/leds/leds-lm3530.c 	struct i2c_client *client = drvdata->client;
client            295 drivers/leds/leds-lm3530.c 		ret = i2c_smbus_write_byte_data(client,
client            320 drivers/leds/leds-lm3530.c 				dev_err(&drvdata->client->dev,
client            327 drivers/leds/leds-lm3530.c 		err = i2c_smbus_write_byte_data(drvdata->client,
client            330 drivers/leds/leds-lm3530.c 			dev_err(&drvdata->client->dev,
client            408 drivers/leds/leds-lm3530.c static int lm3530_probe(struct i2c_client *client,
client            411 drivers/leds/leds-lm3530.c 	struct lm3530_platform_data *pdata = dev_get_platdata(&client->dev);
client            416 drivers/leds/leds-lm3530.c 		dev_err(&client->dev, "platform data required\n");
client            422 drivers/leds/leds-lm3530.c 		dev_err(&client->dev, "Illegal Mode request\n");
client            426 drivers/leds/leds-lm3530.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            427 drivers/leds/leds-lm3530.c 		dev_err(&client->dev, "I2C_FUNC_I2C not supported\n");
client            431 drivers/leds/leds-lm3530.c 	drvdata = devm_kzalloc(&client->dev, sizeof(struct lm3530_data),
client            437 drivers/leds/leds-lm3530.c 	drvdata->client = client;
client            446 drivers/leds/leds-lm3530.c 	i2c_set_clientdata(client, drvdata);
client            448 drivers/leds/leds-lm3530.c 	drvdata->regulator = devm_regulator_get(&client->dev, "vin");
client            450 drivers/leds/leds-lm3530.c 		dev_err(&client->dev, "regulator get failed\n");
client            459 drivers/leds/leds-lm3530.c 			dev_err(&client->dev,
client            464 drivers/leds/leds-lm3530.c 	err = led_classdev_register(&client->dev, &drvdata->led_dev);
client            466 drivers/leds/leds-lm3530.c 		dev_err(&client->dev, "Register led class failed: %d\n", err);
client            473 drivers/leds/leds-lm3530.c static int lm3530_remove(struct i2c_client *client)
client            475 drivers/leds/leds-lm3530.c 	struct lm3530_data *drvdata = i2c_get_clientdata(client);
client            163 drivers/leds/leds-lm3532.c 	struct i2c_client *client;
client            495 drivers/leds/leds-lm3532.c 	ret = device_property_read_u32(&priv->client->dev, "ti,als-vmin",
client            500 drivers/leds/leds-lm3532.c 	ret = device_property_read_u32(&priv->client->dev, "ti,als-vmax",
client            510 drivers/leds/leds-lm3532.c 	ret = device_property_read_u32(&priv->client->dev, "ti,als1-imp-sel",
client            517 drivers/leds/leds-lm3532.c 	ret = device_property_read_u32(&priv->client->dev, "ti,als2-imp-sel",
client            524 drivers/leds/leds-lm3532.c 	ret = device_property_read_u32(&priv->client->dev, "ti,als-avrg-time-us",
client            531 drivers/leds/leds-lm3532.c 	ret = device_property_read_u8(&priv->client->dev, "ti,als-input-mode",
client            556 drivers/leds/leds-lm3532.c 	priv->enable_gpio = devm_gpiod_get_optional(&priv->client->dev,
client            561 drivers/leds/leds-lm3532.c 	priv->regulator = devm_regulator_get(&priv->client->dev, "vin");
client            565 drivers/leds/leds-lm3532.c 	ret = device_property_read_u32(&priv->client->dev, "ramp-up-us",
client            568 drivers/leds/leds-lm3532.c 		dev_info(&priv->client->dev, "ramp-up-ms property missing\n");
client            572 drivers/leds/leds-lm3532.c 	ret = device_property_read_u32(&priv->client->dev, "ramp-down-us",
client            575 drivers/leds/leds-lm3532.c 		dev_info(&priv->client->dev, "ramp-down-ms property missing\n");
client            584 drivers/leds/leds-lm3532.c 			dev_err(&priv->client->dev, "reg property missing\n");
client            590 drivers/leds/leds-lm3532.c 			dev_err(&priv->client->dev, "Control bank invalid\n");
client            599 drivers/leds/leds-lm3532.c 			dev_err(&priv->client->dev, "ti,led-mode property missing\n");
client            607 drivers/leds/leds-lm3532.c 			dev_err(&priv->client->dev,
client            617 drivers/leds/leds-lm3532.c 				dev_err(&priv->client->dev, "Failed to parse als\n");
client            626 drivers/leds/leds-lm3532.c 			dev_err(&priv->client->dev, "To many LED string defined\n");
client            634 drivers/leds/leds-lm3532.c 			dev_err(&priv->client->dev, "led-sources property missing\n");
client            645 drivers/leds/leds-lm3532.c 				"%s::", priv->client->name);
client            648 drivers/leds/leds-lm3532.c 				 "%s:%s", priv->client->name, name);
client            656 drivers/leds/leds-lm3532.c 			dev_err(&priv->client->dev, "led register err: %d\n",
client            664 drivers/leds/leds-lm3532.c 			dev_err(&priv->client->dev, "register init err: %d\n",
client            677 drivers/leds/leds-lm3532.c static int lm3532_probe(struct i2c_client *client,
client            684 drivers/leds/leds-lm3532.c 	count = device_get_child_node_count(&client->dev);
client            686 drivers/leds/leds-lm3532.c 		dev_err(&client->dev, "LEDs are not defined in device tree!");
client            690 drivers/leds/leds-lm3532.c 	drvdata = devm_kzalloc(&client->dev, struct_size(drvdata, leds, count),
client            695 drivers/leds/leds-lm3532.c 	drvdata->client = client;
client            696 drivers/leds/leds-lm3532.c 	drvdata->dev = &client->dev;
client            698 drivers/leds/leds-lm3532.c 	drvdata->regmap = devm_regmap_init_i2c(client, &lm3532_regmap_config);
client            701 drivers/leds/leds-lm3532.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            707 drivers/leds/leds-lm3532.c 	i2c_set_clientdata(client, drvdata);
client            711 drivers/leds/leds-lm3532.c 		dev_err(&client->dev, "Failed to parse node\n");
client            718 drivers/leds/leds-lm3532.c static int lm3532_remove(struct i2c_client *client)
client            720 drivers/leds/leds-lm3532.c 	struct lm3532_data *drvdata = i2c_get_clientdata(client);
client            399 drivers/leds/leds-lm355x.c static int lm355x_probe(struct i2c_client *client,
client            402 drivers/leds/leds-lm355x.c 	struct lm355x_platform_data *pdata = dev_get_platdata(&client->dev);
client            407 drivers/leds/leds-lm355x.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            408 drivers/leds/leds-lm355x.c 		dev_err(&client->dev, "i2c functionality check fail.\n");
client            413 drivers/leds/leds-lm355x.c 		dev_err(&client->dev, "needs Platform Data.\n");
client            417 drivers/leds/leds-lm355x.c 	chip = devm_kzalloc(&client->dev,
client            422 drivers/leds/leds-lm355x.c 	chip->dev = &client->dev;
client            436 drivers/leds/leds-lm355x.c 	chip->regmap = devm_regmap_init_i2c(client, &lm355x_regmap);
client            439 drivers/leds/leds-lm355x.c 		dev_err(&client->dev,
client            445 drivers/leds/leds-lm355x.c 	i2c_set_clientdata(client, chip);
client            457 drivers/leds/leds-lm355x.c 				    &client->dev, &chip->cdev_flash);
client            466 drivers/leds/leds-lm355x.c 				    &client->dev, &chip->cdev_torch);
client            481 drivers/leds/leds-lm355x.c 				    &client->dev, &chip->cdev_indicator);
client            485 drivers/leds/leds-lm355x.c 	dev_info(&client->dev, "%s is initialized\n",
client            497 drivers/leds/leds-lm355x.c static int lm355x_remove(struct i2c_client *client)
client            499 drivers/leds/leds-lm355x.c 	struct lm355x_chip_data *chip = i2c_get_clientdata(client);
client            506 drivers/leds/leds-lm355x.c 	dev_info(&client->dev, "%s is removed\n", lm355x_name[chip->type]);
client             88 drivers/leds/leds-lm3601x.c 	struct i2c_client *client;
client            350 drivers/leds/leds-lm3601x.c 	init_data.devicename = led->client->name;
client            354 drivers/leds/leds-lm3601x.c 	return led_classdev_flash_register_ext(&led->client->dev,
client            364 drivers/leds/leds-lm3601x.c 	child = device_get_next_child_node(&led->client->dev, child);
client            366 drivers/leds/leds-lm3601x.c 		dev_err(&led->client->dev, "No LED Child node\n");
client            372 drivers/leds/leds-lm3601x.c 		dev_err(&led->client->dev, "reg DT property missing\n");
client            378 drivers/leds/leds-lm3601x.c 		dev_warn(&led->client->dev, "Invalid led mode requested\n");
client            386 drivers/leds/leds-lm3601x.c 		dev_warn(&led->client->dev,
client            394 drivers/leds/leds-lm3601x.c 		dev_warn(&led->client->dev,
client            402 drivers/leds/leds-lm3601x.c 		dev_warn(&led->client->dev,
client            414 drivers/leds/leds-lm3601x.c static int lm3601x_probe(struct i2c_client *client)
client            420 drivers/leds/leds-lm3601x.c 	led = devm_kzalloc(&client->dev, sizeof(*led), GFP_KERNEL);
client            424 drivers/leds/leds-lm3601x.c 	led->client = client;
client            425 drivers/leds/leds-lm3601x.c 	i2c_set_clientdata(client, led);
client            431 drivers/leds/leds-lm3601x.c 	led->regmap = devm_regmap_init_i2c(client, &lm3601x_regmap);
client            434 drivers/leds/leds-lm3601x.c 		dev_err(&client->dev,
client            444 drivers/leds/leds-lm3601x.c static int lm3601x_remove(struct i2c_client *client)
client            446 drivers/leds/leds-lm3601x.c 	struct lm3601x_led *led = i2c_get_clientdata(client);
client            301 drivers/leds/leds-lm3642.c static int lm3642_probe(struct i2c_client *client,
client            304 drivers/leds/leds-lm3642.c 	struct lm3642_platform_data *pdata = dev_get_platdata(&client->dev);
client            309 drivers/leds/leds-lm3642.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            310 drivers/leds/leds-lm3642.c 		dev_err(&client->dev, "i2c functionality check fail.\n");
client            315 drivers/leds/leds-lm3642.c 		dev_err(&client->dev, "needs Platform Data.\n");
client            319 drivers/leds/leds-lm3642.c 	chip = devm_kzalloc(&client->dev,
client            324 drivers/leds/leds-lm3642.c 	chip->dev = &client->dev;
client            331 drivers/leds/leds-lm3642.c 	chip->regmap = devm_regmap_init_i2c(client, &lm3642_regmap);
client            334 drivers/leds/leds-lm3642.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            340 drivers/leds/leds-lm3642.c 	i2c_set_clientdata(client, chip);
client            353 drivers/leds/leds-lm3642.c 				    &client->dev, &chip->cdev_flash);
client            366 drivers/leds/leds-lm3642.c 				    &client->dev, &chip->cdev_torch);
client            378 drivers/leds/leds-lm3642.c 				    &client->dev, &chip->cdev_indicator);
client            384 drivers/leds/leds-lm3642.c 	dev_info(&client->dev, "LM3642 is initialized\n");
client            395 drivers/leds/leds-lm3642.c static int lm3642_remove(struct i2c_client *client)
client            397 drivers/leds/leds-lm3642.c 	struct lm3642_chip_data *chip = i2c_get_clientdata(client);
client            110 drivers/leds/leds-lm3692x.c 	struct i2c_client *client;
client            152 drivers/leds/leds-lm3692x.c 		dev_err(&led->client->dev, "Detected a fault 0x%X\n", read_buf);
client            159 drivers/leds/leds-lm3692x.c 		dev_err(&led->client->dev, "Second read of fault flags 0x%X\n",
client            177 drivers/leds/leds-lm3692x.c 		dev_err(&led->client->dev, "Cannot read/clear faults\n");
client            183 drivers/leds/leds-lm3692x.c 		dev_err(&led->client->dev, "Cannot write MSB\n");
client            189 drivers/leds/leds-lm3692x.c 		dev_err(&led->client->dev, "Cannot write LSB\n");
client            205 drivers/leds/leds-lm3692x.c 			dev_err(&led->client->dev,
client            216 drivers/leds/leds-lm3692x.c 		dev_err(&led->client->dev, "Cannot read/clear faults\n");
client            298 drivers/leds/leds-lm3692x.c 		dev_err(&led->client->dev,
client            308 drivers/leds/leds-lm3692x.c 	dev_err(&led->client->dev, "Fail writing initialization values\n");
client            316 drivers/leds/leds-lm3692x.c 			dev_err(&led->client->dev,
client            328 drivers/leds/leds-lm3692x.c 	led->enable_gpio = devm_gpiod_get_optional(&led->client->dev,
client            332 drivers/leds/leds-lm3692x.c 		dev_err(&led->client->dev, "Failed to get enable gpio: %d\n",
client            337 drivers/leds/leds-lm3692x.c 	led->regulator = devm_regulator_get_optional(&led->client->dev, "vled");
client            342 drivers/leds/leds-lm3692x.c 				dev_err(&led->client->dev,
client            350 drivers/leds/leds-lm3692x.c 	child = device_get_next_child_node(&led->client->dev, child);
client            352 drivers/leds/leds-lm3692x.c 		dev_err(&led->client->dev, "No LED Child node\n");
client            361 drivers/leds/leds-lm3692x.c 		dev_err(&led->client->dev, "reg DT property missing\n");
client            366 drivers/leds/leds-lm3692x.c 	init_data.devicename = led->client->name;
client            369 drivers/leds/leds-lm3692x.c 	ret = devm_led_classdev_register_ext(&led->client->dev, &led->led_dev,
client            372 drivers/leds/leds-lm3692x.c 		dev_err(&led->client->dev, "led register err: %d\n", ret);
client            379 drivers/leds/leds-lm3692x.c static int lm3692x_probe(struct i2c_client *client,
client            385 drivers/leds/leds-lm3692x.c 	led = devm_kzalloc(&client->dev, sizeof(*led), GFP_KERNEL);
client            390 drivers/leds/leds-lm3692x.c 	led->client = client;
client            393 drivers/leds/leds-lm3692x.c 	i2c_set_clientdata(client, led);
client            395 drivers/leds/leds-lm3692x.c 	led->regmap = devm_regmap_init_i2c(client, &lm3692x_regmap_config);
client            398 drivers/leds/leds-lm3692x.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            414 drivers/leds/leds-lm3692x.c static int lm3692x_remove(struct i2c_client *client)
client            416 drivers/leds/leds-lm3692x.c 	struct lm3692x_led *led = i2c_get_clientdata(client);
client            421 drivers/leds/leds-lm3692x.c 		dev_err(&led->client->dev, "Failed to disable regulator\n");
client            431 drivers/leds/leds-lm3692x.c 			dev_err(&led->client->dev,
client             75 drivers/leds/leds-lm3697.c 	struct i2c_client *client;
client            126 drivers/leds/leds-lm3697.c 			dev_err(&led->priv->client->dev, "Cannot write ctrl register\n");
client            134 drivers/leds/leds-lm3697.c 			dev_err(&led->priv->client->dev,
client            144 drivers/leds/leds-lm3697.c 				dev_err(&led->priv->client->dev,
client            168 drivers/leds/leds-lm3697.c 			dev_err(&priv->client->dev, "Cannot reset the device\n");
client            175 drivers/leds/leds-lm3697.c 		dev_err(&priv->client->dev, "Cannot write ctrl enable\n");
client            181 drivers/leds/leds-lm3697.c 		dev_err(&priv->client->dev, "Cannot write OUTPUT config\n");
client            187 drivers/leds/leds-lm3697.c 			dev_err(&priv->client->dev, "Setting the ramp rate failed\n");
client            203 drivers/leds/leds-lm3697.c 	priv->enable_gpio = devm_gpiod_get_optional(&priv->client->dev,
client            207 drivers/leds/leds-lm3697.c 		dev_err(&priv->client->dev, "Failed to get enable gpio: %d\n",
client            212 drivers/leds/leds-lm3697.c 	priv->regulator = devm_regulator_get(&priv->client->dev, "vled");
client            219 drivers/leds/leds-lm3697.c 			dev_err(&priv->client->dev, "reg property missing\n");
client            225 drivers/leds/leds-lm3697.c 			dev_err(&priv->client->dev, "reg property is invalid\n");
client            233 drivers/leds/leds-lm3697.c 		ret = ti_lmu_common_get_brt_res(&priv->client->dev,
client            236 drivers/leds/leds-lm3697.c 			dev_warn(&priv->client->dev, "brightness resolution property missing\n");
client            249 drivers/leds/leds-lm3697.c 			dev_err(&priv->client->dev, "To many LED strings defined\n");
client            257 drivers/leds/leds-lm3697.c 			dev_err(&priv->client->dev, "led-sources property missing\n");
client            266 drivers/leds/leds-lm3697.c 		ret = ti_lmu_common_get_ramp_params(&priv->client->dev,
client            269 drivers/leds/leds-lm3697.c 			dev_warn(&priv->client->dev, "runtime-ramp properties missing\n");
client            277 drivers/leds/leds-lm3697.c 				"%s::", priv->client->name);
client            280 drivers/leds/leds-lm3697.c 				 "%s:%s", priv->client->name, name);
client            289 drivers/leds/leds-lm3697.c 			dev_err(&priv->client->dev, "led register err: %d\n",
client            302 drivers/leds/leds-lm3697.c static int lm3697_probe(struct i2c_client *client,
client            309 drivers/leds/leds-lm3697.c 	count = device_get_child_node_count(&client->dev);
client            311 drivers/leds/leds-lm3697.c 		dev_err(&client->dev, "LEDs are not defined in device tree!");
client            315 drivers/leds/leds-lm3697.c 	led = devm_kzalloc(&client->dev, struct_size(led, leds, count),
client            321 drivers/leds/leds-lm3697.c 	i2c_set_clientdata(client, led);
client            323 drivers/leds/leds-lm3697.c 	led->client = client;
client            324 drivers/leds/leds-lm3697.c 	led->dev = &client->dev;
client            325 drivers/leds/leds-lm3697.c 	led->regmap = devm_regmap_init_i2c(client, &lm3697_regmap_config);
client            328 drivers/leds/leds-lm3697.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            340 drivers/leds/leds-lm3697.c static int lm3697_remove(struct i2c_client *client)
client            342 drivers/leds/leds-lm3697.c 	struct lm3697 *led = i2c_get_clientdata(client);
client            348 drivers/leds/leds-lm3697.c 		dev_err(&led->client->dev, "Failed to disable the device\n");
client            358 drivers/leds/leds-lm3697.c 			dev_err(&led->client->dev,
client             67 drivers/leds/leds-lp3944.c 	struct i2c_client *client;
client             72 drivers/leds/leds-lp3944.c 	struct i2c_client *client;
client             76 drivers/leds/leds-lp3944.c static int lp3944_reg_read(struct i2c_client *client, u8 reg, u8 *value)
client             80 drivers/leds/leds-lp3944.c 	tmp = i2c_smbus_read_byte_data(client, reg);
client             89 drivers/leds/leds-lp3944.c static int lp3944_reg_write(struct i2c_client *client, u8 reg, u8 value)
client             91 drivers/leds/leds-lp3944.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            101 drivers/leds/leds-lp3944.c static int lp3944_dim_set_period(struct i2c_client *client, u8 dim, u16 period)
client            120 drivers/leds/leds-lp3944.c 	err = lp3944_reg_write(client, psc_reg, psc_value);
client            132 drivers/leds/leds-lp3944.c static int lp3944_dim_set_dutycycle(struct i2c_client *client, u8 dim,
client            152 drivers/leds/leds-lp3944.c 	err = lp3944_reg_write(client, pwm_reg, pwm_value);
client            168 drivers/leds/leds-lp3944.c 	struct lp3944_data *data = i2c_get_clientdata(led->client);
client            174 drivers/leds/leds-lp3944.c 	dev_dbg(&led->client->dev, "%s: %s, status before normalization:%d\n",
client            208 drivers/leds/leds-lp3944.c 	lp3944_reg_read(led->client, reg, &val);
client            213 drivers/leds/leds-lp3944.c 	dev_dbg(&led->client->dev, "%s: %s, reg:%d id:%d status:%d val:%#x\n",
client            217 drivers/leds/leds-lp3944.c 	err = lp3944_reg_write(led->client, reg, val);
client            263 drivers/leds/leds-lp3944.c 	err = lp3944_dim_set_period(led->client, LP3944_DIM0, period);
client            267 drivers/leds/leds-lp3944.c 	err = lp3944_dim_set_dutycycle(led->client, LP3944_DIM0, duty_cycle);
client            271 drivers/leds/leds-lp3944.c 	dev_dbg(&led->client->dev, "%s: OK hardware accelerated blink!\n",
client            284 drivers/leds/leds-lp3944.c 	dev_dbg(&led->client->dev, "%s: %s, %d\n",
client            290 drivers/leds/leds-lp3944.c static int lp3944_configure(struct i2c_client *client,
client            299 drivers/leds/leds-lp3944.c 		led->client = client;
client            314 drivers/leds/leds-lp3944.c 			err = led_classdev_register(&client->dev, &led->ldev);
client            316 drivers/leds/leds-lp3944.c 				dev_err(&client->dev,
client            329 drivers/leds/leds-lp3944.c 				dev_err(&client->dev,
client            362 drivers/leds/leds-lp3944.c static int lp3944_probe(struct i2c_client *client,
client            366 drivers/leds/leds-lp3944.c 			dev_get_platdata(&client->dev);
client            371 drivers/leds/leds-lp3944.c 		dev_err(&client->dev, "no platform data\n");
client            376 drivers/leds/leds-lp3944.c 	if (!i2c_check_functionality(client->adapter,
client            378 drivers/leds/leds-lp3944.c 		dev_err(&client->dev, "insufficient functionality!\n");
client            382 drivers/leds/leds-lp3944.c 	data = devm_kzalloc(&client->dev, sizeof(struct lp3944_data),
client            387 drivers/leds/leds-lp3944.c 	data->client = client;
client            388 drivers/leds/leds-lp3944.c 	i2c_set_clientdata(client, data);
client            392 drivers/leds/leds-lp3944.c 	err = lp3944_configure(client, data, lp3944_pdata);
client            396 drivers/leds/leds-lp3944.c 	dev_info(&client->dev, "lp3944 enabled\n");
client            400 drivers/leds/leds-lp3944.c static int lp3944_remove(struct i2c_client *client)
client            402 drivers/leds/leds-lp3944.c 	struct lp3944_platform_data *pdata = dev_get_platdata(&client->dev);
client            403 drivers/leds/leds-lp3944.c 	struct lp3944_data *data = i2c_get_clientdata(client);
client             23 drivers/leds/leds-lp3952.c static int lp3952_register_write(struct i2c_client *client, u8 reg, u8 val)
client             26 drivers/leds/leds-lp3952.c 	struct lp3952_led_array *priv = i2c_get_clientdata(client);
client             31 drivers/leds/leds-lp3952.c 		dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n",
client             41 drivers/leds/leds-lp3952.c 	dev_dbg(&priv->client->dev, "%s LED %d to %d\n", __func__, led_id, on);
client             50 drivers/leds/leds-lp3952.c 		dev_err(&priv->client->dev, "%s, Error %d\n", __func__, ret);
client            121 drivers/leds/leds-lp3952.c 		acpi_ret = lp3952_get_label(&priv->client->dev, led_name_hdl[i],
client            134 drivers/leds/leds-lp3952.c 		ret = devm_led_classdev_register(&priv->client->dev,
client            137 drivers/leds/leds-lp3952.c 			dev_err(&priv->client->dev,
client            166 drivers/leds/leds-lp3952.c 	ret = lp3952_register_write(priv->client,
client            172 drivers/leds/leds-lp3952.c 	return lp3952_register_write(priv->client,
client            182 drivers/leds/leds-lp3952.c 	ret = lp3952_register_write(priv->client, LP3952_REG_LED_CTRL, 0);
client            187 drivers/leds/leds-lp3952.c 	ret = lp3952_register_write(priv->client, LP3952_REG_PAT_GEN_CTRL,
client            193 drivers/leds/leds-lp3952.c 	ret = lp3952_register_write(priv->client, LP3952_REG_ENABLES,
client            210 drivers/leds/leds-lp3952.c static int lp3952_probe(struct i2c_client *client,
client            216 drivers/leds/leds-lp3952.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client            220 drivers/leds/leds-lp3952.c 	priv->client = client;
client            222 drivers/leds/leds-lp3952.c 	priv->enable_gpio = devm_gpiod_get(&client->dev, "nrst",
client            226 drivers/leds/leds-lp3952.c 		dev_err(&client->dev, "Failed to enable gpio: %d\n", status);
client            230 drivers/leds/leds-lp3952.c 	priv->regmap = devm_regmap_init_i2c(client, &lp3952_regmap);
client            234 drivers/leds/leds-lp3952.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            239 drivers/leds/leds-lp3952.c 	i2c_set_clientdata(client, priv);
client            243 drivers/leds/leds-lp3952.c 		dev_err(&client->dev, "Probe failed. Device not found (%d)\n",
client            250 drivers/leds/leds-lp3952.c 		dev_err(&client->dev, "Unable to register led_classdev: %d\n",
client            258 drivers/leds/leds-lp3952.c static int lp3952_remove(struct i2c_client *client)
client            262 drivers/leds/leds-lp3952.c 	priv = i2c_get_clientdata(client);
client            499 drivers/leds/leds-lp5521.c static int lp5521_probe(struct i2c_client *client,
client            505 drivers/leds/leds-lp5521.c 	struct lp55xx_platform_data *pdata = dev_get_platdata(&client->dev);
client            506 drivers/leds/leds-lp5521.c 	struct device_node *np = client->dev.of_node;
client            510 drivers/leds/leds-lp5521.c 			pdata = lp55xx_of_populate_pdata(&client->dev, np);
client            514 drivers/leds/leds-lp5521.c 			dev_err(&client->dev, "no platform data\n");
client            519 drivers/leds/leds-lp5521.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client            523 drivers/leds/leds-lp5521.c 	led = devm_kcalloc(&client->dev,
client            528 drivers/leds/leds-lp5521.c 	chip->cl = client;
client            534 drivers/leds/leds-lp5521.c 	i2c_set_clientdata(client, led);
client            540 drivers/leds/leds-lp5521.c 	dev_info(&client->dev, "%s programmable led chip found\n", id->name);
client            548 drivers/leds/leds-lp5521.c 		dev_err(&client->dev, "registering sysfs failed\n");
client            562 drivers/leds/leds-lp5521.c static int lp5521_remove(struct i2c_client *client)
client            564 drivers/leds/leds-lp5521.c 	struct lp55xx_led *led = i2c_get_clientdata(client);
client            866 drivers/leds/leds-lp5523.c static int lp5523_probe(struct i2c_client *client,
client            872 drivers/leds/leds-lp5523.c 	struct lp55xx_platform_data *pdata = dev_get_platdata(&client->dev);
client            873 drivers/leds/leds-lp5523.c 	struct device_node *np = client->dev.of_node;
client            877 drivers/leds/leds-lp5523.c 			pdata = lp55xx_of_populate_pdata(&client->dev, np);
client            881 drivers/leds/leds-lp5523.c 			dev_err(&client->dev, "no platform data\n");
client            886 drivers/leds/leds-lp5523.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client            890 drivers/leds/leds-lp5523.c 	led = devm_kcalloc(&client->dev,
client            895 drivers/leds/leds-lp5523.c 	chip->cl = client;
client            901 drivers/leds/leds-lp5523.c 	i2c_set_clientdata(client, led);
client            907 drivers/leds/leds-lp5523.c 	dev_info(&client->dev, "%s Programmable led chip found\n", id->name);
client            915 drivers/leds/leds-lp5523.c 		dev_err(&client->dev, "registering sysfs failed\n");
client            929 drivers/leds/leds-lp5523.c static int lp5523_remove(struct i2c_client *client)
client            931 drivers/leds/leds-lp5523.c 	struct lp55xx_led *led = i2c_get_clientdata(client);
client            514 drivers/leds/leds-lp5562.c static int lp5562_probe(struct i2c_client *client,
client            520 drivers/leds/leds-lp5562.c 	struct lp55xx_platform_data *pdata = dev_get_platdata(&client->dev);
client            521 drivers/leds/leds-lp5562.c 	struct device_node *np = client->dev.of_node;
client            525 drivers/leds/leds-lp5562.c 			pdata = lp55xx_of_populate_pdata(&client->dev, np);
client            529 drivers/leds/leds-lp5562.c 			dev_err(&client->dev, "no platform data\n");
client            534 drivers/leds/leds-lp5562.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client            538 drivers/leds/leds-lp5562.c 	led = devm_kcalloc(&client->dev,
client            543 drivers/leds/leds-lp5562.c 	chip->cl = client;
client            549 drivers/leds/leds-lp5562.c 	i2c_set_clientdata(client, led);
client            561 drivers/leds/leds-lp5562.c 		dev_err(&client->dev, "registering sysfs failed\n");
client            575 drivers/leds/leds-lp5562.c static int lp5562_remove(struct i2c_client *client)
client            577 drivers/leds/leds-lp5562.c 	struct lp55xx_led *led = i2c_get_clientdata(client);
client            302 drivers/leds/leds-lp8501.c static int lp8501_probe(struct i2c_client *client,
client            308 drivers/leds/leds-lp8501.c 	struct lp55xx_platform_data *pdata = dev_get_platdata(&client->dev);
client            309 drivers/leds/leds-lp8501.c 	struct device_node *np = client->dev.of_node;
client            313 drivers/leds/leds-lp8501.c 			pdata = lp55xx_of_populate_pdata(&client->dev, np);
client            317 drivers/leds/leds-lp8501.c 			dev_err(&client->dev, "no platform data\n");
client            322 drivers/leds/leds-lp8501.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client            326 drivers/leds/leds-lp8501.c 	led = devm_kcalloc(&client->dev,
client            331 drivers/leds/leds-lp8501.c 	chip->cl = client;
client            337 drivers/leds/leds-lp8501.c 	i2c_set_clientdata(client, led);
client            343 drivers/leds/leds-lp8501.c 	dev_info(&client->dev, "%s Programmable led chip found\n", id->name);
client            351 drivers/leds/leds-lp8501.c 		dev_err(&client->dev, "registering sysfs failed\n");
client            365 drivers/leds/leds-lp8501.c static int lp8501_remove(struct i2c_client *client)
client            367 drivers/leds/leds-lp8501.c 	struct lp55xx_led *led = i2c_get_clientdata(client);
client             99 drivers/leds/leds-lp8860.c 	struct i2c_client *client;
client            151 drivers/leds/leds-lp8860.c 			dev_err(&led->client->dev, "EEPROM Unlock failed\n");
client            159 drivers/leds/leds-lp8860.c 			dev_err(&led->client->dev, "EEPROM Unlock failed\n");
client            166 drivers/leds/leds-lp8860.c 			dev_err(&led->client->dev, "EEPROM Unlock failed\n");
client            217 drivers/leds/leds-lp8860.c 		dev_err(&led->client->dev, "Cannot read/clear faults\n");
client            224 drivers/leds/leds-lp8860.c 		dev_err(&led->client->dev, "Cannot write CL1 MSB\n");
client            231 drivers/leds/leds-lp8860.c 		dev_err(&led->client->dev, "Cannot write CL1 LSB\n");
client            247 drivers/leds/leds-lp8860.c 			dev_err(&led->client->dev,
client            266 drivers/leds/leds-lp8860.c 		dev_err(&led->client->dev, "Failed unlocking EEPROM\n");
client            276 drivers/leds/leds-lp8860.c 			dev_err(&led->client->dev, "Failed writing EEPROM\n");
client            289 drivers/leds/leds-lp8860.c 		dev_err(&led->client->dev, "Failed programming EEPROM\n");
client            303 drivers/leds/leds-lp8860.c 			dev_err(&led->client->dev,
client            378 drivers/leds/leds-lp8860.c static int lp8860_probe(struct i2c_client *client,
client            383 drivers/leds/leds-lp8860.c 	struct device_node *np = client->dev.of_node;
client            387 drivers/leds/leds-lp8860.c 	led = devm_kzalloc(&client->dev, sizeof(*led), GFP_KERNEL);
client            399 drivers/leds/leds-lp8860.c 	led->enable_gpio = devm_gpiod_get_optional(&client->dev,
client            403 drivers/leds/leds-lp8860.c 		dev_err(&client->dev, "Failed to get enable gpio: %d\n", ret);
client            407 drivers/leds/leds-lp8860.c 	led->regulator = devm_regulator_get(&client->dev, "vled");
client            411 drivers/leds/leds-lp8860.c 	led->client = client;
client            416 drivers/leds/leds-lp8860.c 	i2c_set_clientdata(client, led);
client            418 drivers/leds/leds-lp8860.c 	led->regmap = devm_regmap_init_i2c(client, &lp8860_regmap_config);
client            421 drivers/leds/leds-lp8860.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            426 drivers/leds/leds-lp8860.c 	led->eeprom_regmap = devm_regmap_init_i2c(client, &lp8860_eeprom_regmap_config);
client            429 drivers/leds/leds-lp8860.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            442 drivers/leds/leds-lp8860.c 	ret = devm_led_classdev_register_ext(&client->dev, &led->led_dev,
client            445 drivers/leds/leds-lp8860.c 		dev_err(&client->dev, "led register err: %d\n", ret);
client            452 drivers/leds/leds-lp8860.c static int lp8860_remove(struct i2c_client *client)
client            454 drivers/leds/leds-lp8860.c 	struct lp8860_led *led = i2c_get_clientdata(client);
client            463 drivers/leds/leds-lp8860.c 			dev_err(&led->client->dev,
client             51 drivers/leds/leds-max8997.c 	struct i2c_client *client = led->iodev->i2c;
client             87 drivers/leds/leds-max8997.c 		ret = max8997_update_reg(client, MAX8997_REG_LEN_CNTL, val,
client            100 drivers/leds/leds-max8997.c 	struct i2c_client *client = led->iodev->i2c;
client            108 drivers/leds/leds-max8997.c 	ret = max8997_update_reg(client, MAX8997_REG_BOOST_CNTL, val, mask);
client            120 drivers/leds/leds-max8997.c 	struct i2c_client *client = led->iodev->i2c;
client            141 drivers/leds/leds-max8997.c 		ret = max8997_update_reg(client, reg, val, mask);
client             38 drivers/leds/leds-pca9532.c 	struct i2c_client *client;
client             51 drivers/leds/leds-pca9532.c static int pca9532_probe(struct i2c_client *client,
client             53 drivers/leds/leds-pca9532.c static int pca9532_remove(struct i2c_client *client);
client            114 drivers/leds/leds-pca9532.c static int pca9532_calcpwm(struct i2c_client *client, int pwm, int blink,
client            118 drivers/leds/leds-pca9532.c 	struct pca9532_data *data = i2c_get_clientdata(client);
client            127 drivers/leds/leds-pca9532.c 		dev_err(&client->dev,
client            140 drivers/leds/leds-pca9532.c static int pca9532_setpwm(struct i2c_client *client, int pwm)
client            142 drivers/leds/leds-pca9532.c 	struct pca9532_data *data = i2c_get_clientdata(client);
client            146 drivers/leds/leds-pca9532.c 	i2c_smbus_write_byte_data(client, PCA9532_REG_PWM(maxleds, pwm),
client            148 drivers/leds/leds-pca9532.c 	i2c_smbus_write_byte_data(client, PCA9532_REG_PSC(maxleds, pwm),
client            157 drivers/leds/leds-pca9532.c 	struct i2c_client *client = led->client;
client            158 drivers/leds/leds-pca9532.c 	struct pca9532_data *data = i2c_get_clientdata(client);
client            163 drivers/leds/leds-pca9532.c 	reg = i2c_smbus_read_byte_data(client, LED_REG(maxleds, led->id));
client            168 drivers/leds/leds-pca9532.c 	i2c_smbus_write_byte_data(client, LED_REG(maxleds, led->id), reg);
client            184 drivers/leds/leds-pca9532.c 		err = pca9532_calcpwm(led->client, 0, 0, value);
client            189 drivers/leds/leds-pca9532.c 		pca9532_setpwm(led->client, 0);
client            198 drivers/leds/leds-pca9532.c 	struct i2c_client *client = led->client;
client            212 drivers/leds/leds-pca9532.c 	err = pca9532_calcpwm(client, 0, psc, led_cdev->brightness);
client            216 drivers/leds/leds-pca9532.c 		pca9532_setpwm(led->client, 0);
client            248 drivers/leds/leds-pca9532.c 	i2c_smbus_write_byte_data(data->client, PCA9532_REG_PWM(maxleds, 1),
client            255 drivers/leds/leds-pca9532.c 	struct i2c_client *client = led->client;
client            256 drivers/leds/leds-pca9532.c 	struct pca9532_data *data = i2c_get_clientdata(client);
client            262 drivers/leds/leds-pca9532.c 	reg = i2c_smbus_read_byte_data(client, LED_REG(maxleds, led->id));
client            298 drivers/leds/leds-pca9532.c 	reg = i2c_smbus_read_byte_data(data->client, PCA9532_REG_INPUT(offset));
client            351 drivers/leds/leds-pca9532.c static int pca9532_configure(struct i2c_client *client,
client            361 drivers/leds/leds-pca9532.c 		i2c_smbus_write_byte_data(client, PCA9532_REG_PWM(maxleds, i),
client            363 drivers/leds/leds-pca9532.c 		i2c_smbus_write_byte_data(client, PCA9532_REG_PSC(maxleds, i),
client            370 drivers/leds/leds-pca9532.c 		led->client = client;
client            391 drivers/leds/leds-pca9532.c 			err = led_classdev_register(&client->dev, &led->ldev);
client            393 drivers/leds/leds-pca9532.c 				dev_err(&client->dev,
client            404 drivers/leds/leds-pca9532.c 			data->idev = devm_input_allocate_device(&client->dev);
client            442 drivers/leds/leds-pca9532.c 		data->gpio.parent = &client->dev;
client            449 drivers/leds/leds-pca9532.c 			dev_warn(&client->dev, "could not add gpiochip\n");
client            451 drivers/leds/leds-pca9532.c 			dev_info(&client->dev, "gpios %i...%i\n",
client            508 drivers/leds/leds-pca9532.c static int pca9532_probe(struct i2c_client *client,
client            513 drivers/leds/leds-pca9532.c 	struct pca9532_data *data = i2c_get_clientdata(client);
client            515 drivers/leds/leds-pca9532.c 			dev_get_platdata(&client->dev);
client            516 drivers/leds/leds-pca9532.c 	struct device_node *np = client->dev.of_node;
client            521 drivers/leds/leds-pca9532.c 				pca9532_of_populate_pdata(&client->dev, np);
client            525 drivers/leds/leds-pca9532.c 			dev_err(&client->dev, "no platform data\n");
client            529 drivers/leds/leds-pca9532.c 				&client->dev);
client            537 drivers/leds/leds-pca9532.c 	if (!i2c_check_functionality(client->adapter,
client            541 drivers/leds/leds-pca9532.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            547 drivers/leds/leds-pca9532.c 	dev_info(&client->dev, "setting platform data\n");
client            548 drivers/leds/leds-pca9532.c 	i2c_set_clientdata(client, data);
client            549 drivers/leds/leds-pca9532.c 	data->client = client;
client            552 drivers/leds/leds-pca9532.c 	return pca9532_configure(client, data, pca9532_pdata);
client            555 drivers/leds/leds-pca9532.c static int pca9532_remove(struct i2c_client *client)
client            557 drivers/leds/leds-pca9532.c 	struct pca9532_data *data = i2c_get_clientdata(client);
client            113 drivers/leds/leds-pca955x.c 	struct i2c_client	*client;
client            159 drivers/leds/leds-pca955x.c static int pca955x_write_psc(struct i2c_client *client, int n, u8 val)
client            161 drivers/leds/leds-pca955x.c 	struct pca955x *pca955x = i2c_get_clientdata(client);
client            164 drivers/leds/leds-pca955x.c 	ret = i2c_smbus_write_byte_data(client,
client            168 drivers/leds/leds-pca955x.c 		dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n",
client            180 drivers/leds/leds-pca955x.c static int pca955x_write_pwm(struct i2c_client *client, int n, u8 val)
client            182 drivers/leds/leds-pca955x.c 	struct pca955x *pca955x = i2c_get_clientdata(client);
client            185 drivers/leds/leds-pca955x.c 	ret = i2c_smbus_write_byte_data(client,
client            189 drivers/leds/leds-pca955x.c 		dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n",
client            198 drivers/leds/leds-pca955x.c static int pca955x_write_ls(struct i2c_client *client, int n, u8 val)
client            200 drivers/leds/leds-pca955x.c 	struct pca955x *pca955x = i2c_get_clientdata(client);
client            203 drivers/leds/leds-pca955x.c 	ret = i2c_smbus_write_byte_data(client,
client            207 drivers/leds/leds-pca955x.c 		dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n",
client            216 drivers/leds/leds-pca955x.c static int pca955x_read_ls(struct i2c_client *client, int n, u8 *val)
client            218 drivers/leds/leds-pca955x.c 	struct pca955x *pca955x = i2c_get_clientdata(client);
client            221 drivers/leds/leds-pca955x.c 	ret = i2c_smbus_read_byte_data(client,
client            224 drivers/leds/leds-pca955x.c 		dev_err(&client->dev, "%s: reg 0x%x, err %d\n",
client            250 drivers/leds/leds-pca955x.c 	ret = pca955x_read_ls(pca955x->client, chip_ls, &ls);
client            272 drivers/leds/leds-pca955x.c 		ret = pca955x_write_pwm(pca955x->client, 1, 255 - value);
client            279 drivers/leds/leds-pca955x.c 	ret = pca955x_write_ls(pca955x->client, chip_ls, ls);
client            291 drivers/leds/leds-pca955x.c static int pca955x_read_input(struct i2c_client *client, int n, u8 *val)
client            293 drivers/leds/leds-pca955x.c 	int ret = i2c_smbus_read_byte_data(client, n);
client            296 drivers/leds/leds-pca955x.c 		dev_err(&client->dev, "%s: reg 0x%x, err %d\n",
client            341 drivers/leds/leds-pca955x.c 	pca955x_read_input(pca955x->client, led->led_num / 8, &reg);
client            364 drivers/leds/leds-pca955x.c pca955x_get_pdata(struct i2c_client *client, struct pca955x_chipdef *chip)
client            370 drivers/leds/leds-pca955x.c 	count = device_get_child_node_count(&client->dev);
client            374 drivers/leds/leds-pca955x.c 	pdata = devm_kzalloc(&client->dev, sizeof(*pdata), GFP_KERNEL);
client            378 drivers/leds/leds-pca955x.c 	pdata->leds = devm_kcalloc(&client->dev,
client            384 drivers/leds/leds-pca955x.c 	device_for_each_child_node(&client->dev, child) {
client            420 drivers/leds/leds-pca955x.c static int pca955x_probe(struct i2c_client *client,
client            432 drivers/leds/leds-pca955x.c 	adapter = client->adapter;
client            433 drivers/leds/leds-pca955x.c 	pdata = dev_get_platdata(&client->dev);
client            435 drivers/leds/leds-pca955x.c 		pdata =	pca955x_get_pdata(client, chip);
client            441 drivers/leds/leds-pca955x.c 	if ((client->addr & ~((1 << chip->slv_addr_shift) - 1)) !=
client            443 drivers/leds/leds-pca955x.c 		dev_err(&client->dev, "invalid slave address %02x\n",
client            444 drivers/leds/leds-pca955x.c 				client->addr);
client            448 drivers/leds/leds-pca955x.c 	dev_info(&client->dev, "leds-pca955x: Using %s %d-bit LED driver at "
client            450 drivers/leds/leds-pca955x.c 			client->name, chip->bits, client->addr);
client            456 drivers/leds/leds-pca955x.c 		dev_err(&client->dev,
client            462 drivers/leds/leds-pca955x.c 	pca955x = devm_kzalloc(&client->dev, sizeof(*pca955x), GFP_KERNEL);
client            466 drivers/leds/leds-pca955x.c 	pca955x->leds = devm_kcalloc(&client->dev,
client            471 drivers/leds/leds-pca955x.c 	i2c_set_clientdata(client, pca955x);
client            474 drivers/leds/leds-pca955x.c 	pca955x->client = client;
client            510 drivers/leds/leds-pca955x.c 			err = devm_led_classdev_register(&client->dev,
client            523 drivers/leds/leds-pca955x.c 	err = pca955x_write_pwm(client, 0, 255 - LED_HALF);
client            528 drivers/leds/leds-pca955x.c 	err = pca955x_write_pwm(client, 1, 0);
client            533 drivers/leds/leds-pca955x.c 	err = pca955x_write_psc(client, 0, 0);
client            536 drivers/leds/leds-pca955x.c 	err = pca955x_write_psc(client, 1, 0);
client            551 drivers/leds/leds-pca955x.c 		pca955x->gpio.parent = &client->dev;
client            554 drivers/leds/leds-pca955x.c 		err = devm_gpiochip_add_data(&client->dev, &pca955x->gpio,
client            559 drivers/leds/leds-pca955x.c 			dev_warn(&client->dev, "could not add gpiochip\n");
client            562 drivers/leds/leds-pca955x.c 		dev_info(&client->dev, "gpios %i...%i\n",
client            104 drivers/leds/leds-pca963x.c 	struct i2c_client *client;
client            128 drivers/leds/leds-pca963x.c 	ledout = i2c_smbus_read_byte_data(pca963x->chip->client, ledout_addr);
client            131 drivers/leds/leds-pca963x.c 		ret = i2c_smbus_write_byte_data(pca963x->chip->client,
client            136 drivers/leds/leds-pca963x.c 		ret = i2c_smbus_write_byte_data(pca963x->chip->client,
client            140 drivers/leds/leds-pca963x.c 		ret = i2c_smbus_write_byte_data(pca963x->chip->client,
client            145 drivers/leds/leds-pca963x.c 		ret = i2c_smbus_write_byte_data(pca963x->chip->client,
client            159 drivers/leds/leds-pca963x.c 	u8 mode2 = i2c_smbus_read_byte_data(pca963x->chip->client,
client            164 drivers/leds/leds-pca963x.c 	i2c_smbus_write_byte_data(pca963x->chip->client,
client            167 drivers/leds/leds-pca963x.c 	i2c_smbus_write_byte_data(pca963x->chip->client,
client            171 drivers/leds/leds-pca963x.c 		i2c_smbus_write_byte_data(pca963x->chip->client, PCA963X_MODE2,
client            175 drivers/leds/leds-pca963x.c 	ledout = i2c_smbus_read_byte_data(pca963x->chip->client, ledout_addr);
client            177 drivers/leds/leds-pca963x.c 		i2c_smbus_write_byte_data(pca963x->chip->client, ledout_addr,
client            193 drivers/leds/leds-pca963x.c 		return i2c_smbus_write_byte_data(pca963x->chip->client,
client            281 drivers/leds/leds-pca963x.c pca963x_get_pdata(struct i2c_client *client, struct pca963x_chipdef *chip)
client            288 drivers/leds/leds-pca963x.c 	count = device_get_child_node_count(&client->dev);
client            292 drivers/leds/leds-pca963x.c 	pca963x_leds = devm_kcalloc(&client->dev,
client            297 drivers/leds/leds-pca963x.c 	device_for_each_child_node(&client->dev, child) {
client            315 drivers/leds/leds-pca963x.c 	pdata = devm_kzalloc(&client->dev,
client            324 drivers/leds/leds-pca963x.c 	if (device_property_read_bool(&client->dev, "nxp,totem-pole"))
client            330 drivers/leds/leds-pca963x.c 	if (device_property_read_bool(&client->dev, "nxp,hw-blink"))
client            335 drivers/leds/leds-pca963x.c 	if (device_property_read_u32(&client->dev, "nxp,period-scale",
client            340 drivers/leds/leds-pca963x.c 	if (device_property_read_bool(&client->dev, "nxp,inverted-out"))
client            357 drivers/leds/leds-pca963x.c static int pca963x_probe(struct i2c_client *client,
client            367 drivers/leds/leds-pca963x.c 	pdata = dev_get_platdata(&client->dev);
client            370 drivers/leds/leds-pca963x.c 		pdata = pca963x_get_pdata(client, chip);
client            372 drivers/leds/leds-pca963x.c 			dev_warn(&client->dev, "could not parse configuration\n");
client            379 drivers/leds/leds-pca963x.c 		dev_err(&client->dev, "board info must claim 1-%d LEDs",
client            384 drivers/leds/leds-pca963x.c 	pca963x_chip = devm_kzalloc(&client->dev, sizeof(*pca963x_chip),
client            388 drivers/leds/leds-pca963x.c 	pca963x = devm_kcalloc(&client->dev, chip->n_leds, sizeof(*pca963x),
client            393 drivers/leds/leds-pca963x.c 	i2c_set_clientdata(client, pca963x_chip);
client            397 drivers/leds/leds-pca963x.c 	pca963x_chip->client = client;
client            402 drivers/leds/leds-pca963x.c 		i2c_smbus_write_byte_data(client, chip->ledout_base + i, 0x00);
client            421 drivers/leds/leds-pca963x.c 				 "pca963x:%d:%.2x:%d", client->adapter->nr,
client            422 drivers/leds/leds-pca963x.c 				 client->addr, i);
client            430 drivers/leds/leds-pca963x.c 		err = led_classdev_register(&client->dev, &pca963x[i].led_cdev);
client            436 drivers/leds/leds-pca963x.c 	i2c_smbus_write_byte_data(client, PCA963X_MODE1, BIT(4));
client            439 drivers/leds/leds-pca963x.c 		u8 mode2 = i2c_smbus_read_byte_data(pca963x->chip->client,
client            449 drivers/leds/leds-pca963x.c 		i2c_smbus_write_byte_data(pca963x->chip->client, PCA963X_MODE2,
client            462 drivers/leds/leds-pca963x.c static int pca963x_remove(struct i2c_client *client)
client            464 drivers/leds/leds-pca963x.c 	struct pca963x *pca963x = i2c_get_clientdata(client);
client            177 drivers/leds/leds-tca6507.c 	struct i2c_client	*client;
client            333 drivers/leds/leds-tca6507.c 	dev_dbg(&tca->client->dev,
client            342 drivers/leds/leds-tca6507.c 	dev_dbg(&tca->client->dev,
client            360 drivers/leds/leds-tca6507.c 	struct i2c_client *cl = tca->client;
client            631 drivers/leds/leds-tca6507.c static int tca6507_probe_gpios(struct i2c_client *client,
client            657 drivers/leds/leds-tca6507.c 	tca->gpio.parent = &client->dev;
client            659 drivers/leds/leds-tca6507.c 	tca->gpio.of_node = of_node_get(client->dev.of_node);
client            677 drivers/leds/leds-tca6507.c static int tca6507_probe_gpios(struct i2c_client *client,
client            690 drivers/leds/leds-tca6507.c tca6507_led_dt_init(struct i2c_client *client)
client            692 drivers/leds/leds-tca6507.c 	struct device_node *np = client->dev.of_node, *child;
client            701 drivers/leds/leds-tca6507.c 	tca_leds = devm_kcalloc(&client->dev,
client            724 drivers/leds/leds-tca6507.c 	pdata = devm_kzalloc(&client->dev,
client            745 drivers/leds/leds-tca6507.c tca6507_led_dt_init(struct i2c_client *client)
client            752 drivers/leds/leds-tca6507.c static int tca6507_probe(struct i2c_client *client,
client            761 drivers/leds/leds-tca6507.c 	adapter = client->adapter;
client            762 drivers/leds/leds-tca6507.c 	pdata = dev_get_platdata(&client->dev);
client            768 drivers/leds/leds-tca6507.c 		pdata = tca6507_led_dt_init(client);
client            770 drivers/leds/leds-tca6507.c 			dev_err(&client->dev, "Need %d entries in platform-data list\n",
client            775 drivers/leds/leds-tca6507.c 	tca = devm_kzalloc(&client->dev, sizeof(*tca), GFP_KERNEL);
client            779 drivers/leds/leds-tca6507.c 	tca->client = client;
client            782 drivers/leds/leds-tca6507.c 	i2c_set_clientdata(client, tca);
client            796 drivers/leds/leds-tca6507.c 			err = led_classdev_register(&client->dev,
client            802 drivers/leds/leds-tca6507.c 	err = tca6507_probe_gpios(client, tca, pdata);
client            818 drivers/leds/leds-tca6507.c static int tca6507_remove(struct i2c_client *client)
client            821 drivers/leds/leds-tca6507.c 	struct tca6507_chip *tca = i2c_get_clientdata(client);
client            193 drivers/leds/leds-tlc591xx.c tlc591xx_probe(struct i2c_client *client,
client            196 drivers/leds/leds-tlc591xx.c 	struct device_node *np = client->dev.of_node, *child;
client            197 drivers/leds/leds-tlc591xx.c 	struct device *dev = &client->dev;
client            219 drivers/leds/leds-tlc591xx.c 	priv->regmap = devm_regmap_init_i2c(client, &tlc591xx_regmap);
client            227 drivers/leds/leds-tlc591xx.c 	i2c_set_clientdata(client, priv);
client            250 drivers/leds/leds-tlc591xx.c tlc591xx_remove(struct i2c_client *client)
client            252 drivers/leds/leds-tlc591xx.c 	struct tlc591xx_priv *priv = i2c_get_clientdata(client);
client             59 drivers/macintosh/ams/ams-i2c.c static int ams_i2c_probe(struct i2c_client *client,
client             61 drivers/macintosh/ams/ams-i2c.c static int ams_i2c_remove(struct i2c_client *client);
client            158 drivers/macintosh/ams/ams-i2c.c static int ams_i2c_probe(struct i2c_client *client,
client            168 drivers/macintosh/ams/ams-i2c.c 	ams_info.i2c_client = client;
client            233 drivers/macintosh/ams/ams-i2c.c static int ams_i2c_remove(struct i2c_client *client)
client            468 drivers/macintosh/therm_adt746x.c static int probe_thermostat(struct i2c_client *client,
client            471 drivers/macintosh/therm_adt746x.c 	struct device_node *np = client->dev.of_node;
client            504 drivers/macintosh/therm_adt746x.c 	i2c_set_clientdata(client, th);
client            505 drivers/macintosh/therm_adt746x.c 	th->clt = client;
client            510 drivers/macintosh/therm_adt746x.c 		dev_err(&client->dev, "Thermostat failed to read config!\n");
client            567 drivers/macintosh/therm_adt746x.c static int remove_thermostat(struct i2c_client *client)
client            569 drivers/macintosh/therm_adt746x.c 	struct thermostat *th = i2c_get_clientdata(client);
client            339 drivers/macintosh/therm_windtunnel.c do_remove(struct i2c_client *client)
client            346 drivers/macintosh/therm_windtunnel.c 	if (client == x.thermostat)
client            348 drivers/macintosh/therm_windtunnel.c 	else if (client == x.fan)
client            232 drivers/macintosh/windfarm_ad7417_sensor.c static int wf_ad7417_probe(struct i2c_client *client,
client            240 drivers/macintosh/windfarm_ad7417_sensor.c 	loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL);
client            242 drivers/macintosh/windfarm_ad7417_sensor.c 		dev_warn(&client->dev, "Missing hwsensor-location property!\n");
client            260 drivers/macintosh/windfarm_ad7417_sensor.c 		dev_err(&client->dev, "Failed to retrieve MPU data\n");
client            270 drivers/macintosh/windfarm_ad7417_sensor.c 	pv->i2c = client;
client            273 drivers/macintosh/windfarm_ad7417_sensor.c 	dev_set_drvdata(&client->dev, pv);
client            292 drivers/macintosh/windfarm_ad7417_sensor.c static int wf_ad7417_remove(struct i2c_client *client)
client            294 drivers/macintosh/windfarm_ad7417_sensor.c 	struct wf_ad7417_priv *pv = dev_get_drvdata(&client->dev);
client            519 drivers/macintosh/windfarm_fcu_controls.c static int wf_fcu_probe(struct i2c_client *client,
client            531 drivers/macintosh/windfarm_fcu_controls.c 	pv->i2c = client;
client            560 drivers/macintosh/windfarm_fcu_controls.c 	dev_set_drvdata(&client->dev, pv);
client            565 drivers/macintosh/windfarm_fcu_controls.c static int wf_fcu_remove(struct i2c_client *client)
client            567 drivers/macintosh/windfarm_fcu_controls.c 	struct wf_fcu_priv *pv = dev_get_drvdata(&client->dev);
client             91 drivers/macintosh/windfarm_lm75_sensor.c static int wf_lm75_probe(struct i2c_client *client,
client            101 drivers/macintosh/windfarm_lm75_sensor.c 		ds1775 = !!of_device_get_match_data(&client->dev);
client            104 drivers/macintosh/windfarm_lm75_sensor.c 	    ds1775 ? "ds1775" : "lm75", client->addr);
client            106 drivers/macintosh/windfarm_lm75_sensor.c 	loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL);
client            108 drivers/macintosh/windfarm_lm75_sensor.c 		dev_warn(&client->dev, "Missing hwsensor-location property!\n");
client            140 drivers/macintosh/windfarm_lm75_sensor.c 	lm->i2c = client;
client            143 drivers/macintosh/windfarm_lm75_sensor.c 	i2c_set_clientdata(client, lm);
client            151 drivers/macintosh/windfarm_lm75_sensor.c static int wf_lm75_remove(struct i2c_client *client)
client            153 drivers/macintosh/windfarm_lm75_sensor.c 	struct wf_lm75_sensor *lm = i2c_get_clientdata(client);
client             98 drivers/macintosh/windfarm_lm87_sensor.c static int wf_lm87_probe(struct i2c_client *client,
client            111 drivers/macintosh/windfarm_lm87_sensor.c 	for_each_child_of_node(client->dev.of_node, np) {
client            128 drivers/macintosh/windfarm_lm87_sensor.c 			   client->dev.of_node);
client            136 drivers/macintosh/windfarm_lm87_sensor.c 	lm->i2c = client;
client            140 drivers/macintosh/windfarm_lm87_sensor.c 	i2c_set_clientdata(client, lm);
client            148 drivers/macintosh/windfarm_lm87_sensor.c static int wf_lm87_remove(struct i2c_client *client)
client            150 drivers/macintosh/windfarm_lm87_sensor.c 	struct wf_lm87_sensor *lm = i2c_get_clientdata(client);
client             63 drivers/macintosh/windfarm_max6690_sensor.c static int wf_max6690_probe(struct i2c_client *client,
client             70 drivers/macintosh/windfarm_max6690_sensor.c 	loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL);
client             72 drivers/macintosh/windfarm_max6690_sensor.c 		dev_warn(&client->dev, "Missing hwsensor-location property!\n");
client             96 drivers/macintosh/windfarm_max6690_sensor.c 	max->i2c = client;
client             99 drivers/macintosh/windfarm_max6690_sensor.c 	i2c_set_clientdata(client, max);
client            107 drivers/macintosh/windfarm_max6690_sensor.c static int wf_max6690_remove(struct i2c_client *client)
client            109 drivers/macintosh/windfarm_max6690_sensor.c 	struct wf_6690_sensor *max = i2c_get_clientdata(client);
client            192 drivers/macintosh/windfarm_smu_sat.c static int wf_sat_probe(struct i2c_client *client,
client            195 drivers/macintosh/windfarm_smu_sat.c 	struct device_node *dev = client->dev.of_node;
client            213 drivers/macintosh/windfarm_smu_sat.c 	sat->i2c = client;
client            215 drivers/macintosh/windfarm_smu_sat.c 	i2c_set_clientdata(client, sat);
client            320 drivers/macintosh/windfarm_smu_sat.c static int wf_sat_remove(struct i2c_client *client)
client            322 drivers/macintosh/windfarm_smu_sat.c 	struct wf_sat *sat = i2c_get_clientdata(client);
client            276 drivers/mailbox/mailbox-test.c static void mbox_test_receive_message(struct mbox_client *client, void *message)
client            278 drivers/mailbox/mailbox-test.c 	struct mbox_test_device *tdev = dev_get_drvdata(client->dev);
client            299 drivers/mailbox/mailbox-test.c static void mbox_test_prepare_message(struct mbox_client *client, void *message)
client            301 drivers/mailbox/mailbox-test.c 	struct mbox_test_device *tdev = dev_get_drvdata(client->dev);
client            311 drivers/mailbox/mailbox-test.c static void mbox_test_message_sent(struct mbox_client *client,
client            315 drivers/mailbox/mailbox-test.c 		dev_warn(client->dev,
client            318 drivers/mailbox/mailbox-test.c 		dev_info(client->dev,
client            325 drivers/mailbox/mailbox-test.c 	struct mbox_client *client;
client            328 drivers/mailbox/mailbox-test.c 	client = devm_kzalloc(&pdev->dev, sizeof(*client), GFP_KERNEL);
client            329 drivers/mailbox/mailbox-test.c 	if (!client)
client            332 drivers/mailbox/mailbox-test.c 	client->dev		= &pdev->dev;
client            333 drivers/mailbox/mailbox-test.c 	client->rx_callback	= mbox_test_receive_message;
client            334 drivers/mailbox/mailbox-test.c 	client->tx_prepare	= mbox_test_prepare_message;
client            335 drivers/mailbox/mailbox-test.c 	client->tx_done		= mbox_test_message_sent;
client            336 drivers/mailbox/mailbox-test.c 	client->tx_block	= true;
client            337 drivers/mailbox/mailbox-test.c 	client->knows_txdone	= false;
client            338 drivers/mailbox/mailbox-test.c 	client->tx_tout		= 500;
client            340 drivers/mailbox/mailbox-test.c 	channel = mbox_request_channel_byname(client, name);
client            563 drivers/md/dm-bufio.c 		.client = b->c->dm_io,
client           1314 drivers/md/dm-bufio.c 		.client = c->dm_io,
client            484 drivers/md/dm-integrity.c 	io_req.client = ic->io;
client            966 drivers/md/dm-integrity.c 	io_req.client = ic->io;
client           1080 drivers/md/dm-integrity.c 	io_req.client = ic->io;
client           2420 drivers/md/dm-integrity.c 	io_req.client = ic->io;
client             36 drivers/md/dm-io.c 	struct dm_io_client *client;
client             50 drivers/md/dm-io.c 	struct dm_io_client *client;
client             54 drivers/md/dm-io.c 	client = kzalloc(sizeof(*client), GFP_KERNEL);
client             55 drivers/md/dm-io.c 	if (!client)
client             58 drivers/md/dm-io.c 	ret = mempool_init_slab_pool(&client->pool, min_ios, _dm_io_cache);
client             62 drivers/md/dm-io.c 	ret = bioset_init(&client->bios, min_ios, 0, BIOSET_NEED_BVECS);
client             66 drivers/md/dm-io.c 	return client;
client             69 drivers/md/dm-io.c 	mempool_exit(&client->pool);
client             70 drivers/md/dm-io.c 	kfree(client);
client             75 drivers/md/dm-io.c void dm_io_client_destroy(struct dm_io_client *client)
client             77 drivers/md/dm-io.c 	mempool_exit(&client->pool);
client             78 drivers/md/dm-io.c 	bioset_exit(&client->bios);
client             79 drivers/md/dm-io.c 	kfree(client);
client            124 drivers/md/dm-io.c 	mempool_free(io, &io->client->pool);
client            348 drivers/md/dm-io.c 		bio = bio_alloc_bioset(GFP_NOIO, num_bvecs, &io->client->bios);
client            432 drivers/md/dm-io.c static int sync_io(struct dm_io_client *client, unsigned int num_regions,
client            446 drivers/md/dm-io.c 	io = mempool_alloc(&client->pool, GFP_NOIO);
client            449 drivers/md/dm-io.c 	io->client = client;
client            466 drivers/md/dm-io.c static int async_io(struct dm_io_client *client, unsigned int num_regions,
client            478 drivers/md/dm-io.c 	io = mempool_alloc(&client->pool, GFP_NOIO);
client            481 drivers/md/dm-io.c 	io->client = client;
client            548 drivers/md/dm-io.c 		return sync_io(io_req->client, num_regions, where,
client            552 drivers/md/dm-io.c 	return async_io(io_req->client, num_regions, where, io_req->bi_op,
client            561 drivers/md/dm-kcopyd.c 		.client = job->kc->io_client,
client            461 drivers/md/dm-log.c 		lc->io_req.client = dm_io_client_create();
client            462 drivers/md/dm-log.c 		if (IS_ERR(lc->io_req.client)) {
client            463 drivers/md/dm-log.c 			r = PTR_ERR(lc->io_req.client);
client            472 drivers/md/dm-log.c 			dm_io_client_destroy(lc->io_req.client);
client            490 drivers/md/dm-log.c 			dm_io_client_destroy(lc->io_req.client);
client            505 drivers/md/dm-log.c 			dm_io_client_destroy(lc->io_req.client);
client            572 drivers/md/dm-log.c 	dm_io_client_destroy(lc->io_req.client);
client            267 drivers/md/dm-raid1.c 		.client = ms->io_client,
client            544 drivers/md/dm-raid1.c 		.client = m->ms->io_client,
client            658 drivers/md/dm-raid1.c 		.client = ms->io_client,
client            242 drivers/md/dm-snap-persistent.c 		.client = ps->io_client,
client            499 drivers/md/dm-snap-persistent.c 	struct dm_bufio_client *client;
client            502 drivers/md/dm-snap-persistent.c 	client = dm_bufio_client_create(dm_snap_cow(ps->store->snap)->bdev,
client            506 drivers/md/dm-snap-persistent.c 	if (IS_ERR(client))
client            507 drivers/md/dm-snap-persistent.c 		return PTR_ERR(client);
client            512 drivers/md/dm-snap-persistent.c 	dm_bufio_set_minimum_buffers(client, 1 + DM_PREFETCH_CHUNKS);
client            528 drivers/md/dm-snap-persistent.c 			if (unlikely(pf_chunk >= dm_bufio_get_device_size(client)))
client            530 drivers/md/dm-snap-persistent.c 			dm_bufio_prefetch(client, pf_chunk, 1);
client            538 drivers/md/dm-snap-persistent.c 		area = dm_bufio_read(client, chunk, &bp);
client            552 drivers/md/dm-snap-persistent.c 		dm_bufio_forget(client, chunk);
client            565 drivers/md/dm-snap-persistent.c 	dm_bufio_client_destroy(client);
client            485 drivers/md/dm-writecache.c 		req.client = wc->dm_io;
client            526 drivers/md/dm-writecache.c 	req.client = wc->dm_io;
client            893 drivers/md/dm-writecache.c 	req.client = wc->dm_io;
client            588 drivers/media/common/siano/smscoreapi.c 	struct smscore_client_t *client;
client            592 drivers/media/common/siano/smscoreapi.c 		client = (struct smscore_client_t *) coredev->clients.next;
client            593 drivers/media/common/siano/smscoreapi.c 		client->onremove_handler(client->context);
client           1448 drivers/media/common/siano/smscoreapi.c 	struct smscore_client_t *client;
client           1455 drivers/media/common/siano/smscoreapi.c 	list_for_each_entry(client, first, entry) {
client           1456 drivers/media/common/siano/smscoreapi.c 		firstid = &client->idlist;
client           1464 drivers/media/common/siano/smscoreapi.c 	client = NULL;
client           1467 drivers/media/common/siano/smscoreapi.c 	return client;
client           1483 drivers/media/common/siano/smscoreapi.c 	struct smscore_client_t *client;
client           1510 drivers/media/common/siano/smscoreapi.c 	client = smscore_find_client(coredev, phdr->msg_type, phdr->msg_dst_id);
client           1514 drivers/media/common/siano/smscoreapi.c 	if (client)
client           1515 drivers/media/common/siano/smscoreapi.c 		rc = client->onresponse_handler(client->context, cb);
client           1672 drivers/media/common/siano/smscoreapi.c 				   struct smscore_client_t *client,
client           1678 drivers/media/common/siano/smscoreapi.c 	if (!client) {
client           1683 drivers/media/common/siano/smscoreapi.c 	if (registered_client == client)
client           1696 drivers/media/common/siano/smscoreapi.c 	list_add_locked(&listentry->entry, &client->idlist,
client           1717 drivers/media/common/siano/smscoreapi.c 			    struct smscore_client_t **client)
client           1740 drivers/media/common/siano/smscoreapi.c 	*client = newclient;
client           1755 drivers/media/common/siano/smscoreapi.c void smscore_unregister_client(struct smscore_client_t *client)
client           1757 drivers/media/common/siano/smscoreapi.c 	struct smscore_device_t *coredev = client->coredev;
client           1763 drivers/media/common/siano/smscoreapi.c 	while (!list_empty(&client->idlist)) {
client           1765 drivers/media/common/siano/smscoreapi.c 			(struct smscore_idlist_t *) client->idlist.next;
client           1770 drivers/media/common/siano/smscoreapi.c 	pr_debug("%p\n", client->context);
client           1772 drivers/media/common/siano/smscoreapi.c 	list_del(&client->entry);
client           1773 drivers/media/common/siano/smscoreapi.c 	kfree(client);
client           1790 drivers/media/common/siano/smscoreapi.c int smsclient_sendrequest(struct smscore_client_t *client,
client           1797 drivers/media/common/siano/smscoreapi.c 	if (!client) {
client           1802 drivers/media/common/siano/smscoreapi.c 	coredev = client->coredev;
client           1810 drivers/media/common/siano/smscoreapi.c 	rc = smscore_validate_client(client->coredev, client, 0,
client           1133 drivers/media/common/siano/smscoreapi.h 				    struct smscore_client_t **client);
client           1134 drivers/media/common/siano/smscoreapi.h extern void smscore_unregister_client(struct smscore_client_t *client);
client           1136 drivers/media/common/siano/smscoreapi.h extern int smsclient_sendrequest(struct smscore_client_t *client,
client            323 drivers/media/common/siano/smsdvb-debugfs.c 	struct smsdvb_client_t *client = inode->i_private;
client            324 drivers/media/common/siano/smsdvb-debugfs.c 	struct smsdvb_debugfs *debug_data = client->debug_data;
client            447 drivers/media/common/siano/smsdvb-debugfs.c int smsdvb_debugfs_create(struct smsdvb_client_t *client)
client            449 drivers/media/common/siano/smsdvb-debugfs.c 	struct smscore_device_t *coredev = client->coredev;
client            456 drivers/media/common/siano/smsdvb-debugfs.c 	client->debugfs = debugfs_create_dir(coredev->devpath,
client            458 drivers/media/common/siano/smsdvb-debugfs.c 	if (IS_ERR_OR_NULL(client->debugfs)) {
client            464 drivers/media/common/siano/smsdvb-debugfs.c 	d = debugfs_create_file("stats", S_IRUGO | S_IWUSR, client->debugfs,
client            465 drivers/media/common/siano/smsdvb-debugfs.c 				client, &debugfs_stats_ops);
client            467 drivers/media/common/siano/smsdvb-debugfs.c 		debugfs_remove(client->debugfs);
client            471 drivers/media/common/siano/smsdvb-debugfs.c 	debug_data = kzalloc(sizeof(*client->debug_data), GFP_KERNEL);
client            475 drivers/media/common/siano/smsdvb-debugfs.c 	client->debug_data        = debug_data;
client            476 drivers/media/common/siano/smsdvb-debugfs.c 	client->prt_dvb_stats     = smsdvb_print_dvb_stats;
client            477 drivers/media/common/siano/smsdvb-debugfs.c 	client->prt_isdb_stats    = smsdvb_print_isdb_stats;
client            478 drivers/media/common/siano/smsdvb-debugfs.c 	client->prt_isdb_stats_ex = smsdvb_print_isdb_stats_ex;
client            487 drivers/media/common/siano/smsdvb-debugfs.c void smsdvb_debugfs_release(struct smsdvb_client_t *client)
client            489 drivers/media/common/siano/smsdvb-debugfs.c 	if (!client->debugfs)
client            492 drivers/media/common/siano/smsdvb-debugfs.c 	client->prt_dvb_stats     = NULL;
client            493 drivers/media/common/siano/smsdvb-debugfs.c 	client->prt_isdb_stats    = NULL;
client            494 drivers/media/common/siano/smsdvb-debugfs.c 	client->prt_isdb_stats_ex = NULL;
client            496 drivers/media/common/siano/smsdvb-debugfs.c 	debugfs_remove_recursive(client->debugfs);
client            497 drivers/media/common/siano/smsdvb-debugfs.c 	kref_put(&client->debug_data->refcount, smsdvb_debugfs_data_release);
client            499 drivers/media/common/siano/smsdvb-debugfs.c 	client->debug_data = NULL;
client            500 drivers/media/common/siano/smsdvb-debugfs.c 	client->debugfs = NULL;
client             64 drivers/media/common/siano/smsdvb-main.c static void sms_board_dvb3_event(struct smsdvb_client_t *client,
client             67 drivers/media/common/siano/smsdvb-main.c 	struct smscore_device_t *coredev = client->coredev;
client             82 drivers/media/common/siano/smsdvb-main.c 		if (client->event_fe_state != DVB3_EVENT_FE_LOCK) {
client             83 drivers/media/common/siano/smsdvb-main.c 			client->event_fe_state = DVB3_EVENT_FE_LOCK;
client             89 drivers/media/common/siano/smsdvb-main.c 		if (client->event_fe_state != DVB3_EVENT_FE_UNLOCK) {
client             90 drivers/media/common/siano/smsdvb-main.c 			client->event_fe_state = DVB3_EVENT_FE_UNLOCK;
client             96 drivers/media/common/siano/smsdvb-main.c 		if (client->event_unc_state != DVB3_EVENT_UNC_OK) {
client             97 drivers/media/common/siano/smsdvb-main.c 			client->event_unc_state = DVB3_EVENT_UNC_OK;
client            103 drivers/media/common/siano/smsdvb-main.c 		if (client->event_unc_state != DVB3_EVENT_UNC_ERR) {
client            104 drivers/media/common/siano/smsdvb-main.c 			client->event_unc_state = DVB3_EVENT_UNC_ERR;
client            118 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client =
client            120 drivers/media/common/siano/smsdvb-main.c 	struct smscore_device_t *coredev = client->coredev;
client            212 drivers/media/common/siano/smsdvb-main.c static void smsdvb_update_tx_params(struct smsdvb_client_t *client,
client            215 drivers/media/common/siano/smsdvb-main.c 	struct dvb_frontend *fe = &client->frontend;
client            219 drivers/media/common/siano/smsdvb-main.c 	client->fe_status = sms_to_status(p->is_demod_locked, 0);
client            229 drivers/media/common/siano/smsdvb-main.c static void smsdvb_update_per_slices(struct smsdvb_client_t *client,
client            232 drivers/media/common/siano/smsdvb-main.c 	struct dvb_frontend *fe = &client->frontend;
client            236 drivers/media/common/siano/smsdvb-main.c 	client->fe_status = sms_to_status(p->is_demod_locked, p->is_rf_locked);
client            250 drivers/media/common/siano/smsdvb-main.c 	client->last_per = c->block_error.stat[0].uvalue;
client            266 drivers/media/common/siano/smsdvb-main.c 	client->legacy_per = tmp;
client            269 drivers/media/common/siano/smsdvb-main.c static void smsdvb_update_dvb_stats(struct smsdvb_client_t *client,
client            272 drivers/media/common/siano/smsdvb-main.c 	struct dvb_frontend *fe = &client->frontend;
client            275 drivers/media/common/siano/smsdvb-main.c 	if (client->prt_dvb_stats)
client            276 drivers/media/common/siano/smsdvb-main.c 		client->prt_dvb_stats(client->debug_data, p);
client            278 drivers/media/common/siano/smsdvb-main.c 	client->fe_status = sms_to_status(p->is_demod_locked, p->is_rf_locked);
client            282 drivers/media/common/siano/smsdvb-main.c 	client->fe_status = sms_to_status(p->is_demod_locked, 0);
client            305 drivers/media/common/siano/smsdvb-main.c 	client->last_per = c->block_error.stat[0].uvalue;
client            318 drivers/media/common/siano/smsdvb-main.c 	client->legacy_ber = p->ber;
client            321 drivers/media/common/siano/smsdvb-main.c static void smsdvb_update_isdbt_stats(struct smsdvb_client_t *client,
client            324 drivers/media/common/siano/smsdvb-main.c 	struct dvb_frontend *fe = &client->frontend;
client            329 drivers/media/common/siano/smsdvb-main.c 	if (client->prt_isdb_stats)
client            330 drivers/media/common/siano/smsdvb-main.c 		client->prt_isdb_stats(client->debug_data, p);
client            332 drivers/media/common/siano/smsdvb-main.c 	client->fe_status = sms_to_status(p->is_demod_locked, p->is_rf_locked);
client            371 drivers/media/common/siano/smsdvb-main.c 	client->last_per = c->block_error.stat[0].uvalue;
client            417 drivers/media/common/siano/smsdvb-main.c static void smsdvb_update_isdbt_stats_ex(struct smsdvb_client_t *client,
client            420 drivers/media/common/siano/smsdvb-main.c 	struct dvb_frontend *fe = &client->frontend;
client            425 drivers/media/common/siano/smsdvb-main.c 	if (client->prt_isdb_stats_ex)
client            426 drivers/media/common/siano/smsdvb-main.c 		client->prt_isdb_stats_ex(client->debug_data, p);
client            430 drivers/media/common/siano/smsdvb-main.c 	client->fe_status = sms_to_status(p->is_demod_locked, 0);
client            455 drivers/media/common/siano/smsdvb-main.c 	client->last_per = c->block_error.stat[0].uvalue;
client            507 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client = (struct smsdvb_client_t *) context;
client            511 drivers/media/common/siano/smsdvb-main.c 	struct dvb_frontend *fe = &client->frontend;
client            521 drivers/media/common/siano/smsdvb-main.c 		if (client->feed_users && client->has_tuned)
client            522 drivers/media/common/siano/smsdvb-main.c 			dvb_dmx_swfilter(&client->demux, p,
client            528 drivers/media/common/siano/smsdvb-main.c 		complete(&client->tune_done);
client            532 drivers/media/common/siano/smsdvb-main.c 		client->fe_status = FE_HAS_SIGNAL  | FE_HAS_CARRIER |
client            540 drivers/media/common/siano/smsdvb-main.c 		client->fe_status = 0;
client            546 drivers/media/common/siano/smsdvb-main.c 		smsdvb_update_tx_params(client, p);
client            552 drivers/media/common/siano/smsdvb-main.c 		smsdvb_update_per_slices(client, p);
client            558 drivers/media/common/siano/smsdvb-main.c 		switch (smscore_get_device_mode(client->coredev)) {
client            561 drivers/media/common/siano/smsdvb-main.c 			smsdvb_update_isdbt_stats(client, p);
client            565 drivers/media/common/siano/smsdvb-main.c 			smsdvb_update_dvb_stats(client, p + sizeof(u32));
client            574 drivers/media/common/siano/smsdvb-main.c 		smsdvb_update_isdbt_stats_ex(client, p + sizeof(u32));
client            580 drivers/media/common/siano/smsdvb-main.c 	smscore_putbuffer(client->coredev, cb);
client            583 drivers/media/common/siano/smsdvb-main.c 		if (client->fe_status & FE_HAS_LOCK) {
client            584 drivers/media/common/siano/smsdvb-main.c 			sms_board_dvb3_event(client, DVB3_EVENT_FE_LOCK);
client            585 drivers/media/common/siano/smsdvb-main.c 			if (client->last_per == c->block_error.stat[0].uvalue)
client            586 drivers/media/common/siano/smsdvb-main.c 				sms_board_dvb3_event(client, DVB3_EVENT_UNC_OK);
client            588 drivers/media/common/siano/smsdvb-main.c 				sms_board_dvb3_event(client, DVB3_EVENT_UNC_ERR);
client            589 drivers/media/common/siano/smsdvb-main.c 			client->has_tuned = true;
client            592 drivers/media/common/siano/smsdvb-main.c 			client->has_tuned = false;
client            593 drivers/media/common/siano/smsdvb-main.c 			sms_board_dvb3_event(client, DVB3_EVENT_FE_UNLOCK);
client            595 drivers/media/common/siano/smsdvb-main.c 		complete(&client->stats_done);
client            601 drivers/media/common/siano/smsdvb-main.c static void smsdvb_media_device_unregister(struct smsdvb_client_t *client)
client            604 drivers/media/common/siano/smsdvb-main.c 	struct smscore_device_t *coredev = client->coredev;
client            615 drivers/media/common/siano/smsdvb-main.c static void smsdvb_unregister_client(struct smsdvb_client_t *client)
client            619 drivers/media/common/siano/smsdvb-main.c 	list_del(&client->entry);
client            621 drivers/media/common/siano/smsdvb-main.c 	smsdvb_debugfs_release(client);
client            622 drivers/media/common/siano/smsdvb-main.c 	smscore_unregister_client(client->smsclient);
client            623 drivers/media/common/siano/smsdvb-main.c 	dvb_unregister_frontend(&client->frontend);
client            624 drivers/media/common/siano/smsdvb-main.c 	dvb_dmxdev_release(&client->dmxdev);
client            625 drivers/media/common/siano/smsdvb-main.c 	dvb_dmx_release(&client->demux);
client            626 drivers/media/common/siano/smsdvb-main.c 	smsdvb_media_device_unregister(client);
client            627 drivers/media/common/siano/smsdvb-main.c 	dvb_unregister_adapter(&client->adapter);
client            628 drivers/media/common/siano/smsdvb-main.c 	kfree(client);
client            642 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client =
client            649 drivers/media/common/siano/smsdvb-main.c 	client->feed_users++;
client            658 drivers/media/common/siano/smsdvb-main.c 	return smsclient_sendrequest(client->smsclient,
client            664 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client =
client            671 drivers/media/common/siano/smsdvb-main.c 	client->feed_users--;
client            680 drivers/media/common/siano/smsdvb-main.c 	return smsclient_sendrequest(client->smsclient,
client            684 drivers/media/common/siano/smsdvb-main.c static int smsdvb_sendrequest_and_wait(struct smsdvb_client_t *client,
client            690 drivers/media/common/siano/smsdvb-main.c 	rc = smsclient_sendrequest(client->smsclient, buffer, size);
client            699 drivers/media/common/siano/smsdvb-main.c static int smsdvb_send_statistics_request(struct smsdvb_client_t *client)
client            705 drivers/media/common/siano/smsdvb-main.c 	if (client->get_stats_jiffies &&
client            706 drivers/media/common/siano/smsdvb-main.c 	   (!time_after(jiffies, client->get_stats_jiffies)))
client            708 drivers/media/common/siano/smsdvb-main.c 	client->get_stats_jiffies = jiffies + msecs_to_jiffies(100);
client            715 drivers/media/common/siano/smsdvb-main.c 	switch (smscore_get_device_mode(client->coredev)) {
client            721 drivers/media/common/siano/smsdvb-main.c 		if (client->coredev->fw_version >= 0x800)
client            730 drivers/media/common/siano/smsdvb-main.c 	rc = smsdvb_sendrequest_and_wait(client, &msg, sizeof(msg),
client            731 drivers/media/common/siano/smsdvb-main.c 					 &client->stats_done);
client            736 drivers/media/common/siano/smsdvb-main.c static inline int led_feedback(struct smsdvb_client_t *client)
client            738 drivers/media/common/siano/smsdvb-main.c 	if (!(client->fe_status & FE_HAS_LOCK))
client            739 drivers/media/common/siano/smsdvb-main.c 		return sms_board_led_feedback(client->coredev, SMS_LED_OFF);
client            741 drivers/media/common/siano/smsdvb-main.c 	return sms_board_led_feedback(client->coredev,
client            742 drivers/media/common/siano/smsdvb-main.c 				     (client->legacy_ber == 0) ?
client            749 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client;
client            750 drivers/media/common/siano/smsdvb-main.c 	client = container_of(fe, struct smsdvb_client_t, frontend);
client            752 drivers/media/common/siano/smsdvb-main.c 	rc = smsdvb_send_statistics_request(client);
client            754 drivers/media/common/siano/smsdvb-main.c 	*stat = client->fe_status;
client            756 drivers/media/common/siano/smsdvb-main.c 	led_feedback(client);
client            764 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client;
client            766 drivers/media/common/siano/smsdvb-main.c 	client = container_of(fe, struct smsdvb_client_t, frontend);
client            768 drivers/media/common/siano/smsdvb-main.c 	rc = smsdvb_send_statistics_request(client);
client            770 drivers/media/common/siano/smsdvb-main.c 	*ber = client->legacy_ber;
client            772 drivers/media/common/siano/smsdvb-main.c 	led_feedback(client);
client            782 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client;
client            784 drivers/media/common/siano/smsdvb-main.c 	client = container_of(fe, struct smsdvb_client_t, frontend);
client            786 drivers/media/common/siano/smsdvb-main.c 	rc = smsdvb_send_statistics_request(client);
client            795 drivers/media/common/siano/smsdvb-main.c 	led_feedback(client);
client            804 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client;
client            806 drivers/media/common/siano/smsdvb-main.c 	client = container_of(fe, struct smsdvb_client_t, frontend);
client            808 drivers/media/common/siano/smsdvb-main.c 	rc = smsdvb_send_statistics_request(client);
client            813 drivers/media/common/siano/smsdvb-main.c 	led_feedback(client);
client            822 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client;
client            824 drivers/media/common/siano/smsdvb-main.c 	client = container_of(fe, struct smsdvb_client_t, frontend);
client            826 drivers/media/common/siano/smsdvb-main.c 	rc = smsdvb_send_statistics_request(client);
client            830 drivers/media/common/siano/smsdvb-main.c 	led_feedback(client);
client            849 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client =
client            859 drivers/media/common/siano/smsdvb-main.c 	client->fe_status = 0;
client            860 drivers/media/common/siano/smsdvb-main.c 	client->event_fe_state = -1;
client            861 drivers/media/common/siano/smsdvb-main.c 	client->event_unc_state = -1;
client            891 drivers/media/common/siano/smsdvb-main.c 	ret = sms_board_lna_control(client->coredev, 0);
client            896 drivers/media/common/siano/smsdvb-main.c 		ret = smsdvb_sendrequest_and_wait(client, &msg, sizeof(msg),
client            897 drivers/media/common/siano/smsdvb-main.c 						  &client->tune_done);
client            905 drivers/media/common/siano/smsdvb-main.c 		sms_board_lna_control(client->coredev, 1);
client            908 drivers/media/common/siano/smsdvb-main.c 	return smsdvb_sendrequest_and_wait(client, &msg, sizeof(msg),
client            909 drivers/media/common/siano/smsdvb-main.c 					   &client->tune_done);
client            915 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client =
client            917 drivers/media/common/siano/smsdvb-main.c 	int board_id = smscore_get_board_id(client->coredev);
client            962 drivers/media/common/siano/smsdvb-main.c 	ret = sms_board_lna_control(client->coredev, 0);
client            967 drivers/media/common/siano/smsdvb-main.c 		ret = smsdvb_sendrequest_and_wait(client, &msg, sizeof(msg),
client            968 drivers/media/common/siano/smsdvb-main.c 						  &client->tune_done);
client            976 drivers/media/common/siano/smsdvb-main.c 		sms_board_lna_control(client->coredev, 1);
client            978 drivers/media/common/siano/smsdvb-main.c 	return smsdvb_sendrequest_and_wait(client, &msg, sizeof(msg),
client            979 drivers/media/common/siano/smsdvb-main.c 					   &client->tune_done);
client            985 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client =
client            987 drivers/media/common/siano/smsdvb-main.c 	struct smscore_device_t *coredev = client->coredev;
client            993 drivers/media/common/siano/smsdvb-main.c 	client->has_tuned = false;
client           1009 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client =
client           1012 drivers/media/common/siano/smsdvb-main.c 	sms_board_power(client->coredev, 1);
client           1014 drivers/media/common/siano/smsdvb-main.c 	sms_board_dvb3_event(client, DVB3_EVENT_INIT);
client           1020 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client =
client           1023 drivers/media/common/siano/smsdvb-main.c 	sms_board_led_feedback(client->coredev, SMS_LED_OFF);
client           1024 drivers/media/common/siano/smsdvb-main.c 	sms_board_power(client->coredev, 0);
client           1026 drivers/media/common/siano/smsdvb-main.c 	sms_board_dvb3_event(client, DVB3_EVENT_SLEEP);
client           1071 drivers/media/common/siano/smsdvb-main.c 	struct smsdvb_client_t *client;
client           1077 drivers/media/common/siano/smsdvb-main.c 	client = kzalloc(sizeof(struct smsdvb_client_t), GFP_KERNEL);
client           1078 drivers/media/common/siano/smsdvb-main.c 	if (!client)
client           1082 drivers/media/common/siano/smsdvb-main.c 	rc = dvb_register_adapter(&client->adapter,
client           1090 drivers/media/common/siano/smsdvb-main.c 	dvb_register_media_controller(&client->adapter, coredev->media_dev);
client           1093 drivers/media/common/siano/smsdvb-main.c 	client->demux.dmx.capabilities = DMX_TS_FILTERING;
client           1094 drivers/media/common/siano/smsdvb-main.c 	client->demux.filternum = 32; /* todo: nova ??? */
client           1095 drivers/media/common/siano/smsdvb-main.c 	client->demux.feednum = 32;
client           1096 drivers/media/common/siano/smsdvb-main.c 	client->demux.start_feed = smsdvb_start_feed;
client           1097 drivers/media/common/siano/smsdvb-main.c 	client->demux.stop_feed = smsdvb_stop_feed;
client           1099 drivers/media/common/siano/smsdvb-main.c 	rc = dvb_dmx_init(&client->demux);
client           1106 drivers/media/common/siano/smsdvb-main.c 	client->dmxdev.filternum = 32;
client           1107 drivers/media/common/siano/smsdvb-main.c 	client->dmxdev.demux = &client->demux.dmx;
client           1108 drivers/media/common/siano/smsdvb-main.c 	client->dmxdev.capabilities = 0;
client           1110 drivers/media/common/siano/smsdvb-main.c 	rc = dvb_dmxdev_init(&client->dmxdev, &client->adapter);
client           1117 drivers/media/common/siano/smsdvb-main.c 	memcpy(&client->frontend.ops, &smsdvb_fe_ops,
client           1123 drivers/media/common/siano/smsdvb-main.c 		client->frontend.ops.delsys[0] = SYS_DVBT;
client           1127 drivers/media/common/siano/smsdvb-main.c 		client->frontend.ops.delsys[0] = SYS_ISDBT;
client           1131 drivers/media/common/siano/smsdvb-main.c 	rc = dvb_register_frontend(&client->adapter, &client->frontend);
client           1141 drivers/media/common/siano/smsdvb-main.c 	params.context = client;
client           1143 drivers/media/common/siano/smsdvb-main.c 	rc = smscore_register_client(coredev, &params, &client->smsclient);
client           1149 drivers/media/common/siano/smsdvb-main.c 	client->coredev = coredev;
client           1151 drivers/media/common/siano/smsdvb-main.c 	init_completion(&client->tune_done);
client           1152 drivers/media/common/siano/smsdvb-main.c 	init_completion(&client->stats_done);
client           1156 drivers/media/common/siano/smsdvb-main.c 	list_add(&client->entry, &g_smsdvb_clients);
client           1160 drivers/media/common/siano/smsdvb-main.c 	client->event_fe_state = -1;
client           1161 drivers/media/common/siano/smsdvb-main.c 	client->event_unc_state = -1;
client           1162 drivers/media/common/siano/smsdvb-main.c 	sms_board_dvb3_event(client, DVB3_EVENT_HOTPLUG);
client           1166 drivers/media/common/siano/smsdvb-main.c 	if (smsdvb_debugfs_create(client) < 0)
client           1169 drivers/media/common/siano/smsdvb-main.c 	rc = dvb_create_media_graph(&client->adapter, true);
client           1179 drivers/media/common/siano/smsdvb-main.c 	dvb_unregister_frontend(&client->frontend);
client           1182 drivers/media/common/siano/smsdvb-main.c 	dvb_dmxdev_release(&client->dmxdev);
client           1185 drivers/media/common/siano/smsdvb-main.c 	dvb_dmx_release(&client->demux);
client           1188 drivers/media/common/siano/smsdvb-main.c 	smsdvb_media_device_unregister(client);
client           1189 drivers/media/common/siano/smsdvb-main.c 	dvb_unregister_adapter(&client->adapter);
client           1192 drivers/media/common/siano/smsdvb-main.c 	kfree(client);
client             96 drivers/media/common/siano/smsdvb.h int smsdvb_debugfs_create(struct smsdvb_client_t *client);
client             97 drivers/media/common/siano/smsdvb.h void smsdvb_debugfs_release(struct smsdvb_client_t *client);
client            103 drivers/media/common/siano/smsdvb.h static inline int smsdvb_debugfs_create(struct smsdvb_client_t *client)
client            108 drivers/media/common/siano/smsdvb.h static inline void smsdvb_debugfs_release(struct smsdvb_client_t *client) {}
client            971 drivers/media/dvb-core/dvbdev.c 	struct i2c_client *client;
client            986 drivers/media/dvb-core/dvbdev.c 	client = i2c_new_device(adap, board_info);
client            987 drivers/media/dvb-core/dvbdev.c 	if (client == NULL || client->dev.driver == NULL) {
client            992 drivers/media/dvb-core/dvbdev.c 	if (!try_module_get(client->dev.driver->owner)) {
client            993 drivers/media/dvb-core/dvbdev.c 		i2c_unregister_device(client);
client            994 drivers/media/dvb-core/dvbdev.c 		client = NULL;
client            998 drivers/media/dvb-core/dvbdev.c 	return client;
client           1002 drivers/media/dvb-core/dvbdev.c void dvb_module_release(struct i2c_client *client)
client           1004 drivers/media/dvb-core/dvbdev.c 	if (!client)
client           1007 drivers/media/dvb-core/dvbdev.c 	module_put(client->dev.driver->owner);
client           1008 drivers/media/dvb-core/dvbdev.c 	i2c_unregister_device(client);
client             11 drivers/media/dvb-frontends/a8293.c 	struct i2c_client *client;
client             19 drivers/media/dvb-frontends/a8293.c 	struct i2c_client *client = dev->client;
client             23 drivers/media/dvb-frontends/a8293.c 	dev_dbg(&client->dev, "fe_sec_voltage=%d\n", fe_sec_voltage);
client             43 drivers/media/dvb-frontends/a8293.c 		ret = i2c_master_send(client, &reg0, 1);
client             52 drivers/media/dvb-frontends/a8293.c 		ret = i2c_master_send(client, &reg1, 1);
client             61 drivers/media/dvb-frontends/a8293.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             65 drivers/media/dvb-frontends/a8293.c static int a8293_probe(struct i2c_client *client,
client             69 drivers/media/dvb-frontends/a8293.c 	struct a8293_platform_data *pdata = client->dev.platform_data;
client             80 drivers/media/dvb-frontends/a8293.c 	dev->client = client;
client             83 drivers/media/dvb-frontends/a8293.c 	ret = i2c_master_recv(client, buf, 2);
client             90 drivers/media/dvb-frontends/a8293.c 	i2c_set_clientdata(client, dev);
client             92 drivers/media/dvb-frontends/a8293.c 	dev_info(&client->dev, "Allegro A8293 SEC successfully attached\n");
client             97 drivers/media/dvb-frontends/a8293.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            101 drivers/media/dvb-frontends/a8293.c static int a8293_remove(struct i2c_client *client)
client            103 drivers/media/dvb-frontends/a8293.c 	struct a8293_dev *dev = i2c_get_clientdata(client);
client            105 drivers/media/dvb-frontends/a8293.c 	dev_dbg(&client->dev, "\n");
client             14 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client;
client             45 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client = state->client;
client             50 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "gpio %u, gpioval %02x\n", gpio, gpioval);
client             91 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client            108 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client = state->client;
client            115 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "frequency %u, bandwidth_hz %u\n",
client            158 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "if_frequency %u\n", if_frequency);
client            231 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "invalid transmission_mode\n");
client            251 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "invalid guard_interval\n");
client            271 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "invalid hierarchy\n");
client            288 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "invalid modulation\n");
client            314 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "invalid code_rate_HP\n");
client            339 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "invalid code_rate_LP\n");
client            353 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "invalid bandwidth_hz\n");
client            368 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "auto params\n");
client            379 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "manual params\n");
client            393 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client            401 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client = state->client;
client            405 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "\n");
client            511 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client            518 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client = state->client;
client            524 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "\n");
client            555 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "fe_status %02x\n", utmp1);
client            590 drivers/media/dvb-frontends/af9013.c 			dev_dbg(&client->dev,
client            620 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev,
client            649 drivers/media/dvb-frontends/af9013.c 			dev_dbg(&client->dev, "cnr not ready\n");
client            700 drivers/media/dvb-frontends/af9013.c 			dev_dbg(&client->dev, "invalid modulation %u\n",
client            706 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "cnr %u\n", utmp1);
client            731 drivers/media/dvb-frontends/af9013.c 			dev_dbg(&client->dev, "ber not ready\n");
client            759 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "post_bit_error %u, post_bit_count %u\n",
client            761 drivers/media/dvb-frontends/af9013.c 		dev_dbg(&client->dev, "block_error %u, block_count %u\n",
client            789 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client            832 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client = state->client;
client            838 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "\n");
client            892 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "load demod core settings\n");
client            903 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "load tuner specific settings\n");
client            973 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client            980 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client = state->client;
client            984 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "\n");
client           1019 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client           1027 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client = state->client;
client           1035 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "\n");
client           1042 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "firmware status %02x\n", utmp);
client           1047 drivers/media/dvb-frontends/af9013.c 	dev_info(&client->dev, "found a '%s' in cold state, will try to load a firmware\n",
client           1051 drivers/media/dvb-frontends/af9013.c 	ret = request_firmware(&firmware, name, &client->dev);
client           1053 drivers/media/dvb-frontends/af9013.c 		dev_info(&client->dev, "firmware file '%s' not found %d\n",
client           1058 drivers/media/dvb-frontends/af9013.c 	dev_info(&client->dev, "downloading firmware from file '%s'\n",
client           1082 drivers/media/dvb-frontends/af9013.c 			dev_err(&client->dev, "firmware download failed %d\n",
client           1102 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "firmware status %02x\n", utmp);
client           1106 drivers/media/dvb-frontends/af9013.c 		dev_err(&client->dev, "firmware did not run\n");
client           1110 drivers/media/dvb-frontends/af9013.c 		dev_err(&client->dev, "firmware boot timeout\n");
client           1114 drivers/media/dvb-frontends/af9013.c 	dev_info(&client->dev, "found a '%s' in warm state\n",
client           1121 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client           1166 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client = state->client;
client           1169 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "onoff %d\n", onoff);
client           1177 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client           1185 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client = state->client;
client           1189 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "index %d, pid %04x, onoff %d\n",
client           1209 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client           1213 drivers/media/dvb-frontends/af9013.c static struct dvb_frontend *af9013_get_dvb_frontend(struct i2c_client *client)
client           1215 drivers/media/dvb-frontends/af9013.c 	struct af9013_state *state = i2c_get_clientdata(client);
client           1217 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "\n");
client           1222 drivers/media/dvb-frontends/af9013.c static struct i2c_adapter *af9013_get_i2c_adapter(struct i2c_client *client)
client           1224 drivers/media/dvb-frontends/af9013.c 	struct af9013_state *state = i2c_get_clientdata(client);
client           1226 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "\n");
client           1239 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client = state->client;
client           1242 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "\n");
client           1253 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client           1260 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client = state->client;
client           1263 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "\n");
client           1274 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client           1279 drivers/media/dvb-frontends/af9013.c static int af9013_wregs(struct i2c_client *client, u8 cmd, u16 reg,
client           1286 drivers/media/dvb-frontends/af9013.c 			.addr = client->addr,
client           1304 drivers/media/dvb-frontends/af9013.c 		i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT);
client           1305 drivers/media/dvb-frontends/af9013.c 	ret = __i2c_transfer(client->adapter, msg, 1);
client           1307 drivers/media/dvb-frontends/af9013.c 		i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT);
client           1317 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client           1321 drivers/media/dvb-frontends/af9013.c static int af9013_rregs(struct i2c_client *client, u8 cmd, u16 reg,
client           1328 drivers/media/dvb-frontends/af9013.c 			.addr = client->addr,
client           1333 drivers/media/dvb-frontends/af9013.c 			.addr = client->addr,
client           1345 drivers/media/dvb-frontends/af9013.c 		i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT);
client           1346 drivers/media/dvb-frontends/af9013.c 	ret = __i2c_transfer(client->adapter, msg, 2);
client           1348 drivers/media/dvb-frontends/af9013.c 		i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT);
client           1358 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client           1364 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client = context;
client           1365 drivers/media/dvb-frontends/af9013.c 	struct af9013_state *state = i2c_get_clientdata(client);
client           1375 drivers/media/dvb-frontends/af9013.c 		ret = af9013_wregs(client, cmd, reg, val, len, lock);
client           1381 drivers/media/dvb-frontends/af9013.c 		ret = af9013_wregs(client, cmd, reg, val, len, lock);
client           1387 drivers/media/dvb-frontends/af9013.c 			ret = af9013_wregs(client, cmd, reg + i, val + i, 1,
client           1396 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client           1403 drivers/media/dvb-frontends/af9013.c 	struct i2c_client *client = context;
client           1404 drivers/media/dvb-frontends/af9013.c 	struct af9013_state *state = i2c_get_clientdata(client);
client           1414 drivers/media/dvb-frontends/af9013.c 		ret = af9013_rregs(client, cmd, reg, val_buf, len, lock);
client           1420 drivers/media/dvb-frontends/af9013.c 			ret = af9013_rregs(client, cmd, reg + i, val + i, 1,
client           1429 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client           1433 drivers/media/dvb-frontends/af9013.c static int af9013_probe(struct i2c_client *client,
client           1437 drivers/media/dvb-frontends/af9013.c 	struct af9013_platform_data *pdata = client->dev.platform_data;
client           1457 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "\n");
client           1460 drivers/media/dvb-frontends/af9013.c 	state->client = client;
client           1461 drivers/media/dvb-frontends/af9013.c 	i2c_set_clientdata(client, state);
client           1470 drivers/media/dvb-frontends/af9013.c 	state->regmap = regmap_init(&client->dev, &regmap_bus, client,
client           1477 drivers/media/dvb-frontends/af9013.c 	state->muxc = i2c_mux_alloc(client->adapter, &client->dev, 1, 0, 0,
client           1527 drivers/media/dvb-frontends/af9013.c 	dev_info(&client->dev, "Afatech AF9013 successfully attached\n");
client           1528 drivers/media/dvb-frontends/af9013.c 	dev_info(&client->dev, "firmware version: %d.%d.%d.%d\n",
client           1539 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "failed %d\n", ret);
client           1543 drivers/media/dvb-frontends/af9013.c static int af9013_remove(struct i2c_client *client)
client           1545 drivers/media/dvb-frontends/af9013.c 	struct af9013_state *state = i2c_get_clientdata(client);
client           1547 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "\n");
client             12 drivers/media/dvb-frontends/af9033.c 	struct i2c_client *client;
client             35 drivers/media/dvb-frontends/af9033.c 	struct i2c_client *client = dev->client;
client             40 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "tab_len=%d\n", tab_len);
client             43 drivers/media/dvb-frontends/af9033.c 		dev_warn(&client->dev, "tab len %d is too big\n", tab_len);
client             64 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             71 drivers/media/dvb-frontends/af9033.c 	struct i2c_client *client = dev->client;
client            106 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "\n");
client            118 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "clk=%u clk_cw=%08x\n", dev->cfg.clock, utmp);
client            126 drivers/media/dvb-frontends/af9033.c 		dev_err(&client->dev, "Couldn't find ADC config for clock %d\n",
client            139 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "adc=%u adc_cw=%06x\n",
client            175 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "load ofsm settings\n");
client            200 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "load tuner specific settings\n");
client            251 drivers/media/dvb-frontends/af9033.c 		dev_dbg(&client->dev, "unsupported tuner ID=%d\n",
client            299 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            306 drivers/media/dvb-frontends/af9033.c 	struct i2c_client *client = dev->client;
client            310 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "\n");
client            339 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            357 drivers/media/dvb-frontends/af9033.c 	struct i2c_client *client = dev->client;
client            364 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "frequency=%u bandwidth_hz=%u\n",
client            379 drivers/media/dvb-frontends/af9033.c 		dev_dbg(&client->dev, "invalid bandwidth_hz\n");
client            397 drivers/media/dvb-frontends/af9033.c 			dev_err(&client->dev,
client            417 drivers/media/dvb-frontends/af9033.c 			dev_err(&client->dev,
client            447 drivers/media/dvb-frontends/af9033.c 		dev_dbg(&client->dev, "if_frequency_cw=%06x\n", utmp);
client            481 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            489 drivers/media/dvb-frontends/af9033.c 	struct i2c_client *client = dev->client;
client            493 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "\n");
client            607 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            614 drivers/media/dvb-frontends/af9033.c 	struct i2c_client *client = dev->client;
client            620 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "\n");
client            762 drivers/media/dvb-frontends/af9033.c 		dev_dbg(&client->dev, "cnr=%u\n", utmp1);
client            814 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            821 drivers/media/dvb-frontends/af9033.c 	struct i2c_client *client = dev->client;
client            826 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "\n");
client            864 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            871 drivers/media/dvb-frontends/af9033.c 	struct i2c_client *client = dev->client;
client            877 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "\n");
client            921 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            947 drivers/media/dvb-frontends/af9033.c 	struct i2c_client *client = dev->client;
client            950 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "enable=%d\n", enable);
client            958 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            965 drivers/media/dvb-frontends/af9033.c 	struct i2c_client *client = dev->client;
client            968 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "onoff=%d\n", onoff);
client            976 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            984 drivers/media/dvb-frontends/af9033.c 	struct i2c_client *client = dev->client;
client            988 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "index=%d pid=%04x onoff=%d\n",
client           1006 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client           1050 drivers/media/dvb-frontends/af9033.c static int af9033_probe(struct i2c_client *client,
client           1053 drivers/media/dvb-frontends/af9033.c 	struct af9033_config *cfg = client->dev.platform_data;
client           1071 drivers/media/dvb-frontends/af9033.c 	dev->client = client;
client           1088 drivers/media/dvb-frontends/af9033.c 		dev_err(&client->dev,
client           1095 drivers/media/dvb-frontends/af9033.c 	dev->regmap = regmap_init_i2c(client, &regmap_config);
client           1125 drivers/media/dvb-frontends/af9033.c 	dev_info(&client->dev,
client           1150 drivers/media/dvb-frontends/af9033.c 	i2c_set_clientdata(client, dev);
client           1152 drivers/media/dvb-frontends/af9033.c 	dev_info(&client->dev, "Afatech AF9033 successfully attached\n");
client           1160 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client           1164 drivers/media/dvb-frontends/af9033.c static int af9033_remove(struct i2c_client *client)
client           1166 drivers/media/dvb-frontends/af9033.c 	struct af9033_dev *dev = i2c_get_clientdata(client);
client           1168 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "\n");
client            672 drivers/media/dvb-frontends/au8522_decoder.c static int au8522_probe(struct i2c_client *client,
client            684 drivers/media/dvb-frontends/au8522_decoder.c 	if (!i2c_check_functionality(client->adapter,
client            690 drivers/media/dvb-frontends/au8522_decoder.c 	instance = au8522_get_state(&state, client->adapter, client->addr);
client            706 drivers/media/dvb-frontends/au8522_decoder.c 	state->i2c = client->adapter;
client            709 drivers/media/dvb-frontends/au8522_decoder.c 	v4l2_i2c_subdev_init(sd, client, &au8522_ops);
client            723 drivers/media/dvb-frontends/au8522_decoder.c 		v4l_info(client, "failed to initialize media entity!\n");
client            748 drivers/media/dvb-frontends/au8522_decoder.c 	state->c = client;
client            761 drivers/media/dvb-frontends/au8522_decoder.c static int au8522_remove(struct i2c_client *client)
client            763 drivers/media/dvb-frontends/au8522_decoder.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             39 drivers/media/dvb-frontends/cxd2099.c 	struct i2c_client *client;
client            223 drivers/media/dvb-frontends/cxd2099.c 		dev_info(&ci->client->dev, "enable cam buffer mode\n");
client            468 drivers/media/dvb-frontends/cxd2099.c 	dev_dbg(&ci->client->dev, "%s\n", __func__);
client            527 drivers/media/dvb-frontends/cxd2099.c 				dev_info(&ci->client->dev, "NO CAM\n");
client            610 drivers/media/dvb-frontends/cxd2099.c static int cxd2099_probe(struct i2c_client *client,
client            614 drivers/media/dvb-frontends/cxd2099.c 	struct cxd2099_cfg *cfg = client->dev.platform_data;
client            628 drivers/media/dvb-frontends/cxd2099.c 	ci->client = client;
client            631 drivers/media/dvb-frontends/cxd2099.c 	ci->regmap = regmap_init_i2c(client, &rm_cfg);
client            639 drivers/media/dvb-frontends/cxd2099.c 		dev_info(&client->dev, "No CXD2099AR detected at 0x%02x\n",
client            640 drivers/media/dvb-frontends/cxd2099.c 			 client->addr);
client            652 drivers/media/dvb-frontends/cxd2099.c 	dev_info(&client->dev, "Attached CXD2099AR at 0x%02x\n", client->addr);
client            660 drivers/media/dvb-frontends/cxd2099.c 		dev_info(&client->dev, "Using CXD2099AR buffer mode");
client            663 drivers/media/dvb-frontends/cxd2099.c 	i2c_set_clientdata(client, ci);
client            676 drivers/media/dvb-frontends/cxd2099.c static int cxd2099_remove(struct i2c_client *client)
client            678 drivers/media/dvb-frontends/cxd2099.c 	struct cxd *ci = i2c_get_clientdata(client);
client             14 drivers/media/dvb-frontends/cxd2820r_c.c 	struct i2c_client *client = priv->client[0];
client             38 drivers/media/dvb-frontends/cxd2820r_c.c 	dev_dbg(&client->dev,
client             61 drivers/media/dvb-frontends/cxd2820r_c.c 		dev_dbg(&client->dev, "if_frequency=%u\n", if_frequency);
client             84 drivers/media/dvb-frontends/cxd2820r_c.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             92 drivers/media/dvb-frontends/cxd2820r_c.c 	struct i2c_client *client = priv->client[0];
client             97 drivers/media/dvb-frontends/cxd2820r_c.c 	dev_dbg(&client->dev, "\n");
client            138 drivers/media/dvb-frontends/cxd2820r_c.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            145 drivers/media/dvb-frontends/cxd2820r_c.c 	struct i2c_client *client = priv->client[0];
client            172 drivers/media/dvb-frontends/cxd2820r_c.c 	dev_dbg(&client->dev, "status=%02x raw=%*ph sync=%u ts=%u\n",
client            274 drivers/media/dvb-frontends/cxd2820r_c.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            281 drivers/media/dvb-frontends/cxd2820r_c.c 	struct i2c_client *client = priv->client[0];
client            284 drivers/media/dvb-frontends/cxd2820r_c.c 	dev_dbg(&client->dev, "\n");
client            292 drivers/media/dvb-frontends/cxd2820r_c.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            299 drivers/media/dvb-frontends/cxd2820r_c.c 	struct i2c_client *client = priv->client[0];
client            309 drivers/media/dvb-frontends/cxd2820r_c.c 	dev_dbg(&client->dev, "\n");
client            319 drivers/media/dvb-frontends/cxd2820r_c.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             15 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client             20 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "tab_len=%d\n", tab_len);
client             42 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             49 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client             54 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "delivery_system=%d\n", c->delivery_system);
client             81 drivers/media/dvb-frontends/cxd2820r_core.c 		dev_dbg(&client->dev, "gpio i=%d %02x %02x\n", i, tmp0, tmp1);
client             84 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "wr gpio=%02x %02x\n", tmp0, tmp1);
client            100 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            107 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            111 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "delivery_system=%d\n", c->delivery_system);
client            139 drivers/media/dvb-frontends/cxd2820r_core.c 		dev_dbg(&client->dev, "invalid delivery_system\n");
client            150 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            154 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "delivery_system=%d\n", c->delivery_system);
client            177 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            181 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "delivery_system=%d\n", c->delivery_system);
client            206 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            209 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "delivery_system=%d\n", c->delivery_system);
client            220 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            223 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "delivery_system=%d\n", c->delivery_system);
client            236 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            239 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "delivery_system=%d\n", c->delivery_system);
client            252 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            255 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "delivery_system=%d\n", c->delivery_system);
client            270 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            274 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "delivery_system=%d\n", c->delivery_system);
client            297 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            301 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "delivery_system=%d\n", c->delivery_system);
client            323 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            328 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "delivery_system=%d\n", c->delivery_system);
client            369 drivers/media/dvb-frontends/cxd2820r_core.c 		dev_dbg(&client->dev, "loop=%d\n", i);
client            389 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            401 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            403 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "\n");
client            405 drivers/media/dvb-frontends/cxd2820r_core.c 	i2c_unregister_device(client);
client            413 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            415 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg_ratelimited(&client->dev, "enable=%d\n", enable);
client            425 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            428 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "nr=%u val=%d\n", nr, val);
client            439 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            442 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "nr=%u val=%d\n", nr, val);
client            455 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client = priv->client[0];
client            457 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "nr=%u\n", nr);
client            518 drivers/media/dvb-frontends/cxd2820r_core.c 	struct i2c_client *client;
client            533 drivers/media/dvb-frontends/cxd2820r_core.c 	client = i2c_new_device(adapter, &board_info);
client            534 drivers/media/dvb-frontends/cxd2820r_core.c 	if (!client || !client->dev.driver)
client            537 drivers/media/dvb-frontends/cxd2820r_core.c 	return pdata.get_dvb_frontend(client);
client            541 drivers/media/dvb-frontends/cxd2820r_core.c static struct dvb_frontend *cxd2820r_get_dvb_frontend(struct i2c_client *client)
client            543 drivers/media/dvb-frontends/cxd2820r_core.c 	struct cxd2820r_priv *priv = i2c_get_clientdata(client);
client            545 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "\n");
client            550 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_probe(struct i2c_client *client,
client            553 drivers/media/dvb-frontends/cxd2820r_core.c 	struct cxd2820r_platform_data *pdata = client->dev.platform_data;
client            596 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "\n");
client            604 drivers/media/dvb-frontends/cxd2820r_core.c 	priv->client[0] = client;
client            606 drivers/media/dvb-frontends/cxd2820r_core.c 	priv->i2c = client->adapter;
client            612 drivers/media/dvb-frontends/cxd2820r_core.c 	priv->regmap[0] = regmap_init_i2c(priv->client[0], &regmap_config0);
client            623 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "chip_id=%02x\n", utmp);
client            635 drivers/media/dvb-frontends/cxd2820r_core.c 	priv->client[1] = i2c_new_dummy_device(client->adapter, client->addr | (1 << 1));
client            636 drivers/media/dvb-frontends/cxd2820r_core.c 	if (IS_ERR(priv->client[1])) {
client            637 drivers/media/dvb-frontends/cxd2820r_core.c 		ret = PTR_ERR(priv->client[1]);
client            638 drivers/media/dvb-frontends/cxd2820r_core.c 		dev_err(&client->dev, "I2C registration failed\n");
client            642 drivers/media/dvb-frontends/cxd2820r_core.c 	priv->regmap[1] = regmap_init_i2c(priv->client[1], &regmap_config1);
client            652 drivers/media/dvb-frontends/cxd2820r_core.c 		priv->gpio_chip.parent = &client->dev;
client            664 drivers/media/dvb-frontends/cxd2820r_core.c 		dev_dbg(&client->dev, "gpio_chip.base=%d\n",
client            687 drivers/media/dvb-frontends/cxd2820r_core.c 	i2c_set_clientdata(client, priv);
client            692 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_info(&client->dev, "Sony CXD2820R successfully identified\n");
client            698 drivers/media/dvb-frontends/cxd2820r_core.c 	i2c_unregister_device(priv->client[1]);
client            704 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            708 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_remove(struct i2c_client *client)
client            710 drivers/media/dvb-frontends/cxd2820r_core.c 	struct cxd2820r_priv *priv = i2c_get_clientdata(client);
client            712 drivers/media/dvb-frontends/cxd2820r_core.c 	dev_dbg(&client->dev, "\n");
client            719 drivers/media/dvb-frontends/cxd2820r_core.c 	i2c_unregister_device(priv->client[1]);
client             29 drivers/media/dvb-frontends/cxd2820r_priv.h 	struct i2c_client *client[2];
client             14 drivers/media/dvb-frontends/cxd2820r_t.c 	struct i2c_client *client = priv->client[0];
client             46 drivers/media/dvb-frontends/cxd2820r_t.c 	dev_dbg(&client->dev,
client             86 drivers/media/dvb-frontends/cxd2820r_t.c 		dev_dbg(&client->dev, "if_frequency=%u\n", if_frequency);
client            122 drivers/media/dvb-frontends/cxd2820r_t.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            130 drivers/media/dvb-frontends/cxd2820r_t.c 	struct i2c_client *client = priv->client[0];
client            135 drivers/media/dvb-frontends/cxd2820r_t.c 	dev_dbg(&client->dev, "\n");
client            243 drivers/media/dvb-frontends/cxd2820r_t.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            250 drivers/media/dvb-frontends/cxd2820r_t.c 	struct i2c_client *client = priv->client[0];
client            277 drivers/media/dvb-frontends/cxd2820r_t.c 	dev_dbg(&client->dev, "status=%02x raw=%*ph sync=%u ts=%u\n",
client            368 drivers/media/dvb-frontends/cxd2820r_t.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            375 drivers/media/dvb-frontends/cxd2820r_t.c 	struct i2c_client *client = priv->client[0];
client            378 drivers/media/dvb-frontends/cxd2820r_t.c 	dev_dbg(&client->dev, "\n");
client            386 drivers/media/dvb-frontends/cxd2820r_t.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            393 drivers/media/dvb-frontends/cxd2820r_t.c 	struct i2c_client *client = priv->client[0];
client            403 drivers/media/dvb-frontends/cxd2820r_t.c 	dev_dbg(&client->dev, "\n");
client            413 drivers/media/dvb-frontends/cxd2820r_t.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             14 drivers/media/dvb-frontends/cxd2820r_t2.c 	struct i2c_client *client = priv->client[0];
client             60 drivers/media/dvb-frontends/cxd2820r_t2.c 	dev_dbg(&client->dev,
client            103 drivers/media/dvb-frontends/cxd2820r_t2.c 		dev_dbg(&client->dev, "if_frequency=%u\n", if_frequency);
client            119 drivers/media/dvb-frontends/cxd2820r_t2.c 		dev_dbg(&client->dev, "disable PLP filtering\n");
client            124 drivers/media/dvb-frontends/cxd2820r_t2.c 		dev_dbg(&client->dev, "enable PLP filtering\n");
client            151 drivers/media/dvb-frontends/cxd2820r_t2.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            160 drivers/media/dvb-frontends/cxd2820r_t2.c 	struct i2c_client *client = priv->client[0];
client            165 drivers/media/dvb-frontends/cxd2820r_t2.c 	dev_dbg(&client->dev, "\n");
client            271 drivers/media/dvb-frontends/cxd2820r_t2.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            279 drivers/media/dvb-frontends/cxd2820r_t2.c 	struct i2c_client *client = priv->client[0];
client            302 drivers/media/dvb-frontends/cxd2820r_t2.c 	dev_dbg(&client->dev, "status=%02x raw=%*ph sync=%u ts=%u\n",
client            380 drivers/media/dvb-frontends/cxd2820r_t2.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            387 drivers/media/dvb-frontends/cxd2820r_t2.c 	struct i2c_client *client = priv->client[0];
client            398 drivers/media/dvb-frontends/cxd2820r_t2.c 	dev_dbg(&client->dev, "\n");
client            408 drivers/media/dvb-frontends/cxd2820r_t2.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            957 drivers/media/dvb-frontends/dib8000.c static u16 dib8000_identify(struct i2c_device *client)
client            962 drivers/media/dvb-frontends/dib8000.c 	value = dib8000_i2c_read16(client, 896);
client            964 drivers/media/dvb-frontends/dib8000.c 	if ((value = dib8000_i2c_read16(client, 896)) != 0x01b3) {
client            969 drivers/media/dvb-frontends/dib8000.c 	value = dib8000_i2c_read16(client, 897);
client           4269 drivers/media/dvb-frontends/dib8000.c 	struct i2c_device client = {.adap = host };
client           4271 drivers/media/dvb-frontends/dib8000.c 	client.i2c_write_buffer = kzalloc(4, GFP_KERNEL);
client           4272 drivers/media/dvb-frontends/dib8000.c 	if (!client.i2c_write_buffer) {
client           4276 drivers/media/dvb-frontends/dib8000.c 	client.i2c_read_buffer = kzalloc(4, GFP_KERNEL);
client           4277 drivers/media/dvb-frontends/dib8000.c 	if (!client.i2c_read_buffer) {
client           4282 drivers/media/dvb-frontends/dib8000.c 	client.i2c_buffer_lock = kzalloc(sizeof(struct mutex), GFP_KERNEL);
client           4283 drivers/media/dvb-frontends/dib8000.c 	if (!client.i2c_buffer_lock) {
client           4288 drivers/media/dvb-frontends/dib8000.c 	mutex_init(client.i2c_buffer_lock);
client           4294 drivers/media/dvb-frontends/dib8000.c 		client.addr = new_addr;
client           4296 drivers/media/dvb-frontends/dib8000.c 			dib8000_i2c_write16(&client, 1287, 0x0003);	/* sram lead in, rdy */
client           4297 drivers/media/dvb-frontends/dib8000.c 		if (dib8000_identify(&client) == 0) {
client           4300 drivers/media/dvb-frontends/dib8000.c 				dib8000_i2c_write16(&client, 1287, 0x0003);
client           4301 drivers/media/dvb-frontends/dib8000.c 			client.addr = default_addr;
client           4302 drivers/media/dvb-frontends/dib8000.c 			if (dib8000_identify(&client) == 0) {
client           4310 drivers/media/dvb-frontends/dib8000.c 		dib8000_i2c_write16(&client, 1286, (1 << 10) | (4 << 6));
client           4313 drivers/media/dvb-frontends/dib8000.c 		dib8000_i2c_write16(&client, 1285, (new_addr << 2) | 0x2);
client           4314 drivers/media/dvb-frontends/dib8000.c 		client.addr = new_addr;
client           4315 drivers/media/dvb-frontends/dib8000.c 		dib8000_identify(&client);
client           4322 drivers/media/dvb-frontends/dib8000.c 		client.addr = new_addr;
client           4325 drivers/media/dvb-frontends/dib8000.c 		dib8000_i2c_write16(&client, 1285, new_addr << 2);
client           4328 drivers/media/dvb-frontends/dib8000.c 		dib8000_i2c_write16(&client, 1286, 0);
client           4332 drivers/media/dvb-frontends/dib8000.c 	kfree(client.i2c_buffer_lock);
client           4334 drivers/media/dvb-frontends/dib8000.c 	kfree(client.i2c_read_buffer);
client           4336 drivers/media/dvb-frontends/dib8000.c 	kfree(client.i2c_write_buffer);
client            851 drivers/media/dvb-frontends/dib9000.c static u16 dib9000_identify(struct i2c_device *client)
client            855 drivers/media/dvb-frontends/dib9000.c 	value = dib9000_i2c_read16(client, 896);
client            861 drivers/media/dvb-frontends/dib9000.c 	value = dib9000_i2c_read16(client, 897);
client            868 drivers/media/dvb-frontends/dib9000.c 	if (value == 0x4000 && dib9000_i2c_read16(client, 769) == 0x4000) {
client           2379 drivers/media/dvb-frontends/dib9000.c 	struct i2c_device client = {.i2c_adap = i2c };
client           2381 drivers/media/dvb-frontends/dib9000.c 	client.i2c_write_buffer = kzalloc(4, GFP_KERNEL);
client           2382 drivers/media/dvb-frontends/dib9000.c 	if (!client.i2c_write_buffer) {
client           2386 drivers/media/dvb-frontends/dib9000.c 	client.i2c_read_buffer = kzalloc(4, GFP_KERNEL);
client           2387 drivers/media/dvb-frontends/dib9000.c 	if (!client.i2c_read_buffer) {
client           2393 drivers/media/dvb-frontends/dib9000.c 	client.i2c_addr = default_addr + 16;
client           2394 drivers/media/dvb-frontends/dib9000.c 	dib9000_i2c_write16(&client, 1796, 0x0);
client           2399 drivers/media/dvb-frontends/dib9000.c 		client.i2c_addr = default_addr;
client           2401 drivers/media/dvb-frontends/dib9000.c 		dib9000_i2c_write16(&client, 1817, 3);
client           2402 drivers/media/dvb-frontends/dib9000.c 		dib9000_i2c_write16(&client, 1796, 0);
client           2403 drivers/media/dvb-frontends/dib9000.c 		dib9000_i2c_write16(&client, 1227, 1);
client           2404 drivers/media/dvb-frontends/dib9000.c 		dib9000_i2c_write16(&client, 1227, 0);
client           2406 drivers/media/dvb-frontends/dib9000.c 		client.i2c_addr = new_addr;
client           2407 drivers/media/dvb-frontends/dib9000.c 		dib9000_i2c_write16(&client, 1817, 3);
client           2408 drivers/media/dvb-frontends/dib9000.c 		dib9000_i2c_write16(&client, 1796, 0);
client           2409 drivers/media/dvb-frontends/dib9000.c 		dib9000_i2c_write16(&client, 1227, 1);
client           2410 drivers/media/dvb-frontends/dib9000.c 		dib9000_i2c_write16(&client, 1227, 0);
client           2412 drivers/media/dvb-frontends/dib9000.c 		if (dib9000_identify(&client) == 0) {
client           2413 drivers/media/dvb-frontends/dib9000.c 			client.i2c_addr = default_addr;
client           2414 drivers/media/dvb-frontends/dib9000.c 			if (dib9000_identify(&client) == 0) {
client           2421 drivers/media/dvb-frontends/dib9000.c 		dib9000_i2c_write16(&client, 1795, (1 << 10) | (4 << 6));
client           2422 drivers/media/dvb-frontends/dib9000.c 		dib9000_i2c_write16(&client, 1794, (new_addr << 2) | 2);
client           2429 drivers/media/dvb-frontends/dib9000.c 		client.i2c_addr = new_addr;
client           2431 drivers/media/dvb-frontends/dib9000.c 		dib9000_i2c_write16(&client, 1794, (new_addr << 2));
client           2432 drivers/media/dvb-frontends/dib9000.c 		dib9000_i2c_write16(&client, 1795, 0);
client           2436 drivers/media/dvb-frontends/dib9000.c 	kfree(client.i2c_read_buffer);
client           2438 drivers/media/dvb-frontends/dib9000.c 	kfree(client.i2c_write_buffer);
client            873 drivers/media/dvb-frontends/dvb-pll.c dvb_pll_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            879 drivers/media/dvb-frontends/dvb-pll.c 	cfg = client->dev.platform_data;
client            881 drivers/media/dvb-frontends/dvb-pll.c 	i2c_set_clientdata(client, fe);
client            884 drivers/media/dvb-frontends/dvb-pll.c 	if (!dvb_pll_attach(fe, client->addr, client->adapter, desc_id))
client            898 drivers/media/dvb-frontends/dvb-pll.c 	dev_info(&client->dev, "DVB Simple Tuner attached.\n");
client            902 drivers/media/dvb-frontends/dvb-pll.c static int dvb_pll_remove(struct i2c_client *client)
client            904 drivers/media/dvb-frontends/dvb-pll.c 	struct dvb_frontend *fe = i2c_get_clientdata(client);
client           1066 drivers/media/dvb-frontends/helene.c static int helene_probe(struct i2c_client *client,
client           1069 drivers/media/dvb-frontends/helene.c 	struct helene_config *config = client->dev.platform_data;
client           1071 drivers/media/dvb-frontends/helene.c 	struct device *dev = &client->dev;
client           1078 drivers/media/dvb-frontends/helene.c 	priv->i2c_address = client->addr;
client           1079 drivers/media/dvb-frontends/helene.c 	priv->i2c = client->adapter;
client           1096 drivers/media/dvb-frontends/helene.c 	i2c_set_clientdata(client, priv);
client           2180 drivers/media/dvb-frontends/lgdt3306a.c 	struct i2c_client *client = i2c_mux_priv(muxc);
client           2181 drivers/media/dvb-frontends/lgdt3306a.c 	struct lgdt3306a_state *state = i2c_get_clientdata(client);
client           2188 drivers/media/dvb-frontends/lgdt3306a.c 	struct i2c_client *client = i2c_mux_priv(muxc);
client           2189 drivers/media/dvb-frontends/lgdt3306a.c 	struct lgdt3306a_state *state = i2c_get_clientdata(client);
client           2194 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_probe(struct i2c_client *client,
client           2202 drivers/media/dvb-frontends/lgdt3306a.c 	config = kmemdup(client->dev.platform_data,
client           2209 drivers/media/dvb-frontends/lgdt3306a.c 	config->i2c_addr = client->addr;
client           2210 drivers/media/dvb-frontends/lgdt3306a.c 	fe = lgdt3306a_attach(config, client->adapter);
client           2216 drivers/media/dvb-frontends/lgdt3306a.c 	i2c_set_clientdata(client, fe->demodulator_priv);
client           2221 drivers/media/dvb-frontends/lgdt3306a.c 	state->muxc = i2c_mux_alloc(client->adapter, &client->dev,
client           2228 drivers/media/dvb-frontends/lgdt3306a.c 	state->muxc->priv = client;
client           2238 drivers/media/dvb-frontends/lgdt3306a.c 	dev_info(&client->dev, "LG Electronics LGDT3306A successfully identified\n");
client           2247 drivers/media/dvb-frontends/lgdt3306a.c 	dev_warn(&client->dev, "probe failed = %d\n", ret);
client           2251 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_remove(struct i2c_client *client)
client           2253 drivers/media/dvb-frontends/lgdt3306a.c 	struct lgdt3306a_state *state = i2c_get_clientdata(client);
client             44 drivers/media/dvb-frontends/lgdt330x.c 		dev_printk(KERN_DEBUG, &state->client->dev, fmt, ##arg);\
client             48 drivers/media/dvb-frontends/lgdt330x.c 	struct i2c_client *client;
client             73 drivers/media/dvb-frontends/lgdt330x.c 		err = i2c_master_send(state->client, buf, 2);
client             75 drivers/media/dvb-frontends/lgdt330x.c 			dev_warn(&state->client->dev,
client             98 drivers/media/dvb-frontends/lgdt330x.c 			.addr = state->client->addr,
client            103 drivers/media/dvb-frontends/lgdt330x.c 			.addr = state->client->addr,
client            111 drivers/media/dvb-frontends/lgdt330x.c 	ret = i2c_transfer(state->client->adapter, msg, 2);
client            113 drivers/media/dvb-frontends/lgdt330x.c 		dev_warn(&state->client->dev,
client            115 drivers/media/dvb-frontends/lgdt330x.c 			 __func__, state->client->addr, reg, ret);
client            281 drivers/media/dvb-frontends/lgdt330x.c 		dev_warn(&state->client->dev,
client            399 drivers/media/dvb-frontends/lgdt330x.c 			dev_warn(&state->client->dev,
client            405 drivers/media/dvb-frontends/lgdt330x.c 			dev_warn(&state->client->dev,
client            522 drivers/media/dvb-frontends/lgdt330x.c 		dev_err(&state->client->dev,
client            569 drivers/media/dvb-frontends/lgdt330x.c 		dev_err(&state->client->dev,
client            674 drivers/media/dvb-frontends/lgdt330x.c 		dev_warn(&state->client->dev,
client            780 drivers/media/dvb-frontends/lgdt330x.c 		dev_warn(&state->client->dev,
client            841 drivers/media/dvb-frontends/lgdt330x.c 	struct i2c_client *client = state->client;
client            843 drivers/media/dvb-frontends/lgdt330x.c 	dev_dbg(&client->dev, "\n");
client            845 drivers/media/dvb-frontends/lgdt330x.c 	i2c_unregister_device(client);
client            848 drivers/media/dvb-frontends/lgdt330x.c static struct dvb_frontend *lgdt330x_get_dvb_frontend(struct i2c_client *client)
client            850 drivers/media/dvb-frontends/lgdt330x.c 	struct lgdt330x_state *state = i2c_get_clientdata(client);
client            852 drivers/media/dvb-frontends/lgdt330x.c 	dev_dbg(&client->dev, "\n");
client            860 drivers/media/dvb-frontends/lgdt330x.c static int lgdt330x_probe(struct i2c_client *client,
client            872 drivers/media/dvb-frontends/lgdt330x.c 	memcpy(&state->config, client->dev.platform_data,
client            874 drivers/media/dvb-frontends/lgdt330x.c 	i2c_set_clientdata(client, state);
client            875 drivers/media/dvb-frontends/lgdt330x.c 	state->client = client;
client            902 drivers/media/dvb-frontends/lgdt330x.c 	dev_info(&state->client->dev,
client            911 drivers/media/dvb-frontends/lgdt330x.c 		dev_printk(KERN_DEBUG, &client->dev, "Error loading lgdt330x driver\n");
client            918 drivers/media/dvb-frontends/lgdt330x.c 	struct i2c_client *client;
client            925 drivers/media/dvb-frontends/lgdt330x.c 	client = i2c_new_device(i2c, &board_info);
client            926 drivers/media/dvb-frontends/lgdt330x.c 	if (!client || !client->dev.driver)
client            929 drivers/media/dvb-frontends/lgdt330x.c 	return lgdt330x_get_dvb_frontend(client);
client            977 drivers/media/dvb-frontends/lgdt330x.c static int lgdt330x_remove(struct i2c_client *client)
client            979 drivers/media/dvb-frontends/lgdt330x.c 	struct lgdt330x_state *state = i2c_get_clientdata(client);
client            981 drivers/media/dvb-frontends/lgdt330x.c 	dev_dbg(&client->dev, "\n");
client             37 drivers/media/dvb-frontends/m88ds3103.c 	struct i2c_client *client = dev->client;
client             41 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "tab_len=%d\n", tab_len);
client             63 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             87 drivers/media/dvb-frontends/m88ds3103.c 	struct i2c_client *client = dev->client;
client            122 drivers/media/dvb-frontends/m88ds3103.c 		dev_dbg(&client->dev, "invalid delivery_system\n");
client            128 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "lock=%02x status=%02x\n", utmp, *status);
client            185 drivers/media/dvb-frontends/m88ds3103.c 			dev_dbg(&client->dev, "invalid delivery_system\n");
client            271 drivers/media/dvb-frontends/m88ds3103.c 			dev_dbg(&client->dev, "invalid delivery_system\n");
client            287 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            294 drivers/media/dvb-frontends/m88ds3103.c 	struct i2c_client *client = dev->client;
client            307 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev,
client            389 drivers/media/dvb-frontends/m88ds3103.c 			dev_dbg(&client->dev, "invalid ts_mode\n");
client            444 drivers/media/dvb-frontends/m88ds3103.c 		dev_dbg(&client->dev, "invalid delivery_system\n");
client            496 drivers/media/dvb-frontends/m88ds3103.c 		dev_dbg(&client->dev, "invalid ts_mode\n");
client            525 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "target_mclk=%u ts_clk=%u ts_clk_divide_ratio=%u\n",
client            581 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "carrier offset=%d\n",
client            605 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            612 drivers/media/dvb-frontends/m88ds3103.c 	struct i2c_client *client = dev->client;
client            619 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "\n");
client            640 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "firmware=%02x\n", utmp);
client            654 drivers/media/dvb-frontends/m88ds3103.c 	dev_info(&client->dev, "found a '%s' in cold state\n",
client            662 drivers/media/dvb-frontends/m88ds3103.c 	ret = request_firmware(&firmware, name, &client->dev);
client            664 drivers/media/dvb-frontends/m88ds3103.c 		dev_err(&client->dev, "firmware file '%s' not found\n", name);
client            668 drivers/media/dvb-frontends/m88ds3103.c 	dev_info(&client->dev, "downloading firmware from file '%s'\n", name);
client            680 drivers/media/dvb-frontends/m88ds3103.c 			dev_err(&client->dev, "firmware download failed %d\n",
client            698 drivers/media/dvb-frontends/m88ds3103.c 		dev_info(&client->dev, "firmware did not run\n");
client            702 drivers/media/dvb-frontends/m88ds3103.c 	dev_info(&client->dev, "found a '%s' in warm state\n",
client            704 drivers/media/dvb-frontends/m88ds3103.c 	dev_info(&client->dev, "firmware version: %X.%X\n",
client            723 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            730 drivers/media/dvb-frontends/m88ds3103.c 	struct i2c_client *client = dev->client;
client            734 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "\n");
client            761 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            769 drivers/media/dvb-frontends/m88ds3103.c 	struct i2c_client *client = dev->client;
client            773 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "\n");
client            816 drivers/media/dvb-frontends/m88ds3103.c 			dev_dbg(&client->dev, "invalid fec_inner\n");
client            864 drivers/media/dvb-frontends/m88ds3103.c 			dev_dbg(&client->dev, "invalid fec_inner\n");
client            890 drivers/media/dvb-frontends/m88ds3103.c 			dev_dbg(&client->dev, "invalid modulation\n");
client            913 drivers/media/dvb-frontends/m88ds3103.c 			dev_dbg(&client->dev, "invalid rolloff\n");
client            917 drivers/media/dvb-frontends/m88ds3103.c 		dev_dbg(&client->dev, "invalid delivery_system\n");
client            930 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            959 drivers/media/dvb-frontends/m88ds3103.c 	struct i2c_client *client = dev->client;
client            963 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "fe_sec_tone_mode=%d\n", fe_sec_tone_mode);
client            980 drivers/media/dvb-frontends/m88ds3103.c 		dev_dbg(&client->dev, "invalid fe_sec_tone_mode\n");
client            997 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client           1005 drivers/media/dvb-frontends/m88ds3103.c 	struct i2c_client *client = dev->client;
client           1010 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "fe_sec_voltage=%d\n", fe_sec_voltage);
client           1031 drivers/media/dvb-frontends/m88ds3103.c 		dev_dbg(&client->dev, "invalid fe_sec_voltage\n");
client           1047 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client           1055 drivers/media/dvb-frontends/m88ds3103.c 	struct i2c_client *client = dev->client;
client           1060 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "msg=%*ph\n",
client           1104 drivers/media/dvb-frontends/m88ds3103.c 		dev_dbg(&client->dev, "diseqc tx took %u ms\n",
client           1108 drivers/media/dvb-frontends/m88ds3103.c 		dev_dbg(&client->dev, "diseqc tx timeout\n");
client           1126 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client           1134 drivers/media/dvb-frontends/m88ds3103.c 	struct i2c_client *client = dev->client;
client           1139 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "fe_sec_mini_cmd=%d\n", fe_sec_mini_cmd);
client           1159 drivers/media/dvb-frontends/m88ds3103.c 		dev_dbg(&client->dev, "invalid fe_sec_mini_cmd\n");
client           1183 drivers/media/dvb-frontends/m88ds3103.c 		dev_dbg(&client->dev, "diseqc tx took %u ms\n",
client           1187 drivers/media/dvb-frontends/m88ds3103.c 		dev_dbg(&client->dev, "diseqc tx timeout\n");
client           1205 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client           1220 drivers/media/dvb-frontends/m88ds3103.c 	struct i2c_client *client = dev->client;
client           1222 drivers/media/dvb-frontends/m88ds3103.c 	i2c_unregister_device(client);
client           1228 drivers/media/dvb-frontends/m88ds3103.c 	struct i2c_client *client = dev->client;
client           1231 drivers/media/dvb-frontends/m88ds3103.c 		.addr = client->addr,
client           1238 drivers/media/dvb-frontends/m88ds3103.c 	ret = __i2c_transfer(client->adapter, &msg, 1);
client           1240 drivers/media/dvb-frontends/m88ds3103.c 		dev_warn(&client->dev, "i2c wr failed=%d\n", ret);
client           1258 drivers/media/dvb-frontends/m88ds3103.c 	struct i2c_client *client;
client           1280 drivers/media/dvb-frontends/m88ds3103.c 	client = i2c_new_device(i2c, &board_info);
client           1281 drivers/media/dvb-frontends/m88ds3103.c 	if (!client || !client->dev.driver)
client           1284 drivers/media/dvb-frontends/m88ds3103.c 	*tuner_i2c_adapter = pdata.get_i2c_adapter(client);
client           1285 drivers/media/dvb-frontends/m88ds3103.c 	return pdata.get_dvb_frontend(client);
client           1334 drivers/media/dvb-frontends/m88ds3103.c static struct dvb_frontend *m88ds3103_get_dvb_frontend(struct i2c_client *client)
client           1336 drivers/media/dvb-frontends/m88ds3103.c 	struct m88ds3103_dev *dev = i2c_get_clientdata(client);
client           1338 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "\n");
client           1343 drivers/media/dvb-frontends/m88ds3103.c static struct i2c_adapter *m88ds3103_get_i2c_adapter(struct i2c_client *client)
client           1345 drivers/media/dvb-frontends/m88ds3103.c 	struct m88ds3103_dev *dev = i2c_get_clientdata(client);
client           1347 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "\n");
client           1352 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_probe(struct i2c_client *client,
client           1356 drivers/media/dvb-frontends/m88ds3103.c 	struct m88ds3103_platform_data *pdata = client->dev.platform_data;
client           1366 drivers/media/dvb-frontends/m88ds3103.c 	dev->client = client;
client           1384 drivers/media/dvb-frontends/m88ds3103.c 	dev->regmap = devm_regmap_init_i2c(client, &dev->regmap_config);
client           1396 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "chip_id=%02x\n", dev->chip_id);
client           1404 drivers/media/dvb-frontends/m88ds3103.c 		dev_err(&client->dev, "Unknown device. Chip_id=%02x\n", dev->chip_id);
client           1449 drivers/media/dvb-frontends/m88ds3103.c 	dev->muxc = i2c_mux_alloc(client->adapter, &client->dev, 1, 0, 0,
client           1468 drivers/media/dvb-frontends/m88ds3103.c 	i2c_set_clientdata(client, dev);
client           1477 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client           1481 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_remove(struct i2c_client *client)
client           1483 drivers/media/dvb-frontends/m88ds3103.c 	struct m88ds3103_dev *dev = i2c_get_clientdata(client);
client           1485 drivers/media/dvb-frontends/m88ds3103.c 	dev_dbg(&client->dev, "\n");
client             25 drivers/media/dvb-frontends/m88ds3103_priv.h 	struct i2c_client *client;
client            667 drivers/media/dvb-frontends/mn88443x.c static int mn88443x_probe(struct i2c_client *client,
client            670 drivers/media/dvb-frontends/mn88443x.c 	struct mn88443x_config *conf = client->dev.platform_data;
client            672 drivers/media/dvb-frontends/mn88443x.c 	struct device *dev = &client->dev;
client            716 drivers/media/dvb-frontends/mn88443x.c 	chip->client_s = client;
client            725 drivers/media/dvb-frontends/mn88443x.c 	chip->client_t = i2c_new_dummy_device(client->adapter, client->addr + 4);
client            739 drivers/media/dvb-frontends/mn88443x.c 	i2c_set_clientdata(client, chip);
client            753 drivers/media/dvb-frontends/mn88443x.c static int mn88443x_remove(struct i2c_client *client)
client            755 drivers/media/dvb-frontends/mn88443x.c 	struct mn88443x_priv *chip = i2c_get_clientdata(client);
client             19 drivers/media/dvb-frontends/mn88472.c 	struct i2c_client *client = fe->demodulator_priv;
client             20 drivers/media/dvb-frontends/mn88472.c 	struct mn88472_dev *dev = i2c_get_clientdata(client);
client             82 drivers/media/dvb-frontends/mn88472.c 		dev_dbg(&client->dev, "strength=%u\n", utmp1);
client            104 drivers/media/dvb-frontends/mn88472.c 			dev_dbg(&client->dev, "cnr=%d value=%u\n", stmp, utmp);
client            129 drivers/media/dvb-frontends/mn88472.c 				dev_dbg(&client->dev, "cnr=%d value=%u MISO\n",
client            137 drivers/media/dvb-frontends/mn88472.c 				dev_dbg(&client->dev, "cnr=%d value=%u SISO\n",
client            161 drivers/media/dvb-frontends/mn88472.c 			dev_dbg(&client->dev, "cnr=%d signal=%u noise=%u\n",
client            181 drivers/media/dvb-frontends/mn88472.c 		dev_dbg(&client->dev, "block_error=%u block_count=%u\n",
client            195 drivers/media/dvb-frontends/mn88472.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            201 drivers/media/dvb-frontends/mn88472.c 	struct i2c_client *client = fe->demodulator_priv;
client            202 drivers/media/dvb-frontends/mn88472.c 	struct mn88472_dev *dev = i2c_get_clientdata(client);
client            211 drivers/media/dvb-frontends/mn88472.c 	dev_dbg(&client->dev,
client            293 drivers/media/dvb-frontends/mn88472.c 		dev_dbg(&client->dev, "get_if_frequency=%d\n", if_frequency);
client            390 drivers/media/dvb-frontends/mn88472.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            396 drivers/media/dvb-frontends/mn88472.c 	struct i2c_client *client = fe->demodulator_priv;
client            397 drivers/media/dvb-frontends/mn88472.c 	struct mn88472_dev *dev = i2c_get_clientdata(client);
client            403 drivers/media/dvb-frontends/mn88472.c 	dev_dbg(&client->dev, "\n");
client            423 drivers/media/dvb-frontends/mn88472.c 	ret = request_firmware(&firmware, name, &client->dev);
client            425 drivers/media/dvb-frontends/mn88472.c 		dev_err(&client->dev, "firmware file '%s' not found\n", name);
client            429 drivers/media/dvb-frontends/mn88472.c 	dev_info(&client->dev, "downloading firmware from file '%s'\n", name);
client            441 drivers/media/dvb-frontends/mn88472.c 			dev_err(&client->dev, "firmware download failed %d\n",
client            453 drivers/media/dvb-frontends/mn88472.c 		dev_err(&client->dev, "firmware did not run\n");
client            500 drivers/media/dvb-frontends/mn88472.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            506 drivers/media/dvb-frontends/mn88472.c 	struct i2c_client *client = fe->demodulator_priv;
client            507 drivers/media/dvb-frontends/mn88472.c 	struct mn88472_dev *dev = i2c_get_clientdata(client);
client            510 drivers/media/dvb-frontends/mn88472.c 	dev_dbg(&client->dev, "\n");
client            525 drivers/media/dvb-frontends/mn88472.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            566 drivers/media/dvb-frontends/mn88472.c static struct dvb_frontend *mn88472_get_dvb_frontend(struct i2c_client *client)
client            568 drivers/media/dvb-frontends/mn88472.c 	struct mn88472_dev *dev = i2c_get_clientdata(client);
client            570 drivers/media/dvb-frontends/mn88472.c 	dev_dbg(&client->dev, "\n");
client            575 drivers/media/dvb-frontends/mn88472.c static int mn88472_probe(struct i2c_client *client,
client            578 drivers/media/dvb-frontends/mn88472.c 	struct mn88472_config *pdata = client->dev.platform_data;
client            588 drivers/media/dvb-frontends/mn88472.c 	dev_dbg(&client->dev, "\n");
client            600 drivers/media/dvb-frontends/mn88472.c 	dev->client[0] = client;
client            601 drivers/media/dvb-frontends/mn88472.c 	dev->regmap[0] = regmap_init_i2c(dev->client[0], &regmap_config);
client            615 drivers/media/dvb-frontends/mn88472.c 	dev->client[1] = i2c_new_dummy_device(client->adapter, 0x1a);
client            616 drivers/media/dvb-frontends/mn88472.c 	if (IS_ERR(dev->client[1])) {
client            617 drivers/media/dvb-frontends/mn88472.c 		ret = PTR_ERR(dev->client[1]);
client            618 drivers/media/dvb-frontends/mn88472.c 		dev_err(&client->dev, "I2C registration failed\n");
client            621 drivers/media/dvb-frontends/mn88472.c 	dev->regmap[1] = regmap_init_i2c(dev->client[1], &regmap_config);
client            626 drivers/media/dvb-frontends/mn88472.c 	i2c_set_clientdata(dev->client[1], dev);
client            628 drivers/media/dvb-frontends/mn88472.c 	dev->client[2] = i2c_new_dummy_device(client->adapter, 0x1c);
client            629 drivers/media/dvb-frontends/mn88472.c 	if (IS_ERR(dev->client[2])) {
client            630 drivers/media/dvb-frontends/mn88472.c 		ret = PTR_ERR(dev->client[2]);
client            631 drivers/media/dvb-frontends/mn88472.c 		dev_err(&client->dev, "2nd I2C registration failed\n");
client            634 drivers/media/dvb-frontends/mn88472.c 	dev->regmap[2] = regmap_init_i2c(dev->client[2], &regmap_config);
client            639 drivers/media/dvb-frontends/mn88472.c 	i2c_set_clientdata(dev->client[2], dev);
client            646 drivers/media/dvb-frontends/mn88472.c 	dev_dbg(&client->dev, "chip id=%02x\n", utmp);
client            660 drivers/media/dvb-frontends/mn88472.c 	dev->fe.demodulator_priv = client;
client            662 drivers/media/dvb-frontends/mn88472.c 	i2c_set_clientdata(client, dev);
client            674 drivers/media/dvb-frontends/mn88472.c 	dev_info(&client->dev, "Panasonic MN88472 successfully identified\n");
client            680 drivers/media/dvb-frontends/mn88472.c 	i2c_unregister_device(dev->client[2]);
client            684 drivers/media/dvb-frontends/mn88472.c 	i2c_unregister_device(dev->client[1]);
client            690 drivers/media/dvb-frontends/mn88472.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            694 drivers/media/dvb-frontends/mn88472.c static int mn88472_remove(struct i2c_client *client)
client            696 drivers/media/dvb-frontends/mn88472.c 	struct mn88472_dev *dev = i2c_get_clientdata(client);
client            698 drivers/media/dvb-frontends/mn88472.c 	dev_dbg(&client->dev, "\n");
client            701 drivers/media/dvb-frontends/mn88472.c 	i2c_unregister_device(dev->client[2]);
client            704 drivers/media/dvb-frontends/mn88472.c 	i2c_unregister_device(dev->client[1]);
client             20 drivers/media/dvb-frontends/mn88472_priv.h 	struct i2c_client *client[3];
client             19 drivers/media/dvb-frontends/mn88473.c 	struct i2c_client *client = fe->demodulator_priv;
client             20 drivers/media/dvb-frontends/mn88473.c 	struct mn88473_dev *dev = i2c_get_clientdata(client);
client             28 drivers/media/dvb-frontends/mn88473.c 	dev_dbg(&client->dev,
client             96 drivers/media/dvb-frontends/mn88473.c 		dev_dbg(&client->dev, "get_if_frequency=%u\n", if_frequency);
client            233 drivers/media/dvb-frontends/mn88473.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            239 drivers/media/dvb-frontends/mn88473.c 	struct i2c_client *client = fe->demodulator_priv;
client            240 drivers/media/dvb-frontends/mn88473.c 	struct mn88473_dev *dev = i2c_get_clientdata(client);
client            322 drivers/media/dvb-frontends/mn88473.c 		dev_dbg(&client->dev, "strength=%u\n", utmp1);
client            343 drivers/media/dvb-frontends/mn88473.c 			dev_dbg(&client->dev, "cnr=%d value=%u\n", stmp, utmp);
client            368 drivers/media/dvb-frontends/mn88473.c 				dev_dbg(&client->dev, "cnr=%d value=%u MISO\n",
client            375 drivers/media/dvb-frontends/mn88473.c 				dev_dbg(&client->dev, "cnr=%d value=%u SISO\n",
client            398 drivers/media/dvb-frontends/mn88473.c 			dev_dbg(&client->dev, "cnr=%d signal=%u noise=%u\n",
client            421 drivers/media/dvb-frontends/mn88473.c 		dev_dbg(&client->dev, "post_bit_error=%u post_bit_count=%u\n",
client            441 drivers/media/dvb-frontends/mn88473.c 		dev_dbg(&client->dev, "block_error=%u block_count=%u\n",
client            455 drivers/media/dvb-frontends/mn88473.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            461 drivers/media/dvb-frontends/mn88473.c 	struct i2c_client *client = fe->demodulator_priv;
client            462 drivers/media/dvb-frontends/mn88473.c 	struct mn88473_dev *dev = i2c_get_clientdata(client);
client            469 drivers/media/dvb-frontends/mn88473.c 	dev_dbg(&client->dev, "\n");
client            480 drivers/media/dvb-frontends/mn88473.c 	ret = request_firmware(&fw, name, &client->dev);
client            482 drivers/media/dvb-frontends/mn88473.c 		dev_err(&client->dev, "firmware file '%s' not found\n", name);
client            486 drivers/media/dvb-frontends/mn88473.c 	dev_info(&client->dev, "downloading firmware from file '%s'\n", name);
client            497 drivers/media/dvb-frontends/mn88473.c 			dev_err(&client->dev, "firmware download failed %d\n",
client            511 drivers/media/dvb-frontends/mn88473.c 		dev_err(&client->dev, "firmware parity check failed\n");
client            548 drivers/media/dvb-frontends/mn88473.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            554 drivers/media/dvb-frontends/mn88473.c 	struct i2c_client *client = fe->demodulator_priv;
client            555 drivers/media/dvb-frontends/mn88473.c 	struct mn88473_dev *dev = i2c_get_clientdata(client);
client            558 drivers/media/dvb-frontends/mn88473.c 	dev_dbg(&client->dev, "\n");
client            568 drivers/media/dvb-frontends/mn88473.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            609 drivers/media/dvb-frontends/mn88473.c static int mn88473_probe(struct i2c_client *client,
client            612 drivers/media/dvb-frontends/mn88473.c 	struct mn88473_config *config = client->dev.platform_data;
client            621 drivers/media/dvb-frontends/mn88473.c 	dev_dbg(&client->dev, "\n");
client            625 drivers/media/dvb-frontends/mn88473.c 		dev_err(&client->dev, "frontend pointer not defined\n");
client            645 drivers/media/dvb-frontends/mn88473.c 	dev->client[0] = client;
client            646 drivers/media/dvb-frontends/mn88473.c 	dev->regmap[0] = regmap_init_i2c(dev->client[0], &regmap_config);
client            660 drivers/media/dvb-frontends/mn88473.c 	dev->client[1] = i2c_new_dummy_device(client->adapter, 0x1a);
client            661 drivers/media/dvb-frontends/mn88473.c 	if (IS_ERR(dev->client[1])) {
client            662 drivers/media/dvb-frontends/mn88473.c 		ret = PTR_ERR(dev->client[1]);
client            663 drivers/media/dvb-frontends/mn88473.c 		dev_err(&client->dev, "I2C registration failed\n");
client            666 drivers/media/dvb-frontends/mn88473.c 	dev->regmap[1] = regmap_init_i2c(dev->client[1], &regmap_config);
client            671 drivers/media/dvb-frontends/mn88473.c 	i2c_set_clientdata(dev->client[1], dev);
client            673 drivers/media/dvb-frontends/mn88473.c 	dev->client[2] = i2c_new_dummy_device(client->adapter, 0x1c);
client            674 drivers/media/dvb-frontends/mn88473.c 	if (IS_ERR(dev->client[2])) {
client            675 drivers/media/dvb-frontends/mn88473.c 		ret = PTR_ERR(dev->client[2]);
client            676 drivers/media/dvb-frontends/mn88473.c 		dev_err(&client->dev, "2nd I2C registration failed\n");
client            679 drivers/media/dvb-frontends/mn88473.c 	dev->regmap[2] = regmap_init_i2c(dev->client[2], &regmap_config);
client            684 drivers/media/dvb-frontends/mn88473.c 	i2c_set_clientdata(dev->client[2], dev);
client            691 drivers/media/dvb-frontends/mn88473.c 	dev_dbg(&client->dev, "chip id=%02x\n", uitmp);
client            705 drivers/media/dvb-frontends/mn88473.c 	dev->frontend.demodulator_priv = client;
client            707 drivers/media/dvb-frontends/mn88473.c 	i2c_set_clientdata(client, dev);
client            709 drivers/media/dvb-frontends/mn88473.c 	dev_info(&client->dev, "Panasonic MN88473 successfully identified\n");
client            715 drivers/media/dvb-frontends/mn88473.c 	i2c_unregister_device(dev->client[2]);
client            719 drivers/media/dvb-frontends/mn88473.c 	i2c_unregister_device(dev->client[1]);
client            725 drivers/media/dvb-frontends/mn88473.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            729 drivers/media/dvb-frontends/mn88473.c static int mn88473_remove(struct i2c_client *client)
client            731 drivers/media/dvb-frontends/mn88473.c 	struct mn88473_dev *dev = i2c_get_clientdata(client);
client            733 drivers/media/dvb-frontends/mn88473.c 	dev_dbg(&client->dev, "\n");
client            736 drivers/media/dvb-frontends/mn88473.c 	i2c_unregister_device(dev->client[2]);
client            739 drivers/media/dvb-frontends/mn88473.c 	i2c_unregister_device(dev->client[1]);
client             21 drivers/media/dvb-frontends/mn88473_priv.h 	struct i2c_client *client[3];
client             11 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_bulk_write(struct i2c_client *client, unsigned int reg,
client             14 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client             17 drivers/media/dvb-frontends/rtl2830.c 	i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT);
client             19 drivers/media/dvb-frontends/rtl2830.c 	i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT);
client             23 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_update_bits(struct i2c_client *client, unsigned int reg,
client             26 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client             29 drivers/media/dvb-frontends/rtl2830.c 	i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT);
client             31 drivers/media/dvb-frontends/rtl2830.c 	i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT);
client             35 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_bulk_read(struct i2c_client *client, unsigned int reg,
client             38 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client             41 drivers/media/dvb-frontends/rtl2830.c 	i2c_lock_bus(client->adapter, I2C_LOCK_SEGMENT);
client             43 drivers/media/dvb-frontends/rtl2830.c 	i2c_unlock_bus(client->adapter, I2C_LOCK_SEGMENT);
client             49 drivers/media/dvb-frontends/rtl2830.c 	struct i2c_client *client = fe->demodulator_priv;
client             50 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client             93 drivers/media/dvb-frontends/rtl2830.c 		ret = rtl2830_update_bits(client, tab[i].reg, tab[i].mask,
client             99 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_bulk_write(client, 0x18f, "\x28\x00", 2);
client            103 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_bulk_write(client, 0x195,
client            111 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_update_bits(client, 0x101, 0x04, 0x04);
client            115 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_update_bits(client, 0x101, 0x04, 0x00);
client            133 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            139 drivers/media/dvb-frontends/rtl2830.c 	struct i2c_client *client = fe->demodulator_priv;
client            140 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client            160 drivers/media/dvb-frontends/rtl2830.c 	struct i2c_client *client = fe->demodulator_priv;
client            161 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client            191 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "frequency=%u bandwidth_hz=%u inversion=%u\n",
client            209 drivers/media/dvb-frontends/rtl2830.c 		dev_err(&client->dev, "invalid bandwidth_hz %u\n",
client            214 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_update_bits(client, 0x008, 0x06, i << 1);
client            231 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "if_frequency=%d if_ctl=%08x\n",
client            238 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_bulk_read(client, 0x119, &u8tmp, 1);
client            244 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_bulk_write(client, 0x119, buf, 3);
client            249 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_bulk_write(client, 0x11c, &bw_params1[i][0], 17);
client            254 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_bulk_write(client, 0x12d, &bw_params1[i][17], 17);
client            258 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_bulk_write(client, 0x19d, bw_params2[i], 6);
client            264 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            271 drivers/media/dvb-frontends/rtl2830.c 	struct i2c_client *client = fe->demodulator_priv;
client            272 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client            279 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_bulk_read(client, 0x33c, buf, 2);
client            283 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_bulk_read(client, 0x351, &buf[2], 1);
client            287 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "TPS=%*ph\n", 3, buf);
client            377 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            383 drivers/media/dvb-frontends/rtl2830.c 	struct i2c_client *client = fe->demodulator_priv;
client            384 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client            395 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_bulk_read(client, 0x351, &u8tmp, 1);
client            413 drivers/media/dvb-frontends/rtl2830.c 		ret = rtl2830_bulk_read(client, 0x359, buf, 2);
client            421 drivers/media/dvb-frontends/rtl2830.c 		dev_dbg(&client->dev, "IF AGC=%d\n", stmp);
client            440 drivers/media/dvb-frontends/rtl2830.c 		ret = rtl2830_bulk_read(client, 0x33c, &u8tmp, 1);
client            452 drivers/media/dvb-frontends/rtl2830.c 		ret = rtl2830_bulk_read(client, 0x40c, buf, 2);
client            463 drivers/media/dvb-frontends/rtl2830.c 		dev_dbg(&client->dev, "CNR raw=%u\n", utmp);
client            473 drivers/media/dvb-frontends/rtl2830.c 		ret = rtl2830_bulk_read(client, 0x34e, buf, 2);
client            481 drivers/media/dvb-frontends/rtl2830.c 		dev_dbg(&client->dev, "BER errors=%u total=1000000\n", utmp);
client            495 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            513 drivers/media/dvb-frontends/rtl2830.c 	struct i2c_client *client = fe->demodulator_priv;
client            514 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client            579 drivers/media/dvb-frontends/rtl2830.c 	struct i2c_client *client = fe->demodulator_priv;
client            583 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "onoff=%d\n", onoff);
client            591 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_update_bits(client, 0x061, 0x80, u8tmp);
client            597 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            603 drivers/media/dvb-frontends/rtl2830.c 	struct i2c_client *client = fe->demodulator_priv;
client            604 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client            608 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "index=%d pid=%04x onoff=%d\n",
client            625 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_bulk_write(client, 0x062, buf, 4);
client            632 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_bulk_write(client, 0x066 + 2 * index, buf, 2);
client            638 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            650 drivers/media/dvb-frontends/rtl2830.c 	struct i2c_client *client = i2c_mux_priv(muxc);
client            651 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client            654 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "\n");
client            664 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            668 drivers/media/dvb-frontends/rtl2830.c static struct dvb_frontend *rtl2830_get_dvb_frontend(struct i2c_client *client)
client            670 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client            672 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "\n");
client            677 drivers/media/dvb-frontends/rtl2830.c static struct i2c_adapter *rtl2830_get_i2c_adapter(struct i2c_client *client)
client            679 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client            681 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "\n");
client            693 drivers/media/dvb-frontends/rtl2830.c 	struct i2c_client *client = context;
client            697 drivers/media/dvb-frontends/rtl2830.c 			.addr = client->addr,
client            702 drivers/media/dvb-frontends/rtl2830.c 			.addr = client->addr,
client            709 drivers/media/dvb-frontends/rtl2830.c 	ret = __i2c_transfer(client->adapter, msg, 2);
client            711 drivers/media/dvb-frontends/rtl2830.c 		dev_warn(&client->dev, "i2c reg read failed %d\n", ret);
client            721 drivers/media/dvb-frontends/rtl2830.c 	struct i2c_client *client = context;
client            725 drivers/media/dvb-frontends/rtl2830.c 			.addr = client->addr,
client            732 drivers/media/dvb-frontends/rtl2830.c 	ret = __i2c_transfer(client->adapter, msg, 1);
client            734 drivers/media/dvb-frontends/rtl2830.c 		dev_warn(&client->dev, "i2c reg write failed %d\n", ret);
client            746 drivers/media/dvb-frontends/rtl2830.c 	struct i2c_client *client = context;
client            751 drivers/media/dvb-frontends/rtl2830.c 			.addr = client->addr,
client            761 drivers/media/dvb-frontends/rtl2830.c 	ret = __i2c_transfer(client->adapter, msg, 1);
client            763 drivers/media/dvb-frontends/rtl2830.c 		dev_warn(&client->dev, "i2c reg write failed %d\n", ret);
client            771 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_probe(struct i2c_client *client,
client            774 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_platform_data *pdata = client->dev.platform_data;
client            803 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "\n");
client            818 drivers/media/dvb-frontends/rtl2830.c 	i2c_set_clientdata(client, dev);
client            819 drivers/media/dvb-frontends/rtl2830.c 	dev->client = client;
client            820 drivers/media/dvb-frontends/rtl2830.c 	dev->pdata = client->dev.platform_data;
client            822 drivers/media/dvb-frontends/rtl2830.c 	dev->regmap = regmap_init(&client->dev, &regmap_bus, client,
client            830 drivers/media/dvb-frontends/rtl2830.c 	ret = rtl2830_bulk_read(client, 0x000, &u8tmp, 1);
client            835 drivers/media/dvb-frontends/rtl2830.c 	dev->muxc = i2c_mux_alloc(client->adapter, &client->dev, 1, 0, 0,
client            841 drivers/media/dvb-frontends/rtl2830.c 	dev->muxc->priv = client;
client            848 drivers/media/dvb-frontends/rtl2830.c 	dev->fe.demodulator_priv = client;
client            856 drivers/media/dvb-frontends/rtl2830.c 	dev_info(&client->dev, "Realtek RTL2830 successfully attached\n");
client            864 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            868 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_remove(struct i2c_client *client)
client            870 drivers/media/dvb-frontends/rtl2830.c 	struct rtl2830_dev *dev = i2c_get_clientdata(client);
client            872 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "\n");
client             21 drivers/media/dvb-frontends/rtl2830_priv.h 	struct i2c_client *client;
client            145 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_client *client = dev->client;
client            169 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            175 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_client *client = dev->client;
client            207 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            214 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_client *client = dev->client;
client            228 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "if_frequency=%d pset_iffreq=%08x\n",
client            241 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            248 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_client *client = dev->client;
client            298 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "\n");
client            312 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "load settings for tuner=%02x\n",
client            365 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            372 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_client *client = dev->client;
client            375 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "\n");
client            386 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            394 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_client *client = dev->client;
client            396 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "\n");
client            406 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_client *client = dev->client;
client            437 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "frequency=%u bandwidth_hz=%u inversion=%u\n",
client            471 drivers/media/dvb-frontends/rtl2832.c 		dev_err(&client->dev, "invalid bandwidth_hz %u\n",
client            520 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            528 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_client *client = dev->client;
client            543 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "TPS=%*ph\n", 3, buf);
client            633 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            640 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_client *client = dev->client;
client            647 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "\n");
client            674 drivers/media/dvb-frontends/rtl2832.c 		dev_dbg(&client->dev, "digital agc=%02x", u8tmp);
client            719 drivers/media/dvb-frontends/rtl2832.c 		dev_dbg(&client->dev, "cnr raw=%u\n", u16tmp);
client            737 drivers/media/dvb-frontends/rtl2832.c 		dev_dbg(&client->dev, "ber errors=%u total=1000000\n", u16tmp);
client            750 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            786 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_client *client = dev->client;
client            796 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            802 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_client *client = dev->client;
client            815 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            880 drivers/media/dvb-frontends/rtl2832.c static struct dvb_frontend *rtl2832_get_dvb_frontend(struct i2c_client *client)
client            882 drivers/media/dvb-frontends/rtl2832.c 	struct rtl2832_dev *dev = i2c_get_clientdata(client);
client            884 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "\n");
client            888 drivers/media/dvb-frontends/rtl2832.c static struct i2c_adapter *rtl2832_get_i2c_adapter(struct i2c_client *client)
client            890 drivers/media/dvb-frontends/rtl2832.c 	struct rtl2832_dev *dev = i2c_get_clientdata(client);
client            892 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "\n");
client            896 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_slave_ts_ctrl(struct i2c_client *client, bool enable)
client            898 drivers/media/dvb-frontends/rtl2832.c 	struct rtl2832_dev *dev = i2c_get_clientdata(client);
client            901 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "enable=%d\n", enable);
client            941 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            948 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_client *client = dev->client;
client            952 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "onoff=%d, slave_ts=%d\n", onoff, dev->slave_ts);
client            969 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            977 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_client *client = dev->client;
client            981 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "index=%d pid=%04x onoff=%d slave_ts=%d\n",
client           1019 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client           1023 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_probe(struct i2c_client *client,
client           1026 drivers/media/dvb-frontends/rtl2832.c 	struct rtl2832_platform_data *pdata = client->dev.platform_data;
client           1027 drivers/media/dvb-frontends/rtl2832.c 	struct i2c_adapter *i2c = client->adapter;
client           1043 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "\n");
client           1053 drivers/media/dvb-frontends/rtl2832.c 	i2c_set_clientdata(client, dev);
client           1054 drivers/media/dvb-frontends/rtl2832.c 	dev->client = client;
client           1055 drivers/media/dvb-frontends/rtl2832.c 	dev->pdata = client->dev.platform_data;
client           1066 drivers/media/dvb-frontends/rtl2832.c 	dev->regmap = regmap_init_i2c(client, &dev->regmap_config);
client           1101 drivers/media/dvb-frontends/rtl2832.c 	dev_info(&client->dev, "Realtek RTL2832 successfully attached\n");
client           1108 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client           1112 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_remove(struct i2c_client *client)
client           1114 drivers/media/dvb-frontends/rtl2832.c 	struct rtl2832_dev *dev = i2c_get_clientdata(client);
client           1116 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "\n");
client             22 drivers/media/dvb-frontends/rtl2832_priv.h 	struct i2c_client *client;
client             35 drivers/media/dvb-frontends/si2165.c 	struct i2c_client *client;
client             64 drivers/media/dvb-frontends/si2165.c 	dev_dbg(&state->client->dev, "i2c write: reg: 0x%04x, data: %*ph\n",
client             70 drivers/media/dvb-frontends/si2165.c 		dev_err(&state->client->dev, "%s: ret == %d\n", __func__, ret);
client             81 drivers/media/dvb-frontends/si2165.c 		dev_err(&state->client->dev, "%s: error (addr %02x reg %04x error (ret == %i)\n",
client             86 drivers/media/dvb-frontends/si2165.c 	dev_dbg(&state->client->dev, "i2c read: reg: 0x%04x, data: %*ph\n",
client             98 drivers/media/dvb-frontends/si2165.c 	dev_dbg(&state->client->dev, "reg read: R(0x%04x)=0x%02x\n", reg, *val);
client            109 drivers/media/dvb-frontends/si2165.c 	dev_dbg(&state->client->dev, "reg read: R(0x%04x)=0x%04x\n", reg, *val);
client            120 drivers/media/dvb-frontends/si2165.c 	dev_dbg(&state->client->dev, "reg read: R(0x%04x)=0x%06x\n", reg, *val);
client            281 drivers/media/dvb-frontends/si2165.c 	dev_err(&state->client->dev, "init_done was not set\n");
client            300 drivers/media/dvb-frontends/si2165.c 	dev_dbg(&state->client->dev,
client            304 drivers/media/dvb-frontends/si2165.c 		dev_dbg(&state->client->dev,
client            310 drivers/media/dvb-frontends/si2165.c 			dev_warn(&state->client->dev,
client            317 drivers/media/dvb-frontends/si2165.c 			dev_warn(&state->client->dev,
client            345 drivers/media/dvb-frontends/si2165.c 	dev_dbg(&state->client->dev,
client            352 drivers/media/dvb-frontends/si2165.c 	dev_dbg(&state->client->dev,
client            382 drivers/media/dvb-frontends/si2165.c 		dev_info(&state->client->dev, "no firmware file for revision=%d\n",
client            388 drivers/media/dvb-frontends/si2165.c 	ret = request_firmware(&fw, fw_file, &state->client->dev);
client            390 drivers/media/dvb-frontends/si2165.c 		dev_warn(&state->client->dev, "firmware file '%s' not found\n",
client            398 drivers/media/dvb-frontends/si2165.c 	dev_info(&state->client->dev, "downloading firmware from file '%s' size=%d\n",
client            402 drivers/media/dvb-frontends/si2165.c 		dev_warn(&state->client->dev, "firmware size is not multiple of 4\n");
client            409 drivers/media/dvb-frontends/si2165.c 		dev_warn(&state->client->dev, "firmware header is missing\n");
client            415 drivers/media/dvb-frontends/si2165.c 		dev_warn(&state->client->dev, "firmware file version is wrong\n");
client            452 drivers/media/dvb-frontends/si2165.c 	dev_info(&state->client->dev, "%s: extracted patch_version=0x%02x, block_count=0x%02x, crc_expected=0x%04x\n",
client            471 drivers/media/dvb-frontends/si2165.c 		dev_err(&state->client->dev,
client            482 drivers/media/dvb-frontends/si2165.c 		dev_err(&state->client->dev,
client            494 drivers/media/dvb-frontends/si2165.c 		dev_err(&state->client->dev,
client            511 drivers/media/dvb-frontends/si2165.c 	dev_info(&state->client->dev, "fw load finished\n");
client            532 drivers/media/dvb-frontends/si2165.c 	dev_dbg(&state->client->dev, "%s: called\n", __func__);
client            547 drivers/media/dvb-frontends/si2165.c 		dev_err(&state->client->dev, "could not set chip_mode\n");
client            786 drivers/media/dvb-frontends/si2165.c 				dev_dbg(&state->client->dev,
client            839 drivers/media/dvb-frontends/si2165.c 	dev_dbg(&state->client->dev, "Write oversamp=%#x\n", reg_value);
client            852 drivers/media/dvb-frontends/si2165.c 		dev_err(&state->client->dev,
client            907 drivers/media/dvb-frontends/si2165.c 	dev_dbg(&state->client->dev, "%s: called\n", __func__);
client           1147 drivers/media/dvb-frontends/si2165.c static int si2165_probe(struct i2c_client *client,
client           1151 drivers/media/dvb-frontends/si2165.c 	struct si2165_platform_data *pdata = client->dev.platform_data;
client           1171 drivers/media/dvb-frontends/si2165.c 	state->regmap = devm_regmap_init_i2c(client, &regmap_config);
client           1178 drivers/media/dvb-frontends/si2165.c 	state->client = client;
client           1179 drivers/media/dvb-frontends/si2165.c 	state->config.i2c_addr = client->addr;
client           1186 drivers/media/dvb-frontends/si2165.c 		dev_err(&state->client->dev, "ref_freq of %d Hz not supported by this driver\n",
client           1197 drivers/media/dvb-frontends/si2165.c 	i2c_set_clientdata(client, state);
client           1239 drivers/media/dvb-frontends/si2165.c 		dev_err(&state->client->dev, "Unsupported Silicon Labs chip (type %d, rev %d)\n",
client           1244 drivers/media/dvb-frontends/si2165.c 	dev_info(&state->client->dev,
client           1273 drivers/media/dvb-frontends/si2165.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client           1277 drivers/media/dvb-frontends/si2165.c static int si2165_remove(struct i2c_client *client)
client           1279 drivers/media/dvb-frontends/si2165.c 	struct si2165_state *state = i2c_get_clientdata(client);
client           1281 drivers/media/dvb-frontends/si2165.c 	dev_dbg(&client->dev, "\n");
client             22 drivers/media/dvb-frontends/si2168.c static int si2168_cmd_execute(struct i2c_client *client, struct si2168_cmd *cmd)
client             24 drivers/media/dvb-frontends/si2168.c 	struct si2168_dev *dev = i2c_get_clientdata(client);
client             32 drivers/media/dvb-frontends/si2168.c 		ret = i2c_master_send(client, cmd->args, cmd->wlen);
client             46 drivers/media/dvb-frontends/si2168.c 			ret = i2c_master_recv(client, cmd->args, cmd->rlen);
client             59 drivers/media/dvb-frontends/si2168.c 		dev_dbg(&client->dev, "cmd execution took %d ms\n",
client             79 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             85 drivers/media/dvb-frontends/si2168.c 	struct i2c_client *client = fe->demodulator_priv;
client             86 drivers/media/dvb-frontends/si2168.c 	struct si2168_dev *dev = i2c_get_clientdata(client);
client             90 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev, "%s acquire: %d\n", __func__, acquire);
client             95 drivers/media/dvb-frontends/si2168.c 		ret = si2168_cmd_execute(client, &cmd);
client            109 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            116 drivers/media/dvb-frontends/si2168.c 	struct i2c_client *client = fe->demodulator_priv;
client            117 drivers/media/dvb-frontends/si2168.c 	struct si2168_dev *dev = i2c_get_clientdata(client);
client            145 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            170 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev, "status=%02x args=%*ph\n",
client            176 drivers/media/dvb-frontends/si2168.c 		ret = si2168_cmd_execute(client, &cmd);
client            191 drivers/media/dvb-frontends/si2168.c 		dev_dbg(&client->dev,
client            207 drivers/media/dvb-frontends/si2168.c 		ret = si2168_cmd_execute(client, &cmd);
client            212 drivers/media/dvb-frontends/si2168.c 		dev_dbg(&client->dev, "block_error=%u\n", utmp1);
client            226 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            232 drivers/media/dvb-frontends/si2168.c 	struct i2c_client *client = fe->demodulator_priv;
client            233 drivers/media/dvb-frontends/si2168.c 	struct si2168_dev *dev = i2c_get_clientdata(client);
client            239 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev,
client            293 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            304 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            315 drivers/media/dvb-frontends/si2168.c 		ret = si2168_cmd_execute(client, &cmd);
client            321 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            326 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            331 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            336 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            341 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            349 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            358 drivers/media/dvb-frontends/si2168.c 		ret = si2168_cmd_execute(client, &cmd);
client            364 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            370 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            376 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            381 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            386 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            391 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            404 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            410 drivers/media/dvb-frontends/si2168.c 	struct i2c_client *client = fe->demodulator_priv;
client            411 drivers/media/dvb-frontends/si2168.c 	struct si2168_dev *dev = i2c_get_clientdata(client);
client            417 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev, "\n");
client            422 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            429 drivers/media/dvb-frontends/si2168.c 		ret = si2168_cmd_execute(client, &cmd);
client            435 drivers/media/dvb-frontends/si2168.c 		ret = si2168_cmd_execute(client, &cmd);
client            444 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            449 drivers/media/dvb-frontends/si2168.c 	ret = request_firmware(&fw, dev->firmware_name, &client->dev);
client            455 drivers/media/dvb-frontends/si2168.c 					       &client->dev);
client            459 drivers/media/dvb-frontends/si2168.c 			dev_notice(&client->dev,
client            463 drivers/media/dvb-frontends/si2168.c 			dev_err(&client->dev,
client            470 drivers/media/dvb-frontends/si2168.c 	dev_info(&client->dev, "downloading firmware from file '%s'\n",
client            483 drivers/media/dvb-frontends/si2168.c 			ret = si2168_cmd_execute(client, &cmd);
client            491 drivers/media/dvb-frontends/si2168.c 			ret = si2168_cmd_execute(client, &cmd);
client            501 drivers/media/dvb-frontends/si2168.c 		dev_err(&client->dev, "firmware download failed %d\n", ret);
client            508 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            514 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            520 drivers/media/dvb-frontends/si2168.c 	dev_info(&client->dev, "firmware version: %c %d.%d.%d\n",
client            547 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            553 drivers/media/dvb-frontends/si2168.c 	struct i2c_client *client = fe->demodulator_priv;
client            554 drivers/media/dvb-frontends/si2168.c 	struct si2168_dev *dev = i2c_get_clientdata(client);
client            558 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev, "\n");
client            572 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            578 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            592 drivers/media/dvb-frontends/si2168.c 	struct i2c_client *client = i2c_mux_priv(muxc);
client            598 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            604 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            610 drivers/media/dvb-frontends/si2168.c 	struct i2c_client *client = i2c_mux_priv(muxc);
client            616 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            622 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            666 drivers/media/dvb-frontends/si2168.c static int si2168_probe(struct i2c_client *client,
client            669 drivers/media/dvb-frontends/si2168.c 	struct si2168_config *config = client->dev.platform_data;
client            674 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev, "\n");
client            682 drivers/media/dvb-frontends/si2168.c 	i2c_set_clientdata(client, dev);
client            688 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            694 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            700 drivers/media/dvb-frontends/si2168.c 	ret = si2168_cmd_execute(client, &cmd);
client            721 drivers/media/dvb-frontends/si2168.c 		dev_dbg(&client->dev, "unknown chip version Si21%d-%c%c%c\n",
client            731 drivers/media/dvb-frontends/si2168.c 	dev->muxc = i2c_mux_alloc(client->adapter, &client->dev,
client            738 drivers/media/dvb-frontends/si2168.c 	dev->muxc->priv = client;
client            745 drivers/media/dvb-frontends/si2168.c 	dev->fe.demodulator_priv = client;
client            753 drivers/media/dvb-frontends/si2168.c 	dev_info(&client->dev, "Silicon Labs Si2168-%c%d%d successfully identified\n",
client            756 drivers/media/dvb-frontends/si2168.c 	dev_info(&client->dev, "firmware version: %c %d.%d.%d\n",
client            764 drivers/media/dvb-frontends/si2168.c 	dev_warn(&client->dev, "probe failed = %d\n", ret);
client            768 drivers/media/dvb-frontends/si2168.c static int si2168_remove(struct i2c_client *client)
client            770 drivers/media/dvb-frontends/si2168.c 	struct si2168_dev *dev = i2c_get_clientdata(client);
client            772 drivers/media/dvb-frontends/si2168.c 	dev_dbg(&client->dev, "\n");
client             20 drivers/media/dvb-frontends/sp2.c 	struct i2c_client *client = s->client;
client             21 drivers/media/dvb-frontends/sp2.c 	struct i2c_adapter *adap = client->adapter;
client             24 drivers/media/dvb-frontends/sp2.c 			.addr = client->addr,
client             29 drivers/media/dvb-frontends/sp2.c 			.addr = client->addr,
client             39 drivers/media/dvb-frontends/sp2.c 		dev_err(&client->dev, "i2c read error, reg = 0x%02x, status = %d\n",
client             47 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&s->client->dev, "addr=0x%04x, reg = 0x%02x, data = %02x\n",
client             48 drivers/media/dvb-frontends/sp2.c 				client->addr, reg, buf[0]);
client             57 drivers/media/dvb-frontends/sp2.c 	struct i2c_client *client = s->client;
client             58 drivers/media/dvb-frontends/sp2.c 	struct i2c_adapter *adap = client->adapter;
client             60 drivers/media/dvb-frontends/sp2.c 		.addr = client->addr,
client             67 drivers/media/dvb-frontends/sp2.c 		dev_err(&client->dev, "i2c wr reg=%02x: len=%d is too big!\n",
client             78 drivers/media/dvb-frontends/sp2.c 		dev_err(&client->dev, "i2c write error, reg = 0x%02x, status = %d\n",
client             86 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&s->client->dev, "addr=0x%04x, reg = 0x%02x, data = %*ph\n",
client             87 drivers/media/dvb-frontends/sp2.c 				client->addr, reg, len, buf);
client            127 drivers/media/dvb-frontends/sp2.c 		dev_err(&s->client->dev, "callback not defined");
client            134 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&s->client->dev, "%s: slot=%d, addr=0x%04x, %s, data=%x",
client            180 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&s->client->dev, "slot: %d\n", slot);
client            210 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&s->client->dev, "slot:%d\n", slot);
client            221 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&s->client->dev, "slot:%d\n", slot);
client            240 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&s->client->dev, "slot:%d open:%d\n", slot, open);
client            304 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&s->client->dev, "\n");
client            341 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&s->client->dev, "init failed=%d\n", ret);
client            345 drivers/media/dvb-frontends/sp2.c static int sp2_exit(struct i2c_client *client)
client            349 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&client->dev, "\n");
client            351 drivers/media/dvb-frontends/sp2.c 	if (!client)
client            354 drivers/media/dvb-frontends/sp2.c 	s = i2c_get_clientdata(client);
client            366 drivers/media/dvb-frontends/sp2.c static int sp2_probe(struct i2c_client *client,
client            369 drivers/media/dvb-frontends/sp2.c 	struct sp2_config *cfg = client->dev.platform_data;
client            373 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&client->dev, "\n");
client            381 drivers/media/dvb-frontends/sp2.c 	s->client = client;
client            386 drivers/media/dvb-frontends/sp2.c 	i2c_set_clientdata(client, s);
client            392 drivers/media/dvb-frontends/sp2.c 	dev_info(&s->client->dev, "CIMaX SP2 successfully attached\n");
client            395 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&client->dev, "init failed=%d\n", ret);
client            401 drivers/media/dvb-frontends/sp2.c static int sp2_remove(struct i2c_client *client)
client            403 drivers/media/dvb-frontends/sp2.c 	struct sp2 *s = i2c_get_clientdata(client);
client            405 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&client->dev, "\n");
client            406 drivers/media/dvb-frontends/sp2.c 	sp2_exit(client);
client             17 drivers/media/dvb-frontends/sp2_priv.h 	struct i2c_client *client;
client           4984 drivers/media/dvb-frontends/stv090x.c static struct dvb_frontend *stv090x_get_dvb_frontend(struct i2c_client *client)
client           4986 drivers/media/dvb-frontends/stv090x.c 	struct stv090x_state *state = i2c_get_clientdata(client);
client           4988 drivers/media/dvb-frontends/stv090x.c 	dev_dbg(&client->dev, "\n");
client           4993 drivers/media/dvb-frontends/stv090x.c static int stv090x_probe(struct i2c_client *client,
client           4997 drivers/media/dvb-frontends/stv090x.c 	struct stv090x_config *config = client->dev.platform_data;
client           5009 drivers/media/dvb-frontends/stv090x.c 	state->i2c				= client->adapter;
client           5023 drivers/media/dvb-frontends/stv090x.c 	i2c_set_clientdata(client, state);
client           5035 drivers/media/dvb-frontends/stv090x.c static int stv090x_remove(struct i2c_client *client)
client           5037 drivers/media/dvb-frontends/stv090x.c 	struct stv090x_state *state = i2c_get_clientdata(client);
client            400 drivers/media/dvb-frontends/stv6110x.c static struct stv6110x_devctl *stv6110x_get_devctl(struct i2c_client *client)
client            402 drivers/media/dvb-frontends/stv6110x.c 	struct stv6110x_state *stv6110x = i2c_get_clientdata(client);
client            404 drivers/media/dvb-frontends/stv6110x.c 	dev_dbg(&client->dev, "\n");
client            409 drivers/media/dvb-frontends/stv6110x.c static int stv6110x_probe(struct i2c_client *client,
client            412 drivers/media/dvb-frontends/stv6110x.c 	struct stv6110x_config *config = client->dev.platform_data;
client            421 drivers/media/dvb-frontends/stv6110x.c 	stv6110x->i2c		= client->adapter;
client            431 drivers/media/dvb-frontends/stv6110x.c 	i2c_set_clientdata(client, stv6110x);
client            439 drivers/media/dvb-frontends/stv6110x.c static int stv6110x_remove(struct i2c_client *client)
client            441 drivers/media/dvb-frontends/stv6110x.c 	struct stv6110x_state *stv6110x = i2c_get_clientdata(client);
client            759 drivers/media/dvb-frontends/tc90522.c static int tc90522_probe(struct i2c_client *client,
client            771 drivers/media/dvb-frontends/tc90522.c 	state->i2c_client = client;
client            773 drivers/media/dvb-frontends/tc90522.c 	cfg = client->dev.platform_data;
client            783 drivers/media/dvb-frontends/tc90522.c 	adap->dev.parent = &client->dev;
client            791 drivers/media/dvb-frontends/tc90522.c 	i2c_set_clientdata(client, &state->cfg);
client            792 drivers/media/dvb-frontends/tc90522.c 	dev_info(&client->dev, "Toshiba TC90522 attached.\n");
client            799 drivers/media/dvb-frontends/tc90522.c static int tc90522_remove(struct i2c_client *client)
client            803 drivers/media/dvb-frontends/tc90522.c 	state = cfg_to_state(i2c_get_clientdata(client));
client             42 drivers/media/dvb-frontends/tda10071.c 	struct i2c_client *client = dev->client;
client             73 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "loop=%d\n", i);
client             84 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             92 drivers/media/dvb-frontends/tda10071.c 	struct i2c_client *client = dev->client;
client            102 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "tone_mode=%d\n", fe_sec_tone_mode);
client            112 drivers/media/dvb-frontends/tda10071.c 		dev_dbg(&client->dev, "invalid fe_sec_tone_mode\n");
client            129 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            137 drivers/media/dvb-frontends/tda10071.c 	struct i2c_client *client = dev->client;
client            147 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "voltage=%d\n", fe_sec_voltage);
client            160 drivers/media/dvb-frontends/tda10071.c 		dev_dbg(&client->dev, "invalid fe_sec_voltage\n");
client            175 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            183 drivers/media/dvb-frontends/tda10071.c 	struct i2c_client *client = dev->client;
client            193 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "msg_len=%d\n", diseqc_cmd->msg_len);
client            209 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "loop=%d\n", i);
client            235 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            243 drivers/media/dvb-frontends/tda10071.c 	struct i2c_client *client = dev->client;
client            253 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "\n");
client            264 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "loop=%d\n", i);
client            295 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            303 drivers/media/dvb-frontends/tda10071.c 	struct i2c_client *client = dev->client;
client            314 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "fe_sec_mini_cmd=%d\n", fe_sec_mini_cmd);
client            324 drivers/media/dvb-frontends/tda10071.c 		dev_dbg(&client->dev, "invalid fe_sec_mini_cmd\n");
client            338 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "loop=%d\n", i);
client            359 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            366 drivers/media/dvb-frontends/tda10071.c 	struct i2c_client *client = dev->client;
client            453 drivers/media/dvb-frontends/tda10071.c 			dev_dbg(&client->dev, "meas not ready=%02x\n", uitmp);
client            496 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            549 drivers/media/dvb-frontends/tda10071.c 	struct i2c_client *client = dev->client;
client            556 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev,
client            581 drivers/media/dvb-frontends/tda10071.c 		dev_dbg(&client->dev, "invalid inversion\n");
client            607 drivers/media/dvb-frontends/tda10071.c 			dev_dbg(&client->dev, "invalid rolloff\n");
client            623 drivers/media/dvb-frontends/tda10071.c 			dev_dbg(&client->dev, "invalid pilot\n");
client            629 drivers/media/dvb-frontends/tda10071.c 		dev_dbg(&client->dev, "invalid delivery_system\n");
client            639 drivers/media/dvb-frontends/tda10071.c 			dev_dbg(&client->dev, "mode found=%02x\n", mode);
client            645 drivers/media/dvb-frontends/tda10071.c 		dev_dbg(&client->dev, "invalid parameter combination\n");
client            687 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            695 drivers/media/dvb-frontends/tda10071.c 	struct i2c_client *client = dev->client;
client            745 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            752 drivers/media/dvb-frontends/tda10071.c 	struct i2c_client *client = dev->client;
client            839 drivers/media/dvb-frontends/tda10071.c 		ret = request_firmware(&fw, fw_file, &client->dev);
client            841 drivers/media/dvb-frontends/tda10071.c 			dev_err(&client->dev,
client            872 drivers/media/dvb-frontends/tda10071.c 		dev_info(&client->dev,
client            875 drivers/media/dvb-frontends/tda10071.c 		dev_info(&client->dev, "downloading firmware from file '%s'\n",
client            890 drivers/media/dvb-frontends/tda10071.c 				dev_err(&client->dev,
client            914 drivers/media/dvb-frontends/tda10071.c 			dev_info(&client->dev, "firmware did not run\n");
client            931 drivers/media/dvb-frontends/tda10071.c 		dev_info(&client->dev, "firmware version %d.%d.%d.%d\n",
client            933 drivers/media/dvb-frontends/tda10071.c 		dev_info(&client->dev, "found a '%s' in warm state\n",
client           1033 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client           1040 drivers/media/dvb-frontends/tda10071.c 	struct i2c_client *client = dev->client;
client           1078 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client           1138 drivers/media/dvb-frontends/tda10071.c static struct dvb_frontend *tda10071_get_dvb_frontend(struct i2c_client *client)
client           1140 drivers/media/dvb-frontends/tda10071.c 	struct tda10071_dev *dev = i2c_get_clientdata(client);
client           1142 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "\n");
client           1147 drivers/media/dvb-frontends/tda10071.c static int tda10071_probe(struct i2c_client *client,
client           1151 drivers/media/dvb-frontends/tda10071.c 	struct tda10071_platform_data *pdata = client->dev.platform_data;
client           1165 drivers/media/dvb-frontends/tda10071.c 	dev->client = client;
client           1173 drivers/media/dvb-frontends/tda10071.c 	dev->regmap = devm_regmap_init_i2c(client, &regmap_config);
client           1209 drivers/media/dvb-frontends/tda10071.c 	i2c_set_clientdata(client, dev);
client           1214 drivers/media/dvb-frontends/tda10071.c 	dev_info(&client->dev, "NXP TDA10071 successfully identified\n");
client           1219 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client           1223 drivers/media/dvb-frontends/tda10071.c static int tda10071_remove(struct i2c_client *client)
client           1225 drivers/media/dvb-frontends/tda10071.c 	struct tda10071_dev *dev = i2c_get_clientdata(client);
client           1227 drivers/media/dvb-frontends/tda10071.c 	dev_dbg(&client->dev, "\n");
client             18 drivers/media/dvb-frontends/tda10071_priv.h 	struct i2c_client *client;
client             19 drivers/media/dvb-frontends/ts2020.c 	struct i2c_client *client;
client             50 drivers/media/dvb-frontends/ts2020.c 	struct i2c_client *client = priv->client;
client             52 drivers/media/dvb-frontends/ts2020.c 	dev_dbg(&client->dev, "\n");
client             54 drivers/media/dvb-frontends/ts2020.c 	i2c_unregister_device(client);
client            431 drivers/media/dvb-frontends/ts2020.c 	struct i2c_client *client = priv->client;
client            435 drivers/media/dvb-frontends/ts2020.c 	dev_dbg(&client->dev, "\n");
client            447 drivers/media/dvb-frontends/ts2020.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            508 drivers/media/dvb-frontends/ts2020.c 	struct i2c_client *client;
client            522 drivers/media/dvb-frontends/ts2020.c 	client = i2c_new_device(i2c, &board_info);
client            523 drivers/media/dvb-frontends/ts2020.c 	if (!client || !client->dev.driver)
client            553 drivers/media/dvb-frontends/ts2020.c static int ts2020_probe(struct i2c_client *client,
client            556 drivers/media/dvb-frontends/ts2020.c 	struct ts2020_config *pdata = client->dev.platform_data;
client            577 drivers/media/dvb-frontends/ts2020.c 	dev->regmap = regmap_init_i2c(client, &dev->regmap_config);
client            583 drivers/media/dvb-frontends/ts2020.c 	dev->i2c = client->adapter;
client            584 drivers/media/dvb-frontends/ts2020.c 	dev->i2c_address = client->addr;
client            593 drivers/media/dvb-frontends/ts2020.c 	dev->client = client;
client            619 drivers/media/dvb-frontends/ts2020.c 	dev_dbg(&client->dev, "chip_id=%02x\n", utmp);
client            680 drivers/media/dvb-frontends/ts2020.c 	dev_info(&client->dev,
client            688 drivers/media/dvb-frontends/ts2020.c 	i2c_set_clientdata(client, dev);
client            695 drivers/media/dvb-frontends/ts2020.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            699 drivers/media/dvb-frontends/ts2020.c static int ts2020_remove(struct i2c_client *client)
client            701 drivers/media/dvb-frontends/ts2020.c 	struct ts2020_priv *dev = i2c_get_clientdata(client);
client            703 drivers/media/dvb-frontends/ts2020.c 	dev_dbg(&client->dev, "\n");
client             58 drivers/media/i2c/ad5820.c 	struct i2c_client *client = v4l2_get_subdevdata(&coil->subdev);
client             63 drivers/media/i2c/ad5820.c 	if (!client->adapter)
client             67 drivers/media/i2c/ad5820.c 	msg.addr  = client->addr;
client             72 drivers/media/i2c/ad5820.c 	r = i2c_transfer(client->adapter, &msg, 1);
client             74 drivers/media/i2c/ad5820.c 		dev_err(&client->dev, "write failed, error %d\n", r);
client            267 drivers/media/i2c/ad5820.c 	struct i2c_client *client = container_of(dev, struct i2c_client, dev);
client            268 drivers/media/i2c/ad5820.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client            279 drivers/media/i2c/ad5820.c 	struct i2c_client *client = container_of(dev, struct i2c_client, dev);
client            280 drivers/media/i2c/ad5820.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client            289 drivers/media/i2c/ad5820.c static int ad5820_probe(struct i2c_client *client,
client            295 drivers/media/i2c/ad5820.c 	coil = devm_kzalloc(&client->dev, sizeof(*coil), GFP_KERNEL);
client            299 drivers/media/i2c/ad5820.c 	coil->vana = devm_regulator_get(&client->dev, "VANA");
client            303 drivers/media/i2c/ad5820.c 			dev_err(&client->dev, "could not get regulator for vana\n");
client            309 drivers/media/i2c/ad5820.c 	v4l2_i2c_subdev_init(&coil->subdev, client, &ad5820_ops);
client            332 drivers/media/i2c/ad5820.c static int ad5820_remove(struct i2c_client *client)
client            334 drivers/media/i2c/ad5820.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client            112 drivers/media/i2c/ad9389b.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            114 drivers/media/i2c/ad9389b.c 	return i2c_smbus_read_byte_data(client, reg);
client            119 drivers/media/i2c/ad9389b.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            124 drivers/media/i2c/ad9389b.c 		ret = i2c_smbus_write_byte_data(client, reg, val);
client           1083 drivers/media/i2c/ad9389b.c static int ad9389b_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1087 drivers/media/i2c/ad9389b.c 	struct ad9389b_platform_data *pdata = client->dev.platform_data;
client           1093 drivers/media/i2c/ad9389b.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client           1096 drivers/media/i2c/ad9389b.c 	v4l_dbg(1, debug, client, "detecting ad9389b client on address 0x%x\n",
client           1097 drivers/media/i2c/ad9389b.c 		client->addr << 1);
client           1099 drivers/media/i2c/ad9389b.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client           1105 drivers/media/i2c/ad9389b.c 		v4l_err(client, "No platform data!\n");
client           1111 drivers/media/i2c/ad9389b.c 	v4l2_i2c_subdev_init(sd, client, &ad9389b_ops);
client           1151 drivers/media/i2c/ad9389b.c 	state->edid_i2c_client = i2c_new_dummy_device(client->adapter, (0x7e >> 1));
client           1164 drivers/media/i2c/ad9389b.c 	v4l2_info(sd, "%s found @ 0x%x (%s)\n", client->name,
client           1165 drivers/media/i2c/ad9389b.c 		  client->addr << 1, client->adapter->name);
client           1177 drivers/media/i2c/ad9389b.c static int ad9389b_remove(struct i2c_client *client)
client           1179 drivers/media/i2c/ad9389b.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1184 drivers/media/i2c/ad9389b.c 	v4l2_dbg(1, debug, sd, "%s removed @ 0x%x (%s)\n", client->name,
client           1185 drivers/media/i2c/ad9389b.c 		 client->addr << 1, client->adapter->name);
client             40 drivers/media/i2c/adp1653.c 	struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev);
client             66 drivers/media/i2c/adp1653.c 	rval = i2c_smbus_write_byte_data(client, ADP1653_REG_OUT_SEL, out_sel);
client             70 drivers/media/i2c/adp1653.c 	rval = i2c_smbus_write_byte_data(client, ADP1653_REG_CONFIG, config);
client             79 drivers/media/i2c/adp1653.c 	struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev);
client             83 drivers/media/i2c/adp1653.c 	fault = i2c_smbus_read_byte_data(client, ADP1653_REG_FAULT);
client             93 drivers/media/i2c/adp1653.c 	rval = i2c_smbus_write_byte_data(client, ADP1653_REG_OUT_SEL, 0);
client            108 drivers/media/i2c/adp1653.c 	struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev);
client            118 drivers/media/i2c/adp1653.c 		return i2c_smbus_write_byte_data(client, ADP1653_REG_OUT_SEL,
client            124 drivers/media/i2c/adp1653.c 	rval = i2c_smbus_write_byte_data(client, ADP1653_REG_OUT_SEL, out_sel);
client            129 drivers/media/i2c/adp1653.c 	rval = i2c_smbus_write_byte_data(client, ADP1653_REG_SW_STROBE,
client            133 drivers/media/i2c/adp1653.c 	return i2c_smbus_write_byte_data(client, ADP1653_REG_SW_STROBE, 0);
client            263 drivers/media/i2c/adp1653.c 	struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev);
client            267 drivers/media/i2c/adp1653.c 	rval = i2c_smbus_write_byte_data(client, ADP1653_REG_OUT_SEL, 0);
client            269 drivers/media/i2c/adp1653.c 		dev_err(&client->dev, "failed writing fault register\n");
client            279 drivers/media/i2c/adp1653.c 		dev_err(&client->dev, "faults detected: 0x%1.1x\n", rval);
client            287 drivers/media/i2c/adp1653.c 		dev_err(&client->dev,
client            382 drivers/media/i2c/adp1653.c 	struct i2c_client *client = to_i2c_client(dev);
client            383 drivers/media/i2c/adp1653.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client            394 drivers/media/i2c/adp1653.c 	struct i2c_client *client = to_i2c_client(dev);
client            395 drivers/media/i2c/adp1653.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client            411 drivers/media/i2c/adp1653.c static int adp1653_of_init(struct i2c_client *client,
client            418 drivers/media/i2c/adp1653.c 	pd = devm_kzalloc(&client->dev, sizeof(*pd), GFP_KERNEL);
client            454 drivers/media/i2c/adp1653.c 	pd->enable_gpio = devm_gpiod_get(&client->dev, "enable", GPIOD_OUT_LOW);
client            456 drivers/media/i2c/adp1653.c 		dev_err(&client->dev, "Error getting GPIO\n");
client            462 drivers/media/i2c/adp1653.c 	dev_err(&client->dev, "Required property not found\n");
client            468 drivers/media/i2c/adp1653.c static int adp1653_probe(struct i2c_client *client,
client            474 drivers/media/i2c/adp1653.c 	flash = devm_kzalloc(&client->dev, sizeof(*flash), GFP_KERNEL);
client            478 drivers/media/i2c/adp1653.c 	if (client->dev.of_node) {
client            479 drivers/media/i2c/adp1653.c 		ret = adp1653_of_init(client, flash, client->dev.of_node);
client            483 drivers/media/i2c/adp1653.c 		if (!client->dev.platform_data) {
client            484 drivers/media/i2c/adp1653.c 			dev_err(&client->dev,
client            488 drivers/media/i2c/adp1653.c 		flash->platform_data = client->dev.platform_data;
client            493 drivers/media/i2c/adp1653.c 	v4l2_i2c_subdev_init(&flash->subdev, client, &adp1653_ops);
client            510 drivers/media/i2c/adp1653.c 	dev_err(&client->dev, "adp1653: failed to register device\n");
client            515 drivers/media/i2c/adp1653.c static int adp1653_remove(struct i2c_client *client)
client            517 drivers/media/i2c/adp1653.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client             62 drivers/media/i2c/adv7170.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             66 drivers/media/i2c/adv7170.c 	return i2c_smbus_write_byte_data(client, reg, value);
client             71 drivers/media/i2c/adv7170.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             73 drivers/media/i2c/adv7170.c 	return i2c_smbus_read_byte_data(client, reg);
client             79 drivers/media/i2c/adv7170.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             86 drivers/media/i2c/adv7170.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            100 drivers/media/i2c/adv7170.c 			ret = i2c_master_send(client, block_data, block_len);
client            337 drivers/media/i2c/adv7170.c static int adv7170_probe(struct i2c_client *client,
client            345 drivers/media/i2c/adv7170.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            348 drivers/media/i2c/adv7170.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            349 drivers/media/i2c/adv7170.c 			client->addr << 1, client->adapter->name);
client            351 drivers/media/i2c/adv7170.c 	encoder = devm_kzalloc(&client->dev, sizeof(*encoder), GFP_KERNEL);
client            355 drivers/media/i2c/adv7170.c 	v4l2_i2c_subdev_init(sd, client, &adv7170_ops);
client            371 drivers/media/i2c/adv7170.c static int adv7170_remove(struct i2c_client *client)
client            373 drivers/media/i2c/adv7170.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             59 drivers/media/i2c/adv7175.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             61 drivers/media/i2c/adv7175.c 	return i2c_smbus_write_byte_data(client, reg, value);
client             66 drivers/media/i2c/adv7175.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             68 drivers/media/i2c/adv7175.c 	return i2c_smbus_read_byte_data(client, reg);
client             74 drivers/media/i2c/adv7175.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             80 drivers/media/i2c/adv7175.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client             94 drivers/media/i2c/adv7175.c 			ret = i2c_master_send(client, block_data, block_len);
client            392 drivers/media/i2c/adv7175.c static int adv7175_probe(struct i2c_client *client,
client            400 drivers/media/i2c/adv7175.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            403 drivers/media/i2c/adv7175.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            404 drivers/media/i2c/adv7175.c 			client->addr << 1, client->adapter->name);
client            406 drivers/media/i2c/adv7175.c 	encoder = devm_kzalloc(&client->dev, sizeof(*encoder), GFP_KERNEL);
client            410 drivers/media/i2c/adv7175.c 	v4l2_i2c_subdev_init(sd, client, &adv7175_ops);
client            426 drivers/media/i2c/adv7175.c static int adv7175_remove(struct i2c_client *client)
client            428 drivers/media/i2c/adv7175.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            213 drivers/media/i2c/adv7180.c 	struct i2c_client	*client;
client            227 drivers/media/i2c/adv7180.c 		i2c_smbus_write_byte_data(state->client, ADV7180_REG_CTRL,
client            240 drivers/media/i2c/adv7180.c 	return i2c_smbus_write_byte_data(state->client, reg & 0xff, value);
client            247 drivers/media/i2c/adv7180.c 	return i2c_smbus_read_byte_data(state->client, reg & 0xff);
client           1301 drivers/media/i2c/adv7180.c static int adv7180_probe(struct i2c_client *client,
client           1309 drivers/media/i2c/adv7180.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client           1312 drivers/media/i2c/adv7180.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client           1313 drivers/media/i2c/adv7180.c 		 client->addr, client->adapter->name);
client           1315 drivers/media/i2c/adv7180.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client           1319 drivers/media/i2c/adv7180.c 	state->client = client;
client           1323 drivers/media/i2c/adv7180.c 	state->pwdn_gpio = devm_gpiod_get_optional(&client->dev, "powerdown",
client           1327 drivers/media/i2c/adv7180.c 		v4l_err(client, "request for power pin failed: %d\n", ret);
client           1332 drivers/media/i2c/adv7180.c 		state->csi_client = i2c_new_dummy_device(client->adapter,
client           1339 drivers/media/i2c/adv7180.c 		state->vpp_client = i2c_new_dummy_device(client->adapter,
client           1347 drivers/media/i2c/adv7180.c 	state->irq = client->irq;
client           1356 drivers/media/i2c/adv7180.c 	v4l2_i2c_subdev_init(sd, client, &adv7180_ops);
client           1374 drivers/media/i2c/adv7180.c 		ret = request_threaded_irq(client->irq, NULL, adv7180_irq,
client           1389 drivers/media/i2c/adv7180.c 		free_irq(client->irq, state);
client           1402 drivers/media/i2c/adv7180.c static int adv7180_remove(struct i2c_client *client)
client           1404 drivers/media/i2c/adv7180.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1410 drivers/media/i2c/adv7180.c 		free_irq(client->irq, state);
client           1444 drivers/media/i2c/adv7180.c 	struct i2c_client *client = to_i2c_client(dev);
client           1445 drivers/media/i2c/adv7180.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1453 drivers/media/i2c/adv7180.c 	struct i2c_client *client = to_i2c_client(dev);
client           1454 drivers/media/i2c/adv7180.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             74 drivers/media/i2c/adv7183.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             76 drivers/media/i2c/adv7183.c 	return i2c_smbus_read_byte_data(client, reg);
client             82 drivers/media/i2c/adv7183.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             84 drivers/media/i2c/adv7183.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            524 drivers/media/i2c/adv7183.c static int adv7183_probe(struct i2c_client *client,
client            537 drivers/media/i2c/adv7183.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            540 drivers/media/i2c/adv7183.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client            541 drivers/media/i2c/adv7183.c 			client->addr << 1, client->adapter->name);
client            543 drivers/media/i2c/adv7183.c 	pin_array = client->dev.platform_data;
client            547 drivers/media/i2c/adv7183.c 	decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL);
client            554 drivers/media/i2c/adv7183.c 	if (devm_gpio_request_one(&client->dev, decoder->reset_pin,
client            556 drivers/media/i2c/adv7183.c 		v4l_err(client, "failed to request GPIO %d\n", decoder->reset_pin);
client            560 drivers/media/i2c/adv7183.c 	if (devm_gpio_request_one(&client->dev, decoder->oe_pin,
client            563 drivers/media/i2c/adv7183.c 		v4l_err(client, "failed to request GPIO %d\n", decoder->oe_pin);
client            568 drivers/media/i2c/adv7183.c 	v4l2_i2c_subdev_init(sd, client, &adv7183_ops);
client            617 drivers/media/i2c/adv7183.c static int adv7183_remove(struct i2c_client *client)
client            619 drivers/media/i2c/adv7183.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             71 drivers/media/i2c/adv7343.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             73 drivers/media/i2c/adv7343.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            398 drivers/media/i2c/adv7343.c adv7343_get_pdata(struct i2c_client *client)
client            403 drivers/media/i2c/adv7343.c 	if (!IS_ENABLED(CONFIG_OF) || !client->dev.of_node)
client            404 drivers/media/i2c/adv7343.c 		return client->dev.platform_data;
client            406 drivers/media/i2c/adv7343.c 	np = of_graph_get_next_endpoint(client->dev.of_node, NULL);
client            410 drivers/media/i2c/adv7343.c 	pdata = devm_kzalloc(&client->dev, sizeof(*pdata), GFP_KERNEL);
client            431 drivers/media/i2c/adv7343.c static int adv7343_probe(struct i2c_client *client)
client            436 drivers/media/i2c/adv7343.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            439 drivers/media/i2c/adv7343.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            440 drivers/media/i2c/adv7343.c 			client->addr << 1, client->adapter->name);
client            442 drivers/media/i2c/adv7343.c 	state = devm_kzalloc(&client->dev, sizeof(struct adv7343_state),
client            448 drivers/media/i2c/adv7343.c 	state->pdata = adv7343_get_pdata(client);
client            460 drivers/media/i2c/adv7343.c 	v4l2_i2c_subdev_init(&state->sd, client, &adv7343_ops);
client            495 drivers/media/i2c/adv7343.c static int adv7343_remove(struct i2c_client *client)
client            497 drivers/media/i2c/adv7343.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             72 drivers/media/i2c/adv7393.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             74 drivers/media/i2c/adv7393.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            384 drivers/media/i2c/adv7393.c static int adv7393_probe(struct i2c_client *client,
client            390 drivers/media/i2c/adv7393.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            393 drivers/media/i2c/adv7393.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            394 drivers/media/i2c/adv7393.c 			client->addr << 1, client->adapter->name);
client            396 drivers/media/i2c/adv7393.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            410 drivers/media/i2c/adv7393.c 	v4l2_i2c_subdev_init(&state->sd, client, &adv7393_ops);
client            440 drivers/media/i2c/adv7393.c static int adv7393_remove(struct i2c_client *client)
client            442 drivers/media/i2c/adv7393.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            103 drivers/media/i2c/adv748x/adv748x-core.c 	struct i2c_client *client = state->i2c_clients[client_page];
client            111 drivers/media/i2c/adv748x/adv748x-core.c 				client->addr, reg);
client            158 drivers/media/i2c/adv748x/adv748x-core.c 	struct i2c_client *client;
client            164 drivers/media/i2c/adv748x/adv748x-core.c 		client = state->i2c_clients[i];
client            166 drivers/media/i2c/adv748x/adv748x-core.c 		io_write(state, io_reg, client->addr << 1);
client            187 drivers/media/i2c/adv748x/adv748x-core.c 				state->client,
client            540 drivers/media/i2c/adv748x/adv748x-core.c 		 state->client->addr << 1, lsb, msb);
client            565 drivers/media/i2c/adv748x/adv748x-core.c 		i2c_adapter_id(state->client->adapter),
client            566 drivers/media/i2c/adv748x/adv748x-core.c 		state->client->addr, ident);
client            671 drivers/media/i2c/adv748x/adv748x-core.c static int adv748x_probe(struct i2c_client *client)
client            677 drivers/media/i2c/adv748x/adv748x-core.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            680 drivers/media/i2c/adv748x/adv748x-core.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            686 drivers/media/i2c/adv748x/adv748x-core.c 	state->dev = &client->dev;
client            687 drivers/media/i2c/adv748x/adv748x-core.c 	state->client = client;
client            688 drivers/media/i2c/adv748x/adv748x-core.c 	state->i2c_clients[ADV748X_PAGE_IO] = client;
client            689 drivers/media/i2c/adv748x/adv748x-core.c 	i2c_set_clientdata(client, state);
client            782 drivers/media/i2c/adv748x/adv748x-core.c static int adv748x_remove(struct i2c_client *client)
client            784 drivers/media/i2c/adv748x/adv748x-core.c 	struct adv748x_state *state = i2c_get_clientdata(client);
client            186 drivers/media/i2c/adv748x/adv748x.h 	struct i2c_client *client;
client            158 drivers/media/i2c/adv7511-v4l2.c static s32 adv_smbus_read_byte_data_check(struct i2c_client *client,
client            163 drivers/media/i2c/adv7511-v4l2.c 	if (!i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            168 drivers/media/i2c/adv7511-v4l2.c 		v4l_err(client, "error reading %02x, %02x\n",
client            169 drivers/media/i2c/adv7511-v4l2.c 			client->addr, command);
client            173 drivers/media/i2c/adv7511-v4l2.c static s32 adv_smbus_read_byte_data(struct i2c_client *client, u8 command)
client            177 drivers/media/i2c/adv7511-v4l2.c 		int ret = adv_smbus_read_byte_data_check(client, command, true);
client            180 drivers/media/i2c/adv7511-v4l2.c 				v4l_err(client, "read ok after %d retries\n", i);
client            184 drivers/media/i2c/adv7511-v4l2.c 	v4l_err(client, "read failed\n");
client            190 drivers/media/i2c/adv7511-v4l2.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            192 drivers/media/i2c/adv7511-v4l2.c 	return adv_smbus_read_byte_data(client, reg);
client            197 drivers/media/i2c/adv7511-v4l2.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            202 drivers/media/i2c/adv7511-v4l2.c 		ret = i2c_smbus_write_byte_data(client, reg, val);
client            217 drivers/media/i2c/adv7511-v4l2.c static int adv_smbus_read_i2c_block_data(struct i2c_client *client,
client            227 drivers/media/i2c/adv7511-v4l2.c 	ret = i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            527 drivers/media/i2c/adv7511-v4l2.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            528 drivers/media/i2c/adv7511-v4l2.c 	struct device *dev = &client->dev;
client           1727 drivers/media/i2c/adv7511-v4l2.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1730 drivers/media/i2c/adv7511-v4l2.c 	err = cec_register_adapter(state->cec_adap, &client->dev);
client           1795 drivers/media/i2c/adv7511-v4l2.c static int adv7511_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1798 drivers/media/i2c/adv7511-v4l2.c 	struct adv7511_platform_data *pdata = client->dev.platform_data;
client           1805 drivers/media/i2c/adv7511-v4l2.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client           1808 drivers/media/i2c/adv7511-v4l2.c 	state = devm_kzalloc(&client->dev, sizeof(struct adv7511_state), GFP_KERNEL);
client           1814 drivers/media/i2c/adv7511-v4l2.c 		v4l_err(client, "No platform data!\n");
client           1824 drivers/media/i2c/adv7511-v4l2.c 			 client->addr << 1);
client           1826 drivers/media/i2c/adv7511-v4l2.c 	v4l2_i2c_subdev_init(sd, client, &adv7511_ops);
client           1875 drivers/media/i2c/adv7511-v4l2.c 	state->i2c_edid = i2c_new_dummy_device(client->adapter,
client           1892 drivers/media/i2c/adv7511-v4l2.c 		state->i2c_cec = i2c_new_dummy_device(client->adapter,
client           1904 drivers/media/i2c/adv7511-v4l2.c 	state->i2c_pktmem = i2c_new_dummy_device(client->adapter, state->i2c_pktmem_addr >> 1);
client           1924 drivers/media/i2c/adv7511-v4l2.c 		state, dev_name(&client->dev), CEC_CAP_DEFAULTS,
client           1936 drivers/media/i2c/adv7511-v4l2.c 	v4l2_info(sd, "%s found @ 0x%x (%s)\n", client->name,
client           1937 drivers/media/i2c/adv7511-v4l2.c 			  client->addr << 1, client->adapter->name);
client           1955 drivers/media/i2c/adv7511-v4l2.c static int adv7511_remove(struct i2c_client *client)
client           1957 drivers/media/i2c/adv7511-v4l2.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1962 drivers/media/i2c/adv7511-v4l2.c 	v4l2_dbg(1, debug, sd, "%s removed @ 0x%x (%s)\n", client->name,
client           1963 drivers/media/i2c/adv7511-v4l2.c 		 client->addr << 1, client->adapter->name);
client            340 drivers/media/i2c/adv7604.c 	struct i2c_client *client = state->i2c_clients[client_page];
client            347 drivers/media/i2c/adv7604.c 		v4l_err(client, "error reading %02x, %02x\n",
client            348 drivers/media/i2c/adv7604.c 				client->addr, reg);
client           2466 drivers/media/i2c/adv7604.c 		struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2470 drivers/media/i2c/adv7604.c 		hdmi_infoframe_log(KERN_INFO, &client->dev, &frame);
client           2650 drivers/media/i2c/adv7604.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2653 drivers/media/i2c/adv7604.c 	err = cec_register_adapter(state->cec_adap, &client->dev);
client           2872 drivers/media/i2c/adv7604.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2879 drivers/media/i2c/adv7604.c 		new_client = i2c_new_dummy_device(client->adapter,
client           2882 drivers/media/i2c/adv7604.c 		new_client = i2c_new_ancillary_device(client,
client           3339 drivers/media/i2c/adv7604.c static int adv76xx_probe(struct i2c_client *client,
client           3353 drivers/media/i2c/adv7604.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client           3355 drivers/media/i2c/adv7604.c 	v4l_dbg(1, debug, client, "detecting adv76xx client on address 0x%x\n",
client           3356 drivers/media/i2c/adv7604.c 			client->addr << 1);
client           3358 drivers/media/i2c/adv7604.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client           3362 drivers/media/i2c/adv7604.c 	state->i2c_clients[ADV76XX_PAGE_IO] = client;
client           3368 drivers/media/i2c/adv7604.c 	if (IS_ENABLED(CONFIG_OF) && client->dev.of_node) {
client           3371 drivers/media/i2c/adv7604.c 		oid = of_match_node(adv76xx_of_id, client->dev.of_node);
client           3376 drivers/media/i2c/adv7604.c 			v4l_err(client, "DT parsing error\n");
client           3379 drivers/media/i2c/adv7604.c 	} else if (client->dev.platform_data) {
client           3380 drivers/media/i2c/adv7604.c 		struct adv76xx_platform_data *pdata = client->dev.platform_data;
client           3385 drivers/media/i2c/adv7604.c 		v4l_err(client, "No platform data!\n");
client           3392 drivers/media/i2c/adv7604.c 			devm_gpiod_get_index_optional(&client->dev, "hpd", i,
client           3398 drivers/media/i2c/adv7604.c 			v4l_info(client, "Handling HPD %u GPIO\n", i);
client           3400 drivers/media/i2c/adv7604.c 	state->reset_gpio = devm_gpiod_get_optional(&client->dev, "reset",
client           3411 drivers/media/i2c/adv7604.c 	v4l2_i2c_subdev_init(sd, client, &adv76xx_ops);
client           3413 drivers/media/i2c/adv7604.c 		id->name, i2c_adapter_id(client->adapter),
client           3414 drivers/media/i2c/adv7604.c 		client->addr);
client           3440 drivers/media/i2c/adv7604.c 					client->addr << 1);
client           3465 drivers/media/i2c/adv7604.c 					client->addr << 1);
client           3556 drivers/media/i2c/adv7604.c 	if (client->irq) {
client           3557 drivers/media/i2c/adv7604.c 		err = devm_request_threaded_irq(&client->dev,
client           3558 drivers/media/i2c/adv7604.c 						client->irq,
client           3561 drivers/media/i2c/adv7604.c 						client->name, state);
client           3568 drivers/media/i2c/adv7604.c 		state, dev_name(&client->dev),
client           3575 drivers/media/i2c/adv7604.c 	v4l2_info(sd, "%s found @ 0x%x (%s)\n", client->name,
client           3576 drivers/media/i2c/adv7604.c 			client->addr << 1, client->adapter->name);
client           3597 drivers/media/i2c/adv7604.c static int adv76xx_remove(struct i2c_client *client)
client           3599 drivers/media/i2c/adv7604.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            280 drivers/media/i2c/adv7842.c static s32 adv_smbus_read_byte_data_check(struct i2c_client *client,
client            285 drivers/media/i2c/adv7842.c 	if (!i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            290 drivers/media/i2c/adv7842.c 		v4l_err(client, "error reading %02x, %02x\n",
client            291 drivers/media/i2c/adv7842.c 			client->addr, command);
client            295 drivers/media/i2c/adv7842.c static s32 adv_smbus_read_byte_data(struct i2c_client *client, u8 command)
client            300 drivers/media/i2c/adv7842.c 		int ret = adv_smbus_read_byte_data_check(client, command, true);
client            304 drivers/media/i2c/adv7842.c 				v4l_err(client, "read ok after %d retries\n", i);
client            308 drivers/media/i2c/adv7842.c 	v4l_err(client, "read failed\n");
client            312 drivers/media/i2c/adv7842.c static s32 adv_smbus_write_byte_data(struct i2c_client *client,
client            321 drivers/media/i2c/adv7842.c 		err = i2c_smbus_xfer(client->adapter, client->addr,
client            322 drivers/media/i2c/adv7842.c 				     client->flags,
client            329 drivers/media/i2c/adv7842.c 		v4l_err(client, "error writing %02x, %02x, %02x\n",
client            330 drivers/media/i2c/adv7842.c 			client->addr, command, value);
client            334 drivers/media/i2c/adv7842.c static void adv_smbus_write_byte_no_check(struct i2c_client *client,
client            340 drivers/media/i2c/adv7842.c 	i2c_smbus_xfer(client->adapter, client->addr,
client            341 drivers/media/i2c/adv7842.c 		       client->flags,
client            346 drivers/media/i2c/adv7842.c static s32 adv_smbus_write_i2c_block_data(struct i2c_client *client,
client            355 drivers/media/i2c/adv7842.c 	return i2c_smbus_xfer(client->adapter, client->addr, client->flags,
client            364 drivers/media/i2c/adv7842.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            366 drivers/media/i2c/adv7842.c 	return adv_smbus_read_byte_data(client, reg);
client            371 drivers/media/i2c/adv7842.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            373 drivers/media/i2c/adv7842.c 	return adv_smbus_write_byte_data(client, reg, val);
client            578 drivers/media/i2c/adv7842.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            582 drivers/media/i2c/adv7842.c 	adv_smbus_write_byte_no_check(client, 0xff, 0x80);
client            726 drivers/media/i2c/adv7842.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            760 drivers/media/i2c/adv7842.c 		v4l_err(client, "error enabling edid on VGA port\n");
client            772 drivers/media/i2c/adv7842.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            836 drivers/media/i2c/adv7842.c 		v4l_err(client, "error enabling edid on port %c\n",
client           1054 drivers/media/i2c/adv7842.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1082 drivers/media/i2c/adv7842.c 		if (adv_smbus_write_i2c_block_data(client, 0x16, 2, pll)) {
client           2556 drivers/media/i2c/adv7842.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2557 drivers/media/i2c/adv7842.c 	struct device *dev = &client->dev;
client           3178 drivers/media/i2c/adv7842.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           3180 drivers/media/i2c/adv7842.c 	struct adv7842_platform_data *pdata = client->dev.platform_data;
client           3251 drivers/media/i2c/adv7842.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           3254 drivers/media/i2c/adv7842.c 	err = cec_register_adapter(state->cec_adap, &client->dev);
client           3382 drivers/media/i2c/adv7842.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           3392 drivers/media/i2c/adv7842.c 	cp = i2c_new_dummy_device(client->adapter, io_read(sd, io_reg) >> 1);
client           3435 drivers/media/i2c/adv7842.c static int adv7842_probe(struct i2c_client *client,
client           3441 drivers/media/i2c/adv7842.c 	struct adv7842_platform_data *pdata = client->dev.platform_data;
client           3449 drivers/media/i2c/adv7842.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client           3452 drivers/media/i2c/adv7842.c 	v4l_dbg(1, debug, client, "detecting adv7842 client on address 0x%x\n",
client           3453 drivers/media/i2c/adv7842.c 		client->addr << 1);
client           3456 drivers/media/i2c/adv7842.c 		v4l_err(client, "No platform data!\n");
client           3460 drivers/media/i2c/adv7842.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client           3470 drivers/media/i2c/adv7842.c 	v4l2_i2c_subdev_init(sd, client, &adv7842_ops);
client           3479 drivers/media/i2c/adv7842.c 	rev = adv_smbus_read_byte_data_check(client, 0xea, false) << 8 |
client           3480 drivers/media/i2c/adv7842.c 		adv_smbus_read_byte_data_check(client, 0xeb, false);
client           3483 drivers/media/i2c/adv7842.c 		rev = adv_smbus_read_byte_data_check(client, 0xea, false) << 8 |
client           3484 drivers/media/i2c/adv7842.c 			adv_smbus_read_byte_data_check(client, 0xeb, false);
client           3488 drivers/media/i2c/adv7842.c 			  client->addr << 1, rev);
client           3559 drivers/media/i2c/adv7842.c 		state, dev_name(&client->dev),
client           3566 drivers/media/i2c/adv7842.c 	v4l2_info(sd, "%s found @ 0x%x (%s)\n", client->name,
client           3567 drivers/media/i2c/adv7842.c 		  client->addr << 1, client->adapter->name);
client           3583 drivers/media/i2c/adv7842.c static int adv7842_remove(struct i2c_client *client)
client           3585 drivers/media/i2c/adv7842.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             54 drivers/media/i2c/ak7375.c 	struct i2c_client *client = v4l2_get_subdevdata(&ak7375->sd);
client             64 drivers/media/i2c/ak7375.c 	ret = i2c_master_send(client, (const char *)buf, size + 1);
client            140 drivers/media/i2c/ak7375.c static int ak7375_probe(struct i2c_client *client)
client            145 drivers/media/i2c/ak7375.c 	ak7375_dev = devm_kzalloc(&client->dev, sizeof(*ak7375_dev),
client            150 drivers/media/i2c/ak7375.c 	v4l2_i2c_subdev_init(&ak7375_dev->sd, client, &ak7375_ops);
client            167 drivers/media/i2c/ak7375.c 	pm_runtime_set_active(&client->dev);
client            168 drivers/media/i2c/ak7375.c 	pm_runtime_enable(&client->dev);
client            169 drivers/media/i2c/ak7375.c 	pm_runtime_idle(&client->dev);
client            180 drivers/media/i2c/ak7375.c static int ak7375_remove(struct i2c_client *client)
client            182 drivers/media/i2c/ak7375.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            186 drivers/media/i2c/ak7375.c 	pm_runtime_disable(&client->dev);
client            187 drivers/media/i2c/ak7375.c 	pm_runtime_set_suspended(&client->dev);
client            200 drivers/media/i2c/ak7375.c 	struct i2c_client *client = to_i2c_client(dev);
client            201 drivers/media/i2c/ak7375.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            236 drivers/media/i2c/ak7375.c 	struct i2c_client *client = to_i2c_client(dev);
client            237 drivers/media/i2c/ak7375.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             35 drivers/media/i2c/ak881x.c static int reg_read(struct i2c_client *client, const u8 reg)
client             37 drivers/media/i2c/ak881x.c 	return i2c_smbus_read_byte_data(client, reg);
client             40 drivers/media/i2c/ak881x.c static int reg_write(struct i2c_client *client, const u8 reg,
client             43 drivers/media/i2c/ak881x.c 	return i2c_smbus_write_byte_data(client, reg, data);
client             46 drivers/media/i2c/ak881x.c static int reg_set(struct i2c_client *client, const u8 reg,
client             49 drivers/media/i2c/ak881x.c 	int ret = reg_read(client, reg);
client             52 drivers/media/i2c/ak881x.c 	return reg_write(client, reg, (ret & ~mask) | (data & mask));
client             55 drivers/media/i2c/ak881x.c static struct ak881x *to_ak881x(const struct i2c_client *client)
client             57 drivers/media/i2c/ak881x.c 	return container_of(i2c_get_clientdata(client), struct ak881x, subdev);
client             64 drivers/media/i2c/ak881x.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             70 drivers/media/i2c/ak881x.c 	reg->val = reg_read(client, reg->reg);
client             81 drivers/media/i2c/ak881x.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             86 drivers/media/i2c/ak881x.c 	if (reg_write(client, reg->reg, reg->val) < 0)
client             98 drivers/media/i2c/ak881x.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             99 drivers/media/i2c/ak881x.c 	struct ak881x *ak881x = to_ak881x(client);
client            128 drivers/media/i2c/ak881x.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            129 drivers/media/i2c/ak881x.c 	struct ak881x *ak881x = to_ak881x(client);
client            148 drivers/media/i2c/ak881x.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            149 drivers/media/i2c/ak881x.c 	struct ak881x *ak881x = to_ak881x(client);
client            172 drivers/media/i2c/ak881x.c 	reg_set(client, AK881X_VIDEO_PROCESS1, vp1, 0xf);
client            179 drivers/media/i2c/ak881x.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            180 drivers/media/i2c/ak881x.c 	struct ak881x *ak881x = to_ak881x(client);
client            191 drivers/media/i2c/ak881x.c 		reg_write(client, AK881X_DAC_MODE, dac);
client            192 drivers/media/i2c/ak881x.c 		dev_dbg(&client->dev, "chip status 0x%x\n",
client            193 drivers/media/i2c/ak881x.c 			reg_read(client, AK881X_STATUS));
client            196 drivers/media/i2c/ak881x.c 		reg_write(client, AK881X_DAC_MODE, 0);
client            197 drivers/media/i2c/ak881x.c 		dev_dbg(&client->dev, "chip status 0x%x\n",
client            198 drivers/media/i2c/ak881x.c 			reg_read(client, AK881X_STATUS));
client            229 drivers/media/i2c/ak881x.c static int ak881x_probe(struct i2c_client *client,
client            232 drivers/media/i2c/ak881x.c 	struct i2c_adapter *adapter = client->adapter;
client            242 drivers/media/i2c/ak881x.c 	ak881x = devm_kzalloc(&client->dev, sizeof(*ak881x), GFP_KERNEL);
client            246 drivers/media/i2c/ak881x.c 	v4l2_i2c_subdev_init(&ak881x->subdev, client, &ak881x_subdev_ops);
client            248 drivers/media/i2c/ak881x.c 	data = reg_read(client, AK881X_DEVICE_ID);
client            255 drivers/media/i2c/ak881x.c 		dev_err(&client->dev,
client            260 drivers/media/i2c/ak881x.c 	ak881x->revision = reg_read(client, AK881X_DEVICE_REVISION);
client            261 drivers/media/i2c/ak881x.c 	ak881x->pdata = client->dev.platform_data;
client            281 drivers/media/i2c/ak881x.c 		dev_dbg(&client->dev, "IF mode %x\n", ifmode);
client            288 drivers/media/i2c/ak881x.c 		reg_write(client, AK881X_INTERFACE_MODE, ifmode | (20 << 3));
client            294 drivers/media/i2c/ak881x.c 	dev_info(&client->dev, "Detected an ak881x chip ID %x, revision %x\n",
client            300 drivers/media/i2c/ak881x.c static int ak881x_remove(struct i2c_client *client)
client            302 drivers/media/i2c/ak881x.c 	struct ak881x *ak881x = to_ak881x(client);
client             79 drivers/media/i2c/bt819.c 	struct i2c_client *client = v4l2_get_subdevdata(&decoder->sd);
client             82 drivers/media/i2c/bt819.c 	return i2c_smbus_write_byte_data(client, reg, value);
client             93 drivers/media/i2c/bt819.c 	struct i2c_client *client = v4l2_get_subdevdata(&decoder->sd);
client             99 drivers/media/i2c/bt819.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            113 drivers/media/i2c/bt819.c 			ret = i2c_master_send(client, block_data, block_len);
client            133 drivers/media/i2c/bt819.c 	struct i2c_client *client = v4l2_get_subdevdata(&decoder->sd);
client            135 drivers/media/i2c/bt819.c 	return i2c_smbus_read_byte_data(client, reg);
client            383 drivers/media/i2c/bt819.c static int bt819_probe(struct i2c_client *client,
client            392 drivers/media/i2c/bt819.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            395 drivers/media/i2c/bt819.c 	decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL);
client            399 drivers/media/i2c/bt819.c 	v4l2_i2c_subdev_init(sd, client, &bt819_ops);
client            418 drivers/media/i2c/bt819.c 	v4l_info(client, "%s found @ 0x%x (%s)\n", name,
client            419 drivers/media/i2c/bt819.c 			client->addr << 1, client->adapter->name);
client            449 drivers/media/i2c/bt819.c static int bt819_remove(struct i2c_client *client)
client            451 drivers/media/i2c/bt819.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             57 drivers/media/i2c/bt856.c 	struct i2c_client *client = v4l2_get_subdevdata(&encoder->sd);
client             60 drivers/media/i2c/bt856.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            184 drivers/media/i2c/bt856.c static int bt856_probe(struct i2c_client *client,
client            191 drivers/media/i2c/bt856.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            194 drivers/media/i2c/bt856.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            195 drivers/media/i2c/bt856.c 			client->addr << 1, client->adapter->name);
client            197 drivers/media/i2c/bt856.c 	encoder = devm_kzalloc(&client->dev, sizeof(*encoder), GFP_KERNEL);
client            201 drivers/media/i2c/bt856.c 	v4l2_i2c_subdev_init(sd, client, &bt856_ops);
client            226 drivers/media/i2c/bt856.c static int bt856_remove(struct i2c_client *client)
client            228 drivers/media/i2c/bt856.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             51 drivers/media/i2c/bt866.c 	struct i2c_client *client = v4l2_get_subdevdata(&encoder->sd);
client             60 drivers/media/i2c/bt866.c 	v4l_dbg(1, debug, client, "write 0x%02x = 0x%02x\n", subaddr, data);
client             63 drivers/media/i2c/bt866.c 		if (i2c_master_send(client, buffer, 2) == 2)
client             66 drivers/media/i2c/bt866.c 		v4l_warn(client, "error #%d writing to 0x%02x\n",
client             71 drivers/media/i2c/bt866.c 		v4l_warn(client, "giving up\n");
client            162 drivers/media/i2c/bt866.c 	bt866_write(client, 0xdc, val);
client            176 drivers/media/i2c/bt866.c static int bt866_probe(struct i2c_client *client,
client            182 drivers/media/i2c/bt866.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            183 drivers/media/i2c/bt866.c 			client->addr << 1, client->adapter->name);
client            185 drivers/media/i2c/bt866.c 	encoder = devm_kzalloc(&client->dev, sizeof(*encoder), GFP_KERNEL);
client            189 drivers/media/i2c/bt866.c 	v4l2_i2c_subdev_init(sd, client, &bt866_ops);
client            193 drivers/media/i2c/bt866.c static int bt866_remove(struct i2c_client *client)
client            195 drivers/media/i2c/bt866.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             25 drivers/media/i2c/cs3308.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             27 drivers/media/i2c/cs3308.c 	return i2c_smbus_write_byte_data(client, reg, value);
client             32 drivers/media/i2c/cs3308.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             34 drivers/media/i2c/cs3308.c 	return i2c_smbus_read_byte_data(client, reg);
client             67 drivers/media/i2c/cs3308.c static int cs3308_probe(struct i2c_client *client,
client             74 drivers/media/i2c/cs3308.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client             77 drivers/media/i2c/cs3308.c 	if ((i2c_smbus_read_byte_data(client, 0x1c) & 0xf0) != 0xe0)
client             80 drivers/media/i2c/cs3308.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client             81 drivers/media/i2c/cs3308.c 		 client->addr << 1, client->adapter->name);
client             87 drivers/media/i2c/cs3308.c 	v4l2_i2c_subdev_init(sd, client, &cs3308_ops);
client            102 drivers/media/i2c/cs3308.c static int cs3308_remove(struct i2c_client *client)
client            104 drivers/media/i2c/cs3308.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             45 drivers/media/i2c/cs5345.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             47 drivers/media/i2c/cs5345.c 	return i2c_smbus_write_byte_data(client, reg, value);
client             52 drivers/media/i2c/cs5345.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             54 drivers/media/i2c/cs5345.c 	return i2c_smbus_read_byte_data(client, reg);
client            139 drivers/media/i2c/cs5345.c static int cs5345_probe(struct i2c_client *client,
client            146 drivers/media/i2c/cs5345.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            149 drivers/media/i2c/cs5345.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            150 drivers/media/i2c/cs5345.c 			client->addr << 1, client->adapter->name);
client            152 drivers/media/i2c/cs5345.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            156 drivers/media/i2c/cs5345.c 	v4l2_i2c_subdev_init(sd, client, &cs5345_ops);
client            181 drivers/media/i2c/cs5345.c static int cs5345_remove(struct i2c_client *client)
client            183 drivers/media/i2c/cs5345.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             50 drivers/media/i2c/cs53l32a.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             52 drivers/media/i2c/cs53l32a.c 	return i2c_smbus_write_byte_data(client, reg, value);
client             57 drivers/media/i2c/cs53l32a.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             59 drivers/media/i2c/cs53l32a.c 	return i2c_smbus_read_byte_data(client, reg);
client            131 drivers/media/i2c/cs53l32a.c static int cs53l32a_probe(struct i2c_client *client,
client            139 drivers/media/i2c/cs53l32a.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            143 drivers/media/i2c/cs53l32a.c 		strscpy(client->name, "cs53l32a", sizeof(client->name));
client            145 drivers/media/i2c/cs53l32a.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            146 drivers/media/i2c/cs53l32a.c 			client->addr << 1, client->adapter->name);
client            148 drivers/media/i2c/cs53l32a.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            152 drivers/media/i2c/cs53l32a.c 	v4l2_i2c_subdev_init(sd, client, &cs53l32a_ops);
client            193 drivers/media/i2c/cs53l32a.c static int cs53l32a_remove(struct i2c_client *client)
client            195 drivers/media/i2c/cs53l32a.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             31 drivers/media/i2c/cx25840/cx25840-audio.c static int cx25840_set_audclk_freq(struct i2c_client *client, u32 freq)
client             33 drivers/media/i2c/cx25840/cx25840-audio.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client             42 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x108, 0x1006040f);
client             57 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x110, 0x01bb39ee);
client             63 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write(client, 0x127, 0x50);
client             70 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x900, 0x0801f77f);
client             71 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x904, 0x0801f77f);
client             72 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x90c, 0x0801f77f);
client             80 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x108, 0x1009040f);
client             94 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x110, 0x00ec6bd6);
client            100 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write(client, 0x127, 0x50);
client            107 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x900, 0x08016d59);
client            108 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x904, 0x08016d59);
client            109 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x90c, 0x08016d59);
client            117 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x108, 0x100a040f);
client            131 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x110, 0x0098d6e5);
client            137 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write(client, 0x127, 0x50);
client            144 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x900, 0x08014faa);
client            145 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x904, 0x08014faa);
client            146 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x90c, 0x08014faa);
client            156 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x108, 0x1e08040f);
client            170 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x110, 0x012a0869);
client            176 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write(client, 0x127, 0x54);
client            183 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x8f8, 0x08010000);
client            187 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x900, 0x08020000);
client            188 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x904, 0x08020000);
client            189 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x90c, 0x08020000);
client            197 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x108, 0x1809040f);
client            211 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x110, 0x00ec6bd6);
client            217 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write(client, 0x127, 0x50);
client            224 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x8f8, 0x080160cd);
client            228 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x900, 0x08017385);
client            229 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x904, 0x08017385);
client            230 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x90c, 0x08017385);
client            238 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x108, 0x180a040f);
client            252 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x110, 0x0098d6e5);
client            258 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write(client, 0x127, 0x50);
client            265 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x8f8, 0x08018000);
client            269 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x900, 0x08015555);
client            270 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x904, 0x08015555);
client            271 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x90c, 0x08015555);
client            281 drivers/media/i2c/cx25840/cx25840-audio.c static inline int cx25836_set_audclk_freq(struct i2c_client *client, u32 freq)
client            283 drivers/media/i2c/cx25840/cx25840-audio.c 	return cx25840_set_audclk_freq(client, freq);
client            286 drivers/media/i2c/cx25840/cx25840-audio.c static int cx23885_set_audclk_freq(struct i2c_client *client, u32 freq)
client            288 drivers/media/i2c/cx25840/cx25840-audio.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client            312 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x8f8, 0x0801867c);
client            316 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x900, 0x08014faa);
client            317 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x904, 0x08014faa);
client            318 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x90c, 0x08014faa);
client            328 drivers/media/i2c/cx25840/cx25840-audio.c static int cx231xx_set_audclk_freq(struct i2c_client *client, u32 freq)
client            330 drivers/media/i2c/cx25840/cx25840-audio.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client            337 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x900, 0x0801f77f);
client            338 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x904, 0x0801f77f);
client            339 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x90c, 0x0801f77f);
client            345 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x900, 0x08016d59);
client            346 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x904, 0x08016d59);
client            347 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x90c, 0x08016d59);
client            353 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x900, 0x08014faa);
client            354 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x904, 0x08014faa);
client            355 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x90c, 0x08014faa);
client            364 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x8f8, 0x08010000);
client            368 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x900, 0x08020000);
client            369 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x904, 0x08020000);
client            370 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x90c, 0x08020000);
client            376 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x8f8, 0x080160cd);
client            380 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x900, 0x08017385);
client            381 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x904, 0x08017385);
client            382 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x90c, 0x08017385);
client            388 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x8f8, 0x0801867c);
client            392 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x900, 0x08014faa);
client            393 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x904, 0x08014faa);
client            394 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x90c, 0x08014faa);
client            404 drivers/media/i2c/cx25840/cx25840-audio.c static int set_audclk_freq(struct i2c_client *client, u32 freq)
client            406 drivers/media/i2c/cx25840/cx25840-audio.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client            412 drivers/media/i2c/cx25840/cx25840-audio.c 		return cx231xx_set_audclk_freq(client, freq);
client            415 drivers/media/i2c/cx25840/cx25840-audio.c 		return cx23885_set_audclk_freq(client, freq);
client            418 drivers/media/i2c/cx25840/cx25840-audio.c 		return cx25836_set_audclk_freq(client, freq);
client            420 drivers/media/i2c/cx25840/cx25840-audio.c 	return cx25840_set_audclk_freq(client, freq);
client            423 drivers/media/i2c/cx25840/cx25840-audio.c void cx25840_audio_set_path(struct i2c_client *client)
client            425 drivers/media/i2c/cx25840/cx25840-audio.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client            429 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x810, ~0x1, 0x01);
client            432 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x803, ~0x10, 0);
client            435 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_write(client, 0x8d3, 0x1f);
client            439 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x8d0, 0x01011012);
client            446 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_write4(client, 0x8d0, 0x1f063870);
client            450 drivers/media/i2c/cx25840/cx25840-audio.c 	set_audclk_freq(client, state->audclk_freq);
client            456 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_and_or(client, 0x803, ~0x10, 0x10);
client            460 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x810, ~0x1, 0x00);
client            464 drivers/media/i2c/cx25840/cx25840-audio.c 			cx25840_and_or(client, 0x803, ~0x10, 0x10);
client            468 drivers/media/i2c/cx25840/cx25840-audio.c static void set_volume(struct i2c_client *client, int volume)
client            485 drivers/media/i2c/cx25840/cx25840-audio.c 	cx25840_write(client, 0x8d4, 228 - (vol * 2));
client            488 drivers/media/i2c/cx25840/cx25840-audio.c static void set_balance(struct i2c_client *client, int balance)
client            493 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x8d5, 0x7f, 0x80);
client            495 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x8d5, ~0x7f, bal & 0x7f);
client            498 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x8d5, 0x7f, 0x00);
client            500 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x8d5, ~0x7f, 0x80 - bal);
client            506 drivers/media/i2c/cx25840/cx25840-audio.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            511 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x810, ~0x1, 1);
client            513 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x803, ~0x10, 0);
client            514 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_write(client, 0x8d3, 0x1f);
client            516 drivers/media/i2c/cx25840/cx25840-audio.c 	retval = set_audclk_freq(client, freq);
client            518 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x803, ~0x10, 0x10);
client            520 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x810, ~0x1, 0);
client            528 drivers/media/i2c/cx25840/cx25840-audio.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            533 drivers/media/i2c/cx25840/cx25840-audio.c 			set_volume(client, 0);
client            535 drivers/media/i2c/cx25840/cx25840-audio.c 			set_volume(client, state->volume->val);
client            539 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x8d9, ~0x3f,
client            544 drivers/media/i2c/cx25840/cx25840-audio.c 		cx25840_and_or(client, 0x8db, ~0x3f,
client            548 drivers/media/i2c/cx25840/cx25840-audio.c 		set_balance(client, ctrl->val);
client             74 drivers/media/i2c/cx25840/cx25840-core.c static void cx23888_std_setup(struct i2c_client *client);
client             76 drivers/media/i2c/cx25840/cx25840-core.c int cx25840_write(struct i2c_client *client, u16 addr, u8 value)
client             83 drivers/media/i2c/cx25840/cx25840-core.c 	return i2c_master_send(client, buffer, 3);
client             86 drivers/media/i2c/cx25840/cx25840-core.c int cx25840_write4(struct i2c_client *client, u16 addr, u32 value)
client             96 drivers/media/i2c/cx25840/cx25840-core.c 	return i2c_master_send(client, buffer, 6);
client             99 drivers/media/i2c/cx25840/cx25840-core.c u8 cx25840_read(struct i2c_client *client, u16 addr)
client            107 drivers/media/i2c/cx25840/cx25840-core.c 	msgs[0].addr = client->addr;
client            113 drivers/media/i2c/cx25840/cx25840-core.c 	msgs[1].addr = client->addr;
client            118 drivers/media/i2c/cx25840/cx25840-core.c 	if (i2c_transfer(client->adapter, msgs, 2) < 2)
client            124 drivers/media/i2c/cx25840/cx25840-core.c u32 cx25840_read4(struct i2c_client *client, u16 addr)
client            132 drivers/media/i2c/cx25840/cx25840-core.c 	msgs[0].addr = client->addr;
client            138 drivers/media/i2c/cx25840/cx25840-core.c 	msgs[1].addr = client->addr;
client            143 drivers/media/i2c/cx25840/cx25840-core.c 	if (i2c_transfer(client->adapter, msgs, 2) < 2)
client            150 drivers/media/i2c/cx25840/cx25840-core.c int cx25840_and_or(struct i2c_client *client, u16 addr, unsigned int and_mask,
client            153 drivers/media/i2c/cx25840/cx25840-core.c 	return cx25840_write(client, addr,
client            154 drivers/media/i2c/cx25840/cx25840-core.c 			     (cx25840_read(client, addr) & and_mask) |
client            158 drivers/media/i2c/cx25840/cx25840-core.c int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask,
client            161 drivers/media/i2c/cx25840/cx25840-core.c 	return cx25840_write4(client, addr,
client            162 drivers/media/i2c/cx25840/cx25840-core.c 			      (cx25840_read4(client, addr) & and_mask) |
client            168 drivers/media/i2c/cx25840/cx25840-core.c static int set_input(struct i2c_client *client,
client            177 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            182 drivers/media/i2c/cx25840/cx25840-core.c 	pin_ctrl = cx25840_read4(client, 0x120);
client            183 drivers/media/i2c/cx25840/cx25840-core.c 	gpio_oe = cx25840_read(client, 0x160);
client            184 drivers/media/i2c/cx25840/cx25840-core.c 	gpio_data = cx25840_read(client, 0x164);
client            308 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x164, gpio_data);
client            309 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x160, gpio_oe);
client            310 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x120, pin_ctrl);
client            314 drivers/media/i2c/cx25840/cx25840-core.c static u8 cx25840_function_to_pad(struct i2c_client *client, u8 function)
client            317 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_err(client, "invalid function %u, assuming default\n",
client            388 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            393 drivers/media/i2c/cx25840/cx25840-core.c 		pinctrl[i] = cx25840_read(client, 0x114 + i);
client            396 drivers/media/i2c/cx25840/cx25840-core.c 		pinconf[i] = cx25840_read(client, 0x11c + i);
client            398 drivers/media/i2c/cx25840/cx25840-core.c 	voutctrl4 = cx25840_read(client, 0x407);
client            406 drivers/media/i2c/cx25840/cx25840-core.c 			v4l_err(client,
client            422 drivers/media/i2c/cx25840/cx25840-core.c 			pinconf[3] |= cx25840_function_to_pad(client,
client            451 drivers/media/i2c/cx25840/cx25840-core.c 			pinconf[4] |= cx25840_function_to_pad(client,
client            499 drivers/media/i2c/cx25840/cx25840-core.c 					cx25840_function_to_pad(client,
client            507 drivers/media/i2c/cx25840/cx25840-core.c 			v4l_err(client, "invalid or unsupported pin %u\n",
client            513 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x407, voutctrl4);
client            516 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x114 + i, pinctrl[i]);
client            519 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x11c + i, pinconf[i]);
client            538 drivers/media/i2c/cx25840/cx25840-core.c static void init_dll1(struct i2c_client *client)
client            544 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x159, 0x23);
client            545 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x15a, 0x87);
client            546 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x15b, 0x06);
client            548 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x159, 0xe1);
client            550 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x15a, 0x86);
client            551 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x159, 0xe0);
client            552 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x159, 0xe1);
client            553 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x15b, 0x10);
client            556 drivers/media/i2c/cx25840/cx25840-core.c static void init_dll2(struct i2c_client *client)
client            562 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x15d, 0xe3);
client            563 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x15e, 0x86);
client            564 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x15f, 0x06);
client            566 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x15d, 0xe1);
client            567 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x15d, 0xe0);
client            568 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x15d, 0xe1);
client            571 drivers/media/i2c/cx25840/cx25840-core.c static void cx25836_initialize(struct i2c_client *client)
client            579 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x000, ~0x01, 0x01);
client            580 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x000, ~0x01, 0x00);
client            582 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x15a, ~0x70, 0x00);
client            584 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x15b, ~0x1e, 0x06);
client            586 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x159, ~0x02, 0x02);
client            590 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x159, ~0x02, 0x00);
client            592 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x159, ~0xc0, 0xc0);
client            594 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x159, ~0x01, 0x00);
client            595 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x159, ~0x01, 0x01);
client            597 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x15b, ~0x1e, 0x10);
client            620 drivers/media/i2c/cx25840/cx25840-core.c static void cx25840_vconfig_apply(struct i2c_client *client)
client            622 drivers/media/i2c/cx25840/cx25840-core.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client            627 drivers/media/i2c/cx25840/cx25840-core.c 		voutctrl[i] = cx25840_read(client, 0x404 + i);
client            690 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x404 + i, voutctrl[i]);
client            693 drivers/media/i2c/cx25840/cx25840-core.c static void cx25840_initialize(struct i2c_client *client)
client            696 drivers/media/i2c/cx25840/cx25840-core.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client            701 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x803, ~0x10, 0x00);
client            706 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x000, 0x04);
client            708 drivers/media/i2c/cx25840/cx25840-core.c 	init_dll1(client);
client            709 drivers/media/i2c/cx25840/cx25840-core.c 	init_dll2(client);
client            710 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x136, 0x0a);
client            712 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x13c, 0x01);
client            713 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x13c, 0x00);
client            733 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x115, 0x8c);
client            734 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x116, 0x07);
client            735 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x118, 0x02);
client            737 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x4a5, 0x80);
client            738 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x4a5, 0x00);
client            739 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x402, 0x00);
client            741 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x401, ~0x18, 0);
client            742 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x4a2, ~0x10, 0x10);
client            745 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x8d3, 0x1f);
client            746 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x8e3, 0x03);
client            748 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_std_setup(client);
client            751 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x914, 0xa0);
client            752 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x918, 0xa0);
client            753 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x919, 0x01);
client            756 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x809, 0x04);
client            758 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x8cf, 0x0f);
client            761 drivers/media/i2c/cx25840/cx25840-core.c 	set_input(client, state->vid_input, state->aud_input);
client            764 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_vconfig_apply(client);
client            767 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x803, ~0x10, 0x10);
client            770 drivers/media/i2c/cx25840/cx25840-core.c static void cx23885_initialize(struct i2c_client *client)
client            773 drivers/media/i2c/cx25840/cx25840-core.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client            786 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x000, 0);
client            789 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x102, ~0x01, 0x01);
client            790 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x102, ~0x01, 0x00);
client            793 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x803, ~0x10, 0x00);
client            796 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x398, 0);
client            804 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x2, 0x76);
client            807 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x1, 0x40);
client            821 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x2, 0x71);
client            823 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x11c, 0x01d1744c);
client            824 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x118, 0x00000416);
client            825 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x404, 0x0010253e);
client            826 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x42c, 0x42600000);
client            827 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x44c, 0x161f1000);
client            834 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x11c, 0x01d1744c);
client            835 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x118, 0x00000416);
client            843 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x11c, 0x00000000);
client            844 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x118, 0x00000414);
client            849 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x33c, 0x00000001);
client            852 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x340, 0x0df7df83);
client            867 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x10c, 0x01b6db7b);
client            868 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x108, 0x00000512);
client            871 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x10c, 0x13333333);
client            872 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x108, 0x00000515);
client            876 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x10c, 0x002be2c9);
client            877 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x108, 0x0000040f);
client            881 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x414, 0x00107d12);
client            885 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x418, 0x1d008282);
client            887 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x420, 0x3d008282);
client            904 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x114, 0x017dbf48);
client            905 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x110, 0x000a030e);
client            913 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x114, 0x017dbf48);
client            914 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x110, 0x000a030e);
client            923 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x114, 0x01bf0c9e);
client            924 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x110, 0x000a030c);
client            929 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x102, 0x10);
client            932 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x103, 0x11);
client            935 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x400, 0);
client            938 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x401, 0xe8);
client            941 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x144, 0x05);
client            949 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x160, 0x1d);
client            950 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x164, 0x00);
client            974 drivers/media/i2c/cx25840/cx25840-core.c 		cx23888_std_setup(client);
client            976 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_std_setup(client);
client            979 drivers/media/i2c/cx25840/cx25840-core.c 	set_input(client, state->vid_input, state->aud_input);
client            982 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x803, ~0x10, 0x10);
client            985 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, CX25840_VID_INT_STAT_REG, 0xffffffff);
client            988 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, CX25840_AUD_INT_CTRL_REG, 0xff);
client            989 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, CX25840_AUD_INT_STAT_REG, 0xff);
client            998 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x404, 0x0010253e);
client           1001 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, state->vbi_regs_offset + 0x42f, 0x66);
client           1005 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x130, 0x0);
client           1009 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x454, 0x6628021F);
client           1011 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x478, 0x6628021F);
client           1014 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x144, 0x5);
client           1019 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x918, 0x1a0);
client           1022 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x134, 0x000a1800);
client           1025 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x13c, 0x00310000);
client           1030 drivers/media/i2c/cx25840/cx25840-core.c static void cx231xx_initialize(struct i2c_client *client)
client           1033 drivers/media/i2c/cx25840/cx25840-core.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client           1037 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x102, ~0x01, 0x01);
client           1038 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x102, ~0x01, 0x00);
client           1041 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x803, ~0x10, 0x00);
client           1044 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x398, 0);
client           1048 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x2, 0x76);
client           1051 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x1, 0x40);
client           1054 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x33c, 0x00000001);
client           1057 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x340, 0x0df7df83);
client           1060 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x414, 0x00107d12);
client           1063 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x420, 0x3d008282);
client           1066 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x102, 0x10);
client           1069 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x103, 0x11);
client           1072 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x400, 0);
client           1075 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x401, 0xe8);
client           1094 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_std_setup(client);
client           1097 drivers/media/i2c/cx25840/cx25840-core.c 	set_input(client, state->vid_input, state->aud_input);
client           1100 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x803, ~0x10, 0x10);
client           1103 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x404, 0x0b);
client           1106 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x42f, 0x66);
client           1107 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x474, 0x1e1e601a);
client           1112 drivers/media/i2c/cx25840/cx25840-core.c void cx25840_std_setup(struct i2c_client *client)
client           1114 drivers/media/i2c/cx25840/cx25840-core.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client           1123 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x49f, 0x11);
client           1125 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x49f, 0x14);
client           1203 drivers/media/i2c/cx25840/cx25840-core.c 		pll_int = cx25840_read(client, 0x108);
client           1204 drivers/media/i2c/cx25840/cx25840-core.c 		pll_frac = cx25840_read4(client, 0x10c) & 0x1ffffff;
client           1205 drivers/media/i2c/cx25840/cx25840-core.c 		pll_post = cx25840_read(client, 0x109);
client           1206 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_dbg(1, cx25840_debug, client,
client           1215 drivers/media/i2c/cx25840/cx25840-core.c 			v4l_dbg(1, cx25840_debug, client,
client           1218 drivers/media/i2c/cx25840/cx25840-core.c 			v4l_dbg(1, cx25840_debug, client,
client           1223 drivers/media/i2c/cx25840/cx25840-core.c 			v4l_dbg(1, cx25840_debug, client,
client           1228 drivers/media/i2c/cx25840/cx25840-core.c 			v4l_dbg(1, cx25840_debug, client,
client           1232 drivers/media/i2c/cx25840/cx25840-core.c 			v4l_dbg(1, cx25840_debug, client,
client           1241 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x470, hblank);
client           1242 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x471,
client           1244 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x472, hactive >> 4);
client           1247 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x473, burst);
client           1250 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x474, vblank);
client           1251 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x475,
client           1253 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x476, vactive >> 4);
client           1254 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x477, vblank656);
client           1257 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x478, src_decimation & 0xff);
client           1258 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x479, (src_decimation >> 8) & 0xff);
client           1261 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x47a, luma_lpf << 6 | ((uv_lpf << 4) & 0x30));
client           1264 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x47b, comb);
client           1267 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x47c, sc);
client           1268 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x47d, (sc >> 8) & 0xff);
client           1269 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x47e, (sc >> 16) & 0xff);
client           1273 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x47f, 0x01);
client           1276 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x47f, 0x00);
client           1283 drivers/media/i2c/cx25840/cx25840-core.c static void input_change(struct i2c_client *client)
client           1285 drivers/media/i2c/cx25840/cx25840-core.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client           1290 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x402, 0);
client           1292 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x402, 0x04);
client           1293 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x49f,
client           1296 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x401, ~0x60, 0);
client           1297 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x401, ~0x60, 0x60);
client           1303 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x810, ~0x01, 1);
client           1306 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x808, 0xf9);
client           1307 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x80b, 0x00);
client           1320 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x808, hw_fix ? 0x2f : 0xf7);
client           1323 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x808, hw_fix ? 0x3f : 0xf8);
client           1326 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x808, hw_fix ? 0x1f : 0xf6);
client           1328 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x80b, 0x00);
client           1331 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x808, 0xff);
client           1338 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x80b, 0x00);
client           1341 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x808, 0xff);
client           1349 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x80b, 0x00);
client           1353 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x80b, 0x08);
client           1356 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x80b, 0x10);
client           1360 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x810, ~0x01, 0);
client           1363 drivers/media/i2c/cx25840/cx25840-core.c static int set_input(struct i2c_client *client,
client           1367 drivers/media/i2c/cx25840/cx25840-core.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client           1381 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_dbg(1, cx25840_debug, client,
client           1386 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_dbg(1, cx25840_debug, client, "vid_input 0x%x\n",
client           1392 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_dbg(1, cx25840_debug, client, "mux cfg 0x%x comp=%d\n",
client           1402 drivers/media/i2c/cx25840/cx25840-core.c 			v4l_err(client, "0x%04x is not a valid video input!\n",
client           1444 drivers/media/i2c/cx25840/cx25840-core.c 			v4l_err(client, "0x%04x is not a valid audio input!\n",
client           1450 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x103, reg);
client           1454 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_and_or(client, 0x401, ~0x6, 0x6);
client           1456 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_and_or(client, 0x401, ~0x6, is_composite ? 0 : 0x02);
client           1461 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_and_or(client, 0x102, ~0x80, 0x80);
client           1464 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x31c, 0xc2262600);
client           1465 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x320, 0xc2262600);
client           1471 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x318, 0xda262600);
client           1472 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x33c, 0x2a24c800);
client           1473 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x104, 0x0704dd00);
client           1475 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x300, 0x015c28f5);
client           1477 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_and_or(client, 0x102, ~0x80, 0);
client           1478 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x340, 0xdf7df83);
client           1479 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x104, 0x0704dd80);
client           1480 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x314, 0x22400600);
client           1481 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x318, 0x40002600);
client           1482 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x324, 0x40002600);
client           1483 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x32c, 0x0250e620);
client           1484 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x39c, 0x01FF0B00);
client           1486 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x410, 0xffff0dbf);
client           1487 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x414, 0x00137d03);
client           1489 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, state->vbi_regs_offset + 0x42c,
client           1491 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, state->vbi_regs_offset + 0x430,
client           1493 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, state->vbi_regs_offset + 0x438,
client           1496 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, state->vbi_regs_offset + 0x440,
client           1498 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, state->vbi_regs_offset + 0x444,
client           1500 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, state->vbi_regs_offset + 0x448,
client           1502 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, state->vbi_regs_offset + 0x44c,
client           1504 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, state->vbi_regs_offset + 0x450,
client           1507 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x91c, 0x01000000);
client           1508 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x8e0, 0x03063870);
client           1509 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x8d4, 0x7FFF0024);
client           1510 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x8d0, 0x00063073);
client           1512 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x8c8, 0x00010000);
client           1513 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x8cc, 0x00080023);
client           1516 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, 0x33c, 0x2a04c800);
client           1520 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x398, 0);
client           1525 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_and_or(client, 0x102, ~0x2, (reg & 0x80) == 0 ? 2 : 0);
client           1528 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_and_or(client, 0x102, ~0x4, 4);
client           1530 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_and_or(client, 0x102, ~0x4, 0);
client           1533 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_and_or(client, 0x102, ~0x4, is_component ? 0x4 : 0x0);
client           1536 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_and_or(client, 0x102, ~0x2, 0);
client           1541 drivers/media/i2c/cx25840/cx25840-core.c 				cx25840_and_or(client, 0x102, ~0x2, 2);
client           1544 drivers/media/i2c/cx25840/cx25840-core.c 				cx25840_and_or(client, 0x102, ~0x2, 0);
client           1552 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_and_or(client, 0x102, ~0x2, 0x2);
client           1554 drivers/media/i2c/cx25840/cx25840-core.c 			val = cx25840_read4(client, MODE_CTRL);
client           1560 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, MODE_CTRL, val);
client           1562 drivers/media/i2c/cx25840/cx25840-core.c 			val = cx25840_read4(client, AFE_CTRL);
client           1571 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write4(client, AFE_CTRL, val);
client           1573 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_and_or(client, 0x102, ~0x2, 0);
client           1579 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_audio_set_path(client);
client           1580 drivers/media/i2c/cx25840/cx25840-core.c 	input_change(client);
client           1584 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x124, 0x03);
client           1587 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x144, 0x05);
client           1590 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x914, 0xa0);
client           1596 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x918, 0xa0);
client           1597 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x919, 0x01);
client           1600 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x124, 0x03);
client           1603 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x914, 0xa0);
client           1609 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x918, 0xa0);
client           1610 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x919, 0x01);
client           1616 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x910, 0);
client           1617 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x8d0, 0x63073);
client           1620 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x910, 0x12b000c9);
client           1621 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x8d0, 0x1f063870);
client           1634 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x124, 0x100);
client           1641 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_and_or(client, 0x803, ~0x10, 0x00);
client           1650 drivers/media/i2c/cx25840/cx25840-core.c static int set_v4lstd(struct i2c_client *client)
client           1652 drivers/media/i2c/cx25840/cx25840-core.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client           1680 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_dbg(1, cx25840_debug, client,
client           1690 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_and_or(client, 0x400, ~0xf, 1);
client           1692 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_and_or(client, 0x47b, ~6, 0);
client           1694 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x400, ~0xf, fmt);
client           1695 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_and_or(client, 0x403, ~0x3, pal_m);
client           1697 drivers/media/i2c/cx25840/cx25840-core.c 		cx23888_std_setup(client);
client           1699 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_std_setup(client);
client           1701 drivers/media/i2c/cx25840/cx25840-core.c 		input_change(client);
client           1711 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1715 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x414, ctrl->val - 128);
client           1719 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x415, ctrl->val << 1);
client           1724 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x418, ctrl->val << 1);
client           1725 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x419, ctrl->val << 1);
client           1727 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x420, ctrl->val << 1);
client           1728 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x421, ctrl->val << 1);
client           1734 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x41a, ctrl->val);
client           1736 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x422, ctrl->val);
client           1754 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1766 drivers/media/i2c/cx25840/cx25840-core.c 		v_src = (cx25840_read(client, 0x42a) & 0x3f) << 4;
client           1767 drivers/media/i2c/cx25840/cx25840-core.c 		v_src |= (cx25840_read(client, 0x429) & 0xf0) >> 4;
client           1769 drivers/media/i2c/cx25840/cx25840-core.c 		v_src = (cx25840_read(client, 0x476) & 0x3f) << 4;
client           1770 drivers/media/i2c/cx25840/cx25840-core.c 		v_src |= (cx25840_read(client, 0x475) & 0xf0) >> 4;
client           1774 drivers/media/i2c/cx25840/cx25840-core.c 		h_src = (cx25840_read(client, 0x426) & 0x3f) << 4;
client           1775 drivers/media/i2c/cx25840/cx25840-core.c 		h_src |= (cx25840_read(client, 0x425) & 0xf0) >> 4;
client           1777 drivers/media/i2c/cx25840/cx25840-core.c 		h_src = (cx25840_read(client, 0x472) & 0x3f) << 4;
client           1778 drivers/media/i2c/cx25840/cx25840-core.c 		h_src |= (cx25840_read(client, 0x471) & 0xf0) >> 4;
client           1799 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_err(client,
client           1833 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_dbg(1, cx25840_debug, client,
client           1840 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x434, hsc | (1 << 24));
client           1842 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x438, vsc | (1 << 19) | (filter << 16));
client           1844 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x418, hsc & 0xff);
client           1845 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x419, (hsc >> 8) & 0xff);
client           1846 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x41a, hsc >> 16);
client           1848 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x41c, vsc & 0xff);
client           1849 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x41d, vsc >> 8);
client           1851 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x41e, 0x8 | filter);
client           1858 drivers/media/i2c/cx25840/cx25840-core.c static void log_video_status(struct i2c_client *client)
client           1869 drivers/media/i2c/cx25840/cx25840-core.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client           1870 drivers/media/i2c/cx25840/cx25840-core.c 	u8 vidfmt_sel = cx25840_read(client, 0x400) & 0xf;
client           1871 drivers/media/i2c/cx25840/cx25840-core.c 	u8 gen_stat1 = cx25840_read(client, 0x40d);
client           1872 drivers/media/i2c/cx25840/cx25840-core.c 	u8 gen_stat2 = cx25840_read(client, 0x40e);
client           1875 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_info(client, "Video signal:              %spresent\n",
client           1877 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_info(client, "Detected format:           %s\n",
client           1880 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_info(client, "Specified standard:        %s\n",
client           1885 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "Specified video input:     Composite %d\n",
client           1888 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client,
client           1893 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_info(client, "Specified audioclock freq: %d Hz\n",
client           1899 drivers/media/i2c/cx25840/cx25840-core.c static void log_audio_status(struct i2c_client *client)
client           1901 drivers/media/i2c/cx25840/cx25840-core.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client           1902 drivers/media/i2c/cx25840/cx25840-core.c 	u8 download_ctl = cx25840_read(client, 0x803);
client           1903 drivers/media/i2c/cx25840/cx25840-core.c 	u8 mod_det_stat0 = cx25840_read(client, 0x804);
client           1904 drivers/media/i2c/cx25840/cx25840-core.c 	u8 mod_det_stat1 = cx25840_read(client, 0x805);
client           1905 drivers/media/i2c/cx25840/cx25840-core.c 	u8 audio_config = cx25840_read(client, 0x808);
client           1906 drivers/media/i2c/cx25840/cx25840-core.c 	u8 pref_mode = cx25840_read(client, 0x809);
client           1907 drivers/media/i2c/cx25840/cx25840-core.c 	u8 afc0 = cx25840_read(client, 0x80b);
client           1908 drivers/media/i2c/cx25840/cx25840-core.c 	u8 mute_ctl = cx25840_read(client, 0x8d3);
client           1943 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_info(client, "Detected audio mode:       %s\n", p);
client           2012 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_info(client, "Detected audio standard:   %s\n", p);
client           2013 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_info(client, "Audio microcontroller:     %s\n",
client           2069 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_info(client, "Configured audio standard: %s\n", p);
client           2109 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "Configured audio mode:     %s\n", p);
client           2148 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "Configured audio system:   %s\n", p);
client           2152 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "Specified audio input:     Tuner (In%d)\n",
client           2155 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "Specified audio input:     External\n");
client           2186 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_info(client, "Preferred audio mode:      %s\n", p);
client           2202 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "Selected 65 MHz format:    %s\n", p);
client           2223 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "Selected 45 MHz format:    %s\n", p);
client           2297 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2300 drivers/media/i2c/cx25840/cx25840-core.c 		cx25836_initialize(client);
client           2302 drivers/media/i2c/cx25840/cx25840-core.c 		cx23885_initialize(client);
client           2304 drivers/media/i2c/cx25840/cx25840-core.c 		cx231xx_initialize(client);
client           2306 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_initialize(client);
client           2342 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2345 drivers/media/i2c/cx25840/cx25840-core.c 	reg->val = cx25840_read(client, reg->reg & 0x0fff);
client           2352 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2354 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, reg->reg & 0x0fff, reg->val & 0xff);
client           2362 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2368 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_dbg(1, cx25840_debug, client, "%s audio output\n",
client           2372 drivers/media/i2c/cx25840/cx25840-core.c 		v = cx25840_read(client, 0x115) | 0x80;
client           2373 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x115, v);
client           2374 drivers/media/i2c/cx25840/cx25840-core.c 		v = cx25840_read(client, 0x116) | 0x03;
client           2375 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x116, v);
client           2377 drivers/media/i2c/cx25840/cx25840-core.c 		v = cx25840_read(client, 0x115) & ~(0x80);
client           2378 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x115, v);
client           2379 drivers/media/i2c/cx25840/cx25840-core.c 		v = cx25840_read(client, 0x116) & ~(0x03);
client           2380 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x116, v);
client           2388 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2391 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_dbg(1, cx25840_debug, client, "%s video output\n",
client           2405 drivers/media/i2c/cx25840/cx25840-core.c 		v = cx25840_read(client, 0x115) | 0x0c;
client           2406 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x115, v);
client           2407 drivers/media/i2c/cx25840/cx25840-core.c 		v = cx25840_read(client, 0x116) | 0x04;
client           2408 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x116, v);
client           2410 drivers/media/i2c/cx25840/cx25840-core.c 		v = cx25840_read(client, 0x115) & ~(0x0c);
client           2411 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x115, v);
client           2412 drivers/media/i2c/cx25840/cx25840-core.c 		v = cx25840_read(client, 0x116) & ~(0x04);
client           2413 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write(client, 0x116, v);
client           2421 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2444 drivers/media/i2c/cx25840/cx25840-core.c 	u32 fmt = (cx25840_read4(client, 0x40c) >> 8) & 0xf;
client           2447 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_dbg(1, cx25840_debug, client,
client           2456 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2464 drivers/media/i2c/cx25840/cx25840-core.c 	if ((cx25840_read4(client, 0x40c) & 0x00010000) == 0)
client           2482 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2488 drivers/media/i2c/cx25840/cx25840-core.c 	return set_v4lstd(client);
client           2503 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2506 drivers/media/i2c/cx25840/cx25840-core.c 		cx23888_std_setup(client);
client           2510 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_vconfig_apply(client);
client           2513 drivers/media/i2c/cx25840/cx25840-core.c 	return set_input(client, input, state->aud_input);
client           2520 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2523 drivers/media/i2c/cx25840/cx25840-core.c 		cx23888_std_setup(client);
client           2524 drivers/media/i2c/cx25840/cx25840-core.c 	return set_input(client, state->vid_input, input);
client           2530 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2532 drivers/media/i2c/cx25840/cx25840-core.c 	input_change(client);
client           2539 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2540 drivers/media/i2c/cx25840/cx25840-core.c 	u8 vpres = cx25840_read(client, 0x40e) & 0x20;
client           2554 drivers/media/i2c/cx25840/cx25840-core.c 	mode = cx25840_read(client, 0x804);
client           2576 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2588 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_and_or(client, 0x809, ~0xf, 0x00);
client           2597 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_and_or(client, 0x809, ~0xf, 0x04);
client           2605 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_and_or(client, 0x809, ~0xf, 0x07);
client           2613 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_and_or(client, 0x809, ~0xf, 0x01);
client           2625 drivers/media/i2c/cx25840/cx25840-core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2627 drivers/media/i2c/cx25840/cx25840-core.c 	log_video_status(client);
client           2629 drivers/media/i2c/cx25840/cx25840-core.c 		log_audio_status(client);
client           2741 drivers/media/i2c/cx25840/cx25840-core.c static void cx23885_dif_setup(struct i2c_client *client, u32 ifHz)
client           2746 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_dbg(1, cx25840_debug, client, "%s(%d)\n", __func__, ifHz);
client           2753 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, DIF_PLL_FREQ_WORD,  pll_freq_word);
client           2764 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_dbg(1, cx25840_debug, client, "%s(%d) again\n", __func__, ifHz);
client           2768 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
client           2769 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00080012);
client           2770 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001e0024);
client           2771 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x001bfff8);
client           2772 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffb4ff50);
client           2773 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfed8fe68);
client           2774 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe24fe34);
client           2775 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfebaffc7);
client           2776 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x014d031f);
client           2777 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x04f0065d);
client           2778 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x07010688);
client           2779 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x04c901d6);
client           2780 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfe00f9d3);
client           2781 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf600f342);
client           2782 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf235f337);
client           2783 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf64efb22);
client           2784 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0105070f);
client           2785 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x0c460fce);
client           2786 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           2790 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000001);
client           2791 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00070012);
client           2792 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00220032);
client           2793 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00370026);
client           2794 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xfff0ff91);
client           2795 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff0efe7c);
client           2796 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe01fdcc);
client           2797 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe0afedb);
client           2798 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x00440224);
client           2799 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0434060c);
client           2800 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0738074e);
client           2801 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x06090361);
client           2802 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xff99fb39);
client           2803 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf6fef3b6);
client           2804 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf21af2a5);
client           2805 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf573fa33);
client           2806 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0034067d);
client           2807 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x0bfb0fb9);
client           2808 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           2812 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000000);
client           2813 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0004000e);
client           2814 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00200038);
client           2815 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x004c004f);
client           2816 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x002fffdf);
client           2817 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff5cfeb6);
client           2818 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe0dfd92);
client           2819 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd7ffe03);
client           2820 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36010a);
client           2821 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x03410575);
client           2822 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x072607d2);
client           2823 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x071804d5);
client           2824 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0134fcb7);
client           2825 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf81ff451);
client           2826 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf223f22e);
client           2827 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf4a7f94b);
client           2828 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xff6405e8);
client           2829 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x0bae0fa4);
client           2830 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           2834 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000ffff);
client           2835 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00000008);
client           2836 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001a0036);
client           2837 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0056006d);
client           2838 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00670030);
client           2839 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xffbdff10);
client           2840 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe46fd8d);
client           2841 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd25fd4f);
client           2842 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35ffe0);
client           2843 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0224049f);
client           2844 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x06c9080e);
client           2845 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x07ef0627);
client           2846 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x02c9fe45);
client           2847 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf961f513);
client           2848 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf250f1d2);
client           2849 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf3ecf869);
client           2850 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfe930552);
client           2851 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x0b5f0f8f);
client           2852 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           2856 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffe);
client           2857 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffd0001);
client           2858 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x000f002c);
client           2859 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0054007d);
client           2860 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0093007c);
client           2861 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0024ff82);
client           2862 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfea6fdbb);
client           2863 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd03fcca);
client           2864 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51feb9);
client           2865 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x00eb0392);
client           2866 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x06270802);
client           2867 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x08880750);
client           2868 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x044dffdb);
client           2869 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfabdf5f8);
client           2870 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2a0f193);
client           2871 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf342f78f);
client           2872 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfdc404b9);
client           2873 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x0b0e0f78);
client           2874 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           2878 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffd);
client           2879 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffafff9);
client           2880 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0002001b);
client           2881 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0046007d);
client           2882 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00ad00ba);
client           2883 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00870000);
client           2884 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xff26fe1a);
client           2885 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd1bfc7e);
client           2886 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99fda4);
client           2887 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xffa5025c);
client           2888 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x054507ad);
client           2889 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x08dd0847);
client           2890 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x05b80172);
client           2891 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfc2ef6ff);
client           2892 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf313f170);
client           2893 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf2abf6bd);
client           2894 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfcf6041f);
client           2895 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x0abc0f61);
client           2896 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           2900 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffd);
client           2901 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff3);
client           2902 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfff50006);
client           2903 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x002f006c);
client           2904 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00b200e3);
client           2905 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00dc007e);
client           2906 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xffb9fea0);
client           2907 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd6bfc71);
client           2908 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17fcb1);
client           2909 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfe65010b);
client           2910 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x042d0713);
client           2911 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x08ec0906);
client           2912 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x07020302);
client           2913 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfdaff823);
client           2914 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf3a7f16a);
client           2915 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf228f5f5);
client           2916 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfc2a0384);
client           2917 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x0a670f4a);
client           2918 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           2922 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           2923 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff7ffef);
client           2924 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe9fff1);
client           2925 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0010004d);
client           2926 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00a100f2);
client           2927 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x011a00f0);
client           2928 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x0053ff44);
client           2929 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdedfca2);
client           2930 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3fbef);
client           2931 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfd39ffae);
client           2932 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x02ea0638);
client           2933 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x08b50987);
client           2934 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x08230483);
client           2935 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xff39f960);
client           2936 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf45bf180);
client           2937 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf1b8f537);
client           2938 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfb6102e7);
client           2939 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x0a110f32);
client           2940 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           2944 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
client           2945 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9ffee);
client           2946 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe1ffdd);
client           2947 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xfff00024);
client           2948 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x007c00e5);
client           2949 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x013a014a);
client           2950 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x00e6fff8);
client           2951 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe98fd0f);
client           2952 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3fb67);
client           2953 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfc32fe54);
client           2954 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x01880525);
client           2955 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x083909c7);
client           2956 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x091505ee);
client           2957 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x00c7fab3);
client           2958 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf52df1b4);
client           2959 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf15df484);
client           2960 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfa9b0249);
client           2961 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x09ba0f19);
client           2962 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           2966 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000000);
client           2967 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffbfff0);
client           2968 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffdeffcf);
client           2969 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffd1fff6);
client           2970 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x004800be);
client           2971 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x01390184);
client           2972 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x016300ac);
client           2973 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xff5efdb1);
client           2974 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17fb23);
client           2975 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb5cfd0d);
client           2976 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x001703e4);
client           2977 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x077b09c4);
client           2978 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x09d2073c);
client           2979 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0251fc18);
client           2980 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf61cf203);
client           2981 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf118f3dc);
client           2982 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf9d801aa);
client           2983 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x09600eff);
client           2984 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           2988 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000001);
client           2989 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffefff4);
client           2990 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe1ffc8);
client           2991 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffbaffca);
client           2992 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x000b0082);
client           2993 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x01170198);
client           2994 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01c10152);
client           2995 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0030fe7b);
client           2996 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99fb24);
client           2997 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfac3fbe9);
client           2998 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfea5027f);
client           2999 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x0683097f);
client           3000 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a560867);
client           3001 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x03d2fd89);
client           3002 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf723f26f);
client           3003 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0e8f341);
client           3004 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf919010a);
client           3005 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x09060ee5);
client           3006 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3010 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010002);
client           3011 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0002fffb);
client           3012 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe8ffca);
client           3013 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffacffa4);
client           3014 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffcd0036);
client           3015 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00d70184);
client           3016 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01f601dc);
client           3017 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x00ffff60);
client           3018 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51fb6d);
client           3019 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa6efaf5);
client           3020 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfd410103);
client           3021 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x055708f9);
client           3022 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a9e0969);
client           3023 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0543ff02);
client           3024 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf842f2f5);
client           3025 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0cef2b2);
client           3026 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf85e006b);
client           3027 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x08aa0ecb);
client           3028 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3032 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010003);
client           3033 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00050003);
client           3034 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfff3ffd3);
client           3035 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffaaff8b);
client           3036 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff95ffe5);
client           3037 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0080014a);
client           3038 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01fe023f);
client           3039 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x01ba0050);
client           3040 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35fbf8);
client           3041 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa62fa3b);
client           3042 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfbf9ff7e);
client           3043 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x04010836);
client           3044 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0aa90a3d);
client           3045 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x069f007f);
client           3046 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf975f395);
client           3047 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0cbf231);
client           3048 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf7a9ffcb);
client           3049 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x084c0eaf);
client           3050 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3054 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010003);
client           3055 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0008000a);
client           3056 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0000ffe4);
client           3057 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffb4ff81);
client           3058 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff6aff96);
client           3059 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x001c00f0);
client           3060 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01d70271);
client           3061 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0254013b);
client           3062 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36fcbd);
client           3063 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa9ff9c5);
client           3064 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfadbfdfe);
client           3065 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x028c073b);
client           3066 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a750adf);
client           3067 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x07e101fa);
client           3068 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfab8f44e);
client           3069 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0ddf1be);
client           3070 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf6f9ff2b);
client           3071 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x07ed0e94);
client           3072 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3076 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           3077 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0009000f);
client           3078 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x000efff8);
client           3079 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffc9ff87);
client           3080 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff52ff54);
client           3081 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xffb5007e);
client           3082 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01860270);
client           3083 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02c00210);
client           3084 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0044fdb2);
client           3085 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb22f997);
client           3086 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf9f2fc90);
client           3087 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x0102060f);
client           3088 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a050b4c);
client           3089 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0902036e);
client           3090 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfc0af51e);
client           3091 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf106f15a);
client           3092 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf64efe8b);
client           3093 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x078d0e77);
client           3094 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3098 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
client           3099 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00080012);
client           3100 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0019000e);
client           3101 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffe5ff9e);
client           3102 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff4fff25);
client           3103 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff560000);
client           3104 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x0112023b);
client           3105 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02f702c0);
client           3106 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x014dfec8);
client           3107 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfbe5f9b3);
client           3108 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf947fb41);
client           3109 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xff7004b9);
client           3110 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x095a0b81);
client           3111 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0a0004d8);
client           3112 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfd65f603);
client           3113 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf144f104);
client           3114 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf5aafdec);
client           3115 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x072b0e5a);
client           3116 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3120 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000001);
client           3121 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00060012);
client           3122 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00200022);
client           3123 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0005ffc1);
client           3124 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff61ff10);
client           3125 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff09ff82);
client           3126 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x008601d7);
client           3127 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02f50340);
client           3128 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0241fff0);
client           3129 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfcddfa19);
client           3130 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8e2fa1e);
client           3131 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfde30343);
client           3132 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x08790b7f);
client           3133 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0ad50631);
client           3134 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfec7f6fc);
client           3135 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf198f0bd);
client           3136 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf50dfd4e);
client           3137 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x06c90e3d);
client           3138 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3142 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000ffff);
client           3143 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0003000f);
client           3144 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00220030);
client           3145 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0025ffed);
client           3146 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff87ff15);
client           3147 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfed6ff10);
client           3148 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xffed014c);
client           3149 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02b90386);
client           3150 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x03110119);
client           3151 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfdfefac4);
client           3152 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8c6f92f);
client           3153 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfc6701b7);
client           3154 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x07670b44);
client           3155 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0b7e0776);
client           3156 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x002df807);
client           3157 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf200f086);
client           3158 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf477fcb1);
client           3159 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x06650e1e);
client           3160 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3164 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffe);
client           3165 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xffff0009);
client           3166 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001e0038);
client           3167 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x003f001b);
client           3168 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffbcff36);
client           3169 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec2feb6);
client           3170 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xff5600a5);
client           3171 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0248038d);
client           3172 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b00232);
client           3173 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xff39fbab);
client           3174 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8f4f87f);
client           3175 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfb060020);
client           3176 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x062a0ad2);
client           3177 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0bf908a3);
client           3178 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0192f922);
client           3179 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf27df05e);
client           3180 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf3e8fc14);
client           3181 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x06000e00);
client           3182 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3186 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffd);
client           3187 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffc0002);
client           3188 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00160037);
client           3189 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00510046);
client           3190 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xfff9ff6d);
client           3191 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfed0fe7c);
client           3192 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfecefff0);
client           3193 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x01aa0356);
client           3194 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0413032b);
client           3195 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x007ffcc5);
client           3196 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf96cf812);
client           3197 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf9cefe87);
client           3198 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x04c90a2c);
client           3199 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c4309b4);
client           3200 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x02f3fa4a);
client           3201 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf30ef046);
client           3202 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf361fb7a);
client           3203 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x059b0de0);
client           3204 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3208 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffd);
client           3209 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9fffa);
client           3210 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x000a002d);
client           3211 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00570067);
client           3212 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0037ffb5);
client           3213 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfefffe68);
client           3214 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe62ff3d);
client           3215 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x00ec02e3);
client           3216 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x043503f6);
client           3217 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x01befe05);
client           3218 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfa27f7ee);
client           3219 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf8c6fcf8);
client           3220 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x034c0954);
client           3221 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c5c0aa4);
client           3222 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x044cfb7e);
client           3223 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf3b1f03f);
client           3224 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf2e2fae1);
client           3225 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x05340dc0);
client           3226 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3230 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           3231 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff4);
client           3232 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfffd001e);
client           3233 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0051007b);
client           3234 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x006e0006);
client           3235 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff48fe7c);
client           3236 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe1bfe9a);
client           3237 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x001d023e);
client           3238 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x04130488);
client           3239 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x02e6ff5b);
client           3240 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfb1ef812);
client           3241 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7f7fb7f);
client           3242 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x01bc084e);
client           3243 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c430b72);
client           3244 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x059afcba);
client           3245 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf467f046);
client           3246 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf26cfa4a);
client           3247 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x04cd0da0);
client           3248 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3252 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
client           3253 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8ffef);
client           3254 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfff00009);
client           3255 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x003f007f);
client           3256 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00980056);
client           3257 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xffa5feb6);
client           3258 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe00fe15);
client           3259 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xff4b0170);
client           3260 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b004d7);
client           3261 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x03e800b9);
client           3262 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfc48f87f);
client           3263 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf768fa23);
client           3264 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0022071f);
client           3265 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0bf90c1b);
client           3266 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x06dafdfd);
client           3267 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf52df05e);
client           3268 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf1fef9b5);
client           3269 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x04640d7f);
client           3270 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3274 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000ffff);
client           3275 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9ffee);
client           3276 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe6fff3);
client           3277 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00250072);
client           3278 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00af009c);
client           3279 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x000cff10);
client           3280 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe13fdb8);
client           3281 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe870089);
client           3282 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x031104e1);
client           3283 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x04b8020f);
client           3284 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfd98f92f);
client           3285 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf71df8f0);
client           3286 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfe8805ce);
client           3287 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0b7e0c9c);
client           3288 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0808ff44);
client           3289 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf603f086);
client           3290 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf19af922);
client           3291 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x03fb0d5e);
client           3292 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3296 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000001);
client           3297 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffcffef);
client           3298 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe0ffe0);
client           3299 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00050056);
client           3300 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00b000d1);
client           3301 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0071ff82);
client           3302 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe53fd8c);
client           3303 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfddfff99);
client           3304 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x024104a3);
client           3305 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x054a034d);
client           3306 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xff01fa1e);
client           3307 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf717f7ed);
client           3308 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfcf50461);
client           3309 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0ad50cf4);
client           3310 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0921008d);
client           3311 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf6e7f0bd);
client           3312 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf13ff891);
client           3313 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x03920d3b);
client           3314 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3318 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010002);
client           3319 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffffff3);
client           3320 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffdeffd1);
client           3321 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffe5002f);
client           3322 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x009c00ed);
client           3323 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00cb0000);
client           3324 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfebafd94);
client           3325 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd61feb0);
client           3326 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x014d0422);
client           3327 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x05970464);
client           3328 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0074fb41);
client           3329 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf759f721);
client           3330 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfb7502de);
client           3331 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0a000d21);
client           3332 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0a2201d4);
client           3333 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf7d9f104);
client           3334 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf0edf804);
client           3335 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x03280d19);
client           3336 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3340 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010003);
client           3341 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0003fffa);
client           3342 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe3ffc9);
client           3343 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffc90002);
client           3344 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x007500ef);
client           3345 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x010e007e);
client           3346 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xff3dfdcf);
client           3347 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd16fddd);
client           3348 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x00440365);
client           3349 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x059b0548);
client           3350 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x01e3fc90);
client           3351 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7dff691);
client           3352 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfa0f014d);
client           3353 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x09020d23);
client           3354 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0b0a0318);
client           3355 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf8d7f15a);
client           3356 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf0a5f779);
client           3357 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x02bd0cf6);
client           3358 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3362 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010003);
client           3363 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00060001);
client           3364 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffecffc9);
client           3365 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffb4ffd4);
client           3366 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x004000d5);
client           3367 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x013600f0);
client           3368 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xffd3fe39);
client           3369 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd04fd31);
client           3370 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xff360277);
client           3371 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x055605ef);
client           3372 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x033efdfe);
client           3373 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf8a5f642);
client           3374 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf8cbffb6);
client           3375 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x07e10cfb);
client           3376 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0bd50456);
client           3377 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf9dff1be);
client           3378 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf067f6f2);
client           3379 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x02520cd2);
client           3380 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3384 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           3385 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00080009);
client           3386 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfff8ffd2);
client           3387 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffaaffac);
client           3388 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x000200a3);
client           3389 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x013c014a);
client           3390 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x006dfec9);
client           3391 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd2bfcb7);
client           3392 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe350165);
client           3393 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x04cb0651);
client           3394 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0477ff7e);
client           3395 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf9a5f635);
client           3396 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf7b1fe20);
client           3397 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x069f0ca8);
client           3398 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0c81058b);
client           3399 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xfaf0f231);
client           3400 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf033f66d);
client           3401 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x01e60cae);
client           3402 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3406 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
client           3407 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0009000e);
client           3408 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0005ffe1);
client           3409 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffacff90);
client           3410 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffc5005f);
client           3411 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x01210184);
client           3412 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x00fcff72);
client           3413 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd8afc77);
client           3414 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51003f);
client           3415 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x04020669);
client           3416 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x05830103);
client           3417 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfad7f66b);
client           3418 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf6c8fc93);
client           3419 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x05430c2b);
client           3420 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d0d06b5);
client           3421 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xfc08f2b2);
client           3422 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf00af5ec);
client           3423 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x017b0c89);
client           3424 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3428 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000001);
client           3429 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00070012);
client           3430 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0012fff5);
client           3431 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffbaff82);
client           3432 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff8e000f);
client           3433 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00e80198);
client           3434 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01750028);
client           3435 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe18fc75);
client           3436 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99ff15);
client           3437 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x03050636);
client           3438 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0656027f);
client           3439 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfc32f6e2);
client           3440 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf614fb17);
client           3441 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x03d20b87);
client           3442 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d7707d2);
client           3443 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xfd26f341);
client           3444 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xefeaf56f);
client           3445 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x010f0c64);
client           3446 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3450 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0000);
client           3451 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00050012);
client           3452 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001c000b);
client           3453 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffd1ff84);
client           3454 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff66ffbe);
client           3455 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00960184);
client           3456 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01cd00da);
client           3457 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfeccfcb2);
client           3458 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17fdf9);
client           3459 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x01e005bc);
client           3460 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x06e703e4);
client           3461 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfdabf798);
client           3462 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf599f9b3);
client           3463 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x02510abd);
client           3464 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0dbf08df);
client           3465 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xfe48f3dc);
client           3466 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xefd5f4f6);
client           3467 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x00a20c3e);
client           3468 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3472 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffe);
client           3473 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0002000f);
client           3474 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0021001f);
client           3475 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xfff0ff97);
client           3476 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff50ff74);
client           3477 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0034014a);
client           3478 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01fa0179);
client           3479 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xff97fd2a);
client           3480 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3fcfa);
client           3481 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x00a304fe);
client           3482 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x07310525);
client           3483 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xff37f886);
client           3484 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf55cf86e);
client           3485 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x00c709d0);
client           3486 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0de209db);
client           3487 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xff6df484);
client           3488 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xefcbf481);
client           3489 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0x00360c18);
client           3490 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3494 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffd);
client           3495 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffe000a);
client           3496 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0021002f);
client           3497 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0010ffb8);
client           3498 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff50ff3b);
client           3499 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xffcc00f0);
client           3500 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01fa01fa);
client           3501 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0069fdd4);
client           3502 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3fc26);
client           3503 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xff5d0407);
client           3504 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x07310638);
client           3505 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x00c9f9a8);
client           3506 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf55cf74e);
client           3507 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xff3908c3);
client           3508 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0de20ac3);
client           3509 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0093f537);
client           3510 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xefcbf410);
client           3511 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xffca0bf2);
client           3512 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3516 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffd);
client           3517 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffb0003);
client           3518 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001c0037);
client           3519 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x002fffe2);
client           3520 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff66ff17);
client           3521 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff6a007e);
client           3522 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01cd0251);
client           3523 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0134fea5);
client           3524 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17fb8b);
client           3525 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfe2002e0);
client           3526 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x06e70713);
client           3527 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x0255faf5);
client           3528 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf599f658);
client           3529 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfdaf0799);
client           3530 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0dbf0b96);
client           3531 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x01b8f5f5);
client           3532 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xefd5f3a3);
client           3533 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xff5e0bca);
client           3534 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3538 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           3539 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9fffb);
client           3540 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00120037);
client           3541 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00460010);
client           3542 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff8eff0f);
client           3543 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff180000);
client           3544 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01750276);
client           3545 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x01e8ff8d);
client           3546 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99fb31);
client           3547 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfcfb0198);
client           3548 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x065607ad);
client           3549 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x03cefc64);
client           3550 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf614f592);
client           3551 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfc2e0656);
client           3552 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d770c52);
client           3553 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x02daf6bd);
client           3554 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xefeaf33b);
client           3555 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xfef10ba3);
client           3556 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3560 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
client           3561 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff7fff5);
client           3562 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0005002f);
client           3563 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0054003c);
client           3564 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffc5ff22);
client           3565 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfedfff82);
client           3566 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x00fc0267);
client           3567 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0276007e);
client           3568 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51fb1c);
client           3569 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfbfe003e);
client           3570 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x05830802);
client           3571 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x0529fdec);
client           3572 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf6c8f4fe);
client           3573 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfabd04ff);
client           3574 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d0d0cf6);
client           3575 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x03f8f78f);
client           3576 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf00af2d7);
client           3577 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xfe850b7b);
client           3578 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3582 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000ffff);
client           3583 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff0);
client           3584 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfff80020);
client           3585 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00560060);
client           3586 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0002ff4e);
client           3587 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec4ff10);
client           3588 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x006d0225);
client           3589 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02d50166);
client           3590 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35fb4e);
client           3591 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb35fee1);
client           3592 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0477080e);
client           3593 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x065bff82);
client           3594 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf7b1f4a0);
client           3595 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf9610397);
client           3596 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0c810d80);
client           3597 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0510f869);
client           3598 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf033f278);
client           3599 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xfe1a0b52);
client           3600 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3604 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010000);
client           3605 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffaffee);
client           3606 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffec000c);
client           3607 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x004c0078);
client           3608 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0040ff8e);
client           3609 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfecafeb6);
client           3610 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xffd301b6);
client           3611 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02fc0235);
client           3612 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36fbc5);
client           3613 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfaaafd90);
client           3614 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x033e07d2);
client           3615 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x075b011b);
client           3616 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf8cbf47a);
client           3617 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf81f0224);
client           3618 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0bd50def);
client           3619 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0621f94b);
client           3620 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf067f21e);
client           3621 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xfdae0b29);
client           3622 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3626 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010001);
client           3627 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffdffef);
client           3628 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe3fff6);
client           3629 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0037007f);
client           3630 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0075ffdc);
client           3631 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfef2fe7c);
client           3632 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xff3d0122);
client           3633 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02ea02dd);
client           3634 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0044fc79);
client           3635 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa65fc5d);
client           3636 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x01e3074e);
client           3637 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x082102ad);
client           3638 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfa0ff48c);
client           3639 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf6fe00a9);
client           3640 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0b0a0e43);
client           3641 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0729fa33);
client           3642 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf0a5f1c9);
client           3643 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xfd430b00);
client           3644 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3648 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010002);
client           3649 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0001fff3);
client           3650 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffdeffe2);
client           3651 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x001b0076);
client           3652 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x009c002d);
client           3653 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff35fe68);
client           3654 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfeba0076);
client           3655 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x029f0352);
client           3656 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x014dfd60);
client           3657 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa69fb53);
client           3658 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x00740688);
client           3659 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x08a7042d);
client           3660 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfb75f4d6);
client           3661 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf600ff2d);
client           3662 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0a220e7a);
client           3663 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0827fb22);
client           3664 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf0edf17a);
client           3665 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xfcd80ad6);
client           3666 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3670 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           3671 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0004fff9);
client           3672 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe0ffd2);
client           3673 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xfffb005e);
client           3674 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00b0007a);
client           3675 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff8ffe7c);
client           3676 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe53ffc1);
client           3677 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0221038c);
client           3678 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0241fe6e);
client           3679 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfab6fa80);
client           3680 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xff010587);
client           3681 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x08e90590);
client           3682 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfcf5f556);
client           3683 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf52bfdb3);
client           3684 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x09210e95);
client           3685 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0919fc15);
client           3686 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf13ff12f);
client           3687 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xfc6e0aab);
client           3688 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3692 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           3693 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00070000);
client           3694 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe6ffc9);
client           3695 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffdb0039);
client           3696 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00af00b8);
client           3697 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfff4feb6);
client           3698 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe13ff10);
client           3699 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x01790388);
client           3700 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0311ff92);
client           3701 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb48f9ed);
client           3702 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfd980453);
client           3703 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x08e306cd);
client           3704 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfe88f60a);
client           3705 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf482fc40);
client           3706 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x08080e93);
client           3707 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x09fdfd0c);
client           3708 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf19af0ea);
client           3709 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xfc050a81);
client           3710 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3714 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
client           3715 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00080008);
client           3716 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfff0ffc9);
client           3717 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffc1000d);
client           3718 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x009800e2);
client           3719 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x005bff10);
client           3720 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe00fe74);
client           3721 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x00b50345);
client           3722 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b000bc);
client           3723 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfc18f9a1);
client           3724 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfc4802f9);
client           3725 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x089807dc);
client           3726 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0022f6f0);
client           3727 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf407fada);
client           3728 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x06da0e74);
client           3729 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0ad3fe06);
client           3730 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf1fef0ab);
client           3731 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xfb9c0a55);
client           3732 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3736 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000001);
client           3737 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0008000e);
client           3738 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfffdffd0);
client           3739 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffafffdf);
client           3740 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x006e00f2);
client           3741 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00b8ff82);
client           3742 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe1bfdf8);
client           3743 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xffe302c8);
client           3744 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x041301dc);
client           3745 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfd1af99e);
client           3746 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfb1e0183);
client           3747 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x080908b5);
client           3748 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x01bcf801);
client           3749 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf3bdf985);
client           3750 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x059a0e38);
client           3751 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0b99ff03);
client           3752 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf26cf071);
client           3753 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xfb330a2a);
client           3754 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3758 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0000);
client           3759 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00070011);
client           3760 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x000affdf);
client           3761 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffa9ffb5);
client           3762 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x003700e6);
client           3763 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x01010000);
client           3764 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe62fda8);
client           3765 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xff140219);
client           3766 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x043502e1);
client           3767 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfe42f9e6);
client           3768 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfa270000);
client           3769 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x073a0953);
client           3770 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x034cf939);
client           3771 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf3a4f845);
client           3772 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x044c0de1);
client           3773 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0c4f0000);
client           3774 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf2e2f03c);
client           3775 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xfacc09fe);
client           3776 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3780 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffffffff);
client           3781 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00040012);
client           3782 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0016fff3);
client           3783 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffafff95);
client           3784 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xfff900c0);
client           3785 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0130007e);
client           3786 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfecefd89);
client           3787 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe560146);
client           3788 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x041303bc);
client           3789 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xff81fa76);
client           3790 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf96cfe7d);
client           3791 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x063209b1);
client           3792 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x04c9fa93);
client           3793 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf3bdf71e);
client           3794 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x02f30d6e);
client           3795 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0cf200fd);
client           3796 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf361f00e);
client           3797 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xfa6509d1);
client           3798 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3802 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffe);
client           3803 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00010010);
client           3804 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001e0008);
client           3805 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffc1ff84);
client           3806 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffbc0084);
client           3807 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x013e00f0);
client           3808 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xff56fd9f);
client           3809 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdb8005c);
client           3810 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b00460);
client           3811 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x00c7fb45);
client           3812 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8f4fd07);
client           3813 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x04fa09ce);
client           3814 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x062afc07);
client           3815 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf407f614);
client           3816 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x01920ce0);
client           3817 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0d8301fa);
client           3818 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf3e8efe5);
client           3819 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xfa0009a4);
client           3820 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3824 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           3825 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffd000b);
client           3826 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0022001d);
client           3827 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffdbff82);
client           3828 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff870039);
client           3829 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x012a014a);
client           3830 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xffedfde7);
client           3831 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd47ff6b);
client           3832 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x031104c6);
client           3833 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0202fc4c);
client           3834 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8c6fbad);
client           3835 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x039909a7);
client           3836 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0767fd8e);
client           3837 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf482f52b);
client           3838 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x002d0c39);
client           3839 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0e0002f4);
client           3840 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf477efc2);
client           3841 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf99b0977);
client           3842 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3846 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           3847 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffa0004);
client           3848 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0020002d);
client           3849 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xfffbff91);
client           3850 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff61ffe8);
client           3851 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00f70184);
client           3852 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x0086fe5c);
client           3853 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd0bfe85);
client           3854 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x024104e5);
client           3855 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0323fd7d);
client           3856 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8e2fa79);
client           3857 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x021d093f);
client           3858 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0879ff22);
client           3859 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf52bf465);
client           3860 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfec70b79);
client           3861 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0e6803eb);
client           3862 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf50defa5);
client           3863 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf937094a);
client           3864 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3868 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
client           3869 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fffd);
client           3870 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00190036);
client           3871 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x001bffaf);
client           3872 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff4fff99);
client           3873 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00aa0198);
client           3874 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x0112fef3);
client           3875 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd09fdb9);
client           3876 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x014d04be);
client           3877 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x041bfecc);
client           3878 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf947f978);
client           3879 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x00900897);
client           3880 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x095a00b9);
client           3881 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf600f3c5);
client           3882 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfd650aa3);
client           3883 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0ebc04de);
client           3884 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf5aaef8e);
client           3885 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf8d5091c);
client           3886 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3890 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000ffff);
client           3891 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff7fff6);
client           3892 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x000e0038);
client           3893 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0037ffd7);
client           3894 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff52ff56);
client           3895 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x004b0184);
client           3896 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x0186ffa1);
client           3897 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd40fd16);
client           3898 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x00440452);
client           3899 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x04de0029);
client           3900 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf9f2f8b2);
client           3901 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfefe07b5);
client           3902 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a05024d);
client           3903 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf6fef34d);
client           3904 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfc0a09b8);
client           3905 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0efa05cd);
client           3906 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf64eef7d);
client           3907 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf87308ed);
client           3908 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3912 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010000);
client           3913 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff0);
client           3914 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00000031);
client           3915 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x004c0005);
client           3916 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff6aff27);
client           3917 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xffe4014a);
client           3918 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01d70057);
client           3919 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdacfca6);
client           3920 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xff3603a7);
client           3921 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x05610184);
client           3922 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfadbf82e);
client           3923 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfd74069f);
client           3924 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a7503d6);
client           3925 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf81ff2ff);
client           3926 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfab808b9);
client           3927 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0f2306b5);
client           3928 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf6f9ef72);
client           3929 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf81308bf);
client           3930 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3934 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010001);
client           3935 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffbffee);
client           3936 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfff30022);
client           3937 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00560032);
client           3938 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff95ff10);
client           3939 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff8000f0);
client           3940 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01fe0106);
client           3941 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe46fc71);
client           3942 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe3502c7);
client           3943 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x059e02ce);
client           3944 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfbf9f7f2);
client           3945 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfbff055b);
client           3946 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0aa9054c);
client           3947 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf961f2db);
client           3948 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf97507aa);
client           3949 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0f350797);
client           3950 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf7a9ef6d);
client           3951 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf7b40890);
client           3952 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3956 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010002);
client           3957 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffeffee);
client           3958 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe8000f);
client           3959 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00540058);
client           3960 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffcdff14);
client           3961 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff29007e);
client           3962 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01f6019e);
client           3963 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xff01fc7c);
client           3964 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd5101bf);
client           3965 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x059203f6);
client           3966 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfd41f7fe);
client           3967 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfaa903f3);
client           3968 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a9e06a9);
client           3969 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfabdf2e2);
client           3970 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf842068b);
client           3971 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0f320871);
client           3972 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf85eef6e);
client           3973 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf7560860);
client           3974 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           3978 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           3979 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0002fff2);
client           3980 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe1fff9);
client           3981 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00460073);
client           3982 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x000bff34);
client           3983 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfee90000);
client           3984 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01c10215);
client           3985 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xffd0fcc5);
client           3986 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99009d);
client           3987 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x053d04f1);
client           3988 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfea5f853);
client           3989 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf97d0270);
client           3990 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a5607e4);
client           3991 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfc2ef314);
client           3992 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf723055f);
client           3993 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0f180943);
client           3994 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf919ef75);
client           3995 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf6fa0830);
client           3996 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4000 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           4001 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0005fff8);
client           4002 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffdeffe4);
client           4003 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x002f007f);
client           4004 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0048ff6b);
client           4005 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec7ff82);
client           4006 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x0163025f);
client           4007 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x00a2fd47);
client           4008 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17ff73);
client           4009 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x04a405b2);
client           4010 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0017f8ed);
client           4011 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf88500dc);
client           4012 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x09d208f9);
client           4013 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfdaff370);
client           4014 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf61c0429);
client           4015 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0ee80a0b);
client           4016 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xf9d8ef82);
client           4017 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf6a00800);
client           4018 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4022 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           4023 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0007ffff);
client           4024 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe1ffd4);
client           4025 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0010007a);
client           4026 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x007cffb2);
client           4027 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec6ff10);
client           4028 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x00e60277);
client           4029 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0168fdf9);
client           4030 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3fe50);
client           4031 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x03ce0631);
client           4032 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0188f9c8);
client           4033 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7c7ff43);
client           4034 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x091509e3);
client           4035 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xff39f3f6);
client           4036 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf52d02ea);
client           4037 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0ea30ac9);
client           4038 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfa9bef95);
client           4039 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf64607d0);
client           4040 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4044 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
client           4045 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00090007);
client           4046 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe9ffca);
client           4047 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xfff00065);
client           4048 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00a10003);
client           4049 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfee6feb6);
client           4050 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x0053025b);
client           4051 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0213fed0);
client           4052 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3fd46);
client           4053 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x02c70668);
client           4054 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x02eafadb);
client           4055 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf74bfdae);
client           4056 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x08230a9c);
client           4057 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x00c7f4a3);
client           4058 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf45b01a6);
client           4059 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0e480b7c);
client           4060 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfb61efae);
client           4061 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf5ef079f);
client           4062 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4066 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0000);
client           4067 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0008000d);
client           4068 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfff5ffc8);
client           4069 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffd10043);
client           4070 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00b20053);
client           4071 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff24fe7c);
client           4072 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xffb9020c);
client           4073 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0295ffbb);
client           4074 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17fc64);
client           4075 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x019b0654);
client           4076 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x042dfc1c);
client           4077 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf714fc2a);
client           4078 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x07020b21);
client           4079 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0251f575);
client           4080 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf3a7005e);
client           4081 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0dd80c24);
client           4082 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfc2aefcd);
client           4083 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf599076e);
client           4084 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4088 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffffffff);
client           4089 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00060011);
client           4090 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0002ffcf);
client           4091 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffba0018);
client           4092 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00ad009a);
client           4093 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff79fe68);
client           4094 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xff260192);
client           4095 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02e500ab);
client           4096 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99fbb6);
client           4097 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x005b05f7);
client           4098 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0545fd81);
client           4099 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf723fabf);
client           4100 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x05b80b70);
client           4101 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x03d2f669);
client           4102 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf313ff15);
client           4103 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0d550cbf);
client           4104 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfcf6eff2);
client           4105 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf544073d);
client           4106 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4110 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffe);
client           4111 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00030012);
client           4112 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x000fffdd);
client           4113 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffacffea);
client           4114 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x009300cf);
client           4115 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xffdcfe7c);
client           4116 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfea600f7);
client           4117 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02fd0190);
client           4118 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51fb46);
client           4119 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xff150554);
client           4120 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0627fefd);
client           4121 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf778f978);
client           4122 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x044d0b87);
client           4123 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0543f77d);
client           4124 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2a0fdcf);
client           4125 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0cbe0d4e);
client           4126 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfdc4f01d);
client           4127 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf4f2070b);
client           4128 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4132 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           4133 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00000010);
client           4134 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001afff0);
client           4135 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffaaffbf);
client           4136 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x006700ed);
client           4137 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0043feb6);
client           4138 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe460047);
client           4139 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02db0258);
client           4140 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35fb1b);
client           4141 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfddc0473);
client           4142 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x06c90082);
client           4143 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf811f85e);
client           4144 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x02c90b66);
client           4145 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x069ff8ad);
client           4146 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf250fc8d);
client           4147 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0c140dcf);
client           4148 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfe93f04d);
client           4149 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf4a106d9);
client           4150 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4154 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           4155 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffc000c);
client           4156 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00200006);
client           4157 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffb4ff9c);
client           4158 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x002f00ef);
client           4159 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00a4ff10);
client           4160 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe0dff92);
client           4161 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x028102f7);
client           4162 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36fb37);
client           4163 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfcbf035e);
client           4164 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x07260202);
client           4165 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf8e8f778);
client           4166 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x01340b0d);
client           4167 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x07e1f9f4);
client           4168 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf223fb51);
client           4169 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0b590e42);
client           4170 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xff64f083);
client           4171 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf45206a7);
client           4172 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4176 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           4177 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff90005);
client           4178 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0022001a);
client           4179 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffc9ff86);
client           4180 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xfff000d7);
client           4181 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00f2ff82);
client           4182 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe01fee5);
client           4183 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x01f60362);
client           4184 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0044fb99);
client           4185 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfbcc0222);
client           4186 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x07380370);
client           4187 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf9f7f6cc);
client           4188 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xff990a7e);
client           4189 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0902fb50);
client           4190 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf21afa1f);
client           4191 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0a8d0ea6);
client           4192 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0034f0bf);
client           4193 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf4050675);
client           4194 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4198 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
client           4199 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fffe);
client           4200 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001e002b);
client           4201 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffe5ff81);
client           4202 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffb400a5);
client           4203 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x01280000);
client           4204 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe24fe50);
client           4205 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x01460390);
client           4206 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x014dfc3a);
client           4207 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb1000ce);
client           4208 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x070104bf);
client           4209 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfb37f65f);
client           4210 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfe0009bc);
client           4211 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0a00fcbb);
client           4212 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf235f8f8);
client           4213 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x09b20efc);
client           4214 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0105f101);
client           4215 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf3ba0642);
client           4216 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4220 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0001ffff);
client           4221 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff7);
client           4222 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00150036);
client           4223 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0005ff8c);
client           4224 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff810061);
client           4225 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x013d007e);
client           4226 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe71fddf);
client           4227 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x007c0380);
client           4228 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0241fd13);
client           4229 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa94ff70);
client           4230 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x068005e2);
client           4231 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfc9bf633);
client           4232 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfc7308ca);
client           4233 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0ad5fe30);
client           4234 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf274f7e0);
client           4235 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x08c90f43);
client           4236 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x01d4f147);
client           4237 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf371060f);
client           4238 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4242 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010001);
client           4243 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9fff1);
client           4244 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00090038);
client           4245 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0025ffa7);
client           4246 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff5e0012);
client           4247 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x013200f0);
client           4248 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfee3fd9b);
client           4249 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xffaa0331);
client           4250 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0311fe15);
client           4251 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa60fe18);
client           4252 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x05bd06d1);
client           4253 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfe1bf64a);
client           4254 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfafa07ae);
client           4255 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0b7effab);
client           4256 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2d5f6d7);
client           4257 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x07d30f7a);
client           4258 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x02a3f194);
client           4259 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf32905dc);
client           4260 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4264 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010002);
client           4265 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffcffee);
client           4266 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfffb0032);
client           4267 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x003fffcd);
client           4268 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff4effc1);
client           4269 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0106014a);
client           4270 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xff6efd8a);
client           4271 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfedd02aa);
client           4272 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b0ff34);
client           4273 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa74fcd7);
client           4274 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x04bf0781);
client           4275 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xffaaf6a3);
client           4276 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf99e066b);
client           4277 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0bf90128);
client           4278 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf359f5e1);
client           4279 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x06d20fa2);
client           4280 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0370f1e5);
client           4281 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf2e405a8);
client           4282 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4286 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           4287 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xffffffee);
client           4288 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffef0024);
client           4289 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0051fffa);
client           4290 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff54ff77);
client           4291 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00be0184);
client           4292 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x0006fdad);
client           4293 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe2701f3);
client           4294 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0413005e);
client           4295 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfad1fbba);
client           4296 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x039007ee);
client           4297 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x013bf73d);
client           4298 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf868050a);
client           4299 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c4302a1);
client           4300 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf3fdf4fe);
client           4301 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x05c70fba);
client           4302 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x043bf23c);
client           4303 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf2a10575);
client           4304 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4308 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           4309 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0003fff1);
client           4310 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe50011);
client           4311 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00570027);
client           4312 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff70ff3c);
client           4313 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00620198);
client           4314 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x009efe01);
client           4315 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd95011a);
client           4316 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x04350183);
client           4317 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb71fad0);
client           4318 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x023c0812);
client           4319 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x02c3f811);
client           4320 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf75e0390);
client           4321 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c5c0411);
client           4322 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf4c1f432);
client           4323 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x04b30fc1);
client           4324 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0503f297);
client           4325 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf2610541);
client           4326 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4330 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           4331 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0006fff7);
client           4332 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffdffffc);
client           4333 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00510050);
client           4334 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff9dff18);
client           4335 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfffc0184);
client           4336 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x0128fe80);
client           4337 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd32002e);
client           4338 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x04130292);
client           4339 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfc4dfa21);
client           4340 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x00d107ee);
client           4341 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x0435f91c);
client           4342 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf6850205);
client           4343 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c430573);
client           4344 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf5a1f37d);
client           4345 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x03990fba);
client           4346 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x05c7f2f8);
client           4347 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf222050d);
client           4348 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4352 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
client           4353 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0008fffe);
client           4354 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffdfffe7);
client           4355 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x003f006e);
client           4356 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffd6ff0f);
client           4357 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff96014a);
client           4358 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x0197ff1f);
client           4359 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd05ff3e);
client           4360 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b0037c);
client           4361 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfd59f9b7);
client           4362 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xff5d0781);
client           4363 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x0585fa56);
client           4364 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf5e4006f);
client           4365 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0bf906c4);
client           4366 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf69df2e0);
client           4367 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x02790fa2);
client           4368 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0688f35d);
client           4369 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf1e604d8);
client           4370 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4374 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0001);
client           4375 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00090005);
client           4376 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe4ffd6);
client           4377 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0025007e);
client           4378 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0014ff20);
client           4379 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff3c00f0);
client           4380 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01e1ffd0);
client           4381 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd12fe5c);
client           4382 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x03110433);
client           4383 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfe88f996);
client           4384 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfdf106d1);
client           4385 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x06aafbb7);
client           4386 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf57efed8);
client           4387 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0b7e07ff);
client           4388 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf7b0f25e);
client           4389 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x01560f7a);
client           4390 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0745f3c7);
client           4391 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf1ac04a4);
client           4392 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4396 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffffffff);
client           4397 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0008000c);
client           4398 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffedffcb);
client           4399 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0005007d);
client           4400 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0050ff4c);
client           4401 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfef6007e);
client           4402 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01ff0086);
client           4403 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd58fd97);
client           4404 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x024104ad);
client           4405 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xffcaf9c0);
client           4406 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfc9905e2);
client           4407 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x079afd35);
client           4408 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf555fd46);
client           4409 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0ad50920);
client           4410 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf8d9f1f6);
client           4411 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x00310f43);
client           4412 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x07fdf435);
client           4413 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf174046f);
client           4414 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4418 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xfffffffe);
client           4419 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00050011);
client           4420 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfffaffc8);
client           4421 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffe5006b);
client           4422 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0082ff8c);
client           4423 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfecc0000);
client           4424 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01f00130);
client           4425 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdd2fcfc);
client           4426 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x014d04e3);
client           4427 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x010efa32);
client           4428 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfb6404bf);
client           4429 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x084efec5);
client           4430 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf569fbc2);
client           4431 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0a000a23);
client           4432 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfa15f1ab);
client           4433 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xff0b0efc);
client           4434 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x08b0f4a7);
client           4435 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf13f043a);
client           4436 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4440 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           4441 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00020012);
client           4442 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0007ffcd);
client           4443 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffc9004c);
client           4444 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00a4ffd9);
client           4445 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec3ff82);
client           4446 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01b401c1);
client           4447 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe76fc97);
client           4448 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x004404d2);
client           4449 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0245fae8);
client           4450 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfa5f0370);
client           4451 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x08c1005f);
client           4452 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf5bcfa52);
client           4453 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x09020b04);
client           4454 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfb60f17b);
client           4455 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xfde70ea6);
client           4456 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x095df51e);
client           4457 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf10c0405);
client           4458 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4462 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           4463 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xffff0011);
client           4464 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0014ffdb);
client           4465 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffb40023);
client           4466 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00b2002a);
client           4467 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfedbff10);
client           4468 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x0150022d);
client           4469 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xff38fc6f);
client           4470 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36047b);
client           4471 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x035efbda);
client           4472 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf9940202);
client           4473 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x08ee01f5);
client           4474 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf649f8fe);
client           4475 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x07e10bc2);
client           4476 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfcb6f169);
client           4477 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xfcc60e42);
client           4478 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0a04f599);
client           4479 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf0db03d0);
client           4480 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4484 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           4485 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffb000d);
client           4486 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001dffed);
client           4487 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffaafff5);
client           4488 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00aa0077);
client           4489 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff13feb6);
client           4490 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x00ce026b);
client           4491 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x000afc85);
client           4492 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe3503e3);
client           4493 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x044cfcfb);
client           4494 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf90c0082);
client           4495 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x08d5037f);
client           4496 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf710f7cc);
client           4497 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x069f0c59);
client           4498 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfe16f173);
client           4499 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xfbaa0dcf);
client           4500 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0aa5f617);
client           4501 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf0ad039b);
client           4502 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4506 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
client           4507 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff90006);
client           4508 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00210003);
client           4509 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffacffc8);
client           4510 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x008e00b6);
client           4511 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff63fe7c);
client           4512 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x003a0275);
client           4513 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x00dafcda);
client           4514 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd510313);
client           4515 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0501fe40);
client           4516 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8cbfefd);
client           4517 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x087604f0);
client           4518 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf80af6c2);
client           4519 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x05430cc8);
client           4520 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xff7af19a);
client           4521 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xfa940d4e);
client           4522 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0b3ff699);
client           4523 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf0810365);
client           4524 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4528 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0001ffff);
client           4529 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8ffff);
client           4530 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00210018);
client           4531 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffbaffa3);
client           4532 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x006000e1);
client           4533 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xffc4fe68);
client           4534 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xffa0024b);
client           4535 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x019afd66);
client           4536 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc990216);
client           4537 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0575ff99);
client           4538 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8d4fd81);
client           4539 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x07d40640);
client           4540 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf932f5e6);
client           4541 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x03d20d0d);
client           4542 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x00dff1de);
client           4543 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf9860cbf);
client           4544 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0bd1f71e);
client           4545 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf058032f);
client           4546 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4550 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010000);
client           4551 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff8);
client           4552 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001b0029);
client           4553 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffd1ff8a);
client           4554 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x002600f2);
client           4555 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x002cfe7c);
client           4556 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xff0f01f0);
client           4557 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x023bfe20);
client           4558 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc1700fa);
client           4559 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x05a200f7);
client           4560 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf927fc1c);
client           4561 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x06f40765);
client           4562 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfa82f53b);
client           4563 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x02510d27);
client           4564 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0243f23d);
client           4565 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf8810c24);
client           4566 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0c5cf7a7);
client           4567 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf03102fa);
client           4568 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4572 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010002);
client           4573 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffafff2);
client           4574 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00110035);
client           4575 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xfff0ff81);
client           4576 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffe700e7);
client           4577 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x008ffeb6);
client           4578 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe94016d);
client           4579 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02b0fefb);
client           4580 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3ffd1);
client           4581 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x05850249);
client           4582 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf9c1fadb);
client           4583 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x05de0858);
client           4584 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfbf2f4c4);
client           4585 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x00c70d17);
client           4586 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x03a0f2b8);
client           4587 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf7870b7c);
client           4588 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0cdff833);
client           4589 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf00d02c4);
client           4590 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4594 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           4595 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffdffee);
client           4596 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00040038);
client           4597 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0010ff88);
client           4598 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffac00c2);
client           4599 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00e2ff10);
client           4600 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe3900cb);
client           4601 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02f1ffe9);
client           4602 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3feaa);
client           4603 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x05210381);
client           4604 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfa9cf9c8);
client           4605 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x04990912);
client           4606 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfd7af484);
client           4607 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xff390cdb);
client           4608 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x04f4f34d);
client           4609 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf69a0ac9);
client           4610 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0d5af8c1);
client           4611 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xefec028e);
client           4612 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4616 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           4617 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0000ffee);
client           4618 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfff60033);
client           4619 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x002fff9f);
client           4620 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff7b0087);
client           4621 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x011eff82);
client           4622 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe080018);
client           4623 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02f900d8);
client           4624 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17fd96);
client           4625 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x04790490);
client           4626 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfbadf8ed);
client           4627 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x032f098e);
client           4628 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xff10f47d);
client           4629 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfdaf0c75);
client           4630 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x063cf3fc);
client           4631 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf5ba0a0b);
client           4632 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0dccf952);
client           4633 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xefcd0258);
client           4634 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4638 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           4639 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0004fff1);
client           4640 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffea0026);
client           4641 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0046ffc3);
client           4642 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff5a003c);
client           4643 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x013b0000);
client           4644 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe04ff63);
client           4645 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02c801b8);
client           4646 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99fca6);
client           4647 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0397056a);
client           4648 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfcecf853);
client           4649 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x01ad09c9);
client           4650 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x00acf4ad);
client           4651 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfc2e0be7);
client           4652 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0773f4c2);
client           4653 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf4e90943);
client           4654 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0e35f9e6);
client           4655 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xefb10221);
client           4656 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4660 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
client           4661 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0007fff6);
client           4662 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe20014);
client           4663 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0054ffee);
client           4664 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff4effeb);
client           4665 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0137007e);
client           4666 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe2efebb);
client           4667 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0260027a);
client           4668 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51fbe6);
client           4669 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x02870605);
client           4670 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfe4af7fe);
client           4671 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x001d09c1);
client           4672 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0243f515);
client           4673 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfabd0b32);
client           4674 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0897f59e);
client           4675 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf4280871);
client           4676 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0e95fa7c);
client           4677 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef9701eb);
client           4678 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4682 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0001);
client           4683 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0008fffd);
client           4684 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffdeffff);
client           4685 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0056001d);
client           4686 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff57ff9c);
client           4687 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x011300f0);
client           4688 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe82fe2e);
client           4689 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x01ca0310);
client           4690 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35fb62);
client           4691 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0155065a);
client           4692 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xffbaf7f2);
client           4693 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfe8c0977);
client           4694 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x03cef5b2);
client           4695 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf9610a58);
client           4696 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x09a5f68f);
client           4697 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf3790797);
client           4698 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0eebfb14);
client           4699 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef8001b5);
client           4700 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4704 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0000);
client           4705 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00080004);
client           4706 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe0ffe9);
client           4707 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x004c0047);
client           4708 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff75ff58);
client           4709 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00d1014a);
client           4710 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfef9fdc8);
client           4711 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0111036f);
client           4712 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36fb21);
client           4713 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x00120665);
client           4714 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x012df82e);
client           4715 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfd0708ec);
client           4716 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0542f682);
client           4717 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf81f095c);
client           4718 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0a9af792);
client           4719 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf2db06b5);
client           4720 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0f38fbad);
client           4721 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef6c017e);
client           4722 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4726 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffffffff);
client           4727 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0007000b);
client           4728 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe7ffd8);
client           4729 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00370068);
client           4730 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffa4ff28);
client           4731 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00790184);
client           4732 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xff87fd91);
client           4733 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x00430392);
client           4734 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0044fb26);
client           4735 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfece0626);
client           4736 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0294f8b2);
client           4737 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfb990825);
client           4738 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0698f77f);
client           4739 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf6fe0842);
client           4740 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0b73f8a7);
client           4741 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf25105cd);
client           4742 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0f7bfc48);
client           4743 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef5a0148);
client           4744 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4748 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
client           4749 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00050010);
client           4750 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfff2ffcc);
client           4751 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x001b007b);
client           4752 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffdfff10);
client           4753 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00140198);
client           4754 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x0020fd8e);
client           4755 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xff710375);
client           4756 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x014dfb73);
client           4757 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfd9a059f);
client           4758 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x03e0f978);
client           4759 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfa4e0726);
client           4760 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x07c8f8a7);
client           4761 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf600070c);
client           4762 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0c2ff9c9);
client           4763 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf1db04de);
client           4764 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0fb4fce5);
client           4765 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef4b0111);
client           4766 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4770 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           4771 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00010012);
client           4772 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffffffc8);
client           4773 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xfffb007e);
client           4774 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x001dff14);
client           4775 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xffad0184);
client           4776 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x00b7fdbe);
client           4777 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfea9031b);
client           4778 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0241fc01);
client           4779 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfc8504d6);
client           4780 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0504fa79);
client           4781 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf93005f6);
client           4782 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x08caf9f2);
client           4783 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf52b05c0);
client           4784 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0ccbfaf9);
client           4785 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf17903eb);
client           4786 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0fe3fd83);
client           4787 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef3f00db);
client           4788 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4792 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           4793 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffe0011);
client           4794 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x000cffcc);
client           4795 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffdb0071);
client           4796 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0058ff32);
client           4797 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff4f014a);
client           4798 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x013cfe1f);
client           4799 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdfb028a);
client           4800 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0311fcc9);
client           4801 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb9d03d6);
client           4802 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x05f4fbad);
client           4803 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf848049d);
client           4804 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0999fb5b);
client           4805 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf4820461);
client           4806 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d46fc32);
client           4807 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf12d02f4);
client           4808 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x1007fe21);
client           4809 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef3600a4);
client           4810 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4814 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
client           4815 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffa000e);
client           4816 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0017ffd9);
client           4817 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffc10055);
client           4818 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0088ff68);
client           4819 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff0400f0);
client           4820 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01a6fea7);
client           4821 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd7501cc);
client           4822 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b0fdc0);
client           4823 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfaef02a8);
client           4824 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x06a7fd07);
client           4825 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf79d0326);
client           4826 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a31fcda);
client           4827 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf40702f3);
client           4828 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d9ffd72);
client           4829 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0f601fa);
client           4830 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x1021fec0);
client           4831 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef2f006d);
client           4832 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4836 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0001ffff);
client           4837 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff80007);
client           4838 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001fffeb);
client           4839 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffaf002d);
client           4840 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00a8ffb0);
client           4841 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfed3007e);
client           4842 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01e9ff4c);
client           4843 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd2000ee);
client           4844 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0413fed8);
client           4845 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa82015c);
client           4846 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0715fe7d);
client           4847 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7340198);
client           4848 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a8dfe69);
client           4849 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf3bd017c);
client           4850 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0dd5feb8);
client           4851 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0d500fd);
client           4852 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x1031ff60);
client           4853 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef2b0037);
client           4854 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4858 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010000);
client           4859 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff70000);
client           4860 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00220000);
client           4861 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffa90000);
client           4862 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00b30000);
client           4863 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec20000);
client           4864 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x02000000);
client           4865 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd030000);
client           4866 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x04350000);
client           4867 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa5e0000);
client           4868 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x073b0000);
client           4869 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7110000);
client           4870 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0aac0000);
client           4871 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf3a40000);
client           4872 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0de70000);
client           4873 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0c90000);
client           4874 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x10360000);
client           4875 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef290000);
client           4876 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4880 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010001);
client           4881 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff8fff9);
client           4882 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001f0015);
client           4883 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffafffd3);
client           4884 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00a80050);
client           4885 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfed3ff82);
client           4886 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01e900b4);
client           4887 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd20ff12);
client           4888 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x04130128);
client           4889 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa82fea4);
client           4890 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x07150183);
client           4891 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf734fe68);
client           4892 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a8d0197);
client           4893 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf3bdfe84);
client           4894 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0dd50148);
client           4895 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0d5ff03);
client           4896 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x103100a0);
client           4897 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef2bffc9);
client           4898 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4902 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
client           4903 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffafff2);
client           4904 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00170027);
client           4905 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffc1ffab);
client           4906 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00880098);
client           4907 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff04ff10);
client           4908 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01a60159);
client           4909 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd75fe34);
client           4910 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b00240);
client           4911 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfaeffd58);
client           4912 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x06a702f9);
client           4913 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf79dfcda);
client           4914 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0a310326);
client           4915 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf407fd0d);
client           4916 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d9f028e);
client           4917 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf0f6fe06);
client           4918 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x10210140);
client           4919 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef2fff93);
client           4920 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4924 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           4925 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffeffef);
client           4926 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x000c0034);
client           4927 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffdbff8f);
client           4928 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x005800ce);
client           4929 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff4ffeb6);
client           4930 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x013c01e1);
client           4931 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdfbfd76);
client           4932 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x03110337);
client           4933 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb9dfc2a);
client           4934 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x05f40453);
client           4935 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf848fb63);
client           4936 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x099904a5);
client           4937 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf482fb9f);
client           4938 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0d4603ce);
client           4939 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf12dfd0c);
client           4940 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x100701df);
client           4941 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef36ff5c);
client           4942 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4946 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           4947 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0001ffee);
client           4948 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffff0038);
client           4949 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xfffbff82);
client           4950 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x001d00ec);
client           4951 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xffadfe7c);
client           4952 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x00b70242);
client           4953 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfea9fce5);
client           4954 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x024103ff);
client           4955 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfc85fb2a);
client           4956 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x05040587);
client           4957 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf930fa0a);
client           4958 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x08ca060e);
client           4959 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf52bfa40);
client           4960 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0ccb0507);
client           4961 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf179fc15);
client           4962 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0fe3027d);
client           4963 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef3fff25);
client           4964 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4968 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
client           4969 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0005fff0);
client           4970 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfff20034);
client           4971 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x001bff85);
client           4972 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffdf00f0);
client           4973 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0014fe68);
client           4974 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x00200272);
client           4975 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xff71fc8b);
client           4976 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x014d048d);
client           4977 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfd9afa61);
client           4978 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x03e00688);
client           4979 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfa4ef8da);
client           4980 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x07c80759);
client           4981 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf600f8f4);
client           4982 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0c2f0637);
client           4983 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf1dbfb22);
client           4984 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0fb4031b);
client           4985 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef4bfeef);
client           4986 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           4990 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0001);
client           4991 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0007fff5);
client           4992 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe70028);
client           4993 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0037ff98);
client           4994 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffa400d8);
client           4995 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0079fe7c);
client           4996 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xff87026f);
client           4997 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0043fc6e);
client           4998 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x004404da);
client           4999 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfecef9da);
client           5000 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0294074e);
client           5001 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfb99f7db);
client           5002 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x06980881);
client           5003 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf6fef7be);
client           5004 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0b730759);
client           5005 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf251fa33);
client           5006 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0f7b03b8);
client           5007 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef5afeb8);
client           5008 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5012 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0000);
client           5013 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0008fffc);
client           5014 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe00017);
client           5015 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x004cffb9);
client           5016 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff7500a8);
client           5017 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00d1feb6);
client           5018 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfef90238);
client           5019 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0111fc91);
client           5020 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xff3604df);
client           5021 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0012f99b);
client           5022 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x012d07d2);
client           5023 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfd07f714);
client           5024 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0542097e);
client           5025 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf81ff6a4);
client           5026 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x0a9a086e);
client           5027 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf2dbf94b);
client           5028 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0f380453);
client           5029 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef6cfe82);
client           5030 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5034 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffffffff);
client           5035 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00080003);
client           5036 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffde0001);
client           5037 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0056ffe3);
client           5038 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff570064);
client           5039 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0113ff10);
client           5040 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe8201d2);
client           5041 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x01cafcf0);
client           5042 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35049e);
client           5043 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0155f9a6);
client           5044 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xffba080e);
client           5045 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfe8cf689);
client           5046 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x03ce0a4e);
client           5047 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xf961f5a8);
client           5048 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x09a50971);
client           5049 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf379f869);
client           5050 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0eeb04ec);
client           5051 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef80fe4b);
client           5052 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5056 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
client           5057 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0007000a);
client           5058 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe2ffec);
client           5059 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00540012);
client           5060 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff4e0015);
client           5061 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0137ff82);
client           5062 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe2e0145);
client           5063 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0260fd86);
client           5064 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51041a);
client           5065 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0287f9fb);
client           5066 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfe4a0802);
client           5067 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x001df63f);
client           5068 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x02430aeb);
client           5069 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfabdf4ce);
client           5070 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x08970a62);
client           5071 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf428f78f);
client           5072 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0e950584);
client           5073 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xef97fe15);
client           5074 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5078 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           5079 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0004000f);
client           5080 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffeaffda);
client           5081 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0046003d);
client           5082 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff5affc4);
client           5083 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x013b0000);
client           5084 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe04009d);
client           5085 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02c8fe48);
client           5086 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99035a);
client           5087 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0397fa96);
client           5088 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfcec07ad);
client           5089 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x01adf637);
client           5090 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x00ac0b53);
client           5091 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfc2ef419);
client           5092 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x07730b3e);
client           5093 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf4e9f6bd);
client           5094 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0e35061a);
client           5095 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xefb1fddf);
client           5096 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5100 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           5101 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00000012);
client           5102 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfff6ffcd);
client           5103 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x002f0061);
client           5104 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff7bff79);
client           5105 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x011e007e);
client           5106 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe08ffe8);
client           5107 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02f9ff28);
client           5108 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17026a);
client           5109 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0479fb70);
client           5110 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfbad0713);
client           5111 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x032ff672);
client           5112 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xff100b83);
client           5113 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xfdaff38b);
client           5114 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x063c0c04);
client           5115 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf5baf5f5);
client           5116 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0dcc06ae);
client           5117 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xefcdfda8);
client           5118 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5122 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           5123 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffd0012);
client           5124 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0004ffc8);
client           5125 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00100078);
client           5126 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffacff3e);
client           5127 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00e200f0);
client           5128 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe39ff35);
client           5129 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02f10017);
client           5130 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd30156);
client           5131 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0521fc7f);
client           5132 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfa9c0638);
client           5133 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x0499f6ee);
client           5134 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfd7a0b7c);
client           5135 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0xff39f325);
client           5136 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x04f40cb3);
client           5137 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf69af537);
client           5138 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0d5a073f);
client           5139 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xefecfd72);
client           5140 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5144 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0001fffe);
client           5145 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffa000e);
client           5146 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0011ffcb);
client           5147 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xfff0007f);
client           5148 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffe7ff19);
client           5149 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x008f014a);
client           5150 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe94fe93);
client           5151 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02b00105);
client           5152 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfbd3002f);
client           5153 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x0585fdb7);
client           5154 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf9c10525);
client           5155 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x05def7a8);
client           5156 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfbf20b3c);
client           5157 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x00c7f2e9);
client           5158 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x03a00d48);
client           5159 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf787f484);
client           5160 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0cdf07cd);
client           5161 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf00dfd3c);
client           5162 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5166 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010000);
client           5167 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff80008);
client           5168 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001bffd7);
client           5169 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffd10076);
client           5170 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0026ff0e);
client           5171 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x002c0184);
client           5172 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xff0ffe10);
client           5173 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x023b01e0);
client           5174 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc17ff06);
client           5175 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x05a2ff09);
client           5176 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf92703e4);
client           5177 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x06f4f89b);
client           5178 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfa820ac5);
client           5179 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0251f2d9);
client           5180 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x02430dc3);
client           5181 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf881f3dc);
client           5182 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0c5c0859);
client           5183 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf031fd06);
client           5184 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5188 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010001);
client           5189 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff80001);
client           5190 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0021ffe8);
client           5191 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffba005d);
client           5192 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0060ff1f);
client           5193 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xffc40198);
client           5194 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xffa0fdb5);
client           5195 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x019a029a);
client           5196 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99fdea);
client           5197 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x05750067);
client           5198 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8d4027f);
client           5199 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x07d4f9c0);
client           5200 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf9320a1a);
client           5201 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x03d2f2f3);
client           5202 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0x00df0e22);
client           5203 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xf986f341);
client           5204 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0bd108e2);
client           5205 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf058fcd1);
client           5206 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5210 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
client           5211 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9fffa);
client           5212 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0021fffd);
client           5213 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffac0038);
client           5214 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x008eff4a);
client           5215 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff630184);
client           5216 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x003afd8b);
client           5217 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x00da0326);
client           5218 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd51fced);
client           5219 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x050101c0);
client           5220 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf8cb0103);
client           5221 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x0876fb10);
client           5222 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf80a093e);
client           5223 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0543f338);
client           5224 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xff7a0e66);
client           5225 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xfa94f2b2);
client           5226 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0b3f0967);
client           5227 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf081fc9b);
client           5228 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5232 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           5233 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffbfff3);
client           5234 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001d0013);
client           5235 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffaa000b);
client           5236 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00aaff89);
client           5237 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff13014a);
client           5238 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x00cefd95);
client           5239 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x000a037b);
client           5240 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe35fc1d);
client           5241 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x044c0305);
client           5242 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf90cff7e);
client           5243 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x08d5fc81);
client           5244 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf7100834);
client           5245 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x069ff3a7);
client           5246 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfe160e8d);
client           5247 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xfbaaf231);
client           5248 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0aa509e9);
client           5249 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf0adfc65);
client           5250 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5254 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           5255 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xffffffef);
client           5256 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00140025);
client           5257 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffb4ffdd);
client           5258 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00b2ffd6);
client           5259 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfedb00f0);
client           5260 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x0150fdd3);
client           5261 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xff380391);
client           5262 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xff36fb85);
client           5263 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x035e0426);
client           5264 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xf994fdfe);
client           5265 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x08eefe0b);
client           5266 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf6490702);
client           5267 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x07e1f43e);
client           5268 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfcb60e97);
client           5269 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xfcc6f1be);
client           5270 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x0a040a67);
client           5271 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf0dbfc30);
client           5272 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5276 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           5277 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0002ffee);
client           5278 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00070033);
client           5279 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffc9ffb4);
client           5280 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00a40027);
client           5281 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfec3007e);
client           5282 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01b4fe3f);
client           5283 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe760369);
client           5284 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0044fb2e);
client           5285 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x02450518);
client           5286 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfa5ffc90);
client           5287 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x08c1ffa1);
client           5288 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf5bc05ae);
client           5289 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0902f4fc);
client           5290 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfb600e85);
client           5291 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xfde7f15a);
client           5292 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x095d0ae2);
client           5293 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf10cfbfb);
client           5294 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5298 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0002);
client           5299 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0005ffef);
client           5300 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfffa0038);
client           5301 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffe5ff95);
client           5302 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00820074);
client           5303 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfecc0000);
client           5304 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01f0fed0);
client           5305 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfdd20304);
client           5306 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x014dfb1d);
client           5307 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x010e05ce);
client           5308 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfb64fb41);
client           5309 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x084e013b);
client           5310 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf569043e);
client           5311 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0a00f5dd);
client           5312 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xfa150e55);
client           5313 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0xff0bf104);
client           5314 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x08b00b59);
client           5315 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf13ffbc6);
client           5316 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5320 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0001);
client           5321 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0008fff4);
client           5322 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffed0035);
client           5323 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0005ff83);
client           5324 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x005000b4);
client           5325 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfef6ff82);
client           5326 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01ffff7a);
client           5327 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd580269);
client           5328 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0241fb53);
client           5329 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xffca0640);
client           5330 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfc99fa1e);
client           5331 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x079a02cb);
client           5332 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf55502ba);
client           5333 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0ad5f6e0);
client           5334 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf8d90e0a);
client           5335 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0031f0bd);
client           5336 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x07fd0bcb);
client           5337 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf174fb91);
client           5338 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5342 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffffffff);
client           5343 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0009fffb);
client           5344 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe4002a);
client           5345 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0025ff82);
client           5346 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x001400e0);
client           5347 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff3cff10);
client           5348 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01e10030);
client           5349 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd1201a4);
client           5350 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0311fbcd);
client           5351 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfe88066a);
client           5352 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xfdf1f92f);
client           5353 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x06aa0449);
client           5354 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf57e0128);
client           5355 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0b7ef801);
client           5356 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf7b00da2);
client           5357 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0156f086);
client           5358 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x07450c39);
client           5359 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf1acfb5c);
client           5360 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5364 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffe);
client           5365 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00080002);
client           5366 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffdf0019);
client           5367 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x003fff92);
client           5368 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffd600f1);
client           5369 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff96feb6);
client           5370 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x019700e1);
client           5371 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd0500c2);
client           5372 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b0fc84);
client           5373 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfd590649);
client           5374 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0xff5df87f);
client           5375 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x058505aa);
client           5376 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf5e4ff91);
client           5377 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0bf9f93c);
client           5378 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf69d0d20);
client           5379 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0279f05e);
client           5380 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x06880ca3);
client           5381 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf1e6fb28);
client           5382 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5386 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           5387 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x00060009);
client           5388 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffdf0004);
client           5389 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0051ffb0);
client           5390 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff9d00e8);
client           5391 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xfffcfe7c);
client           5392 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x01280180);
client           5393 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd32ffd2);
client           5394 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0413fd6e);
client           5395 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfc4d05df);
client           5396 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x00d1f812);
client           5397 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x043506e4);
client           5398 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf685fdfb);
client           5399 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c43fa8d);
client           5400 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf5a10c83);
client           5401 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0399f046);
client           5402 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x05c70d08);
client           5403 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf222faf3);
client           5404 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5408 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           5409 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0003000f);
client           5410 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffe5ffef);
client           5411 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x0057ffd9);
client           5412 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff7000c4);
client           5413 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0062fe68);
client           5414 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x009e01ff);
client           5415 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfd95fee6);
client           5416 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0435fe7d);
client           5417 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb710530);
client           5418 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x023cf7ee);
client           5419 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x02c307ef);
client           5420 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf75efc70);
client           5421 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c5cfbef);
client           5422 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf4c10bce);
client           5423 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x04b3f03f);
client           5424 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x05030d69);
client           5425 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf261fabf);
client           5426 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5430 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0000fffd);
client           5431 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xffff0012);
client           5432 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xffefffdc);
client           5433 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00510006);
client           5434 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff540089);
client           5435 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00befe7c);
client           5436 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0x00060253);
client           5437 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfe27fe0d);
client           5438 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x0413ffa2);
client           5439 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfad10446);
client           5440 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0390f812);
client           5441 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0x013b08c3);
client           5442 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf868faf6);
client           5443 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0c43fd5f);
client           5444 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf3fd0b02);
client           5445 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x05c7f046);
client           5446 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x043b0dc4);
client           5447 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf2a1fa8b);
client           5448 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5452 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0001fffe);
client           5453 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffc0012);
client           5454 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0xfffbffce);
client           5455 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x003f0033);
client           5456 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff4e003f);
client           5457 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0106feb6);
client           5458 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xff6e0276);
client           5459 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xfeddfd56);
client           5460 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x03b000cc);
client           5461 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa740329);
client           5462 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x04bff87f);
client           5463 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xffaa095d);
client           5464 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xf99ef995);
client           5465 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0bf9fed8);
client           5466 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf3590a1f);
client           5467 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x06d2f05e);
client           5468 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x03700e1b);
client           5469 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf2e4fa58);
client           5470 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5474 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x0001ffff);
client           5475 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9000f);
client           5476 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0009ffc8);
client           5477 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00250059);
client           5478 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff5effee);
client           5479 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0132ff10);
client           5480 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfee30265);
client           5481 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0xffaafccf);
client           5482 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x031101eb);
client           5483 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa6001e8);
client           5484 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x05bdf92f);
client           5485 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfe1b09b6);
client           5486 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfafaf852);
client           5487 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0b7e0055);
client           5488 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2d50929);
client           5489 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x07d3f086);
client           5490 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x02a30e6c);
client           5491 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf329fa24);
client           5492 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5496 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00010001);
client           5497 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff80009);
client           5498 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0015ffca);
client           5499 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0x00050074);
client           5500 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xff81ff9f);
client           5501 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x013dff82);
client           5502 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe710221);
client           5503 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x007cfc80);
client           5504 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x024102ed);
client           5505 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfa940090);
client           5506 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0680fa1e);
client           5507 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfc9b09cd);
client           5508 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfc73f736);
client           5509 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0ad501d0);
client           5510 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2740820);
client           5511 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x08c9f0bd);
client           5512 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x01d40eb9);
client           5513 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf371f9f1);
client           5514 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5518 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000002);
client           5519 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff80002);
client           5520 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001effd5);
client           5521 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffe5007f);
client           5522 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xffb4ff5b);
client           5523 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x01280000);
client           5524 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe2401b0);
client           5525 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0146fc70);
client           5526 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x014d03c6);
client           5527 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfb10ff32);
client           5528 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0701fb41);
client           5529 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xfb3709a1);
client           5530 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xfe00f644);
client           5531 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x0a000345);
client           5532 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2350708);
client           5533 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x09b2f104);
client           5534 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x01050eff);
client           5535 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf3baf9be);
client           5536 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5540 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           5541 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfff9fffb);
client           5542 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0022ffe6);
client           5543 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffc9007a);
client           5544 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0xfff0ff29);
client           5545 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00f2007e);
client           5546 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe01011b);
client           5547 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x01f6fc9e);
client           5548 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0x00440467);
client           5549 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfbccfdde);
client           5550 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0738fc90);
client           5551 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf9f70934);
client           5552 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0xff99f582);
client           5553 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x090204b0);
client           5554 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf21a05e1);
client           5555 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0a8df15a);
client           5556 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0x00340f41);
client           5557 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf405f98b);
client           5558 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5562 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           5563 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0xfffcfff4);
client           5564 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x0020fffa);
client           5565 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffb40064);
client           5566 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x002fff11);
client           5567 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x00a400f0);
client           5568 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe0d006e);
client           5569 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x0281fd09);
client           5570 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xff3604c9);
client           5571 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfcbffca2);
client           5572 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0726fdfe);
client           5573 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf8e80888);
client           5574 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x0134f4f3);
client           5575 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x07e1060c);
client           5576 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf22304af);
client           5577 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0b59f1be);
client           5578 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xff640f7d);
client           5579 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf452f959);
client           5580 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5584 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0x00000003);
client           5585 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0000fff0);
client           5586 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x001a0010);
client           5587 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffaa0041);
client           5588 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0067ff13);
client           5589 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0x0043014a);
client           5590 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfe46ffb9);
client           5591 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02dbfda8);
client           5592 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfe3504e5);
client           5593 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xfddcfb8d);
client           5594 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x06c9ff7e);
client           5595 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf81107a2);
client           5596 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x02c9f49a);
client           5597 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x069f0753);
client           5598 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2500373);
client           5599 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0c14f231);
client           5600 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfe930fb3);
client           5601 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf4a1f927);
client           5602 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5606 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0002);
client           5607 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0003ffee);
client           5608 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x000f0023);
client           5609 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffac0016);
client           5610 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x0093ff31);
client           5611 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xffdc0184);
client           5612 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xfea6ff09);
client           5613 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02fdfe70);
client           5614 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfd5104ba);
client           5615 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0xff15faac);
client           5616 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x06270103);
client           5617 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7780688);
client           5618 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x044df479);
client           5619 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x05430883);
client           5620 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf2a00231);
client           5621 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0cbef2b2);
client           5622 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfdc40fe3);
client           5623 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf4f2f8f5);
client           5624 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5628 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF01, 0xffff0001);
client           5629 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF23, 0x0006ffef);
client           5630 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF45, 0x00020031);
client           5631 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF67, 0xffbaffe8);
client           5632 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF89, 0x00adff66);
client           5633 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1011, 0xff790198);
client           5634 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1213, 0xff26fe6e);
client           5635 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1415, 0x02e5ff55);
client           5636 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1617, 0xfc99044a);
client           5637 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF1819, 0x005bfa09);
client           5638 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2021, 0x0545027f);
client           5639 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2223, 0xf7230541);
client           5640 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2425, 0x05b8f490);
client           5641 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2627, 0x03d20997);
client           5642 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF2829, 0xf31300eb);
client           5643 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3031, 0x0d55f341);
client           5644 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3233, 0xfcf6100e);
client           5645 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF3435, 0xf544f8c3);
client           5646 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, DIF_BPF_COEFF36, 0x110d0000);
client           5651 drivers/media/i2c/cx25840/cx25840-core.c static void cx23888_std_setup(struct i2c_client *client)
client           5653 drivers/media/i2c/cx25840/cx25840-core.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client           5657 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x478, 0x6628021F);
client           5658 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x400, 0x0);
client           5659 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x4b4, 0x20524030);
client           5660 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write4(client, 0x47c, 0x010a8263);
client           5663 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_dbg(1, cx25840_debug, client, "%s() Selecting NTSC",
client           5667 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x428, 0x1e1e601a);
client           5668 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x424, 0x5b2d007a);
client           5671 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x304, 0x6503bc0c);
client           5672 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x308, 0xbd038c85);
client           5673 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x30c, 0x1db4640a);
client           5674 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x310, 0x00008800);
client           5675 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x314, 0x44400400);
client           5676 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x32c, 0x0c800800);
client           5677 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x330, 0x27000100);
client           5678 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x334, 0x1f296e1f);
client           5679 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x338, 0x009f50c1);
client           5680 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x340, 0x1befbf06);
client           5681 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x344, 0x000035e8);
client           5687 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_dbg(1, cx25840_debug, client, "%s() Selecting PAL-BG",
client           5691 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x428, 0x28244024);
client           5692 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x424, 0x5d2d0084);
client           5695 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x304, 0x6503bc0c);
client           5696 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x308, 0xbd038c85);
client           5697 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x30c, 0x1db4640a);
client           5698 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x310, 0x00008800);
client           5699 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x314, 0x44400600);
client           5700 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x32c, 0x0c800800);
client           5701 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x330, 0x27000100);
client           5702 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x334, 0x213530ec);
client           5703 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x338, 0x00a65ba8);
client           5704 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x340, 0x1befbf06);
client           5705 drivers/media/i2c/cx25840/cx25840-core.c 		cx25840_write4(client, 0x344, 0x000035e8);
client           5711 drivers/media/i2c/cx25840/cx25840-core.c 	cx23885_dif_setup(client, ifHz);
client           5716 drivers/media/i2c/cx25840/cx25840-core.c 	set_input(client, state->vid_input, state->aud_input);
client           5784 drivers/media/i2c/cx25840/cx25840-core.c static u32 get_cx2388x_ident(struct i2c_client *client)
client           5789 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x000, 0);
client           5799 drivers/media/i2c/cx25840/cx25840-core.c 	if (cx25840_read4(client, 0x204) & 0xffff) {
client           5804 drivers/media/i2c/cx25840/cx25840-core.c 		ret = cx25840_read4(client, 0x300);
client           5815 drivers/media/i2c/cx25840/cx25840-core.c 	} else if (cx25840_read4(client, 0x300) & 0x0fffffff) {
client           5819 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_err(client, "Unable to detect h/w, assuming cx23887\n");
client           5824 drivers/media/i2c/cx25840/cx25840-core.c 	cx25840_write(client, 0x000, 2);
client           5828 drivers/media/i2c/cx25840/cx25840-core.c static int cx25840_probe(struct i2c_client *client,
client           5841 drivers/media/i2c/cx25840/cx25840-core.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client           5844 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_dbg(1, cx25840_debug, client,
client           5846 drivers/media/i2c/cx25840/cx25840-core.c 		client->addr << 1);
client           5848 drivers/media/i2c/cx25840/cx25840-core.c 	device_id = cx25840_read(client, 0x101) << 8;
client           5849 drivers/media/i2c/cx25840/cx25840-core.c 	device_id |= cx25840_read(client, 0x100);
client           5850 drivers/media/i2c/cx25840/cx25840-core.c 	v4l_dbg(1, cx25840_debug, client, "device_id = 0x%04x\n", device_id);
client           5861 drivers/media/i2c/cx25840/cx25840-core.c 		id = get_cx2388x_ident(client);
client           5866 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_err(client,
client           5868 drivers/media/i2c/cx25840/cx25840-core.c 			client->addr << 1, client->adapter->name);
client           5869 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_err(client,
client           5873 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_dbg(1, cx25840_debug, client, "cx25840 not found\n");
client           5877 drivers/media/i2c/cx25840/cx25840-core.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client           5882 drivers/media/i2c/cx25840/cx25840-core.c 	v4l2_i2c_subdev_init(sd, client, &cx25840_ops);
client           5907 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "failed to initialize media entity!\n");
client           5914 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "cx23885 A/V decoder found @ 0x%x (%s)\n",
client           5915 drivers/media/i2c/cx25840/cx25840-core.c 			 client->addr << 1, client->adapter->name);
client           5918 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "cx23887 A/V decoder found @ 0x%x (%s)\n",
client           5919 drivers/media/i2c/cx25840/cx25840-core.c 			 client->addr << 1, client->adapter->name);
client           5922 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "cx23888 A/V decoder found @ 0x%x (%s)\n",
client           5923 drivers/media/i2c/cx25840/cx25840-core.c 			 client->addr << 1, client->adapter->name);
client           5926 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "cx%d A/V decoder found @ 0x%x (%s)\n",
client           5927 drivers/media/i2c/cx25840/cx25840-core.c 			 device_id, client->addr << 1, client->adapter->name);
client           5937 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "cx25%3x-2%x found @ 0x%x (%s)\n",
client           5941 drivers/media/i2c/cx25840/cx25840-core.c 			 client->addr << 1, client->adapter->name);
client           5946 drivers/media/i2c/cx25840/cx25840-core.c 		v4l_info(client, "cx25%3x-%x found @ 0x%x (%s)\n",
client           5948 drivers/media/i2c/cx25840/cx25840-core.c 			 client->addr << 1, client->adapter->name);
client           5952 drivers/media/i2c/cx25840/cx25840-core.c 	state->c = client;
client           5972 drivers/media/i2c/cx25840/cx25840-core.c 		default_volume = cx25840_read(client, 0x8d4);
client           5981 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x8d4, 228);
client           5985 drivers/media/i2c/cx25840/cx25840-core.c 			cx25840_write(client, 0x8d4, 20);
client           6019 drivers/media/i2c/cx25840/cx25840-core.c 	if (client->dev.platform_data) {
client           6020 drivers/media/i2c/cx25840/cx25840-core.c 		struct cx25840_platform_data *pdata = client->dev.platform_data;
client           6029 drivers/media/i2c/cx25840/cx25840-core.c static int cx25840_remove(struct i2c_client *client)
client           6031 drivers/media/i2c/cx25840/cx25840-core.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            155 drivers/media/i2c/cx25840/cx25840-core.h int cx25840_write(struct i2c_client *client, u16 addr, u8 value);
client            156 drivers/media/i2c/cx25840/cx25840-core.h int cx25840_write4(struct i2c_client *client, u16 addr, u32 value);
client            157 drivers/media/i2c/cx25840/cx25840-core.h u8 cx25840_read(struct i2c_client *client, u16 addr);
client            158 drivers/media/i2c/cx25840/cx25840-core.h u32 cx25840_read4(struct i2c_client *client, u16 addr);
client            159 drivers/media/i2c/cx25840/cx25840-core.h int cx25840_and_or(struct i2c_client *client, u16 addr, unsigned int mask,
client            161 drivers/media/i2c/cx25840/cx25840-core.h int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask,
client            163 drivers/media/i2c/cx25840/cx25840-core.h void cx25840_std_setup(struct i2c_client *client);
client            167 drivers/media/i2c/cx25840/cx25840-core.h int cx25840_loadfw(struct i2c_client *client);
client            171 drivers/media/i2c/cx25840/cx25840-core.h void cx25840_audio_set_path(struct i2c_client *client);
client             32 drivers/media/i2c/cx25840/cx25840-firmware.c static void start_fw_load(struct i2c_client *client)
client             35 drivers/media/i2c/cx25840/cx25840-firmware.c 	cx25840_write(client, 0x800, 0x00);
client             36 drivers/media/i2c/cx25840/cx25840-firmware.c 	cx25840_write(client, 0x801, 0x00);
client             38 drivers/media/i2c/cx25840/cx25840-firmware.c 	cx25840_write(client, 0x803, 0x0b);
client             40 drivers/media/i2c/cx25840/cx25840-firmware.c 	cx25840_write(client, 0x000, 0x20);
client             43 drivers/media/i2c/cx25840/cx25840-firmware.c static void end_fw_load(struct i2c_client *client)
client             46 drivers/media/i2c/cx25840/cx25840-firmware.c 	cx25840_write(client, 0x000, 0x00);
client             48 drivers/media/i2c/cx25840/cx25840-firmware.c 	cx25840_write(client, 0x803, 0x03);
client             55 drivers/media/i2c/cx25840/cx25840-firmware.c static const char *get_fw_name(struct i2c_client *client)
client             57 drivers/media/i2c/cx25840/cx25840-firmware.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client             68 drivers/media/i2c/cx25840/cx25840-firmware.c static int check_fw_load(struct i2c_client *client, int size)
client             71 drivers/media/i2c/cx25840/cx25840-firmware.c 	int s = cx25840_read(client, 0x801) << 8;
client             72 drivers/media/i2c/cx25840/cx25840-firmware.c 	s |= cx25840_read(client, 0x800);
client             75 drivers/media/i2c/cx25840/cx25840-firmware.c 		v4l_err(client, "firmware %s load failed\n",
client             76 drivers/media/i2c/cx25840/cx25840-firmware.c 				get_fw_name(client));
client             80 drivers/media/i2c/cx25840/cx25840-firmware.c 	v4l_info(client, "loaded %s firmware (%d bytes)\n",
client             81 drivers/media/i2c/cx25840/cx25840-firmware.c 			get_fw_name(client), size);
client             85 drivers/media/i2c/cx25840/cx25840-firmware.c static int fw_write(struct i2c_client *client, const u8 *data, int size)
client             87 drivers/media/i2c/cx25840/cx25840-firmware.c 	if (i2c_master_send(client, data, size) < size) {
client             88 drivers/media/i2c/cx25840/cx25840-firmware.c 		v4l_err(client, "firmware load i2c failure\n");
client             95 drivers/media/i2c/cx25840/cx25840-firmware.c int cx25840_loadfw(struct i2c_client *client)
client             97 drivers/media/i2c/cx25840/cx25840-firmware.c 	struct cx25840_state *state = to_state(i2c_get_clientdata(client));
client            101 drivers/media/i2c/cx25840/cx25840-firmware.c 	const char *fwname = get_fw_name(client);
client            108 drivers/media/i2c/cx25840/cx25840-firmware.c 		gpio_oe = cx25840_read(client, 0x160);
client            109 drivers/media/i2c/cx25840/cx25840-firmware.c 		gpio_da = cx25840_read(client, 0x164);
client            116 drivers/media/i2c/cx25840/cx25840-firmware.c 	if (request_firmware(&fw, fwname, FWDEV(client)) != 0) {
client            117 drivers/media/i2c/cx25840/cx25840-firmware.c 		v4l_err(client, "unable to open firmware %s\n", fwname);
client            121 drivers/media/i2c/cx25840/cx25840-firmware.c 	start_fw_load(client);
client            133 drivers/media/i2c/cx25840/cx25840-firmware.c 		retval = fw_write(client, buffer, len + 2);
client            144 drivers/media/i2c/cx25840/cx25840-firmware.c 	end_fw_load(client);
client            151 drivers/media/i2c/cx25840/cx25840-firmware.c 		cx25840_write(client, 0x160, gpio_oe);
client            152 drivers/media/i2c/cx25840/cx25840-firmware.c 		cx25840_write(client, 0x164, gpio_da);
client            155 drivers/media/i2c/cx25840/cx25840-firmware.c 	return check_fw_load(client, size);
client             74 drivers/media/i2c/cx25840/cx25840-vbi.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             90 drivers/media/i2c/cx25840/cx25840-vbi.c 	if ((cx25840_read(client, 0x404) & 0x10) == 0)
client             95 drivers/media/i2c/cx25840/cx25840-vbi.c 			u8 v = cx25840_read(client,
client            105 drivers/media/i2c/cx25840/cx25840-vbi.c 			u8 v = cx25840_read(client,
client            119 drivers/media/i2c/cx25840/cx25840-vbi.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            125 drivers/media/i2c/cx25840/cx25840-vbi.c 	cx25840_std_setup(client);
client            129 drivers/media/i2c/cx25840/cx25840-vbi.c 		cx25840_write(client, 0x54f, vbi_offset);
client            131 drivers/media/i2c/cx25840/cx25840-vbi.c 		cx25840_write(client, 0x47f, vbi_offset);
client            133 drivers/media/i2c/cx25840/cx25840-vbi.c 	cx25840_write(client, 0x404, 0x2e);
client            139 drivers/media/i2c/cx25840/cx25840-vbi.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            150 drivers/media/i2c/cx25840/cx25840-vbi.c 	cx25840_std_setup(client);
client            154 drivers/media/i2c/cx25840/cx25840-vbi.c 	cx25840_write(client, 0x404, 0x32);	/* Ancillary data */
client            155 drivers/media/i2c/cx25840/cx25840-vbi.c 	cx25840_write(client, 0x406, 0x13);
client            157 drivers/media/i2c/cx25840/cx25840-vbi.c 		cx25840_write(client, 0x54f, vbi_offset);
client            159 drivers/media/i2c/cx25840/cx25840-vbi.c 		cx25840_write(client, 0x47f, vbi_offset);
client            197 drivers/media/i2c/cx25840/cx25840-vbi.c 			cx25840_write(client, i, lcr[6 + x]);
client            201 drivers/media/i2c/cx25840/cx25840-vbi.c 			cx25840_write(client, i, lcr[9 + x]);
client            204 drivers/media/i2c/cx25840/cx25840-vbi.c 			cx25840_write(client, i, 0);
client            207 drivers/media/i2c/cx25840/cx25840-vbi.c 	cx25840_write(client, state->vbi_regs_offset + 0x43c, 0x16);
client            210 drivers/media/i2c/cx25840/cx25840-vbi.c 		cx25840_write(client, 0x428, is_pal ? 0x2a : 0x22);
client            212 drivers/media/i2c/cx25840/cx25840-vbi.c 		cx25840_write(client, 0x474, is_pal ? 0x2a : 0x22);
client             50 drivers/media/i2c/dw9714.c static int dw9714_i2c_write(struct i2c_client *client, u16 data)
client             55 drivers/media/i2c/dw9714.c 	ret = i2c_master_send(client, (const char *)&val, sizeof(val));
client             57 drivers/media/i2c/dw9714.c 		dev_err(&client->dev, "I2C write fail\n");
client             65 drivers/media/i2c/dw9714.c 	struct i2c_client *client = v4l2_get_subdevdata(&dw9714_dev->sd);
client             69 drivers/media/i2c/dw9714.c 	return dw9714_i2c_write(client, DW9714_VAL(val, DW9714_DEFAULT_S));
client            137 drivers/media/i2c/dw9714.c static int dw9714_probe(struct i2c_client *client)
client            142 drivers/media/i2c/dw9714.c 	dw9714_dev = devm_kzalloc(&client->dev, sizeof(*dw9714_dev),
client            147 drivers/media/i2c/dw9714.c 	v4l2_i2c_subdev_init(&dw9714_dev->sd, client, &dw9714_ops);
client            165 drivers/media/i2c/dw9714.c 	pm_runtime_set_active(&client->dev);
client            166 drivers/media/i2c/dw9714.c 	pm_runtime_enable(&client->dev);
client            167 drivers/media/i2c/dw9714.c 	pm_runtime_idle(&client->dev);
client            178 drivers/media/i2c/dw9714.c static int dw9714_remove(struct i2c_client *client)
client            180 drivers/media/i2c/dw9714.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            183 drivers/media/i2c/dw9714.c 	pm_runtime_disable(&client->dev);
client            196 drivers/media/i2c/dw9714.c 	struct i2c_client *client = to_i2c_client(dev);
client            197 drivers/media/i2c/dw9714.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            203 drivers/media/i2c/dw9714.c 		ret = dw9714_i2c_write(client,
client            220 drivers/media/i2c/dw9714.c 	struct i2c_client *client = to_i2c_client(dev);
client            221 drivers/media/i2c/dw9714.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            228 drivers/media/i2c/dw9714.c 		ret = dw9714_i2c_write(client,
client             53 drivers/media/i2c/dw9807-vcm.c static int dw9807_i2c_check(struct i2c_client *client)
client             59 drivers/media/i2c/dw9807-vcm.c 	ret = i2c_master_send(client, &status_addr, sizeof(status_addr));
client             61 drivers/media/i2c/dw9807-vcm.c 		dev_err(&client->dev, "I2C write STATUS address fail ret = %d\n",
client             66 drivers/media/i2c/dw9807-vcm.c 	ret = i2c_master_recv(client, &status_result, sizeof(status_result));
client             68 drivers/media/i2c/dw9807-vcm.c 		dev_err(&client->dev, "I2C read STATUS value fail ret = %d\n",
client             76 drivers/media/i2c/dw9807-vcm.c static int dw9807_set_dac(struct i2c_client *client, u16 data)
client             88 drivers/media/i2c/dw9807-vcm.c 	ret = readx_poll_timeout(dw9807_i2c_check, client, val, val <= 0,
client             93 drivers/media/i2c/dw9807-vcm.c 			dev_warn(&client->dev,
client            101 drivers/media/i2c/dw9807-vcm.c 	ret = i2c_master_send(client, tx_data, sizeof(tx_data));
client            103 drivers/media/i2c/dw9807-vcm.c 		dev_err(&client->dev,
client            118 drivers/media/i2c/dw9807-vcm.c 		struct i2c_client *client = v4l2_get_subdevdata(&dev_vcm->sd);
client            121 drivers/media/i2c/dw9807-vcm.c 		return dw9807_set_dac(client, ctrl->val);
client            169 drivers/media/i2c/dw9807-vcm.c 	struct i2c_client *client = v4l2_get_subdevdata(&dev_vcm->sd);
client            178 drivers/media/i2c/dw9807-vcm.c 		dev_err(&client->dev, "%s fail error: 0x%x\n",
client            186 drivers/media/i2c/dw9807-vcm.c static int dw9807_probe(struct i2c_client *client)
client            191 drivers/media/i2c/dw9807-vcm.c 	dw9807_dev = devm_kzalloc(&client->dev, sizeof(*dw9807_dev),
client            196 drivers/media/i2c/dw9807-vcm.c 	v4l2_i2c_subdev_init(&dw9807_dev->sd, client, &dw9807_ops);
client            214 drivers/media/i2c/dw9807-vcm.c 	pm_runtime_set_active(&client->dev);
client            215 drivers/media/i2c/dw9807-vcm.c 	pm_runtime_enable(&client->dev);
client            216 drivers/media/i2c/dw9807-vcm.c 	pm_runtime_idle(&client->dev);
client            227 drivers/media/i2c/dw9807-vcm.c static int dw9807_remove(struct i2c_client *client)
client            229 drivers/media/i2c/dw9807-vcm.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            232 drivers/media/i2c/dw9807-vcm.c 	pm_runtime_disable(&client->dev);
client            246 drivers/media/i2c/dw9807-vcm.c 	struct i2c_client *client = to_i2c_client(dev);
client            247 drivers/media/i2c/dw9807-vcm.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            254 drivers/media/i2c/dw9807-vcm.c 		ret = dw9807_set_dac(client, val);
client            261 drivers/media/i2c/dw9807-vcm.c 	ret = i2c_master_send(client, tx_data, sizeof(tx_data));
client            263 drivers/media/i2c/dw9807-vcm.c 		dev_err(&client->dev, "I2C write CTL fail ret = %d\n", ret);
client            278 drivers/media/i2c/dw9807-vcm.c 	struct i2c_client *client = to_i2c_client(dev);
client            279 drivers/media/i2c/dw9807-vcm.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            285 drivers/media/i2c/dw9807-vcm.c 	ret = i2c_master_send(client, tx_data, sizeof(tx_data));
client            287 drivers/media/i2c/dw9807-vcm.c 		dev_err(&client->dev, "I2C write CTL fail ret = %d\n", ret);
client            294 drivers/media/i2c/dw9807-vcm.c 		ret = dw9807_set_dac(client, val);
client            141 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_i2c_read_reg(struct i2c_client *client, u16 data_length,
client            148 drivers/media/i2c/et8ek8/et8ek8_driver.c 	if (!client->adapter)
client            153 drivers/media/i2c/et8ek8/et8ek8_driver.c 	msg.addr = client->addr;
client            161 drivers/media/i2c/et8ek8/et8ek8_driver.c 	r = i2c_transfer(client->adapter, &msg, 1);
client            167 drivers/media/i2c/et8ek8/et8ek8_driver.c 	r = i2c_transfer(client->adapter, &msg, 1);
client            181 drivers/media/i2c/et8ek8/et8ek8_driver.c 	dev_err(&client->dev, "read from offset 0x%x error %d\n", reg, r);
client            186 drivers/media/i2c/et8ek8/et8ek8_driver.c static void et8ek8_i2c_create_msg(struct i2c_client *client, u16 len, u16 reg,
client            190 drivers/media/i2c/et8ek8/et8ek8_driver.c 	msg->addr = client->addr;
client            218 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_i2c_buffered_write_regs(struct i2c_client *client,
client            236 drivers/media/i2c/et8ek8/et8ek8_driver.c 		et8ek8_i2c_create_msg(client, data_length, reg,
client            245 drivers/media/i2c/et8ek8/et8ek8_driver.c 		rval = i2c_transfer(client->adapter, msg, wcnt);
client            253 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = i2c_transfer(client->adapter, msg, wcnt);
client            264 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_i2c_write_regs(struct i2c_client *client,
client            270 drivers/media/i2c/et8ek8/et8ek8_driver.c 	if (!client->adapter)
client            304 drivers/media/i2c/et8ek8/et8ek8_driver.c 		r = et8ek8_i2c_buffered_write_regs(client, regs, cnt);
client            308 drivers/media/i2c/et8ek8/et8ek8_driver.c 			dev_err(&client->dev, "i2c transfer error!\n");
client            335 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_i2c_write_reg(struct i2c_client *client, u16 data_length,
client            342 drivers/media/i2c/et8ek8/et8ek8_driver.c 	if (!client->adapter)
client            347 drivers/media/i2c/et8ek8/et8ek8_driver.c 	et8ek8_i2c_create_msg(client, data_length, reg, val, &msg, data);
client            349 drivers/media/i2c/et8ek8/et8ek8_driver.c 	r = i2c_transfer(client->adapter, &msg, 1);
client            351 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev,
client            375 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_i2c_reglist_find_write(struct i2c_client *client,
client            385 drivers/media/i2c/et8ek8/et8ek8_driver.c 	return et8ek8_i2c_write_regs(client, reglist->regs);
client            509 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_reglist_import(struct i2c_client *client,
client            514 drivers/media/i2c/et8ek8/et8ek8_driver.c 	dev_info(&client->dev, "meta_reglist version %s\n", meta->version);
client            533 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_dbg(&client->dev,
client            556 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
client            563 drivers/media/i2c/et8ek8/et8ek8_driver.c 	r = et8ek8_i2c_write_reg(client, ET8EK8_REG_8BIT,
client            567 drivers/media/i2c/et8ek8/et8ek8_driver.c 	r = et8ek8_i2c_write_reg(client, ET8EK8_REG_8BIT,
client            572 drivers/media/i2c/et8ek8/et8ek8_driver.c 	r = et8ek8_i2c_write_reg(client, ET8EK8_REG_8BIT,
client            576 drivers/media/i2c/et8ek8/et8ek8_driver.c 	r = et8ek8_i2c_write_reg(client, ET8EK8_REG_8BIT,
client            584 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
client            610 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_i2c_write_reg(client, ET8EK8_REG_8BIT, 0x111B,
client            615 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_i2c_write_reg(client, ET8EK8_REG_8BIT, 0x1121,
client            620 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_i2c_write_reg(client, ET8EK8_REG_8BIT, 0x1124,
client            625 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_i2c_write_reg(client, ET8EK8_REG_8BIT, 0x112C, din_sw);
client            629 drivers/media/i2c/et8ek8/et8ek8_driver.c 	return et8ek8_i2c_write_reg(client, ET8EK8_REG_8BIT, 0x1420, r1420);
client            647 drivers/media/i2c/et8ek8/et8ek8_driver.c 		struct i2c_client *client =
client            650 drivers/media/i2c/et8ek8/et8ek8_driver.c 		return et8ek8_i2c_write_reg(client, ET8EK8_REG_16BIT, 0x1243,
client            749 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
client            752 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_i2c_write_regs(client, sensor->current_reglist->regs);
client            767 drivers/media/i2c/et8ek8/et8ek8_driver.c 	dev_err(&client->dev, "sensor configuration failed\n");
client            774 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
client            776 drivers/media/i2c/et8ek8/et8ek8_driver.c 	return et8ek8_i2c_write_reg(client, ET8EK8_REG_8BIT, 0x1252, 0xb0);
client            781 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
client            783 drivers/media/i2c/et8ek8/et8ek8_driver.c 	return et8ek8_i2c_write_reg(client, ET8EK8_REG_8BIT, 0x1252, 0x30);
client            818 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
client            824 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev, "failed to enable vana regulator\n");
client            835 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev, "unable to set extclk clock freq to %u\n",
client            841 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev, "failed to enable extclk\n");
client            854 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_i2c_reglist_find_write(client, &meta_reglist,
client            860 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_i2c_read_reg(client, ET8EK8_REG_8BIT, 0x1263, &val);
client            868 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_i2c_write_reg(client, ET8EK8_REG_8BIT, 0x1263, val);
client           1082 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
client           1096 drivers/media/i2c/et8ek8/et8ek8_driver.c 		rval = et8ek8_i2c_write_reg(client, ET8EK8_REG_8BIT, 0x0001,
client           1105 drivers/media/i2c/et8ek8/et8ek8_driver.c 			rval = et8ek8_i2c_read_reg(client, ET8EK8_REG_8BIT,
client           1120 drivers/media/i2c/et8ek8/et8ek8_driver.c 		msg.addr = client->addr;
client           1128 drivers/media/i2c/et8ek8/et8ek8_driver.c 		rval = i2c_transfer(client->adapter, &msg, 1);
client           1133 drivers/media/i2c/et8ek8/et8ek8_driver.c 		msg.addr = client->addr;
client           1139 drivers/media/i2c/et8ek8/et8ek8_driver.c 		rval = i2c_transfer(client->adapter, &msg, 1);
client           1157 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
client           1162 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev, "could not power on\n");
client           1166 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_i2c_read_reg(client, ET8EK8_REG_8BIT,
client           1169 drivers/media/i2c/et8ek8/et8ek8_driver.c 		rval = et8ek8_i2c_read_reg(client, ET8EK8_REG_8BIT,
client           1172 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev, "no et8ek8 sensor detected\n");
client           1178 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_info(&client->dev,
client           1182 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_reglist_import(client, &meta_reglist);
client           1184 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev,
client           1193 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev,
client           1202 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_i2c_reglist_find_write(client, &meta_reglist,
client           1205 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev,
client           1215 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_warn(&client->dev,
client           1261 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
client           1264 drivers/media/i2c/et8ek8/et8ek8_driver.c 	dev_dbg(&client->dev, "registered!");
client           1266 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = device_create_file(&client->dev, &dev_attr_priv_mem);
client           1268 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev, "could not register sysfs entry\n");
client           1278 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev, "controls initialization failed\n");
client           1287 drivers/media/i2c/et8ek8/et8ek8_driver.c 	device_remove_file(&client->dev, &dev_attr_priv_mem);
client           1377 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = to_i2c_client(dev);
client           1378 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client           1389 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = to_i2c_client(dev);
client           1390 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client           1399 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_probe(struct i2c_client *client)
client           1402 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct device *dev = &client->dev;
client           1405 drivers/media/i2c/et8ek8/et8ek8_driver.c 	sensor = devm_kzalloc(&client->dev, sizeof(*sensor), GFP_KERNEL);
client           1411 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_dbg(&client->dev, "could not request reset gpio\n");
client           1417 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev, "could not get regulator for vana\n");
client           1423 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev, "could not get clock\n");
client           1436 drivers/media/i2c/et8ek8/et8ek8_driver.c 	v4l2_i2c_subdev_init(&sensor->subdev, client, &et8ek8_ops);
client           1444 drivers/media/i2c/et8ek8/et8ek8_driver.c 		dev_err(&client->dev, "media entity init failed!\n");
client           1463 drivers/media/i2c/et8ek8/et8ek8_driver.c static int __exit et8ek8_remove(struct i2c_client *client)
client           1465 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client           1475 drivers/media/i2c/et8ek8/et8ek8_driver.c 	device_remove_file(&client->dev, &dev_attr_priv_mem);
client            433 drivers/media/i2c/imx214.c 	struct i2c_client *client = to_i2c_client(dev);
client            434 drivers/media/i2c/imx214.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            461 drivers/media/i2c/imx214.c 	struct i2c_client *client = to_i2c_client(dev);
client            462 drivers/media/i2c/imx214.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            913 drivers/media/i2c/imx214.c 	struct i2c_client *client = to_i2c_client(dev);
client            914 drivers/media/i2c/imx214.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            925 drivers/media/i2c/imx214.c 	struct i2c_client *client = to_i2c_client(dev);
client            926 drivers/media/i2c/imx214.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            944 drivers/media/i2c/imx214.c static int imx214_probe(struct i2c_client *client)
client            946 drivers/media/i2c/imx214.c 	struct device *dev = &client->dev;
client            987 drivers/media/i2c/imx214.c 	imx214->regmap = devm_regmap_init_i2c(client, &sensor_regmap_config);
client            993 drivers/media/i2c/imx214.c 	v4l2_i2c_subdev_init(&imx214->sd, client, &imx214_subdev_ops);
client           1034 drivers/media/i2c/imx214.c 		dev_err(&client->dev, "%s control init failed (%d)\n",
client           1045 drivers/media/i2c/imx214.c 	imx214->sd.dev = &client->dev;
client           1074 drivers/media/i2c/imx214.c static int imx214_remove(struct i2c_client *client)
client           1076 drivers/media/i2c/imx214.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1083 drivers/media/i2c/imx214.c 	pm_runtime_disable(&client->dev);
client           1084 drivers/media/i2c/imx214.c 	pm_runtime_set_suspended(&client->dev);
client            623 drivers/media/i2c/imx258.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx258->sd);
client            633 drivers/media/i2c/imx258.c 	msgs[0].addr = client->addr;
client            639 drivers/media/i2c/imx258.c 	msgs[1].addr = client->addr;
client            644 drivers/media/i2c/imx258.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            656 drivers/media/i2c/imx258.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx258->sd);
client            664 drivers/media/i2c/imx258.c 	if (i2c_master_send(client, buf, len + 2) != len + 2)
client            674 drivers/media/i2c/imx258.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx258->sd);
client            683 drivers/media/i2c/imx258.c 				&client->dev,
client            740 drivers/media/i2c/imx258.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx258->sd);
client            747 drivers/media/i2c/imx258.c 	if (pm_runtime_get_if_in_use(&client->dev) == 0)
client            775 drivers/media/i2c/imx258.c 		dev_info(&client->dev,
client            782 drivers/media/i2c/imx258.c 	pm_runtime_put(&client->dev);
client            915 drivers/media/i2c/imx258.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx258->sd);
client            924 drivers/media/i2c/imx258.c 		dev_err(&client->dev, "%s failed to set plls\n", __func__);
client            932 drivers/media/i2c/imx258.c 		dev_err(&client->dev, "%s failed to set mode\n", __func__);
client            940 drivers/media/i2c/imx258.c 		dev_err(&client->dev, "%s failed to set orientation\n",
client            959 drivers/media/i2c/imx258.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx258->sd);
client            966 drivers/media/i2c/imx258.c 		dev_err(&client->dev, "%s failed to set stream\n", __func__);
client            978 drivers/media/i2c/imx258.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            988 drivers/media/i2c/imx258.c 		ret = pm_runtime_get_sync(&client->dev);
client            990 drivers/media/i2c/imx258.c 			pm_runtime_put_noidle(&client->dev);
client           1003 drivers/media/i2c/imx258.c 		pm_runtime_put(&client->dev);
client           1012 drivers/media/i2c/imx258.c 	pm_runtime_put(&client->dev);
client           1021 drivers/media/i2c/imx258.c 	struct i2c_client *client = to_i2c_client(dev);
client           1022 drivers/media/i2c/imx258.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1033 drivers/media/i2c/imx258.c 	struct i2c_client *client = to_i2c_client(dev);
client           1034 drivers/media/i2c/imx258.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1055 drivers/media/i2c/imx258.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx258->sd);
client           1062 drivers/media/i2c/imx258.c 		dev_err(&client->dev, "failed to read chip id %x\n",
client           1068 drivers/media/i2c/imx258.c 		dev_err(&client->dev, "chip id mismatch: %x!=%x\n",
client           1099 drivers/media/i2c/imx258.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx258->sd);
client           1176 drivers/media/i2c/imx258.c 		dev_err(&client->dev, "%s control init failed (%d)\n",
client           1198 drivers/media/i2c/imx258.c static int imx258_probe(struct i2c_client *client)
client           1204 drivers/media/i2c/imx258.c 	device_property_read_u32(&client->dev, "clock-frequency", &val);
client           1212 drivers/media/i2c/imx258.c 	ret = device_property_read_u32(&client->dev, "rotation", &val);
client           1216 drivers/media/i2c/imx258.c 	imx258 = devm_kzalloc(&client->dev, sizeof(*imx258), GFP_KERNEL);
client           1221 drivers/media/i2c/imx258.c 	v4l2_i2c_subdev_init(&imx258->sd, client, &imx258_subdev_ops);
client           1251 drivers/media/i2c/imx258.c 	pm_runtime_set_active(&client->dev);
client           1252 drivers/media/i2c/imx258.c 	pm_runtime_enable(&client->dev);
client           1253 drivers/media/i2c/imx258.c 	pm_runtime_idle(&client->dev);
client           1266 drivers/media/i2c/imx258.c static int imx258_remove(struct i2c_client *client)
client           1268 drivers/media/i2c/imx258.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1275 drivers/media/i2c/imx258.c 	pm_runtime_disable(&client->dev);
client           1276 drivers/media/i2c/imx258.c 	pm_runtime_set_suspended(&client->dev);
client            510 drivers/media/i2c/imx274.c 	struct i2c_client *client;
client            626 drivers/media/i2c/imx274.c 		dev_err(&priv->client->dev,
client            630 drivers/media/i2c/imx274.c 		dev_dbg(&priv->client->dev,
client            658 drivers/media/i2c/imx274.c 		dev_err(&priv->client->dev,
client            663 drivers/media/i2c/imx274.c 		dev_dbg(&priv->client->dev,
client            690 drivers/media/i2c/imx274.c 		dev_err(&priv->client->dev,
client            694 drivers/media/i2c/imx274.c 		dev_dbg(&priv->client->dev,
client            784 drivers/media/i2c/imx274.c 	dev_dbg(&imx274->client->dev,
client            790 drivers/media/i2c/imx274.c 		dev_dbg(&imx274->client->dev,
client            796 drivers/media/i2c/imx274.c 		dev_dbg(&imx274->client->dev,
client            802 drivers/media/i2c/imx274.c 		dev_dbg(&imx274->client->dev,
client            808 drivers/media/i2c/imx274.c 		dev_dbg(&imx274->client->dev,
client            821 drivers/media/i2c/imx274.c 	struct device *dev = &imx274->client->dev;
client            879 drivers/media/i2c/imx274.c 	struct device *dev = &imx274->client->dev;
client           1210 drivers/media/i2c/imx274.c 	dev_dbg(&imx274->client->dev, "%s frame rate = %d / %d\n",
client           1247 drivers/media/i2c/imx274.c 			dev_err(&imx274->client->dev,
client           1255 drivers/media/i2c/imx274.c 		dev_dbg(&imx274->client->dev, "set frame interval to %uus\n",
client           1323 drivers/media/i2c/imx274.c 	dev_dbg(&imx274->client->dev, "%s : %s, mode index = %td\n", __func__,
client           1368 drivers/media/i2c/imx274.c 	dev_dbg(&imx274->client->dev, "%s : Done\n", __func__);
client           1373 drivers/media/i2c/imx274.c 	dev_err(&imx274->client->dev, "s_stream failed\n");
client           1405 drivers/media/i2c/imx274.c 	dev_err(&priv->client->dev, "%s error = %d\n", __func__, err);
client           1472 drivers/media/i2c/imx274.c 	dev_dbg(&priv->client->dev,
client           1493 drivers/media/i2c/imx274.c 	dev_dbg(&priv->client->dev,
client           1523 drivers/media/i2c/imx274.c 	dev_dbg(&priv->client->dev,
client           1530 drivers/media/i2c/imx274.c 	dev_err(&priv->client->dev, "%s error = %d\n", __func__, err);
client           1563 drivers/media/i2c/imx274.c 	dev_err(&priv->client->dev, "%s error = %d\n", __func__, err);
client           1583 drivers/media/i2c/imx274.c 	dev_dbg(&priv->client->dev,
client           1611 drivers/media/i2c/imx274.c 	dev_dbg(&priv->client->dev,
client           1616 drivers/media/i2c/imx274.c 	dev_err(&priv->client->dev, "%s error = %d\n", __func__, err);
client           1639 drivers/media/i2c/imx274.c 		dev_err(&priv->client->dev, "VFLIP control error\n");
client           1643 drivers/media/i2c/imx274.c 	dev_dbg(&priv->client->dev,
client           1673 drivers/media/i2c/imx274.c 		dev_dbg(&priv->client->dev,
client           1676 drivers/media/i2c/imx274.c 		dev_err(&priv->client->dev, "%s error = %d\n", __func__, err);
client           1695 drivers/media/i2c/imx274.c 	dev_dbg(&priv->client->dev, "%s : input length = %d\n",
client           1707 drivers/media/i2c/imx274.c 	dev_err(&priv->client->dev, "%s error = %d\n", __func__, err);
client           1729 drivers/media/i2c/imx274.c 	dev_dbg(&priv->client->dev, "%s: input frame interval = %d / %d",
client           1759 drivers/media/i2c/imx274.c 	dev_dbg(&priv->client->dev,
client           1766 drivers/media/i2c/imx274.c 	dev_dbg(&priv->client->dev,
client           1786 drivers/media/i2c/imx274.c 	dev_err(&priv->client->dev, "%s error = %d\n", __func__, err);
client           1824 drivers/media/i2c/imx274.c static int imx274_probe(struct i2c_client *client)
client           1831 drivers/media/i2c/imx274.c 	imx274 = devm_kzalloc(&client->dev, sizeof(*imx274), GFP_KERNEL);
client           1850 drivers/media/i2c/imx274.c 	imx274->regmap = devm_regmap_init_i2c(client, &imx274_regmap_config);
client           1852 drivers/media/i2c/imx274.c 		dev_err(&client->dev,
client           1859 drivers/media/i2c/imx274.c 	imx274->client = client;
client           1861 drivers/media/i2c/imx274.c 	v4l2_i2c_subdev_init(sd, client, &imx274_subdev_ops);
client           1869 drivers/media/i2c/imx274.c 		dev_err(&client->dev,
client           1875 drivers/media/i2c/imx274.c 	imx274->reset_gpio = devm_gpiod_get_optional(&client->dev, "reset",
client           1879 drivers/media/i2c/imx274.c 			dev_err(&client->dev, "Reset GPIO not setup in DT");
client           1890 drivers/media/i2c/imx274.c 		dev_err(&client->dev,
client           1931 drivers/media/i2c/imx274.c 		dev_err(&client->dev,
client           1939 drivers/media/i2c/imx274.c 		dev_err(&client->dev,
client           1948 drivers/media/i2c/imx274.c 		dev_err(&client->dev,
client           1954 drivers/media/i2c/imx274.c 	dev_info(&client->dev, "imx274 : imx274 probe success !\n");
client           1966 drivers/media/i2c/imx274.c static int imx274_remove(struct i2c_client *client)
client           1968 drivers/media/i2c/imx274.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1789 drivers/media/i2c/imx319.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx319->sd);
client           1800 drivers/media/i2c/imx319.c 	msgs[0].addr = client->addr;
client           1806 drivers/media/i2c/imx319.c 	msgs[1].addr = client->addr;
client           1811 drivers/media/i2c/imx319.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client           1823 drivers/media/i2c/imx319.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx319->sd);
client           1831 drivers/media/i2c/imx319.c 	if (i2c_master_send(client, buf, len + 2) != len + 2)
client           1841 drivers/media/i2c/imx319.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx319->sd);
client           1848 drivers/media/i2c/imx319.c 			dev_err_ratelimited(&client->dev,
client           1882 drivers/media/i2c/imx319.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx319->sd);
client           1901 drivers/media/i2c/imx319.c 	if (!pm_runtime_get_if_in_use(&client->dev))
client           1935 drivers/media/i2c/imx319.c 		dev_info(&client->dev, "ctrl(id:0x%x,val:0x%x) is not handled",
client           1940 drivers/media/i2c/imx319.c 	pm_runtime_put(&client->dev);
client           2090 drivers/media/i2c/imx319.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx319->sd);
client           2098 drivers/media/i2c/imx319.c 		dev_err(&client->dev, "failed to set global settings");
client           2106 drivers/media/i2c/imx319.c 		dev_err(&client->dev, "failed to set mode");
client           2134 drivers/media/i2c/imx319.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2144 drivers/media/i2c/imx319.c 		ret = pm_runtime_get_sync(&client->dev);
client           2146 drivers/media/i2c/imx319.c 			pm_runtime_put_noidle(&client->dev);
client           2159 drivers/media/i2c/imx319.c 		pm_runtime_put(&client->dev);
client           2173 drivers/media/i2c/imx319.c 	pm_runtime_put(&client->dev);
client           2182 drivers/media/i2c/imx319.c 	struct i2c_client *client = to_i2c_client(dev);
client           2183 drivers/media/i2c/imx319.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           2194 drivers/media/i2c/imx319.c 	struct i2c_client *client = to_i2c_client(dev);
client           2195 drivers/media/i2c/imx319.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           2216 drivers/media/i2c/imx319.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx319->sd);
client           2225 drivers/media/i2c/imx319.c 		dev_err(&client->dev, "chip id mismatch: %x!=%x",
client           2266 drivers/media/i2c/imx319.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx319->sd);
client           2342 drivers/media/i2c/imx319.c 		dev_err(&client->dev, "control init failed: %d", ret);
client           2424 drivers/media/i2c/imx319.c static int imx319_probe(struct i2c_client *client)
client           2430 drivers/media/i2c/imx319.c 	imx319 = devm_kzalloc(&client->dev, sizeof(*imx319), GFP_KERNEL);
client           2437 drivers/media/i2c/imx319.c 	v4l2_i2c_subdev_init(&imx319->sd, client, &imx319_subdev_ops);
client           2442 drivers/media/i2c/imx319.c 		dev_err(&client->dev, "failed to find sensor: %d", ret);
client           2446 drivers/media/i2c/imx319.c 	imx319->hwcfg = imx319_get_hwcfg(&client->dev);
client           2448 drivers/media/i2c/imx319.c 		dev_err(&client->dev, "failed to get hwcfg");
client           2456 drivers/media/i2c/imx319.c 			dev_dbg(&client->dev, "link freq index %d matched", i);
client           2462 drivers/media/i2c/imx319.c 		dev_err(&client->dev, "no link frequency supported");
client           2472 drivers/media/i2c/imx319.c 		dev_err(&client->dev, "failed to init controls: %d", ret);
client           2487 drivers/media/i2c/imx319.c 		dev_err(&client->dev, "failed to init entity pads: %d", ret);
client           2499 drivers/media/i2c/imx319.c 	pm_runtime_set_active(&client->dev);
client           2500 drivers/media/i2c/imx319.c 	pm_runtime_enable(&client->dev);
client           2501 drivers/media/i2c/imx319.c 	pm_runtime_idle(&client->dev);
client           2517 drivers/media/i2c/imx319.c static int imx319_remove(struct i2c_client *client)
client           2519 drivers/media/i2c/imx319.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           2526 drivers/media/i2c/imx319.c 	pm_runtime_disable(&client->dev);
client           2527 drivers/media/i2c/imx319.c 	pm_runtime_set_suspended(&client->dev);
client           1089 drivers/media/i2c/imx355.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx355->sd);
client           1100 drivers/media/i2c/imx355.c 	msgs[0].addr = client->addr;
client           1106 drivers/media/i2c/imx355.c 	msgs[1].addr = client->addr;
client           1111 drivers/media/i2c/imx355.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client           1123 drivers/media/i2c/imx355.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx355->sd);
client           1131 drivers/media/i2c/imx355.c 	if (i2c_master_send(client, buf, len + 2) != len + 2)
client           1141 drivers/media/i2c/imx355.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx355->sd);
client           1148 drivers/media/i2c/imx355.c 			dev_err_ratelimited(&client->dev,
client           1183 drivers/media/i2c/imx355.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx355->sd);
client           1202 drivers/media/i2c/imx355.c 	if (!pm_runtime_get_if_in_use(&client->dev))
client           1236 drivers/media/i2c/imx355.c 		dev_info(&client->dev, "ctrl(id:0x%x,val:0x%x) is not handled",
client           1241 drivers/media/i2c/imx355.c 	pm_runtime_put(&client->dev);
client           1391 drivers/media/i2c/imx355.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx355->sd);
client           1399 drivers/media/i2c/imx355.c 		dev_err(&client->dev, "failed to set global settings");
client           1407 drivers/media/i2c/imx355.c 		dev_err(&client->dev, "failed to set mode");
client           1435 drivers/media/i2c/imx355.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1445 drivers/media/i2c/imx355.c 		ret = pm_runtime_get_sync(&client->dev);
client           1447 drivers/media/i2c/imx355.c 			pm_runtime_put_noidle(&client->dev);
client           1460 drivers/media/i2c/imx355.c 		pm_runtime_put(&client->dev);
client           1474 drivers/media/i2c/imx355.c 	pm_runtime_put(&client->dev);
client           1483 drivers/media/i2c/imx355.c 	struct i2c_client *client = to_i2c_client(dev);
client           1484 drivers/media/i2c/imx355.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1495 drivers/media/i2c/imx355.c 	struct i2c_client *client = to_i2c_client(dev);
client           1496 drivers/media/i2c/imx355.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1517 drivers/media/i2c/imx355.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx355->sd);
client           1526 drivers/media/i2c/imx355.c 		dev_err(&client->dev, "chip id mismatch: %x!=%x",
client           1566 drivers/media/i2c/imx355.c 	struct i2c_client *client = v4l2_get_subdevdata(&imx355->sd);
client           1642 drivers/media/i2c/imx355.c 		dev_err(&client->dev, "control init failed: %d", ret);
client           1724 drivers/media/i2c/imx355.c static int imx355_probe(struct i2c_client *client)
client           1730 drivers/media/i2c/imx355.c 	imx355 = devm_kzalloc(&client->dev, sizeof(*imx355), GFP_KERNEL);
client           1737 drivers/media/i2c/imx355.c 	v4l2_i2c_subdev_init(&imx355->sd, client, &imx355_subdev_ops);
client           1742 drivers/media/i2c/imx355.c 		dev_err(&client->dev, "failed to find sensor: %d", ret);
client           1746 drivers/media/i2c/imx355.c 	imx355->hwcfg = imx355_get_hwcfg(&client->dev);
client           1748 drivers/media/i2c/imx355.c 		dev_err(&client->dev, "failed to get hwcfg");
client           1756 drivers/media/i2c/imx355.c 			dev_dbg(&client->dev, "link freq index %d matched", i);
client           1762 drivers/media/i2c/imx355.c 		dev_err(&client->dev, "no link frequency supported");
client           1772 drivers/media/i2c/imx355.c 		dev_err(&client->dev, "failed to init controls: %d", ret);
client           1787 drivers/media/i2c/imx355.c 		dev_err(&client->dev, "failed to init entity pads: %d", ret);
client           1799 drivers/media/i2c/imx355.c 	pm_runtime_set_active(&client->dev);
client           1800 drivers/media/i2c/imx355.c 	pm_runtime_enable(&client->dev);
client           1801 drivers/media/i2c/imx355.c 	pm_runtime_idle(&client->dev);
client           1817 drivers/media/i2c/imx355.c static int imx355_remove(struct i2c_client *client)
client           1819 drivers/media/i2c/imx355.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1826 drivers/media/i2c/imx355.c 	pm_runtime_disable(&client->dev);
client           1827 drivers/media/i2c/imx355.c 	pm_runtime_set_suspended(&client->dev);
client            723 drivers/media/i2c/ir-kbd-i2c.c static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            730 drivers/media/i2c/ir-kbd-i2c.c 	struct i2c_adapter *adap = client->adapter;
client            731 drivers/media/i2c/ir-kbd-i2c.c 	unsigned short addr = client->addr;
client            736 drivers/media/i2c/ir-kbd-i2c.c 		dev_err(&client->dev, "IR for HDPVR is known to cause problems during recording, use enable_hdpvr modparam to enable\n");
client            740 drivers/media/i2c/ir-kbd-i2c.c 	ir = devm_kzalloc(&client->dev, sizeof(*ir), GFP_KERNEL);
client            744 drivers/media/i2c/ir-kbd-i2c.c 	ir->c = client;
client            746 drivers/media/i2c/ir-kbd-i2c.c 	i2c_set_clientdata(client, ir);
client            799 drivers/media/i2c/ir-kbd-i2c.c 	if (client->dev.platform_data) {
client            801 drivers/media/i2c/ir-kbd-i2c.c 						client->dev.platform_data;
client            852 drivers/media/i2c/ir-kbd-i2c.c 		dev_warn(&client->dev, "Unsupported device at address 0x%02x\n",
client            861 drivers/media/i2c/ir-kbd-i2c.c 		 dev_name(&client->dev));
client            870 drivers/media/i2c/ir-kbd-i2c.c 	rc->dev.parent       = &client->dev;
client            888 drivers/media/i2c/ir-kbd-i2c.c 		ir->tx_c = i2c_new_dummy_device(client->adapter, 0x70);
client            890 drivers/media/i2c/ir-kbd-i2c.c 			dev_err(&client->dev, "failed to setup tx i2c address");
client            917 drivers/media/i2c/ir-kbd-i2c.c static int ir_remove(struct i2c_client *client)
client            919 drivers/media/i2c/ir-kbd-i2c.c 	struct IR_i2c *ir = i2c_get_clientdata(client);
client            304 drivers/media/i2c/ks0127.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            308 drivers/media/i2c/ks0127.c 			.addr = client->addr,
client            313 drivers/media/i2c/ks0127.c 			.addr = client->addr,
client            321 drivers/media/i2c/ks0127.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            331 drivers/media/i2c/ks0127.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            335 drivers/media/i2c/ks0127.c 	if (i2c_master_send(client, msg, sizeof(msg)) != sizeof(msg))
client            653 drivers/media/i2c/ks0127.c static int ks0127_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            658 drivers/media/i2c/ks0127.c 	v4l_info(client, "%s chip found @ 0x%x (%s)\n",
client            659 drivers/media/i2c/ks0127.c 		client->addr == (I2C_KS0127_ADDON >> 1) ? "addon" : "on-board",
client            660 drivers/media/i2c/ks0127.c 		client->addr << 1, client->adapter->name);
client            662 drivers/media/i2c/ks0127.c 	ks = devm_kzalloc(&client->dev, sizeof(*ks), GFP_KERNEL);
client            666 drivers/media/i2c/ks0127.c 	v4l2_i2c_subdev_init(sd, client, &ks0127_ops);
client            678 drivers/media/i2c/ks0127.c static int ks0127_remove(struct i2c_client *client)
client            680 drivers/media/i2c/ks0127.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            352 drivers/media/i2c/lm3560.c 	struct i2c_client *client = to_i2c_client(flash->dev);
client            355 drivers/media/i2c/lm3560.c 	v4l2_i2c_subdev_init(&flash->subdev_led[led_no], client, &lm3560_ops);
client            394 drivers/media/i2c/lm3560.c static int lm3560_probe(struct i2c_client *client,
client            398 drivers/media/i2c/lm3560.c 	struct lm3560_platform_data *pdata = dev_get_platdata(&client->dev);
client            401 drivers/media/i2c/lm3560.c 	flash = devm_kzalloc(&client->dev, sizeof(*flash), GFP_KERNEL);
client            405 drivers/media/i2c/lm3560.c 	flash->regmap = devm_regmap_init_i2c(client, &lm3560_regmap);
client            413 drivers/media/i2c/lm3560.c 		pdata = devm_kzalloc(&client->dev, sizeof(*pdata), GFP_KERNEL);
client            426 drivers/media/i2c/lm3560.c 	flash->dev = &client->dev;
client            441 drivers/media/i2c/lm3560.c 	i2c_set_clientdata(client, flash);
client            446 drivers/media/i2c/lm3560.c static int lm3560_remove(struct i2c_client *client)
client            448 drivers/media/i2c/lm3560.c 	struct lm3560_flash *flash = i2c_get_clientdata(client);
client            273 drivers/media/i2c/lm3646.c 	struct i2c_client *client = to_i2c_client(flash->dev);
client            276 drivers/media/i2c/lm3646.c 	v4l2_i2c_subdev_init(&flash->subdev_led, client, &lm3646_ops);
client            337 drivers/media/i2c/lm3646.c static int lm3646_probe(struct i2c_client *client,
client            341 drivers/media/i2c/lm3646.c 	struct lm3646_platform_data *pdata = dev_get_platdata(&client->dev);
client            344 drivers/media/i2c/lm3646.c 	flash = devm_kzalloc(&client->dev, sizeof(*flash), GFP_KERNEL);
client            348 drivers/media/i2c/lm3646.c 	flash->regmap = devm_regmap_init_i2c(client, &lm3646_regmap);
client            354 drivers/media/i2c/lm3646.c 		pdata = devm_kzalloc(&client->dev,
client            365 drivers/media/i2c/lm3646.c 	flash->dev = &client->dev;
client            375 drivers/media/i2c/lm3646.c 	i2c_set_clientdata(client, flash);
client            380 drivers/media/i2c/lm3646.c static int lm3646_remove(struct i2c_client *client)
client            382 drivers/media/i2c/lm3646.c 	struct lm3646_flash *flash = i2c_get_clientdata(client);
client             41 drivers/media/i2c/m52790.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             46 drivers/media/i2c/m52790.c 	return i2c_smbus_write_byte_data(client, sw1, sw2);
client            132 drivers/media/i2c/m52790.c static int m52790_probe(struct i2c_client *client,
client            139 drivers/media/i2c/m52790.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            142 drivers/media/i2c/m52790.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            143 drivers/media/i2c/m52790.c 			client->addr << 1, client->adapter->name);
client            145 drivers/media/i2c/m52790.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            150 drivers/media/i2c/m52790.c 	v4l2_i2c_subdev_init(sd, client, &m52790_ops);
client            157 drivers/media/i2c/m52790.c static int m52790_remove(struct i2c_client *client)
client            159 drivers/media/i2c/m52790.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            141 drivers/media/i2c/m5mols/m5mols_core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            150 drivers/media/i2c/m5mols/m5mols_core.c 	if (!client->adapter)
client            153 drivers/media/i2c/m5mols/m5mols_core.c 	msg[0].addr = client->addr;
client            163 drivers/media/i2c/m5mols/m5mols_core.c 	msg[1].addr = client->addr;
client            171 drivers/media/i2c/m5mols/m5mols_core.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            241 drivers/media/i2c/m5mols/m5mols_core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            251 drivers/media/i2c/m5mols/m5mols_core.c 	if (!client->adapter)
client            259 drivers/media/i2c/m5mols/m5mols_core.c 	msg->addr = client->addr;
client            273 drivers/media/i2c/m5mols/m5mols_core.c 	ret = i2c_transfer(client->adapter, msg, 1);
client            751 drivers/media/i2c/m5mols/m5mols_core.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            760 drivers/media/i2c/m5mols/m5mols_core.c 			ret = info->set_power(&client->dev, 1);
client            767 drivers/media/i2c/m5mols/m5mols_core.c 			info->set_power(&client->dev, 0);
client            782 drivers/media/i2c/m5mols/m5mols_core.c 		info->set_power(&client->dev, 0);
client            937 drivers/media/i2c/m5mols/m5mols_core.c static int m5mols_probe(struct i2c_client *client,
client            940 drivers/media/i2c/m5mols/m5mols_core.c 	const struct m5mols_platform_data *pdata = client->dev.platform_data;
client            947 drivers/media/i2c/m5mols/m5mols_core.c 		dev_err(&client->dev, "No platform data\n");
client            952 drivers/media/i2c/m5mols/m5mols_core.c 		dev_err(&client->dev, "No valid RESET GPIO specified\n");
client            956 drivers/media/i2c/m5mols/m5mols_core.c 	if (!client->irq) {
client            957 drivers/media/i2c/m5mols/m5mols_core.c 		dev_err(&client->dev, "Interrupt not assigned\n");
client            961 drivers/media/i2c/m5mols/m5mols_core.c 	info = devm_kzalloc(&client->dev, sizeof(*info), GFP_KERNEL);
client            970 drivers/media/i2c/m5mols/m5mols_core.c 	ret = devm_gpio_request_one(&client->dev, pdata->gpio_reset, gpio_flags,
client            973 drivers/media/i2c/m5mols/m5mols_core.c 		dev_err(&client->dev, "Failed to request gpio: %d\n", ret);
client            977 drivers/media/i2c/m5mols/m5mols_core.c 	ret = devm_regulator_bulk_get(&client->dev, ARRAY_SIZE(supplies),
client            980 drivers/media/i2c/m5mols/m5mols_core.c 		dev_err(&client->dev, "Failed to get regulators: %d\n", ret);
client            985 drivers/media/i2c/m5mols/m5mols_core.c 	v4l2_i2c_subdev_init(sd, client, &m5mols_ops);
client           1000 drivers/media/i2c/m5mols/m5mols_core.c 	ret = devm_request_irq(&client->dev, client->irq, m5mols_irq_handler,
client           1003 drivers/media/i2c/m5mols/m5mols_core.c 		dev_err(&client->dev, "Interrupt request failed: %d\n", ret);
client           1026 drivers/media/i2c/m5mols/m5mols_core.c static int m5mols_remove(struct i2c_client *client)
client           1028 drivers/media/i2c/m5mols/m5mols_core.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             30 drivers/media/i2c/max2175.c #define mxm_dbg(ctx, fmt, arg...) dev_dbg(&ctx->client->dev, fmt, ## arg)
client             31 drivers/media/i2c/max2175.c #define mxm_err(ctx, fmt, arg...) dev_err(&ctx->client->dev, fmt, ## arg)
client            265 drivers/media/i2c/max2175.c 	struct i2c_client *client;	/* I2C client */
client           1261 drivers/media/i2c/max2175.c static int max2175_refout_load_to_bits(struct i2c_client *client, u32 load,
client           1274 drivers/media/i2c/max2175.c static int max2175_probe(struct i2c_client *client)
client           1288 drivers/media/i2c/max2175.c 	np = of_parse_phandle(client->dev.of_node, "maxim,master", 0);
client           1294 drivers/media/i2c/max2175.c 	fwnode = of_fwnode_handle(client->dev.of_node);
client           1300 drivers/media/i2c/max2175.c 		ret = max2175_refout_load_to_bits(client, refout_load,
client           1303 drivers/media/i2c/max2175.c 			dev_err(&client->dev, "invalid refout_load %u\n",
client           1309 drivers/media/i2c/max2175.c 	clk = devm_clk_get(&client->dev, NULL);
client           1312 drivers/media/i2c/max2175.c 		dev_err(&client->dev, "cannot get clock %d\n", ret);
client           1316 drivers/media/i2c/max2175.c 	regmap = devm_regmap_init_i2c(client, &max2175_regmap_config);
client           1319 drivers/media/i2c/max2175.c 		dev_err(&client->dev, "regmap init failed %d\n", ret);
client           1324 drivers/media/i2c/max2175.c 	ctx = devm_kzalloc(&client->dev, sizeof(*ctx), GFP_KERNEL);
client           1334 drivers/media/i2c/max2175.c 	dev_info(&client->dev, "xtal freq %luHz\n", ctx->xtal_freq);
client           1336 drivers/media/i2c/max2175.c 	v4l2_i2c_subdev_init(sd, client, &max2175_ops);
client           1337 drivers/media/i2c/max2175.c 	ctx->client = client;
client           1384 drivers/media/i2c/max2175.c 		dev_err(&client->dev, "register subdev failed\n");
client           1407 drivers/media/i2c/max2175.c static int max2175_remove(struct i2c_client *client)
client           1409 drivers/media/i2c/max2175.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            101 drivers/media/i2c/ml86v7667.c static int ml86v7667_mask_set(struct i2c_client *client, const u8 reg,
client            104 drivers/media/i2c/ml86v7667.c 	int val = i2c_smbus_read_byte_data(client, reg);
client            109 drivers/media/i2c/ml86v7667.c 	return i2c_smbus_write_byte_data(client, reg, val);
client            115 drivers/media/i2c/ml86v7667.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            120 drivers/media/i2c/ml86v7667.c 		ret = ml86v7667_mask_set(client, SSEPL_REG,
client            124 drivers/media/i2c/ml86v7667.c 		ret = ml86v7667_mask_set(client, CLC_REG,
client            128 drivers/media/i2c/ml86v7667.c 		ret = ml86v7667_mask_set(client, ACCRC_REG, ACCRC_CHROMA_MASK,
client            132 drivers/media/i2c/ml86v7667.c 		ret = ml86v7667_mask_set(client, HUE_REG, ~0, ctrl->val);
client            135 drivers/media/i2c/ml86v7667.c 		ret = ml86v7667_mask_set(client, ACCC_REG,
client            140 drivers/media/i2c/ml86v7667.c 		ret = ml86v7667_mask_set(client, ACCC_REG,
client            145 drivers/media/i2c/ml86v7667.c 		ret = ml86v7667_mask_set(client, LUMC_REG,
client            150 drivers/media/i2c/ml86v7667.c 		ret = ml86v7667_mask_set(client, CHRCA_REG,
client            161 drivers/media/i2c/ml86v7667.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            164 drivers/media/i2c/ml86v7667.c 	status = i2c_smbus_read_byte_data(client, STATUS_REG);
client            178 drivers/media/i2c/ml86v7667.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            181 drivers/media/i2c/ml86v7667.c 	status_reg = i2c_smbus_read_byte_data(client, STATUS_REG);
client            244 drivers/media/i2c/ml86v7667.c 	struct i2c_client *client = v4l2_get_subdevdata(&priv->sd);
client            250 drivers/media/i2c/ml86v7667.c 	ret = ml86v7667_mask_set(client, MRA_REG, MRA_INPUT_MODE_MASK, mode);
client            263 drivers/media/i2c/ml86v7667.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            266 drivers/media/i2c/ml86v7667.c 	ret = i2c_smbus_read_byte_data(client, (u8)reg->reg);
client            279 drivers/media/i2c/ml86v7667.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            281 drivers/media/i2c/ml86v7667.c 	return i2c_smbus_write_byte_data(client, (u8)reg->reg, (u8)reg->val);
client            318 drivers/media/i2c/ml86v7667.c 	struct i2c_client *client = v4l2_get_subdevdata(&priv->sd);
client            323 drivers/media/i2c/ml86v7667.c 	ret = ml86v7667_mask_set(client, MRA_REG,
client            328 drivers/media/i2c/ml86v7667.c 	ret |= ml86v7667_mask_set(client, PLLR1_REG, PLLR1_FIXED_CLOCK,
client            332 drivers/media/i2c/ml86v7667.c 	ret |= ml86v7667_mask_set(client, ADC2_REG, ADC2_CLAMP_VOLTAGE_MASK,
client            336 drivers/media/i2c/ml86v7667.c 	ret |= ml86v7667_mask_set(client, SSEPL_REG, SSEPL_LUMINANCE_ONOFF,
client            340 drivers/media/i2c/ml86v7667.c 	ret |= ml86v7667_mask_set(client, CLC_REG, CLC_CONTRAST_ONOFF, 0);
client            347 drivers/media/i2c/ml86v7667.c 	val = i2c_smbus_read_byte_data(client, STATUS_REG);
client            352 drivers/media/i2c/ml86v7667.c 	ret |= ml86v7667_mask_set(client, MRC_REG, MRC_AUTOSELECT, 0);
client            355 drivers/media/i2c/ml86v7667.c 	ret |= ml86v7667_mask_set(client, MRA_REG, MRA_INPUT_MODE_MASK, val);
client            360 drivers/media/i2c/ml86v7667.c static int ml86v7667_probe(struct i2c_client *client,
client            366 drivers/media/i2c/ml86v7667.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            369 drivers/media/i2c/ml86v7667.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client            373 drivers/media/i2c/ml86v7667.c 	v4l2_i2c_subdev_init(&priv->sd, client, &ml86v7667_subdev_ops);
client            404 drivers/media/i2c/ml86v7667.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client            405 drivers/media/i2c/ml86v7667.c 		 client->addr, client->adapter->name);
client            411 drivers/media/i2c/ml86v7667.c 	v4l_err(client, "failed to probe @ 0x%02x (%s)\n",
client            412 drivers/media/i2c/ml86v7667.c 		client->addr, client->adapter->name);
client            416 drivers/media/i2c/ml86v7667.c static int ml86v7667_remove(struct i2c_client *client)
client            418 drivers/media/i2c/ml86v7667.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            100 drivers/media/i2c/msp3400-driver.c int msp_reset(struct i2c_client *client)
client            109 drivers/media/i2c/msp3400-driver.c 			.addr = client->addr,
client            115 drivers/media/i2c/msp3400-driver.c 			.addr = client->addr,
client            123 drivers/media/i2c/msp3400-driver.c 			.addr = client->addr,
client            128 drivers/media/i2c/msp3400-driver.c 			.addr = client->addr,
client            135 drivers/media/i2c/msp3400-driver.c 	dev_dbg_lvl(&client->dev, 3, msp_debug, "msp_reset\n");
client            136 drivers/media/i2c/msp3400-driver.c 	if (i2c_transfer(client->adapter, &reset[0], 1) != 1 ||
client            137 drivers/media/i2c/msp3400-driver.c 	    i2c_transfer(client->adapter, &reset[1], 1) != 1 ||
client            138 drivers/media/i2c/msp3400-driver.c 	    i2c_transfer(client->adapter, test, 2) != 2) {
client            139 drivers/media/i2c/msp3400-driver.c 		dev_err(&client->dev, "chip reset failed\n");
client            145 drivers/media/i2c/msp3400-driver.c static int msp_read(struct i2c_client *client, int dev, int addr)
client            152 drivers/media/i2c/msp3400-driver.c 			.addr = client->addr,
client            157 drivers/media/i2c/msp3400-driver.c 			.addr = client->addr,
client            169 drivers/media/i2c/msp3400-driver.c 		if (i2c_transfer(client->adapter, msgs, 2) == 2)
client            171 drivers/media/i2c/msp3400-driver.c 		dev_warn(&client->dev, "I/O error #%d (read 0x%02x/0x%02x)\n", err,
client            176 drivers/media/i2c/msp3400-driver.c 		dev_warn(&client->dev, "resetting chip, sound will go off.\n");
client            177 drivers/media/i2c/msp3400-driver.c 		msp_reset(client);
client            181 drivers/media/i2c/msp3400-driver.c 	dev_dbg_lvl(&client->dev, 3, msp_debug, "msp_read(0x%x, 0x%x): 0x%x\n",
client            186 drivers/media/i2c/msp3400-driver.c int msp_read_dem(struct i2c_client *client, int addr)
client            188 drivers/media/i2c/msp3400-driver.c 	return msp_read(client, I2C_MSP_DEM, addr);
client            191 drivers/media/i2c/msp3400-driver.c int msp_read_dsp(struct i2c_client *client, int addr)
client            193 drivers/media/i2c/msp3400-driver.c 	return msp_read(client, I2C_MSP_DSP, addr);
client            196 drivers/media/i2c/msp3400-driver.c static int msp_write(struct i2c_client *client, int dev, int addr, int val)
client            207 drivers/media/i2c/msp3400-driver.c 	dev_dbg_lvl(&client->dev, 3, msp_debug, "msp_write(0x%x, 0x%x, 0x%x)\n",
client            210 drivers/media/i2c/msp3400-driver.c 		if (i2c_master_send(client, buffer, 5) == 5)
client            212 drivers/media/i2c/msp3400-driver.c 		dev_warn(&client->dev, "I/O error #%d (write 0x%02x/0x%02x)\n", err,
client            217 drivers/media/i2c/msp3400-driver.c 		dev_warn(&client->dev, "resetting chip, sound will go off.\n");
client            218 drivers/media/i2c/msp3400-driver.c 		msp_reset(client);
client            224 drivers/media/i2c/msp3400-driver.c int msp_write_dem(struct i2c_client *client, int addr, int val)
client            226 drivers/media/i2c/msp3400-driver.c 	return msp_write(client, I2C_MSP_DEM, addr, val);
client            229 drivers/media/i2c/msp3400-driver.c int msp_write_dsp(struct i2c_client *client, int addr, int val)
client            231 drivers/media/i2c/msp3400-driver.c 	return msp_write(client, I2C_MSP_DSP, addr, val);
client            275 drivers/media/i2c/msp3400-driver.c void msp_set_scart(struct i2c_client *client, int in, int out)
client            277 drivers/media/i2c/msp3400-driver.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            290 drivers/media/i2c/msp3400-driver.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "scart switch: %s => %d (ACB=0x%04x)\n",
client            292 drivers/media/i2c/msp3400-driver.c 	msp_write_dsp(client, 0x13, state->acb);
client            296 drivers/media/i2c/msp3400-driver.c 		msp_write_dem(client, 0x40, state->i2s_mode);
client            301 drivers/media/i2c/msp3400-driver.c static void msp_wake_thread(struct i2c_client *client)
client            303 drivers/media/i2c/msp3400-driver.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            337 drivers/media/i2c/msp3400-driver.c 	struct i2c_client *client = v4l2_get_subdevdata(&state->sd);
client            348 drivers/media/i2c/msp3400-driver.c 		dev_dbg_lvl(&client->dev, 1, msp_debug, "mute=%s scanning=%s volume=%d\n",
client            353 drivers/media/i2c/msp3400-driver.c 		msp_write_dsp(client, 0x0000, val);
client            354 drivers/media/i2c/msp3400-driver.c 		msp_write_dsp(client, 0x0007, reallymuted ? 0x1 : (val | 0x1));
client            356 drivers/media/i2c/msp3400-driver.c 			msp_write_dsp(client, 0x0040, reallymuted ? 0x1 : (val | 0x1));
client            358 drivers/media/i2c/msp3400-driver.c 			msp_write_dsp(client, 0x0006, val);
client            364 drivers/media/i2c/msp3400-driver.c 		msp_write_dsp(client, 0x0002, val);
client            366 drivers/media/i2c/msp3400-driver.c 			msp_write_dsp(client, 0x0031, val);
client            371 drivers/media/i2c/msp3400-driver.c 		msp_write_dsp(client, 0x0003, val);
client            373 drivers/media/i2c/msp3400-driver.c 			msp_write_dsp(client, 0x0032, val);
client            378 drivers/media/i2c/msp3400-driver.c 		msp_write_dsp(client, 0x0004, val);
client            380 drivers/media/i2c/msp3400-driver.c 			msp_write_dsp(client, 0x0033, val);
client            385 drivers/media/i2c/msp3400-driver.c 		msp_write_dsp(client, 0x0001, val << 8);
client            387 drivers/media/i2c/msp3400-driver.c 			msp_write_dsp(client, 0x0030, val << 8);
client            410 drivers/media/i2c/msp3400-driver.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            415 drivers/media/i2c/msp3400-driver.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "switching to radio mode\n");
client            420 drivers/media/i2c/msp3400-driver.c 		msp3400c_set_mode(client, MSP_MODE_FM_RADIO);
client            421 drivers/media/i2c/msp3400-driver.c 		msp3400c_set_carrier(client, MSP_CARRIER(10.7),
client            428 drivers/media/i2c/msp3400-driver.c 		msp_wake_thread(client);
client            436 drivers/media/i2c/msp3400-driver.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            439 drivers/media/i2c/msp3400-driver.c 	msp_wake_thread(client);
client            446 drivers/media/i2c/msp3400-driver.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            450 drivers/media/i2c/msp3400-driver.c 	dev_dbg_lvl(&client->dev, 2, msp_debug,
client            460 drivers/media/i2c/msp3400-driver.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            466 drivers/media/i2c/msp3400-driver.c 		msp_wake_thread(client);
client            474 drivers/media/i2c/msp3400-driver.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            494 drivers/media/i2c/msp3400-driver.c 	msp_set_scart(client, sc_in, 0);
client            495 drivers/media/i2c/msp3400-driver.c 	msp_set_scart(client, sc1_out, 1);
client            496 drivers/media/i2c/msp3400-driver.c 	msp_set_scart(client, sc2_out, 2);
client            497 drivers/media/i2c/msp3400-driver.c 	msp_set_audmode(client);
client            499 drivers/media/i2c/msp3400-driver.c 	val = msp_read_dem(client, reg);
client            500 drivers/media/i2c/msp3400-driver.c 	msp_write_dem(client, reg, (val & ~0x100) | (tuner << 8));
client            502 drivers/media/i2c/msp3400-driver.c 	msp_wake_thread(client);
client            509 drivers/media/i2c/msp3400-driver.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            515 drivers/media/i2c/msp3400-driver.c 			msp_detect_stereo(client);
client            527 drivers/media/i2c/msp3400-driver.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            535 drivers/media/i2c/msp3400-driver.c 	msp_set_audmode(client);
client            542 drivers/media/i2c/msp3400-driver.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            544 drivers/media/i2c/msp3400-driver.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "Setting I2S speed to %d\n", freq);
client            562 drivers/media/i2c/msp3400-driver.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            567 drivers/media/i2c/msp3400-driver.c 		msp_detect_stereo(client);
client            568 drivers/media/i2c/msp3400-driver.c 	dev_info(&client->dev, "%s rev1 = 0x%04x rev2 = 0x%04x\n",
client            569 drivers/media/i2c/msp3400-driver.c 			client->name, state->rev1, state->rev2);
client            585 drivers/media/i2c/msp3400-driver.c 		dev_info(&client->dev, "Mode:     %s\n", p);
client            587 drivers/media/i2c/msp3400-driver.c 		dev_info(&client->dev, "Mode:     %s (%s%s)\n", p,
client            592 drivers/media/i2c/msp3400-driver.c 			dev_info(&client->dev, "Mode:     %s\n", p);
client            593 drivers/media/i2c/msp3400-driver.c 		dev_info(&client->dev, "Standard: %s (%s%s)\n",
client            598 drivers/media/i2c/msp3400-driver.c 	dev_info(&client->dev, "Audmode:  0x%04x\n", state->audmode);
client            599 drivers/media/i2c/msp3400-driver.c 	dev_info(&client->dev, "Routing:  0x%08x (input) 0x%08x (output)\n",
client            601 drivers/media/i2c/msp3400-driver.c 	dev_info(&client->dev, "ACB:      0x%04x\n", state->acb);
client            608 drivers/media/i2c/msp3400-driver.c 	struct i2c_client *client = to_i2c_client(dev);
client            609 drivers/media/i2c/msp3400-driver.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "suspend\n");
client            610 drivers/media/i2c/msp3400-driver.c 	msp_reset(client);
client            616 drivers/media/i2c/msp3400-driver.c 	struct i2c_client *client = to_i2c_client(dev);
client            617 drivers/media/i2c/msp3400-driver.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "resume\n");
client            618 drivers/media/i2c/msp3400-driver.c 	msp_wake_thread(client);
client            666 drivers/media/i2c/msp3400-driver.c static int msp_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            682 drivers/media/i2c/msp3400-driver.c 		strscpy(client->name, "msp3400", sizeof(client->name));
client            684 drivers/media/i2c/msp3400-driver.c 	if (msp_reset(client) == -1) {
client            685 drivers/media/i2c/msp3400-driver.c 		dev_dbg_lvl(&client->dev, 1, msp_debug, "msp3400 not found\n");
client            689 drivers/media/i2c/msp3400-driver.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            694 drivers/media/i2c/msp3400-driver.c 	v4l2_i2c_subdev_init(sd, client, &msp_ops);
client            719 drivers/media/i2c/msp3400-driver.c 	state->rev1 = msp_read_dsp(client, 0x1e);
client            721 drivers/media/i2c/msp3400-driver.c 		state->rev2 = msp_read_dsp(client, 0x1f);
client            722 drivers/media/i2c/msp3400-driver.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "rev1=0x%04x, rev2=0x%04x\n",
client            725 drivers/media/i2c/msp3400-driver.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client            828 drivers/media/i2c/msp3400-driver.c 	dev_info(&client->dev,
client            832 drivers/media/i2c/msp3400-driver.c 		 client->adapter->name,
client            853 drivers/media/i2c/msp3400-driver.c 		state->kthread = kthread_run(thread_func, client, "msp34xx");
client            856 drivers/media/i2c/msp3400-driver.c 			dev_warn(&client->dev, "kernel_thread() failed\n");
client            857 drivers/media/i2c/msp3400-driver.c 		msp_wake_thread(client);
client            862 drivers/media/i2c/msp3400-driver.c static int msp_remove(struct i2c_client *client)
client            864 drivers/media/i2c/msp3400-driver.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            872 drivers/media/i2c/msp3400-driver.c 	msp_reset(client);
client            130 drivers/media/i2c/msp3400-driver.h int msp_write_dem(struct i2c_client *client, int addr, int val);
client            131 drivers/media/i2c/msp3400-driver.h int msp_write_dsp(struct i2c_client *client, int addr, int val);
client            132 drivers/media/i2c/msp3400-driver.h int msp_read_dem(struct i2c_client *client, int addr);
client            133 drivers/media/i2c/msp3400-driver.h int msp_read_dsp(struct i2c_client *client, int addr);
client            134 drivers/media/i2c/msp3400-driver.h int msp_reset(struct i2c_client *client);
client            135 drivers/media/i2c/msp3400-driver.h void msp_set_scart(struct i2c_client *client, int in, int out);
client            141 drivers/media/i2c/msp3400-driver.h void msp_set_audmode(struct i2c_client *client);
client            142 drivers/media/i2c/msp3400-driver.h int msp_detect_stereo(struct i2c_client *client);
client            146 drivers/media/i2c/msp3400-driver.h void msp3400c_set_mode(struct i2c_client *client, int mode);
client            147 drivers/media/i2c/msp3400-driver.h void msp3400c_set_carrier(struct i2c_client *client, int cdo1, int cdo2);
client            175 drivers/media/i2c/msp3400-kthreads.c static void msp_set_source(struct i2c_client *client, u16 src)
client            177 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            180 drivers/media/i2c/msp3400-kthreads.c 		msp_write_dsp(client, 0x0008, 0x0520); /* I2S1 */
client            181 drivers/media/i2c/msp3400-kthreads.c 		msp_write_dsp(client, 0x0009, 0x0620); /* I2S2 */
client            183 drivers/media/i2c/msp3400-kthreads.c 		msp_write_dsp(client, 0x0008, src);
client            184 drivers/media/i2c/msp3400-kthreads.c 		msp_write_dsp(client, 0x0009, src);
client            186 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dsp(client, 0x000a, src);
client            187 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dsp(client, 0x000b, src);
client            188 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dsp(client, 0x000c, src);
client            190 drivers/media/i2c/msp3400-kthreads.c 		msp_write_dsp(client, 0x0041, src);
client            193 drivers/media/i2c/msp3400-kthreads.c void msp3400c_set_carrier(struct i2c_client *client, int cdo1, int cdo2)
client            195 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dem(client, 0x0093, cdo1 & 0xfff);
client            196 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dem(client, 0x009b, cdo1 >> 12);
client            197 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dem(client, 0x00a3, cdo2 & 0xfff);
client            198 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dem(client, 0x00ab, cdo2 >> 12);
client            199 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dem(client, 0x0056, 0); /* LOAD_REG_1/2 */
client            202 drivers/media/i2c/msp3400-kthreads.c void msp3400c_set_mode(struct i2c_client *client, int mode)
client            204 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            209 drivers/media/i2c/msp3400-kthreads.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "set_mode: %d\n", mode);
client            213 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dem(client, 0x00bb, data->ad_cv | (tuner ? 0x100 : 0));
client            216 drivers/media/i2c/msp3400-kthreads.c 		msp_write_dem(client, 0x0001, data->fir1[i]);
client            218 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dem(client, 0x0005, 0x0004); /* fir 2 */
client            219 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dem(client, 0x0005, 0x0040);
client            220 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dem(client, 0x0005, 0x0000);
client            222 drivers/media/i2c/msp3400-kthreads.c 		msp_write_dem(client, 0x0005, data->fir2[i]);
client            224 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dem(client, 0x0083, data->mode_reg);
client            226 drivers/media/i2c/msp3400-kthreads.c 	msp3400c_set_carrier(client, data->cdo1, data->cdo2);
client            228 drivers/media/i2c/msp3400-kthreads.c 	msp_set_source(client, data->dsp_src);
client            232 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dsp(client, 0x000d, 0x1900);
client            233 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dsp(client, 0x000e, data->dsp_matrix);
client            235 drivers/media/i2c/msp3400-kthreads.c 		msp_write_dsp(client, 0x0010, 0x5a00);
client            240 drivers/media/i2c/msp3400-kthreads.c static void msp3400c_set_audmode(struct i2c_client *client)
client            245 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            255 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client            284 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug, "FM set_audmode: %s\n", modestr);
client            287 drivers/media/i2c/msp3400-kthreads.c 			msp_write_dsp(client, 0x000e, 0x3001);
client            293 drivers/media/i2c/msp3400-kthreads.c 			msp_write_dsp(client, 0x000e, 0x3000);
client            298 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug, "SAT set_audmode: %s\n", modestr);
client            301 drivers/media/i2c/msp3400-kthreads.c 			msp3400c_set_carrier(client, MSP_CARRIER(6.5), MSP_CARRIER(6.5));
client            305 drivers/media/i2c/msp3400-kthreads.c 			msp3400c_set_carrier(client, MSP_CARRIER(7.2), MSP_CARRIER(7.02));
client            308 drivers/media/i2c/msp3400-kthreads.c 			msp3400c_set_carrier(client, MSP_CARRIER(7.38), MSP_CARRIER(7.02));
client            311 drivers/media/i2c/msp3400-kthreads.c 			msp3400c_set_carrier(client, MSP_CARRIER(7.38), MSP_CARRIER(7.02));
client            318 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client            324 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client            328 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client            333 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client            337 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug, "mono set_audmode\n");
client            342 drivers/media/i2c/msp3400-kthreads.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "set audmode %d\n", audmode);
client            350 drivers/media/i2c/msp3400-kthreads.c 			dev_dbg_lvl(&client->dev, 1, msp_debug, "switching to AM mono\n");
client            353 drivers/media/i2c/msp3400-kthreads.c 			msp_set_scart(client, SCART_MONO, 0);
client            366 drivers/media/i2c/msp3400-kthreads.c 	dev_dbg_lvl(&client->dev, 1, msp_debug,
client            369 drivers/media/i2c/msp3400-kthreads.c 	msp_set_source(client, src);
client            372 drivers/media/i2c/msp3400-kthreads.c static void msp3400c_print_mode(struct i2c_client *client)
client            374 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            377 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client            381 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client            385 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client            389 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client            393 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client            401 drivers/media/i2c/msp3400-kthreads.c static int msp3400c_detect_stereo(struct i2c_client *client)
client            403 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            411 drivers/media/i2c/msp3400-kthreads.c 		val = msp_read_dsp(client, 0x18);
client            414 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 2, msp_debug,
client            428 drivers/media/i2c/msp3400-kthreads.c 		val = msp_read_dem(client, 0x23);
client            429 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 2, msp_debug, "nicam sync=%d, mode=%d\n",
client            460 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client            467 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug, "watch: nicam %d => %d\n",
client            479 drivers/media/i2c/msp3400-kthreads.c static void watch_stereo(struct i2c_client *client)
client            481 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            483 drivers/media/i2c/msp3400-kthreads.c 	if (msp_detect_stereo(client))
client            484 drivers/media/i2c/msp3400-kthreads.c 		msp_set_audmode(client);
client            492 drivers/media/i2c/msp3400-kthreads.c 	struct i2c_client *client = data;
client            493 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            497 drivers/media/i2c/msp3400-kthreads.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "msp3400 daemon started\n");
client            501 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 2, msp_debug, "msp3400 thread: sleep\n");
client            503 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 2, msp_debug, "msp3400 thread: wakeup\n");
client            506 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 2, msp_debug, "thread: restart scan\n");
client            513 drivers/media/i2c/msp3400-kthreads.c 			dev_dbg_lvl(&client->dev, 1, msp_debug,
client            524 drivers/media/i2c/msp3400-kthreads.c 		msp3400c_set_mode(client, MSP_MODE_AM_DETECT);
client            542 drivers/media/i2c/msp3400-kthreads.c 			dev_dbg_lvl(&client->dev, 1, msp_debug, "AM sound override\n");
client            546 drivers/media/i2c/msp3400-kthreads.c 			msp3400c_set_carrier(client, cd[i].cdo, cd[i].cdo);
client            549 drivers/media/i2c/msp3400-kthreads.c 			val = msp_read_dsp(client, 0x1b);
client            554 drivers/media/i2c/msp3400-kthreads.c 			dev_dbg_lvl(&client->dev, 1, msp_debug,
client            583 drivers/media/i2c/msp3400-kthreads.c 			msp3400c_set_carrier(client, cd[i].cdo, cd[i].cdo);
client            586 drivers/media/i2c/msp3400-kthreads.c 			val = msp_read_dsp(client, 0x1b);
client            591 drivers/media/i2c/msp3400-kthreads.c 			dev_dbg_lvl(&client->dev, 1, msp_debug,
client            603 drivers/media/i2c/msp3400-kthreads.c 				msp3400c_set_mode(client, MSP_MODE_FM_TERRA);
client            608 drivers/media/i2c/msp3400-kthreads.c 				msp3400c_set_mode(client, MSP_MODE_FM_NICAM1);
client            619 drivers/media/i2c/msp3400-kthreads.c 			msp3400c_set_mode(client, MSP_MODE_FM_NICAM2);
client            627 drivers/media/i2c/msp3400-kthreads.c 				msp3400c_set_mode(client, MSP_MODE_FM_TERRA);
client            633 drivers/media/i2c/msp3400-kthreads.c 				msp3400c_set_mode(client, MSP_MODE_AM_NICAM);
client            639 drivers/media/i2c/msp3400-kthreads.c 				msp3400c_set_mode(client, MSP_MODE_FM_NICAM1);
client            653 drivers/media/i2c/msp3400-kthreads.c 			msp3400c_set_mode(client, MSP_MODE_FM_TERRA);
client            656 drivers/media/i2c/msp3400-kthreads.c 		msp3400c_set_carrier(client, state->second, state->main);
client            660 drivers/media/i2c/msp3400-kthreads.c 		msp3400c_set_audmode(client);
client            664 drivers/media/i2c/msp3400-kthreads.c 			msp3400c_print_mode(client);
client            674 drivers/media/i2c/msp3400-kthreads.c 			watch_stereo(client);
client            677 drivers/media/i2c/msp3400-kthreads.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "thread: exit\n");
client            684 drivers/media/i2c/msp3400-kthreads.c 	struct i2c_client *client = data;
client            685 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            688 drivers/media/i2c/msp3400-kthreads.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "msp3410 daemon started\n");
client            692 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 2, msp_debug, "msp3410 thread: sleep\n");
client            694 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 2, msp_debug, "msp3410 thread: wakeup\n");
client            697 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 2, msp_debug, "thread: restart scan\n");
client            704 drivers/media/i2c/msp3400-kthreads.c 			dev_dbg_lvl(&client->dev, 1, msp_debug,
client            730 drivers/media/i2c/msp3400-kthreads.c 			dev_dbg_lvl(&client->dev, 2, msp_debug,
client            739 drivers/media/i2c/msp3400-kthreads.c 			msp_write_dem(client, 0x20, std);
client            745 drivers/media/i2c/msp3400-kthreads.c 				val = msp_read_dem(client, 0x7e);
client            748 drivers/media/i2c/msp3400-kthreads.c 				dev_dbg_lvl(&client->dev, 2, msp_debug,
client            755 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug, "current standard: %s (0x%04x)\n",
client            765 drivers/media/i2c/msp3400-kthreads.c 			dev_dbg_lvl(&client->dev, 1, msp_debug, "autodetection failed, switching to backup standard: %s (0x%04x)\n",
client            769 drivers/media/i2c/msp3400-kthreads.c 			msp_write_dem(client, 0x20, val);
client            801 drivers/media/i2c/msp3400-kthreads.c 			msp3400c_set_mode(client, MSP_MODE_FM_RADIO);
client            802 drivers/media/i2c/msp3400-kthreads.c 			msp3400c_set_carrier(client, MSP_CARRIER(10.7),
client            815 drivers/media/i2c/msp3400-kthreads.c 		msp_write_dsp(client, 0x0d, 0x1900); /* scart */
client            816 drivers/media/i2c/msp3400-kthreads.c 		msp_write_dsp(client, 0x0e, 0x3000); /* FM */
client            818 drivers/media/i2c/msp3400-kthreads.c 			msp_write_dsp(client, 0x10, 0x5a00); /* nicam */
client            821 drivers/media/i2c/msp3400-kthreads.c 			msp_write_dem(client, 0x40, state->i2s_mode);
client            824 drivers/media/i2c/msp3400-kthreads.c 		msp3400c_set_audmode(client);
client            836 drivers/media/i2c/msp3400-kthreads.c 			watch_stereo(client);
client            839 drivers/media/i2c/msp3400-kthreads.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "thread: exit\n");
client            851 drivers/media/i2c/msp3400-kthreads.c static int msp34xxg_modus(struct i2c_client *client)
client            853 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            856 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug, "selected radio modus\n");
client            860 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug, "selected M (EIA-J) modus\n");
client            864 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug, "selected M (A2) modus\n");
client            868 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug, "selected SECAM-L modus\n");
client            872 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug, "selected M (BTSC) modus\n");
client            878 drivers/media/i2c/msp3400-kthreads.c static void msp34xxg_set_source(struct i2c_client *client, u16 reg, int in)
client            880 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            916 drivers/media/i2c/msp3400-kthreads.c 	dev_dbg_lvl(&client->dev, 1, msp_debug,
client            918 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dsp(client, reg, source);
client            921 drivers/media/i2c/msp3400-kthreads.c static void msp34xxg_set_sources(struct i2c_client *client)
client            923 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            926 drivers/media/i2c/msp3400-kthreads.c 	msp34xxg_set_source(client, 0x0008, (in >> 4) & 0xf);
client            928 drivers/media/i2c/msp3400-kthreads.c 	msp34xxg_set_source(client, 0x000c, (in >> 4) & 0xf);
client            929 drivers/media/i2c/msp3400-kthreads.c 	msp34xxg_set_source(client, 0x0009, (in >> 8) & 0xf);
client            930 drivers/media/i2c/msp3400-kthreads.c 	msp34xxg_set_source(client, 0x000a, (in >> 12) & 0xf);
client            932 drivers/media/i2c/msp3400-kthreads.c 		msp34xxg_set_source(client, 0x0041, (in >> 16) & 0xf);
client            933 drivers/media/i2c/msp3400-kthreads.c 	msp34xxg_set_source(client, 0x000b, (in >> 20) & 0xf);
client            937 drivers/media/i2c/msp3400-kthreads.c static void msp34xxg_reset(struct i2c_client *client)
client            939 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            947 drivers/media/i2c/msp3400-kthreads.c 	msp_reset(client);
client            950 drivers/media/i2c/msp3400-kthreads.c 		msp_write_dem(client, 0x40, state->i2s_mode);
client            953 drivers/media/i2c/msp3400-kthreads.c 	modus = msp34xxg_modus(client);
client            955 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dem(client, 0x30, modus);
client            959 drivers/media/i2c/msp3400-kthreads.c 	msp34xxg_set_sources(client);
client            961 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dsp(client, 0x0d, 0x1900); /* scart */
client            962 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dsp(client, 0x0e, 0x3000); /* FM */
client            964 drivers/media/i2c/msp3400-kthreads.c 		msp_write_dsp(client, 0x10, 0x5a00); /* nicam */
client            976 drivers/media/i2c/msp3400-kthreads.c 	msp_write_dem(client, 0x22, msp_stereo_thresh);
client            981 drivers/media/i2c/msp3400-kthreads.c 	struct i2c_client *client = data;
client            982 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client            985 drivers/media/i2c/msp3400-kthreads.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "msp34xxg daemon started\n");
client            989 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 2, msp_debug, "msp34xxg thread: sleep\n");
client            991 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 2, msp_debug, "msp34xxg thread: wakeup\n");
client            994 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug, "thread: restart scan\n");
client           1001 drivers/media/i2c/msp3400-kthreads.c 			dev_dbg_lvl(&client->dev, 1, msp_debug,
client           1009 drivers/media/i2c/msp3400-kthreads.c 		msp34xxg_reset(client);
client           1012 drivers/media/i2c/msp3400-kthreads.c 		msp_write_dem(client, 0x20, state->std);
client           1018 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client           1025 drivers/media/i2c/msp3400-kthreads.c 			val = msp_read_dem(client, 0x7e);
client           1030 drivers/media/i2c/msp3400-kthreads.c 			dev_dbg_lvl(&client->dev, 2, msp_debug,
client           1034 drivers/media/i2c/msp3400-kthreads.c 			dev_dbg_lvl(&client->dev, 1, msp_debug,
client           1040 drivers/media/i2c/msp3400-kthreads.c 		dev_dbg_lvl(&client->dev, 1, msp_debug,
client           1047 drivers/media/i2c/msp3400-kthreads.c 			msp_write_dsp(client, 0x0e, 0x7c00);
client           1054 drivers/media/i2c/msp3400-kthreads.c 		if (msp_write_dsp(client, 0x13, state->acb))
client           1066 drivers/media/i2c/msp3400-kthreads.c 		watch_stereo(client);
client           1068 drivers/media/i2c/msp3400-kthreads.c 			watch_stereo(client);
client           1073 drivers/media/i2c/msp3400-kthreads.c 	dev_dbg_lvl(&client->dev, 1, msp_debug, "thread: exit\n");
client           1077 drivers/media/i2c/msp3400-kthreads.c static int msp34xxg_detect_stereo(struct i2c_client *client)
client           1079 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client           1080 drivers/media/i2c/msp3400-kthreads.c 	int status = msp_read_dem(client, 0x0200);
client           1100 drivers/media/i2c/msp3400-kthreads.c 	dev_dbg_lvl(&client->dev, 1, msp_debug,
client           1106 drivers/media/i2c/msp3400-kthreads.c static void msp34xxg_set_audmode(struct i2c_client *client)
client           1108 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client           1114 drivers/media/i2c/msp3400-kthreads.c 			msp_write_dem(client, 0x20, 0x21);
client           1116 drivers/media/i2c/msp3400-kthreads.c 			msp_write_dem(client, 0x20, 0x20);
client           1120 drivers/media/i2c/msp3400-kthreads.c 	msp34xxg_set_sources(client);
client           1123 drivers/media/i2c/msp3400-kthreads.c void msp_set_audmode(struct i2c_client *client)
client           1125 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state = to_state(i2c_get_clientdata(client));
client           1130 drivers/media/i2c/msp3400-kthreads.c 		msp3400c_set_audmode(client);
client           1133 drivers/media/i2c/msp3400-kthreads.c 		msp34xxg_set_audmode(client);
client           1138 drivers/media/i2c/msp3400-kthreads.c int msp_detect_stereo(struct i2c_client *client)
client           1140 drivers/media/i2c/msp3400-kthreads.c 	struct msp_state *state  = to_state(i2c_get_clientdata(client));
client           1145 drivers/media/i2c/msp3400-kthreads.c 		return msp3400c_detect_stereo(client);
client           1147 drivers/media/i2c/msp3400-kthreads.c 		return msp34xxg_detect_stereo(client);
client            110 drivers/media/i2c/mt9m001.c static struct mt9m001 *to_mt9m001(const struct i2c_client *client)
client            112 drivers/media/i2c/mt9m001.c 	return container_of(i2c_get_clientdata(client), struct mt9m001, subdev);
client            115 drivers/media/i2c/mt9m001.c static int reg_read(struct i2c_client *client, const u8 reg)
client            117 drivers/media/i2c/mt9m001.c 	return i2c_smbus_read_word_swapped(client, reg);
client            120 drivers/media/i2c/mt9m001.c static int reg_write(struct i2c_client *client, const u8 reg,
client            123 drivers/media/i2c/mt9m001.c 	return i2c_smbus_write_word_swapped(client, reg, data);
client            126 drivers/media/i2c/mt9m001.c static int reg_set(struct i2c_client *client, const u8 reg,
client            131 drivers/media/i2c/mt9m001.c 	ret = reg_read(client, reg);
client            134 drivers/media/i2c/mt9m001.c 	return reg_write(client, reg, ret | data);
client            137 drivers/media/i2c/mt9m001.c static int reg_clear(struct i2c_client *client, const u8 reg,
client            142 drivers/media/i2c/mt9m001.c 	ret = reg_read(client, reg);
client            145 drivers/media/i2c/mt9m001.c 	return reg_write(client, reg, ret & ~data);
client            153 drivers/media/i2c/mt9m001.c static int multi_reg_write(struct i2c_client *client,
client            159 drivers/media/i2c/mt9m001.c 		int ret = reg_write(client, regs[i].reg, regs[i].data);
client            168 drivers/media/i2c/mt9m001.c static int mt9m001_init(struct i2c_client *client)
client            181 drivers/media/i2c/mt9m001.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            183 drivers/media/i2c/mt9m001.c 	return multi_reg_write(client, init_regs, ARRAY_SIZE(init_regs));
client            188 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            189 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            205 drivers/media/i2c/mt9m001.c 	return multi_reg_write(client, regs, ARRAY_SIZE(regs));
client            210 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            211 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            220 drivers/media/i2c/mt9m001.c 		ret = pm_runtime_get_sync(&client->dev);
client            233 drivers/media/i2c/mt9m001.c 		ret = reg_write(client, MT9M001_OUTPUT_CONTROL, 2);
client            238 drivers/media/i2c/mt9m001.c 		reg_write(client, MT9M001_OUTPUT_CONTROL, 0);
client            239 drivers/media/i2c/mt9m001.c 		pm_runtime_put(&client->dev);
client            249 drivers/media/i2c/mt9m001.c 	pm_runtime_put(&client->dev);
client            259 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            260 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            300 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            301 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            325 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            326 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            354 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            355 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            383 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            384 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            421 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            427 drivers/media/i2c/mt9m001.c 	reg->val = reg_read(client, reg->reg);
client            438 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            443 drivers/media/i2c/mt9m001.c 	if (reg_write(client, reg->reg, reg->val) < 0)
client            452 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = to_i2c_client(dev);
client            453 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            477 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = to_i2c_client(dev);
client            478 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            508 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            513 drivers/media/i2c/mt9m001.c 	if (!pm_runtime_get_if_in_use(&client->dev))
client            519 drivers/media/i2c/mt9m001.c 			ret = reg_set(client, MT9M001_READ_OPTIONS2, 0x8000);
client            521 drivers/media/i2c/mt9m001.c 			ret = reg_clear(client, MT9M001_READ_OPTIONS2, 0x8000);
client            531 drivers/media/i2c/mt9m001.c 			dev_dbg(&client->dev, "Setting gain %d\n", data);
client            532 drivers/media/i2c/mt9m001.c 			ret = reg_write(client, MT9M001_GLOBAL_GAIN, data);
client            547 drivers/media/i2c/mt9m001.c 			dev_dbg(&client->dev, "Setting gain from %d to %d\n",
client            548 drivers/media/i2c/mt9m001.c 				 reg_read(client, MT9M001_GLOBAL_GAIN), data);
client            549 drivers/media/i2c/mt9m001.c 			ret = reg_write(client, MT9M001_GLOBAL_GAIN, data);
client            559 drivers/media/i2c/mt9m001.c 			dev_dbg(&client->dev,
client            561 drivers/media/i2c/mt9m001.c 				reg_read(client, MT9M001_SHUTTER_WIDTH), shutter);
client            562 drivers/media/i2c/mt9m001.c 			ret = reg_write(client, MT9M001_SHUTTER_WIDTH, shutter);
client            566 drivers/media/i2c/mt9m001.c 			ret = reg_write(client, MT9M001_SHUTTER_WIDTH,
client            575 drivers/media/i2c/mt9m001.c 	pm_runtime_put(&client->dev);
client            584 drivers/media/i2c/mt9m001.c static int mt9m001_video_probe(struct i2c_client *client)
client            586 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            591 drivers/media/i2c/mt9m001.c 	data = reg_write(client, MT9M001_CHIP_ENABLE, 1);
client            592 drivers/media/i2c/mt9m001.c 	dev_dbg(&client->dev, "write: %d\n", data);
client            595 drivers/media/i2c/mt9m001.c 	data = reg_read(client, MT9M001_CHIP_VERSION);
client            609 drivers/media/i2c/mt9m001.c 		dev_err(&client->dev,
client            617 drivers/media/i2c/mt9m001.c 	dev_info(&client->dev, "Detected a MT9M001 chip ID %x (%s)\n", data,
client            620 drivers/media/i2c/mt9m001.c 	ret = mt9m001_init(client);
client            622 drivers/media/i2c/mt9m001.c 		dev_err(&client->dev, "Failed to initialise the camera\n");
client            635 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            636 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            661 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            662 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            682 drivers/media/i2c/mt9m001.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            683 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            729 drivers/media/i2c/mt9m001.c static int mt9m001_probe(struct i2c_client *client)
client            732 drivers/media/i2c/mt9m001.c 	struct i2c_adapter *adapter = client->adapter;
client            741 drivers/media/i2c/mt9m001.c 	mt9m001 = devm_kzalloc(&client->dev, sizeof(*mt9m001), GFP_KERNEL);
client            745 drivers/media/i2c/mt9m001.c 	mt9m001->clk = devm_clk_get(&client->dev, NULL);
client            749 drivers/media/i2c/mt9m001.c 	mt9m001->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby",
client            754 drivers/media/i2c/mt9m001.c 	mt9m001->reset_gpio = devm_gpiod_get_optional(&client->dev, "reset",
client            759 drivers/media/i2c/mt9m001.c 	v4l2_i2c_subdev_init(&mt9m001->subdev, client, &mt9m001_subdev_ops);
client            793 drivers/media/i2c/mt9m001.c 	ret = mt9m001_power_on(&client->dev);
client            797 drivers/media/i2c/mt9m001.c 	pm_runtime_set_active(&client->dev);
client            798 drivers/media/i2c/mt9m001.c 	pm_runtime_enable(&client->dev);
client            800 drivers/media/i2c/mt9m001.c 	ret = mt9m001_video_probe(client);
client            814 drivers/media/i2c/mt9m001.c 	pm_runtime_idle(&client->dev);
client            821 drivers/media/i2c/mt9m001.c 	pm_runtime_disable(&client->dev);
client            822 drivers/media/i2c/mt9m001.c 	pm_runtime_set_suspended(&client->dev);
client            823 drivers/media/i2c/mt9m001.c 	mt9m001_power_off(&client->dev);
client            832 drivers/media/i2c/mt9m001.c static int mt9m001_remove(struct i2c_client *client)
client            834 drivers/media/i2c/mt9m001.c 	struct mt9m001 *mt9m001 = to_mt9m001(client);
client            836 drivers/media/i2c/mt9m001.c 	pm_runtime_get_sync(&client->dev);
client            841 drivers/media/i2c/mt9m001.c 	pm_runtime_disable(&client->dev);
client            842 drivers/media/i2c/mt9m001.c 	pm_runtime_set_suspended(&client->dev);
client            843 drivers/media/i2c/mt9m001.c 	pm_runtime_put_noidle(&client->dev);
client            844 drivers/media/i2c/mt9m001.c 	mt9m001_power_off(&client->dev);
client            158 drivers/media/i2c/mt9m032.c static int mt9m032_read(struct i2c_client *client, u8 reg)
client            160 drivers/media/i2c/mt9m032.c 	return i2c_smbus_read_word_swapped(client, reg);
client            163 drivers/media/i2c/mt9m032.c static int mt9m032_write(struct i2c_client *client, u8 reg, const u16 data)
client            165 drivers/media/i2c/mt9m032.c 	return i2c_smbus_write_word_swapped(client, reg, data);
client            182 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
client            212 drivers/media/i2c/mt9m032.c 	return mt9m032_write(client, MT9M032_VBLANK, vblank);
client            217 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
client            220 drivers/media/i2c/mt9m032.c 	ret = mt9m032_write(client, MT9M032_COLUMN_SIZE,
client            223 drivers/media/i2c/mt9m032.c 		ret = mt9m032_write(client, MT9M032_ROW_SIZE,
client            226 drivers/media/i2c/mt9m032.c 		ret = mt9m032_write(client, MT9M032_COLUMN_START,
client            229 drivers/media/i2c/mt9m032.c 		ret = mt9m032_write(client, MT9M032_ROW_START,
client            238 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
client            246 drivers/media/i2c/mt9m032.c 	return mt9m032_write(client, MT9M032_FORMATTER2, reg_val);
client            267 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
client            276 drivers/media/i2c/mt9m032.c 	ret = aptina_pll_calculate(&client->dev, &limits, &pll);
client            282 drivers/media/i2c/mt9m032.c 	ret = mt9m032_write(client, MT9M032_PLL_CONFIG1,
client            286 drivers/media/i2c/mt9m032.c 		ret = mt9m032_write(client, MT9P031_PLL_CONTROL,
client            290 drivers/media/i2c/mt9m032.c 		ret = mt9m032_write(client, MT9M032_READ_MODE1, 0x8000 |
client            296 drivers/media/i2c/mt9m032.c 		ret = mt9m032_write(client, MT9M032_FORMATTER1, reg_val);
client            549 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
client            555 drivers/media/i2c/mt9m032.c 	val = mt9m032_read(client, reg->reg);
client            569 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
client            574 drivers/media/i2c/mt9m032.c 	return mt9m032_write(client, reg->reg, reg->val);
client            584 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
client            590 drivers/media/i2c/mt9m032.c 	return mt9m032_write(client, MT9M032_READ_MODE2, reg_val);
client            595 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
client            619 drivers/media/i2c/mt9m032.c 	return mt9m032_write(client, MT9M032_GAIN_ALL, reg_val);
client            636 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
client            649 drivers/media/i2c/mt9m032.c 		ret = mt9m032_write(client, MT9M032_SHUTTER_WIDTH_HIGH,
client            654 drivers/media/i2c/mt9m032.c 		return mt9m032_write(client, MT9M032_SHUTTER_WIDTH_LOW,
client            700 drivers/media/i2c/mt9m032.c static int mt9m032_probe(struct i2c_client *client,
client            703 drivers/media/i2c/mt9m032.c 	struct mt9m032_platform_data *pdata = client->dev.platform_data;
client            704 drivers/media/i2c/mt9m032.c 	struct i2c_adapter *adapter = client->adapter;
client            710 drivers/media/i2c/mt9m032.c 		dev_err(&client->dev, "No platform data\n");
client            715 drivers/media/i2c/mt9m032.c 		dev_warn(&client->dev,
client            720 drivers/media/i2c/mt9m032.c 	if (!client->dev.platform_data)
client            723 drivers/media/i2c/mt9m032.c 	sensor = devm_kzalloc(&client->dev, sizeof(*sensor), GFP_KERNEL);
client            731 drivers/media/i2c/mt9m032.c 	v4l2_i2c_subdev_init(&sensor->subdev, client, &mt9m032_ops);
client            734 drivers/media/i2c/mt9m032.c 	chip_version = mt9m032_read(client, MT9M032_CHIP_VERSION);
client            736 drivers/media/i2c/mt9m032.c 		dev_err(&client->dev, "MT9M032 not detected, wrong version "
client            742 drivers/media/i2c/mt9m032.c 	dev_info(&client->dev, "MT9M032 detected at address 0x%02x\n",
client            743 drivers/media/i2c/mt9m032.c 		 client->addr);
client            781 drivers/media/i2c/mt9m032.c 		dev_err(&client->dev, "control initialization error %d\n", ret);
client            794 drivers/media/i2c/mt9m032.c 	ret = mt9m032_write(client, MT9M032_RESET, 1);	/* reset on */
client            797 drivers/media/i2c/mt9m032.c 	ret = mt9m032_write(client, MT9M032_RESET, 0);	/* reset off */
client            815 drivers/media/i2c/mt9m032.c 	ret = mt9m032_write(client, 0x41, 0x0000);	/* reserved !!! */
client            818 drivers/media/i2c/mt9m032.c 	ret = mt9m032_write(client, 0x42, 0x0003);	/* reserved !!! */
client            821 drivers/media/i2c/mt9m032.c 	ret = mt9m032_write(client, 0x43, 0x0003);	/* reserved !!! */
client            824 drivers/media/i2c/mt9m032.c 	ret = mt9m032_write(client, 0x7f, 0x0000);	/* reserved !!! */
client            828 drivers/media/i2c/mt9m032.c 		ret = mt9m032_write(client, MT9M032_PIX_CLK_CTRL,
client            834 drivers/media/i2c/mt9m032.c 	ret = mt9m032_write(client, MT9M032_RESTART, 1); /* Restart on */
client            838 drivers/media/i2c/mt9m032.c 	ret = mt9m032_write(client, MT9M032_RESTART, 0); /* Restart off */
client            857 drivers/media/i2c/mt9m032.c static int mt9m032_remove(struct i2c_client *client)
client            859 drivers/media/i2c/mt9m032.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client            139 drivers/media/i2c/mt9m111.c #define reg_read(reg) mt9m111_reg_read(client, MT9M111_##reg)
client            140 drivers/media/i2c/mt9m111.c #define reg_write(reg, val) mt9m111_reg_write(client, MT9M111_##reg, (val))
client            141 drivers/media/i2c/mt9m111.c #define reg_set(reg, val) mt9m111_reg_set(client, MT9M111_##reg, (val))
client            142 drivers/media/i2c/mt9m111.c #define reg_clear(reg, val) mt9m111_reg_clear(client, MT9M111_##reg, (val))
client            143 drivers/media/i2c/mt9m111.c #define reg_mask(reg, val, mask) mt9m111_reg_mask(client, MT9M111_##reg, \
client            296 drivers/media/i2c/mt9m111.c static struct mt9m111 *to_mt9m111(const struct i2c_client *client)
client            298 drivers/media/i2c/mt9m111.c 	return container_of(i2c_get_clientdata(client), struct mt9m111, subdev);
client            301 drivers/media/i2c/mt9m111.c static int reg_page_map_set(struct i2c_client *client, const u16 reg)
client            305 drivers/media/i2c/mt9m111.c 	struct mt9m111 *mt9m111 = to_mt9m111(client);
client            313 drivers/media/i2c/mt9m111.c 	ret = i2c_smbus_write_word_swapped(client, MT9M111_PAGE_MAP, page);
client            319 drivers/media/i2c/mt9m111.c static int mt9m111_reg_read(struct i2c_client *client, const u16 reg)
client            323 drivers/media/i2c/mt9m111.c 	ret = reg_page_map_set(client, reg);
client            325 drivers/media/i2c/mt9m111.c 		ret = i2c_smbus_read_word_swapped(client, reg & 0xff);
client            327 drivers/media/i2c/mt9m111.c 	dev_dbg(&client->dev, "read  reg.%03x -> %04x\n", reg, ret);
client            331 drivers/media/i2c/mt9m111.c static int mt9m111_reg_write(struct i2c_client *client, const u16 reg,
client            336 drivers/media/i2c/mt9m111.c 	ret = reg_page_map_set(client, reg);
client            338 drivers/media/i2c/mt9m111.c 		ret = i2c_smbus_write_word_swapped(client, reg & 0xff, data);
client            339 drivers/media/i2c/mt9m111.c 	dev_dbg(&client->dev, "write reg.%03x = %04x -> %d\n", reg, data, ret);
client            343 drivers/media/i2c/mt9m111.c static int mt9m111_reg_set(struct i2c_client *client, const u16 reg,
client            348 drivers/media/i2c/mt9m111.c 	ret = mt9m111_reg_read(client, reg);
client            350 drivers/media/i2c/mt9m111.c 		ret = mt9m111_reg_write(client, reg, ret | data);
client            354 drivers/media/i2c/mt9m111.c static int mt9m111_reg_clear(struct i2c_client *client, const u16 reg,
client            359 drivers/media/i2c/mt9m111.c 	ret = mt9m111_reg_read(client, reg);
client            361 drivers/media/i2c/mt9m111.c 		ret = mt9m111_reg_write(client, reg, ret & ~data);
client            365 drivers/media/i2c/mt9m111.c static int mt9m111_reg_mask(struct i2c_client *client, const u16 reg,
client            370 drivers/media/i2c/mt9m111.c 	ret = mt9m111_reg_read(client, reg);
client            372 drivers/media/i2c/mt9m111.c 		ret = mt9m111_reg_write(client, reg, (ret & ~mask) | data);
client            379 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            387 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            388 drivers/media/i2c/mt9m111.c 	int ret = mt9m111_reg_write(client, ctx->reducer_xzoom, rect->width);
client            390 drivers/media/i2c/mt9m111.c 		ret = mt9m111_reg_write(client, ctx->reducer_yzoom, rect->height);
client            392 drivers/media/i2c/mt9m111.c 		ret = mt9m111_reg_write(client, ctx->reducer_xsize, width);
client            394 drivers/media/i2c/mt9m111.c 		ret = mt9m111_reg_write(client, ctx->reducer_ysize, height);
client            401 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            423 drivers/media/i2c/mt9m111.c 	dev_dbg(&client->dev, "%s(%x): %ux%u@%u:%u -> %ux%u = %d\n",
client            432 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            438 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            455 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            456 drivers/media/i2c/mt9m111.c 	struct mt9m111 *mt9m111 = to_mt9m111(client);
client            499 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            500 drivers/media/i2c/mt9m111.c 	struct mt9m111 *mt9m111 = to_mt9m111(client);
client            555 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            609 drivers/media/i2c/mt9m111.c 		dev_err(&client->dev, "Pixel format not handled: %x\n", code);
client            617 drivers/media/i2c/mt9m111.c 	ret = mt9m111_reg_mask(client, context_a.output_fmt_ctrl2,
client            620 drivers/media/i2c/mt9m111.c 		ret = mt9m111_reg_mask(client, context_b.output_fmt_ctrl2,
client            631 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            670 drivers/media/i2c/mt9m111.c 	dev_dbg(&client->dev, "%s(): %ux%u, code=%x\n", __func__,
client            756 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            762 drivers/media/i2c/mt9m111.c 	val = mt9m111_reg_read(client, reg->reg);
client            775 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            780 drivers/media/i2c/mt9m111.c 	if (mt9m111_reg_write(client, reg->reg, reg->val) < 0)
client            789 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            793 drivers/media/i2c/mt9m111.c 		ret = mt9m111_reg_set(client, mt9m111->ctx->read_mode, mask);
client            795 drivers/media/i2c/mt9m111.c 		ret = mt9m111_reg_clear(client, mt9m111->ctx->read_mode, mask);
client            802 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            814 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            832 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            841 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            861 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            863 drivers/media/i2c/mt9m111.c 	return mt9m111_reg_mask(client, MT9M111_TPG_CTRL, val,
client            869 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            881 drivers/media/i2c/mt9m111.c 			return mt9m111_reg_mask(client, MT9M111_EFFECTS_MODE,
client            919 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            937 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            944 drivers/media/i2c/mt9m111.c 	mt9m111_reg_mask(client, mt9m111->ctx->read_mode,
client            962 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client            971 drivers/media/i2c/mt9m111.c 		dev_err(&client->dev, "mt9m111 init failed: %d\n", ret);
client            977 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
client           1000 drivers/media/i2c/mt9m111.c 	dev_err(&client->dev, "Failed to resume the sensor: %d\n", ret);
client           1183 drivers/media/i2c/mt9m111.c static int mt9m111_video_probe(struct i2c_client *client)
client           1185 drivers/media/i2c/mt9m111.c 	struct mt9m111 *mt9m111 = to_mt9m111(client);
client           1197 drivers/media/i2c/mt9m111.c 		dev_info(&client->dev,
client           1201 drivers/media/i2c/mt9m111.c 		dev_info(&client->dev, "Detected a MT9M112 chip ID %x\n", data);
client           1204 drivers/media/i2c/mt9m111.c 		dev_err(&client->dev,
client           1222 drivers/media/i2c/mt9m111.c static int mt9m111_probe_fw(struct i2c_client *client, struct mt9m111 *mt9m111)
client           1230 drivers/media/i2c/mt9m111.c 	np = fwnode_graph_get_next_endpoint(dev_fwnode(&client->dev), NULL);
client           1246 drivers/media/i2c/mt9m111.c static int mt9m111_probe(struct i2c_client *client)
client           1249 drivers/media/i2c/mt9m111.c 	struct i2c_adapter *adapter = client->adapter;
client           1258 drivers/media/i2c/mt9m111.c 	mt9m111 = devm_kzalloc(&client->dev, sizeof(struct mt9m111), GFP_KERNEL);
client           1262 drivers/media/i2c/mt9m111.c 	if (dev_fwnode(&client->dev)) {
client           1263 drivers/media/i2c/mt9m111.c 		ret = mt9m111_probe_fw(client, mt9m111);
client           1268 drivers/media/i2c/mt9m111.c 	mt9m111->clk = v4l2_clk_get(&client->dev, "mclk");
client           1272 drivers/media/i2c/mt9m111.c 	mt9m111->regulator = devm_regulator_get(&client->dev, "vdd");
client           1274 drivers/media/i2c/mt9m111.c 		dev_err(&client->dev, "regulator not found: %ld\n",
client           1282 drivers/media/i2c/mt9m111.c 	v4l2_i2c_subdev_init(&mt9m111->subdev, client, &mt9m111_subdev_ops);
client           1339 drivers/media/i2c/mt9m111.c 	ret = mt9m111_video_probe(client);
client           1343 drivers/media/i2c/mt9m111.c 	mt9m111->subdev.dev = &client->dev;
client           1362 drivers/media/i2c/mt9m111.c static int mt9m111_remove(struct i2c_client *client)
client           1364 drivers/media/i2c/mt9m111.c 	struct mt9m111 *mt9m111 = to_mt9m111(client);
client            151 drivers/media/i2c/mt9p031.c static int mt9p031_read(struct i2c_client *client, u8 reg)
client            153 drivers/media/i2c/mt9p031.c 	return i2c_smbus_read_word_swapped(client, reg);
client            156 drivers/media/i2c/mt9p031.c static int mt9p031_write(struct i2c_client *client, u8 reg, u16 data)
client            158 drivers/media/i2c/mt9p031.c 	return i2c_smbus_write_word_swapped(client, reg, data);
client            164 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
client            168 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_OUTPUT_CONTROL, value);
client            178 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
client            182 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_READ_MODE_2, value);
client            192 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
client            196 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_RST, MT9P031_RST_ENABLE);
client            199 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_RST, MT9P031_RST_DISABLE);
client            203 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_PIXEL_CLOCK_CONTROL,
client            230 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
client            234 drivers/media/i2c/mt9p031.c 	mt9p031->clk = devm_clk_get(&client->dev, NULL);
client            261 drivers/media/i2c/mt9p031.c 	return aptina_pll_calculate(&client->dev, &limits, &mt9p031->pll);
client            266 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
client            272 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_PLL_CONTROL,
client            277 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_PLL_CONFIG_1,
client            282 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_PLL_CONFIG_2, mt9p031->pll.p1 - 1);
client            287 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_PLL_CONTROL,
client            295 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
client            300 drivers/media/i2c/mt9p031.c 	return mt9p031_write(client, MT9P031_PLL_CONTROL,
client            355 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
client            369 drivers/media/i2c/mt9p031.c 		dev_err(&client->dev, "Failed to reset the camera\n");
client            382 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
client            399 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_COLUMN_START, crop->left);
client            402 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_ROW_START, crop->top);
client            405 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_WINDOW_WIDTH, crop->width - 1);
client            408 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_WINDOW_HEIGHT, crop->height - 1);
client            420 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_COLUMN_ADDRESS_MODE,
client            424 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_ROW_ADDRESS_MODE,
client            435 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_HORIZONTAL_BLANK, hblank - 1);
client            438 drivers/media/i2c/mt9p031.c 	ret = mt9p031_write(client, MT9P031_VERTICAL_BLANK, vblank - 1);
client            654 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
client            665 drivers/media/i2c/mt9p031.c 		ret = mt9p031_write(client, MT9P031_ROW_BLACK_TARGET,
client            678 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
client            687 drivers/media/i2c/mt9p031.c 		ret = mt9p031_write(client, MT9P031_SHUTTER_WIDTH_UPPER,
client            692 drivers/media/i2c/mt9p031.c 		return mt9p031_write(client, MT9P031_SHUTTER_WIDTH_LOWER,
client            720 drivers/media/i2c/mt9p031.c 		return mt9p031_write(client, MT9P031_GLOBAL_GAIN, data);
client            753 drivers/media/i2c/mt9p031.c 			return mt9p031_write(client, MT9P031_TEST_PATTERN,
client            757 drivers/media/i2c/mt9p031.c 		ret = mt9p031_write(client, MT9P031_TEST_PATTERN_GREEN, 0x05a0);
client            760 drivers/media/i2c/mt9p031.c 		ret = mt9p031_write(client, MT9P031_TEST_PATTERN_RED, 0x0a50);
client            763 drivers/media/i2c/mt9p031.c 		ret = mt9p031_write(client, MT9P031_TEST_PATTERN_BLUE, 0x0aa0);
client            773 drivers/media/i2c/mt9p031.c 		ret = mt9p031_write(client, MT9P031_ROW_BLACK_DEF_OFFSET, 0);
client            777 drivers/media/i2c/mt9p031.c 		return mt9p031_write(client, MT9P031_TEST_PATTERN,
client            788 drivers/media/i2c/mt9p031.c 		return mt9p031_write(client, MT9P031_BLACK_LEVEL_CALIBRATION,
client            792 drivers/media/i2c/mt9p031.c 		return mt9p031_write(client, MT9P031_ROW_BLACK_TARGET,
client            798 drivers/media/i2c/mt9p031.c 		ret = mt9p031_write(client, MT9P031_GREEN1_OFFSET, data);
client            801 drivers/media/i2c/mt9p031.c 		ret = mt9p031_write(client, MT9P031_GREEN2_OFFSET, data);
client            804 drivers/media/i2c/mt9p031.c 		ret = mt9p031_write(client, MT9P031_RED_OFFSET, data);
client            807 drivers/media/i2c/mt9p031.c 		return mt9p031_write(client, MT9P031_BLUE_OFFSET, data);
client            810 drivers/media/i2c/mt9p031.c 		return mt9p031_write(client, MT9P031_ROW_BLACK_DEF_OFFSET,
client            913 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
client            920 drivers/media/i2c/mt9p031.c 		dev_err(&client->dev, "MT9P031 power up failed\n");
client            925 drivers/media/i2c/mt9p031.c 	data = mt9p031_read(client, MT9P031_CHIP_VERSION);
client            929 drivers/media/i2c/mt9p031.c 		dev_err(&client->dev, "MT9P031 not detected, wrong version "
client            934 drivers/media/i2c/mt9p031.c 	dev_info(&client->dev, "MT9P031 detected at address 0x%02x\n",
client            935 drivers/media/i2c/mt9p031.c 		 client->addr);
client           1006 drivers/media/i2c/mt9p031.c mt9p031_get_pdata(struct i2c_client *client)
client           1011 drivers/media/i2c/mt9p031.c 	if (!IS_ENABLED(CONFIG_OF) || !client->dev.of_node)
client           1012 drivers/media/i2c/mt9p031.c 		return client->dev.platform_data;
client           1014 drivers/media/i2c/mt9p031.c 	np = of_graph_get_next_endpoint(client->dev.of_node, NULL);
client           1018 drivers/media/i2c/mt9p031.c 	pdata = devm_kzalloc(&client->dev, sizeof(*pdata), GFP_KERNEL);
client           1030 drivers/media/i2c/mt9p031.c static int mt9p031_probe(struct i2c_client *client,
client           1033 drivers/media/i2c/mt9p031.c 	struct mt9p031_platform_data *pdata = mt9p031_get_pdata(client);
client           1034 drivers/media/i2c/mt9p031.c 	struct i2c_adapter *adapter = client->adapter;
client           1040 drivers/media/i2c/mt9p031.c 		dev_err(&client->dev, "No platform data\n");
client           1045 drivers/media/i2c/mt9p031.c 		dev_warn(&client->dev,
client           1050 drivers/media/i2c/mt9p031.c 	mt9p031 = devm_kzalloc(&client->dev, sizeof(*mt9p031), GFP_KERNEL);
client           1063 drivers/media/i2c/mt9p031.c 	ret = devm_regulator_bulk_get(&client->dev, 3, mt9p031->regulators);
client           1065 drivers/media/i2c/mt9p031.c 		dev_err(&client->dev, "Unable to get regulators\n");
client           1108 drivers/media/i2c/mt9p031.c 	v4l2_i2c_subdev_init(&mt9p031->subdev, client, &mt9p031_subdev_ops);
client           1134 drivers/media/i2c/mt9p031.c 	mt9p031->reset = devm_gpiod_get_optional(&client->dev, "reset",
client           1153 drivers/media/i2c/mt9p031.c static int mt9p031_remove(struct i2c_client *client)
client           1155 drivers/media/i2c/mt9p031.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client            140 drivers/media/i2c/mt9t001.c static int mt9t001_read(struct i2c_client *client, u8 reg)
client            142 drivers/media/i2c/mt9t001.c 	return i2c_smbus_read_word_swapped(client, reg);
client            145 drivers/media/i2c/mt9t001.c static int mt9t001_write(struct i2c_client *client, u8 reg, u16 data)
client            147 drivers/media/i2c/mt9t001.c 	return i2c_smbus_write_word_swapped(client, reg, data);
client            153 drivers/media/i2c/mt9t001.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9t001->subdev);
client            160 drivers/media/i2c/mt9t001.c 	ret = mt9t001_write(client, MT9T001_OUTPUT_CONTROL, value);
client            170 drivers/media/i2c/mt9t001.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9t001->subdev);
client            174 drivers/media/i2c/mt9t001.c 	ret = mt9t001_write(client, MT9T001_RESET, 1);
client            178 drivers/media/i2c/mt9t001.c 	ret = mt9t001_write(client, MT9T001_RESET, 0);
client            218 drivers/media/i2c/mt9t001.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9t001->subdev);
client            232 drivers/media/i2c/mt9t001.c 		dev_err(&client->dev, "Failed to reset the camera\n");
client            238 drivers/media/i2c/mt9t001.c 		dev_err(&client->dev, "Failed to set up control handlers\n");
client            285 drivers/media/i2c/mt9t001.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
client            286 drivers/media/i2c/mt9t001.c 	struct mt9t001_platform_data *pdata = client->dev.platform_data;
client            299 drivers/media/i2c/mt9t001.c 		ret  = mt9t001_write(client, MT9T001_PIXEL_CLOCK,
client            309 drivers/media/i2c/mt9t001.c 	ret = mt9t001_write(client, MT9T001_ROW_ADDRESS_MODE, hratio - 1);
client            313 drivers/media/i2c/mt9t001.c 	ret = mt9t001_write(client, MT9T001_COLUMN_ADDRESS_MODE, vratio - 1);
client            317 drivers/media/i2c/mt9t001.c 	ret = mt9t001_write(client, MT9T001_COLUMN_START, crop->left);
client            321 drivers/media/i2c/mt9t001.c 	ret = mt9t001_write(client, MT9T001_ROW_START, crop->top);
client            325 drivers/media/i2c/mt9t001.c 	ret = mt9t001_write(client, MT9T001_WINDOW_WIDTH, crop->width - 1);
client            329 drivers/media/i2c/mt9t001.c 	ret = mt9t001_write(client, MT9T001_WINDOW_HEIGHT, crop->height - 1);
client            534 drivers/media/i2c/mt9t001.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9t001->subdev);
client            570 drivers/media/i2c/mt9t001.c 			ret = mt9t001_write(client, gains[i], value);
client            587 drivers/media/i2c/mt9t001.c 		ret = mt9t001_write(client, MT9T001_SHUTTER_WIDTH_LOW,
client            592 drivers/media/i2c/mt9t001.c 		return mt9t001_write(client, MT9T001_SHUTTER_WIDTH_HIGH,
client            601 drivers/media/i2c/mt9t001.c 		return mt9t001_write(client, MT9T001_TEST_DATA, ctrl->val << 2);
client            605 drivers/media/i2c/mt9t001.c 		ret = mt9t001_write(client, MT9T001_BLACK_LEVEL_CALIBRATION,
client            614 drivers/media/i2c/mt9t001.c 		ret = mt9t001_write(client, MT9T001_GREEN1_OFFSET, ctrl->val);
client            618 drivers/media/i2c/mt9t001.c 		ret = mt9t001_write(client, MT9T001_GREEN2_OFFSET, ctrl->val);
client            622 drivers/media/i2c/mt9t001.c 		ret = mt9t001_write(client, MT9T001_RED_OFFSET, ctrl->val);
client            626 drivers/media/i2c/mt9t001.c 		return mt9t001_write(client, MT9T001_BLUE_OFFSET, ctrl->val);
client            629 drivers/media/i2c/mt9t001.c 		return mt9t001_write(client, MT9T001_BLACK_LEVEL_CALIBRATION,
client            769 drivers/media/i2c/mt9t001.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
client            776 drivers/media/i2c/mt9t001.c 		dev_err(&client->dev, "MT9T001 power up failed\n");
client            781 drivers/media/i2c/mt9t001.c 	data = mt9t001_read(client, MT9T001_CHIP_VERSION);
client            785 drivers/media/i2c/mt9t001.c 		dev_err(&client->dev,
client            790 drivers/media/i2c/mt9t001.c 	dev_info(&client->dev, "MT9T001 detected at address 0x%02x\n",
client            791 drivers/media/i2c/mt9t001.c 		 client->addr);
client            851 drivers/media/i2c/mt9t001.c static int mt9t001_probe(struct i2c_client *client,
client            854 drivers/media/i2c/mt9t001.c 	struct mt9t001_platform_data *pdata = client->dev.platform_data;
client            860 drivers/media/i2c/mt9t001.c 		dev_err(&client->dev, "No platform data\n");
client            864 drivers/media/i2c/mt9t001.c 	if (!i2c_check_functionality(client->adapter,
client            866 drivers/media/i2c/mt9t001.c 		dev_warn(&client->adapter->dev,
client            871 drivers/media/i2c/mt9t001.c 	mt9t001 = devm_kzalloc(&client->dev, sizeof(*mt9t001), GFP_KERNEL);
client            881 drivers/media/i2c/mt9t001.c 	ret = devm_regulator_bulk_get(&client->dev, 2, mt9t001->regulators);
client            883 drivers/media/i2c/mt9t001.c 		dev_err(&client->dev, "Unable to get regulators\n");
client            887 drivers/media/i2c/mt9t001.c 	mt9t001->clk = devm_clk_get(&client->dev, NULL);
client            889 drivers/media/i2c/mt9t001.c 		dev_err(&client->dev, "Unable to get clock\n");
client            939 drivers/media/i2c/mt9t001.c 	v4l2_i2c_subdev_init(&mt9t001->subdev, client, &mt9t001_subdev_ops);
client            956 drivers/media/i2c/mt9t001.c static int mt9t001_remove(struct i2c_client *client)
client            958 drivers/media/i2c/mt9t001.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client             60 drivers/media/i2c/mt9t112.c #define mt9t112_reg_write(ret, client, a, b) \
client             61 drivers/media/i2c/mt9t112.c 	ECHECKER(ret, __mt9t112_reg_write(client, a, b))
client             62 drivers/media/i2c/mt9t112.c #define mt9t112_mcu_write(ret, client, a, b) \
client             63 drivers/media/i2c/mt9t112.c 	ECHECKER(ret, __mt9t112_mcu_write(client, a, b))
client             65 drivers/media/i2c/mt9t112.c #define mt9t112_reg_mask_set(ret, client, a, b, c) \
client             66 drivers/media/i2c/mt9t112.c 	ECHECKER(ret, __mt9t112_reg_mask_set(client, a, b, c))
client             67 drivers/media/i2c/mt9t112.c #define mt9t112_mcu_mask_set(ret, client, a, b, c) \
client             68 drivers/media/i2c/mt9t112.c 	ECHECKER(ret, __mt9t112_mcu_mask_set(client, a, b, c))
client             70 drivers/media/i2c/mt9t112.c #define mt9t112_reg_read(ret, client, a) \
client             71 drivers/media/i2c/mt9t112.c 	ECHECKER(ret, __mt9t112_reg_read(client, a))
client             93 drivers/media/i2c/mt9t112.c 	struct i2c_client		*client;
client            143 drivers/media/i2c/mt9t112.c static struct mt9t112_priv *to_mt9t112(const struct i2c_client *client)
client            145 drivers/media/i2c/mt9t112.c 	return container_of(i2c_get_clientdata(client),
client            150 drivers/media/i2c/mt9t112.c static int __mt9t112_reg_read(const struct i2c_client *client, u16 command)
client            158 drivers/media/i2c/mt9t112.c 	msg[0].addr  = client->addr;
client            163 drivers/media/i2c/mt9t112.c 	msg[1].addr  = client->addr;
client            172 drivers/media/i2c/mt9t112.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            181 drivers/media/i2c/mt9t112.c static int __mt9t112_reg_write(const struct i2c_client *client,
client            194 drivers/media/i2c/mt9t112.c 	msg.addr  = client->addr;
client            203 drivers/media/i2c/mt9t112.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            208 drivers/media/i2c/mt9t112.c static int __mt9t112_reg_mask_set(const struct i2c_client *client,
client            211 drivers/media/i2c/mt9t112.c 	int val = __mt9t112_reg_read(client, command);
client            219 drivers/media/i2c/mt9t112.c 	return __mt9t112_reg_write(client, command, val);
client            223 drivers/media/i2c/mt9t112.c static int __mt9t112_mcu_read(const struct i2c_client *client, u16 command)
client            227 drivers/media/i2c/mt9t112.c 	ret = __mt9t112_reg_write(client, 0x098E, command);
client            231 drivers/media/i2c/mt9t112.c 	return __mt9t112_reg_read(client, 0x0990);
client            234 drivers/media/i2c/mt9t112.c static int __mt9t112_mcu_write(const struct i2c_client *client,
client            239 drivers/media/i2c/mt9t112.c 	ret = __mt9t112_reg_write(client, 0x098E, command);
client            243 drivers/media/i2c/mt9t112.c 	return __mt9t112_reg_write(client, 0x0990, data);
client            246 drivers/media/i2c/mt9t112.c static int __mt9t112_mcu_mask_set(const struct i2c_client *client,
client            249 drivers/media/i2c/mt9t112.c 	int val = __mt9t112_mcu_read(client, command);
client            257 drivers/media/i2c/mt9t112.c 	return __mt9t112_mcu_write(client, command, val);
client            260 drivers/media/i2c/mt9t112.c static int mt9t112_reset(const struct i2c_client *client)
client            264 drivers/media/i2c/mt9t112.c 	mt9t112_reg_mask_set(ret, client, 0x001a, 0x0001, 0x0001);
client            266 drivers/media/i2c/mt9t112.c 	mt9t112_reg_mask_set(ret, client, 0x001a, 0x0001, 0x0000);
client            275 drivers/media/i2c/mt9t112.c static int mt9t112_clock_info(const struct i2c_client *client, u32 ext)
client            283 drivers/media/i2c/mt9t112.c 	mt9t112_reg_read(n, client, 0x0012);
client            290 drivers/media/i2c/mt9t112.c 	mt9t112_reg_read(n, client, 0x002a);
client            297 drivers/media/i2c/mt9t112.c 	mt9t112_reg_read(n, client, 0x002c);
client            300 drivers/media/i2c/mt9t112.c 	mt9t112_reg_read(n, client, 0x0010);
client            305 drivers/media/i2c/mt9t112.c 	dev_dbg(&client->dev, "EXTCLK          : %10u K %s\n", ext, enable);
client            309 drivers/media/i2c/mt9t112.c 	dev_dbg(&client->dev, "VCO             : %10u K %s\n", vco, enable);
client            313 drivers/media/i2c/mt9t112.c 	dev_dbg(&client->dev, "PIXCLK          : %10u K %s\n", clk, enable);
client            317 drivers/media/i2c/mt9t112.c 	dev_dbg(&client->dev, "MIPICLK         : %10u K %s\n", clk, enable);
client            321 drivers/media/i2c/mt9t112.c 	dev_dbg(&client->dev, "MCU CLK         : %10u K %s\n", clk, enable);
client            325 drivers/media/i2c/mt9t112.c 	dev_dbg(&client->dev, "SOC CLK         : %10u K %s\n", clk, enable);
client            329 drivers/media/i2c/mt9t112.c 	dev_dbg(&client->dev, "Sensor CLK      : %10u K %s\n", clk, enable);
client            332 drivers/media/i2c/mt9t112.c 	dev_dbg(&client->dev, "External sensor : %10u K\n", clk);
client            336 drivers/media/i2c/mt9t112.c 	dev_dbg(&client->dev, "PFD             : %10u K %s\n", clk, enable);
client            342 drivers/media/i2c/mt9t112.c static int mt9t112_set_a_frame_size(const struct i2c_client *client,
client            350 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(26, 0), width);
client            351 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(26, 2), height);
client            354 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 43), 8 + width);
client            355 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 45), 8 + height);
client            358 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 2), 4 + hstart);
client            359 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 4), 4 + wstart);
client            362 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 6), 11 + height + hstart);
client            363 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 8), 11 + width  + wstart);
client            365 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(1, 0), 0x06);
client            370 drivers/media/i2c/mt9t112.c static int mt9t112_set_pll_dividers(const struct i2c_client *client,
client            379 drivers/media/i2c/mt9t112.c 	mt9t112_reg_mask_set(ret, client, 0x0010, 0x3fff, val);
client            383 drivers/media/i2c/mt9t112.c 	mt9t112_reg_mask_set(ret, client, 0x0012, 0x0fff, val);
client            388 drivers/media/i2c/mt9t112.c 	mt9t112_reg_mask_set(ret, client, 0x002A, 0x7fff, val);
client            392 drivers/media/i2c/mt9t112.c 	mt9t112_reg_mask_set(ret, client, 0x002C, 0x100f, val);
client            397 drivers/media/i2c/mt9t112.c static int mt9t112_init_pll(const struct i2c_client *client)
client            399 drivers/media/i2c/mt9t112.c 	struct mt9t112_priv *priv = to_mt9t112(client);
client            402 drivers/media/i2c/mt9t112.c 	mt9t112_reg_mask_set(ret, client, 0x0014, 0x003, 0x0001);
client            405 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0014, 0x2145);
client            408 drivers/media/i2c/mt9t112.c 	mt9t112_set_pll_dividers(client,
client            421 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0014, 0x2525);
client            422 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0014, 0x2527);
client            423 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0014, 0x3427);
client            424 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0014, 0x3027);
client            433 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0014, 0x3046);
client            435 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0016, 0x0400);
client            436 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0022, 0x0190);
client            437 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x3B84, 0x0212);
client            440 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x002E, 0x0500);
client            442 drivers/media/i2c/mt9t112.c 	mt9t112_reg_mask_set(ret, client, 0x0018, 0x0002, 0x0002);
client            443 drivers/media/i2c/mt9t112.c 	mt9t112_reg_mask_set(ret, client, 0x3B82, 0x0004, 0x0004);
client            446 drivers/media/i2c/mt9t112.c 	mt9t112_reg_mask_set(ret, client, 0x0018, 0x0004, 0x0004);
client            449 drivers/media/i2c/mt9t112.c 	mt9t112_reg_mask_set(ret, client, 0x0018, 0x0001, 0);
client            457 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0614, 0x0001);
client            459 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0614, 0x0001);
client            461 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0614, 0x0001);
client            463 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0614, 0x0001);
client            465 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0614, 0x0001);
client            467 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0614, 0x0001);
client            472 drivers/media/i2c/mt9t112.c 		mt9t112_reg_read(data, client, 0x0018);
client            482 drivers/media/i2c/mt9t112.c static int mt9t112_init_setting(const struct i2c_client *client)
client            487 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_mask_set(ret, client, VAR(26, 160), 0x0040, 0x0000);
client            490 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 12), 0x0024);
client            493 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 15), 0x00CC);
client            496 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 17), 0x01f1);
client            499 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 19), 0x00fF);
client            502 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 29), 0x032D);
client            505 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 31), 0x073a);
client            508 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 37), 0x07d0);
client            511 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_mask_set(ret, client, VAR(27, 160), 0x0040, 0x0000);
client            514 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 74), 0x004);
client            517 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 76), 0x004);
client            520 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 78), 0x60B);
client            523 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 80), 0x80B);
client            526 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 87), 0x008C);
client            529 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 89), 0x01F1);
client            532 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 91), 0x00FF);
client            535 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 101), 0x0668);
client            538 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 103), 0x0AF0);
client            541 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 109), 0x0AF0);
client            552 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(8, 5), 0x01);
client            555 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(27, 17), 0x0003);
client            558 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(26, 17), 0x0003);
client            565 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 165), 0x25);
client            568 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 166), 0x28);
client            571 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 167), 0x2C);
client            574 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 168), 0x2F);
client            577 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 68), 0xBA);
client            581 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 303), 0x00);
client            584 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 69), 0x9B);
client            588 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 301), 0x00);
client            591 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 140), 0x82);
client            595 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 304), 0x00);
client            598 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 141), 0x6D);
client            602 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 302), 0x00);
client            605 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(8, 2), 0x10);
client            608 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(8, 9), 0x02);
client            611 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(8, 10), 0x03);
client            614 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(8, 12), 0x0A);
client            617 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 70), 0x0014);
client            620 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(18, 142), 0x0014);
client            626 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 0x0044), 133);
client            627 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 0x0045), 110);
client            628 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 0x008c), 130);
client            629 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 0x008d), 108);
client            631 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 0x00A5), 27);
client            632 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 0x00a6), 30);
client            633 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 0x00a7), 32);
client            634 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(18, 0x00a8), 35);
client            639 drivers/media/i2c/mt9t112.c static int mt9t112_auto_focus_setting(const struct i2c_client *client)
client            643 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(12, 13),	0x000F);
client            644 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(12, 23),	0x0F0F);
client            645 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(1, 0),	0x06);
client            647 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x0614, 0x0000);
client            649 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(1, 0),	0x05);
client            650 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(12, 2),	0x02);
client            651 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(12, 3),	0x0002);
client            652 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(17, 3),	0x8001);
client            653 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(17, 11),	0x0025);
client            654 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(17, 13),	0x0193);
client            655 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(17, 33),	0x18);
client            656 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(1, 0),	0x05);
client            661 drivers/media/i2c/mt9t112.c static int mt9t112_auto_focus_trigger(const struct i2c_client *client)
client            665 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(12, 25), 0x01);
client            670 drivers/media/i2c/mt9t112.c static int mt9t112_init_camera(const struct i2c_client *client)
client            674 drivers/media/i2c/mt9t112.c 	ECHECKER(ret, mt9t112_reset(client));
client            675 drivers/media/i2c/mt9t112.c 	ECHECKER(ret, mt9t112_init_pll(client));
client            676 drivers/media/i2c/mt9t112.c 	ECHECKER(ret, mt9t112_init_setting(client));
client            677 drivers/media/i2c/mt9t112.c 	ECHECKER(ret, mt9t112_auto_focus_setting(client));
client            679 drivers/media/i2c/mt9t112.c 	mt9t112_reg_mask_set(ret, client, 0x0018, 0x0004, 0);
client            682 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x3084, 0x2409);
client            683 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x3092, 0x0A49);
client            684 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x3094, 0x4949);
client            685 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x3096, 0x4950);
client            692 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(26, 160), 0x0A2E);
client            693 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(27, 160), 0x0A2E);
client            699 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(27, 144), 0x0CB4);
client            705 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(27, 142), 0x01);
client            708 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x316C, 0x350F);
client            711 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, 0x1E, 0x777);
client            724 drivers/media/i2c/mt9t112.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            728 drivers/media/i2c/mt9t112.c 	mt9t112_reg_read(ret, client, reg->reg);
client            738 drivers/media/i2c/mt9t112.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            741 drivers/media/i2c/mt9t112.c 	mt9t112_reg_write(ret, client, reg->reg, reg->val);
client            776 drivers/media/i2c/mt9t112.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            777 drivers/media/i2c/mt9t112.c 	struct mt9t112_priv *priv = to_mt9t112(client);
client            796 drivers/media/i2c/mt9t112.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            797 drivers/media/i2c/mt9t112.c 	struct mt9t112_priv *priv = to_mt9t112(client);
client            809 drivers/media/i2c/mt9t112.c 		mt9t112_set_a_frame_size(client, VGA_WIDTH, VGA_HEIGHT);
client            817 drivers/media/i2c/mt9t112.c 		ECHECKER(ret, mt9t112_init_camera(client));
client            820 drivers/media/i2c/mt9t112.c 		mt9t112_reg_write(ret, client, 0x3C20, param);
client            827 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(26, 7), priv->format->fmt);
client            828 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR(26, 9), priv->format->order);
client            829 drivers/media/i2c/mt9t112.c 	mt9t112_mcu_write(ret, client, VAR8(1, 0), 0x06);
client            831 drivers/media/i2c/mt9t112.c 	mt9t112_set_a_frame_size(client, priv->frame.width, priv->frame.height);
client            833 drivers/media/i2c/mt9t112.c 	ECHECKER(ret, mt9t112_auto_focus_trigger(client));
client            835 drivers/media/i2c/mt9t112.c 	dev_dbg(&client->dev, "format : %d\n", priv->format->code);
client            836 drivers/media/i2c/mt9t112.c 	dev_dbg(&client->dev, "size   : %d x %d\n",
client            840 drivers/media/i2c/mt9t112.c 	CLOCK_INFO(client, EXT_CLOCK);
client            878 drivers/media/i2c/mt9t112.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            879 drivers/media/i2c/mt9t112.c 	struct mt9t112_priv *priv = to_mt9t112(client);
client            903 drivers/media/i2c/mt9t112.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            904 drivers/media/i2c/mt9t112.c 	struct mt9t112_priv *priv = to_mt9t112(client);
client            919 drivers/media/i2c/mt9t112.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            920 drivers/media/i2c/mt9t112.c 	struct mt9t112_priv *priv = to_mt9t112(client);
client            937 drivers/media/i2c/mt9t112.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            938 drivers/media/i2c/mt9t112.c 	struct mt9t112_priv *priv = to_mt9t112(client);
client            959 drivers/media/i2c/mt9t112.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            961 drivers/media/i2c/mt9t112.c 	struct mt9t112_priv *priv = to_mt9t112(client);
client            994 drivers/media/i2c/mt9t112.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            995 drivers/media/i2c/mt9t112.c 	struct mt9t112_priv *priv = to_mt9t112(client);
client           1026 drivers/media/i2c/mt9t112.c static int mt9t112_camera_probe(struct i2c_client *client)
client           1028 drivers/media/i2c/mt9t112.c 	struct mt9t112_priv *priv = to_mt9t112(client);
client           1038 drivers/media/i2c/mt9t112.c 	mt9t112_reg_read(chipid, client, 0x0000);
client           1050 drivers/media/i2c/mt9t112.c 		dev_err(&client->dev, "Product ID error %04x\n", chipid);
client           1055 drivers/media/i2c/mt9t112.c 	dev_info(&client->dev, "%s chip ID %04x\n", devname, chipid);
client           1063 drivers/media/i2c/mt9t112.c static int mt9t112_probe(struct i2c_client *client,
client           1069 drivers/media/i2c/mt9t112.c 	if (!client->dev.platform_data) {
client           1070 drivers/media/i2c/mt9t112.c 		dev_err(&client->dev, "mt9t112: missing platform data!\n");
client           1074 drivers/media/i2c/mt9t112.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client           1078 drivers/media/i2c/mt9t112.c 	priv->info = client->dev.platform_data;
client           1081 drivers/media/i2c/mt9t112.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &mt9t112_subdev_ops);
client           1083 drivers/media/i2c/mt9t112.c 	priv->clk = devm_clk_get(&client->dev, "extclk");
client           1087 drivers/media/i2c/mt9t112.c 		dev_err(&client->dev, "Unable to get clock \"extclk\"\n");
client           1091 drivers/media/i2c/mt9t112.c 	priv->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby",
client           1094 drivers/media/i2c/mt9t112.c 		dev_err(&client->dev, "Unable to get gpio \"standby\"\n");
client           1098 drivers/media/i2c/mt9t112.c 	ret = mt9t112_camera_probe(client);
client           1105 drivers/media/i2c/mt9t112.c static int mt9t112_remove(struct i2c_client *client)
client           1107 drivers/media/i2c/mt9t112.c 	struct mt9t112_priv *priv = to_mt9t112(client);
client            472 drivers/media/i2c/mt9v032.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9v032->subdev);
client            478 drivers/media/i2c/mt9v032.c 		dev_warn(&client->dev, "failed to set pixel rate (%d)\n", ret);
client            873 drivers/media/i2c/mt9v032.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
client            879 drivers/media/i2c/mt9v032.c 	dev_info(&client->dev, "Probing MT9V032 at address 0x%02x\n",
client            880 drivers/media/i2c/mt9v032.c 			client->addr);
client            884 drivers/media/i2c/mt9v032.c 		dev_err(&client->dev, "MT9V032 power up failed\n");
client            894 drivers/media/i2c/mt9v032.c 		dev_err(&client->dev, "Failed reading chip version\n");
client            906 drivers/media/i2c/mt9v032.c 		dev_err(&client->dev, "Unsupported chip version 0x%04x\n",
client            911 drivers/media/i2c/mt9v032.c 	dev_info(&client->dev, "%s detected at address 0x%02x\n",
client            912 drivers/media/i2c/mt9v032.c 		 mt9v032->version->name, client->addr);
client            992 drivers/media/i2c/mt9v032.c mt9v032_get_pdata(struct i2c_client *client)
client            999 drivers/media/i2c/mt9v032.c 	if (!IS_ENABLED(CONFIG_OF) || !client->dev.of_node)
client           1000 drivers/media/i2c/mt9v032.c 		return client->dev.platform_data;
client           1002 drivers/media/i2c/mt9v032.c 	np = of_graph_get_next_endpoint(client->dev.of_node, NULL);
client           1009 drivers/media/i2c/mt9v032.c 	pdata = devm_kzalloc(&client->dev, sizeof(*pdata), GFP_KERNEL);
client           1018 drivers/media/i2c/mt9v032.c 		link_freqs = devm_kcalloc(&client->dev, size,
client           1039 drivers/media/i2c/mt9v032.c static int mt9v032_probe(struct i2c_client *client,
client           1042 drivers/media/i2c/mt9v032.c 	struct mt9v032_platform_data *pdata = mt9v032_get_pdata(client);
client           1047 drivers/media/i2c/mt9v032.c 	mt9v032 = devm_kzalloc(&client->dev, sizeof(*mt9v032), GFP_KERNEL);
client           1051 drivers/media/i2c/mt9v032.c 	mt9v032->regmap = devm_regmap_init_i2c(client, &mt9v032_regmap_config);
client           1055 drivers/media/i2c/mt9v032.c 	mt9v032->clk = devm_clk_get(&client->dev, NULL);
client           1059 drivers/media/i2c/mt9v032.c 	mt9v032->reset_gpio = devm_gpiod_get_optional(&client->dev, "reset",
client           1064 drivers/media/i2c/mt9v032.c 	mt9v032->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby",
client           1136 drivers/media/i2c/mt9v032.c 		dev_err(&client->dev, "control initialization error %d\n",
client           1164 drivers/media/i2c/mt9v032.c 	v4l2_i2c_subdev_init(&mt9v032->subdev, client, &mt9v032_subdev_ops);
client           1174 drivers/media/i2c/mt9v032.c 	mt9v032->subdev.dev = &client->dev;
client           1187 drivers/media/i2c/mt9v032.c static int mt9v032_remove(struct i2c_client *client)
client           1189 drivers/media/i2c/mt9v032.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client            119 drivers/media/i2c/mt9v111.c 	struct i2c_client *client;
client            412 drivers/media/i2c/mt9v111.c 	struct i2c_client *c = mt9v111->client;
client            536 drivers/media/i2c/mt9v111.c 	struct i2c_client *c = mt9v111->client;
client           1025 drivers/media/i2c/mt9v111.c 			ret = mt9v111_update(mt9v111->client, MT9V111_R01_IFP,
client           1030 drivers/media/i2c/mt9v111.c 			ret = mt9v111_update(mt9v111->client, MT9V111_R01_IFP,
client           1041 drivers/media/i2c/mt9v111.c 		ret = mt9v111_update(mt9v111->client, MT9V111_R01_IFP,
client           1048 drivers/media/i2c/mt9v111.c 		ret = mt9v111_update(mt9v111->client, MT9V111_R01_IFP,
client           1055 drivers/media/i2c/mt9v111.c 		ret = mt9v111_update(mt9v111->client, MT9V111_R01_CORE,
client           1061 drivers/media/i2c/mt9v111.c 		ret = mt9v111_update(mt9v111->client, MT9V111_R01_CORE,
client           1084 drivers/media/i2c/mt9v111.c 	ret = mt9v111_read(mt9v111->client, MT9V111_R01_CORE,
client           1107 drivers/media/i2c/mt9v111.c static int mt9v111_probe(struct i2c_client *client)
client           1113 drivers/media/i2c/mt9v111.c 	mt9v111 = devm_kzalloc(&client->dev, sizeof(*mt9v111), GFP_KERNEL);
client           1117 drivers/media/i2c/mt9v111.c 	mt9v111->dev = &client->dev;
client           1118 drivers/media/i2c/mt9v111.c 	mt9v111->client = client;
client           1120 drivers/media/i2c/mt9v111.c 	mt9v111->clk = devm_clk_get(&client->dev, NULL);
client           1128 drivers/media/i2c/mt9v111.c 	mt9v111->oe = devm_gpiod_get_optional(&client->dev, "enable",
client           1131 drivers/media/i2c/mt9v111.c 		dev_err(&client->dev, "Unable to get GPIO \"enable\": %ld\n",
client           1136 drivers/media/i2c/mt9v111.c 	mt9v111->standby = devm_gpiod_get_optional(&client->dev, "standby",
client           1139 drivers/media/i2c/mt9v111.c 		dev_err(&client->dev, "Unable to get GPIO \"standby\": %ld\n",
client           1144 drivers/media/i2c/mt9v111.c 	mt9v111->reset = devm_gpiod_get_optional(&client->dev, "reset",
client           1147 drivers/media/i2c/mt9v111.c 		dev_err(&client->dev, "Unable to get GPIO \"reset\": %ld\n",
client           1203 drivers/media/i2c/mt9v111.c 	v4l2_i2c_subdev_init(&mt9v111->sd, client, &mt9v111_ops);
client           1240 drivers/media/i2c/mt9v111.c static int mt9v111_remove(struct i2c_client *client)
client           1242 drivers/media/i2c/mt9v111.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            242 drivers/media/i2c/noon010pc30.c 			       struct i2c_client *client, unsigned int reg)
client            248 drivers/media/i2c/noon010pc30.c 		ret = i2c_smbus_write_byte_data(client, PAGEMODE_REG, page);
client            257 drivers/media/i2c/noon010pc30.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            259 drivers/media/i2c/noon010pc30.c 	int ret = set_i2c_page(info, client, reg_addr);
client            263 drivers/media/i2c/noon010pc30.c 	return i2c_smbus_read_byte_data(client, reg_addr & 0xFF);
client            268 drivers/media/i2c/noon010pc30.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            270 drivers/media/i2c/noon010pc30.c 	int ret = set_i2c_page(info, client, reg_addr);
client            274 drivers/media/i2c/noon010pc30.c 	return i2c_smbus_write_byte_data(client, reg_addr & 0xFF, val);
client            680 drivers/media/i2c/noon010pc30.c static int noon010_detect(struct i2c_client *client, struct noon010_info *info)
client            688 drivers/media/i2c/noon010pc30.c 	ret = i2c_smbus_read_byte_data(client, DEVICE_ID_REG);
client            690 drivers/media/i2c/noon010pc30.c 		dev_err(&client->dev, "I2C read failed: 0x%X\n", ret);
client            697 drivers/media/i2c/noon010pc30.c static int noon010_probe(struct i2c_client *client,
client            703 drivers/media/i2c/noon010pc30.c 		= client->dev.platform_data;
client            708 drivers/media/i2c/noon010pc30.c 		dev_err(&client->dev, "No platform data!\n");
client            712 drivers/media/i2c/noon010pc30.c 	info = devm_kzalloc(&client->dev, sizeof(*info), GFP_KERNEL);
client            718 drivers/media/i2c/noon010pc30.c 	v4l2_i2c_subdev_init(sd, client, &noon010_ops);
client            747 drivers/media/i2c/noon010pc30.c 		ret = devm_gpio_request_one(&client->dev, pdata->gpio_nreset,
client            751 drivers/media/i2c/noon010pc30.c 			dev_err(&client->dev, "GPIO request error: %d\n", ret);
client            759 drivers/media/i2c/noon010pc30.c 		ret = devm_gpio_request_one(&client->dev, pdata->gpio_nstby,
client            763 drivers/media/i2c/noon010pc30.c 			dev_err(&client->dev, "GPIO request error: %d\n", ret);
client            773 drivers/media/i2c/noon010pc30.c 	ret = devm_regulator_bulk_get(&client->dev, NOON010_NUM_SUPPLIES,
client            784 drivers/media/i2c/noon010pc30.c 	ret = noon010_detect(client, info);
client            794 drivers/media/i2c/noon010pc30.c static int noon010_remove(struct i2c_client *client)
client            796 drivers/media/i2c/noon010pc30.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1056 drivers/media/i2c/ov13858.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov13858->sd);
client           1068 drivers/media/i2c/ov13858.c 	msgs[0].addr = client->addr;
client           1074 drivers/media/i2c/ov13858.c 	msgs[1].addr = client->addr;
client           1079 drivers/media/i2c/ov13858.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client           1092 drivers/media/i2c/ov13858.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov13858->sd);
client           1111 drivers/media/i2c/ov13858.c 	if (i2c_master_send(client, buf, len + 2) != len + 2)
client           1121 drivers/media/i2c/ov13858.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov13858->sd);
client           1130 drivers/media/i2c/ov13858.c 				&client->dev,
client           1214 drivers/media/i2c/ov13858.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov13858->sd);
client           1233 drivers/media/i2c/ov13858.c 	if (!pm_runtime_get_if_in_use(&client->dev))
client           1261 drivers/media/i2c/ov13858.c 		dev_info(&client->dev,
client           1267 drivers/media/i2c/ov13858.c 	pm_runtime_put(&client->dev);
client           1414 drivers/media/i2c/ov13858.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov13858->sd);
client           1422 drivers/media/i2c/ov13858.c 		dev_err(&client->dev, "%s failed to set powerup registers\n",
client           1432 drivers/media/i2c/ov13858.c 		dev_err(&client->dev, "%s failed to set plls\n", __func__);
client           1440 drivers/media/i2c/ov13858.c 		dev_err(&client->dev, "%s failed to set mode\n", __func__);
client           1464 drivers/media/i2c/ov13858.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1474 drivers/media/i2c/ov13858.c 		ret = pm_runtime_get_sync(&client->dev);
client           1476 drivers/media/i2c/ov13858.c 			pm_runtime_put_noidle(&client->dev);
client           1489 drivers/media/i2c/ov13858.c 		pm_runtime_put(&client->dev);
client           1498 drivers/media/i2c/ov13858.c 	pm_runtime_put(&client->dev);
client           1507 drivers/media/i2c/ov13858.c 	struct i2c_client *client = to_i2c_client(dev);
client           1508 drivers/media/i2c/ov13858.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1519 drivers/media/i2c/ov13858.c 	struct i2c_client *client = to_i2c_client(dev);
client           1520 drivers/media/i2c/ov13858.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1541 drivers/media/i2c/ov13858.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov13858->sd);
client           1551 drivers/media/i2c/ov13858.c 		dev_err(&client->dev, "chip id mismatch: %x!=%x\n",
client           1591 drivers/media/i2c/ov13858.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov13858->sd);
client           1664 drivers/media/i2c/ov13858.c 		dev_err(&client->dev, "%s control init failed (%d)\n",
client           1686 drivers/media/i2c/ov13858.c static int ov13858_probe(struct i2c_client *client,
client           1693 drivers/media/i2c/ov13858.c 	device_property_read_u32(&client->dev, "clock-frequency", &val);
client           1697 drivers/media/i2c/ov13858.c 	ov13858 = devm_kzalloc(&client->dev, sizeof(*ov13858), GFP_KERNEL);
client           1702 drivers/media/i2c/ov13858.c 	v4l2_i2c_subdev_init(&ov13858->sd, client, &ov13858_subdev_ops);
client           1707 drivers/media/i2c/ov13858.c 		dev_err(&client->dev, "failed to find sensor: %d\n", ret);
client           1728 drivers/media/i2c/ov13858.c 		dev_err(&client->dev, "%s failed:%d\n", __func__, ret);
client           1740 drivers/media/i2c/ov13858.c 	pm_runtime_set_active(&client->dev);
client           1741 drivers/media/i2c/ov13858.c 	pm_runtime_enable(&client->dev);
client           1742 drivers/media/i2c/ov13858.c 	pm_runtime_idle(&client->dev);
client           1751 drivers/media/i2c/ov13858.c 	dev_err(&client->dev, "%s failed:%d\n", __func__, ret);
client           1756 drivers/media/i2c/ov13858.c static int ov13858_remove(struct i2c_client *client)
client           1758 drivers/media/i2c/ov13858.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1765 drivers/media/i2c/ov13858.c 	pm_runtime_disable(&client->dev);
client            648 drivers/media/i2c/ov2640.c static struct ov2640_priv *to_ov2640(const struct i2c_client *client)
client            650 drivers/media/i2c/ov2640.c 	return container_of(i2c_get_clientdata(client), struct ov2640_priv,
client            654 drivers/media/i2c/ov2640.c static int ov2640_write_array(struct i2c_client *client,
client            660 drivers/media/i2c/ov2640.c 		ret = i2c_smbus_write_byte_data(client,
client            662 drivers/media/i2c/ov2640.c 		dev_vdbg(&client->dev, "array: 0x%02x, 0x%02x",
client            672 drivers/media/i2c/ov2640.c static int ov2640_mask_set(struct i2c_client *client,
client            675 drivers/media/i2c/ov2640.c 	s32 val = i2c_smbus_read_byte_data(client, reg);
client            682 drivers/media/i2c/ov2640.c 	dev_vdbg(&client->dev, "masks: 0x%02x, 0x%02x", reg, val);
client            684 drivers/media/i2c/ov2640.c 	return i2c_smbus_write_byte_data(client, reg, val);
client            687 drivers/media/i2c/ov2640.c static int ov2640_reset(struct i2c_client *client)
client            696 drivers/media/i2c/ov2640.c 	ret = ov2640_write_array(client, reset_seq);
client            702 drivers/media/i2c/ov2640.c 	dev_dbg(&client->dev, "%s: (ret %d)", __func__, ret);
client            718 drivers/media/i2c/ov2640.c 	struct i2c_client  *client = v4l2_get_subdevdata(sd);
client            719 drivers/media/i2c/ov2640.c 	struct ov2640_priv *priv = to_ov2640(client);
client            733 drivers/media/i2c/ov2640.c 	ret = i2c_smbus_write_byte_data(client, BANK_SEL, BANK_SEL_SENS);
client            740 drivers/media/i2c/ov2640.c 		return ov2640_mask_set(client, REG04,
client            745 drivers/media/i2c/ov2640.c 		return ov2640_mask_set(client, REG04, REG04_HFLIP_IMG, val);
client            748 drivers/media/i2c/ov2640.c 		return ov2640_mask_set(client, COM7, COM7_COLOR_BAR_TEST, val);
client            758 drivers/media/i2c/ov2640.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            765 drivers/media/i2c/ov2640.c 	ret = i2c_smbus_read_byte_data(client, reg->reg);
client            777 drivers/media/i2c/ov2640.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            783 drivers/media/i2c/ov2640.c 	return i2c_smbus_write_byte_data(client, reg->reg, reg->val);
client            803 drivers/media/i2c/ov2640.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            804 drivers/media/i2c/ov2640.c 	struct ov2640_priv *priv = to_ov2640(client);
client            835 drivers/media/i2c/ov2640.c static int ov2640_set_params(struct i2c_client *client,
client            844 drivers/media/i2c/ov2640.c 		dev_dbg(&client->dev, "%s: Selected cfmt RGB565 BE", __func__);
client            848 drivers/media/i2c/ov2640.c 		dev_dbg(&client->dev, "%s: Selected cfmt RGB565 LE", __func__);
client            852 drivers/media/i2c/ov2640.c 		dev_dbg(&client->dev, "%s: Selected cfmt YUYV (YUV422)", __func__);
client            857 drivers/media/i2c/ov2640.c 		dev_dbg(&client->dev, "%s: Selected cfmt UYVY", __func__);
client            861 drivers/media/i2c/ov2640.c 		dev_dbg(&client->dev, "%s: Selected cfmt YVYU", __func__);
client            865 drivers/media/i2c/ov2640.c 		dev_dbg(&client->dev, "%s: Selected cfmt VYUY", __func__);
client            871 drivers/media/i2c/ov2640.c 	ov2640_reset(client);
client            874 drivers/media/i2c/ov2640.c 	dev_dbg(&client->dev, "%s: Init default", __func__);
client            875 drivers/media/i2c/ov2640.c 	ret = ov2640_write_array(client, ov2640_init_regs);
client            880 drivers/media/i2c/ov2640.c 	dev_dbg(&client->dev, "%s: Set size to %s", __func__, win->name);
client            881 drivers/media/i2c/ov2640.c 	ret = ov2640_write_array(client, ov2640_size_change_preamble_regs);
client            886 drivers/media/i2c/ov2640.c 	ret = ov2640_write_array(client, win->regs);
client            891 drivers/media/i2c/ov2640.c 	dev_dbg(&client->dev, "%s: Set cfmt", __func__);
client            892 drivers/media/i2c/ov2640.c 	ret = ov2640_write_array(client, ov2640_format_change_preamble_regs);
client            897 drivers/media/i2c/ov2640.c 	ret = ov2640_write_array(client, selected_cfmt_regs);
client            902 drivers/media/i2c/ov2640.c 	ret = ov2640_mask_set(client, CTRL0, CTRL0_VFIRST, val);
client            909 drivers/media/i2c/ov2640.c 	dev_err(&client->dev, "%s: Error %d", __func__, ret);
client            910 drivers/media/i2c/ov2640.c 	ov2640_reset(client);
client            920 drivers/media/i2c/ov2640.c 	struct i2c_client  *client = v4l2_get_subdevdata(sd);
client            921 drivers/media/i2c/ov2640.c 	struct ov2640_priv *priv = to_ov2640(client);
client            953 drivers/media/i2c/ov2640.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            954 drivers/media/i2c/ov2640.c 	struct ov2640_priv *priv = to_ov2640(client);
client            988 drivers/media/i2c/ov2640.c 		struct ov2640_priv *priv = to_ov2640(client);
client           1061 drivers/media/i2c/ov2640.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1062 drivers/media/i2c/ov2640.c 	struct ov2640_priv *priv = to_ov2640(client);
client           1068 drivers/media/i2c/ov2640.c 			ret = ov2640_set_params(client, priv->win,
client           1081 drivers/media/i2c/ov2640.c static int ov2640_video_probe(struct i2c_client *client)
client           1083 drivers/media/i2c/ov2640.c 	struct ov2640_priv *priv = to_ov2640(client);
client           1095 drivers/media/i2c/ov2640.c 	i2c_smbus_write_byte_data(client, BANK_SEL, BANK_SEL_SENS);
client           1096 drivers/media/i2c/ov2640.c 	pid  = i2c_smbus_read_byte_data(client, PID);
client           1097 drivers/media/i2c/ov2640.c 	ver  = i2c_smbus_read_byte_data(client, VER);
client           1098 drivers/media/i2c/ov2640.c 	midh = i2c_smbus_read_byte_data(client, MIDH);
client           1099 drivers/media/i2c/ov2640.c 	midl = i2c_smbus_read_byte_data(client, MIDL);
client           1106 drivers/media/i2c/ov2640.c 		dev_err(&client->dev,
client           1112 drivers/media/i2c/ov2640.c 	dev_info(&client->dev,
client           1154 drivers/media/i2c/ov2640.c static int ov2640_probe_dt(struct i2c_client *client,
client           1160 drivers/media/i2c/ov2640.c 	priv->resetb_gpio = devm_gpiod_get_optional(&client->dev, "resetb",
client           1164 drivers/media/i2c/ov2640.c 		dev_dbg(&client->dev, "resetb gpio is not assigned!\n");
client           1168 drivers/media/i2c/ov2640.c 		dev_dbg(&client->dev,
client           1174 drivers/media/i2c/ov2640.c 	priv->pwdn_gpio = devm_gpiod_get_optional(&client->dev, "pwdn",
client           1178 drivers/media/i2c/ov2640.c 		dev_dbg(&client->dev, "pwdn gpio is not assigned!\n");
client           1182 drivers/media/i2c/ov2640.c 		dev_dbg(&client->dev,
client           1193 drivers/media/i2c/ov2640.c static int ov2640_probe(struct i2c_client *client)
client           1196 drivers/media/i2c/ov2640.c 	struct i2c_adapter	*adapter = client->adapter;
client           1205 drivers/media/i2c/ov2640.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client           1209 drivers/media/i2c/ov2640.c 	if (client->dev.of_node) {
client           1210 drivers/media/i2c/ov2640.c 		priv->clk = devm_clk_get(&client->dev, "xvclk");
client           1218 drivers/media/i2c/ov2640.c 	ret = ov2640_probe_dt(client, priv);
client           1225 drivers/media/i2c/ov2640.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &ov2640_subdev_ops);
client           1252 drivers/media/i2c/ov2640.c 	ret = ov2640_video_probe(client);
client           1274 drivers/media/i2c/ov2640.c static int ov2640_remove(struct i2c_client *client)
client           1276 drivers/media/i2c/ov2640.c 	struct ov2640_priv       *priv = to_ov2640(client);
client            228 drivers/media/i2c/ov2659.c 	struct i2c_client *client;
client            842 drivers/media/i2c/ov2659.c static int ov2659_write(struct i2c_client *client, u16 reg, u8 val)
client            852 drivers/media/i2c/ov2659.c 	msg.addr = client->addr;
client            853 drivers/media/i2c/ov2659.c 	msg.flags = client->flags;
client            857 drivers/media/i2c/ov2659.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            861 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev,
client            868 drivers/media/i2c/ov2659.c static int ov2659_read(struct i2c_client *client, u16 reg, u8 *val)
client            877 drivers/media/i2c/ov2659.c 	msg[0].addr = client->addr;
client            878 drivers/media/i2c/ov2659.c 	msg[0].flags = client->flags;
client            882 drivers/media/i2c/ov2659.c 	msg[1].addr = client->addr;
client            883 drivers/media/i2c/ov2659.c 	msg[1].flags = client->flags | I2C_M_RD;
client            887 drivers/media/i2c/ov2659.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            893 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev,
client            899 drivers/media/i2c/ov2659.c static int ov2659_write_array(struct i2c_client *client,
client            905 drivers/media/i2c/ov2659.c 		ret = ov2659_write(client, regs[i].addr, regs[i].value);
client            914 drivers/media/i2c/ov2659.c 	struct i2c_client *client = ov2659->client;
client            947 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev,
client            954 drivers/media/i2c/ov2659.c 	struct i2c_client *client = ov2659->client;
client            962 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            964 drivers/media/i2c/ov2659.c 	return ov2659_write_array(client, pll_regs);
client            978 drivers/media/i2c/ov2659.c 	struct i2c_client *client = ov2659->client;
client            983 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "%s: on: %d\n", __func__, on);
client            985 drivers/media/i2c/ov2659.c 	ret = ov2659_write(client, REG_SOFTWARE_STANDBY, on);
client            987 drivers/media/i2c/ov2659.c 		dev_err(&client->dev, "ov2659 soft standby failed\n");
client            992 drivers/media/i2c/ov2659.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            994 drivers/media/i2c/ov2659.c 	return ov2659_write_array(client, ov2659_init_regs);
client           1005 drivers/media/i2c/ov2659.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1007 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "%s:\n", __func__);
client           1021 drivers/media/i2c/ov2659.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1024 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "%s:\n", __func__);
client           1047 drivers/media/i2c/ov2659.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1050 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "ov2659_get_fmt\n");
client           1070 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "ov2659_get_fmt: %x %dx%d\n",
client           1109 drivers/media/i2c/ov2659.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1116 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "ov2659_set_fmt\n");
client           1159 drivers/media/i2c/ov2659.c 			dev_warn(&client->dev,
client           1170 drivers/media/i2c/ov2659.c 	struct i2c_client *client = ov2659->client;
client           1172 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "%s\n", __func__);
client           1174 drivers/media/i2c/ov2659.c 	return ov2659_write_array(ov2659->client, ov2659->frame_size->regs);
client           1179 drivers/media/i2c/ov2659.c 	struct i2c_client *client = ov2659->client;
client           1181 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "%s\n", __func__);
client           1183 drivers/media/i2c/ov2659.c 	return ov2659_write_array(ov2659->client, ov2659->format_ctrl_regs);
client           1188 drivers/media/i2c/ov2659.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1192 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "%s: on: %d\n", __func__, on);
client           1225 drivers/media/i2c/ov2659.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov2659->sd);
client           1229 drivers/media/i2c/ov2659.c 	ret = ov2659_read(client, REG_PRE_ISP_CTRL00, &val);
client           1243 drivers/media/i2c/ov2659.c 	return ov2659_write(client, REG_PRE_ISP_CTRL00, val);
client           1275 drivers/media/i2c/ov2659.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1279 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "%s:\n", __func__);
client           1318 drivers/media/i2c/ov2659.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1323 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "%s:\n", __func__);
client           1325 drivers/media/i2c/ov2659.c 	ret = ov2659_write(client, REG_SOFTWARE_RESET, 0x01);
client           1327 drivers/media/i2c/ov2659.c 		dev_err(&client->dev, "Sensor soft reset failed\n");
client           1333 drivers/media/i2c/ov2659.c 	ret = ov2659_read(client, REG_SC_CHIP_ID_H, &pid);
client           1335 drivers/media/i2c/ov2659.c 		ret = ov2659_read(client, REG_SC_CHIP_ID_L, &ver);
client           1342 drivers/media/i2c/ov2659.c 			dev_err(&client->dev,
client           1346 drivers/media/i2c/ov2659.c 			dev_info(&client->dev, "Found OV%04X sensor\n", id);
client           1355 drivers/media/i2c/ov2659.c ov2659_get_pdata(struct i2c_client *client)
client           1362 drivers/media/i2c/ov2659.c 	if (!IS_ENABLED(CONFIG_OF) || !client->dev.of_node)
client           1363 drivers/media/i2c/ov2659.c 		return client->dev.platform_data;
client           1365 drivers/media/i2c/ov2659.c 	endpoint = of_graph_get_next_endpoint(client->dev.of_node, NULL);
client           1376 drivers/media/i2c/ov2659.c 	pdata = devm_kzalloc(&client->dev, sizeof(*pdata), GFP_KERNEL);
client           1381 drivers/media/i2c/ov2659.c 		dev_err(&client->dev,
client           1395 drivers/media/i2c/ov2659.c static int ov2659_probe(struct i2c_client *client)
client           1397 drivers/media/i2c/ov2659.c 	const struct ov2659_platform_data *pdata = ov2659_get_pdata(client);
client           1404 drivers/media/i2c/ov2659.c 		dev_err(&client->dev, "platform data not specified\n");
client           1408 drivers/media/i2c/ov2659.c 	ov2659 = devm_kzalloc(&client->dev, sizeof(*ov2659), GFP_KERNEL);
client           1413 drivers/media/i2c/ov2659.c 	ov2659->client = client;
client           1415 drivers/media/i2c/ov2659.c 	clk = devm_clk_get(&client->dev, "xvclk");
client           1438 drivers/media/i2c/ov2659.c 		dev_err(&client->dev, "%s: control initialization error %d\n",
client           1444 drivers/media/i2c/ov2659.c 	client->flags |= I2C_CLIENT_SCCB;
client           1446 drivers/media/i2c/ov2659.c 	v4l2_i2c_subdev_init(sd, client, &ov2659_subdev_ops);
client           1480 drivers/media/i2c/ov2659.c 	dev_info(&client->dev, "%s sensor driver registered !!\n", sd->name);
client           1491 drivers/media/i2c/ov2659.c static int ov2659_remove(struct i2c_client *client)
client           1493 drivers/media/i2c/ov2659.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            200 drivers/media/i2c/ov2680.c 	struct i2c_client *client = sensor->i2c_client;
client            209 drivers/media/i2c/ov2680.c 	ret = i2c_master_send(client, buf, len + 2);
client            211 drivers/media/i2c/ov2680.c 		dev_err(&client->dev, "write error: reg=0x%4x: %d\n", reg, ret);
client            230 drivers/media/i2c/ov2680.c 	struct i2c_client *client = sensor->i2c_client;
client            239 drivers/media/i2c/ov2680.c 	msgs[0].addr = client->addr;
client            244 drivers/media/i2c/ov2680.c 	msgs[1].addr = client->addr;
client            249 drivers/media/i2c/ov2680.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            251 drivers/media/i2c/ov2680.c 		dev_err(&client->dev, "read error: reg=0x%4x: %d\n", reg, ret);
client           1052 drivers/media/i2c/ov2680.c static int ov2680_probe(struct i2c_client *client)
client           1054 drivers/media/i2c/ov2680.c 	struct device *dev = &client->dev;
client           1062 drivers/media/i2c/ov2680.c 	sensor->i2c_client = client;
client           1099 drivers/media/i2c/ov2680.c static int ov2680_remove(struct i2c_client *client)
client           1101 drivers/media/i2c/ov2680.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1114 drivers/media/i2c/ov2680.c 	struct i2c_client *client = to_i2c_client(dev);
client           1115 drivers/media/i2c/ov2680.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1126 drivers/media/i2c/ov2680.c 	struct i2c_client *client = to_i2c_client(dev);
client           1127 drivers/media/i2c/ov2680.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             84 drivers/media/i2c/ov2685.c 	struct i2c_client	*client;
client            245 drivers/media/i2c/ov2685.c static int ov2685_write_reg(struct i2c_client *client, u16 reg,
client            267 drivers/media/i2c/ov2685.c 	if (i2c_master_send(client, buf, len + 2) != len + 2)
client            273 drivers/media/i2c/ov2685.c static int ov2685_write_array(struct i2c_client *client,
client            280 drivers/media/i2c/ov2685.c 		ret = ov2685_write_reg(client, regs[i].addr,
client            287 drivers/media/i2c/ov2685.c static int ov2685_read_reg(struct i2c_client *client, u16 reg,
client            301 drivers/media/i2c/ov2685.c 	msgs[0].addr = client->addr;
client            307 drivers/media/i2c/ov2685.c 	msgs[1].addr = client->addr;
client            312 drivers/media/i2c/ov2685.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            396 drivers/media/i2c/ov2685.c 	struct device *dev = &ov2685->client->dev;
client            421 drivers/media/i2c/ov2685.c 	ret = ov2685_write_array(ov2685->client, ov2685->cur_mode->reg_list);
client            449 drivers/media/i2c/ov2685.c 	struct i2c_client *client = ov2685->client;
client            459 drivers/media/i2c/ov2685.c 		ret = pm_runtime_get_sync(&ov2685->client->dev);
client            461 drivers/media/i2c/ov2685.c 			pm_runtime_put_noidle(&client->dev);
client            466 drivers/media/i2c/ov2685.c 			pm_runtime_put(&client->dev);
client            469 drivers/media/i2c/ov2685.c 		ret = ov2685_write_reg(client, REG_SC_CTRL_MODE,
client            472 drivers/media/i2c/ov2685.c 			pm_runtime_put(&client->dev);
client            476 drivers/media/i2c/ov2685.c 		ov2685_write_reg(client, REG_SC_CTRL_MODE,
client            478 drivers/media/i2c/ov2685.c 		pm_runtime_put(&ov2685->client->dev);
client            509 drivers/media/i2c/ov2685.c 	struct i2c_client *client = to_i2c_client(dev);
client            510 drivers/media/i2c/ov2685.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            518 drivers/media/i2c/ov2685.c 	struct i2c_client *client = to_i2c_client(dev);
client            519 drivers/media/i2c/ov2685.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            536 drivers/media/i2c/ov2685.c 	struct i2c_client *client = ov2685->client;
client            552 drivers/media/i2c/ov2685.c 	if (!pm_runtime_get_if_in_use(&client->dev))
client            557 drivers/media/i2c/ov2685.c 		ret = ov2685_write_reg(ov2685->client, OV2685_REG_EXPOSURE,
client            561 drivers/media/i2c/ov2685.c 		ret = ov2685_write_reg(ov2685->client, OV2685_REG_GAIN,
client            565 drivers/media/i2c/ov2685.c 		ret = ov2685_write_reg(ov2685->client, OV2685_REG_VTS,
client            570 drivers/media/i2c/ov2685.c 		ret = ov2685_write_reg(ov2685->client, OV2685_REG_TEST_PATTERN,
client            575 drivers/media/i2c/ov2685.c 		dev_warn(&client->dev, "%s Unhandled id:0x%x, val:0x%x\n",
client            581 drivers/media/i2c/ov2685.c 	pm_runtime_put(&client->dev);
client            667 drivers/media/i2c/ov2685.c 		dev_err(&ov2685->client->dev,
client            683 drivers/media/i2c/ov2685.c 				  struct i2c_client *client)
client            685 drivers/media/i2c/ov2685.c 	struct device *dev = &ov2685->client->dev;
client            689 drivers/media/i2c/ov2685.c 	ret = ov2685_read_reg(client, OV2685_REG_CHIP_ID,
client            708 drivers/media/i2c/ov2685.c 	return devm_regulator_bulk_get(&ov2685->client->dev,
client            713 drivers/media/i2c/ov2685.c static int ov2685_probe(struct i2c_client *client,
client            716 drivers/media/i2c/ov2685.c 	struct device *dev = &client->dev;
client            724 drivers/media/i2c/ov2685.c 	ov2685->client = client;
client            753 drivers/media/i2c/ov2685.c 	v4l2_i2c_subdev_init(&ov2685->subdev, client, &ov2685_subdev_ops);
client            762 drivers/media/i2c/ov2685.c 	ret = ov2685_check_sensor_id(ov2685, client);
client            804 drivers/media/i2c/ov2685.c static int ov2685_remove(struct i2c_client *client)
client            806 drivers/media/i2c/ov2685.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            816 drivers/media/i2c/ov2685.c 	pm_runtime_disable(&client->dev);
client            817 drivers/media/i2c/ov2685.c 	if (!pm_runtime_status_suspended(&client->dev))
client            819 drivers/media/i2c/ov2685.c 	pm_runtime_set_suspended(&client->dev);
client            591 drivers/media/i2c/ov5640.c 	struct i2c_client *client = sensor->i2c_client;
client            596 drivers/media/i2c/ov5640.c 	if (client->addr == OV5640_DEFAULT_SLAVE_ID)
client            601 drivers/media/i2c/ov5640.c 	buf[2] = client->addr << 1;
client            608 drivers/media/i2c/ov5640.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            610 drivers/media/i2c/ov5640.c 		dev_err(&client->dev, "%s: failed with %d\n", __func__, ret);
client            619 drivers/media/i2c/ov5640.c 	struct i2c_client *client = sensor->i2c_client;
client            628 drivers/media/i2c/ov5640.c 	msg.addr = client->addr;
client            629 drivers/media/i2c/ov5640.c 	msg.flags = client->flags;
client            633 drivers/media/i2c/ov5640.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            635 drivers/media/i2c/ov5640.c 		dev_err(&client->dev, "%s: error: reg=%x, val=%x\n",
client            645 drivers/media/i2c/ov5640.c 	struct i2c_client *client = sensor->i2c_client;
client            653 drivers/media/i2c/ov5640.c 	msg[0].addr = client->addr;
client            654 drivers/media/i2c/ov5640.c 	msg[0].flags = client->flags;
client            658 drivers/media/i2c/ov5640.c 	msg[1].addr = client->addr;
client            659 drivers/media/i2c/ov5640.c 	msg[1].flags = client->flags | I2C_M_RD;
client            663 drivers/media/i2c/ov5640.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            665 drivers/media/i2c/ov5640.c 		dev_err(&client->dev, "%s: error: reg=%x\n",
client           1575 drivers/media/i2c/ov5640.c 	struct i2c_client *client = sensor->i2c_client;
client           1580 drivers/media/i2c/ov5640.c 		dev_err(&client->dev,
client           1948 drivers/media/i2c/ov5640.c 	struct i2c_client *client = sensor->i2c_client;
client           1953 drivers/media/i2c/ov5640.c 		dev_err(&client->dev, "%s: failed to enable clock\n",
client           1961 drivers/media/i2c/ov5640.c 		dev_err(&client->dev, "%s: failed to enable regulators\n",
client           2918 drivers/media/i2c/ov5640.c 	struct i2c_client *client = sensor->i2c_client;
client           2928 drivers/media/i2c/ov5640.c 		dev_err(&client->dev, "%s: failed to read chip identifier\n",
client           2934 drivers/media/i2c/ov5640.c 		dev_err(&client->dev, "%s: wrong chip identifier, expected 0x5640, got 0x%x\n",
client           2944 drivers/media/i2c/ov5640.c static int ov5640_probe(struct i2c_client *client)
client           2946 drivers/media/i2c/ov5640.c 	struct device *dev = &client->dev;
client           2957 drivers/media/i2c/ov5640.c 	sensor->i2c_client = client;
client           2982 drivers/media/i2c/ov5640.c 	ret = fwnode_property_read_u32(dev_fwnode(&client->dev), "rotation",
client           2997 drivers/media/i2c/ov5640.c 	endpoint = fwnode_graph_get_next_endpoint(dev_fwnode(&client->dev),
client           3038 drivers/media/i2c/ov5640.c 	v4l2_i2c_subdev_init(&sensor->sd, client, &ov5640_subdev_ops);
client           3076 drivers/media/i2c/ov5640.c static int ov5640_remove(struct i2c_client *client)
client           3078 drivers/media/i2c/ov5640.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1052 drivers/media/i2c/ov5645.c static int ov5645_probe(struct i2c_client *client)
client           1054 drivers/media/i2c/ov5645.c 	struct device *dev = &client->dev;
client           1066 drivers/media/i2c/ov5645.c 	ov5645->i2c_client = client;
client           1177 drivers/media/i2c/ov5645.c 	v4l2_i2c_subdev_init(&ov5645->sd, client, &ov5645_subdev_ops);
client           1180 drivers/media/i2c/ov5645.c 	ov5645->sd.dev = &client->dev;
client           1208 drivers/media/i2c/ov5645.c 	dev_info(dev, "OV5645 detected at address 0x%02x\n", client->addr);
client           1257 drivers/media/i2c/ov5645.c static int ov5645_remove(struct i2c_client *client)
client           1259 drivers/media/i2c/ov5645.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            203 drivers/media/i2c/ov5647.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            205 drivers/media/i2c/ov5647.c 	ret = i2c_master_send(client, data, 3);
client            207 drivers/media/i2c/ov5647.c 		dev_dbg(&client->dev, "%s: i2c write error, reg: %x\n",
client            217 drivers/media/i2c/ov5647.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            219 drivers/media/i2c/ov5647.c 	ret = i2c_master_send(client, data_w, 2);
client            221 drivers/media/i2c/ov5647.c 		dev_dbg(&client->dev, "%s: i2c write error, reg: %x\n",
client            226 drivers/media/i2c/ov5647.c 	ret = i2c_master_recv(client, val, 1);
client            228 drivers/media/i2c/ov5647.c 		dev_dbg(&client->dev, "%s: i2c read error, reg: %x\n",
client            313 drivers/media/i2c/ov5647.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            322 drivers/media/i2c/ov5647.c 		dev_err(&client->dev, "write sensor default regs error\n");
client            335 drivers/media/i2c/ov5647.c 		dev_err(&client->dev, "Device was in SW standby");
client            351 drivers/media/i2c/ov5647.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            356 drivers/media/i2c/ov5647.c 		dev_dbg(&client->dev, "OV5647 power on\n");
client            360 drivers/media/i2c/ov5647.c 			dev_err(&client->dev, "clk prepare enable failed\n");
client            368 drivers/media/i2c/ov5647.c 			dev_err(&client->dev,
client            376 drivers/media/i2c/ov5647.c 			dev_err(&client->dev,
client            381 drivers/media/i2c/ov5647.c 		dev_dbg(&client->dev, "OV5647 power off\n");
client            387 drivers/media/i2c/ov5647.c 			dev_dbg(&client->dev, "disable oe failed\n");
client            392 drivers/media/i2c/ov5647.c 			dev_dbg(&client->dev, "soft stby failed\n");
client            480 drivers/media/i2c/ov5647.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            491 drivers/media/i2c/ov5647.c 		dev_err(&client->dev, "ID High expected 0x56 got %x", read);
client            500 drivers/media/i2c/ov5647.c 		dev_err(&client->dev, "ID Low expected 0x47 got %x", read);
client            550 drivers/media/i2c/ov5647.c static int ov5647_probe(struct i2c_client *client)
client            552 drivers/media/i2c/ov5647.c 	struct device *dev = &client->dev;
client            556 drivers/media/i2c/ov5647.c 	struct device_node *np = client->dev.of_node;
client            587 drivers/media/i2c/ov5647.c 	v4l2_i2c_subdev_init(sd, client, &ov5647_subdev_ops);
client            614 drivers/media/i2c/ov5647.c static int ov5647_remove(struct i2c_client *client)
client            616 drivers/media/i2c/ov5647.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1842 drivers/media/i2c/ov5670.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5670->sd);
client           1854 drivers/media/i2c/ov5670.c 	msgs[0].addr = client->addr;
client           1860 drivers/media/i2c/ov5670.c 	msgs[1].addr = client->addr;
client           1865 drivers/media/i2c/ov5670.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client           1878 drivers/media/i2c/ov5670.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5670->sd);
client           1899 drivers/media/i2c/ov5670.c 	if (i2c_master_send(client, buf, len + 2) != len + 2)
client           1909 drivers/media/i2c/ov5670.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5670->sd);
client           1917 drivers/media/i2c/ov5670.c 				&client->dev,
client           2003 drivers/media/i2c/ov5670.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5670->sd);
client           2019 drivers/media/i2c/ov5670.c 	if (!pm_runtime_get_if_in_use(&client->dev))
client           2045 drivers/media/i2c/ov5670.c 		dev_info(&client->dev, "%s Unhandled id:0x%x, val:0x%x\n",
client           2050 drivers/media/i2c/ov5670.c 	pm_runtime_put(&client->dev);
client           2264 drivers/media/i2c/ov5670.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5670->sd);
client           2273 drivers/media/i2c/ov5670.c 		dev_err(&client->dev, "%s failed to set powerup registers\n",
client           2283 drivers/media/i2c/ov5670.c 		dev_err(&client->dev, "%s failed to set plls\n", __func__);
client           2291 drivers/media/i2c/ov5670.c 		dev_err(&client->dev, "%s failed to set mode\n", __func__);
client           2303 drivers/media/i2c/ov5670.c 		dev_err(&client->dev, "%s failed to set stream\n", __func__);
client           2312 drivers/media/i2c/ov5670.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5670->sd);
client           2318 drivers/media/i2c/ov5670.c 		dev_err(&client->dev, "%s failed to set stream\n", __func__);
client           2329 drivers/media/i2c/ov5670.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           2337 drivers/media/i2c/ov5670.c 		ret = pm_runtime_get_sync(&client->dev);
client           2339 drivers/media/i2c/ov5670.c 			pm_runtime_put_noidle(&client->dev);
client           2348 drivers/media/i2c/ov5670.c 		pm_runtime_put(&client->dev);
client           2354 drivers/media/i2c/ov5670.c 	pm_runtime_put(&client->dev);
client           2364 drivers/media/i2c/ov5670.c 	struct i2c_client *client = to_i2c_client(dev);
client           2365 drivers/media/i2c/ov5670.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           2376 drivers/media/i2c/ov5670.c 	struct i2c_client *client = to_i2c_client(dev);
client           2377 drivers/media/i2c/ov5670.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           2395 drivers/media/i2c/ov5670.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5670->sd);
client           2405 drivers/media/i2c/ov5670.c 		dev_err(&client->dev, "chip id mismatch: %x!=%x\n",
client           2442 drivers/media/i2c/ov5670.c static int ov5670_probe(struct i2c_client *client)
client           2449 drivers/media/i2c/ov5670.c 	device_property_read_u32(&client->dev, "clock-frequency", &input_clk);
client           2453 drivers/media/i2c/ov5670.c 	ov5670 = devm_kzalloc(&client->dev, sizeof(*ov5670), GFP_KERNEL);
client           2461 drivers/media/i2c/ov5670.c 	v4l2_i2c_subdev_init(&ov5670->sd, client, &ov5670_subdev_ops);
client           2507 drivers/media/i2c/ov5670.c 	pm_runtime_set_active(&client->dev);
client           2508 drivers/media/i2c/ov5670.c 	pm_runtime_enable(&client->dev);
client           2509 drivers/media/i2c/ov5670.c 	pm_runtime_idle(&client->dev);
client           2523 drivers/media/i2c/ov5670.c 	dev_err(&client->dev, "%s: %s %d\n", __func__, err_msg, ret);
client           2528 drivers/media/i2c/ov5670.c static int ov5670_remove(struct i2c_client *client)
client           2530 drivers/media/i2c/ov5670.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           2538 drivers/media/i2c/ov5670.c 	pm_runtime_disable(&client->dev);
client            514 drivers/media/i2c/ov5675.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5675->sd);
client            524 drivers/media/i2c/ov5675.c 	msgs[0].addr = client->addr;
client            528 drivers/media/i2c/ov5675.c 	msgs[1].addr = client->addr;
client            533 drivers/media/i2c/ov5675.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            544 drivers/media/i2c/ov5675.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5675->sd);
client            552 drivers/media/i2c/ov5675.c 	if (i2c_master_send(client, buf, len + 2) != len + 2)
client            561 drivers/media/i2c/ov5675.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5675->sd);
client            569 drivers/media/i2c/ov5675.c 			dev_err_ratelimited(&client->dev,
client            611 drivers/media/i2c/ov5675.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5675->sd);
client            627 drivers/media/i2c/ov5675.c 	if (!pm_runtime_get_if_in_use(&client->dev))
client            662 drivers/media/i2c/ov5675.c 	pm_runtime_put(&client->dev);
client            744 drivers/media/i2c/ov5675.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5675->sd);
client            752 drivers/media/i2c/ov5675.c 		dev_err(&client->dev, "failed to set plls");
client            759 drivers/media/i2c/ov5675.c 		dev_err(&client->dev, "failed to set mode");
client            770 drivers/media/i2c/ov5675.c 		dev_err(&client->dev, "failed to set stream");
client            779 drivers/media/i2c/ov5675.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5675->sd);
client            783 drivers/media/i2c/ov5675.c 		dev_err(&client->dev, "failed to set stream");
client            789 drivers/media/i2c/ov5675.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            797 drivers/media/i2c/ov5675.c 		ret = pm_runtime_get_sync(&client->dev);
client            799 drivers/media/i2c/ov5675.c 			pm_runtime_put_noidle(&client->dev);
client            808 drivers/media/i2c/ov5675.c 			pm_runtime_put(&client->dev);
client            812 drivers/media/i2c/ov5675.c 		pm_runtime_put(&client->dev);
client            823 drivers/media/i2c/ov5675.c 	struct i2c_client *client = to_i2c_client(dev);
client            824 drivers/media/i2c/ov5675.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            838 drivers/media/i2c/ov5675.c 	struct i2c_client *client = to_i2c_client(dev);
client            839 drivers/media/i2c/ov5675.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            986 drivers/media/i2c/ov5675.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov5675->sd);
client            996 drivers/media/i2c/ov5675.c 		dev_err(&client->dev, "chip id mismatch: %x!=%x",
client           1073 drivers/media/i2c/ov5675.c static int ov5675_remove(struct i2c_client *client)
client           1075 drivers/media/i2c/ov5675.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1081 drivers/media/i2c/ov5675.c 	pm_runtime_disable(&client->dev);
client           1087 drivers/media/i2c/ov5675.c static int ov5675_probe(struct i2c_client *client)
client           1092 drivers/media/i2c/ov5675.c 	ret = ov5675_check_hwcfg(&client->dev);
client           1094 drivers/media/i2c/ov5675.c 		dev_err(&client->dev, "failed to check HW configuration: %d",
client           1099 drivers/media/i2c/ov5675.c 	ov5675 = devm_kzalloc(&client->dev, sizeof(*ov5675), GFP_KERNEL);
client           1103 drivers/media/i2c/ov5675.c 	v4l2_i2c_subdev_init(&ov5675->sd, client, &ov5675_subdev_ops);
client           1106 drivers/media/i2c/ov5675.c 		dev_err(&client->dev, "failed to find sensor: %d", ret);
client           1114 drivers/media/i2c/ov5675.c 		dev_err(&client->dev, "failed to init controls: %d", ret);
client           1125 drivers/media/i2c/ov5675.c 		dev_err(&client->dev, "failed to init entity pads: %d", ret);
client           1131 drivers/media/i2c/ov5675.c 		dev_err(&client->dev, "failed to register V4L2 subdev: %d",
client           1140 drivers/media/i2c/ov5675.c 	pm_runtime_set_active(&client->dev);
client           1141 drivers/media/i2c/ov5675.c 	pm_runtime_enable(&client->dev);
client           1142 drivers/media/i2c/ov5675.c 	pm_runtime_idle(&client->dev);
client             96 drivers/media/i2c/ov5695.c 	struct i2c_client	*client;
client            705 drivers/media/i2c/ov5695.c static int ov5695_write_reg(struct i2c_client *client, u16 reg,
client            727 drivers/media/i2c/ov5695.c 	if (i2c_master_send(client, buf, len + 2) != len + 2)
client            733 drivers/media/i2c/ov5695.c static int ov5695_write_array(struct i2c_client *client,
client            740 drivers/media/i2c/ov5695.c 		ret = ov5695_write_reg(client, regs[i].addr,
client            747 drivers/media/i2c/ov5695.c static int ov5695_read_reg(struct i2c_client *client, u16 reg, unsigned int len,
client            761 drivers/media/i2c/ov5695.c 	msgs[0].addr = client->addr;
client            767 drivers/media/i2c/ov5695.c 	msgs[1].addr = client->addr;
client            772 drivers/media/i2c/ov5695.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            907 drivers/media/i2c/ov5695.c 	return ov5695_write_reg(ov5695->client, OV5695_REG_TEST_PATTERN,
client            915 drivers/media/i2c/ov5695.c 	ret = ov5695_write_array(ov5695->client, ov5695_global_regs);
client            918 drivers/media/i2c/ov5695.c 	ret = ov5695_write_array(ov5695->client, ov5695->cur_mode->reg_list);
client            927 drivers/media/i2c/ov5695.c 	return ov5695_write_reg(ov5695->client, OV5695_REG_CTRL_MODE,
client            933 drivers/media/i2c/ov5695.c 	return ov5695_write_reg(ov5695->client, OV5695_REG_CTRL_MODE,
client            940 drivers/media/i2c/ov5695.c 	struct i2c_client *client = ov5695->client;
client            949 drivers/media/i2c/ov5695.c 		ret = pm_runtime_get_sync(&client->dev);
client            951 drivers/media/i2c/ov5695.c 			pm_runtime_put_noidle(&client->dev);
client            958 drivers/media/i2c/ov5695.c 			pm_runtime_put(&client->dev);
client            963 drivers/media/i2c/ov5695.c 		pm_runtime_put(&client->dev);
client            977 drivers/media/i2c/ov5695.c 	struct device *dev = &ov5695->client->dev;
client           1016 drivers/media/i2c/ov5695.c 	struct device *dev = &ov5695->client->dev;
client           1036 drivers/media/i2c/ov5695.c 	struct i2c_client *client = to_i2c_client(dev);
client           1037 drivers/media/i2c/ov5695.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1045 drivers/media/i2c/ov5695.c 	struct i2c_client *client = to_i2c_client(dev);
client           1046 drivers/media/i2c/ov5695.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1107 drivers/media/i2c/ov5695.c 	struct i2c_client *client = ov5695->client;
client           1123 drivers/media/i2c/ov5695.c 	if (!pm_runtime_get_if_in_use(&client->dev))
client           1129 drivers/media/i2c/ov5695.c 		ret = ov5695_write_reg(ov5695->client, OV5695_REG_EXPOSURE,
client           1133 drivers/media/i2c/ov5695.c 		ret = ov5695_write_reg(ov5695->client, OV5695_REG_ANALOG_GAIN,
client           1137 drivers/media/i2c/ov5695.c 		ret = ov5695_write_reg(ov5695->client, OV5695_REG_DIGI_GAIN_L,
client           1140 drivers/media/i2c/ov5695.c 		ret = ov5695_write_reg(ov5695->client, OV5695_REG_DIGI_GAIN_H,
client           1145 drivers/media/i2c/ov5695.c 		ret = ov5695_write_reg(ov5695->client, OV5695_REG_VTS,
client           1153 drivers/media/i2c/ov5695.c 		dev_warn(&client->dev, "%s Unhandled id:0x%x, val:0x%x\n",
client           1158 drivers/media/i2c/ov5695.c 	pm_runtime_put(&client->dev);
client           1227 drivers/media/i2c/ov5695.c 		dev_err(&ov5695->client->dev,
client           1243 drivers/media/i2c/ov5695.c 				  struct i2c_client *client)
client           1245 drivers/media/i2c/ov5695.c 	struct device *dev = &ov5695->client->dev;
client           1249 drivers/media/i2c/ov5695.c 	ret = ov5695_read_reg(client, OV5695_REG_CHIP_ID,
client           1268 drivers/media/i2c/ov5695.c 	return devm_regulator_bulk_get(&ov5695->client->dev,
client           1273 drivers/media/i2c/ov5695.c static int ov5695_probe(struct i2c_client *client,
client           1276 drivers/media/i2c/ov5695.c 	struct device *dev = &client->dev;
client           1285 drivers/media/i2c/ov5695.c 	ov5695->client = client;
client           1316 drivers/media/i2c/ov5695.c 	v4l2_i2c_subdev_init(sd, client, &ov5695_subdev_ops);
client           1325 drivers/media/i2c/ov5695.c 	ret = ov5695_check_sensor_id(ov5695, client);
client           1367 drivers/media/i2c/ov5695.c static int ov5695_remove(struct i2c_client *client)
client           1369 drivers/media/i2c/ov5695.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1379 drivers/media/i2c/ov5695.c 	pm_runtime_disable(&client->dev);
client           1380 drivers/media/i2c/ov5695.c 	if (!pm_runtime_status_suspended(&client->dev))
client           1382 drivers/media/i2c/ov5695.c 	pm_runtime_set_suspended(&client->dev);
client            228 drivers/media/i2c/ov6650.c static int ov6650_reg_read(struct i2c_client *client, u8 reg, u8 *val)
client            233 drivers/media/i2c/ov6650.c 		.addr	= client->addr,
client            239 drivers/media/i2c/ov6650.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            244 drivers/media/i2c/ov6650.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            252 drivers/media/i2c/ov6650.c 	dev_err(&client->dev, "Failed reading register 0x%02x!\n", reg);
client            257 drivers/media/i2c/ov6650.c static int ov6650_reg_write(struct i2c_client *client, u8 reg, u8 val)
client            262 drivers/media/i2c/ov6650.c 		.addr	= client->addr,
client            268 drivers/media/i2c/ov6650.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            272 drivers/media/i2c/ov6650.c 		dev_err(&client->dev, "Failed writing register 0x%02x!\n", reg);
client            280 drivers/media/i2c/ov6650.c static int ov6650_reg_rmw(struct i2c_client *client, u8 reg, u8 set, u8 mask)
client            285 drivers/media/i2c/ov6650.c 	ret = ov6650_reg_read(client, reg, &val);
client            287 drivers/media/i2c/ov6650.c 		dev_err(&client->dev,
client            296 drivers/media/i2c/ov6650.c 	ret = ov6650_reg_write(client, reg, val);
client            298 drivers/media/i2c/ov6650.c 		dev_err(&client->dev,
client            305 drivers/media/i2c/ov6650.c static struct ov6650 *to_ov6650(const struct i2c_client *client)
client            307 drivers/media/i2c/ov6650.c 	return container_of(i2c_get_clientdata(client), struct ov6650, subdev);
client            321 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            327 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_read(client, REG_GAIN, &reg);
client            332 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_read(client, REG_BLUE, &reg);
client            334 drivers/media/i2c/ov6650.c 			ret = ov6650_reg_read(client, REG_RED, &reg2);
client            341 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_read(client, REG_AECH, &reg);
client            354 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            359 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_rmw(client, REG_COMB,
client            362 drivers/media/i2c/ov6650.c 			ret = ov6650_reg_write(client, REG_GAIN, priv->gain->val);
client            365 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_rmw(client, REG_COMB,
client            368 drivers/media/i2c/ov6650.c 			ret = ov6650_reg_write(client, REG_BLUE, priv->blue->val);
client            370 drivers/media/i2c/ov6650.c 				ret = ov6650_reg_write(client, REG_RED,
client            375 drivers/media/i2c/ov6650.c 		return ov6650_reg_rmw(client, REG_SAT, SET_SAT(ctrl->val),
client            378 drivers/media/i2c/ov6650.c 		return ov6650_reg_rmw(client, REG_HUE, SET_HUE(ctrl->val),
client            381 drivers/media/i2c/ov6650.c 		return ov6650_reg_write(client, REG_BRT, ctrl->val);
client            383 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_rmw(client, REG_COMB, ctrl->val ==
client            386 drivers/media/i2c/ov6650.c 			ret = ov6650_reg_write(client, REG_AECH,
client            390 drivers/media/i2c/ov6650.c 		return ov6650_reg_write(client, REG_GAM1, ctrl->val);
client            392 drivers/media/i2c/ov6650.c 		return ov6650_reg_rmw(client, REG_COMB,
client            395 drivers/media/i2c/ov6650.c 		return ov6650_reg_rmw(client, REG_COMB,
client            406 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            415 drivers/media/i2c/ov6650.c 	ret = ov6650_reg_read(client, reg->reg, &val);
client            425 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            430 drivers/media/i2c/ov6650.c 	return ov6650_reg_write(client, reg->reg, reg->val);
client            436 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            437 drivers/media/i2c/ov6650.c 	struct ov6650 *priv = to_ov6650(client);
client            452 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            453 drivers/media/i2c/ov6650.c 	struct ov6650 *priv = to_ov6650(client);
client            477 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            478 drivers/media/i2c/ov6650.c 	struct ov6650 *priv = to_ov6650(client);
client            493 drivers/media/i2c/ov6650.c 	ret = ov6650_reg_write(client, REG_HSTRT, sel->r.left >> 1);
client            497 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_write(client, REG_HSTOP,
client            502 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_write(client, REG_VSTRT, sel->r.top >> 1);
client            507 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_write(client, REG_VSTOP,
client            521 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            522 drivers/media/i2c/ov6650.c 	struct ov6650 *priv = to_ov6650(client);
client            569 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            570 drivers/media/i2c/ov6650.c 	struct ov6650 *priv = to_ov6650(client);
client            590 drivers/media/i2c/ov6650.c 		dev_dbg(&client->dev, "pixel format GREY8_1X8\n");
client            595 drivers/media/i2c/ov6650.c 		dev_dbg(&client->dev, "pixel format YUYV8_2X8_LE\n");
client            600 drivers/media/i2c/ov6650.c 		dev_dbg(&client->dev, "pixel format YVYU8_2X8_LE (untested)\n");
client            605 drivers/media/i2c/ov6650.c 		dev_dbg(&client->dev, "pixel format YUYV8_2X8_BE\n");
client            615 drivers/media/i2c/ov6650.c 		dev_dbg(&client->dev, "pixel format YVYU8_2X8_BE (untested)\n");
client            625 drivers/media/i2c/ov6650.c 		dev_dbg(&client->dev, "pixel format SBGGR8_1X8 (untested)\n");
client            630 drivers/media/i2c/ov6650.c 		dev_err(&client->dev, "Pixel format not handled: 0x%x\n", code);
client            646 drivers/media/i2c/ov6650.c 		dev_dbg(&client->dev, "max resolution: QCIF\n");
client            650 drivers/media/i2c/ov6650.c 		dev_dbg(&client->dev, "max resolution: CIF\n");
client            657 drivers/media/i2c/ov6650.c 	dev_dbg(&client->dev, "using 12MHz input clock\n");
client            662 drivers/media/i2c/ov6650.c 	dev_dbg(&client->dev, "pixel clock divider: %ld.%ld\n",
client            667 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_rmw(client, REG_COMA, coma_set, coma_mask);
client            669 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_write(client, REG_CLKRC, clkrc);
client            673 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_rmw(client, REG_COML, coml_set, coml_mask);
client            686 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            687 drivers/media/i2c/ov6650.c 	struct ov6650 *priv = to_ov6650(client);
client            755 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            756 drivers/media/i2c/ov6650.c 	struct ov6650 *priv = to_ov6650(client);
client            762 drivers/media/i2c/ov6650.c 	dev_dbg(&client->dev, "Frame interval: %u/%u s\n",
client            771 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            772 drivers/media/i2c/ov6650.c 	struct ov6650 *priv = to_ov6650(client);
client            792 drivers/media/i2c/ov6650.c 	ret = ov6650_reg_rmw(client, REG_CLKRC, clkrc, CLKRC_DIV_MASK);
client            804 drivers/media/i2c/ov6650.c static int ov6650_reset(struct i2c_client *client)
client            808 drivers/media/i2c/ov6650.c 	dev_dbg(&client->dev, "reset\n");
client            810 drivers/media/i2c/ov6650.c 	ret = ov6650_reg_rmw(client, REG_COMA, COMA_RESET, 0);
client            812 drivers/media/i2c/ov6650.c 		dev_err(&client->dev,
client            819 drivers/media/i2c/ov6650.c static int ov6650_prog_dflt(struct i2c_client *client)
client            823 drivers/media/i2c/ov6650.c 	dev_dbg(&client->dev, "initializing\n");
client            825 drivers/media/i2c/ov6650.c 	ret = ov6650_reg_write(client, REG_COMA, 0);	/* ~COMA_RESET */
client            827 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_rmw(client, REG_COMB, 0, COMB_BAND_FILTER);
client            834 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            835 drivers/media/i2c/ov6650.c 	struct ov6650 *priv = to_ov6650(client);
client            839 drivers/media/i2c/ov6650.c 	priv->clk = v4l2_clk_get(&client->dev, NULL);
client            842 drivers/media/i2c/ov6650.c 		dev_err(&client->dev, "v4l2_clk request err: %d\n", ret);
client            855 drivers/media/i2c/ov6650.c 	ret = ov6650_reg_read(client, REG_PIDH, &pidh);
client            857 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_read(client, REG_PIDL, &pidl);
client            859 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_read(client, REG_MIDH, &midh);
client            861 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_read(client, REG_MIDL, &midl);
client            867 drivers/media/i2c/ov6650.c 		dev_err(&client->dev, "Product ID error 0x%02x:0x%02x\n",
client            873 drivers/media/i2c/ov6650.c 	dev_info(&client->dev,
client            877 drivers/media/i2c/ov6650.c 	ret = ov6650_reset(client);
client            879 drivers/media/i2c/ov6650.c 		ret = ov6650_prog_dflt(client);
client            930 drivers/media/i2c/ov6650.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            934 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_rmw(client, REG_COMJ, COMJ_PCLK_RISING, 0);
client            936 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_rmw(client, REG_COMJ, 0, COMJ_PCLK_RISING);
client            941 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_rmw(client, REG_COMF, COMF_HREF_LOW, 0);
client            943 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_rmw(client, REG_COMF, 0, COMF_HREF_LOW);
client            948 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_rmw(client, REG_COMJ, COMJ_VSYNC_HIGH, 0);
client            950 drivers/media/i2c/ov6650.c 		ret = ov6650_reg_rmw(client, REG_COMJ, 0, COMJ_VSYNC_HIGH);
client            984 drivers/media/i2c/ov6650.c static int ov6650_probe(struct i2c_client *client,
client            990 drivers/media/i2c/ov6650.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client            994 drivers/media/i2c/ov6650.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &ov6650_subdev_ops);
client           1055 drivers/media/i2c/ov6650.c static int ov6650_remove(struct i2c_client *client)
client           1057 drivers/media/i2c/ov6650.c 	struct ov6650 *priv = to_ov6650(client);
client           1254 drivers/media/i2c/ov7251.c static int ov7251_probe(struct i2c_client *client)
client           1256 drivers/media/i2c/ov7251.c 	struct device *dev = &client->dev;
client           1266 drivers/media/i2c/ov7251.c 	ov7251->i2c_client = client;
client           1377 drivers/media/i2c/ov7251.c 	v4l2_i2c_subdev_init(&ov7251->sd, client, &ov7251_subdev_ops);
client           1380 drivers/media/i2c/ov7251.c 	ov7251->sd.dev = &client->dev;
client           1422 drivers/media/i2c/ov7251.c 		 client->addr);
client           1471 drivers/media/i2c/ov7251.c static int ov7251_remove(struct i2c_client *client)
client           1473 drivers/media/i2c/ov7251.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             26 drivers/media/i2c/ov7640.c static int write_regs(struct i2c_client *client, const u8 *regs)
client             31 drivers/media/i2c/ov7640.c 		if (i2c_smbus_write_byte_data(client, regs[i], regs[i + 1]) < 0)
client             40 drivers/media/i2c/ov7640.c static int ov7640_probe(struct i2c_client *client,
client             43 drivers/media/i2c/ov7640.c 	struct i2c_adapter *adapter = client->adapter;
client             49 drivers/media/i2c/ov7640.c 	sd = devm_kzalloc(&client->dev, sizeof(*sd), GFP_KERNEL);
client             52 drivers/media/i2c/ov7640.c 	v4l2_i2c_subdev_init(sd, client, &ov7640_ops);
client             54 drivers/media/i2c/ov7640.c 	client->flags = I2C_CLIENT_SCCB;
client             56 drivers/media/i2c/ov7640.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client             57 drivers/media/i2c/ov7640.c 			client->addr << 1, client->adapter->name);
client             59 drivers/media/i2c/ov7640.c 	if (write_regs(client, initial_registers) < 0) {
client             60 drivers/media/i2c/ov7640.c 		v4l_err(client, "error initializing OV7640\n");
client             68 drivers/media/i2c/ov7640.c static int ov7640_remove(struct i2c_client *client)
client             70 drivers/media/i2c/ov7640.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            481 drivers/media/i2c/ov7670.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            484 drivers/media/i2c/ov7670.c 	ret = i2c_smbus_read_byte_data(client, reg);
client            496 drivers/media/i2c/ov7670.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            497 drivers/media/i2c/ov7670.c 	int ret = i2c_smbus_write_byte_data(client, reg, value);
client            510 drivers/media/i2c/ov7670.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            518 drivers/media/i2c/ov7670.c 	msg.addr = client->addr;
client            522 drivers/media/i2c/ov7670.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            531 drivers/media/i2c/ov7670.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            543 drivers/media/i2c/ov7670.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            548 drivers/media/i2c/ov7670.c 	msg.addr = client->addr;
client            552 drivers/media/i2c/ov7670.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client           1776 drivers/media/i2c/ov7670.c static int ov7670_init_gpio(struct i2c_client *client, struct ov7670_info *info)
client           1778 drivers/media/i2c/ov7670.c 	info->pwdn_gpio = devm_gpiod_get_optional(&client->dev, "powerdown",
client           1781 drivers/media/i2c/ov7670.c 		dev_info(&client->dev, "can't get %s GPIO\n", "powerdown");
client           1785 drivers/media/i2c/ov7670.c 	info->resetb_gpio = devm_gpiod_get_optional(&client->dev, "reset",
client           1788 drivers/media/i2c/ov7670.c 		dev_info(&client->dev, "can't get %s GPIO\n", "reset");
client           1834 drivers/media/i2c/ov7670.c static int ov7670_probe(struct i2c_client *client,
client           1842 drivers/media/i2c/ov7670.c 	info = devm_kzalloc(&client->dev, sizeof(*info), GFP_KERNEL);
client           1846 drivers/media/i2c/ov7670.c 	v4l2_i2c_subdev_init(sd, client, &ov7670_ops);
client           1855 drivers/media/i2c/ov7670.c 	if (dev_fwnode(&client->dev)) {
client           1856 drivers/media/i2c/ov7670.c 		ret = ov7670_parse_dt(&client->dev, info);
client           1860 drivers/media/i2c/ov7670.c 	} else if (client->dev.platform_data) {
client           1861 drivers/media/i2c/ov7670.c 		struct ov7670_config *config = client->dev.platform_data;
client           1881 drivers/media/i2c/ov7670.c 	info->clk = devm_clk_get(&client->dev, "xclk"); /* optional */
client           1890 drivers/media/i2c/ov7670.c 	ret = ov7670_init_gpio(client, info);
client           1907 drivers/media/i2c/ov7670.c 		v4l_dbg(1, debug, client,
client           1909 drivers/media/i2c/ov7670.c 			client->addr << 1, client->adapter->name);
client           1912 drivers/media/i2c/ov7670.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client           1913 drivers/media/i2c/ov7670.c 			client->addr << 1, client->adapter->name);
client           1995 drivers/media/i2c/ov7670.c static int ov7670_remove(struct i2c_client *client)
client           1997 drivers/media/i2c/ov7670.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            575 drivers/media/i2c/ov772x.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            590 drivers/media/i2c/ov772x.c 		dev_dbg(&client->dev, "format %d, win %s\n",
client            844 drivers/media/i2c/ov772x.c 	struct i2c_client *client = v4l2_get_subdevdata(&priv->subdev);
client            864 drivers/media/i2c/ov772x.c 	priv->rstb_gpio = gpiod_get_optional(&client->dev, "reset",
client            867 drivers/media/i2c/ov772x.c 		dev_info(&client->dev, "Unable to get GPIO \"reset\"");
client           1236 drivers/media/i2c/ov772x.c 	struct i2c_client  *client = v4l2_get_subdevdata(&priv->subdev);
client           1261 drivers/media/i2c/ov772x.c 		dev_err(&client->dev,
client           1274 drivers/media/i2c/ov772x.c 	dev_info(&client->dev,
client           1355 drivers/media/i2c/ov772x.c static int ov772x_probe(struct i2c_client *client)
client           1365 drivers/media/i2c/ov772x.c 	if (!client->dev.of_node && !client->dev.platform_data) {
client           1366 drivers/media/i2c/ov772x.c 		dev_err(&client->dev,
client           1371 drivers/media/i2c/ov772x.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client           1375 drivers/media/i2c/ov772x.c 	priv->regmap = devm_regmap_init_sccb(client, &ov772x_regmap_config);
client           1377 drivers/media/i2c/ov772x.c 		dev_err(&client->dev, "Failed to allocate register map\n");
client           1381 drivers/media/i2c/ov772x.c 	priv->info = client->dev.platform_data;
client           1384 drivers/media/i2c/ov772x.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &ov772x_subdev_ops);
client           1403 drivers/media/i2c/ov772x.c 	priv->clk = clk_get(&client->dev, NULL);
client           1405 drivers/media/i2c/ov772x.c 		dev_err(&client->dev, "Unable to get xclk clock\n");
client           1410 drivers/media/i2c/ov772x.c 	priv->pwdn_gpio = gpiod_get_optional(&client->dev, "powerdown",
client           1413 drivers/media/i2c/ov772x.c 		dev_info(&client->dev, "Unable to get GPIO \"powerdown\"");
client           1455 drivers/media/i2c/ov772x.c static int ov772x_remove(struct i2c_client *client)
client           1457 drivers/media/i2c/ov772x.c 	struct ov772x_priv *priv = to_ov772x(i2c_get_clientdata(client));
client            532 drivers/media/i2c/ov7740.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov7740->subdev);
client            537 drivers/media/i2c/ov7740.c 	if (!pm_runtime_get_if_in_use(&client->dev))
client            581 drivers/media/i2c/ov7740.c 	pm_runtime_put(&client->dev);
client            617 drivers/media/i2c/ov7740.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            627 drivers/media/i2c/ov7740.c 		ret = pm_runtime_get_sync(&client->dev);
client            629 drivers/media/i2c/ov7740.c 			pm_runtime_put_noidle(&client->dev);
client            637 drivers/media/i2c/ov7740.c 		pm_runtime_put(&client->dev);
client            646 drivers/media/i2c/ov7740.c 	pm_runtime_put(&client->dev);
client            922 drivers/media/i2c/ov7740.c static int ov7740_probe_dt(struct i2c_client *client,
client            925 drivers/media/i2c/ov7740.c 	ov7740->resetb_gpio = devm_gpiod_get_optional(&client->dev, "reset",
client            928 drivers/media/i2c/ov7740.c 		dev_info(&client->dev, "can't get %s GPIO\n", "reset");
client            932 drivers/media/i2c/ov7740.c 	ov7740->pwdn_gpio = devm_gpiod_get_optional(&client->dev, "powerdown",
client            935 drivers/media/i2c/ov7740.c 		dev_info(&client->dev, "can't get %s GPIO\n", "powerdown");
client            977 drivers/media/i2c/ov7740.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov7740->subdev);
client           1031 drivers/media/i2c/ov7740.c 		dev_err(&client->dev, "controls initialisation failed (%d)\n",
client           1038 drivers/media/i2c/ov7740.c 		dev_err(&client->dev, "%s control init failed (%d)\n",
client           1065 drivers/media/i2c/ov7740.c static int ov7740_probe(struct i2c_client *client)
client           1071 drivers/media/i2c/ov7740.c 	if (!i2c_check_functionality(client->adapter,
client           1073 drivers/media/i2c/ov7740.c 		dev_err(&client->dev,
client           1078 drivers/media/i2c/ov7740.c 	ov7740 = devm_kzalloc(&client->dev, sizeof(*ov7740), GFP_KERNEL);
client           1082 drivers/media/i2c/ov7740.c 	ov7740->xvclk = devm_clk_get(&client->dev, "xvclk");
client           1085 drivers/media/i2c/ov7740.c 		dev_err(&client->dev,
client           1090 drivers/media/i2c/ov7740.c 	ret = ov7740_probe_dt(client, ov7740);
client           1094 drivers/media/i2c/ov7740.c 	ov7740->regmap = devm_regmap_init_i2c(client, &ov7740_regmap_config);
client           1097 drivers/media/i2c/ov7740.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client           1103 drivers/media/i2c/ov7740.c 	client->flags |= I2C_CLIENT_SCCB;
client           1104 drivers/media/i2c/ov7740.c 	v4l2_i2c_subdev_init(sd, client, &ov7740_subdev_ops);
client           1123 drivers/media/i2c/ov7740.c 	pm_runtime_set_active(&client->dev);
client           1124 drivers/media/i2c/ov7740.c 	pm_runtime_enable(&client->dev);
client           1136 drivers/media/i2c/ov7740.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client           1137 drivers/media/i2c/ov7740.c 			client->addr << 1, client->adapter->name);
client           1148 drivers/media/i2c/ov7740.c 	pm_runtime_idle(&client->dev);
client           1157 drivers/media/i2c/ov7740.c 	pm_runtime_disable(&client->dev);
client           1158 drivers/media/i2c/ov7740.c 	pm_runtime_set_suspended(&client->dev);
client           1165 drivers/media/i2c/ov7740.c static int ov7740_remove(struct i2c_client *client)
client           1167 drivers/media/i2c/ov7740.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1176 drivers/media/i2c/ov7740.c 	pm_runtime_get_sync(&client->dev);
client           1177 drivers/media/i2c/ov7740.c 	pm_runtime_disable(&client->dev);
client           1178 drivers/media/i2c/ov7740.c 	pm_runtime_set_suspended(&client->dev);
client           1179 drivers/media/i2c/ov7740.c 	pm_runtime_put_noidle(&client->dev);
client           1187 drivers/media/i2c/ov7740.c 	struct i2c_client *client = to_i2c_client(dev);
client           1188 drivers/media/i2c/ov7740.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1198 drivers/media/i2c/ov7740.c 	struct i2c_client *client = to_i2c_client(dev);
client           1199 drivers/media/i2c/ov7740.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            606 drivers/media/i2c/ov8856.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov8856->sd);
client            616 drivers/media/i2c/ov8856.c 	msgs[0].addr = client->addr;
client            620 drivers/media/i2c/ov8856.c 	msgs[1].addr = client->addr;
client            625 drivers/media/i2c/ov8856.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            636 drivers/media/i2c/ov8856.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov8856->sd);
client            644 drivers/media/i2c/ov8856.c 	if (i2c_master_send(client, buf, len + 2) != len + 2)
client            653 drivers/media/i2c/ov8856.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov8856->sd);
client            661 drivers/media/i2c/ov8856.c 			dev_err_ratelimited(&client->dev,
client            703 drivers/media/i2c/ov8856.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov8856->sd);
client            719 drivers/media/i2c/ov8856.c 	if (!pm_runtime_get_if_in_use(&client->dev))
client            753 drivers/media/i2c/ov8856.c 	pm_runtime_put(&client->dev);
client            834 drivers/media/i2c/ov8856.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov8856->sd);
client            842 drivers/media/i2c/ov8856.c 		dev_err(&client->dev, "failed to set plls");
client            849 drivers/media/i2c/ov8856.c 		dev_err(&client->dev, "failed to set mode");
client            860 drivers/media/i2c/ov8856.c 		dev_err(&client->dev, "failed to set stream");
client            869 drivers/media/i2c/ov8856.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov8856->sd);
client            873 drivers/media/i2c/ov8856.c 		dev_err(&client->dev, "failed to set stream");
client            879 drivers/media/i2c/ov8856.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            887 drivers/media/i2c/ov8856.c 		ret = pm_runtime_get_sync(&client->dev);
client            889 drivers/media/i2c/ov8856.c 			pm_runtime_put_noidle(&client->dev);
client            898 drivers/media/i2c/ov8856.c 			pm_runtime_put(&client->dev);
client            902 drivers/media/i2c/ov8856.c 		pm_runtime_put(&client->dev);
client            913 drivers/media/i2c/ov8856.c 	struct i2c_client *client = to_i2c_client(dev);
client            914 drivers/media/i2c/ov8856.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            928 drivers/media/i2c/ov8856.c 	struct i2c_client *client = to_i2c_client(dev);
client            929 drivers/media/i2c/ov8856.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1077 drivers/media/i2c/ov8856.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov8856->sd);
client           1087 drivers/media/i2c/ov8856.c 		dev_err(&client->dev, "chip id mismatch: %x!=%x",
client           1161 drivers/media/i2c/ov8856.c static int ov8856_remove(struct i2c_client *client)
client           1163 drivers/media/i2c/ov8856.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1169 drivers/media/i2c/ov8856.c 	pm_runtime_disable(&client->dev);
client           1175 drivers/media/i2c/ov8856.c static int ov8856_probe(struct i2c_client *client)
client           1180 drivers/media/i2c/ov8856.c 	ret = ov8856_check_hwcfg(&client->dev);
client           1182 drivers/media/i2c/ov8856.c 		dev_err(&client->dev, "failed to check HW configuration: %d",
client           1187 drivers/media/i2c/ov8856.c 	ov8856 = devm_kzalloc(&client->dev, sizeof(*ov8856), GFP_KERNEL);
client           1191 drivers/media/i2c/ov8856.c 	v4l2_i2c_subdev_init(&ov8856->sd, client, &ov8856_subdev_ops);
client           1194 drivers/media/i2c/ov8856.c 		dev_err(&client->dev, "failed to find sensor: %d", ret);
client           1202 drivers/media/i2c/ov8856.c 		dev_err(&client->dev, "failed to init controls: %d", ret);
client           1213 drivers/media/i2c/ov8856.c 		dev_err(&client->dev, "failed to init entity pads: %d", ret);
client           1219 drivers/media/i2c/ov8856.c 		dev_err(&client->dev, "failed to register V4L2 subdev: %d",
client           1228 drivers/media/i2c/ov8856.c 	pm_runtime_set_active(&client->dev);
client           1229 drivers/media/i2c/ov8856.c 	pm_runtime_enable(&client->dev);
client           1230 drivers/media/i2c/ov8856.c 	pm_runtime_idle(&client->dev);
client            171 drivers/media/i2c/ov9640.c static int ov9640_reg_read(struct i2c_client *client, u8 reg, u8 *val)
client            176 drivers/media/i2c/ov9640.c 		.addr	= client->addr,
client            182 drivers/media/i2c/ov9640.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            187 drivers/media/i2c/ov9640.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            195 drivers/media/i2c/ov9640.c 	dev_err(&client->dev, "Failed reading register 0x%02x!\n", reg);
client            200 drivers/media/i2c/ov9640.c static int ov9640_reg_write(struct i2c_client *client, u8 reg, u8 val)
client            206 drivers/media/i2c/ov9640.c 		.addr	= client->addr,
client            212 drivers/media/i2c/ov9640.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            214 drivers/media/i2c/ov9640.c 		dev_err(&client->dev, "Failed writing register 0x%02x!\n", reg);
client            219 drivers/media/i2c/ov9640.c 	ret = ov9640_reg_read(client, reg, &_val);
client            221 drivers/media/i2c/ov9640.c 		dev_err(&client->dev,
client            229 drivers/media/i2c/ov9640.c static int ov9640_reg_rmw(struct i2c_client *client, u8 reg, u8 set, u8 unset)
client            234 drivers/media/i2c/ov9640.c 	ret = ov9640_reg_read(client, reg, &val);
client            236 drivers/media/i2c/ov9640.c 		dev_err(&client->dev,
client            244 drivers/media/i2c/ov9640.c 	ret = ov9640_reg_write(client, reg, val);
client            246 drivers/media/i2c/ov9640.c 		dev_err(&client->dev,
client            253 drivers/media/i2c/ov9640.c static int ov9640_reset(struct i2c_client *client)
client            257 drivers/media/i2c/ov9640.c 	ret = ov9640_reg_write(client, OV9640_COM7, OV9640_COM7_SCCB_RESET);
client            259 drivers/media/i2c/ov9640.c 		dev_err(&client->dev,
client            276 drivers/media/i2c/ov9640.c 	struct i2c_client *client = v4l2_get_subdevdata(&priv->subdev);
client            281 drivers/media/i2c/ov9640.c 			return ov9640_reg_rmw(client, OV9640_MVFP,
client            283 drivers/media/i2c/ov9640.c 		return ov9640_reg_rmw(client, OV9640_MVFP, 0, OV9640_MVFP_V);
client            286 drivers/media/i2c/ov9640.c 			return ov9640_reg_rmw(client, OV9640_MVFP,
client            288 drivers/media/i2c/ov9640.c 		return ov9640_reg_rmw(client, OV9640_MVFP, 0, OV9640_MVFP_H);
client            298 drivers/media/i2c/ov9640.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            307 drivers/media/i2c/ov9640.c 	ret = ov9640_reg_read(client, reg->reg, &val);
client            319 drivers/media/i2c/ov9640.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            324 drivers/media/i2c/ov9640.c 	return ov9640_reg_write(client, reg->reg, reg->val);
client            395 drivers/media/i2c/ov9640.c static int ov9640_write_regs(struct i2c_client *client, u32 width,
client            435 drivers/media/i2c/ov9640.c 		dev_err(&client->dev, "Failed to select resolution!\n");
client            467 drivers/media/i2c/ov9640.c 		ret = ov9640_reg_write(client, ov9640_regs[i].reg, val);
client            474 drivers/media/i2c/ov9640.c 		ret = ov9640_reg_write(client, matrix_regs[i].reg,
client            484 drivers/media/i2c/ov9640.c static int ov9640_prog_dflt(struct i2c_client *client)
client            490 drivers/media/i2c/ov9640.c 		ret = ov9640_reg_write(client, ov9640_regs_dflt[i].reg,
client            506 drivers/media/i2c/ov9640.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            512 drivers/media/i2c/ov9640.c 	ov9640_reset(client);
client            514 drivers/media/i2c/ov9640.c 	ret = ov9640_prog_dflt(client);
client            518 drivers/media/i2c/ov9640.c 	return ov9640_write_regs(client, mf->width, mf->code, &alts);
client            587 drivers/media/i2c/ov9640.c static int ov9640_video_probe(struct i2c_client *client)
client            589 drivers/media/i2c/ov9640.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            603 drivers/media/i2c/ov9640.c 	ret = ov9640_reg_read(client, OV9640_PID, &pid);
client            605 drivers/media/i2c/ov9640.c 		ret = ov9640_reg_read(client, OV9640_VER, &ver);
client            607 drivers/media/i2c/ov9640.c 		ret = ov9640_reg_read(client, OV9640_MIDH, &midh);
client            609 drivers/media/i2c/ov9640.c 		ret = ov9640_reg_read(client, OV9640_MIDL, &midl);
client            623 drivers/media/i2c/ov9640.c 		dev_err(&client->dev, "Product ID error %x:%x\n", pid, ver);
client            628 drivers/media/i2c/ov9640.c 	dev_info(&client->dev, "%s Product ID %0x:%0x Manufacturer ID %x:%x\n",
client            682 drivers/media/i2c/ov9640.c static int ov9640_probe(struct i2c_client *client,
client            688 drivers/media/i2c/ov9640.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client            692 drivers/media/i2c/ov9640.c 	priv->gpio_power = devm_gpiod_get(&client->dev, "Camera power",
client            699 drivers/media/i2c/ov9640.c 	priv->gpio_reset = devm_gpiod_get(&client->dev, "Camera reset",
client            706 drivers/media/i2c/ov9640.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &ov9640_subdev_ops);
client            721 drivers/media/i2c/ov9640.c 	priv->clk = v4l2_clk_get(&client->dev, "mclk");
client            727 drivers/media/i2c/ov9640.c 	ret = ov9640_video_probe(client);
client            731 drivers/media/i2c/ov9640.c 	priv->subdev.dev = &client->dev;
client            746 drivers/media/i2c/ov9640.c static int ov9640_remove(struct i2c_client *client)
client            748 drivers/media/i2c/ov9640.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1493 drivers/media/i2c/ov9650.c static int ov965x_probe(struct i2c_client *client)
client           1495 drivers/media/i2c/ov9650.c 	const struct ov9650_platform_data *pdata = client->dev.platform_data;
client           1505 drivers/media/i2c/ov9650.c 	ov965x = devm_kzalloc(&client->dev, sizeof(*ov965x), GFP_KERNEL);
client           1509 drivers/media/i2c/ov9650.c 	ov965x->regmap = devm_regmap_init_sccb(client, &ov965x_regmap_config);
client           1511 drivers/media/i2c/ov9650.c 		dev_err(&client->dev, "Failed to allocate register map\n");
client           1517 drivers/media/i2c/ov9650.c 			dev_err(&client->dev, "MCLK frequency not specified\n");
client           1525 drivers/media/i2c/ov9650.c 	} else if (dev_fwnode(&client->dev)) {
client           1526 drivers/media/i2c/ov9650.c 		ov965x->clk = devm_clk_get(&client->dev, NULL);
client           1535 drivers/media/i2c/ov9650.c 		dev_err(&client->dev,
client           1544 drivers/media/i2c/ov9650.c 	v4l2_i2c_subdev_init(sd, client, &ov965x_subdev_ops);
client           1586 drivers/media/i2c/ov9650.c static int ov965x_remove(struct i2c_client *client)
client           1588 drivers/media/i2c/ov9650.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            425 drivers/media/i2c/rj54n1cb0c.c static struct rj54n1 *to_rj54n1(const struct i2c_client *client)
client            427 drivers/media/i2c/rj54n1cb0c.c 	return container_of(i2c_get_clientdata(client), struct rj54n1, subdev);
client            430 drivers/media/i2c/rj54n1cb0c.c static int reg_read(struct i2c_client *client, const u16 reg)
client            432 drivers/media/i2c/rj54n1cb0c.c 	struct rj54n1 *rj54n1 = to_rj54n1(client);
client            437 drivers/media/i2c/rj54n1cb0c.c 		dev_dbg(&client->dev, "[0x%x] = 0x%x\n", 0xff, reg >> 8);
client            438 drivers/media/i2c/rj54n1cb0c.c 		ret = i2c_smbus_write_byte_data(client, 0xff, reg >> 8);
client            443 drivers/media/i2c/rj54n1cb0c.c 	return i2c_smbus_read_byte_data(client, reg & 0xff);
client            446 drivers/media/i2c/rj54n1cb0c.c static int reg_write(struct i2c_client *client, const u16 reg,
client            449 drivers/media/i2c/rj54n1cb0c.c 	struct rj54n1 *rj54n1 = to_rj54n1(client);
client            454 drivers/media/i2c/rj54n1cb0c.c 		dev_dbg(&client->dev, "[0x%x] = 0x%x\n", 0xff, reg >> 8);
client            455 drivers/media/i2c/rj54n1cb0c.c 		ret = i2c_smbus_write_byte_data(client, 0xff, reg >> 8);
client            460 drivers/media/i2c/rj54n1cb0c.c 	dev_dbg(&client->dev, "[0x%x] = 0x%x\n", reg & 0xff, data);
client            461 drivers/media/i2c/rj54n1cb0c.c 	return i2c_smbus_write_byte_data(client, reg & 0xff, data);
client            464 drivers/media/i2c/rj54n1cb0c.c static int reg_set(struct i2c_client *client, const u16 reg,
client            469 drivers/media/i2c/rj54n1cb0c.c 	ret = reg_read(client, reg);
client            472 drivers/media/i2c/rj54n1cb0c.c 	return reg_write(client, reg, (ret & ~mask) | (data & mask));
client            475 drivers/media/i2c/rj54n1cb0c.c static int reg_write_multiple(struct i2c_client *client,
client            481 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, rv->reg, rv->val);
client            503 drivers/media/i2c/rj54n1cb0c.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            506 drivers/media/i2c/rj54n1cb0c.c 	return reg_set(client, RJ54N1_STILL_CONTROL, (!enable) << 7, 0x80);
client            509 drivers/media/i2c/rj54n1cb0c.c static int rj54n1_set_rect(struct i2c_client *client,
client            515 drivers/media/i2c/rj54n1cb0c.c 	ret = reg_write(client, reg_xy,
client            520 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, reg_x, width & 0xff);
client            522 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, reg_y, height & 0xff);
client            531 drivers/media/i2c/rj54n1cb0c.c static int rj54n1_commit(struct i2c_client *client)
client            533 drivers/media/i2c/rj54n1cb0c.c 	int ret = reg_write(client, RJ54N1_INIT_START, 1);
client            536 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_INIT_START, 0);
client            547 drivers/media/i2c/rj54n1cb0c.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            548 drivers/media/i2c/rj54n1cb0c.c 	struct rj54n1 *rj54n1 = to_rj54n1(client);
client            564 drivers/media/i2c/rj54n1cb0c.c 	dev_dbg(&client->dev, "Scaling for %dx%d : %u = %dx%d\n",
client            584 drivers/media/i2c/rj54n1cb0c.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            585 drivers/media/i2c/rj54n1cb0c.c 	struct rj54n1 *rj54n1 = to_rj54n1(client);
client            610 drivers/media/i2c/rj54n1cb0c.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            611 drivers/media/i2c/rj54n1cb0c.c 	struct rj54n1 *rj54n1 = to_rj54n1(client);
client            636 drivers/media/i2c/rj54n1cb0c.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            637 drivers/media/i2c/rj54n1cb0c.c 	struct rj54n1 *rj54n1 = to_rj54n1(client);
client            658 drivers/media/i2c/rj54n1cb0c.c 		dev_dbg(&client->dev, "Adjusted output width: in %u, out %u\n",
client            670 drivers/media/i2c/rj54n1cb0c.c 		dev_dbg(&client->dev, "Adjusted output height: in %u, out %u\n",
client            675 drivers/media/i2c/rj54n1cb0c.c 	ret = rj54n1_set_rect(client, RJ54N1_X_OUTPUT_SIZE_S_L,
client            679 drivers/media/i2c/rj54n1cb0c.c 		ret = rj54n1_set_rect(client, RJ54N1_X_OUTPUT_SIZE_P_L,
client            725 drivers/media/i2c/rj54n1cb0c.c 	ret = reg_write(client, RJ54N1_RESIZE_HOLD_L, resize & 0xff);
client            727 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_RESIZE_HOLD_H, resize >> 8);
client            753 drivers/media/i2c/rj54n1cb0c.c 	ret = reg_write(client, RJ54N1_INC_USE_SEL_L, inc_sel & 0xfc);
client            755 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_INC_USE_SEL_H, inc_sel >> 8);
client            767 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_write(client, RJ54N1_BIT8_WB, wb_bit8);
client            769 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_write(client, RJ54N1_HCAPS_WB, wb_left);
client            771 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_write(client, RJ54N1_VCAPS_WB, wb_top);
client            773 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_write(client, RJ54N1_HCAPE_WB, wb_right);
client            775 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_write(client, RJ54N1_VCAPE_WB, wb_bottom);
client            785 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_PEAK_H,
client            788 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_PEAK_50, peak_50);
client            790 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_PEAK_60, peak_60);
client            792 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_PEAK_DIFF, peak / 150);
client            796 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_RESIZE_CONTROL,
client            805 drivers/media/i2c/rj54n1cb0c.c 	ret = reg_write(client, RJ54N1_RESIZE_CONTROL, RESIZE_HOLD_SEL | 1);
client            814 drivers/media/i2c/rj54n1cb0c.c 	dev_dbg(&client->dev, "Scaled for %dx%d : %u = %ux%u, skip %u\n",
client            820 drivers/media/i2c/rj54n1cb0c.c static int rj54n1_set_clock(struct i2c_client *client)
client            822 drivers/media/i2c/rj54n1cb0c.c 	struct rj54n1 *rj54n1 = to_rj54n1(client);
client            826 drivers/media/i2c/rj54n1cb0c.c 	ret = reg_write(client, RJ54N1_RESET_STANDBY, E_EXCLK | SOFT_STDBY);
client            829 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_RESET_STANDBY, E_EXCLK);
client            832 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_PLL_L, PLL_L);
client            834 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_PLL_N, PLL_N);
client            838 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_RATIO_TG,
client            841 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_RATIO_T,
client            844 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_RATIO_R,
client            849 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_RAMP_TGCLK_EN, 3);
client            853 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_OCLK_DSP, 0);
client            857 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_RATIO_OP,
client            860 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_RATIO_O,
client            865 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_OCLK_SEL_EN, 1);
client            869 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_TG_BYPASS, 2);
client            873 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_RESET_STANDBY,
client            877 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_PLL_EN, 1);
client            884 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_CLK_RST, 1);
client            887 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_read(client, RJ54N1_CLK_RST);
client            889 drivers/media/i2c/rj54n1cb0c.c 		dev_err(&client->dev,
client            895 drivers/media/i2c/rj54n1cb0c.c 	ret = reg_set(client, RJ54N1_OCLK_DSP, 1, 1);
client            899 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_OCLK_SEL_EN, 1);
client            904 drivers/media/i2c/rj54n1cb0c.c static int rj54n1_reg_init(struct i2c_client *client)
client            906 drivers/media/i2c/rj54n1cb0c.c 	struct rj54n1 *rj54n1 = to_rj54n1(client);
client            907 drivers/media/i2c/rj54n1cb0c.c 	int ret = rj54n1_set_clock(client);
client            910 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write_multiple(client, bank_7, ARRAY_SIZE(bank_7));
client            912 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write_multiple(client, bank_10, ARRAY_SIZE(bank_10));
client            916 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_SCALE_1_2_LEV, 3 | (7 << 4));
client            918 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_SCALE_4_LEV, 0xf);
client            922 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_RESIZE_CONTROL,
client            927 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_Y_GAIN, 0x84);
client            934 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_MIRROR_STILL_MODE, 0x27);
client            937 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write_multiple(client, bank_4, ARRAY_SIZE(bank_4));
client            941 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_EXPOSURE_CONTROL, 0x80);
client            944 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_read(client, RJ54N1_WB_SEL_WEIGHT_I);
client            947 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write_multiple(client, bank_5, ARRAY_SIZE(bank_5));
client            950 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write_multiple(client, bank_8, ARRAY_SIZE(bank_8));
client            953 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_RESET_STANDBY,
client            958 drivers/media/i2c/rj54n1cb0c.c 		ret = rj54n1_commit(client);
client            962 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_RESET_STANDBY,
client            967 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_FWFLG, 2);
client            980 drivers/media/i2c/rj54n1cb0c.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            981 drivers/media/i2c/rj54n1cb0c.c 	struct rj54n1 *rj54n1 = to_rj54n1(client);
client            995 drivers/media/i2c/rj54n1cb0c.c 	dev_dbg(&client->dev, "%s: code = %d, width = %u, height = %u\n",
client           1020 drivers/media/i2c/rj54n1cb0c.c 	ret = reg_read(client, RJ54N1_RESET_STANDBY);
client           1025 drivers/media/i2c/rj54n1cb0c.c 		ret = rj54n1_reg_init(client);
client           1033 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_OUT_SEL, 0);
client           1035 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_set(client, RJ54N1_BYTE_SWAP, 8, 8);
client           1038 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_OUT_SEL, 0);
client           1040 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_set(client, RJ54N1_BYTE_SWAP, 0, 8);
client           1043 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_OUT_SEL, 0x11);
client           1045 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_set(client, RJ54N1_BYTE_SWAP, 8, 8);
client           1048 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_OUT_SEL, 0x11);
client           1050 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_set(client, RJ54N1_BYTE_SWAP, 0, 8);
client           1053 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_OUT_SEL, 4);
client           1055 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_set(client, RJ54N1_BYTE_SWAP, 8, 8);
client           1057 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_write(client, RJ54N1_RA_SEL_UL, 0);
client           1060 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_OUT_SEL, 4);
client           1062 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_set(client, RJ54N1_BYTE_SWAP, 8, 8);
client           1064 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_write(client, RJ54N1_RA_SEL_UL, 8);
client           1067 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_OUT_SEL, 4);
client           1069 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_set(client, RJ54N1_BYTE_SWAP, 0, 8);
client           1071 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_write(client, RJ54N1_RA_SEL_UL, 0);
client           1074 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_OUT_SEL, 4);
client           1076 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_set(client, RJ54N1_BYTE_SWAP, 0, 8);
client           1078 drivers/media/i2c/rj54n1cb0c.c 			ret = reg_write(client, RJ54N1_RA_SEL_UL, 8);
client           1081 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_write(client, RJ54N1_OUT_SEL, 5);
client           1089 drivers/media/i2c/rj54n1cb0c.c 		ret = reg_set(client, RJ54N1_OCLK_SEL_EN,
client           1132 drivers/media/i2c/rj54n1cb0c.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1139 drivers/media/i2c/rj54n1cb0c.c 	reg->val = reg_read(client, reg->reg);
client           1150 drivers/media/i2c/rj54n1cb0c.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1156 drivers/media/i2c/rj54n1cb0c.c 	if (reg_write(client, reg->reg, reg->val) < 0)
client           1165 drivers/media/i2c/rj54n1cb0c.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1166 drivers/media/i2c/rj54n1cb0c.c 	struct rj54n1 *rj54n1 = to_rj54n1(client);
client           1193 drivers/media/i2c/rj54n1cb0c.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1199 drivers/media/i2c/rj54n1cb0c.c 			data = reg_set(client, RJ54N1_MIRROR_STILL_MODE, 0, 1);
client           1201 drivers/media/i2c/rj54n1cb0c.c 			data = reg_set(client, RJ54N1_MIRROR_STILL_MODE, 1, 1);
client           1207 drivers/media/i2c/rj54n1cb0c.c 			data = reg_set(client, RJ54N1_MIRROR_STILL_MODE, 0, 2);
client           1209 drivers/media/i2c/rj54n1cb0c.c 			data = reg_set(client, RJ54N1_MIRROR_STILL_MODE, 2, 2);
client           1214 drivers/media/i2c/rj54n1cb0c.c 		if (reg_write(client, RJ54N1_Y_GAIN, ctrl->val * 2) < 0)
client           1219 drivers/media/i2c/rj54n1cb0c.c 		if (reg_set(client, RJ54N1_WB_SEL_WEIGHT_I, ctrl->val << 7,
client           1263 drivers/media/i2c/rj54n1cb0c.c static int rj54n1_video_probe(struct i2c_client *client,
client           1266 drivers/media/i2c/rj54n1cb0c.c 	struct rj54n1 *rj54n1 = to_rj54n1(client);
client           1275 drivers/media/i2c/rj54n1cb0c.c 	data1 = reg_read(client, RJ54N1_DEV_CODE);
client           1276 drivers/media/i2c/rj54n1cb0c.c 	data2 = reg_read(client, RJ54N1_DEV_CODE2);
client           1280 drivers/media/i2c/rj54n1cb0c.c 		dev_info(&client->dev, "No RJ54N1CB0C found, read 0x%x:0x%x\n",
client           1286 drivers/media/i2c/rj54n1cb0c.c 	ret = reg_write(client, RJ54N1_IOC, priv->ioctl_high << 7);
client           1290 drivers/media/i2c/rj54n1cb0c.c 	dev_info(&client->dev, "Detected a RJ54N1CB0C chip ID 0x%x:0x%x\n",
client           1300 drivers/media/i2c/rj54n1cb0c.c static int rj54n1_probe(struct i2c_client *client,
client           1304 drivers/media/i2c/rj54n1cb0c.c 	struct i2c_adapter *adapter = client->adapter;
client           1308 drivers/media/i2c/rj54n1cb0c.c 	if (!client->dev.platform_data) {
client           1309 drivers/media/i2c/rj54n1cb0c.c 		dev_err(&client->dev, "RJ54N1CB0C: missing platform data!\n");
client           1313 drivers/media/i2c/rj54n1cb0c.c 	rj54n1_priv = client->dev.platform_data;
client           1321 drivers/media/i2c/rj54n1cb0c.c 	rj54n1 = devm_kzalloc(&client->dev, sizeof(struct rj54n1), GFP_KERNEL);
client           1325 drivers/media/i2c/rj54n1cb0c.c 	v4l2_i2c_subdev_init(&rj54n1->subdev, client, &rj54n1_subdev_ops);
client           1351 drivers/media/i2c/rj54n1cb0c.c 	rj54n1->clk = clk_get(&client->dev, NULL);
client           1357 drivers/media/i2c/rj54n1cb0c.c 	rj54n1->pwup_gpio = gpiod_get_optional(&client->dev, "powerup",
client           1360 drivers/media/i2c/rj54n1cb0c.c 		dev_info(&client->dev, "Unable to get GPIO \"powerup\": %ld\n",
client           1366 drivers/media/i2c/rj54n1cb0c.c 	rj54n1->enable_gpio = gpiod_get_optional(&client->dev, "enable",
client           1369 drivers/media/i2c/rj54n1cb0c.c 		dev_info(&client->dev, "Unable to get GPIO \"enable\": %ld\n",
client           1375 drivers/media/i2c/rj54n1cb0c.c 	ret = rj54n1_video_probe(client, rj54n1_priv);
client           1401 drivers/media/i2c/rj54n1cb0c.c static int rj54n1_remove(struct i2c_client *client)
client           1403 drivers/media/i2c/rj54n1cb0c.c 	struct rj54n1 *rj54n1 = to_rj54n1(client);
client            125 drivers/media/i2c/s5c73m3/s5c73m3-core.c static int s5c73m3_i2c_write(struct i2c_client *client, u16 addr, u16 data)
client            129 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	int ret = i2c_master_send(client, buf, sizeof(buf));
client            131 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	v4l_dbg(4, s5c73m3_dbg, client, "%s: addr 0x%04x, data 0x%04x\n",
client            140 drivers/media/i2c/s5c73m3/s5c73m3-core.c static int s5c73m3_i2c_read(struct i2c_client *client, u16 addr, u16 *data)
client            146 drivers/media/i2c/s5c73m3/s5c73m3-core.c 			.addr = client->addr,
client            151 drivers/media/i2c/s5c73m3/s5c73m3-core.c 			.addr = client->addr,
client            161 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            164 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		v4l2_dbg(4, s5c73m3_dbg, client,
client            170 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	v4l2_err(client, "I2C read failed: addr: %04x, (%d)\n", addr, ret);
client            177 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	struct i2c_client *client = state->i2c_client;
client            181 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		ret = s5c73m3_i2c_write(client, REG_CMDWR_ADDRH, addr >> 16);
client            189 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		ret = s5c73m3_i2c_write(client, REG_CMDWR_ADDRL, addr & 0xffff);
client            198 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	ret = s5c73m3_i2c_write(client, REG_CMDBUF_ADDR, data);
client            209 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	struct i2c_client *client = state->i2c_client;
client            213 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		ret = s5c73m3_i2c_write(client, REG_CMDRD_ADDRH, addr >> 16);
client            221 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		ret = s5c73m3_i2c_write(client, REG_CMDRD_ADDRL, addr & 0xffff);
client            230 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	ret = s5c73m3_i2c_read(client, REG_CMDBUF_ADDR, data);
client            345 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	struct i2c_client *client = state->i2c_client;
client            352 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	ret = request_firmware(&fw, fw_name, &client->dev);
client           1653 drivers/media/i2c/s5c73m3/s5c73m3-core.c static int s5c73m3_probe(struct i2c_client *client)
client           1655 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	struct device *dev = &client->dev;
client           1665 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	state->i2c_client = client;
client           1675 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	sd->owner = client->dev.driver->owner;
client           1691 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	v4l2_i2c_subdev_init(oif_sd, client, &oif_subdev_ops);
client           1770 drivers/media/i2c/s5c73m3/s5c73m3-core.c static int s5c73m3_remove(struct i2c_client *client)
client           1772 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	struct v4l2_subdev *oif_sd = i2c_get_clientdata(client);
client            201 drivers/media/i2c/s5k4ecgx.c static int s5k4ecgx_i2c_read(struct i2c_client *client, u16 addr, u16 *val)
client            208 drivers/media/i2c/s5k4ecgx.c 	msg[0].addr = client->addr;
client            213 drivers/media/i2c/s5k4ecgx.c 	msg[1].addr = client->addr;
client            218 drivers/media/i2c/s5k4ecgx.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            221 drivers/media/i2c/s5k4ecgx.c 	v4l2_dbg(4, debug, client, "i2c_read: 0x%04X : 0x%04x\n", addr, *val);
client            226 drivers/media/i2c/s5k4ecgx.c static int s5k4ecgx_i2c_write(struct i2c_client *client, u16 addr, u16 val)
client            230 drivers/media/i2c/s5k4ecgx.c 	int ret = i2c_master_send(client, buf, 4);
client            231 drivers/media/i2c/s5k4ecgx.c 	v4l2_dbg(4, debug, client, "i2c_write: 0x%04x : 0x%04x\n", addr, val);
client            236 drivers/media/i2c/s5k4ecgx.c static int s5k4ecgx_write(struct i2c_client *client, u32 addr, u16 val)
client            241 drivers/media/i2c/s5k4ecgx.c 	v4l2_dbg(3, debug, client, "write: 0x%08x : 0x%04x\n", addr, val);
client            243 drivers/media/i2c/s5k4ecgx.c 	ret = s5k4ecgx_i2c_write(client, REG_CMDWR_ADDRH, high);
client            245 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_i2c_write(client, REG_CMDWR_ADDRL, low);
client            247 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_i2c_write(client, REG_CMDBUF0_ADDR, val);
client            252 drivers/media/i2c/s5k4ecgx.c static int s5k4ecgx_read(struct i2c_client *client, u32 addr, u16 *val)
client            257 drivers/media/i2c/s5k4ecgx.c 	ret = s5k4ecgx_i2c_write(client, REG_CMDRD_ADDRH, high);
client            259 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_i2c_write(client, REG_CMDRD_ADDRL, low);
client            261 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_i2c_read(client, REG_CMDBUF0_ADDR, val);
client            268 drivers/media/i2c/s5k4ecgx.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            272 drivers/media/i2c/s5k4ecgx.c 	ret = s5k4ecgx_read(client, REG_FW_VERSION, &fw_ver);
client            278 drivers/media/i2c/s5k4ecgx.c 	ret = s5k4ecgx_read(client, REG_FW_REVISION, &hw_rev);
client            289 drivers/media/i2c/s5k4ecgx.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            293 drivers/media/i2c/s5k4ecgx.c 	ret = s5k4ecgx_i2c_write(client, AHB_MSB_ADDR_PTR, GEN_REG_OFFSH);
client            301 drivers/media/i2c/s5k4ecgx.c 	ret = s5k4ecgx_i2c_write(client, 0x0010, 0x0001);
client            305 drivers/media/i2c/s5k4ecgx.c 	ret = s5k4ecgx_i2c_write(client, 0x1030, 0x0000);
client            309 drivers/media/i2c/s5k4ecgx.c 	return s5k4ecgx_i2c_write(client, 0x0014, 0x0001);
client            326 drivers/media/i2c/s5k4ecgx.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            362 drivers/media/i2c/s5k4ecgx.c 			err = s5k4ecgx_write(client, addr, val);
client            364 drivers/media/i2c/s5k4ecgx.c 			err = s5k4ecgx_i2c_write(client, REG_CMDBUF0_ADDR, val);
client            426 drivers/media/i2c/s5k4ecgx.c 	struct i2c_client *client = v4l2_get_subdevdata(&priv->sd);
client            429 drivers/media/i2c/s5k4ecgx.c 	ret = s5k4ecgx_write(client, REG_P_OUT_WIDTH(0),
client            432 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, REG_P_OUT_HEIGHT(0),
client            435 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, REG_P_FMT(0),
client            626 drivers/media/i2c/s5k4ecgx.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            636 drivers/media/i2c/s5k4ecgx.c 		err = s5k4ecgx_write(client, REG_USER_CONTRAST, ctrl->val);
client            640 drivers/media/i2c/s5k4ecgx.c 		err = s5k4ecgx_write(client, REG_USER_SATURATION, ctrl->val);
client            646 drivers/media/i2c/s5k4ecgx.c 			err = s5k4ecgx_write(client, REG_USER_SHARPNESS(i),
client            651 drivers/media/i2c/s5k4ecgx.c 		err = s5k4ecgx_write(client, REG_USER_BRIGHTNESS, ctrl->val);
client            744 drivers/media/i2c/s5k4ecgx.c 	struct i2c_client *client = v4l2_get_subdevdata(&priv->sd);
client            748 drivers/media/i2c/s5k4ecgx.c 	ret = s5k4ecgx_set_input_window(client, crop_rect);
client            750 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_set_zoom_window(client, crop_rect);
client            752 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, REG_G_INPUTS_CHANGE_REQ, 1);
client            754 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, 0x70000a1e, 0x28);
client            756 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, 0x70000ad4, 0x3c);
client            760 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, REG_P_PVI_MASK(0), 0x52);
client            762 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, REG_P_FR_TIME_TYPE(0),
client            765 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, REG_P_FR_TIME_Q_TYPE(0),
client            768 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client,  REG_P_MIN_FR_TIME(0),
client            771 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, REG_P_MAX_FR_TIME(0),
client            774 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, REG_P_PREV_MIRROR(0), 0);
client            776 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, REG_P_CAP_MIRROR(0), 0);
client            778 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, REG_G_ACTIVE_PREV_CFG, 0);
client            780 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, REG_G_PREV_OPEN_AFTER_CH, 1);
client            782 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, REG_G_NEW_CFG_SYNC, 1);
client            784 drivers/media/i2c/s5k4ecgx.c 		ret = s5k4ecgx_write(client, REG_G_PREV_CFG_CHG, 1);
client            791 drivers/media/i2c/s5k4ecgx.c 	struct i2c_client *client = v4l2_get_subdevdata(&priv->sd);
client            804 drivers/media/i2c/s5k4ecgx.c 	ret = s5k4ecgx_write(client, REG_G_ENABLE_PREV, on);
client            807 drivers/media/i2c/s5k4ecgx.c 	return s5k4ecgx_write(client, REG_G_ENABLE_PREV_CHG, 1);
client            928 drivers/media/i2c/s5k4ecgx.c static int s5k4ecgx_probe(struct i2c_client *client,
client            931 drivers/media/i2c/s5k4ecgx.c 	struct s5k4ecgx_platform_data *pdata = client->dev.platform_data;
client            937 drivers/media/i2c/s5k4ecgx.c 		dev_err(&client->dev, "platform data is missing!\n");
client            941 drivers/media/i2c/s5k4ecgx.c 	priv = devm_kzalloc(&client->dev, sizeof(struct s5k4ecgx), GFP_KERNEL);
client            950 drivers/media/i2c/s5k4ecgx.c 	v4l2_i2c_subdev_init(sd, client, &s5k4ecgx_ops);
client            966 drivers/media/i2c/s5k4ecgx.c 		dev_err(&client->dev, "Failed to set gpios\n");
client            972 drivers/media/i2c/s5k4ecgx.c 	ret = devm_regulator_bulk_get(&client->dev, S5K4ECGX_NUM_SUPPLIES,
client            975 drivers/media/i2c/s5k4ecgx.c 		dev_err(&client->dev, "Failed to get regulators\n");
client            995 drivers/media/i2c/s5k4ecgx.c static int s5k4ecgx_remove(struct i2c_client *client)
client            997 drivers/media/i2c/s5k4ecgx.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            278 drivers/media/i2c/s5k6a3.c static int s5k6a3_probe(struct i2c_client *client)
client            280 drivers/media/i2c/s5k6a3.c 	struct device *dev = &client->dev;
client            319 drivers/media/i2c/s5k6a3.c 	ret = devm_regulator_bulk_get(&client->dev, S5K6A3_NUM_SUPPLIES,
client            325 drivers/media/i2c/s5k6a3.c 	v4l2_i2c_subdev_init(sd, client, &s5k6a3_subdev_ops);
client            345 drivers/media/i2c/s5k6a3.c 		pm_runtime_disable(&client->dev);
client            352 drivers/media/i2c/s5k6a3.c static int s5k6a3_remove(struct i2c_client *client)
client            354 drivers/media/i2c/s5k6a3.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            356 drivers/media/i2c/s5k6a3.c 	pm_runtime_disable(&client->dev);
client            329 drivers/media/i2c/s5k6aa.c static int s5k6aa_i2c_read(struct i2c_client *client, u16 addr, u16 *val)
client            336 drivers/media/i2c/s5k6aa.c 	msg[0].addr = client->addr;
client            341 drivers/media/i2c/s5k6aa.c 	msg[1].addr = client->addr;
client            346 drivers/media/i2c/s5k6aa.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            349 drivers/media/i2c/s5k6aa.c 	v4l2_dbg(3, debug, client, "i2c_read: 0x%04X : 0x%04x\n", addr, *val);
client            354 drivers/media/i2c/s5k6aa.c static int s5k6aa_i2c_write(struct i2c_client *client, u16 addr, u16 val)
client            358 drivers/media/i2c/s5k6aa.c 	int ret = i2c_master_send(client, buf, 4);
client            359 drivers/media/i2c/s5k6aa.c 	v4l2_dbg(3, debug, client, "i2c_write: 0x%04X : 0x%04x\n", addr, val);
client            374 drivers/media/i2c/s5k6aa.c static int s5k6aa_read(struct i2c_client *client, u16 addr, u16 *val)
client            376 drivers/media/i2c/s5k6aa.c 	int ret = s5k6aa_i2c_write(client, REG_CMDRD_ADDRL, addr);
client            379 drivers/media/i2c/s5k6aa.c 	return s5k6aa_i2c_read(client, REG_CMDBUF0_ADDR, val);
client            385 drivers/media/i2c/s5k6aa.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            391 drivers/media/i2c/s5k6aa.c 			ret = s5k6aa_i2c_write(client, REG_CMDWR_ADDRL,
client            395 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_i2c_write(client, REG_CMDBUF0_ADDR, msg->val);
client            407 drivers/media/i2c/s5k6aa.c static int s5k6aa_set_ahb_address(struct i2c_client *client)
client            409 drivers/media/i2c/s5k6aa.c 	int ret = s5k6aa_i2c_write(client, AHB_MSB_ADDR_PTR, GEN_REG_OFFSH);
client            412 drivers/media/i2c/s5k6aa.c 	ret = s5k6aa_i2c_write(client, REG_CMDRD_ADDRH, HOST_SWIF_OFFSH);
client            415 drivers/media/i2c/s5k6aa.c 	return s5k6aa_i2c_write(client, REG_CMDWR_ADDRH, HOST_SWIF_OFFSH);
client            466 drivers/media/i2c/s5k6aa.c 	struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd);
client            472 drivers/media/i2c/s5k6aa.c 	return s5k6aa_write(client, REG_P_PREV_MIRROR(index), flip);
client            510 drivers/media/i2c/s5k6aa.c static int s5k6aa_set_user_exposure(struct i2c_client *client, int exposure)
client            514 drivers/media/i2c/s5k6aa.c 	int ret = s5k6aa_write(client, REG_SF_USR_EXPOSURE_L, time & 0xffff);
client            516 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_SF_USR_EXPOSURE_H, time >> 16);
client            519 drivers/media/i2c/s5k6aa.c 	return s5k6aa_write(client, REG_SF_USR_EXPOSURE_CHG, 1);
client            522 drivers/media/i2c/s5k6aa.c static int s5k6aa_set_user_gain(struct i2c_client *client, int gain)
client            524 drivers/media/i2c/s5k6aa.c 	int ret = s5k6aa_write(client, REG_SF_USR_TOT_GAIN, gain);
client            527 drivers/media/i2c/s5k6aa.c 	return s5k6aa_write(client, REG_SF_USR_TOT_GAIN_CHG, 1);
client            561 drivers/media/i2c/s5k6aa.c 	struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd);
client            565 drivers/media/i2c/s5k6aa.c 	ret = s5k6aa_read(client, REG_DBG_AUTOALG_EN, &auto_alg);
client            575 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_SF_FLICKER_QUANT, value);
client            578 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_SF_FLICKER_QUANT_CHG, 1);
client            583 drivers/media/i2c/s5k6aa.c 	return s5k6aa_write(client, REG_DBG_AUTOALG_EN, auto_alg);
client            588 drivers/media/i2c/s5k6aa.c 	struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd);
client            601 drivers/media/i2c/s5k6aa.c 			return s5k6aa_write(client, REG_G_SPEC_EFFECTS,
client            607 drivers/media/i2c/s5k6aa.c static int s5k6aa_preview_config_status(struct i2c_client *client)
client            610 drivers/media/i2c/s5k6aa.c 	int ret = s5k6aa_read(client, REG_G_PREV_CFG_ERROR, &error);
client            612 drivers/media/i2c/s5k6aa.c 	v4l2_dbg(1, debug, client, "error: 0x%x (%d)\n", error, ret);
client            631 drivers/media/i2c/s5k6aa.c 	struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd);
client            635 drivers/media/i2c/s5k6aa.c 	ret = s5k6aa_write(client, REG_P_OUT_WIDTH(preset->index),
client            638 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_P_OUT_HEIGHT(preset->index),
client            641 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_P_FMT(preset->index),
client            678 drivers/media/i2c/s5k6aa.c 	struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd);
client            692 drivers/media/i2c/s5k6aa.c 	ret = s5k6aa_write(client, REG_OIF_EN_MIPI_LANES, cfg);
client            695 drivers/media/i2c/s5k6aa.c 	return s5k6aa_write(client, REG_OIF_CFG_CHG, 1);
client            699 drivers/media/i2c/s5k6aa.c static int s5k6aa_new_config_sync(struct i2c_client *client, int timeout,
client            706 drivers/media/i2c/s5k6aa.c 	ret = s5k6aa_write(client, REG_G_ACTIVE_PREV_CFG, cid);
client            708 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_G_PREV_CFG_CHG, 1);
client            710 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_G_NEW_CFG_SYNC, 1);
client            715 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_read(client, REG_G_NEW_CFG_SYNC, &reg);
client            734 drivers/media/i2c/s5k6aa.c 	struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd);
client            746 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_P_MAX_OUT_RATE(idx),
client            749 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_P_MIN_OUT_RATE(idx),
client            752 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_P_CLK_INDEX(idx),
client            755 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_P_FR_RATE_TYPE(idx),
client            758 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_P_FR_RATE_Q_TYPE(idx),
client            761 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_P_MAX_FR_TIME(idx),
client            764 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_P_MIN_FR_TIME(idx),
client            767 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_new_config_sync(client, 250, idx);
client            769 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_preview_config_status(client);
client            773 drivers/media/i2c/s5k6aa.c 	v4l2_dbg(1, debug, client, "Frame interval: %d +/- 3.3ms. (%d)\n",
client            789 drivers/media/i2c/s5k6aa.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            797 drivers/media/i2c/s5k6aa.c 	ret = s5k6aa_set_ahb_address(client);
client            902 drivers/media/i2c/s5k6aa.c 	struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd);
client            905 drivers/media/i2c/s5k6aa.c 	ret = s5k6aa_write(client, REG_G_ENABLE_PREV, enable);
client            907 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_write(client, REG_G_ENABLE_PREV_CHG, 1);
client           1253 drivers/media/i2c/s5k6aa.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1275 drivers/media/i2c/s5k6aa.c 		err = s5k6aa_write(client, REG_USER_BRIGHTNESS, ctrl->val);
client           1283 drivers/media/i2c/s5k6aa.c 		err = s5k6aa_write(client, REG_USER_CONTRAST, ctrl->val);
client           1294 drivers/media/i2c/s5k6aa.c 		err = s5k6aa_write(client, REG_G_PREV_CFG_CHG, 1);
client           1302 drivers/media/i2c/s5k6aa.c 		err = s5k6aa_write(client, REG_USER_SATURATION, ctrl->val);
client           1306 drivers/media/i2c/s5k6aa.c 		err = s5k6aa_write(client, REG_USER_SHARPBLUR, ctrl->val);
client           1310 drivers/media/i2c/s5k6aa.c 		err = s5k6aa_write(client, REG_P_COLORTEMP(idx), ctrl->val);
client           1313 drivers/media/i2c/s5k6aa.c 		err = s5k6aa_write(client, REG_G_PREV_CFG_CHG, 1);
client           1447 drivers/media/i2c/s5k6aa.c 	struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd);
client           1450 drivers/media/i2c/s5k6aa.c 	int ret = s5k6aa_set_ahb_address(client);
client           1453 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_read(client, REG_FW_APIVER, &api_ver);
client           1455 drivers/media/i2c/s5k6aa.c 		ret = s5k6aa_read(client, REG_FW_REVISION, &fw_rev);
client           1507 drivers/media/i2c/s5k6aa.c 	struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd);
client           1519 drivers/media/i2c/s5k6aa.c 		ret = devm_gpio_request_one(&client->dev, gpio->gpio, flags,
client           1531 drivers/media/i2c/s5k6aa.c 		ret = devm_gpio_request_one(&client->dev, gpio->gpio, flags,
client           1542 drivers/media/i2c/s5k6aa.c static int s5k6aa_probe(struct i2c_client *client,
client           1545 drivers/media/i2c/s5k6aa.c 	const struct s5k6aa_platform_data *pdata = client->dev.platform_data;
client           1551 drivers/media/i2c/s5k6aa.c 		dev_err(&client->dev, "Platform data not specified\n");
client           1556 drivers/media/i2c/s5k6aa.c 		dev_err(&client->dev, "MCLK frequency not specified\n");
client           1560 drivers/media/i2c/s5k6aa.c 	s5k6aa = devm_kzalloc(&client->dev, sizeof(*s5k6aa), GFP_KERNEL);
client           1574 drivers/media/i2c/s5k6aa.c 	v4l2_i2c_subdev_init(sd, client, &s5k6aa_subdev_ops);
client           1594 drivers/media/i2c/s5k6aa.c 	ret = devm_regulator_bulk_get(&client->dev, S5K6AA_NUM_SUPPLIES,
client           1597 drivers/media/i2c/s5k6aa.c 		dev_err(&client->dev, "Failed to get regulators\n");
client           1619 drivers/media/i2c/s5k6aa.c static int s5k6aa_remove(struct i2c_client *client)
client           1621 drivers/media/i2c/s5k6aa.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            250 drivers/media/i2c/saa6588.c 	struct i2c_client *client = v4l2_get_subdevdata(&s->sd);
client            258 drivers/media/i2c/saa6588.c 	if (6 != i2c_master_recv(client, &tmpbuf[0], 6)) {
client            328 drivers/media/i2c/saa6588.c 	struct i2c_client *client = v4l2_get_subdevdata(&s->sd);
client            376 drivers/media/i2c/saa6588.c 	rc = i2c_master_send(client, buf, 3);
client            451 drivers/media/i2c/saa6588.c static int saa6588_probe(struct i2c_client *client,
client            457 drivers/media/i2c/saa6588.c 	v4l_info(client, "saa6588 found @ 0x%x (%s)\n",
client            458 drivers/media/i2c/saa6588.c 			client->addr << 1, client->adapter->name);
client            460 drivers/media/i2c/saa6588.c 	s = devm_kzalloc(&client->dev, sizeof(*s), GFP_KERNEL);
client            466 drivers/media/i2c/saa6588.c 	s->buffer = devm_kzalloc(&client->dev, s->buf_size, GFP_KERNEL);
client            470 drivers/media/i2c/saa6588.c 	v4l2_i2c_subdev_init(sd, client, &saa6588_ops);
client            487 drivers/media/i2c/saa6588.c static int saa6588_remove(struct i2c_client *client)
client            489 drivers/media/i2c/saa6588.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            222 drivers/media/i2c/saa6752hs.c static int saa6752hs_chip_command(struct i2c_client *client,
client            264 drivers/media/i2c/saa6752hs.c 	i2c_master_send(client, buf, 1);
client            269 drivers/media/i2c/saa6752hs.c 		i2c_master_send(client, buf, 1);
client            270 drivers/media/i2c/saa6752hs.c 		i2c_master_recv(client, buf, 1);
client            289 drivers/media/i2c/saa6752hs.c static inline void set_reg8(struct i2c_client *client, uint8_t reg, uint8_t val)
client            295 drivers/media/i2c/saa6752hs.c 	i2c_master_send(client, buf, 2);
client            298 drivers/media/i2c/saa6752hs.c static inline void set_reg16(struct i2c_client *client, uint8_t reg, uint16_t val)
client            305 drivers/media/i2c/saa6752hs.c 	i2c_master_send(client, buf, 3);
client            308 drivers/media/i2c/saa6752hs.c static int saa6752hs_set_bitrate(struct i2c_client *client,
client            316 drivers/media/i2c/saa6752hs.c 	set_reg8(client, 0x71,
client            322 drivers/media/i2c/saa6752hs.c 		set_reg16(client, 0x80, params->vi_bitrate);
client            325 drivers/media/i2c/saa6752hs.c 		set_reg16(client, 0x81, params->vi_bitrate_peak);
client            329 drivers/media/i2c/saa6752hs.c 		set_reg16(client, 0x81, params->vi_bitrate);
client            334 drivers/media/i2c/saa6752hs.c 	set_reg8(client, 0x93,
client            342 drivers/media/i2c/saa6752hs.c 	set_reg8(client, 0x94, is_384k);
client            354 drivers/media/i2c/saa6752hs.c 	set_reg16(client, 0xb1, tot_bitrate);
client            428 drivers/media/i2c/saa6752hs.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            435 drivers/media/i2c/saa6752hs.c 	set_reg8(client, 0x41, h->video_format);
client            438 drivers/media/i2c/saa6752hs.c 	set_reg8(client, 0x40, (h->standard & V4L2_STD_525_60) ? 1 : 0);
client            441 drivers/media/i2c/saa6752hs.c 	saa6752hs_set_bitrate(client, h);
client            444 drivers/media/i2c/saa6752hs.c 	set_reg16(client, 0x72, 0x030d);
client            447 drivers/media/i2c/saa6752hs.c 	set_reg8(client, 0x82, 0x04);
client            450 drivers/media/i2c/saa6752hs.c 	set_reg8(client, 0x83, 0x0c);
client            453 drivers/media/i2c/saa6752hs.c 	set_reg8(client, 0xd0, 0x81);
client            456 drivers/media/i2c/saa6752hs.c 	set_reg8(client, 0xb0, 0x05);
client            459 drivers/media/i2c/saa6752hs.c 	set_reg16(client, 0xf6, leading_null_bytes);
client            494 drivers/media/i2c/saa6752hs.c 	set_reg16(client, 0xc1, h->params.ts_pid_audio);
client            497 drivers/media/i2c/saa6752hs.c 	set_reg16(client, 0xc0, h->params.ts_pid_video);
client            500 drivers/media/i2c/saa6752hs.c 	set_reg16(client, 0xc4, h->params.ts_pid_pcr);
client            503 drivers/media/i2c/saa6752hs.c 	i2c_master_send(client, localPAT, sizeof(PAT));
client            504 drivers/media/i2c/saa6752hs.c 	i2c_master_send(client, localPMT, size);
client            507 drivers/media/i2c/saa6752hs.c 	set_reg8(client, 0xa4, 1);
client            508 drivers/media/i2c/saa6752hs.c 	set_reg8(client, 0xa4, 0);
client            511 drivers/media/i2c/saa6752hs.c 	saa6752hs_chip_command(client, SAA6752HS_COMMAND_START);
client            519 drivers/media/i2c/saa6752hs.c 	i2c_master_send(client, buf, 5);
client            520 drivers/media/i2c/saa6752hs.c 	i2c_master_recv(client, buf2, 4);
client            540 drivers/media/i2c/saa6752hs.c 	i2c_master_send(client, buf, 9);
client            662 drivers/media/i2c/saa6752hs.c static int saa6752hs_probe(struct i2c_client *client,
client            671 drivers/media/i2c/saa6752hs.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            672 drivers/media/i2c/saa6752hs.c 			client->addr << 1, client->adapter->name);
client            674 drivers/media/i2c/saa6752hs.c 	h = devm_kzalloc(&client->dev, sizeof(*h), GFP_KERNEL);
client            678 drivers/media/i2c/saa6752hs.c 	v4l2_i2c_subdev_init(sd, client, &saa6752hs_ops);
client            680 drivers/media/i2c/saa6752hs.c 	i2c_master_send(client, &addr, 1);
client            681 drivers/media/i2c/saa6752hs.c 	i2c_master_recv(client, data, sizeof(data));
client            686 drivers/media/i2c/saa6752hs.c 		v4l_info(client, "supports AC-3\n");
client            767 drivers/media/i2c/saa6752hs.c static int saa6752hs_remove(struct i2c_client *client)
client            769 drivers/media/i2c/saa6752hs.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             69 drivers/media/i2c/saa7110.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             73 drivers/media/i2c/saa7110.c 	return i2c_smbus_write_byte_data(client, reg, value);
client             78 drivers/media/i2c/saa7110.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             89 drivers/media/i2c/saa7110.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client             90 drivers/media/i2c/saa7110.c 		ret = i2c_master_send(client, data, len);
client            107 drivers/media/i2c/saa7110.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            109 drivers/media/i2c/saa7110.c 	return i2c_smbus_read_byte(client);
client            361 drivers/media/i2c/saa7110.c static int saa7110_probe(struct i2c_client *client,
client            369 drivers/media/i2c/saa7110.c 	if (!i2c_check_functionality(client->adapter,
client            373 drivers/media/i2c/saa7110.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            374 drivers/media/i2c/saa7110.c 			client->addr << 1, client->adapter->name);
client            376 drivers/media/i2c/saa7110.c 	decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL);
client            380 drivers/media/i2c/saa7110.c 	v4l2_i2c_subdev_init(sd, client, &saa7110_ops);
client            431 drivers/media/i2c/saa7110.c static int saa7110_remove(struct i2c_client *client)
client            433 drivers/media/i2c/saa7110.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            111 drivers/media/i2c/saa7115.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            113 drivers/media/i2c/saa7115.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            177 drivers/media/i2c/saa7115.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            179 drivers/media/i2c/saa7115.c 	return i2c_smbus_read_byte_data(client, reg);
client           1704 drivers/media/i2c/saa7115.c static int saa711x_detect_chip(struct i2c_client *client,
client           1717 drivers/media/i2c/saa7115.c 		i2c_smbus_write_byte_data(client, 0, i);
client           1718 drivers/media/i2c/saa7115.c 		chip_ver[i] = i2c_smbus_read_byte_data(client, 0);
client           1737 drivers/media/i2c/saa7115.c 				v4l_info(client, "saa7111a variant found\n");
client           1750 drivers/media/i2c/saa7115.c 			v4l2_info(client,
client           1779 drivers/media/i2c/saa7115.c 		v4l_dbg(1, debug, client,
client           1781 drivers/media/i2c/saa7115.c 			name, 16, chip_ver, client->addr << 1);
client           1793 drivers/media/i2c/saa7115.c 		v4l_dbg(1, debug, client,
client           1795 drivers/media/i2c/saa7115.c 			name, 16, chip_ver, client->addr << 1);
client           1802 drivers/media/i2c/saa7115.c 	v4l_dbg(1, debug, client, "chip %*ph @ 0x%x is unknown.\n",
client           1803 drivers/media/i2c/saa7115.c 		16, chip_ver, client->addr << 1);
client           1807 drivers/media/i2c/saa7115.c static int saa711x_probe(struct i2c_client *client,
client           1821 drivers/media/i2c/saa7115.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client           1824 drivers/media/i2c/saa7115.c 	ident = saa711x_detect_chip(client, id, name);
client           1827 drivers/media/i2c/saa7115.c 		v4l_warn(client, "found %s while %s was expected\n",
client           1834 drivers/media/i2c/saa7115.c 	strscpy(client->name, name, sizeof(client->name));
client           1836 drivers/media/i2c/saa7115.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client           1840 drivers/media/i2c/saa7115.c 	v4l2_i2c_subdev_init(sd, client, &saa711x_ops);
client           1856 drivers/media/i2c/saa7115.c 	v4l_info(client, "%s found @ 0x%x (%s)\n", name,
client           1857 drivers/media/i2c/saa7115.c 		 client->addr << 1, client->adapter->name);
client           1894 drivers/media/i2c/saa7115.c 	pdata = client->dev.platform_data;
client           1930 drivers/media/i2c/saa7115.c static int saa711x_remove(struct i2c_client *client)
client           1932 drivers/media/i2c/saa7115.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            304 drivers/media/i2c/saa7127.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            306 drivers/media/i2c/saa7127.c 	return i2c_smbus_read_byte_data(client, reg);
client            313 drivers/media/i2c/saa7127.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            317 drivers/media/i2c/saa7127.c 		if (i2c_smbus_write_byte_data(client, reg, val) == 0)
client            711 drivers/media/i2c/saa7127.c static int saa7127_probe(struct i2c_client *client,
client            719 drivers/media/i2c/saa7127.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            722 drivers/media/i2c/saa7127.c 	v4l_dbg(1, debug, client, "detecting saa7127 client on address 0x%x\n",
client            723 drivers/media/i2c/saa7127.c 			client->addr << 1);
client            725 drivers/media/i2c/saa7127.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            730 drivers/media/i2c/saa7127.c 	v4l2_i2c_subdev_init(sd, client, &saa7127_ops);
client            755 drivers/media/i2c/saa7127.c 			strscpy(client->name, "saa7129", I2C_NAME_SIZE);
client            758 drivers/media/i2c/saa7127.c 			strscpy(client->name, "saa7127", I2C_NAME_SIZE);
client            762 drivers/media/i2c/saa7127.c 	v4l2_info(sd, "%s found @ 0x%x (%s)\n", client->name,
client            763 drivers/media/i2c/saa7127.c 			client->addr << 1, client->adapter->name);
client            788 drivers/media/i2c/saa7127.c static int saa7127_remove(struct i2c_client *client)
client            790 drivers/media/i2c/saa7127.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             88 drivers/media/i2c/saa717x.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             89 drivers/media/i2c/saa717x.c 	struct i2c_adapter *adap = client->adapter;
client             95 drivers/media/i2c/saa717x.c 	msg.addr = client->addr;
client            122 drivers/media/i2c/saa717x.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            123 drivers/media/i2c/saa717x.c 	struct i2c_adapter *adap = client->adapter;
client            132 drivers/media/i2c/saa717x.c 	msgs[0].addr = msgs[1].addr = client->addr;
client           1231 drivers/media/i2c/saa717x.c static int saa717x_probe(struct i2c_client *client,
client           1241 drivers/media/i2c/saa717x.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client           1244 drivers/media/i2c/saa717x.c 	decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL);
client           1249 drivers/media/i2c/saa717x.c 	v4l2_i2c_subdev_init(sd, client, &saa717x_ops);
client           1269 drivers/media/i2c/saa717x.c 			client->addr << 1, client->adapter->name);
client           1327 drivers/media/i2c/saa717x.c static int saa717x_remove(struct i2c_client *client)
client           1329 drivers/media/i2c/saa717x.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             50 drivers/media/i2c/saa7185.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             52 drivers/media/i2c/saa7185.c 	return i2c_smbus_read_byte(client);
client             57 drivers/media/i2c/saa7185.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             62 drivers/media/i2c/saa7185.c 	return i2c_smbus_write_byte_data(client, reg, value);
client             68 drivers/media/i2c/saa7185.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             75 drivers/media/i2c/saa7185.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client             89 drivers/media/i2c/saa7185.c 			ret = i2c_master_send(client, block_data, block_len);
client            293 drivers/media/i2c/saa7185.c static int saa7185_probe(struct i2c_client *client,
client            301 drivers/media/i2c/saa7185.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            304 drivers/media/i2c/saa7185.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            305 drivers/media/i2c/saa7185.c 			client->addr << 1, client->adapter->name);
client            307 drivers/media/i2c/saa7185.c 	encoder = devm_kzalloc(&client->dev, sizeof(*encoder), GFP_KERNEL);
client            312 drivers/media/i2c/saa7185.c 	v4l2_i2c_subdev_init(sd, client, &saa7185_ops);
client            325 drivers/media/i2c/saa7185.c static int saa7185_remove(struct i2c_client *client)
client            327 drivers/media/i2c/saa7185.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             62 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client             85 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "format_model_type %s\n",
client            123 drivers/media/i2c/smiapp/smiapp-core.c 			dev_dbg(&client->dev,
client            155 drivers/media/i2c/smiapp/smiapp-core.c 		dev_dbg(&client->dev,
client            183 drivers/media/i2c/smiapp/smiapp-core.c 		dev_dbg(&client->dev,
client            189 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "embedded data from lines %d to %d\n",
client            191 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "image data starts at line %d\n",
client            241 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client            274 drivers/media/i2c/smiapp/smiapp-core.c 	return smiapp_pll_calculate(&client->dev, &lim, pll);
client            362 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client            375 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "flip %d\n", flip);
client            381 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client            399 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "new pixel order %s\n",
client            525 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client            578 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev,
client            600 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev,
client            649 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client            660 drivers/media/i2c/smiapp/smiapp-core.c 		dev_dbg(&client->dev, "0x%8.8x \"%s\" = %u, 0x%x\n",
client            687 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client            732 drivers/media/i2c/smiapp/smiapp-core.c 		dev_dbg(&client->dev,
client            747 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client            759 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "data_format_model_type %d\n", type);
client            767 drivers/media/i2c/smiapp/smiapp-core.c 		dev_dbg(&client->dev, "bad pixel order %d\n", pixel_order);
client            771 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "pixel order %d (%s)\n", pixel_order,
client            797 drivers/media/i2c/smiapp/smiapp-core.c 		dev_dbg(&client->dev, "%u: bpp %u, compressed %u\n",
client            810 drivers/media/i2c/smiapp/smiapp-core.c 			dev_dbg(&client->dev, "jolly good! %d\n", j);
client            831 drivers/media/i2c/smiapp/smiapp-core.c 		&client->dev,
client            854 drivers/media/i2c/smiapp/smiapp-core.c 			dev_dbg(&client->dev, "link freq %u Hz, bpp %u %s\n",
client            864 drivers/media/i2c/smiapp/smiapp-core.c 			dev_info(&client->dev,
client            881 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "no supported mbus code found\n");
client            919 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client            955 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "vblank\t\t%d\n", sensor->vblank->val);
client            956 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "hblank\t\t%d\n", sensor->hblank->val);
client            958 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "real timeperframe\t100/%d\n",
client           1038 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client           1042 drivers/media/i2c/smiapp/smiapp-core.c 	client->addr = sensor->hwcfg->i2c_addr_dfl;
client           1050 drivers/media/i2c/smiapp/smiapp-core.c 	client->addr = sensor->hwcfg->i2c_addr_alt;
client           1200 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = to_i2c_client(dev);
client           1201 drivers/media/i2c/smiapp/smiapp-core.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client           1214 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "failed to enable vana regulator\n");
client           1221 drivers/media/i2c/smiapp/smiapp-core.c 		dev_dbg(&client->dev, "failed to enable xclk\n");
client           1249 drivers/media/i2c/smiapp/smiapp-core.c 			dev_err(&client->dev, "cci address change error\n");
client           1257 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "software reset failed\n");
client           1264 drivers/media/i2c/smiapp/smiapp-core.c 			dev_err(&client->dev, "cci address change error\n");
client           1272 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "compression mode set failed\n");
client           1280 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "extclk frequency set failed\n");
client           1287 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "csi lane mode set failed\n");
client           1294 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "fast standby set failed\n");
client           1301 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "csi signalling mode set failed\n");
client           1313 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "post_poweron quirks failed\n");
client           1350 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = to_i2c_client(dev);
client           1351 drivers/media/i2c/smiapp/smiapp-core.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client           1389 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client           1499 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "pre_streamon quirks failed\n");
client           1514 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client           1525 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "post_streamoff quirks failed\n");
client           1539 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client           1546 drivers/media/i2c/smiapp/smiapp-core.c 		rval = pm_runtime_get_sync(&client->dev);
client           1549 drivers/media/i2c/smiapp/smiapp-core.c 				pm_runtime_set_active(&client->dev);
client           1550 drivers/media/i2c/smiapp/smiapp-core.c 			pm_runtime_put(&client->dev);
client           1562 drivers/media/i2c/smiapp/smiapp-core.c 		pm_runtime_mark_last_busy(&client->dev);
client           1563 drivers/media/i2c/smiapp/smiapp-core.c 		pm_runtime_put_autosuspend(&client->dev);
client           1573 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
client           1581 drivers/media/i2c/smiapp/smiapp-core.c 	dev_err(&client->dev, "subdev %s, pad %d, index %d\n",
client           1599 drivers/media/i2c/smiapp/smiapp-core.c 			dev_err(&client->dev, "found index %d, i %d, code %x\n",
client           1856 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
client           1884 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "w %d ask_w %d h %d ask_h %d goodness %d\n",
client           1944 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
client           1974 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "scaling: a %d b %d max_m %d\n", a, b, max_m);
client           2005 drivers/media/i2c/smiapp/smiapp-core.c 		dev_dbg(&client->dev, "trying factor %d (%d)\n", try[i], i);
client           2313 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
client           2326 drivers/media/i2c/smiapp/smiapp-core.c 		rval = pm_runtime_get_sync(&client->dev);
client           2329 drivers/media/i2c/smiapp/smiapp-core.c 				pm_runtime_set_active(&client->dev);
client           2330 drivers/media/i2c/smiapp/smiapp-core.c 			pm_runtime_put(&client->dev);
client           2335 drivers/media/i2c/smiapp/smiapp-core.c 			dev_err(&client->dev, "nvm read failed\n");
client           2339 drivers/media/i2c/smiapp/smiapp-core.c 		pm_runtime_mark_last_busy(&client->dev);
client           2340 drivers/media/i2c/smiapp/smiapp-core.c 		pm_runtime_put_autosuspend(&client->dev);
client           2374 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client           2434 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "sensor detection failed\n");
client           2438 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "module 0x%2.2x-0x%4.4x\n",
client           2441 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev,
client           2446 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "sensor 0x%2.2x-0x%4.4x\n",
client           2449 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev,
client           2453 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "smia version %2.2d smiapp version %2.2d\n",
client           2490 drivers/media/i2c/smiapp/smiapp-core.c 		dev_warn(&client->dev,
client           2493 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "the sensor is called %s, ident %2.2x%4.4x%2.2x\n",
client           2509 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client           2518 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev,
client           2526 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev,
client           2535 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev,
client           2584 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client           2586 drivers/media/i2c/smiapp/smiapp-core.c 	device_remove_file(&client->dev, &dev_attr_nvm);
client           2587 drivers/media/i2c/smiapp/smiapp-core.c 	device_remove_file(&client->dev, &dev_attr_ident);
client           2596 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client           2610 drivers/media/i2c/smiapp/smiapp-core.c 	v4l2_i2c_subdev_set_name(&ssd->sd, client, sensor->minfo.name, name);
client           2630 drivers/media/i2c/smiapp/smiapp-core.c 	ssd->sd.dev = &client->dev;
client           2631 drivers/media/i2c/smiapp/smiapp-core.c 	v4l2_set_subdevdata(&ssd->sd, client);
client           2711 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = to_i2c_client(dev);
client           2712 drivers/media/i2c/smiapp/smiapp-core.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client           2720 drivers/media/i2c/smiapp/smiapp-core.c 			pm_runtime_set_active(&client->dev);
client           2736 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = to_i2c_client(dev);
client           2737 drivers/media/i2c/smiapp/smiapp-core.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client           2850 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_probe(struct i2c_client *client)
client           2853 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_hwconfig *hwcfg = smiapp_get_hwconfig(&client->dev);
client           2860 drivers/media/i2c/smiapp/smiapp-core.c 	sensor = devm_kzalloc(&client->dev, sizeof(*sensor), GFP_KERNEL);
client           2868 drivers/media/i2c/smiapp/smiapp-core.c 	v4l2_i2c_subdev_init(&sensor->src->sd, client, &smiapp_ops);
client           2871 drivers/media/i2c/smiapp/smiapp-core.c 	sensor->vana = devm_regulator_get(&client->dev, "vana");
client           2873 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "could not get regulator for vana\n");
client           2877 drivers/media/i2c/smiapp/smiapp-core.c 	sensor->ext_clk = devm_clk_get(&client->dev, NULL);
client           2879 drivers/media/i2c/smiapp/smiapp-core.c 		dev_info(&client->dev, "no clock defined, continuing...\n");
client           2882 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "could not get clock (%ld)\n",
client           2894 drivers/media/i2c/smiapp/smiapp-core.c 				dev_err(&client->dev,
client           2902 drivers/media/i2c/smiapp/smiapp-core.c 				dev_err(&client->dev,
client           2909 drivers/media/i2c/smiapp/smiapp-core.c 			dev_dbg(&client->dev, "obtained clock freq %u\n",
client           2913 drivers/media/i2c/smiapp/smiapp-core.c 		dev_dbg(&client->dev, "assuming clock freq %u\n",
client           2916 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "unable to obtain clock freq\n");
client           2920 drivers/media/i2c/smiapp/smiapp-core.c 	sensor->xshutdown = devm_gpiod_get_optional(&client->dev, "xshutdown",
client           2925 drivers/media/i2c/smiapp/smiapp-core.c 	rval = smiapp_power_on(&client->dev);
client           2967 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "limits quirks failed\n");
client           2993 drivers/media/i2c/smiapp/smiapp-core.c 			dev_dbg(&client->dev, "binning %xx%x\n",
client           3001 drivers/media/i2c/smiapp/smiapp-core.c 	if (device_create_file(&client->dev, &dev_attr_ident) != 0) {
client           3002 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "sysfs ident entry creation failed\n");
client           3010 drivers/media/i2c/smiapp/smiapp-core.c 		sensor->nvm = devm_kzalloc(&client->dev,
client           3017 drivers/media/i2c/smiapp/smiapp-core.c 		if (device_create_file(&client->dev, &dev_attr_nvm) != 0) {
client           3018 drivers/media/i2c/smiapp/smiapp-core.c 			dev_err(&client->dev, "sysfs nvm entry failed\n");
client           3064 drivers/media/i2c/smiapp/smiapp-core.c 	dev_dbg(&client->dev, "profile %d\n", sensor->minfo.smiapp_profile);
client           3092 drivers/media/i2c/smiapp/smiapp-core.c 		dev_err(&client->dev, "update mode failed\n");
client           3104 drivers/media/i2c/smiapp/smiapp-core.c 	pm_runtime_set_active(&client->dev);
client           3105 drivers/media/i2c/smiapp/smiapp-core.c 	pm_runtime_get_noresume(&client->dev);
client           3106 drivers/media/i2c/smiapp/smiapp-core.c 	pm_runtime_enable(&client->dev);
client           3112 drivers/media/i2c/smiapp/smiapp-core.c 	pm_runtime_set_autosuspend_delay(&client->dev, 1000);
client           3113 drivers/media/i2c/smiapp/smiapp-core.c 	pm_runtime_use_autosuspend(&client->dev);
client           3114 drivers/media/i2c/smiapp/smiapp-core.c 	pm_runtime_put_autosuspend(&client->dev);
client           3119 drivers/media/i2c/smiapp/smiapp-core.c 	pm_runtime_disable(&client->dev);
client           3128 drivers/media/i2c/smiapp/smiapp-core.c 	smiapp_power_off(&client->dev);
client           3133 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_remove(struct i2c_client *client)
client           3135 drivers/media/i2c/smiapp/smiapp-core.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client           3141 drivers/media/i2c/smiapp/smiapp-core.c 	pm_runtime_disable(&client->dev);
client           3142 drivers/media/i2c/smiapp/smiapp-core.c 	if (!pm_runtime_status_suspended(&client->dev))
client           3143 drivers/media/i2c/smiapp/smiapp-core.c 		smiapp_power_off(&client->dev);
client           3144 drivers/media/i2c/smiapp/smiapp-core.c 	pm_runtime_set_suspended(&client->dev);
client             23 drivers/media/i2c/smiapp/smiapp-quirk.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client             29 drivers/media/i2c/smiapp/smiapp-quirk.c 			dev_err(&client->dev,
client             42 drivers/media/i2c/smiapp/smiapp-quirk.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client             44 drivers/media/i2c/smiapp/smiapp-quirk.c 	dev_dbg(&client->dev, "quirk: 0x%8.8x \"%s\" = %d, 0x%x\n",
client            138 drivers/media/i2c/smiapp/smiapp-quirk.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client            176 drivers/media/i2c/smiapp/smiapp-quirk.c 		dev_warn(&client->dev, "no MSRs for %d Hz ext_clk\n",
client             17 drivers/media/i2c/smiapp/smiapp-regs.c static uint32_t float_to_u32_mul_1000000(struct i2c_client *client,
client             24 drivers/media/i2c/smiapp/smiapp-regs.c 		dev_err(&client->dev, "this is a negative number\n");
client             32 drivers/media/i2c/smiapp/smiapp-regs.c 		dev_err(&client->dev, "NaN or other special number\n");
client             70 drivers/media/i2c/smiapp/smiapp-regs.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client             76 drivers/media/i2c/smiapp/smiapp-regs.c 	msg.addr = client->addr;
client             84 drivers/media/i2c/smiapp/smiapp-regs.c 	r = i2c_transfer(client->adapter, &msg, 1);
client             93 drivers/media/i2c/smiapp/smiapp-regs.c 	r = i2c_transfer(client->adapter, &msg, 1);
client            120 drivers/media/i2c/smiapp/smiapp-regs.c 	dev_err(&client->dev, "read from offset 0x%x error %d\n", offset, r);
client            153 drivers/media/i2c/smiapp/smiapp-regs.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client            170 drivers/media/i2c/smiapp/smiapp-regs.c 		*val = float_to_u32_mul_1000000(client, *val);
client            213 drivers/media/i2c/smiapp/smiapp-regs.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd);
client            229 drivers/media/i2c/smiapp/smiapp-regs.c 	msg.addr = client->addr;
client            262 drivers/media/i2c/smiapp/smiapp-regs.c 		r = i2c_transfer(client->adapter, &msg, 1);
client            265 drivers/media/i2c/smiapp/smiapp-regs.c 				dev_err(&client->dev,
client            274 drivers/media/i2c/smiapp/smiapp-regs.c 	dev_err(&client->dev,
client             47 drivers/media/i2c/sony-btf-mpx.c static int mpx_write(struct i2c_client *client, int dev, int addr, int val)
client             57 drivers/media/i2c/sony-btf-mpx.c 	msg.addr = client->addr;
client             61 drivers/media/i2c/sony-btf-mpx.c 	i2c_transfer(client->adapter, &msg, 1);
client            159 drivers/media/i2c/sony-btf-mpx.c 	struct i2c_client *client = v4l2_get_subdevdata(&t->sd);
client            169 drivers/media/i2c/sony-btf-mpx.c 	msg.addr = client->addr;
client            173 drivers/media/i2c/sony-btf-mpx.c 	i2c_transfer(client->adapter, &msg, 1);
client            175 drivers/media/i2c/sony-btf-mpx.c 	i2c_transfer(client->adapter, &msg, 1);
client            211 drivers/media/i2c/sony-btf-mpx.c 	mpx_write(client, 0x10, 0x0030, mpx_audio_modes[mode].modus);
client            212 drivers/media/i2c/sony-btf-mpx.c 	mpx_write(client, 0x12, 0x0008, source);
client            213 drivers/media/i2c/sony-btf-mpx.c 	mpx_write(client, 0x12, 0x0013, mpx_audio_modes[mode].acb);
client            214 drivers/media/i2c/sony-btf-mpx.c 	mpx_write(client, 0x12, 0x000e,
client            216 drivers/media/i2c/sony-btf-mpx.c 	mpx_write(client, 0x12, 0x0010,
client            218 drivers/media/i2c/sony-btf-mpx.c 	mpx_write(client, 0x12, 0x000d,
client            220 drivers/media/i2c/sony-btf-mpx.c 	mpx_write(client, 0x10, 0x0020, mpx_audio_modes[mode].system);
client            221 drivers/media/i2c/sony-btf-mpx.c 	mpx_write(client, 0x12, 0x0000, mpx_audio_modes[mode].volume);
client            223 drivers/media/i2c/sony-btf-mpx.c 		mpx_write(client, 0x10, 0x0022,
client            231 drivers/media/i2c/sony-btf-mpx.c 		v4l2_info(client,
client            244 drivers/media/i2c/sony-btf-mpx.c 		msgs[0].addr = client->addr;
client            248 drivers/media/i2c/sony-btf-mpx.c 		msgs[1].addr = client->addr;
client            252 drivers/media/i2c/sony-btf-mpx.c 		i2c_transfer(client->adapter, msgs, 2);
client            253 drivers/media/i2c/sony-btf-mpx.c 		v4l2_info(client, "MPX system: %02x%02x\n",
client            258 drivers/media/i2c/sony-btf-mpx.c 		i2c_transfer(client->adapter, msgs, 2);
client            259 drivers/media/i2c/sony-btf-mpx.c 		v4l2_info(client, "MPX status: %02x%02x\n",
client            334 drivers/media/i2c/sony-btf-mpx.c static int sony_btf_mpx_probe(struct i2c_client *client,
client            340 drivers/media/i2c/sony-btf-mpx.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_I2C_BLOCK))
client            343 drivers/media/i2c/sony-btf-mpx.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            344 drivers/media/i2c/sony-btf-mpx.c 			client->addr << 1, client->adapter->name);
client            346 drivers/media/i2c/sony-btf-mpx.c 	t = devm_kzalloc(&client->dev, sizeof(*t), GFP_KERNEL);
client            351 drivers/media/i2c/sony-btf-mpx.c 	v4l2_i2c_subdev_init(sd, client, &sony_btf_mpx_ops);
client            360 drivers/media/i2c/sony-btf-mpx.c static int sony_btf_mpx_remove(struct i2c_client *client)
client            362 drivers/media/i2c/sony-btf-mpx.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            286 drivers/media/i2c/sr030pc30.c 			       struct i2c_client *client, unsigned int reg)
client            292 drivers/media/i2c/sr030pc30.c 		ret = i2c_smbus_write_byte_data(client, PAGEMODE_REG, page);
client            301 drivers/media/i2c/sr030pc30.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            304 drivers/media/i2c/sr030pc30.c 	int ret = set_i2c_page(info, client, reg_addr);
client            306 drivers/media/i2c/sr030pc30.c 		ret = i2c_smbus_read_byte_data(client, reg_addr & 0xFF);
client            312 drivers/media/i2c/sr030pc30.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            315 drivers/media/i2c/sr030pc30.c 	int ret = set_i2c_page(info, client, reg_addr);
client            318 drivers/media/i2c/sr030pc30.c 			client, reg_addr & 0xFF, val);
client            593 drivers/media/i2c/sr030pc30.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            612 drivers/media/i2c/sr030pc30.c 		ret = pdata->set_power(&client->dev, on);
client            651 drivers/media/i2c/sr030pc30.c static int sr030pc30_detect(struct i2c_client *client)
client            654 drivers/media/i2c/sr030pc30.c 		= client->dev.platform_data;
client            659 drivers/media/i2c/sr030pc30.c 		ret = pdata->set_power(&client->dev, 1);
client            664 drivers/media/i2c/sr030pc30.c 	ret = i2c_smbus_read_byte_data(client, DEVICE_ID_REG);
client            667 drivers/media/i2c/sr030pc30.c 		pdata->set_power(&client->dev, 0);
client            670 drivers/media/i2c/sr030pc30.c 		dev_err(&client->dev, "%s: I2C read failed\n", __func__);
client            678 drivers/media/i2c/sr030pc30.c static int sr030pc30_probe(struct i2c_client *client,
client            685 drivers/media/i2c/sr030pc30.c 		= client->dev.platform_data;
client            689 drivers/media/i2c/sr030pc30.c 		dev_err(&client->dev, "No platform data!");
client            693 drivers/media/i2c/sr030pc30.c 	ret = sr030pc30_detect(client);
client            697 drivers/media/i2c/sr030pc30.c 	info = devm_kzalloc(&client->dev, sizeof(*info), GFP_KERNEL);
client            702 drivers/media/i2c/sr030pc30.c 	info->pdata = client->dev.platform_data;
client            704 drivers/media/i2c/sr030pc30.c 	v4l2_i2c_subdev_init(sd, client, &sr030pc30_ops);
client            735 drivers/media/i2c/sr030pc30.c static int sr030pc30_remove(struct i2c_client *client)
client            737 drivers/media/i2c/sr030pc30.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            220 drivers/media/i2c/st-mipid02.c 	struct i2c_client *client = bridge->i2c_client;
client            228 drivers/media/i2c/st-mipid02.c 	msg[0].addr = client->addr;
client            229 drivers/media/i2c/st-mipid02.c 	msg[0].flags = client->flags;
client            233 drivers/media/i2c/st-mipid02.c 	msg[1].addr = client->addr;
client            234 drivers/media/i2c/st-mipid02.c 	msg[1].flags = client->flags | I2C_M_RD;
client            238 drivers/media/i2c/st-mipid02.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            240 drivers/media/i2c/st-mipid02.c 		dev_dbg(&client->dev, "%s: %x i2c_transfer, reg: %x => %d\n",
client            241 drivers/media/i2c/st-mipid02.c 			    __func__, client->addr, reg, ret);
client            250 drivers/media/i2c/st-mipid02.c 	struct i2c_client *client = bridge->i2c_client;
client            259 drivers/media/i2c/st-mipid02.c 	msg.addr = client->addr;
client            260 drivers/media/i2c/st-mipid02.c 	msg.flags = client->flags;
client            264 drivers/media/i2c/st-mipid02.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            266 drivers/media/i2c/st-mipid02.c 		dev_dbg(&client->dev, "%s: i2c_transfer, reg: %x => %d\n",
client            298 drivers/media/i2c/st-mipid02.c 	struct i2c_client *client = bridge->i2c_client;
client            303 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "%s: failed to enable clock\n", __func__);
client            310 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "%s: failed to enable regulators\n",
client            316 drivers/media/i2c/st-mipid02.c 		dev_dbg(&client->dev, "apply reset");
client            319 drivers/media/i2c/st-mipid02.c 		dev_dbg(&client->dev, "don't apply reset");
client            389 drivers/media/i2c/st-mipid02.c 	struct i2c_client *client = bridge->i2c_client;
client            398 drivers/media/i2c/st-mipid02.c 			dev_err(&client->dev, "Failed to get link frequency");
client            403 drivers/media/i2c/st-mipid02.c 	dev_dbg(&client->dev, "detect link_freq = %d Hz", link_freq);
client            411 drivers/media/i2c/st-mipid02.c 	struct i2c_client *client = bridge->i2c_client;
client            417 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "clk lane must be map to lane 0\n");
client            522 drivers/media/i2c/st-mipid02.c 	struct i2c_client *client = bridge->i2c_client;
client            537 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "failed to stream off %d", ret);
client            544 drivers/media/i2c/st-mipid02.c 	struct i2c_client *client = bridge->i2c_client;
client            614 drivers/media/i2c/st-mipid02.c 	dev_err(&client->dev, "failed to stream on %d", ret);
client            623 drivers/media/i2c/st-mipid02.c 	struct i2c_client *client = bridge->i2c_client;
client            626 drivers/media/i2c/st-mipid02.c 	dev_dbg(&client->dev, "%s : requested %d / current = %d", __func__,
client            639 drivers/media/i2c/st-mipid02.c 	dev_dbg(&client->dev, "%s current now = %d / %d", __func__,
client            679 drivers/media/i2c/st-mipid02.c 	struct i2c_client *client = bridge->i2c_client;
client            682 drivers/media/i2c/st-mipid02.c 	dev_dbg(&client->dev, "%s probe %d", __func__, format->pad);
client            747 drivers/media/i2c/st-mipid02.c 	struct i2c_client *client = bridge->i2c_client;
client            750 drivers/media/i2c/st-mipid02.c 	dev_dbg(&client->dev, "%s for %d", __func__, format->pad);
client            800 drivers/media/i2c/st-mipid02.c 	struct i2c_client *client = bridge->i2c_client;
client            804 drivers/media/i2c/st-mipid02.c 	dev_dbg(&client->dev, "sensor_async_bound call %p", s_subdev);
client            810 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "Couldn't find output pad for subdev %s\n",
client            820 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "Couldn't create media link %d", ret);
client            846 drivers/media/i2c/st-mipid02.c 	struct i2c_client *client = bridge->i2c_client;
client            854 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "unable to find port0 ep");
client            861 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "Could not parse v4l2 endpoint %d\n",
client            868 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "max supported data lanes is 2 / got %d",
client            886 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "fail to register asd to notifier %d",
client            910 drivers/media/i2c/st-mipid02.c 	struct i2c_client *client = bridge->i2c_client;
client            918 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "unable to find port1 ep");
client            925 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "Could not parse v4l2 endpoint\n");
client            941 drivers/media/i2c/st-mipid02.c static int mipid02_probe(struct i2c_client *client)
client            943 drivers/media/i2c/st-mipid02.c 	struct device *dev = &client->dev;
client            954 drivers/media/i2c/st-mipid02.c 	bridge->i2c_client = client;
client            955 drivers/media/i2c/st-mipid02.c 	v4l2_i2c_subdev_init(&bridge->sd, client, &mipid02_subdev_ops);
client            995 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "pads init failed %d", ret);
client           1006 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "failed to detect mipid02 %d", ret);
client           1012 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "failed to parse tx %d", ret);
client           1018 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "failed to parse rx %d", ret);
client           1024 drivers/media/i2c/st-mipid02.c 		dev_err(&client->dev, "v4l2_async_register_subdev failed %d",
client           1029 drivers/media/i2c/st-mipid02.c 	dev_info(&client->dev, "mipid02 device probe successfully");
client           1046 drivers/media/i2c/st-mipid02.c static int mipid02_remove(struct i2c_client *client)
client           1048 drivers/media/i2c/st-mipid02.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            116 drivers/media/i2c/tc358743.c 	struct i2c_client *client = state->i2c_client;
client            121 drivers/media/i2c/tc358743.c 			.addr = client->addr,
client            127 drivers/media/i2c/tc358743.c 			.addr = client->addr,
client            134 drivers/media/i2c/tc358743.c 	err = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            137 drivers/media/i2c/tc358743.c 				__func__, reg, client->addr);
client            144 drivers/media/i2c/tc358743.c 	struct i2c_client *client = state->i2c_client;
client            155 drivers/media/i2c/tc358743.c 	msg.addr = client->addr;
client            166 drivers/media/i2c/tc358743.c 	err = i2c_transfer(client->adapter, &msg, 1);
client            169 drivers/media/i2c/tc358743.c 				__func__, reg, client->addr);
client            435 drivers/media/i2c/tc358743.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            436 drivers/media/i2c/tc358743.c 	struct device *dev = &client->dev;
client           2029 drivers/media/i2c/tc358743.c static int tc358743_probe(struct i2c_client *client)
client           2034 drivers/media/i2c/tc358743.c 	struct tc358743_platform_data *pdata = client->dev.platform_data;
client           2039 drivers/media/i2c/tc358743.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client           2041 drivers/media/i2c/tc358743.c 	v4l_dbg(1, debug, client, "chip found @ 0x%x (%s)\n",
client           2042 drivers/media/i2c/tc358743.c 		client->addr << 1, client->adapter->name);
client           2044 drivers/media/i2c/tc358743.c 	state = devm_kzalloc(&client->dev, sizeof(struct tc358743_state),
client           2049 drivers/media/i2c/tc358743.c 	state->i2c_client = client;
client           2058 drivers/media/i2c/tc358743.c 			v4l_err(client, "No platform data!\n");
client           2064 drivers/media/i2c/tc358743.c 	v4l2_i2c_subdev_init(sd, client, &tc358743_ops);
client           2070 drivers/media/i2c/tc358743.c 			  client->addr << 1);
client           2106 drivers/media/i2c/tc358743.c 	sd->dev = &client->dev;
client           2118 drivers/media/i2c/tc358743.c 		state, dev_name(&client->dev),
client           2136 drivers/media/i2c/tc358743.c 		err = devm_request_threaded_irq(&client->dev,
client           2152 drivers/media/i2c/tc358743.c 	err = cec_register_adapter(state->cec_adap, &client->dev);
client           2167 drivers/media/i2c/tc358743.c 	v4l2_info(sd, "%s found @ 0x%x (%s)\n", client->name,
client           2168 drivers/media/i2c/tc358743.c 		  client->addr << 1, client->adapter->name);
client           2184 drivers/media/i2c/tc358743.c static int tc358743_remove(struct i2c_client *client)
client           2186 drivers/media/i2c/tc358743.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            224 drivers/media/i2c/tda1997x.c 	struct i2c_client *client;
client            313 drivers/media/i2c/tda1997x.c 		v4l_err(state->client, "read reg error: reg=%2x\n", reg);
client            327 drivers/media/i2c/tda1997x.c 		v4l_err(state->client, "write reg error:reg=%2x,val=%2x\n",
client            345 drivers/media/i2c/tda1997x.c 		ret = i2c_smbus_write_byte_data(state->client,
client            348 drivers/media/i2c/tda1997x.c 			v4l_err(state->client,
client            369 drivers/media/i2c/tda1997x.c 	val = i2c_smbus_read_byte_data(state->client, reg&0xff);
client            371 drivers/media/i2c/tda1997x.c 		v4l_err(state->client, "read reg error: reg=%2x\n", reg & 0xff);
client            447 drivers/media/i2c/tda1997x.c 	ret = i2c_smbus_write_byte_data(state->client, reg & 0xff, val);
client            449 drivers/media/i2c/tda1997x.c 		v4l_err(state->client, "write reg error:reg=%2x,val=%2x\n",
client            606 drivers/media/i2c/tda1997x.c 	v4l_dbg(1, debug, state->client, "%s code=0x%x\n", __func__, code);
client            625 drivers/media/i2c/tda1997x.c 		v4l_err(state->client, "incompatible format (0x%x)\n", code);
client            628 drivers/media/i2c/tda1997x.c 	v4l_dbg(1, debug, state->client, "%s code=0x%x fmt=%s\n", __func__,
client            661 drivers/media/i2c/tda1997x.c 	v4l_dbg(1, debug, state->client, "input:%s quant:%s output:%s\n",
client            702 drivers/media/i2c/tda1997x.c 		v4l_dbg(1, debug, state->client, "%s\n",
client           1152 drivers/media/i2c/tda1997x.c 	v4l_err(state->client, "no resolution match for timings: %d/%d/%d\n",
client           1236 drivers/media/i2c/tda1997x.c 	v4l_dbg(1, debug, state->client,
client           1258 drivers/media/i2c/tda1997x.c 		v4l_err(state->client,
client           1263 drivers/media/i2c/tda1997x.c 	hdmi_infoframe_log(KERN_INFO, &state->client->dev, &frame);
client           1386 drivers/media/i2c/tda1997x.c 			v4l_err(state->client, "BAD SUS STATUS\n");
client           1450 drivers/media/i2c/tda1997x.c 				v4l_info(state->client,
client           1469 drivers/media/i2c/tda1997x.c 				v4l_info(state->client,
client           1538 drivers/media/i2c/tda1997x.c 		v4l_info(state->client, "Audio Frequency Change: %dHz\n",
client           1551 drivers/media/i2c/tda1997x.c 		v4l_info(state->client, "Audio Type: %s\n",
client           1661 drivers/media/i2c/tda1997x.c 	v4l_dbg(1, debug, state->client, "%s\n", __func__);
client           1686 drivers/media/i2c/tda1997x.c 	v4l_dbg(1, debug, state->client, "%s\n", __func__);
client           1699 drivers/media/i2c/tda1997x.c 	v4l_dbg(1, debug, state->client, "%s\n", __func__);
client           1738 drivers/media/i2c/tda1997x.c 	v4l_dbg(1, debug, state->client, "%s %d\n", __func__, code->index);
client           1770 drivers/media/i2c/tda1997x.c 	v4l_dbg(1, debug, state->client, "%s pad=%d which=%d\n",
client           1794 drivers/media/i2c/tda1997x.c 	v4l_dbg(1, debug, state->client, "%s pad=%d which=%d fmt=0x%x\n",
client           1831 drivers/media/i2c/tda1997x.c 	v4l_dbg(1, debug, state->client, "%s pad=%d\n", __func__, edid->pad);
client           1859 drivers/media/i2c/tda1997x.c 	v4l_dbg(1, debug, state->client, "%s pad=%d\n", __func__, edid->pad);
client           1937 drivers/media/i2c/tda1997x.c 		v4l_err(state->client,
client           1942 drivers/media/i2c/tda1997x.c 	hdmi_infoframe_log(KERN_INFO, &state->client->dev, &frame);
client           2193 drivers/media/i2c/tda1997x.c 		v4l_dbg(1, debug, state->client, "vidout_cfg[%d]=0x%02x\n", i,
client           2291 drivers/media/i2c/tda1997x.c 	np = state->client->dev.of_node;
client           2328 drivers/media/i2c/tda1997x.c 		v4l_err(state->client, "nxp,vidout-portcfg missing\n");
client           2342 drivers/media/i2c/tda1997x.c 			v4l_err(state->client, "nxp,audout-format invalid\n");
client           2351 drivers/media/i2c/tda1997x.c 				v4l_err(state->client,
client           2363 drivers/media/i2c/tda1997x.c 				v4l_err(state->client,
client           2379 drivers/media/i2c/tda1997x.c 				v4l_err(state->client,
client           2397 drivers/media/i2c/tda1997x.c 	return devm_regulator_bulk_get(&state->client->dev,
client           2423 drivers/media/i2c/tda1997x.c 		dev_err(&state->client->dev, "unsupported chip ID\n");
client           2427 drivers/media/i2c/tda1997x.c 		dev_err(&state->client->dev, "chip id mismatch\n");
client           2504 drivers/media/i2c/tda1997x.c static int tda1997x_probe(struct i2c_client *client,
client           2518 drivers/media/i2c/tda1997x.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client           2525 drivers/media/i2c/tda1997x.c 	state->client = client;
client           2527 drivers/media/i2c/tda1997x.c 	if (IS_ENABLED(CONFIG_OF) && client->dev.of_node) {
client           2530 drivers/media/i2c/tda1997x.c 		oid = of_match_node(tda1997x_of_id, client->dev.of_node);
client           2535 drivers/media/i2c/tda1997x.c 			v4l_err(client, "DT parsing error\n");
client           2538 drivers/media/i2c/tda1997x.c 	} else if (client->dev.platform_data) {
client           2540 drivers/media/i2c/tda1997x.c 			client->dev.platform_data;
client           2545 drivers/media/i2c/tda1997x.c 		v4l_err(client, "No platform data\n");
client           2572 drivers/media/i2c/tda1997x.c 	v4l2_i2c_subdev_init(sd, client, &tda1997x_subdev_ops);
client           2574 drivers/media/i2c/tda1997x.c 		 id->name, i2c_adapter_id(client->adapter),
client           2575 drivers/media/i2c/tda1997x.c 		 client->addr);
client           2678 drivers/media/i2c/tda1997x.c 	v4l_info(client, "NXP %s N%d detected\n", state->info->name,
client           2680 drivers/media/i2c/tda1997x.c 	v4l_info(client, "video: %dbit %s %d formats available\n",
client           2686 drivers/media/i2c/tda1997x.c 		v4l_info(client, "audio: %dch %s layout%d sysclk=%d*fs\n",
client           2694 drivers/media/i2c/tda1997x.c 	state->client_cec = devm_i2c_new_dummy_device(&client->dev,
client           2695 drivers/media/i2c/tda1997x.c 						      client->adapter, ret);
client           2701 drivers/media/i2c/tda1997x.c 	v4l_info(client, "CEC slave address 0x%02x\n", ret);
client           2735 drivers/media/i2c/tda1997x.c 		v4l_err(client, "failed entity_init: %d", ret);
client           2752 drivers/media/i2c/tda1997x.c 		ret = devm_snd_soc_register_component(&state->client->dev,
client           2756 drivers/media/i2c/tda1997x.c 			dev_err(&client->dev, "register audio codec failed\n");
client           2759 drivers/media/i2c/tda1997x.c 		dev_set_drvdata(&state->client->dev, state);
client           2760 drivers/media/i2c/tda1997x.c 		v4l_info(state->client, "registered audio codec\n");
client           2764 drivers/media/i2c/tda1997x.c 	ret = devm_request_threaded_irq(&client->dev, client->irq,
client           2769 drivers/media/i2c/tda1997x.c 		v4l_err(client, "irq%d reg failed: %d\n", client->irq, ret);
client           2785 drivers/media/i2c/tda1997x.c 	dev_err(&client->dev, "%s failed: %d\n", __func__, ret);
client           2790 drivers/media/i2c/tda1997x.c static int tda1997x_remove(struct i2c_client *client)
client           2792 drivers/media/i2c/tda1997x.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           2800 drivers/media/i2c/tda1997x.c 	disable_irq(state->client->irq);
client            222 drivers/media/i2c/tda7432.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            229 drivers/media/i2c/tda7432.c 	if (2 != i2c_master_send(client, buffer, 2)) {
client            239 drivers/media/i2c/tda7432.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            255 drivers/media/i2c/tda7432.c 	if (9 != i2c_master_send(client, buf, 9)) {
client            346 drivers/media/i2c/tda7432.c static int tda7432_probe(struct i2c_client *client,
client            352 drivers/media/i2c/tda7432.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client            353 drivers/media/i2c/tda7432.c 			client->addr << 1, client->adapter->name);
client            355 drivers/media/i2c/tda7432.c 	t = devm_kzalloc(&client->dev, sizeof(*t), GFP_KERNEL);
client            359 drivers/media/i2c/tda7432.c 	v4l2_i2c_subdev_init(sd, client, &tda7432_ops);
client            393 drivers/media/i2c/tda7432.c static int tda7432_remove(struct i2c_client *client)
client            395 drivers/media/i2c/tda7432.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             49 drivers/media/i2c/tda9840.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             51 drivers/media/i2c/tda9840.c 	if (i2c_smbus_write_byte_data(client, reg, val))
client             58 drivers/media/i2c/tda9840.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             62 drivers/media/i2c/tda9840.c 	rc = i2c_master_recv(client, &byte, 1);
client            152 drivers/media/i2c/tda9840.c static int tda9840_probe(struct i2c_client *client,
client            158 drivers/media/i2c/tda9840.c 	if (!i2c_check_functionality(client->adapter,
client            163 drivers/media/i2c/tda9840.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            164 drivers/media/i2c/tda9840.c 			client->addr << 1, client->adapter->name);
client            166 drivers/media/i2c/tda9840.c 	sd = devm_kzalloc(&client->dev, sizeof(*sd), GFP_KERNEL);
client            169 drivers/media/i2c/tda9840.c 	v4l2_i2c_subdev_init(sd, client, &tda9840_ops);
client            178 drivers/media/i2c/tda9840.c static int tda9840_remove(struct i2c_client *client)
client            180 drivers/media/i2c/tda9840.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             40 drivers/media/i2c/tea6415c.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            100 drivers/media/i2c/tea6415c.c 	ret = i2c_smbus_write_byte(client, byte);
client            119 drivers/media/i2c/tea6415c.c static int tea6415c_probe(struct i2c_client *client,
client            125 drivers/media/i2c/tea6415c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WRITE_BYTE))
client            128 drivers/media/i2c/tea6415c.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            129 drivers/media/i2c/tea6415c.c 			client->addr << 1, client->adapter->name);
client            130 drivers/media/i2c/tea6415c.c 	sd = devm_kzalloc(&client->dev, sizeof(*sd), GFP_KERNEL);
client            133 drivers/media/i2c/tea6415c.c 	v4l2_i2c_subdev_init(sd, client, &tea6415c_ops);
client            137 drivers/media/i2c/tea6415c.c static int tea6415c_remove(struct i2c_client *client)
client            139 drivers/media/i2c/tea6415c.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             41 drivers/media/i2c/tea6420.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             71 drivers/media/i2c/tea6420.c 	ret = i2c_smbus_write_byte(client, byte);
client             90 drivers/media/i2c/tea6420.c static int tea6420_probe(struct i2c_client *client,
client             97 drivers/media/i2c/tea6420.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WRITE_BYTE))
client            100 drivers/media/i2c/tea6420.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            101 drivers/media/i2c/tea6420.c 			client->addr << 1, client->adapter->name);
client            103 drivers/media/i2c/tea6420.c 	sd = devm_kzalloc(&client->dev, sizeof(*sd), GFP_KERNEL);
client            106 drivers/media/i2c/tea6420.c 	v4l2_i2c_subdev_init(sd, client, &tea6420_ops);
client            113 drivers/media/i2c/tea6420.c 		v4l_dbg(1, debug, client, "could not initialize tea6420\n");
client            119 drivers/media/i2c/tea6420.c static int tea6420_remove(struct i2c_client *client)
client            121 drivers/media/i2c/tea6420.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             62 drivers/media/i2c/ths7303.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             64 drivers/media/i2c/ths7303.c 	return i2c_smbus_read_byte_data(client, reg);
client             69 drivers/media/i2c/ths7303.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             74 drivers/media/i2c/ths7303.c 		ret = i2c_smbus_write_byte_data(client, reg, val);
client             85 drivers/media/i2c/ths7303.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             91 drivers/media/i2c/ths7303.c 	if (!client)
client            325 drivers/media/i2c/ths7303.c static int ths7303_probe(struct i2c_client *client,
client            328 drivers/media/i2c/ths7303.c 	struct ths7303_platform_data *pdata = client->dev.platform_data;
client            333 drivers/media/i2c/ths7303.c 		dev_err(&client->dev, "No platform data\n");
client            337 drivers/media/i2c/ths7303.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            340 drivers/media/i2c/ths7303.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            341 drivers/media/i2c/ths7303.c 			client->addr << 1, client->adapter->name);
client            343 drivers/media/i2c/ths7303.c 	state = devm_kzalloc(&client->dev, sizeof(struct ths7303_state),
client            350 drivers/media/i2c/ths7303.c 	v4l2_i2c_subdev_init(sd, client, &ths7303_ops);
client            354 drivers/media/i2c/ths7303.c 		v4l_err(client, "Setting to 480I_576I filter mode failed!\n");
client            361 drivers/media/i2c/ths7303.c static int ths7303_remove(struct i2c_client *client)
client            363 drivers/media/i2c/ths7303.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             73 drivers/media/i2c/ths8200.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             75 drivers/media/i2c/ths8200.c 	return i2c_smbus_read_byte_data(client, reg);
client             80 drivers/media/i2c/ths8200.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             85 drivers/media/i2c/ths8200.c 		ret = i2c_smbus_write_byte_data(client, reg, val);
client            439 drivers/media/i2c/ths8200.c static int ths8200_probe(struct i2c_client *client)
client            446 drivers/media/i2c/ths8200.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            449 drivers/media/i2c/ths8200.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            454 drivers/media/i2c/ths8200.c 	v4l2_i2c_subdev_init(sd, client, &ths8200_ops);
client            465 drivers/media/i2c/ths8200.c 	v4l2_info(sd, "%s found @ 0x%x (%s)\n", client->name,
client            466 drivers/media/i2c/ths8200.c 		  client->addr << 1, client->adapter->name);
client            471 drivers/media/i2c/ths8200.c static int ths8200_remove(struct i2c_client *client)
client            473 drivers/media/i2c/ths8200.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            476 drivers/media/i2c/ths8200.c 	v4l2_dbg(1, debug, sd, "%s removed @ 0x%x (%s)\n", client->name,
client            477 drivers/media/i2c/ths8200.c 		 client->addr << 1, client->adapter->name);
client             47 drivers/media/i2c/tlv320aic23b.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             56 drivers/media/i2c/tlv320aic23b.c 		if (i2c_smbus_write_byte_data(client,
client            132 drivers/media/i2c/tlv320aic23b.c static int tlv320aic23b_probe(struct i2c_client *client,
client            139 drivers/media/i2c/tlv320aic23b.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            142 drivers/media/i2c/tlv320aic23b.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            143 drivers/media/i2c/tlv320aic23b.c 			client->addr << 1, client->adapter->name);
client            145 drivers/media/i2c/tlv320aic23b.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            149 drivers/media/i2c/tlv320aic23b.c 	v4l2_i2c_subdev_init(sd, client, &tlv320aic23b_ops);
client            180 drivers/media/i2c/tlv320aic23b.c static int tlv320aic23b_remove(struct i2c_client *client)
client            182 drivers/media/i2c/tlv320aic23b.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client           1937 drivers/media/i2c/tvaudio.c static int tvaudio_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1952 drivers/media/i2c/tvaudio.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client           1956 drivers/media/i2c/tvaudio.c 	v4l2_i2c_subdev_init(sd, client, &tvaudio_ops);
client           1959 drivers/media/i2c/tvaudio.c 	v4l2_dbg(1, debug, sd, "chip found @ 0x%x\n", client->addr<<1);
client           1963 drivers/media/i2c/tvaudio.c 		if (client->addr < desc->addr_lo ||
client           1964 drivers/media/i2c/tvaudio.c 		    client->addr > desc->addr_hi)
client           1974 drivers/media/i2c/tvaudio.c 	v4l2_info(sd, "%s found @ 0x%x (%s)\n", desc->name, client->addr<<1, client->adapter->name);
client           1984 drivers/media/i2c/tvaudio.c 		strscpy(client->name, desc->name, I2C_NAME_SIZE);
client           2059 drivers/media/i2c/tvaudio.c 					   client->name);
client           2068 drivers/media/i2c/tvaudio.c static int tvaudio_remove(struct i2c_client *client)
client           2070 drivers/media/i2c/tvaudio.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            282 drivers/media/i2c/tvp514x.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            286 drivers/media/i2c/tvp514x.c 	err = i2c_smbus_read_byte_data(client, reg);
client            324 drivers/media/i2c/tvp514x.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            328 drivers/media/i2c/tvp514x.c 	err = i2c_smbus_write_byte_data(client, reg, val);
client            496 drivers/media/i2c/tvp514x.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            519 drivers/media/i2c/tvp514x.c 			client->name, decoder->ver,
client            520 drivers/media/i2c/tvp514x.c 			client->addr << 1, client->adapter->name);
client            980 drivers/media/i2c/tvp514x.c tvp514x_get_pdata(struct i2c_client *client)
client            987 drivers/media/i2c/tvp514x.c 	if (!IS_ENABLED(CONFIG_OF) || !client->dev.of_node)
client            988 drivers/media/i2c/tvp514x.c 		return client->dev.platform_data;
client            990 drivers/media/i2c/tvp514x.c 	endpoint = of_graph_get_next_endpoint(client->dev.of_node, NULL);
client            997 drivers/media/i2c/tvp514x.c 	pdata = devm_kzalloc(&client->dev, sizeof(*pdata), GFP_KERNEL);
client           1026 drivers/media/i2c/tvp514x.c tvp514x_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1028 drivers/media/i2c/tvp514x.c 	struct tvp514x_platform_data *pdata = tvp514x_get_pdata(client);
client           1034 drivers/media/i2c/tvp514x.c 		dev_err(&client->dev, "No platform data\n");
client           1039 drivers/media/i2c/tvp514x.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client           1042 drivers/media/i2c/tvp514x.c 	decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL);
client           1073 drivers/media/i2c/tvp514x.c 	v4l2_i2c_subdev_init(sd, client, &tvp514x_ops);
client           1124 drivers/media/i2c/tvp514x.c static int tvp514x_remove(struct i2c_client *client)
client           1126 drivers/media/i2c/tvp514x.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            881 drivers/media/i2c/tvp7002.c tvp7002_get_pdata(struct i2c_client *client)
client            888 drivers/media/i2c/tvp7002.c 	if (!IS_ENABLED(CONFIG_OF) || !client->dev.of_node)
client            889 drivers/media/i2c/tvp7002.c 		return client->dev.platform_data;
client            891 drivers/media/i2c/tvp7002.c 	endpoint = of_graph_get_next_endpoint(client->dev.of_node, NULL);
client            898 drivers/media/i2c/tvp7002.c 	pdata = devm_kzalloc(&client->dev, sizeof(*pdata), GFP_KERNEL);
client            106 drivers/media/i2c/tw2804.c static int write_reg(struct i2c_client *client, u8 reg, u8 value, u8 channel)
client            108 drivers/media/i2c/tw2804.c 	return i2c_smbus_write_byte_data(client, reg | (channel << 6), value);
client            111 drivers/media/i2c/tw2804.c static int write_regs(struct i2c_client *client, const u8 *regs, u8 channel)
client            117 drivers/media/i2c/tw2804.c 		ret = i2c_smbus_write_byte_data(client,
client            125 drivers/media/i2c/tw2804.c static int read_reg(struct i2c_client *client, u8 reg, u8 channel)
client            127 drivers/media/i2c/tw2804.c 	return i2c_smbus_read_byte_data(client, (reg) | (channel << 6));
client            167 drivers/media/i2c/tw2804.c 	struct i2c_client *client = v4l2_get_subdevdata(&state->sd);
client            171 drivers/media/i2c/tw2804.c 		ctrl->val = read_reg(client, TW2804_REG_GAIN, 0);
client            175 drivers/media/i2c/tw2804.c 		ctrl->val = read_reg(client, TW2804_REG_CHROMA_GAIN, 0);
client            179 drivers/media/i2c/tw2804.c 		ctrl->val = read_reg(client, TW2804_REG_BLUE_BALANCE, 0);
client            183 drivers/media/i2c/tw2804.c 		ctrl->val = read_reg(client, TW2804_REG_RED_BALANCE, 0);
client            192 drivers/media/i2c/tw2804.c 	struct i2c_client *client = v4l2_get_subdevdata(&state->sd);
client            199 drivers/media/i2c/tw2804.c 		reg = read_reg(client, addr, state->channel);
client            206 drivers/media/i2c/tw2804.c 		return write_reg(client, addr, reg, state->channel);
client            210 drivers/media/i2c/tw2804.c 		reg = read_reg(client, addr, state->channel);
client            214 drivers/media/i2c/tw2804.c 		return write_reg(client, addr, reg, state->channel);
client            217 drivers/media/i2c/tw2804.c 		return write_reg(client, TW2804_REG_GAIN, ctrl->val, 0);
client            220 drivers/media/i2c/tw2804.c 		return write_reg(client, TW2804_REG_CHROMA_GAIN, ctrl->val, 0);
client            223 drivers/media/i2c/tw2804.c 		return write_reg(client, TW2804_REG_BLUE_BALANCE, ctrl->val, 0);
client            226 drivers/media/i2c/tw2804.c 		return write_reg(client, TW2804_REG_RED_BALANCE, ctrl->val, 0);
client            229 drivers/media/i2c/tw2804.c 		return write_reg(client, TW2804_REG_BRIGHTNESS,
client            233 drivers/media/i2c/tw2804.c 		return write_reg(client, TW2804_REG_CONTRAST,
client            237 drivers/media/i2c/tw2804.c 		return write_reg(client, TW2804_REG_SATURATION,
client            241 drivers/media/i2c/tw2804.c 		return write_reg(client, TW2804_REG_HUE,
client            253 drivers/media/i2c/tw2804.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            269 drivers/media/i2c/tw2804.c 	write_regs(client, regs, dec->channel);
client            278 drivers/media/i2c/tw2804.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            283 drivers/media/i2c/tw2804.c 			dev_err(&client->dev,
client            288 drivers/media/i2c/tw2804.c 		dev_dbg(&client->dev, "initializing TW2804 channel %d\n",
client            291 drivers/media/i2c/tw2804.c 				write_regs(client, global_registers, 0) < 0) {
client            292 drivers/media/i2c/tw2804.c 			dev_err(&client->dev,
client            296 drivers/media/i2c/tw2804.c 		if (write_regs(client, channel_registers, dec->channel) < 0) {
client            297 drivers/media/i2c/tw2804.c 			dev_err(&client->dev,
client            310 drivers/media/i2c/tw2804.c 	reg = read_reg(client, 0x22, dec->channel);
client            317 drivers/media/i2c/tw2804.c 		reg = write_reg(client, 0x22, reg, dec->channel);
client            346 drivers/media/i2c/tw2804.c static int tw2804_probe(struct i2c_client *client,
client            349 drivers/media/i2c/tw2804.c 	struct i2c_adapter *adapter = client->adapter;
client            358 drivers/media/i2c/tw2804.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            362 drivers/media/i2c/tw2804.c 	v4l2_i2c_subdev_init(sd, client, &tw2804_ops);
client            402 drivers/media/i2c/tw2804.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client            403 drivers/media/i2c/tw2804.c 			client->addr << 1, client->adapter->name);
client            408 drivers/media/i2c/tw2804.c static int tw2804_remove(struct i2c_client *client)
client            410 drivers/media/i2c/tw2804.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             92 drivers/media/i2c/tw9903.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             94 drivers/media/i2c/tw9903.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            192 drivers/media/i2c/tw9903.c static int tw9903_probe(struct i2c_client *client,
client            200 drivers/media/i2c/tw9903.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            203 drivers/media/i2c/tw9903.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client            204 drivers/media/i2c/tw9903.c 			client->addr << 1, client->adapter->name);
client            206 drivers/media/i2c/tw9903.c 	dec = devm_kzalloc(&client->dev, sizeof(*dec), GFP_KERNEL);
client            210 drivers/media/i2c/tw9903.c 	v4l2_i2c_subdev_init(sd, client, &tw9903_ops);
client            231 drivers/media/i2c/tw9903.c 		v4l2_err(client, "error initializing TW9903\n");
client            238 drivers/media/i2c/tw9903.c static int tw9903_remove(struct i2c_client *client)
client            240 drivers/media/i2c/tw9903.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             63 drivers/media/i2c/tw9906.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             65 drivers/media/i2c/tw9906.c 	return i2c_smbus_write_byte_data(client, reg, value);
client            160 drivers/media/i2c/tw9906.c static int tw9906_probe(struct i2c_client *client,
client            168 drivers/media/i2c/tw9906.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            171 drivers/media/i2c/tw9906.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client            172 drivers/media/i2c/tw9906.c 			client->addr << 1, client->adapter->name);
client            174 drivers/media/i2c/tw9906.c 	dec = devm_kzalloc(&client->dev, sizeof(*dec), GFP_KERNEL);
client            178 drivers/media/i2c/tw9906.c 	v4l2_i2c_subdev_init(sd, client, &tw9906_ops);
client            199 drivers/media/i2c/tw9906.c 		v4l2_err(client, "error initializing TW9906\n");
client            206 drivers/media/i2c/tw9906.c static int tw9906_remove(struct i2c_client *client)
client            208 drivers/media/i2c/tw9906.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            332 drivers/media/i2c/tw9910.c static struct tw9910_priv *to_tw9910(const struct i2c_client *client)
client            334 drivers/media/i2c/tw9910.c 	return container_of(i2c_get_clientdata(client), struct tw9910_priv,
client            338 drivers/media/i2c/tw9910.c static int tw9910_mask_set(struct i2c_client *client, u8 command,
client            341 drivers/media/i2c/tw9910.c 	s32 val = i2c_smbus_read_byte_data(client, command);
client            349 drivers/media/i2c/tw9910.c 	return i2c_smbus_write_byte_data(client, command, val);
client            352 drivers/media/i2c/tw9910.c static int tw9910_set_scale(struct i2c_client *client,
client            357 drivers/media/i2c/tw9910.c 	ret = i2c_smbus_write_byte_data(client, SCALE_HI,
client            363 drivers/media/i2c/tw9910.c 	ret = i2c_smbus_write_byte_data(client, HSCALE_LO,
client            368 drivers/media/i2c/tw9910.c 	ret = i2c_smbus_write_byte_data(client, VSCALE_LO,
client            374 drivers/media/i2c/tw9910.c static int tw9910_set_hsync(struct i2c_client *client)
client            376 drivers/media/i2c/tw9910.c 	struct tw9910_priv *priv = to_tw9910(client);
client            380 drivers/media/i2c/tw9910.c 	ret = i2c_smbus_write_byte_data(client, HSBEGIN,
client            386 drivers/media/i2c/tw9910.c 	ret = i2c_smbus_write_byte_data(client, HSEND,
client            394 drivers/media/i2c/tw9910.c 		ret = tw9910_mask_set(client, HSLOWCTL, 0x77,
client            401 drivers/media/i2c/tw9910.c static void tw9910_reset(struct i2c_client *client)
client            403 drivers/media/i2c/tw9910.c 	tw9910_mask_set(client, ACNTL1, SRESET, SRESET);
client            407 drivers/media/i2c/tw9910.c static int tw9910_power(struct i2c_client *client, int enable)
client            421 drivers/media/i2c/tw9910.c 	ret = tw9910_mask_set(client, ACNTL1, ACNTL1_PDN_MASK, acntl1);
client            425 drivers/media/i2c/tw9910.c 	return tw9910_mask_set(client, ACNTL2, ACNTL2_PDN_MASK, acntl2);
client            463 drivers/media/i2c/tw9910.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            464 drivers/media/i2c/tw9910.c 	struct tw9910_priv *priv = to_tw9910(client);
client            477 drivers/media/i2c/tw9910.c 			dev_err(&client->dev, "un-supported revision\n");
client            484 drivers/media/i2c/tw9910.c 			dev_err(&client->dev, "norm select error\n");
client            488 drivers/media/i2c/tw9910.c 		dev_dbg(&client->dev, "%s %dx%d\n",
client            494 drivers/media/i2c/tw9910.c 	ret = tw9910_mask_set(client, OPFORM, OEN_TRI_SEL_MASK, val);
client            498 drivers/media/i2c/tw9910.c 	return tw9910_power(client, enable);
client            503 drivers/media/i2c/tw9910.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            504 drivers/media/i2c/tw9910.c 	struct tw9910_priv *priv = to_tw9910(client);
client            513 drivers/media/i2c/tw9910.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            514 drivers/media/i2c/tw9910.c 	struct tw9910_priv *priv = to_tw9910(client);
client            528 drivers/media/i2c/tw9910.c 		ret = tw9910_mask_set(client, VVBI, 0x10, 0x10);
client            532 drivers/media/i2c/tw9910.c 		ret = tw9910_mask_set(client, VVBI, 0x10, 0x00);
client            535 drivers/media/i2c/tw9910.c 		ret = i2c_smbus_write_byte_data(client, CROP_HI,
client            541 drivers/media/i2c/tw9910.c 		ret = i2c_smbus_write_byte_data(client, VDELAY_LO,
client            544 drivers/media/i2c/tw9910.c 		ret = i2c_smbus_write_byte_data(client, VACTIVE_LO,
client            554 drivers/media/i2c/tw9910.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            561 drivers/media/i2c/tw9910.c 	ret = i2c_smbus_read_byte_data(client, reg->reg);
client            577 drivers/media/i2c/tw9910.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            583 drivers/media/i2c/tw9910.c 	return i2c_smbus_write_byte_data(client, reg->reg, reg->val);
client            597 drivers/media/i2c/tw9910.c 	struct i2c_client *client = v4l2_get_subdevdata(&priv->subdev);
client            614 drivers/media/i2c/tw9910.c 	priv->rstb_gpio = gpiod_get_optional(&client->dev, "rstb",
client            617 drivers/media/i2c/tw9910.c 		dev_info(&client->dev, "Unable to get GPIO \"rstb\"");
client            643 drivers/media/i2c/tw9910.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            644 drivers/media/i2c/tw9910.c 	struct tw9910_priv *priv = to_tw9910(client);
client            651 drivers/media/i2c/tw9910.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            652 drivers/media/i2c/tw9910.c 	struct tw9910_priv *priv = to_tw9910(client);
client            662 drivers/media/i2c/tw9910.c 	tw9910_reset(client);
client            669 drivers/media/i2c/tw9910.c 	ret = tw9910_mask_set(client, OPFORM, LEN, val);
client            695 drivers/media/i2c/tw9910.c 	ret = tw9910_mask_set(client, VBICNTL, RTSEL_MASK, val);
client            700 drivers/media/i2c/tw9910.c 	ret = tw9910_set_scale(client, priv->scale);
client            705 drivers/media/i2c/tw9910.c 	ret = tw9910_set_hsync(client);
client            716 drivers/media/i2c/tw9910.c 	tw9910_reset(client);
client            726 drivers/media/i2c/tw9910.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            727 drivers/media/i2c/tw9910.c 	struct tw9910_priv *priv = to_tw9910(client);
client            753 drivers/media/i2c/tw9910.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            754 drivers/media/i2c/tw9910.c 	struct tw9910_priv *priv = to_tw9910(client);
client            804 drivers/media/i2c/tw9910.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            805 drivers/media/i2c/tw9910.c 	struct tw9910_priv *priv = to_tw9910(client);
client            814 drivers/media/i2c/tw9910.c 		dev_err(&client->dev, "Field type %d invalid\n", mf->field);
client            837 drivers/media/i2c/tw9910.c static int tw9910_video_probe(struct i2c_client *client)
client            839 drivers/media/i2c/tw9910.c 	struct tw9910_priv *priv = to_tw9910(client);
client            845 drivers/media/i2c/tw9910.c 		dev_err(&client->dev, "bus width error\n");
client            857 drivers/media/i2c/tw9910.c 	id = i2c_smbus_read_byte_data(client, ID);
client            862 drivers/media/i2c/tw9910.c 		dev_err(&client->dev, "Product ID error %x:%x\n",
client            868 drivers/media/i2c/tw9910.c 	dev_info(&client->dev, "tw9910 Product ID %0x:%0x\n",
client            931 drivers/media/i2c/tw9910.c static int tw9910_probe(struct i2c_client *client,
client            937 drivers/media/i2c/tw9910.c 	struct i2c_adapter		*adapter = client->adapter;
client            940 drivers/media/i2c/tw9910.c 	if (!client->dev.platform_data) {
client            941 drivers/media/i2c/tw9910.c 		dev_err(&client->dev, "TW9910: missing platform data!\n");
client            945 drivers/media/i2c/tw9910.c 	info = client->dev.platform_data;
client            948 drivers/media/i2c/tw9910.c 		dev_err(&client->dev,
client            953 drivers/media/i2c/tw9910.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client            959 drivers/media/i2c/tw9910.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &tw9910_subdev_ops);
client            961 drivers/media/i2c/tw9910.c 	priv->clk = clk_get(&client->dev, "xti");
client            965 drivers/media/i2c/tw9910.c 		dev_err(&client->dev, "Unable to get xti clock\n");
client            969 drivers/media/i2c/tw9910.c 	priv->pdn_gpio = gpiod_get_optional(&client->dev, "pdn",
client            972 drivers/media/i2c/tw9910.c 		dev_info(&client->dev, "Unable to get GPIO \"pdn\"");
client            977 drivers/media/i2c/tw9910.c 	ret = tw9910_video_probe(client);
client            996 drivers/media/i2c/tw9910.c static int tw9910_remove(struct i2c_client *client)
client            998 drivers/media/i2c/tw9910.c 	struct tw9910_priv *priv = to_tw9910(client);
client             14 drivers/media/i2c/uda1342.c static int write_reg(struct i2c_client *client, int reg, int value)
client             17 drivers/media/i2c/uda1342.c 	i2c_smbus_write_word_data(client, reg, swab16(value));
client             24 drivers/media/i2c/uda1342.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             28 drivers/media/i2c/uda1342.c 		write_reg(client, 0x00, 0x1241); /* select input 1 */
client             31 drivers/media/i2c/uda1342.c 		write_reg(client, 0x00, 0x1441); /* select input 2 */
client             48 drivers/media/i2c/uda1342.c static int uda1342_probe(struct i2c_client *client,
client             51 drivers/media/i2c/uda1342.c 	struct i2c_adapter *adapter = client->adapter;
client             57 drivers/media/i2c/uda1342.c 	dev_dbg(&client->dev, "initializing UDA1342 at address %d on %s\n",
client             58 drivers/media/i2c/uda1342.c 		client->addr, adapter->name);
client             60 drivers/media/i2c/uda1342.c 	sd = devm_kzalloc(&client->dev, sizeof(*sd), GFP_KERNEL);
client             64 drivers/media/i2c/uda1342.c 	v4l2_i2c_subdev_init(sd, client, &uda1342_ops);
client             66 drivers/media/i2c/uda1342.c 	write_reg(client, 0x00, 0x8000); /* reset registers */
client             67 drivers/media/i2c/uda1342.c 	write_reg(client, 0x00, 0x1241); /* select input 1 */
client             69 drivers/media/i2c/uda1342.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client             70 drivers/media/i2c/uda1342.c 			client->addr << 1, client->adapter->name);
client             75 drivers/media/i2c/uda1342.c static int uda1342_remove(struct i2c_client *client)
client             77 drivers/media/i2c/uda1342.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             74 drivers/media/i2c/upd64031a.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             79 drivers/media/i2c/upd64031a.c 	i2c_master_recv(client, buf, 2);
client             87 drivers/media/i2c/upd64031a.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             93 drivers/media/i2c/upd64031a.c 	if (i2c_master_send(client, buf, 2) != 2)
client            186 drivers/media/i2c/upd64031a.c static int upd64031a_probe(struct i2c_client *client,
client            193 drivers/media/i2c/upd64031a.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            196 drivers/media/i2c/upd64031a.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            197 drivers/media/i2c/upd64031a.c 			client->addr << 1, client->adapter->name);
client            199 drivers/media/i2c/upd64031a.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            203 drivers/media/i2c/upd64031a.c 	v4l2_i2c_subdev_init(sd, client, &upd64031a_ops);
client            213 drivers/media/i2c/upd64031a.c static int upd64031a_remove(struct i2c_client *client)
client            215 drivers/media/i2c/upd64031a.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             63 drivers/media/i2c/upd64083.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             69 drivers/media/i2c/upd64083.c 	if (i2c_master_send(client, buf, 2) != 2)
client             78 drivers/media/i2c/upd64083.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             83 drivers/media/i2c/upd64083.c 	i2c_master_recv(client, buf, sizeof(buf));
client            124 drivers/media/i2c/upd64083.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            127 drivers/media/i2c/upd64083.c 	i2c_master_recv(client, buf, 7);
client            157 drivers/media/i2c/upd64083.c static int upd64083_probe(struct i2c_client *client,
client            164 drivers/media/i2c/upd64083.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            167 drivers/media/i2c/upd64083.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            168 drivers/media/i2c/upd64083.c 			client->addr << 1, client->adapter->name);
client            170 drivers/media/i2c/upd64083.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            174 drivers/media/i2c/upd64083.c 	v4l2_i2c_subdev_init(sd, client, &upd64083_ops);
client            184 drivers/media/i2c/upd64083.c static int upd64083_remove(struct i2c_client *client)
client            186 drivers/media/i2c/upd64083.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            571 drivers/media/i2c/video-i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            576 drivers/media/i2c/video-i2c.c 	sprintf(vcap->bus_info, "I2C:%d-%d", client->adapter->nr, client->addr);
client            754 drivers/media/i2c/video-i2c.c static int video_i2c_probe(struct i2c_client *client,
client            766 drivers/media/i2c/video-i2c.c 	if (dev_fwnode(&client->dev))
client            767 drivers/media/i2c/video-i2c.c 		data->chip = device_get_match_data(&client->dev);
client            773 drivers/media/i2c/video-i2c.c 	data->regmap = regmap_init_i2c(client, data->chip->regmap_config);
client            782 drivers/media/i2c/video-i2c.c 	ret = v4l2_device_register(&client->dev, v4l2_dev);
client            808 drivers/media/i2c/video-i2c.c 				 client->adapter->nr, client->addr);
client            824 drivers/media/i2c/video-i2c.c 	i2c_set_clientdata(client, data);
client            832 drivers/media/i2c/video-i2c.c 	pm_runtime_get_noresume(&client->dev);
client            833 drivers/media/i2c/video-i2c.c 	pm_runtime_set_active(&client->dev);
client            834 drivers/media/i2c/video-i2c.c 	pm_runtime_enable(&client->dev);
client            835 drivers/media/i2c/video-i2c.c 	pm_runtime_set_autosuspend_delay(&client->dev, 2000);
client            836 drivers/media/i2c/video-i2c.c 	pm_runtime_use_autosuspend(&client->dev);
client            841 drivers/media/i2c/video-i2c.c 			dev_warn(&client->dev,
client            851 drivers/media/i2c/video-i2c.c 		config->dev = &client->dev;
client            853 drivers/media/i2c/video-i2c.c 		device = devm_nvmem_register(&client->dev, config);
client            856 drivers/media/i2c/video-i2c.c 			dev_warn(&client->dev,
client            865 drivers/media/i2c/video-i2c.c 	pm_runtime_mark_last_busy(&client->dev);
client            866 drivers/media/i2c/video-i2c.c 	pm_runtime_put_autosuspend(&client->dev);
client            871 drivers/media/i2c/video-i2c.c 	pm_runtime_disable(&client->dev);
client            872 drivers/media/i2c/video-i2c.c 	pm_runtime_set_suspended(&client->dev);
client            873 drivers/media/i2c/video-i2c.c 	pm_runtime_put_noidle(&client->dev);
client            892 drivers/media/i2c/video-i2c.c static int video_i2c_remove(struct i2c_client *client)
client            894 drivers/media/i2c/video-i2c.c 	struct video_i2c_data *data = i2c_get_clientdata(client);
client            896 drivers/media/i2c/video-i2c.c 	pm_runtime_get_sync(&client->dev);
client            897 drivers/media/i2c/video-i2c.c 	pm_runtime_disable(&client->dev);
client            898 drivers/media/i2c/video-i2c.c 	pm_runtime_set_suspended(&client->dev);
client            899 drivers/media/i2c/video-i2c.c 	pm_runtime_put_noidle(&client->dev);
client             41 drivers/media/i2c/vp27smpx.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             57 drivers/media/i2c/vp27smpx.c 	if (i2c_master_send(client, data, sizeof(data)) != sizeof(data))
client            141 drivers/media/i2c/vp27smpx.c static int vp27smpx_probe(struct i2c_client *client,
client            148 drivers/media/i2c/vp27smpx.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            151 drivers/media/i2c/vp27smpx.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            152 drivers/media/i2c/vp27smpx.c 			client->addr << 1, client->adapter->name);
client            154 drivers/media/i2c/vp27smpx.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            158 drivers/media/i2c/vp27smpx.c 	v4l2_i2c_subdev_init(sd, client, &vp27smpx_ops);
client            166 drivers/media/i2c/vp27smpx.c static int vp27smpx_remove(struct i2c_client *client)
client            168 drivers/media/i2c/vp27smpx.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             58 drivers/media/i2c/vpx3220.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             59 drivers/media/i2c/vpx3220.c 	struct vpx3220 *decoder = i2c_get_clientdata(client);
client             62 drivers/media/i2c/vpx3220.c 	return i2c_smbus_write_byte_data(client, reg, value);
client             67 drivers/media/i2c/vpx3220.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             69 drivers/media/i2c/vpx3220.c 	return i2c_smbus_read_byte_data(client, reg);
client             94 drivers/media/i2c/vpx3220.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             97 drivers/media/i2c/vpx3220.c 	if (i2c_smbus_write_word_data(client, 0x27, swab16(fpaddr)) == -1) {
client            106 drivers/media/i2c/vpx3220.c 	if (i2c_smbus_write_word_data(client, 0x28, swab16(data)) == -1) {
client            116 drivers/media/i2c/vpx3220.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            120 drivers/media/i2c/vpx3220.c 	if (i2c_smbus_write_word_data(client, 0x26, swab16(fpaddr)) == -1) {
client            129 drivers/media/i2c/vpx3220.c 	data = i2c_smbus_read_word_data(client, 0x28);
client            459 drivers/media/i2c/vpx3220.c static int vpx3220_probe(struct i2c_client *client,
client            469 drivers/media/i2c/vpx3220.c 	if (!i2c_check_functionality(client->adapter,
client            473 drivers/media/i2c/vpx3220.c 	decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL);
client            477 drivers/media/i2c/vpx3220.c 	v4l2_i2c_subdev_init(sd, client, &vpx3220_ops);
client            499 drivers/media/i2c/vpx3220.c 	ver = i2c_smbus_read_byte_data(client, 0x00);
client            500 drivers/media/i2c/vpx3220.c 	pn = (i2c_smbus_read_byte_data(client, 0x02) << 8) +
client            501 drivers/media/i2c/vpx3220.c 		i2c_smbus_read_byte_data(client, 0x01);
client            517 drivers/media/i2c/vpx3220.c 			client->addr << 1, client->adapter->name);
client            520 drivers/media/i2c/vpx3220.c 			ver, pn, client->addr << 1, client->adapter->name);
client            529 drivers/media/i2c/vpx3220.c static int vpx3220_remove(struct i2c_client *client)
client            531 drivers/media/i2c/vpx3220.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            485 drivers/media/i2c/vs6624.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            490 drivers/media/i2c/vs6624.c 	i2c_master_send(client, buf, 2);
client            491 drivers/media/i2c/vs6624.c 	i2c_master_recv(client, buf, 1);
client            500 drivers/media/i2c/vs6624.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            507 drivers/media/i2c/vs6624.c 	return i2c_master_send(client, buf, 3);
client            741 drivers/media/i2c/vs6624.c static int vs6624_probe(struct i2c_client *client,
client            751 drivers/media/i2c/vs6624.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            754 drivers/media/i2c/vs6624.c 	ce = client->dev.platform_data;
client            758 drivers/media/i2c/vs6624.c 	ret = devm_gpio_request_one(&client->dev, *ce, GPIOF_OUT_INIT_HIGH,
client            761 drivers/media/i2c/vs6624.c 		v4l_err(client, "failed to request GPIO %d\n", *ce);
client            767 drivers/media/i2c/vs6624.c 	sensor = devm_kzalloc(&client->dev, sizeof(*sensor), GFP_KERNEL);
client            772 drivers/media/i2c/vs6624.c 	v4l2_i2c_subdev_init(sd, client, &vs6624_ops);
client            798 drivers/media/i2c/vs6624.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client            799 drivers/media/i2c/vs6624.c 			client->addr << 1, client->adapter->name);
client            827 drivers/media/i2c/vs6624.c static int vs6624_remove(struct i2c_client *client)
client            829 drivers/media/i2c/vs6624.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             66 drivers/media/i2c/wm8739.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             77 drivers/media/i2c/wm8739.c 		if (i2c_smbus_write_byte_data(client,
client            181 drivers/media/i2c/wm8739.c static int wm8739_probe(struct i2c_client *client,
client            188 drivers/media/i2c/wm8739.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            191 drivers/media/i2c/wm8739.c 	v4l_info(client, "chip found @ 0x%x (%s)\n",
client            192 drivers/media/i2c/wm8739.c 			client->addr << 1, client->adapter->name);
client            194 drivers/media/i2c/wm8739.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            198 drivers/media/i2c/wm8739.c 	v4l2_i2c_subdev_init(sd, client, &wm8739_ops);
client            237 drivers/media/i2c/wm8739.c static int wm8739_remove(struct i2c_client *client)
client            239 drivers/media/i2c/wm8739.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             65 drivers/media/i2c/wm8775.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             74 drivers/media/i2c/wm8775.c 		if (i2c_smbus_write_byte_data(client,
client            193 drivers/media/i2c/wm8775.c static int wm8775_probe(struct i2c_client *client,
client            201 drivers/media/i2c/wm8775.c 	if (client->dev.platform_data) {
client            202 drivers/media/i2c/wm8775.c 		struct wm8775_platform_data *data = client->dev.platform_data;
client            207 drivers/media/i2c/wm8775.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            210 drivers/media/i2c/wm8775.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client            211 drivers/media/i2c/wm8775.c 			client->addr << 1, client->adapter->name);
client            213 drivers/media/i2c/wm8775.c 	state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNEL);
client            217 drivers/media/i2c/wm8775.c 	v4l2_i2c_subdev_init(sd, client, &wm8775_ops);
client            283 drivers/media/i2c/wm8775.c static int wm8775_remove(struct i2c_client *client)
client            285 drivers/media/i2c/wm8775.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            766 drivers/media/pci/cobalt/cobalt-driver.c 		struct i2c_client *client;
client            770 drivers/media/pci/cobalt/cobalt-driver.c 		client = v4l2_get_subdevdata(sd);
client            772 drivers/media/pci/cobalt/cobalt-driver.c 		i2c_unregister_device(client);
client           2681 drivers/media/pci/cx23885/cx23885-dvb.c 	struct i2c_client *client;
client           2689 drivers/media/pci/cx23885/cx23885-dvb.c 	client = port->i2c_client_ci;
client           2690 drivers/media/pci/cx23885/cx23885-dvb.c 	if (client) {
client           2691 drivers/media/pci/cx23885/cx23885-dvb.c 		module_put(client->dev.driver->owner);
client           2692 drivers/media/pci/cx23885/cx23885-dvb.c 		i2c_unregister_device(client);
client           2696 drivers/media/pci/cx23885/cx23885-dvb.c 	client = port->i2c_client_sec;
client           2697 drivers/media/pci/cx23885/cx23885-dvb.c 	if (client) {
client           2698 drivers/media/pci/cx23885/cx23885-dvb.c 		module_put(client->dev.driver->owner);
client           2699 drivers/media/pci/cx23885/cx23885-dvb.c 		i2c_unregister_device(client);
client           2703 drivers/media/pci/cx23885/cx23885-dvb.c 	client = port->i2c_client_tuner;
client           2704 drivers/media/pci/cx23885/cx23885-dvb.c 	if (client) {
client           2705 drivers/media/pci/cx23885/cx23885-dvb.c 		module_put(client->dev.driver->owner);
client           2706 drivers/media/pci/cx23885/cx23885-dvb.c 		i2c_unregister_device(client);
client           2710 drivers/media/pci/cx23885/cx23885-dvb.c 	client = port->i2c_client_demod;
client           2711 drivers/media/pci/cx23885/cx23885-dvb.c 	if (client) {
client           2712 drivers/media/pci/cx23885/cx23885-dvb.c 		module_put(client->dev.driver->owner);
client           2713 drivers/media/pci/cx23885/cx23885-dvb.c 		i2c_unregister_device(client);
client            346 drivers/media/pci/cx25821/cx25821-i2c.c 	struct i2c_client *client = &bus->i2c_client;
client            353 drivers/media/pci/cx25821/cx25821-i2c.c 			.addr = client->addr,
client            358 drivers/media/pci/cx25821/cx25821-i2c.c 			.addr = client->addr,
client            370 drivers/media/pci/cx25821/cx25821-i2c.c 	i2c_xfer(client->adapter, msgs, 2);
client            380 drivers/media/pci/cx25821/cx25821-i2c.c 	struct i2c_client *client = &bus->i2c_client;
client            386 drivers/media/pci/cx25821/cx25821-i2c.c 			.addr = client->addr,
client            399 drivers/media/pci/cx25821/cx25821-i2c.c 	client->flags = 0;
client            402 drivers/media/pci/cx25821/cx25821-i2c.c 	retval = i2c_xfer(client->adapter, msgs, 1);
client            324 drivers/media/pci/ddbridge/ddbridge-ci.c 	struct i2c_client *client;
client            329 drivers/media/pci/ddbridge/ddbridge-ci.c 	client = dvb_module_probe("cxd2099", NULL, &port->i2c->adap,
client            331 drivers/media/pci/ddbridge/ddbridge-ci.c 	if (!client)
client            334 drivers/media/pci/ddbridge/ddbridge-ci.c 	port->dvb[0].i2c_client[0] = client;
client           1028 drivers/media/pci/ddbridge/ddbridge-core.c 	struct i2c_client *client;
client           1049 drivers/media/pci/ddbridge/ddbridge-core.c 	client = dvb_module_probe("tda18212", NULL, adapter, addr, &config);
client           1050 drivers/media/pci/ddbridge/ddbridge-core.c 	if (!client)
client           1053 drivers/media/pci/ddbridge/ddbridge-core.c 	dvb->i2c_client[0] = client;
client            227 drivers/media/pci/ngene/ngene-cards.c 	struct i2c_client *client;
client            249 drivers/media/pci/ngene/ngene-cards.c 	client = dvb_module_probe("tda18212", NULL, i2c, addr, &config);
client            250 drivers/media/pci/ngene/ngene-cards.c 	if (!client)
client            253 drivers/media/pci/ngene/ngene-cards.c 	chan->i2c_client[0] = client;
client           1565 drivers/media/pci/ngene/ngene-core.c 	struct i2c_client *client;
client           1582 drivers/media/pci/ngene/ngene-core.c 	client = dvb_module_probe("cxd2099", NULL,
client           1585 drivers/media/pci/ngene/ngene-core.c 	if (!client)
client           1589 drivers/media/pci/ngene/ngene-core.c 	dev->channel[0].i2c_client[0] = client;
client            478 drivers/media/pci/saa7164/saa7164-dvb.c 	struct i2c_client *client;
client            498 drivers/media/pci/saa7164/saa7164-dvb.c 	client = port->i2c_client_tuner;
client            499 drivers/media/pci/saa7164/saa7164-dvb.c 	if (client) {
client            500 drivers/media/pci/saa7164/saa7164-dvb.c 		module_put(client->dev.driver->owner);
client            501 drivers/media/pci/saa7164/saa7164-dvb.c 		i2c_unregister_device(client);
client            505 drivers/media/pci/saa7164/saa7164-dvb.c 	client = port->i2c_client_demod;
client            506 drivers/media/pci/saa7164/saa7164-dvb.c 	if (client) {
client            507 drivers/media/pci/saa7164/saa7164-dvb.c 		module_put(client->dev.driver->owner);
client            508 drivers/media/pci/saa7164/saa7164-dvb.c 		i2c_unregister_device(client);
client            484 drivers/media/pci/smipcie/smipcie-main.c 	struct i2c_client *client;
client            487 drivers/media/pci/smipcie/smipcie-main.c 	client = i2c_new_device(adapter, info);
client            488 drivers/media/pci/smipcie/smipcie-main.c 	if (client == NULL || client->dev.driver == NULL)
client            491 drivers/media/pci/smipcie/smipcie-main.c 	if (!try_module_get(client->dev.driver->owner)) {
client            492 drivers/media/pci/smipcie/smipcie-main.c 		i2c_unregister_device(client);
client            495 drivers/media/pci/smipcie/smipcie-main.c 	return client;
client            498 drivers/media/pci/smipcie/smipcie-main.c 	client = NULL;
client            499 drivers/media/pci/smipcie/smipcie-main.c 	return client;
client            502 drivers/media/pci/smipcie/smipcie-main.c static void smi_del_i2c_client(struct i2c_client *client)
client            504 drivers/media/pci/smipcie/smipcie-main.c 	module_put(client->dev.driver->owner);
client            505 drivers/media/pci/smipcie/smipcie-main.c 	i2c_unregister_device(client);
client           1683 drivers/media/platform/am437x/am437x-vpfe.c 	struct i2c_client *client;
client           1690 drivers/media/platform/am437x/am437x-vpfe.c 		client = v4l2_get_subdevdata(sdinfo->sd);
client           1691 drivers/media/platform/am437x/am437x-vpfe.c 		if (client->addr == curr_client->addr &&
client           1692 drivers/media/platform/am437x/am437x-vpfe.c 		    client->adapter->nr == curr_client->adapter->nr) {
client           1547 drivers/media/platform/fsl-viu.c 	struct i2c_client *client = v4l2_get_subdevdata(sdev);
client           1556 drivers/media/platform/fsl-viu.c 	i2c_put_adapter(client->adapter);
client            240 drivers/media/platform/s3c-camif/camif-core.c 	struct i2c_client *client = sd ? v4l2_get_subdevdata(sd) : NULL;
client            243 drivers/media/platform/s3c-camif/camif-core.c 	if (client == NULL)
client            246 drivers/media/platform/s3c-camif/camif-core.c 	adapter = client->adapter;
client            249 drivers/media/platform/s3c-camif/camif-core.c 	i2c_unregister_device(client);
client           1349 drivers/media/platform/sh_vou.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1353 drivers/media/platform/sh_vou.c 	i2c_put_adapter(client->adapter);
client            113 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c 	struct i2c_client *client;
client            173 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c 		client = i2c_new_device(tsin->i2c_adapter, &tda18212_info);
client            174 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c 		if (!client || !client->dev.driver) {
client            179 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c 		if (!try_module_get(client->dev.driver->owner)) {
client            180 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c 			i2c_unregister_device(client);
client            185 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c 		tsin->i2c_client = client;
client            628 drivers/media/platform/ti-vpe/vpdma.c void vpdma_add_cfd_block(struct vpdma_desc_list *list, int client,
client            643 drivers/media/platform/ti-vpe/vpdma.c 				client, len >> 4);
client            656 drivers/media/platform/ti-vpe/vpdma.c void vpdma_add_cfd_adb(struct vpdma_desc_list *list, int client,
client            672 drivers/media/platform/ti-vpe/vpdma.c 				client, len >> 4);
client            234 drivers/media/platform/ti-vpe/vpdma.h void vpdma_add_cfd_block(struct vpdma_desc_list *list, int client,
client            236 drivers/media/platform/ti-vpe/vpdma.h void vpdma_add_cfd_adb(struct vpdma_desc_list *list, int client,
client            932 drivers/media/radio/radio-si476x.c 			if (radio->core->client->irq) {
client            414 drivers/media/radio/radio-tea5764.c static int tea5764_i2c_probe(struct i2c_client *client,
client            429 drivers/media/radio/radio-tea5764.c 	ret = v4l2_device_register(&client->dev, v4l2_dev);
client            447 drivers/media/radio/radio-tea5764.c 	radio->i2c_client = client;
client            462 drivers/media/radio/radio-tea5764.c 	i2c_set_clientdata(client, radio);
client            490 drivers/media/radio/radio-tea5764.c static int tea5764_i2c_remove(struct i2c_client *client)
client            492 drivers/media/radio/radio-tea5764.c 	struct tea5764_device *radio = i2c_get_clientdata(client);
client             98 drivers/media/radio/radio-wl1273.c 	struct i2c_client *client = core->client;
client            102 drivers/media/radio/radio-wl1273.c 	msg.addr = client->addr;
client            110 drivers/media/radio/radio-wl1273.c 		dev_dbg(&client->dev, "%s:len[%d]: %d\n", __func__, i, msg.len);
client            112 drivers/media/radio/radio-wl1273.c 		r = i2c_transfer(client->adapter, &msg, 1);
client            117 drivers/media/radio/radio-wl1273.c 	dev_dbg(&client->dev, "%s: i: %d\n", __func__, i);
client            118 drivers/media/radio/radio-wl1273.c 	dev_dbg(&client->dev, "%s: len + 1: %d\n", __func__, len + 1);
client            134 drivers/media/radio/radio-wl1273.c 	struct i2c_client *client = core->client;
client            140 drivers/media/radio/radio-wl1273.c 			.addr = client->addr,
client            146 drivers/media/radio/radio-wl1273.c 			.addr = client->addr,
client            168 drivers/media/radio/radio-wl1273.c 		r = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg));
client           1987 drivers/media/radio/radio-wl1273.c 	free_irq(core->client->irq, radio);
client           2029 drivers/media/radio/radio-wl1273.c 	radio->dev = &radio->core->client->dev;
client           2046 drivers/media/radio/radio-wl1273.c 		r = radio->core->pdata->request_resources(radio->core->client);
client           2053 drivers/media/radio/radio-wl1273.c 		dev_dbg(radio->dev, "irq: %d\n", radio->core->client->irq);
client           2055 drivers/media/radio/radio-wl1273.c 		r = request_threaded_irq(radio->core->client->irq, NULL,
client           2141 drivers/media/radio/radio-wl1273.c 	free_irq(radio->core->client->irq, radio);
client            127 drivers/media/radio/saa7706h.c static int saa7706h_i2c_send(struct i2c_client *client, const u8 *data, int len)
client            129 drivers/media/radio/saa7706h.c 	int err = i2c_master_send(client, data, len);
client            135 drivers/media/radio/saa7706h.c static int saa7706h_i2c_transfer(struct i2c_client *client,
client            138 drivers/media/radio/saa7706h.c 	int err = i2c_transfer(client->adapter, msgs, num);
client            146 drivers/media/radio/saa7706h.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            156 drivers/media/radio/saa7706h.c 	return saa7706h_i2c_send(client, buf, pos);
client            167 drivers/media/radio/saa7706h.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            176 drivers/media/radio/saa7706h.c 	return saa7706h_i2c_send(client, buf, pos);
client            187 drivers/media/radio/saa7706h.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            193 drivers/media/radio/saa7706h.c 						.addr = client->addr,
client            198 drivers/media/radio/saa7706h.c 						.addr = client->addr,
client            205 drivers/media/radio/saa7706h.c 	err = saa7706h_i2c_transfer(client, msg, ARRAY_SIZE(msg));
client            334 drivers/media/radio/saa7706h.c static int saa7706h_probe(struct i2c_client *client,
client            342 drivers/media/radio/saa7706h.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            345 drivers/media/radio/saa7706h.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client            346 drivers/media/radio/saa7706h.c 			client->addr << 1, client->adapter->name);
client            352 drivers/media/radio/saa7706h.c 	v4l2_i2c_subdev_init(sd, client, &empty_ops);
client            387 drivers/media/radio/saa7706h.c static int saa7706h_remove(struct i2c_client *client)
client            389 drivers/media/radio/saa7706h.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             89 drivers/media/radio/si470x/radio-si470x-i2c.c 			.addr = radio->client->addr,
client             96 drivers/media/radio/si470x/radio-si470x-i2c.c 	if (i2c_transfer(radio->client->adapter, msgs, 1) != 1)
client            114 drivers/media/radio/si470x/radio-si470x-i2c.c 			.addr = radio->client->addr,
client            123 drivers/media/radio/si470x/radio-si470x-i2c.c 	if (i2c_transfer(radio->client->adapter, msgs, 1) != 1)
client            144 drivers/media/radio/si470x/radio-si470x-i2c.c 			.addr = radio->client->addr,
client            151 drivers/media/radio/si470x/radio-si470x-i2c.c 	if (i2c_transfer(radio->client->adapter, msgs, 1) != 1)
client            333 drivers/media/radio/si470x/radio-si470x-i2c.c static int si470x_i2c_probe(struct i2c_client *client)
client            340 drivers/media/radio/si470x/radio-si470x-i2c.c 	radio = devm_kzalloc(&client->dev, sizeof(*radio), GFP_KERNEL);
client            346 drivers/media/radio/si470x/radio-si470x-i2c.c 	radio->client = client;
client            357 drivers/media/radio/si470x/radio-si470x-i2c.c 	retval = v4l2_device_register(&client->dev, &radio->v4l2_dev);
client            359 drivers/media/radio/si470x/radio-si470x-i2c.c 		dev_err(&client->dev, "couldn't register v4l2_device\n");
client            370 drivers/media/radio/si470x/radio-si470x-i2c.c 		dev_err(&client->dev, "couldn't register control\n");
client            385 drivers/media/radio/si470x/radio-si470x-i2c.c 	radio->gpio_reset = devm_gpiod_get_optional(&client->dev, "reset",
client            389 drivers/media/radio/si470x/radio-si470x-i2c.c 		dev_err(&client->dev, "Failed to request gpio: %d\n", retval);
client            409 drivers/media/radio/si470x/radio-si470x-i2c.c 	dev_info(&client->dev, "DeviceID=0x%4.4hx ChipID=0x%4.4hx\n",
client            412 drivers/media/radio/si470x/radio-si470x-i2c.c 		dev_warn(&client->dev,
client            415 drivers/media/radio/si470x/radio-si470x-i2c.c 		dev_warn(&client->dev,
client            423 drivers/media/radio/si470x/radio-si470x-i2c.c 		dev_warn(&client->dev,
client            425 drivers/media/radio/si470x/radio-si470x-i2c.c 		dev_warn(&client->dev,
client            434 drivers/media/radio/si470x/radio-si470x-i2c.c 	radio->buffer = devm_kmalloc(&client->dev, radio->buf_size, GFP_KERNEL);
client            445 drivers/media/radio/si470x/radio-si470x-i2c.c 	retval = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            450 drivers/media/radio/si470x/radio-si470x-i2c.c 		dev_err(&client->dev, "Failed to register interrupt\n");
client            458 drivers/media/radio/si470x/radio-si470x-i2c.c 		dev_warn(&client->dev, "Could not register video device\n");
client            461 drivers/media/radio/si470x/radio-si470x-i2c.c 	i2c_set_clientdata(client, radio);
client            476 drivers/media/radio/si470x/radio-si470x-i2c.c static int si470x_i2c_remove(struct i2c_client *client)
client            478 drivers/media/radio/si470x/radio-si470x-i2c.c 	struct si470x_device *radio = i2c_get_clientdata(client);
client            497 drivers/media/radio/si470x/radio-si470x-i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            498 drivers/media/radio/si470x/radio-si470x-i2c.c 	struct si470x_device *radio = i2c_get_clientdata(client);
client            514 drivers/media/radio/si470x/radio-si470x-i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            515 drivers/media/radio/si470x/radio-si470x-i2c.c 	struct si470x_device *radio = i2c_get_clientdata(client);
client            182 drivers/media/radio/si470x/radio-si470x.h 	struct i2c_client *client;
client            197 drivers/media/radio/si4713/si4713.c 	struct i2c_client *client = v4l2_get_subdevdata(&sdev->sd);
client            202 drivers/media/radio/si4713/si4713.c 	if (!client->adapter)
client            210 drivers/media/radio/si4713/si4713.c 	err = i2c_master_send(client, data1, argn + 1);
client            220 drivers/media/radio/si4713/si4713.c 	if (client->irq) {
client            229 drivers/media/radio/si4713/si4713.c 		err = i2c_master_recv(client, response, respn);
client            241 drivers/media/radio/si4713/si4713.c 		if (client->irq)
client            342 drivers/media/radio/si4713/si4713.c 	struct i2c_client *client = v4l2_get_subdevdata(&sdev->sd);
client            378 drivers/media/radio/si4713/si4713.c 	if (client->irq)
client            392 drivers/media/radio/si4713/si4713.c 		if (client->irq)
client            466 drivers/media/radio/si4713/si4713.c 	struct i2c_client *client = v4l2_get_subdevdata(&sdev->sd);
client            480 drivers/media/radio/si4713/si4713.c 				client->addr << 1, client->adapter->name);
client            496 drivers/media/radio/si4713/si4713.c 	struct i2c_client *client = v4l2_get_subdevdata(&sdev->sd);
client            501 drivers/media/radio/si4713/si4713.c 	if (client->irq &&
client           1430 drivers/media/radio/si4713/si4713.c static int si4713_probe(struct i2c_client *client)
client           1434 drivers/media/radio/si4713/si4713.c 	struct si4713_platform_data *pdata = client->dev.platform_data;
client           1435 drivers/media/radio/si4713/si4713.c 	struct device_node *np = client->dev.of_node;
client           1440 drivers/media/radio/si4713/si4713.c 	sdev = devm_kzalloc(&client->dev, sizeof(*sdev), GFP_KERNEL);
client           1442 drivers/media/radio/si4713/si4713.c 		dev_err(&client->dev, "Failed to alloc video device.\n");
client           1447 drivers/media/radio/si4713/si4713.c 	sdev->gpio_reset = devm_gpiod_get_optional(&client->dev, "reset",
client           1451 drivers/media/radio/si4713/si4713.c 		dev_err(&client->dev, "Failed to request gpio: %d\n", rval);
client           1455 drivers/media/radio/si4713/si4713.c 	sdev->vdd = devm_regulator_get_optional(&client->dev, "vdd");
client           1461 drivers/media/radio/si4713/si4713.c 		dev_dbg(&client->dev, "no vdd regulator found: %d\n", rval);
client           1465 drivers/media/radio/si4713/si4713.c 	sdev->vio = devm_regulator_get_optional(&client->dev, "vio");
client           1471 drivers/media/radio/si4713/si4713.c 		dev_dbg(&client->dev, "no vio regulator found: %d\n", rval);
client           1475 drivers/media/radio/si4713/si4713.c 	v4l2_i2c_subdev_init(&sdev->sd, client, &si4713_subdev_ops);
client           1574 drivers/media/radio/si4713/si4713.c 	if (client->irq) {
client           1575 drivers/media/radio/si4713/si4713.c 		rval = devm_request_irq(&client->dev, client->irq,
client           1577 drivers/media/radio/si4713/si4713.c 			client->name, sdev);
client           1602 drivers/media/radio/si4713/si4713.c 	si4713_pdev_pdata.subdev = client;
client           1626 drivers/media/radio/si4713/si4713.c static int si4713_remove(struct i2c_client *client)
client           1628 drivers/media/radio/si4713/si4713.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             59 drivers/media/radio/tef6862.c static u16 tef6862_sigstr(struct i2c_client *client)
client             62 drivers/media/radio/tef6862.c 	int err = i2c_master_recv(client, buf, sizeof(buf));
client             94 drivers/media/radio/tef6862.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            109 drivers/media/radio/tef6862.c 	err = i2c_master_send(client, i2cmsg, sizeof(i2cmsg));
client            144 drivers/media/radio/tef6862.c static int tef6862_probe(struct i2c_client *client,
client            151 drivers/media/radio/tef6862.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            154 drivers/media/radio/tef6862.c 	v4l_info(client, "chip found @ 0x%02x (%s)\n",
client            155 drivers/media/radio/tef6862.c 			client->addr << 1, client->adapter->name);
client            163 drivers/media/radio/tef6862.c 	v4l2_i2c_subdev_init(sd, client, &tef6862_ops);
client            168 drivers/media/radio/tef6862.c static int tef6862_remove(struct i2c_client *client)
client            170 drivers/media/radio/tef6862.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             12 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client             15 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "\n");
client             74 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             80 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client             83 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "\n");
client             93 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             99 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client            106 drivers/media/tuners/e4000.c 		dev_dbg(&client->dev, "tuner is sleeping\n");
client            146 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev,
client            253 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            298 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client            300 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "index=%d\n", v->index);
client            313 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client            315 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "index=%d\n", v->index);
client            322 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client            324 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "tuner=%d\n", f->tuner);
client            333 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client            335 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "tuner=%d type=%d frequency=%u\n",
client            347 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client            349 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "tuner=%d type=%d index=%d\n",
client            377 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client            381 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "lna auto=%d->%d val=%d->%d\n",
client            406 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            413 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client            417 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "mixer auto=%d->%d val=%d->%d\n",
client            438 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            445 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client            450 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "if auto=%d->%d val=%d->%d\n",
client            477 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            484 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client            496 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            503 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client            514 drivers/media/tuners/e4000.c 		dev_dbg(&client->dev, "unknown ctrl: id=%d name=%s\n",
client            525 drivers/media/tuners/e4000.c 	struct i2c_client *client = dev->client;
client            555 drivers/media/tuners/e4000.c 		dev_dbg(&client->dev, "unknown ctrl: id=%d name=%s\n",
client            612 drivers/media/tuners/e4000.c static int e4000_probe(struct i2c_client *client,
client            616 drivers/media/tuners/e4000.c 	struct e4000_config *cfg = client->dev.platform_data;
client            632 drivers/media/tuners/e4000.c 	dev->client = client;
client            634 drivers/media/tuners/e4000.c 	dev->regmap = devm_regmap_init_i2c(client, &regmap_config);
client            645 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "chip id=%02x\n", uitmp);
client            684 drivers/media/tuners/e4000.c 		dev_err(&client->dev, "Could not initialize controls\n");
client            692 drivers/media/tuners/e4000.c 	v4l2_i2c_subdev_init(&dev->sd, client, &e4000_subdev_ops);
client            697 drivers/media/tuners/e4000.c 	v4l2_set_subdevdata(&dev->sd, client);
client            698 drivers/media/tuners/e4000.c 	i2c_set_clientdata(client, &dev->sd);
client            700 drivers/media/tuners/e4000.c 	dev_info(&client->dev, "Elonics E4000 successfully identified\n");
client            705 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            709 drivers/media/tuners/e4000.c static int e4000_remove(struct i2c_client *client)
client            711 drivers/media/tuners/e4000.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            714 drivers/media/tuners/e4000.c 	dev_dbg(&client->dev, "\n");
client             18 drivers/media/tuners/e4000_priv.h 	struct i2c_client *client;
client             30 drivers/media/tuners/fc2580.c 	struct i2c_client *client = dev->client;
client             38 drivers/media/tuners/fc2580.c 		dev_dbg(&client->dev, "tuner is sleeping\n");
client             94 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev,
client            267 drivers/media/tuners/fc2580.c 		dev_dbg(&client->dev, "filter did not lock %02x\n", uitmp);
client            271 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            277 drivers/media/tuners/fc2580.c 	struct i2c_client *client = dev->client;
client            280 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "\n");
client            292 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            298 drivers/media/tuners/fc2580.c 	struct i2c_client *client = dev->client;
client            301 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "\n");
client            310 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            391 drivers/media/tuners/fc2580.c 	struct i2c_client *client = dev->client;
client            393 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "index=%d\n", v->index);
client            406 drivers/media/tuners/fc2580.c 	struct i2c_client *client = dev->client;
client            408 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "index=%d\n", v->index);
client            415 drivers/media/tuners/fc2580.c 	struct i2c_client *client = dev->client;
client            417 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "tuner=%d\n", f->tuner);
client            426 drivers/media/tuners/fc2580.c 	struct i2c_client *client = dev->client;
client            428 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "tuner=%d type=%d frequency=%u\n",
client            440 drivers/media/tuners/fc2580.c 	struct i2c_client *client = dev->client;
client            442 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "tuner=%d type=%d index=%d\n",
client            470 drivers/media/tuners/fc2580.c 	struct i2c_client *client = dev->client;
client            473 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "ctrl: id=%d name=%s cur.val=%d val=%d\n",
client            488 drivers/media/tuners/fc2580.c 		dev_dbg(&client->dev, "unknown ctrl");
client            499 drivers/media/tuners/fc2580.c static struct v4l2_subdev *fc2580_get_v4l2_subdev(struct i2c_client *client)
client            501 drivers/media/tuners/fc2580.c 	struct fc2580_dev *dev = i2c_get_clientdata(client);
client            509 drivers/media/tuners/fc2580.c static int fc2580_probe(struct i2c_client *client,
client            513 drivers/media/tuners/fc2580.c 	struct fc2580_platform_data *pdata = client->dev.platform_data;
client            532 drivers/media/tuners/fc2580.c 	dev->client = client;
client            533 drivers/media/tuners/fc2580.c 	dev->regmap = devm_regmap_init_i2c(client, &regmap_config);
client            544 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "chip_id=%02x\n", uitmp);
client            567 drivers/media/tuners/fc2580.c 		dev_err(&client->dev, "Could not initialize controls\n");
client            574 drivers/media/tuners/fc2580.c 	v4l2_i2c_subdev_init(&dev->subdev, client, &fc2580_subdev_ops);
client            580 drivers/media/tuners/fc2580.c 	i2c_set_clientdata(client, dev);
client            582 drivers/media/tuners/fc2580.c 	dev_info(&client->dev, "FCI FC2580 successfully identified\n");
client            587 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            591 drivers/media/tuners/fc2580.c static int fc2580_remove(struct i2c_client *client)
client            593 drivers/media/tuners/fc2580.c 	struct fc2580_dev *dev = i2c_get_clientdata(client);
client            595 drivers/media/tuners/fc2580.c 	dev_dbg(&client->dev, "\n");
client            121 drivers/media/tuners/fc2580_priv.h 	struct i2c_client *client;
client             13 drivers/media/tuners/m88rs6000t.c 	struct i2c_client *client;
client            145 drivers/media/tuners/m88rs6000t.c 		dev_dbg(&dev->client->dev, "failed=%d\n", ret);
client            364 drivers/media/tuners/m88rs6000t.c 	dev_dbg(&dev->client->dev,
client            368 drivers/media/tuners/m88rs6000t.c 		dev_dbg(&dev->client->dev, "failed=%d\n", ret);
client            393 drivers/media/tuners/m88rs6000t.c 	dev_dbg(&dev->client->dev,
client            421 drivers/media/tuners/m88rs6000t.c 		dev_dbg(&dev->client->dev, "failed=%d\n", ret);
client            430 drivers/media/tuners/m88rs6000t.c 	dev_dbg(&dev->client->dev, "%s:\n", __func__);
client            443 drivers/media/tuners/m88rs6000t.c 		dev_dbg(&dev->client->dev, "failed=%d\n", ret);
client            452 drivers/media/tuners/m88rs6000t.c 	dev_dbg(&dev->client->dev, "%s:\n", __func__);
client            456 drivers/media/tuners/m88rs6000t.c 		dev_dbg(&dev->client->dev, "failed=%d\n", ret);
client            467 drivers/media/tuners/m88rs6000t.c 	dev_dbg(&dev->client->dev, "\n");
client            477 drivers/media/tuners/m88rs6000t.c 	dev_dbg(&dev->client->dev, "\n");
client            557 drivers/media/tuners/m88rs6000t.c 		dev_dbg(&dev->client->dev, "failed=%d\n", ret);
client            576 drivers/media/tuners/m88rs6000t.c static int m88rs6000t_probe(struct i2c_client *client,
client            579 drivers/media/tuners/m88rs6000t.c 	struct m88rs6000t_config *cfg = client->dev.platform_data;
client            619 drivers/media/tuners/m88rs6000t.c 		dev_err(&client->dev, "kzalloc() failed\n");
client            624 drivers/media/tuners/m88rs6000t.c 	dev->client = client;
client            625 drivers/media/tuners/m88rs6000t.c 	dev->regmap = devm_regmap_init_i2c(client, &regmap_config);
client            650 drivers/media/tuners/m88rs6000t.c 	dev_info(&dev->client->dev, "chip_id=%02x\n", utmp);
client            687 drivers/media/tuners/m88rs6000t.c 	dev_info(&dev->client->dev, "Montage M88RS6000 internal tuner successfully identified\n");
client            692 drivers/media/tuners/m88rs6000t.c 	i2c_set_clientdata(client, dev);
client            695 drivers/media/tuners/m88rs6000t.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            700 drivers/media/tuners/m88rs6000t.c static int m88rs6000t_remove(struct i2c_client *client)
client            702 drivers/media/tuners/m88rs6000t.c 	struct m88rs6000t_dev *dev = i2c_get_clientdata(client);
client            705 drivers/media/tuners/m88rs6000t.c 	dev_dbg(&client->dev, "\n");
client            445 drivers/media/tuners/mt2060.c static int mt2060_probe(struct i2c_client *client,
client            448 drivers/media/tuners/mt2060.c 	struct mt2060_platform_data *pdata = client->dev.platform_data;
client            454 drivers/media/tuners/mt2060.c 	dev_dbg(&client->dev, "\n");
client            457 drivers/media/tuners/mt2060.c 		dev_err(&client->dev, "Cannot proceed without platform data\n");
client            462 drivers/media/tuners/mt2060.c 	dev = devm_kzalloc(&client->dev, sizeof(*dev), GFP_KERNEL);
client            469 drivers/media/tuners/mt2060.c 	dev->config.i2c_address = client->addr;
client            472 drivers/media/tuners/mt2060.c 	dev->i2c = client->adapter;
client            474 drivers/media/tuners/mt2060.c 	dev->client = client;
client            484 drivers/media/tuners/mt2060.c 	dev_dbg(&client->dev, "chip id=%02x\n", chip_id);
client            500 drivers/media/tuners/mt2060.c 	dev_info(&client->dev, "Microtune MT2060 successfully identified\n");
client            504 drivers/media/tuners/mt2060.c 	i2c_set_clientdata(client, dev);
client            508 drivers/media/tuners/mt2060.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            512 drivers/media/tuners/mt2060.c static int mt2060_remove(struct i2c_client *client)
client            514 drivers/media/tuners/mt2060.c 	dev_dbg(&client->dev, "\n");
client             84 drivers/media/tuners/mt2060_priv.h 	struct i2c_client *client;
client            286 drivers/media/tuners/mxl301rf.c static int mxl301rf_probe(struct i2c_client *client,
client            297 drivers/media/tuners/mxl301rf.c 	state->i2c = client;
client            298 drivers/media/tuners/mxl301rf.c 	cfg = client->dev.platform_data;
client            305 drivers/media/tuners/mxl301rf.c 	i2c_set_clientdata(client, &state->cfg);
client            306 drivers/media/tuners/mxl301rf.c 	dev_info(&client->dev, "MaxLinear MxL301RF attached.\n");
client            310 drivers/media/tuners/mxl301rf.c static int mxl301rf_remove(struct i2c_client *client)
client            314 drivers/media/tuners/mxl301rf.c 	state = cfg_to_state(i2c_get_clientdata(client));
client            200 drivers/media/tuners/qm1d1b0004.c qm1d1b0004_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            207 drivers/media/tuners/qm1d1b0004.c 	cfg = client->dev.platform_data;
client            209 drivers/media/tuners/qm1d1b0004.c 	i2c_set_clientdata(client, fe);
client            220 drivers/media/tuners/qm1d1b0004.c 	state->i2c = client;
client            225 drivers/media/tuners/qm1d1b0004.c 	dev_info(&client->dev, "Sharp QM1D1B0004 attached.\n");
client            235 drivers/media/tuners/qm1d1b0004.c static int qm1d1b0004_remove(struct i2c_client *client)
client            239 drivers/media/tuners/qm1d1b0004.c 	fe = i2c_get_clientdata(client);
client            402 drivers/media/tuners/qm1d1c0042.c static int qm1d1c0042_probe(struct i2c_client *client,
client            412 drivers/media/tuners/qm1d1c0042.c 	state->i2c = client;
client            414 drivers/media/tuners/qm1d1c0042.c 	cfg = client->dev.platform_data;
client            420 drivers/media/tuners/qm1d1c0042.c 	i2c_set_clientdata(client, &state->cfg);
client            421 drivers/media/tuners/qm1d1c0042.c 	dev_info(&client->dev, "Sharp QM1D1C0042 attached.\n");
client            425 drivers/media/tuners/qm1d1c0042.c static int qm1d1c0042_remove(struct i2c_client *client)
client            429 drivers/media/tuners/qm1d1c0042.c 	state = cfg_to_state(i2c_get_clientdata(client));
client             13 drivers/media/tuners/si2157.c static int si2157_cmd_execute(struct i2c_client *client, struct si2157_cmd *cmd)
client             15 drivers/media/tuners/si2157.c 	struct si2157_dev *dev = i2c_get_clientdata(client);
client             23 drivers/media/tuners/si2157.c 		ret = i2c_master_send(client, cmd->args, cmd->wlen);
client             37 drivers/media/tuners/si2157.c 			ret = i2c_master_recv(client, cmd->args, cmd->rlen);
client             50 drivers/media/tuners/si2157.c 		dev_dbg(&client->dev, "cmd execution took %d ms\n",
client             65 drivers/media/tuners/si2157.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             71 drivers/media/tuners/si2157.c 	struct i2c_client *client = fe->tuner_priv;
client             72 drivers/media/tuners/si2157.c 	struct si2157_dev *dev = i2c_get_clientdata(client);
client             80 drivers/media/tuners/si2157.c 	dev_dbg(&client->dev, "\n");
client             86 drivers/media/tuners/si2157.c 	ret = si2157_cmd_execute(client, &cmd);
client             91 drivers/media/tuners/si2157.c 	dev_dbg(&client->dev, "if_frequency kHz=%u\n", uitmp);
client            108 drivers/media/tuners/si2157.c 	ret = si2157_cmd_execute(client, &cmd);
client            116 drivers/media/tuners/si2157.c 		ret = si2157_cmd_execute(client, &cmd);
client            125 drivers/media/tuners/si2157.c 	ret = si2157_cmd_execute(client, &cmd);
client            157 drivers/media/tuners/si2157.c 		dev_err(&client->dev, "unknown chip version Si21%d-%c%c%c\n",
client            164 drivers/media/tuners/si2157.c 	dev_info(&client->dev, "found a 'Silicon Labs Si21%d-%c%c%c'\n",
client            171 drivers/media/tuners/si2157.c 	ret = request_firmware(&fw, fw_name, &client->dev);
client            173 drivers/media/tuners/si2157.c 		dev_err(&client->dev, "firmware file '%s' not found\n",
client            180 drivers/media/tuners/si2157.c 		dev_err(&client->dev, "firmware file '%s' is invalid\n",
client            186 drivers/media/tuners/si2157.c 	dev_info(&client->dev, "downloading firmware from file '%s'\n",
client            192 drivers/media/tuners/si2157.c 			dev_err(&client->dev, "Bad firmware length\n");
client            199 drivers/media/tuners/si2157.c 		ret = si2157_cmd_execute(client, &cmd);
client            201 drivers/media/tuners/si2157.c 			dev_err(&client->dev, "firmware download failed %d\n",
client            214 drivers/media/tuners/si2157.c 	ret = si2157_cmd_execute(client, &cmd);
client            222 drivers/media/tuners/si2157.c 	ret = si2157_cmd_execute(client, &cmd);
client            226 drivers/media/tuners/si2157.c 	dev_info(&client->dev, "firmware version: %c.%c.%d\n",
client            240 drivers/media/tuners/si2157.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            246 drivers/media/tuners/si2157.c 	struct i2c_client *client = fe->tuner_priv;
client            247 drivers/media/tuners/si2157.c 	struct si2157_dev *dev = i2c_get_clientdata(client);
client            251 drivers/media/tuners/si2157.c 	dev_dbg(&client->dev, "\n");
client            262 drivers/media/tuners/si2157.c 	ret = si2157_cmd_execute(client, &cmd);
client            268 drivers/media/tuners/si2157.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            274 drivers/media/tuners/si2157.c 	struct i2c_client *client = fe->tuner_priv;
client            275 drivers/media/tuners/si2157.c 	struct si2157_dev *dev = i2c_get_clientdata(client);
client            282 drivers/media/tuners/si2157.c 	dev_dbg(&client->dev,
client            327 drivers/media/tuners/si2157.c 	ret = si2157_cmd_execute(client, &cmd);
client            338 drivers/media/tuners/si2157.c 	ret = si2157_cmd_execute(client, &cmd);
client            349 drivers/media/tuners/si2157.c 		ret = si2157_cmd_execute(client, &cmd);
client            364 drivers/media/tuners/si2157.c 	ret = si2157_cmd_execute(client, &cmd);
client            370 drivers/media/tuners/si2157.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            376 drivers/media/tuners/si2157.c 	struct i2c_client *client = fe->tuner_priv;
client            377 drivers/media/tuners/si2157.c 	struct si2157_dev *dev = i2c_get_clientdata(client);
client            400 drivers/media/tuners/si2157.c 	struct i2c_client *client = fe->tuner_priv;
client            405 drivers/media/tuners/si2157.c 	dev_dbg(&client->dev, "\n");
client            410 drivers/media/tuners/si2157.c 	ret = si2157_cmd_execute(client, &cmd);
client            421 drivers/media/tuners/si2157.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            424 drivers/media/tuners/si2157.c static int si2157_probe(struct i2c_client *client,
client            427 drivers/media/tuners/si2157.c 	struct si2157_config *cfg = client->dev.platform_data;
client            436 drivers/media/tuners/si2157.c 		dev_err(&client->dev, "kzalloc() failed\n");
client            440 drivers/media/tuners/si2157.c 	i2c_set_clientdata(client, dev);
client            452 drivers/media/tuners/si2157.c 	ret = si2157_cmd_execute(client, &cmd);
client            457 drivers/media/tuners/si2157.c 	fe->tuner_priv = client;
client            487 drivers/media/tuners/si2157.c 	dev_info(&client->dev, "Silicon Labs %s successfully attached\n",
client            497 drivers/media/tuners/si2157.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            501 drivers/media/tuners/si2157.c static int si2157_remove(struct i2c_client *client)
client            503 drivers/media/tuners/si2157.c 	struct si2157_dev *dev = i2c_get_clientdata(client);
client            506 drivers/media/tuners/si2157.c 	dev_dbg(&client->dev, "\n");
client             13 drivers/media/tuners/tda18212.c 	struct i2c_client *client;
client             50 drivers/media/tuners/tda18212.c 	dev_dbg(&dev->client->dev,
client            150 drivers/media/tuners/tda18212.c 	dev_dbg(&dev->client->dev, "failed=%d\n", ret);
client            176 drivers/media/tuners/tda18212.c static int tda18212_probe(struct i2c_client *client,
client            179 drivers/media/tuners/tda18212.c 	struct tda18212_config *cfg = client->dev.platform_data;
client            193 drivers/media/tuners/tda18212.c 		dev_err(&client->dev, "kzalloc() failed\n");
client            198 drivers/media/tuners/tda18212.c 	dev->client = client;
client            199 drivers/media/tuners/tda18212.c 	dev->regmap = devm_regmap_init_i2c(client, &regmap_config);
client            210 drivers/media/tuners/tda18212.c 	dev_dbg(&dev->client->dev, "chip_id=%02x\n", chip_id);
client            230 drivers/media/tuners/tda18212.c 	dev_info(&dev->client->dev,
client            236 drivers/media/tuners/tda18212.c 	i2c_set_clientdata(client, dev);
client            240 drivers/media/tuners/tda18212.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            245 drivers/media/tuners/tda18212.c static int tda18212_remove(struct i2c_client *client)
client            247 drivers/media/tuners/tda18212.c 	struct tda18212_dev *dev = i2c_get_clientdata(client);
client            250 drivers/media/tuners/tda18212.c 	dev_dbg(&client->dev, "\n");
client             16 drivers/media/tuners/tda18250.c 	struct i2c_client *client = fe->tuner_priv;
client             17 drivers/media/tuners/tda18250.c 	struct tda18250_dev *dev = i2c_get_clientdata(client);
client             21 drivers/media/tuners/tda18250.c 	dev_dbg(&client->dev, "power state: %d", power_state);
client             86 drivers/media/tuners/tda18250.c 	struct i2c_client *client = fe->tuner_priv;
client             87 drivers/media/tuners/tda18250.c 	struct tda18250_dev *dev = i2c_get_clientdata(client);
client            107 drivers/media/tuners/tda18250.c 	dev_dbg(&client->dev, "waited IRQ (0x%02x) %d ms, triggered: %s", irq,
client            122 drivers/media/tuners/tda18250.c 	struct i2c_client *client = fe->tuner_priv;
client            123 drivers/media/tuners/tda18250.c 	struct tda18250_dev *dev = i2c_get_clientdata(client);
client            174 drivers/media/tuners/tda18250.c 	dev_dbg(&client->dev, "\n");
client            245 drivers/media/tuners/tda18250.c 	dev_dbg(&client->dev, "failed=%d", ret);
client            251 drivers/media/tuners/tda18250.c 	struct i2c_client *client = fe->tuner_priv;
client            252 drivers/media/tuners/tda18250.c 	struct tda18250_dev *dev = i2c_get_clientdata(client);
client            257 drivers/media/tuners/tda18250.c 	dev_dbg(&client->dev, "\n");
client            424 drivers/media/tuners/tda18250.c 	dev_dbg(&client->dev, "failed=%d", ret);
client            431 drivers/media/tuners/tda18250.c 	struct i2c_client *client = fe->tuner_priv;
client            432 drivers/media/tuners/tda18250.c 	struct tda18250_dev *dev = i2c_get_clientdata(client);
client            485 drivers/media/tuners/tda18250.c 	dev_dbg(&client->dev,
client            495 drivers/media/tuners/tda18250.c 	struct i2c_client *client = fe->tuner_priv;
client            496 drivers/media/tuners/tda18250.c 	struct tda18250_dev *dev = i2c_get_clientdata(client);
client            532 drivers/media/tuners/tda18250.c 	dev_dbg(&client->dev,
client            579 drivers/media/tuners/tda18250.c 		dev_err(&client->dev, "unsupported delivery system=%d",
client            599 drivers/media/tuners/tda18250.c 		dev_dbg(&client->dev, "set IF=%u kHz", if_khz);
client            704 drivers/media/tuners/tda18250.c 	struct i2c_client *client = fe->tuner_priv;
client            705 drivers/media/tuners/tda18250.c 	struct tda18250_dev *dev = i2c_get_clientdata(client);
client            713 drivers/media/tuners/tda18250.c 	struct i2c_client *client = fe->tuner_priv;
client            714 drivers/media/tuners/tda18250.c 	struct tda18250_dev *dev = i2c_get_clientdata(client);
client            717 drivers/media/tuners/tda18250.c 	dev_dbg(&client->dev, "\n");
client            744 drivers/media/tuners/tda18250.c static int tda18250_probe(struct i2c_client *client,
client            747 drivers/media/tuners/tda18250.c 	struct tda18250_config *cfg = client->dev.platform_data;
client            779 drivers/media/tuners/tda18250.c 	i2c_set_clientdata(client, dev);
client            787 drivers/media/tuners/tda18250.c 		dev_err(&client->dev, "xtal_freq invalid=%d", cfg->xtal_freq);
client            800 drivers/media/tuners/tda18250.c 	dev->regmap = devm_regmap_init_i2c(client, &tda18250_regmap_config);
client            808 drivers/media/tuners/tda18250.c 	dev_dbg(&client->dev, "chip_id=%02x:%02x:%02x",
client            830 drivers/media/tuners/tda18250.c 		dev_info(&client->dev,
client            835 drivers/media/tuners/tda18250.c 		dev_info(&client->dev,
client            844 drivers/media/tuners/tda18250.c 	fe->tuner_priv = client;
client            855 drivers/media/tuners/tda18250.c 	dev_dbg(&client->dev, "failed=%d", ret);
client            859 drivers/media/tuners/tda18250.c static int tda18250_remove(struct i2c_client *client)
client            861 drivers/media/tuners/tda18250.c 	struct tda18250_dev *dev = i2c_get_clientdata(client);
client            864 drivers/media/tuners/tda18250.c 	dev_dbg(&client->dev, "\n");
client             13 drivers/media/tuners/tua9001.c 	struct i2c_client *client = dev->client;
client             33 drivers/media/tuners/tua9001.c 	dev_dbg(&client->dev, "\n");
client             36 drivers/media/tuners/tua9001.c 		ret = fe->callback(client->adapter,
client             50 drivers/media/tuners/tua9001.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             57 drivers/media/tuners/tua9001.c 	struct i2c_client *client = dev->client;
client             60 drivers/media/tuners/tua9001.c 	dev_dbg(&client->dev, "\n");
client             63 drivers/media/tuners/tua9001.c 		ret = fe->callback(client->adapter,
client             71 drivers/media/tuners/tua9001.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             78 drivers/media/tuners/tua9001.c 	struct i2c_client *client = dev->client;
client             84 drivers/media/tuners/tua9001.c 	dev_dbg(&client->dev,
client            119 drivers/media/tuners/tua9001.c 		ret = fe->callback(client->adapter,
client            133 drivers/media/tuners/tua9001.c 		ret = fe->callback(client->adapter,
client            141 drivers/media/tuners/tua9001.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            148 drivers/media/tuners/tua9001.c 	struct i2c_client *client = dev->client;
client            150 drivers/media/tuners/tua9001.c 	dev_dbg(&client->dev, "\n");
client            170 drivers/media/tuners/tua9001.c static int tua9001_probe(struct i2c_client *client,
client            174 drivers/media/tuners/tua9001.c 	struct tua9001_platform_data *pdata = client->dev.platform_data;
client            189 drivers/media/tuners/tua9001.c 	dev->client = client;
client            190 drivers/media/tuners/tua9001.c 	dev->regmap = devm_regmap_init_i2c(client, &regmap_config);
client            197 drivers/media/tuners/tua9001.c 		ret = fe->callback(client->adapter,
client            203 drivers/media/tuners/tua9001.c 		ret = fe->callback(client->adapter,
client            209 drivers/media/tuners/tua9001.c 		ret = fe->callback(client->adapter,
client            219 drivers/media/tuners/tua9001.c 	i2c_set_clientdata(client, dev);
client            221 drivers/media/tuners/tua9001.c 	dev_info(&client->dev, "Infineon TUA9001 successfully attached\n");
client            226 drivers/media/tuners/tua9001.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client            230 drivers/media/tuners/tua9001.c static int tua9001_remove(struct i2c_client *client)
client            232 drivers/media/tuners/tua9001.c 	struct tua9001_dev *dev = i2c_get_clientdata(client);
client            236 drivers/media/tuners/tua9001.c 	dev_dbg(&client->dev, "\n");
client            239 drivers/media/tuners/tua9001.c 		ret = fe->callback(client->adapter,
client            249 drivers/media/tuners/tua9001.c 	dev_dbg(&client->dev, "failed=%d\n", ret);
client             22 drivers/media/tuners/tua9001_priv.h 	struct i2c_client *client;
client           1211 drivers/media/usb/cx231xx/cx231xx-cards.c static int read_eeprom(struct cx231xx *dev, struct i2c_client *client,
client           1219 drivers/media/usb/cx231xx/cx231xx-cards.c 	struct i2c_msg msg_write = { .addr = client->addr, .flags = 0,
client           1221 drivers/media/usb/cx231xx/cx231xx-cards.c 	struct i2c_msg msg_read = { .addr = client->addr, .flags = I2C_M_RD };
client           1224 drivers/media/usb/cx231xx/cx231xx-cards.c 	ret = i2c_transfer(client->adapter, &msg_write, 1);
client           1234 drivers/media/usb/cx231xx/cx231xx-cards.c 		ret = i2c_transfer(client->adapter, &msg_read, 1);
client           1296 drivers/media/usb/cx231xx/cx231xx-cards.c 				struct i2c_client client;
client           1305 drivers/media/usb/cx231xx/cx231xx-cards.c 			e->client.adapter = cx231xx_get_i2c_adap(dev, I2C_1_MUX_1);
client           1306 drivers/media/usb/cx231xx/cx231xx-cards.c 			e->client.addr = 0xa0 >> 1;
client           1308 drivers/media/usb/cx231xx/cx231xx-cards.c 			read_eeprom(dev, &e->client, e->eeprom, sizeof(e->eeprom));
client            622 drivers/media/usb/cx231xx/cx231xx-dvb.c 	struct i2c_client *client;
client            779 drivers/media/usb/cx231xx/cx231xx-dvb.c 		client = dvb_module_probe("si2165", NULL, demod_i2c,
client            782 drivers/media/usb/cx231xx/cx231xx-dvb.c 		if (!client) {
client            786 drivers/media/usb/cx231xx/cx231xx-dvb.c 		dvb->i2c_client_demod[0] = client;
client            811 drivers/media/usb/cx231xx/cx231xx-dvb.c 		client = dvb_module_probe("si2165", NULL, demod_i2c,
client            814 drivers/media/usb/cx231xx/cx231xx-dvb.c 		if (!client) {
client            818 drivers/media/usb/cx231xx/cx231xx-dvb.c 		dvb->i2c_client_demod[0] = client;
client            834 drivers/media/usb/cx231xx/cx231xx-dvb.c 		client = dvb_module_probe("si2157", NULL, tuner_i2c,
client            837 drivers/media/usb/cx231xx/cx231xx-dvb.c 		if (!client) {
client            843 drivers/media/usb/cx231xx/cx231xx-dvb.c 		dev->dvb->i2c_client_tuner = client;
client            856 drivers/media/usb/cx231xx/cx231xx-dvb.c 		client = dvb_module_probe("lgdt3306a", NULL, demod_i2c,
client            859 drivers/media/usb/cx231xx/cx231xx-dvb.c 		if (!client) {
client            863 drivers/media/usb/cx231xx/cx231xx-dvb.c 		dvb->i2c_client_demod[0] = client;
client            879 drivers/media/usb/cx231xx/cx231xx-dvb.c 		client = dvb_module_probe("si2157", NULL, tuner_i2c,
client            882 drivers/media/usb/cx231xx/cx231xx-dvb.c 		if (!client) {
client            888 drivers/media/usb/cx231xx/cx231xx-dvb.c 		dev->dvb->i2c_client_tuner = client;
client            929 drivers/media/usb/cx231xx/cx231xx-dvb.c 		client = dvb_module_probe("si2168", NULL, demod_i2c,
client            932 drivers/media/usb/cx231xx/cx231xx-dvb.c 		if (!client) {
client            936 drivers/media/usb/cx231xx/cx231xx-dvb.c 		dvb->i2c_client_demod[0] = client;
client            947 drivers/media/usb/cx231xx/cx231xx-dvb.c 		client = dvb_module_probe("si2157", NULL, tuner_i2c,
client            950 drivers/media/usb/cx231xx/cx231xx-dvb.c 		if (!client) {
client            955 drivers/media/usb/cx231xx/cx231xx-dvb.c 		dev->dvb->i2c_client_tuner = client;
client            968 drivers/media/usb/cx231xx/cx231xx-dvb.c 		client = dvb_module_probe("mn88473", NULL, demod_i2c,
client            971 drivers/media/usb/cx231xx/cx231xx-dvb.c 		if (!client) {
client            975 drivers/media/usb/cx231xx/cx231xx-dvb.c 		dvb->i2c_client_demod[0] = client;
client            998 drivers/media/usb/cx231xx/cx231xx-dvb.c 		client = dvb_module_probe("si2168", NULL, demod_i2c,
client           1001 drivers/media/usb/cx231xx/cx231xx-dvb.c 		if (!client) {
client           1005 drivers/media/usb/cx231xx/cx231xx-dvb.c 		dvb->i2c_client_demod[0] = client;
client           1020 drivers/media/usb/cx231xx/cx231xx-dvb.c 		client = dvb_module_probe("si2157", NULL, tuner_i2c,
client           1023 drivers/media/usb/cx231xx/cx231xx-dvb.c 		if (!client) {
client           1028 drivers/media/usb/cx231xx/cx231xx-dvb.c 		dev->dvb->i2c_client_tuner = client;
client           1044 drivers/media/usb/cx231xx/cx231xx-dvb.c 		client = dvb_module_probe("lgdt3306a", NULL, demod_i2c,
client           1047 drivers/media/usb/cx231xx/cx231xx-dvb.c 		if (!client) {
client           1051 drivers/media/usb/cx231xx/cx231xx-dvb.c 		dvb->i2c_client_demod[0] = client;
client           1060 drivers/media/usb/cx231xx/cx231xx-dvb.c 		client = dvb_module_probe("si2168", NULL, adapter,
client           1063 drivers/media/usb/cx231xx/cx231xx-dvb.c 		if (!client) {
client           1067 drivers/media/usb/cx231xx/cx231xx-dvb.c 		dvb->i2c_client_demod[1] = client;
client           1083 drivers/media/usb/cx231xx/cx231xx-dvb.c 		client = dvb_module_probe("si2157", NULL, adapter,
client           1086 drivers/media/usb/cx231xx/cx231xx-dvb.c 		if (!client) {
client           1091 drivers/media/usb/cx231xx/cx231xx-dvb.c 		dvb->i2c_client_tuner = client;
client            848 drivers/media/usb/dvb-usb-v2/af9015.c 	struct i2c_client *client;
client            884 drivers/media/usb/dvb-usb-v2/af9015.c 	client = dvb_module_probe("af9013", NULL, &d->i2c_adap,
client            887 drivers/media/usb/dvb-usb-v2/af9015.c 	if (!client) {
client            891 drivers/media/usb/dvb-usb-v2/af9015.c 	adap->fe[0] = state->af9013_pdata[adap->id].get_dvb_frontend(client);
client            892 drivers/media/usb/dvb-usb-v2/af9015.c 	state->demod_i2c_client[adap->id] = client;
client            923 drivers/media/usb/dvb-usb-v2/af9015.c 	struct i2c_client *client;
client            928 drivers/media/usb/dvb-usb-v2/af9015.c 	client = state->demod_i2c_client[adap->id];
client            929 drivers/media/usb/dvb-usb-v2/af9015.c 	dvb_module_release(client);
client           1002 drivers/media/usb/dvb-usb-v2/af9015.c 	struct i2c_client *client;
client           1008 drivers/media/usb/dvb-usb-v2/af9015.c 	client = state->demod_i2c_client[adap->id];
client           1009 drivers/media/usb/dvb-usb-v2/af9015.c 	adapter = state->af9013_pdata[adap->id].get_i2c_adapter(client);
client            186 drivers/media/usb/dvb-usb-v2/af9035.c 	struct i2c_client *client;
client            211 drivers/media/usb/dvb-usb-v2/af9035.c 	client = i2c_new_device(adapter, &board_info);
client            212 drivers/media/usb/dvb-usb-v2/af9035.c 	if (client == NULL || client->dev.driver == NULL) {
client            218 drivers/media/usb/dvb-usb-v2/af9035.c 	if (!try_module_get(client->dev.driver->owner)) {
client            219 drivers/media/usb/dvb-usb-v2/af9035.c 		i2c_unregister_device(client);
client            224 drivers/media/usb/dvb-usb-v2/af9035.c 	state->i2c_client[num] = client;
client            236 drivers/media/usb/dvb-usb-v2/af9035.c 	struct i2c_client *client;
client            252 drivers/media/usb/dvb-usb-v2/af9035.c 	client = state->i2c_client[num];
client            255 drivers/media/usb/dvb-usb-v2/af9035.c 	module_put(client->dev.driver->owner);
client            258 drivers/media/usb/dvb-usb-v2/af9035.c 	i2c_unregister_device(client);
client            625 drivers/media/usb/dvb-usb-v2/anysee.c 	struct i2c_client *client;
client            652 drivers/media/usb/dvb-usb-v2/anysee.c 	client = i2c_new_device(adapter, &board_info);
client            653 drivers/media/usb/dvb-usb-v2/anysee.c 	if (client == NULL || client->dev.driver == NULL) {
client            659 drivers/media/usb/dvb-usb-v2/anysee.c 	if (!try_module_get(client->dev.driver->owner)) {
client            660 drivers/media/usb/dvb-usb-v2/anysee.c 		i2c_unregister_device(client);
client            665 drivers/media/usb/dvb-usb-v2/anysee.c 	state->i2c_client[num] = client;
client            676 drivers/media/usb/dvb-usb-v2/anysee.c 	struct i2c_client *client;
client            693 drivers/media/usb/dvb-usb-v2/anysee.c 	client = state->i2c_client[num];
client            696 drivers/media/usb/dvb-usb-v2/anysee.c 	module_put(client->dev.driver->owner);
client            699 drivers/media/usb/dvb-usb-v2/anysee.c 	i2c_unregister_device(client);
client            673 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	struct i2c_client *client;
client            700 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	client = i2c_new_device(&d->i2c_adap, &board_info);
client            701 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	if (client == NULL || client->dev.driver == NULL) {
client            706 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	if (!try_module_get(client->dev.driver->owner)) {
client            707 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		i2c_unregister_device(client);
client            712 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	adap->fe[0] = pdata->get_dvb_frontend(client);
client            713 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	dev->demod_i2c_adapter = pdata->get_i2c_adapter(client);
client            715 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	dev->i2c_client_demod = client;
client            881 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	struct i2c_client *client;
client            921 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	client = i2c_new_device(&d->i2c_adap, &board_info);
client            922 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	if (client == NULL || client->dev.driver == NULL) {
client            927 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	if (!try_module_get(client->dev.driver->owner)) {
client            928 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		i2c_unregister_device(client);
client            933 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	adap->fe[0] = pdata->get_dvb_frontend(client);
client            934 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	dev->demod_i2c_adapter = pdata->get_i2c_adapter(client);
client            936 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	dev->i2c_client_demod = client;
client            963 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			client = i2c_new_device(&d->i2c_adap, &info);
client            964 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			if (client == NULL || client->dev.driver == NULL) {
client            969 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			if (!try_module_get(client->dev.driver->owner)) {
client            970 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 				i2c_unregister_device(client);
client            975 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			dev->i2c_client_slave_demod = client;
client            985 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			client = i2c_new_device(&d->i2c_adap, &info);
client            986 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			if (client == NULL || client->dev.driver == NULL) {
client            991 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			if (!try_module_get(client->dev.driver->owner)) {
client            992 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 				i2c_unregister_device(client);
client            997 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			dev->i2c_client_slave_demod = client;
client           1028 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			client = i2c_new_device(&d->i2c_adap, &info);
client           1029 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			if (client == NULL || client->dev.driver == NULL) {
client           1034 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			if (!try_module_get(client->dev.driver->owner)) {
client           1035 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 				i2c_unregister_device(client);
client           1040 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			dev->i2c_client_slave_demod = client;
client           1067 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	struct i2c_client *client;
client           1072 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	client = dev->i2c_client_slave_demod;
client           1073 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	if (client) {
client           1074 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		module_put(client->dev.driver->owner);
client           1075 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		i2c_unregister_device(client);
client           1079 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	client = dev->i2c_client_demod;
client           1080 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	if (client) {
client           1081 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		module_put(client->dev.driver->owner);
client           1082 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		i2c_unregister_device(client);
client           1181 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	struct i2c_client *client;
client           1220 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			client = i2c_new_device(dev->demod_i2c_adapter, &info);
client           1221 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			if (client == NULL || client->dev.driver == NULL)
client           1224 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			if (!try_module_get(client->dev.driver->owner)) {
client           1225 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 				i2c_unregister_device(client);
client           1229 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			dev->i2c_client_tuner = client;
client           1230 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			subdev = i2c_get_clientdata(client);
client           1243 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			client = i2c_new_device(dev->demod_i2c_adapter,
client           1245 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			if (client == NULL || client->dev.driver == NULL)
client           1247 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			if (!try_module_get(client->dev.driver->owner)) {
client           1248 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 				i2c_unregister_device(client);
client           1251 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			dev->i2c_client_tuner = client;
client           1252 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			subdev = fc2580_pdata.get_v4l2_subdev(client);
client           1274 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		client = i2c_new_device(dev->demod_i2c_adapter, &board_info);
client           1275 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		if (client == NULL || client->dev.driver == NULL)
client           1277 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		if (!try_module_get(client->dev.driver->owner)) {
client           1278 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			i2c_unregister_device(client);
client           1281 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		dev->i2c_client_tuner = client;
client           1319 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			client = i2c_new_device(&d->i2c_adap, &info);
client           1320 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			if (client == NULL || client->dev.driver == NULL)
client           1323 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			if (!try_module_get(client->dev.driver->owner)) {
client           1324 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 				i2c_unregister_device(client);
client           1328 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			dev->i2c_client_tuner = client;
client           1329 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			subdev = i2c_get_clientdata(client);
client           1397 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	struct i2c_client *client;
client           1408 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	client = dev->i2c_client_tuner;
client           1409 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	if (client) {
client           1410 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		module_put(client->dev.driver->owner);
client           1411 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		i2c_unregister_device(client);
client            129 drivers/media/usb/dvb-usb-v2/zd1301.c 	struct i2c_client *client;
client            175 drivers/media/usb/dvb-usb-v2/zd1301.c 	client = i2c_new_device(adapter, &board_info);
client            176 drivers/media/usb/dvb-usb-v2/zd1301.c 	if (!client || !client->dev.driver) {
client            180 drivers/media/usb/dvb-usb-v2/zd1301.c 	if (!try_module_get(client->dev.driver->owner)) {
client            186 drivers/media/usb/dvb-usb-v2/zd1301.c 	dev->i2c_client_tuner = client;
client            191 drivers/media/usb/dvb-usb-v2/zd1301.c 	i2c_unregister_device(client);
client            207 drivers/media/usb/dvb-usb-v2/zd1301.c 	struct i2c_client *client;
client            211 drivers/media/usb/dvb-usb-v2/zd1301.c 	client = dev->i2c_client_tuner;
client            215 drivers/media/usb/dvb-usb-v2/zd1301.c 	if (client) {
client            216 drivers/media/usb/dvb-usb-v2/zd1301.c 		module_put(client->dev.driver->owner);
client            217 drivers/media/usb/dvb-usb-v2/zd1301.c 		i2c_unregister_device(client);
client           1676 drivers/media/usb/dvb-usb/cxusb.c 	struct i2c_client *client;
client           1682 drivers/media/usb/dvb-usb/cxusb.c 	client = st->i2c_client_tuner;
client           1683 drivers/media/usb/dvb-usb/cxusb.c 	if (client) {
client           1684 drivers/media/usb/dvb-usb/cxusb.c 		module_put(client->dev.driver->owner);
client           1685 drivers/media/usb/dvb-usb/cxusb.c 		i2c_unregister_device(client);
client           1689 drivers/media/usb/dvb-usb/cxusb.c 	client = st->i2c_client_demod;
client           1690 drivers/media/usb/dvb-usb/cxusb.c 	if (client) {
client           1691 drivers/media/usb/dvb-usb/cxusb.c 		module_put(client->dev.driver->owner);
client           1692 drivers/media/usb/dvb-usb/cxusb.c 		i2c_unregister_device(client);
client            915 drivers/media/usb/dvb-usb/dib0700_core.c 	struct i2c_client *client;
client            918 drivers/media/usb/dvb-usb/dib0700_core.c 	client = st->i2c_client_tuner;
client            919 drivers/media/usb/dvb-usb/dib0700_core.c 	if (client) {
client            920 drivers/media/usb/dvb-usb/dib0700_core.c 		module_put(client->dev.driver->owner);
client            921 drivers/media/usb/dvb-usb/dib0700_core.c 		i2c_unregister_device(client);
client            925 drivers/media/usb/dvb-usb/dib0700_core.c 	client = st->i2c_client_demod;
client            926 drivers/media/usb/dvb-usb/dib0700_core.c 	if (client) {
client            927 drivers/media/usb/dvb-usb/dib0700_core.c 		module_put(client->dev.driver->owner);
client            928 drivers/media/usb/dvb-usb/dib0700_core.c 		i2c_unregister_device(client);
client           1532 drivers/media/usb/dvb-usb/dw2102.c 	struct i2c_client *client;
client           1593 drivers/media/usb/dvb-usb/dw2102.c 	client = i2c_new_device(&d->i2c_adap, &board_info);
client           1594 drivers/media/usb/dvb-usb/dw2102.c 	if (client == NULL || client->dev.driver == NULL)
client           1596 drivers/media/usb/dvb-usb/dw2102.c 	if (!try_module_get(client->dev.driver->owner)) {
client           1597 drivers/media/usb/dvb-usb/dw2102.c 		i2c_unregister_device(client);
client           1600 drivers/media/usb/dvb-usb/dw2102.c 	adap->fe_adap[0].fe = m88ds3103_pdata.get_dvb_frontend(client);
client           1601 drivers/media/usb/dvb-usb/dw2102.c 	i2c_adapter = m88ds3103_pdata.get_i2c_adapter(client);
client           1603 drivers/media/usb/dvb-usb/dw2102.c 	state->i2c_client_demod = client;
client           1612 drivers/media/usb/dvb-usb/dw2102.c 	client = i2c_new_device(i2c_adapter, &board_info);
client           1614 drivers/media/usb/dvb-usb/dw2102.c 	if (client == NULL || client->dev.driver == NULL) {
client           1619 drivers/media/usb/dvb-usb/dw2102.c 	if (!try_module_get(client->dev.driver->owner)) {
client           1620 drivers/media/usb/dvb-usb/dw2102.c 		i2c_unregister_device(client);
client           1629 drivers/media/usb/dvb-usb/dw2102.c 	state->i2c_client_tuner = client;
client           2430 drivers/media/usb/dvb-usb/dw2102.c 	struct i2c_client *client;
client           2433 drivers/media/usb/dvb-usb/dw2102.c 	client = st->i2c_client_tuner;
client           2434 drivers/media/usb/dvb-usb/dw2102.c 	if (client) {
client           2435 drivers/media/usb/dvb-usb/dw2102.c 		module_put(client->dev.driver->owner);
client           2436 drivers/media/usb/dvb-usb/dw2102.c 		i2c_unregister_device(client);
client           2440 drivers/media/usb/dvb-usb/dw2102.c 	client = st->i2c_client_demod;
client           2441 drivers/media/usb/dvb-usb/dw2102.c 	if (client) {
client           2442 drivers/media/usb/dvb-usb/dw2102.c 		module_put(client->dev.driver->owner);
client           2443 drivers/media/usb/dvb-usb/dw2102.c 		i2c_unregister_device(client);
client             98 drivers/media/usb/em28xx/em28xx-camera.c 	struct i2c_client *client = &dev->i2c_client[dev->def_i2c_bus];
client            102 drivers/media/usb/em28xx/em28xx-camera.c 		client->addr = micron_sensor_addrs[i];
client            104 drivers/media/usb/em28xx/em28xx-camera.c 		ret = i2c_smbus_read_word_data(client, 0x00); /* assumes LE */
client            109 drivers/media/usb/em28xx/em28xx-camera.c 				       client->addr << 1, ret);
client            114 drivers/media/usb/em28xx/em28xx-camera.c 		ret = i2c_smbus_read_word_data(client, 0xff);
client            118 drivers/media/usb/em28xx/em28xx-camera.c 				client->addr << 1, ret);
client            183 drivers/media/usb/em28xx/em28xx-camera.c 	struct i2c_client *client = &dev->i2c_client[dev->def_i2c_bus];
client            191 drivers/media/usb/em28xx/em28xx-camera.c 		client->addr = omnivision_sensor_addrs[i];
client            194 drivers/media/usb/em28xx/em28xx-camera.c 		ret = i2c_smbus_read_byte_data(client, reg);
client            199 drivers/media/usb/em28xx/em28xx-camera.c 					client->addr << 1, ret);
client            204 drivers/media/usb/em28xx/em28xx-camera.c 		ret = i2c_smbus_read_byte_data(client, reg);
client            208 drivers/media/usb/em28xx/em28xx-camera.c 				client->addr << 1, ret);
client            217 drivers/media/usb/em28xx/em28xx-camera.c 		ret = i2c_smbus_read_byte_data(client, reg);
client            221 drivers/media/usb/em28xx/em28xx-camera.c 				client->addr << 1, ret);
client            226 drivers/media/usb/em28xx/em28xx-camera.c 		ret = i2c_smbus_read_byte_data(client, reg);
client            230 drivers/media/usb/em28xx/em28xx-camera.c 				client->addr << 1, ret);
client            312 drivers/media/usb/em28xx/em28xx-camera.c 	struct i2c_client *client = &dev->i2c_client[dev->def_i2c_bus];
client            322 drivers/media/usb/em28xx/em28xx-camera.c 			.addr = client->addr,
client            379 drivers/media/usb/em28xx/em28xx-camera.c 			.addr = client->addr,
client            151 drivers/media/usb/go7007/s2250-board.c static int write_reg(struct i2c_client *client, u8 reg, u8 value)
client            153 drivers/media/usb/go7007/s2250-board.c 	struct go7007 *go = i2c_get_adapdata(client->adapter);
client            156 drivers/media/usb/go7007/s2250-board.c 	int dev_addr = client->addr << 1;  /* firmware wants 8-bit address */
client            171 drivers/media/usb/go7007/s2250-board.c 		dev_info(&client->dev, "i2c lock failed\n");
client            185 drivers/media/usb/go7007/s2250-board.c static int write_reg_fp(struct i2c_client *client, u16 addr, u16 val)
client            187 drivers/media/usb/go7007/s2250-board.c 	struct go7007 *go = i2c_get_adapdata(client->adapter);
client            191 drivers/media/usb/go7007/s2250-board.c 	struct s2250 *dec = i2c_get_clientdata(client);
client            210 drivers/media/usb/go7007/s2250-board.c 		dev_info(&client->dev, "i2c lock failed\n");
client            228 drivers/media/usb/go7007/s2250-board.c 			dev_info(&client->dev, "invalid fp write %x %x\n",
client            233 drivers/media/usb/go7007/s2250-board.c 			dev_info(&client->dev, "invalid fp write addr %x %x\n",
client            249 drivers/media/usb/go7007/s2250-board.c static int read_reg_fp(struct i2c_client *client, u16 addr, u16 *val)
client            251 drivers/media/usb/go7007/s2250-board.c 	struct go7007 *go = i2c_get_adapdata(client->adapter);
client            272 drivers/media/usb/go7007/s2250-board.c 		dev_info(&client->dev, "i2c lock failed\n");
client            290 drivers/media/usb/go7007/s2250-board.c static int write_regs(struct i2c_client *client, u8 *regs)
client            295 drivers/media/usb/go7007/s2250-board.c 		if (write_reg(client, regs[i], regs[i+1]) < 0) {
client            296 drivers/media/usb/go7007/s2250-board.c 			dev_info(&client->dev, "failed\n");
client            303 drivers/media/usb/go7007/s2250-board.c static int write_regs_fp(struct i2c_client *client, u16 *regs)
client            308 drivers/media/usb/go7007/s2250-board.c 		if (write_reg_fp(client, regs[i], regs[i+1]) < 0) {
client            309 drivers/media/usb/go7007/s2250-board.c 			dev_info(&client->dev, "failed fp\n");
client            323 drivers/media/usb/go7007/s2250-board.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            329 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x20, 0x020 | vidsys);
client            330 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x21, 0x662);
client            331 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x140, 0x060);
client            334 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x20, 0x040 | vidsys);
client            335 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x21, 0x666);
client            336 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x140, 0x060);
client            347 drivers/media/usb/go7007/s2250-board.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            352 drivers/media/usb/go7007/s2250-board.c 		write_regs_fp(client, vid_regs_fp);
client            353 drivers/media/usb/go7007/s2250-board.c 		write_regs_fp(client, vid_regs_fp_pal);
client            354 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x20, vidsource);
client            356 drivers/media/usb/go7007/s2250-board.c 		write_regs_fp(client, vid_regs_fp);
client            357 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x20, vidsource | 1);
client            366 drivers/media/usb/go7007/s2250-board.c 	struct i2c_client *client = v4l2_get_subdevdata(&state->sd);
client            371 drivers/media/usb/go7007/s2250-board.c 		read_reg_fp(client, VPX322_ADDR_BRIGHTNESS0, &oldvalue);
client            372 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, VPX322_ADDR_BRIGHTNESS0,
client            374 drivers/media/usb/go7007/s2250-board.c 		read_reg_fp(client, VPX322_ADDR_BRIGHTNESS1, &oldvalue);
client            375 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, VPX322_ADDR_BRIGHTNESS1,
client            377 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x140, 0x60);
client            380 drivers/media/usb/go7007/s2250-board.c 		read_reg_fp(client, VPX322_ADDR_CONTRAST0, &oldvalue);
client            381 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, VPX322_ADDR_CONTRAST0,
client            383 drivers/media/usb/go7007/s2250-board.c 		read_reg_fp(client, VPX322_ADDR_CONTRAST1, &oldvalue);
client            384 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, VPX322_ADDR_CONTRAST1,
client            386 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x140, 0x60);
client            389 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, VPX322_ADDR_SAT, ctrl->val);
client            392 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, VPX322_ADDR_HUE, ctrl->val);
client            406 drivers/media/usb/go7007/s2250-board.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            415 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x12b, state->reg12b_val | 0x400);
client            416 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x140, 0x060);
client            418 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x12b, state->reg12b_val & ~0x400);
client            419 drivers/media/usb/go7007/s2250-board.c 		write_reg_fp(client, 0x140, 0x060);
client            497 drivers/media/usb/go7007/s2250-board.c static int s2250_probe(struct i2c_client *client,
client            501 drivers/media/usb/go7007/s2250-board.c 	struct i2c_adapter *adapter = client->adapter;
client            519 drivers/media/usb/go7007/s2250-board.c 	v4l2_i2c_subdev_init(sd, client, &s2250_ops);
client            522 drivers/media/usb/go7007/s2250-board.c 	       "Sensoray 2250/2251", client->addr, client->adapter->name);
client            551 drivers/media/usb/go7007/s2250-board.c 		dev_err(&client->dev, "error initializing audio\n");
client            555 drivers/media/usb/go7007/s2250-board.c 	if (write_regs(client, vid_regs) < 0) {
client            556 drivers/media/usb/go7007/s2250-board.c 		dev_err(&client->dev, "error initializing decoder\n");
client            559 drivers/media/usb/go7007/s2250-board.c 	if (write_regs_fp(client, vid_regs_fp) < 0) {
client            560 drivers/media/usb/go7007/s2250-board.c 		dev_err(&client->dev, "error initializing decoder\n");
client            565 drivers/media/usb/go7007/s2250-board.c 	write_reg_fp(client, 0x20, 0x020 | 1);
client            566 drivers/media/usb/go7007/s2250-board.c 	write_reg_fp(client, 0x21, 0x662);
client            567 drivers/media/usb/go7007/s2250-board.c 	write_reg_fp(client, 0x140, 0x060);
client            571 drivers/media/usb/go7007/s2250-board.c 	write_reg(client, 0x08, 0x02); /* Line In */
client            606 drivers/media/usb/go7007/s2250-board.c static int s2250_remove(struct i2c_client *client)
client            608 drivers/media/usb/go7007/s2250-board.c 	struct s2250 *state = to_state(i2c_get_clientdata(client));
client            271 drivers/media/usb/hdpvr/hdpvr-core.c 	struct i2c_client *client;
client            365 drivers/media/usb/hdpvr/hdpvr-core.c 	client = hdpvr_register_ir_i2c(dev);
client            366 drivers/media/usb/hdpvr/hdpvr-core.c 	if (!client) {
client           4814 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	struct i2c_client *client;
client           4832 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		client = v4l2_get_subdevdata(sd);
client           4833 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		if (client) {
client           4835 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 					 " %s @ %02x\n", client->name,
client           4836 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 					 client->addr);
client            628 drivers/media/v4l2-core/tuner-core.c static int tuner_probe(struct i2c_client *client,
client            641 drivers/media/v4l2-core/tuner-core.c 	v4l2_i2c_subdev_init(&t->sd, client, &tuner_ops);
client            642 drivers/media/v4l2-core/tuner-core.c 	t->i2c = client;
client            655 drivers/media/v4l2-core/tuner-core.c 		rc = i2c_master_recv(client, buffer, sizeof(buffer));
client            662 drivers/media/v4l2-core/tuner-core.c 		switch (client->addr) {
client            766 drivers/media/v4l2-core/tuner-core.c 	set_type(client, t->type, t->mode_mask, t->config, t->fe.callback);
client            782 drivers/media/v4l2-core/tuner-core.c static int tuner_remove(struct i2c_client *client)
client            784 drivers/media/v4l2-core/tuner-core.c 	struct tuner *t = to_tuner(i2c_get_clientdata(client));
client            868 drivers/media/v4l2-core/tuner-core.c 	struct i2c_client *client = v4l2_get_subdevdata(&t->sd);
client            873 drivers/media/v4l2-core/tuner-core.c 		set_radio_freq(client, freq);
client            877 drivers/media/v4l2-core/tuner-core.c 		set_tv_freq(client, freq);
client           1355 drivers/media/v4l2-core/tuner-core.c static int tuner_command(struct i2c_client *client, unsigned cmd, void *arg)
client           1357 drivers/media/v4l2-core/tuner-core.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client             56 drivers/media/v4l2-core/v4l2-async.c 	struct i2c_client *client = i2c_verify_client(sd->dev);
client             58 drivers/media/v4l2-core/v4l2-async.c 	return client &&
client             59 drivers/media/v4l2-core/v4l2-async.c 		asd->match.i2c.adapter_id == client->adapter->nr &&
client             60 drivers/media/v4l2-core/v4l2-async.c 		asd->match.i2c.address == client->addr;
client             13 drivers/media/v4l2-core/v4l2-i2c.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client             27 drivers/media/v4l2-core/v4l2-i2c.c 	if (client && !client->dev.of_node && !client->dev.fwnode)
client             28 drivers/media/v4l2-core/v4l2-i2c.c 		i2c_unregister_device(client);
client             32 drivers/media/v4l2-core/v4l2-i2c.c 			      struct i2c_client *client,
client             36 drivers/media/v4l2-core/v4l2-i2c.c 		devname = client->dev.driver->name;
client             41 drivers/media/v4l2-core/v4l2-i2c.c 		 i2c_adapter_id(client->adapter), client->addr);
client             45 drivers/media/v4l2-core/v4l2-i2c.c void v4l2_i2c_subdev_init(struct v4l2_subdev *sd, struct i2c_client *client,
client             51 drivers/media/v4l2-core/v4l2-i2c.c 	sd->owner = client->dev.driver->owner;
client             52 drivers/media/v4l2-core/v4l2-i2c.c 	sd->dev = &client->dev;
client             54 drivers/media/v4l2-core/v4l2-i2c.c 	v4l2_set_subdevdata(sd, client);
client             55 drivers/media/v4l2-core/v4l2-i2c.c 	i2c_set_clientdata(client, sd);
client             56 drivers/media/v4l2-core/v4l2-i2c.c 	v4l2_i2c_subdev_set_name(sd, client, NULL, NULL);
client             68 drivers/media/v4l2-core/v4l2-i2c.c 	struct i2c_client *client;
client             77 drivers/media/v4l2-core/v4l2-i2c.c 		client = i2c_new_probed_device(adapter, info, probe_addrs,
client             80 drivers/media/v4l2-core/v4l2-i2c.c 		client = i2c_new_device(adapter, info);
client             91 drivers/media/v4l2-core/v4l2-i2c.c 	if (!client || !client->dev.driver)
client             95 drivers/media/v4l2-core/v4l2-i2c.c 	if (!try_module_get(client->dev.driver->owner))
client             97 drivers/media/v4l2-core/v4l2-i2c.c 	sd = i2c_get_clientdata(client);
client            106 drivers/media/v4l2-core/v4l2-i2c.c 	module_put(client->dev.driver->owner);
client            113 drivers/media/v4l2-core/v4l2-i2c.c 	if (client && !sd)
client            114 drivers/media/v4l2-core/v4l2-i2c.c 		i2c_unregister_device(client);
client            143 drivers/media/v4l2-core/v4l2-i2c.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            145 drivers/media/v4l2-core/v4l2-i2c.c 	return client ? client->addr : I2C_CLIENT_END;
client            467 drivers/memory/tegra/mc.c 		const char *client = "unknown", *desc;
client            499 drivers/memory/tegra/mc.c 				client = mc->soc->clients[i].name;
client            541 drivers/memory/tegra/mc.c 				    client, secure, direction, &addr, error,
client            565 drivers/memory/tegra/mc.c 		const char *client, *desc;
client            610 drivers/memory/tegra/mc.c 		client = mc->soc->clients[id].name;
client            614 drivers/memory/tegra/mc.c 				    client, secure, direction, &addr, error,
client            554 drivers/memory/tegra/tegra186.c 		const struct tegra_mc_client *client = &tegra186_mc_clients[i];
client            557 drivers/memory/tegra/tegra186.c 		override = readl(mc->regs + client->regs.override);
client            558 drivers/memory/tegra/tegra186.c 		security = readl(mc->regs + client->regs.security);
client            561 drivers/memory/tegra/tegra186.c 			client->name, override, security);
client            563 drivers/memory/tegra/tegra186.c 		dev_dbg(&pdev->dev, "setting SID %u for %s\n", client->sid,
client            564 drivers/memory/tegra/tegra186.c 			client->name);
client            565 drivers/memory/tegra/tegra186.c 		writel(client->sid, mc->regs + client->regs.override);
client            567 drivers/memory/tegra/tegra186.c 		override = readl(mc->regs + client->regs.override);
client            568 drivers/memory/tegra/tegra186.c 		security = readl(mc->regs + client->regs.security);
client            571 drivers/memory/tegra/tegra186.c 			client->name, override, security);
client            419 drivers/mfd/88pm800.c 	struct i2c_client *client = chip->client;
client            428 drivers/mfd/88pm800.c 	subchip->power_page = i2c_new_dummy_device(client->adapter,
client            447 drivers/mfd/88pm800.c 	subchip->gpadc_page = i2c_new_dummy_device(client->adapter,
client            541 drivers/mfd/88pm800.c static int pm800_probe(struct i2c_client *client,
client            546 drivers/mfd/88pm800.c 	struct pm80x_platform_data *pdata = dev_get_platdata(&client->dev);
client            549 drivers/mfd/88pm800.c 	ret = pm80x_init(client);
client            551 drivers/mfd/88pm800.c 		dev_err(&client->dev, "pm800_init fail\n");
client            555 drivers/mfd/88pm800.c 	chip = i2c_get_clientdata(client);
client            559 drivers/mfd/88pm800.c 	    devm_kzalloc(&client->dev, sizeof(struct pm80x_subchip),
client            567 drivers/mfd/88pm800.c 	subchip->power_page_addr = client->addr + 1;
client            568 drivers/mfd/88pm800.c 	subchip->gpadc_page_addr = client->addr + 2;
client            573 drivers/mfd/88pm800.c 		dev_err(&client->dev, "pm800_pages_init failed!\n");
client            596 drivers/mfd/88pm800.c static int pm800_remove(struct i2c_client *client)
client            598 drivers/mfd/88pm800.c 	struct pm80x_chip *chip = i2c_get_clientdata(client);
client            225 drivers/mfd/88pm805.c static int pm805_probe(struct i2c_client *client,
client            230 drivers/mfd/88pm805.c 	struct pm80x_platform_data *pdata = dev_get_platdata(&client->dev);
client            232 drivers/mfd/88pm805.c 	ret = pm80x_init(client);
client            234 drivers/mfd/88pm805.c 		dev_err(&client->dev, "pm805_init fail!\n");
client            238 drivers/mfd/88pm805.c 	chip = i2c_get_clientdata(client);
client            255 drivers/mfd/88pm805.c static int pm805_remove(struct i2c_client *client)
client            257 drivers/mfd/88pm805.c 	struct pm80x_chip *chip = i2c_get_clientdata(client);
client             51 drivers/mfd/88pm80x.c int pm80x_init(struct i2c_client *client)
client             59 drivers/mfd/88pm80x.c 	    devm_kzalloc(&client->dev, sizeof(struct pm80x_chip), GFP_KERNEL);
client             63 drivers/mfd/88pm80x.c 	map = devm_regmap_init_i2c(client, &pm80x_regmap_config);
client             66 drivers/mfd/88pm80x.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client             71 drivers/mfd/88pm80x.c 	chip->client = client;
client             74 drivers/mfd/88pm80x.c 	chip->irq = client->irq;
client             76 drivers/mfd/88pm80x.c 	chip->dev = &client->dev;
client             78 drivers/mfd/88pm80x.c 	i2c_set_clientdata(chip->client, chip);
client             99 drivers/mfd/88pm80x.c 	device_init_wakeup(&client->dev, 1);
client            110 drivers/mfd/88pm80x.c 		chip->companion = g_pm80x_chip->client;
client            111 drivers/mfd/88pm80x.c 		g_pm80x_chip->companion = chip->client;
client            135 drivers/mfd/88pm80x.c 	struct i2c_client *client = to_i2c_client(dev);
client            136 drivers/mfd/88pm80x.c 	struct pm80x_chip *chip = i2c_get_clientdata(client);
client            147 drivers/mfd/88pm80x.c 	struct i2c_client *client = to_i2c_client(dev);
client            148 drivers/mfd/88pm80x.c 	struct pm80x_chip *chip = i2c_get_clientdata(client);
client            470 drivers/mfd/88pm860x-core.c 	i2c = (chip->id == CHIP_PM8607) ? chip->client : chip->companion;
client            499 drivers/mfd/88pm860x-core.c 	i2c = (chip->id == CHIP_PM8607) ? chip->client : chip->companion;
client            571 drivers/mfd/88pm860x-core.c 		chip->client : chip->companion;
client            652 drivers/mfd/88pm860x-core.c int pm8606_osc_enable(struct pm860x_chip *chip, unsigned short client)
client            656 drivers/mfd/88pm860x-core.c 		chip->client : chip->companion;
client            658 drivers/mfd/88pm860x-core.c 	dev_dbg(chip->dev, "%s(B): client=0x%x\n", __func__, client);
client            665 drivers/mfd/88pm860x-core.c 	chip->osc_vote |= client;
client            693 drivers/mfd/88pm860x-core.c int pm8606_osc_disable(struct pm860x_chip *chip, unsigned short client)
client            697 drivers/mfd/88pm860x-core.c 		chip->client : chip->companion;
client            699 drivers/mfd/88pm860x-core.c 	dev_dbg(chip->dev, "%s(B): client=0x%x\n", __func__, client);
client            706 drivers/mfd/88pm860x-core.c 	chip->osc_vote &= ~(client);
client           1061 drivers/mfd/88pm860x-core.c 		device_8606_init(chip, chip->client, pdata);
client           1064 drivers/mfd/88pm860x-core.c 		device_8607_init(chip, chip->client, pdata);
client           1132 drivers/mfd/88pm860x-core.c static int pm860x_probe(struct i2c_client *client)
client           1134 drivers/mfd/88pm860x-core.c 	struct pm860x_platform_data *pdata = dev_get_platdata(&client->dev);
client           1135 drivers/mfd/88pm860x-core.c 	struct device_node *node = client->dev.of_node;
client           1141 drivers/mfd/88pm860x-core.c 		pdata = devm_kzalloc(&client->dev,
client           1146 drivers/mfd/88pm860x-core.c 		ret = pm860x_dt_init(node, &client->dev, pdata);
client           1154 drivers/mfd/88pm860x-core.c 	chip = devm_kzalloc(&client->dev,
client           1159 drivers/mfd/88pm860x-core.c 	chip->id = verify_addr(client);
client           1160 drivers/mfd/88pm860x-core.c 	chip->regmap = devm_regmap_init_i2c(client, &pm860x_regmap_config);
client           1163 drivers/mfd/88pm860x-core.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client           1167 drivers/mfd/88pm860x-core.c 	chip->client = client;
client           1168 drivers/mfd/88pm860x-core.c 	i2c_set_clientdata(client, chip);
client           1169 drivers/mfd/88pm860x-core.c 	chip->dev = &client->dev;
client           1179 drivers/mfd/88pm860x-core.c 	if (pdata->companion_addr && (pdata->companion_addr != client->addr)) {
client           1181 drivers/mfd/88pm860x-core.c 		chip->companion = i2c_new_dummy_device(chip->client->adapter,
client           1184 drivers/mfd/88pm860x-core.c 			dev_err(&client->dev,
client           1204 drivers/mfd/88pm860x-core.c static int pm860x_remove(struct i2c_client *client)
client           1206 drivers/mfd/88pm860x-core.c 	struct pm860x_chip *chip = i2c_get_clientdata(client);
client           1219 drivers/mfd/88pm860x-core.c 	struct i2c_client *client = to_i2c_client(dev);
client           1220 drivers/mfd/88pm860x-core.c 	struct pm860x_chip *chip = i2c_get_clientdata(client);
client           1229 drivers/mfd/88pm860x-core.c 	struct i2c_client *client = to_i2c_client(dev);
client           1230 drivers/mfd/88pm860x-core.c 	struct pm860x_chip *chip = i2c_get_clientdata(client);
client             18 drivers/mfd/88pm860x-i2c.c 	struct regmap *map = (i2c == chip->client) ? chip->regmap
client             35 drivers/mfd/88pm860x-i2c.c 	struct regmap *map = (i2c == chip->client) ? chip->regmap
client             48 drivers/mfd/88pm860x-i2c.c 	struct regmap *map = (i2c == chip->client) ? chip->regmap
client             61 drivers/mfd/88pm860x-i2c.c 	struct regmap *map = (i2c == chip->client) ? chip->regmap
client             74 drivers/mfd/88pm860x-i2c.c 	struct regmap *map = (i2c == chip->client) ? chip->regmap
client            106 drivers/mfd/aat2870-core.c 	ret = i2c_master_send(aat2870->client, &addr, 1);
client            112 drivers/mfd/aat2870-core.c 	ret = i2c_master_recv(aat2870->client, val, 1);
client            141 drivers/mfd/aat2870-core.c 	ret = i2c_master_send(aat2870->client, msg, 2);
client            335 drivers/mfd/aat2870-core.c static int aat2870_i2c_probe(struct i2c_client *client,
client            338 drivers/mfd/aat2870-core.c 	struct aat2870_platform_data *pdata = dev_get_platdata(&client->dev);
client            343 drivers/mfd/aat2870-core.c 	aat2870 = devm_kzalloc(&client->dev, sizeof(struct aat2870_data),
client            348 drivers/mfd/aat2870-core.c 	aat2870->dev = &client->dev;
client            351 drivers/mfd/aat2870-core.c 	aat2870->client = client;
client            352 drivers/mfd/aat2870-core.c 	i2c_set_clientdata(client, aat2870);
client            373 drivers/mfd/aat2870-core.c 		ret = devm_gpio_request_one(&client->dev, aat2870->en_pin,
client            376 drivers/mfd/aat2870-core.c 			dev_err(&client->dev,
client            415 drivers/mfd/aat2870-core.c 	struct i2c_client *client = to_i2c_client(dev);
client            416 drivers/mfd/aat2870-core.c 	struct aat2870_data *aat2870 = i2c_get_clientdata(client);
client            425 drivers/mfd/aat2870-core.c 	struct i2c_client *client = to_i2c_client(dev);
client            426 drivers/mfd/aat2870-core.c 	struct aat2870_data *aat2870 = i2c_get_clientdata(client);
client            812 drivers/mfd/ab3100-core.c static int ab3100_probe(struct i2c_client *client,
client            817 drivers/mfd/ab3100-core.c 		dev_get_platdata(&client->dev);
client            821 drivers/mfd/ab3100-core.c 	ab3100 = devm_kzalloc(&client->dev, sizeof(struct ab3100), GFP_KERNEL);
client            829 drivers/mfd/ab3100-core.c 	ab3100->i2c_client = client;
client            832 drivers/mfd/ab3100-core.c 	i2c_set_clientdata(client, ab3100);
client            838 drivers/mfd/ab3100-core.c 		dev_err(&client->dev,
client            848 drivers/mfd/ab3100-core.c 			dev_err(&client->dev, "AB3000 is not supported\n");
client            857 drivers/mfd/ab3100-core.c 		dev_err(&client->dev, "unknown analog baseband chip id: 0x%x\n",
client            859 drivers/mfd/ab3100-core.c 		dev_err(&client->dev,
client            864 drivers/mfd/ab3100-core.c 	dev_info(&client->dev, "Detected chip: %s\n",
client            868 drivers/mfd/ab3100-core.c 	ab3100->testreg_client = i2c_new_dummy_device(client->adapter,
client            869 drivers/mfd/ab3100-core.c 					       client->addr + 1);
client            879 drivers/mfd/ab3100-core.c 	err = devm_request_threaded_irq(&client->dev,
client            880 drivers/mfd/ab3100-core.c 					client->irq, NULL, ab3100_irq_handler,
client            885 drivers/mfd/ab3100-core.c 	err = abx500_register_ops(&client->dev, &ab3100_ops);
client            895 drivers/mfd/ab3100-core.c 	err = mfd_add_devices(&client->dev, 0, ab3100_devs,
client             33 drivers/mfd/adp5520.c 	struct i2c_client *client;
client             42 drivers/mfd/adp5520.c static int __adp5520_read(struct i2c_client *client,
client             47 drivers/mfd/adp5520.c 	ret = i2c_smbus_read_byte_data(client, reg);
client             49 drivers/mfd/adp5520.c 		dev_err(&client->dev, "failed reading at 0x%02x\n", reg);
client             57 drivers/mfd/adp5520.c static int __adp5520_write(struct i2c_client *client,
client             62 drivers/mfd/adp5520.c 	ret = i2c_smbus_write_byte_data(client, reg, val);
client             64 drivers/mfd/adp5520.c 		dev_err(&client->dev, "failed writing 0x%02x to 0x%02x\n",
client             71 drivers/mfd/adp5520.c static int __adp5520_ack_bits(struct i2c_client *client, int reg,
client             74 drivers/mfd/adp5520.c 	struct adp5520_chip *chip = i2c_get_clientdata(client);
client             80 drivers/mfd/adp5520.c 	ret = __adp5520_read(client, reg, &reg_val);
client             84 drivers/mfd/adp5520.c 		ret = __adp5520_write(client, reg, reg_val);
client            111 drivers/mfd/adp5520.c 	ret = __adp5520_read(chip->client, reg, &reg_val);
client            115 drivers/mfd/adp5520.c 		ret = __adp5520_write(chip->client, reg, reg_val);
client            131 drivers/mfd/adp5520.c 	ret = __adp5520_read(chip->client, reg, &reg_val);
client            135 drivers/mfd/adp5520.c 		ret = __adp5520_write(chip->client, reg, reg_val);
client            181 drivers/mfd/adp5520.c 	ret = __adp5520_read(chip->client, ADP5520_MODE_STATUS, &reg_val);
client            190 drivers/mfd/adp5520.c 	__adp5520_ack_bits(chip->client, ADP5520_MODE_STATUS, events);
client            207 drivers/mfd/adp5520.c static int adp5520_probe(struct i2c_client *client,
client            210 drivers/mfd/adp5520.c 	struct adp5520_platform_data *pdata = dev_get_platdata(&client->dev);
client            215 drivers/mfd/adp5520.c 	if (!i2c_check_functionality(client->adapter,
client            217 drivers/mfd/adp5520.c 		dev_err(&client->dev, "SMBUS Word Data not Supported\n");
client            222 drivers/mfd/adp5520.c 		dev_err(&client->dev, "missing platform data\n");
client            226 drivers/mfd/adp5520.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client            230 drivers/mfd/adp5520.c 	i2c_set_clientdata(client, chip);
client            231 drivers/mfd/adp5520.c 	chip->client = client;
client            233 drivers/mfd/adp5520.c 	chip->dev = &client->dev;
client            234 drivers/mfd/adp5520.c 	chip->irq = client->irq;
client            245 drivers/mfd/adp5520.c 			dev_err(&client->dev, "failed to request irq %d\n",
client            253 drivers/mfd/adp5520.c 		dev_err(&client->dev, "failed to write\n");
client            311 drivers/mfd/adp5520.c 	struct i2c_client *client = to_i2c_client(dev);
client            312 drivers/mfd/adp5520.c 	struct adp5520_chip *chip = dev_get_drvdata(&client->dev);
client            323 drivers/mfd/adp5520.c 	struct i2c_client *client = to_i2c_client(dev);
client            324 drivers/mfd/adp5520.c 	struct adp5520_chip *chip = dev_get_drvdata(&client->dev);
client            119 drivers/mfd/as3711.c static int as3711_i2c_probe(struct i2c_client *client,
client            127 drivers/mfd/as3711.c 	if (!client->dev.of_node) {
client            128 drivers/mfd/as3711.c 		pdata = dev_get_platdata(&client->dev);
client            130 drivers/mfd/as3711.c 			dev_dbg(&client->dev, "Platform data not found\n");
client            132 drivers/mfd/as3711.c 		pdata = devm_kzalloc(&client->dev,
client            138 drivers/mfd/as3711.c 	as3711 = devm_kzalloc(&client->dev, sizeof(struct as3711), GFP_KERNEL);
client            142 drivers/mfd/as3711.c 	as3711->dev = &client->dev;
client            143 drivers/mfd/as3711.c 	i2c_set_clientdata(client, as3711);
client            145 drivers/mfd/as3711.c 	if (client->irq)
client            146 drivers/mfd/as3711.c 		dev_notice(&client->dev, "IRQ not supported yet\n");
client            148 drivers/mfd/as3711.c 	as3711->regmap = devm_regmap_init_i2c(client, &as3711_regmap_config);
client            151 drivers/mfd/as3711.c 		dev_err(&client->dev,
client            160 drivers/mfd/as3711.c 		dev_err(&client->dev, "regmap_read() failed: %d\n", ret);
client            190 drivers/mfd/as3711.c 		dev_err(&client->dev, "add mfd devices failed: %d\n", ret);
client            157 drivers/mfd/bd9571mwv.c static int bd9571mwv_probe(struct i2c_client *client,
client            163 drivers/mfd/bd9571mwv.c 	bd = devm_kzalloc(&client->dev, sizeof(*bd), GFP_KERNEL);
client            167 drivers/mfd/bd9571mwv.c 	i2c_set_clientdata(client, bd);
client            168 drivers/mfd/bd9571mwv.c 	bd->dev = &client->dev;
client            169 drivers/mfd/bd9571mwv.c 	bd->irq = client->irq;
client            171 drivers/mfd/bd9571mwv.c 	bd->regmap = devm_regmap_init_i2c(client, &bd9571mwv_regmap_config);
client            199 drivers/mfd/bd9571mwv.c static int bd9571mwv_remove(struct i2c_client *client)
client            201 drivers/mfd/bd9571mwv.c 	struct bd9571mwv *bd = i2c_get_clientdata(client);
client             58 drivers/mfd/da903x.c 	struct i2c_client	*client;
client             71 drivers/mfd/da903x.c static inline int __da903x_read(struct i2c_client *client,
client             76 drivers/mfd/da903x.c 	ret = i2c_smbus_read_byte_data(client, reg);
client             78 drivers/mfd/da903x.c 		dev_err(&client->dev, "failed reading at 0x%02x\n", reg);
client             86 drivers/mfd/da903x.c static inline int __da903x_reads(struct i2c_client *client, int reg,
client             91 drivers/mfd/da903x.c 	ret = i2c_smbus_read_i2c_block_data(client, reg, len, val);
client             93 drivers/mfd/da903x.c 		dev_err(&client->dev, "failed reading from 0x%02x\n", reg);
client             99 drivers/mfd/da903x.c static inline int __da903x_write(struct i2c_client *client,
client            104 drivers/mfd/da903x.c 	ret = i2c_smbus_write_byte_data(client, reg, val);
client            106 drivers/mfd/da903x.c 		dev_err(&client->dev, "failed writing 0x%02x to 0x%02x\n",
client            113 drivers/mfd/da903x.c static inline int __da903x_writes(struct i2c_client *client, int reg,
client            118 drivers/mfd/da903x.c 	ret = i2c_smbus_write_i2c_block_data(client, reg, len, val);
client            120 drivers/mfd/da903x.c 		dev_err(&client->dev, "failed writings to 0x%02x\n", reg);
client            178 drivers/mfd/da903x.c 	ret = __da903x_read(chip->client, reg, &reg_val);
client            184 drivers/mfd/da903x.c 		ret = __da903x_write(chip->client, reg, reg_val);
client            200 drivers/mfd/da903x.c 	ret = __da903x_read(chip->client, reg, &reg_val);
client            206 drivers/mfd/da903x.c 		ret = __da903x_write(chip->client, reg, reg_val);
client            222 drivers/mfd/da903x.c 	ret = __da903x_read(chip->client, reg, &reg_val);
client            228 drivers/mfd/da903x.c 		ret = __da903x_write(chip->client, reg, reg_val);
client            251 drivers/mfd/da903x.c 	err = __da903x_read(chip->client, DA9030_CHIP_ID, &chip_id);
client            255 drivers/mfd/da903x.c 	err = __da903x_write(chip->client, DA9030_SYS_CTRL_A, 0xE8);
client            273 drivers/mfd/da903x.c 	return __da903x_writes(chip->client, DA9030_IRQ_MASK_A, 3, v);
client            286 drivers/mfd/da903x.c 	return __da903x_writes(chip->client, DA9030_IRQ_MASK_A, 3, v);
client            294 drivers/mfd/da903x.c 	ret = __da903x_reads(chip->client, DA9030_EVENT_A, 3, v);
client            304 drivers/mfd/da903x.c 	return __da903x_read(chip->client, DA9030_STATUS, (uint8_t *)status);
client            312 drivers/mfd/da903x.c 	err = __da903x_read(chip->client, DA9034_CHIP_ID, &chip_id);
client            316 drivers/mfd/da903x.c 	err = __da903x_write(chip->client, DA9034_SYS_CTRL_A, 0xE8);
client            321 drivers/mfd/da903x.c 	__da903x_write(chip->client, 0x10, 0x07);
client            322 drivers/mfd/da903x.c 	__da903x_write(chip->client, 0x11, 0xff);
client            323 drivers/mfd/da903x.c 	__da903x_write(chip->client, 0x12, 0xff);
client            326 drivers/mfd/da903x.c 	__da903x_write(chip->client, DA9034_SYS_CTRL_B, 0x20);
client            327 drivers/mfd/da903x.c 	__da903x_write(chip->client, DA9034_SYS_CTRL_A, 0x60);
client            330 drivers/mfd/da903x.c 	__da903x_write(chip->client, 0x90, 0x01);
client            331 drivers/mfd/da903x.c 	__da903x_write(chip->client, 0xB0, 0x08);
client            334 drivers/mfd/da903x.c 	__da903x_write(chip->client, 0x20, 0x00);
client            351 drivers/mfd/da903x.c 	return __da903x_writes(chip->client, DA9034_IRQ_MASK_A, 4, v);
client            365 drivers/mfd/da903x.c 	return __da903x_writes(chip->client, DA9034_IRQ_MASK_A, 4, v);
client            373 drivers/mfd/da903x.c 	ret = __da903x_reads(chip->client, DA9034_EVENT_A, 4, v);
client            386 drivers/mfd/da903x.c 	ret = __da903x_reads(chip->client, DA9034_STATUS_A, 2, v);
client            411 drivers/mfd/da903x.c 	enable_irq(chip->client->irq);
client            491 drivers/mfd/da903x.c static int da903x_probe(struct i2c_client *client,
client            494 drivers/mfd/da903x.c 	struct da903x_platform_data *pdata = dev_get_platdata(&client->dev);
client            499 drivers/mfd/da903x.c 	chip = devm_kzalloc(&client->dev, sizeof(struct da903x_chip),
client            504 drivers/mfd/da903x.c 	chip->client = client;
client            505 drivers/mfd/da903x.c 	chip->dev = &client->dev;
client            512 drivers/mfd/da903x.c 	i2c_set_clientdata(client, chip);
client            523 drivers/mfd/da903x.c 	ret = devm_request_irq(&client->dev, client->irq, da903x_irq_handler,
client            527 drivers/mfd/da903x.c 		dev_err(&client->dev, "failed to request irq %d\n",
client            528 drivers/mfd/da903x.c 				client->irq);
client            535 drivers/mfd/da903x.c static int da903x_remove(struct i2c_client *client)
client            537 drivers/mfd/da903x.c 	struct da903x_chip *chip = i2c_get_clientdata(client);
client            128 drivers/mfd/da9052-i2c.c static int da9052_i2c_probe(struct i2c_client *client,
client            134 drivers/mfd/da9052-i2c.c 	da9052 = devm_kzalloc(&client->dev, sizeof(struct da9052), GFP_KERNEL);
client            138 drivers/mfd/da9052-i2c.c 	da9052->dev = &client->dev;
client            139 drivers/mfd/da9052-i2c.c 	da9052->chip_irq = client->irq;
client            142 drivers/mfd/da9052-i2c.c 	i2c_set_clientdata(client, da9052);
client            144 drivers/mfd/da9052-i2c.c 	da9052->regmap = devm_regmap_init_i2c(client, &da9052_regmap_config);
client            147 drivers/mfd/da9052-i2c.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            158 drivers/mfd/da9052-i2c.c 		struct device_node *np = client->dev.of_node;
client            168 drivers/mfd/da9052-i2c.c 		dev_err(&client->dev, "id is null.\n");
client            175 drivers/mfd/da9052-i2c.c static int da9052_i2c_remove(struct i2c_client *client)
client            177 drivers/mfd/da9052-i2c.c 	struct da9052 *da9052 = i2c_get_clientdata(client);
client             23 drivers/mfd/da9150-core.c static int da9150_i2c_read_device(struct i2c_client *client, u8 addr, int count,
client             35 drivers/mfd/da9150-core.c 	xfer.addr = client->addr;
client             40 drivers/mfd/da9150-core.c 	ret = i2c_transfer(client->adapter, &xfer, 1);
client             49 drivers/mfd/da9150-core.c 	xfer.addr = client->addr;
client             54 drivers/mfd/da9150-core.c 	ret = i2c_transfer(client->adapter, &xfer, 1);
client             63 drivers/mfd/da9150-core.c static int da9150_i2c_write_device(struct i2c_client *client, u8 addr,
client             78 drivers/mfd/da9150-core.c 	xfer.addr = client->addr;
client             83 drivers/mfd/da9150-core.c 	ret = i2c_transfer(client->adapter, &xfer, 1);
client            395 drivers/mfd/da9150-core.c static int da9150_probe(struct i2c_client *client,
client            399 drivers/mfd/da9150-core.c 	struct da9150_pdata *pdata = dev_get_platdata(&client->dev);
client            403 drivers/mfd/da9150-core.c 	da9150 = devm_kzalloc(&client->dev, sizeof(*da9150), GFP_KERNEL);
client            407 drivers/mfd/da9150-core.c 	da9150->dev = &client->dev;
client            408 drivers/mfd/da9150-core.c 	da9150->irq = client->irq;
client            409 drivers/mfd/da9150-core.c 	i2c_set_clientdata(client, da9150);
client            411 drivers/mfd/da9150-core.c 	da9150->regmap = devm_regmap_init_i2c(client, &da9150_regmap_config);
client            423 drivers/mfd/da9150-core.c 	da9150->core_qif = i2c_new_dummy_device(client->adapter, qif_addr);
client            474 drivers/mfd/da9150-core.c static int da9150_remove(struct i2c_client *client)
client            476 drivers/mfd/da9150-core.c 	struct da9150 *da9150 = i2c_get_clientdata(client);
client            485 drivers/mfd/da9150-core.c static void da9150_shutdown(struct i2c_client *client)
client            487 drivers/mfd/da9150-core.c 	struct da9150 *da9150 = i2c_get_clientdata(client);
client            190 drivers/mfd/dm355evm_msp.c static struct device *add_child(struct i2c_client *client, const char *name,
client            202 drivers/mfd/dm355evm_msp.c 	pdev->dev.parent = &client->dev;
client            233 drivers/mfd/dm355evm_msp.c 	dev_err(&client->dev, "failed to add device %s\n", name);
client            237 drivers/mfd/dm355evm_msp.c static int add_children(struct i2c_client *client)
client            256 drivers/mfd/dm355evm_msp.c 	dm355evm_msp_gpio.parent = &client->dev;
client            294 drivers/mfd/dm355evm_msp.c 		child = add_child(client, "leds-gpio",
client            312 drivers/mfd/dm355evm_msp.c 	if (dev_get_platdata(&client->dev)) {
client            313 drivers/mfd/dm355evm_msp.c 		void (*mmcsd_setup)(unsigned) = dev_get_platdata(&client->dev);
client            320 drivers/mfd/dm355evm_msp.c 		child = add_child(client, "rtc-dm355evm",
client            328 drivers/mfd/dm355evm_msp.c 		child = add_child(client, "dm355evm_keys",
client            329 drivers/mfd/dm355evm_msp.c 				NULL, 0, true, client->irq);
client            354 drivers/mfd/dm355evm_msp.c static int dm355evm_msp_remove(struct i2c_client *client)
client            362 drivers/mfd/dm355evm_msp.c dm355evm_msp_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            369 drivers/mfd/dm355evm_msp.c 	msp430 = client;
client            375 drivers/mfd/dm355evm_msp.c 	dev_info(&client->dev, "firmware v.%02X, %s as video-in\n",
client            382 drivers/mfd/dm355evm_msp.c 		dev_warn(&client->dev, "error %d muxing %s as video-in\n",
client            390 drivers/mfd/dm355evm_msp.c 	status = add_children(client);
client            401 drivers/mfd/dm355evm_msp.c 	dm355evm_msp_remove(client);
client             33 drivers/mfd/htc-i2cpld.c 	struct i2c_client	*client;
client            133 drivers/mfd/htc-i2cpld.c 		struct i2c_client *client;
client            145 drivers/mfd/htc-i2cpld.c 		client = chip->client;
client            146 drivers/mfd/htc-i2cpld.c 		if (!client) {
client            152 drivers/mfd/htc-i2cpld.c 		val = i2c_smbus_read_byte_data(client, chip->cache_out);
client            215 drivers/mfd/htc-i2cpld.c 	struct i2c_client *client;
client            219 drivers/mfd/htc-i2cpld.c 	client = chip_data->client;
client            220 drivers/mfd/htc-i2cpld.c 	if (!client)
client            236 drivers/mfd/htc-i2cpld.c 	struct i2c_client *client;
client            239 drivers/mfd/htc-i2cpld.c 	client = chip_data->client;
client            240 drivers/mfd/htc-i2cpld.c 	i2c_smbus_read_byte_data(client, chip_data->cache_out);
client            285 drivers/mfd/htc-i2cpld.c static void htcpld_chip_reset(struct i2c_client *client)
client            287 drivers/mfd/htc-i2cpld.c 	struct htcpld_chip *chip_data = i2c_get_clientdata(client);
client            292 drivers/mfd/htc-i2cpld.c 		client, (chip_data->cache_out = chip_data->reset));
client            329 drivers/mfd/htc-i2cpld.c 	struct i2c_client *client;
client            358 drivers/mfd/htc-i2cpld.c 	client = i2c_new_device(adapter, &info);
client            359 drivers/mfd/htc-i2cpld.c 	if (!client) {
client            366 drivers/mfd/htc-i2cpld.c 	i2c_set_clientdata(client, chip);
client            367 drivers/mfd/htc-i2cpld.c 	snprintf(client->name, I2C_NAME_SIZE, "Chip_0x%x", client->addr);
client            368 drivers/mfd/htc-i2cpld.c 	chip->client = client;
client            371 drivers/mfd/htc-i2cpld.c 	htcpld_chip_reset(client);
client            372 drivers/mfd/htc-i2cpld.c 	chip->cache_in = i2c_smbus_read_byte_data(client, chip->cache_out);
client            388 drivers/mfd/htc-i2cpld.c 	i2c_unregister_device(chip->client);
client             74 drivers/mfd/intel_soc_pmic_chtwc.c 	struct i2c_client *client = context;
client             75 drivers/mfd/intel_soc_pmic_chtwc.c 	int ret, orig_addr = client->addr;
client             78 drivers/mfd/intel_soc_pmic_chtwc.c 		dev_err(&client->dev, "Error I2C address not specified\n");
client             82 drivers/mfd/intel_soc_pmic_chtwc.c 	client->addr = (reg & REG_ADDR_MASK) >> REG_ADDR_SHIFT;
client             83 drivers/mfd/intel_soc_pmic_chtwc.c 	ret = i2c_smbus_read_byte_data(client, reg & REG_OFFSET_MASK);
client             84 drivers/mfd/intel_soc_pmic_chtwc.c 	client->addr = orig_addr;
client             96 drivers/mfd/intel_soc_pmic_chtwc.c 	struct i2c_client *client = context;
client             97 drivers/mfd/intel_soc_pmic_chtwc.c 	int ret, orig_addr = client->addr;
client            100 drivers/mfd/intel_soc_pmic_chtwc.c 		dev_err(&client->dev, "Error I2C address not specified\n");
client            104 drivers/mfd/intel_soc_pmic_chtwc.c 	client->addr = (reg & REG_ADDR_MASK) >> REG_ADDR_SHIFT;
client            105 drivers/mfd/intel_soc_pmic_chtwc.c 	ret = i2c_smbus_write_byte_data(client, reg & REG_OFFSET_MASK, val);
client            106 drivers/mfd/intel_soc_pmic_chtwc.c 	client->addr = orig_addr;
client            137 drivers/mfd/intel_soc_pmic_chtwc.c static int cht_wc_probe(struct i2c_client *client)
client            139 drivers/mfd/intel_soc_pmic_chtwc.c 	struct device *dev = &client->dev;
client            154 drivers/mfd/intel_soc_pmic_chtwc.c 	if (client->irq < 0) {
client            163 drivers/mfd/intel_soc_pmic_chtwc.c 	pmic->irq = client->irq;
client            165 drivers/mfd/intel_soc_pmic_chtwc.c 	i2c_set_clientdata(client, pmic);
client            167 drivers/mfd/intel_soc_pmic_chtwc.c 	pmic->regmap = devm_regmap_init(dev, NULL, client, &cht_wc_regmap_cfg);
client            183 drivers/mfd/intel_soc_pmic_chtwc.c static void cht_wc_shutdown(struct i2c_client *client)
client            185 drivers/mfd/intel_soc_pmic_chtwc.c 	struct intel_soc_pmic *pmic = i2c_get_clientdata(client);
client             35 drivers/mfd/lp873x.c static int lp873x_probe(struct i2c_client *client,
client             42 drivers/mfd/lp873x.c 	lp873 = devm_kzalloc(&client->dev, sizeof(*lp873), GFP_KERNEL);
client             46 drivers/mfd/lp873x.c 	lp873->dev = &client->dev;
client             48 drivers/mfd/lp873x.c 	lp873->regmap = devm_regmap_init_i2c(client, &lp873x_regmap_config);
client             64 drivers/mfd/lp873x.c 	i2c_set_clientdata(client, lp873);
client             41 drivers/mfd/lp87565.c static int lp87565_probe(struct i2c_client *client,
client             49 drivers/mfd/lp87565.c 	lp87565 = devm_kzalloc(&client->dev, sizeof(*lp87565), GFP_KERNEL);
client             53 drivers/mfd/lp87565.c 	lp87565->dev = &client->dev;
client             55 drivers/mfd/lp87565.c 	lp87565->regmap = devm_regmap_init_i2c(client, &lp87565_regmap_config);
client             71 drivers/mfd/lp87565.c 	of_id = of_match_device(of_lp87565_match_table, &client->dev);
client             75 drivers/mfd/lp87565.c 	i2c_set_clientdata(client, lp87565);
client            494 drivers/mfd/max77620.c static int max77620_probe(struct i2c_client *client,
client            504 drivers/mfd/max77620.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client            508 drivers/mfd/max77620.c 	i2c_set_clientdata(client, chip);
client            509 drivers/mfd/max77620.c 	chip->dev = &client->dev;
client            511 drivers/mfd/max77620.c 	chip->chip_irq = client->irq;
client            535 drivers/mfd/max77620.c 	chip->rmap = devm_regmap_init_i2c(client, rmap_config);
client            547 drivers/mfd/max77620.c 	ret = devm_regmap_add_irq_chip(chip->dev, chip->rmap, client->irq,
client            568 drivers/mfd/max77620.c 	pm_off = of_device_is_system_power_controller(client->dev.of_node);
client            598 drivers/mfd/max77620.c 	struct i2c_client *client = to_i2c_client(dev);
client            641 drivers/mfd/max77620.c 	disable_irq(client->irq);
client            649 drivers/mfd/max77620.c 	struct i2c_client *client = to_i2c_client(dev);
client            680 drivers/mfd/max77620.c 	enable_irq(client->irq);
client            147 drivers/mfd/max8925-i2c.c static int max8925_probe(struct i2c_client *client,
client            150 drivers/mfd/max8925-i2c.c 	struct max8925_platform_data *pdata = dev_get_platdata(&client->dev);
client            152 drivers/mfd/max8925-i2c.c 	struct device_node *node = client->dev.of_node;
client            156 drivers/mfd/max8925-i2c.c 		pdata = devm_kzalloc(&client->dev,
client            162 drivers/mfd/max8925-i2c.c 		if (max8925_dt_init(node, &client->dev, pdata))
client            169 drivers/mfd/max8925-i2c.c 	chip = devm_kzalloc(&client->dev,
client            173 drivers/mfd/max8925-i2c.c 	chip->i2c = client;
client            174 drivers/mfd/max8925-i2c.c 	chip->dev = &client->dev;
client            175 drivers/mfd/max8925-i2c.c 	i2c_set_clientdata(client, chip);
client            194 drivers/mfd/max8925-i2c.c 	device_init_wakeup(&client->dev, 1);
client            201 drivers/mfd/max8925-i2c.c static int max8925_remove(struct i2c_client *client)
client            203 drivers/mfd/max8925-i2c.c 	struct max8925_chip *chip = i2c_get_clientdata(client);
client            214 drivers/mfd/max8925-i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            215 drivers/mfd/max8925-i2c.c 	struct max8925_chip *chip = i2c_get_clientdata(client);
client            224 drivers/mfd/max8925-i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            225 drivers/mfd/max8925-i2c.c 	struct max8925_chip *chip = i2c_get_clientdata(client);
client             55 drivers/mfd/mc13xxx-i2c.c static int mc13xxx_i2c_probe(struct i2c_client *client,
client             61 drivers/mfd/mc13xxx-i2c.c 	mc13xxx = devm_kzalloc(&client->dev, sizeof(*mc13xxx), GFP_KERNEL);
client             65 drivers/mfd/mc13xxx-i2c.c 	dev_set_drvdata(&client->dev, mc13xxx);
client             67 drivers/mfd/mc13xxx-i2c.c 	mc13xxx->irq = client->irq;
client             69 drivers/mfd/mc13xxx-i2c.c 	mc13xxx->regmap = devm_regmap_init_i2c(client,
client             73 drivers/mfd/mc13xxx-i2c.c 		dev_err(&client->dev, "Failed to initialize regmap: %d\n", ret);
client             77 drivers/mfd/mc13xxx-i2c.c 	if (client->dev.of_node) {
client             79 drivers/mfd/mc13xxx-i2c.c 			of_match_device(mc13xxx_dt_ids, &client->dev);
client             85 drivers/mfd/mc13xxx-i2c.c 	return mc13xxx_common_init(&client->dev);
client             88 drivers/mfd/mc13xxx-i2c.c static int mc13xxx_i2c_remove(struct i2c_client *client)
client             90 drivers/mfd/mc13xxx-i2c.c 	return mc13xxx_common_exit(&client->dev);
client            155 drivers/mfd/menelaus.c 	struct i2c_client	*client;
client            173 drivers/mfd/menelaus.c 	int val = i2c_smbus_write_byte_data(the_menelaus->client, reg, value);
client            185 drivers/mfd/menelaus.c 	int val = i2c_smbus_read_byte_data(the_menelaus->client, reg);
client            453 drivers/mfd/menelaus.c 	struct i2c_client *c = the_menelaus->client;
client            525 drivers/mfd/menelaus.c 	struct i2c_client *c = the_menelaus->client;
client            734 drivers/mfd/menelaus.c 	struct i2c_client *c = the_menelaus->client;
client            790 drivers/mfd/menelaus.c 	enable_irq(menelaus->client->irq);
client            881 drivers/mfd/menelaus.c 	dev_err(&the_menelaus->client->dev, "rtc write reg %02x, err %d\n",
client            905 drivers/mfd/menelaus.c 	status = i2c_transfer(the_menelaus->client->adapter, msg, 2);
client            927 drivers/mfd/menelaus.c 		dev_err(&the_menelaus->client->dev, "rtc write reg %02x "
client            935 drivers/mfd/menelaus.c 		dev_err(&the_menelaus->client->dev, "rtc commit time, err %d\n",
client            960 drivers/mfd/menelaus.c 	status = i2c_transfer(the_menelaus->client->adapter, msg, 2);
client            980 drivers/mfd/menelaus.c 	if (the_menelaus->client->irq <= 0 && w->enabled)
client           1019 drivers/mfd/menelaus.c 	if (the_menelaus->client->irq <= 0)
client           1083 drivers/mfd/menelaus.c 	int	alarm = (m->client->irq > 0);
client           1088 drivers/mfd/menelaus.c 		dev_dbg(&m->client->dev, "no 32k oscillator\n");
client           1092 drivers/mfd/menelaus.c 	m->rtc = devm_rtc_allocate_device(&m->client->dev);
client           1102 drivers/mfd/menelaus.c 			dev_err(&m->client->dev, "can't handle RTC alarm\n");
client           1105 drivers/mfd/menelaus.c 		device_init_wakeup(&m->client->dev, 1);
client           1114 drivers/mfd/menelaus.c 			dev_warn(&m->client->dev, "rtc clock needs setting\n");
client           1126 drivers/mfd/menelaus.c 			device_init_wakeup(&m->client->dev, 0);
client           1145 drivers/mfd/menelaus.c static int menelaus_probe(struct i2c_client *client,
client           1152 drivers/mfd/menelaus.c 					dev_get_platdata(&client->dev);
client           1155 drivers/mfd/menelaus.c 		dev_dbg(&client->dev, "only one %s for now\n",
client           1160 drivers/mfd/menelaus.c 	menelaus = devm_kzalloc(&client->dev, sizeof(*menelaus), GFP_KERNEL);
client           1164 drivers/mfd/menelaus.c 	i2c_set_clientdata(client, menelaus);
client           1167 drivers/mfd/menelaus.c 	menelaus->client = client;
client           1187 drivers/mfd/menelaus.c 	if (client->irq > 0) {
client           1188 drivers/mfd/menelaus.c 		err = request_irq(client->irq, menelaus_irq, 0,
client           1191 drivers/mfd/menelaus.c 			dev_dbg(&client->dev,  "can't get IRQ %d, err %d\n",
client           1192 drivers/mfd/menelaus.c 					client->irq, err);
client           1211 drivers/mfd/menelaus.c 		err = menelaus_pdata->late_init(&client->dev);
client           1220 drivers/mfd/menelaus.c 	free_irq(client->irq, menelaus);
client           1225 drivers/mfd/menelaus.c static int menelaus_remove(struct i2c_client *client)
client           1227 drivers/mfd/menelaus.c 	struct menelaus_chip	*menelaus = i2c_get_clientdata(client);
client           1229 drivers/mfd/menelaus.c 	free_irq(client->irq, menelaus);
client             26 drivers/mfd/menf21bmc.c static int menf21bmc_wdt_exit_prod_mode(struct i2c_client *client)
client             30 drivers/mfd/menf21bmc.c 	val = i2c_smbus_read_byte_data(client, BMC_CMD_WDT_PROD_STAT);
client             40 drivers/mfd/menf21bmc.c 		dev_info(&client->dev,
client             43 drivers/mfd/menf21bmc.c 		ret = i2c_smbus_write_byte(client, BMC_CMD_WDT_EXIT_PROD);
client             52 drivers/mfd/menf21bmc.c menf21bmc_probe(struct i2c_client *client, const struct i2c_device_id *ids)
client             57 drivers/mfd/menf21bmc.c 	ret = i2c_check_functionality(client->adapter,
client             64 drivers/mfd/menf21bmc.c 	rev_major = i2c_smbus_read_word_data(client, BMC_CMD_REV_MAJOR);
client             66 drivers/mfd/menf21bmc.c 		dev_err(&client->dev, "failed to get BMC major revision\n");
client             70 drivers/mfd/menf21bmc.c 	rev_minor = i2c_smbus_read_word_data(client, BMC_CMD_REV_MINOR);
client             72 drivers/mfd/menf21bmc.c 		dev_err(&client->dev, "failed to get BMC minor revision\n");
client             76 drivers/mfd/menf21bmc.c 	rev_main = i2c_smbus_read_word_data(client, BMC_CMD_REV_MAIN);
client             78 drivers/mfd/menf21bmc.c 		dev_err(&client->dev, "failed to get BMC main revision\n");
client             82 drivers/mfd/menf21bmc.c 	dev_info(&client->dev, "FW Revision: %02d.%02d.%02d\n",
client             89 drivers/mfd/menf21bmc.c 	ret = menf21bmc_wdt_exit_prod_mode(client);
client             91 drivers/mfd/menf21bmc.c 		dev_err(&client->dev, "failed to leave production mode\n");
client             95 drivers/mfd/menf21bmc.c 	ret = devm_mfd_add_devices(&client->dev, 0, menf21bmc_cell,
client             98 drivers/mfd/menf21bmc.c 		dev_err(&client->dev, "failed to add BMC sub-devices\n");
client            164 drivers/mfd/pcf50633-core.c 	struct i2c_client *client = to_i2c_client(dev);
client            165 drivers/mfd/pcf50633-core.c 	struct pcf50633 *pcf = i2c_get_clientdata(client);
client            172 drivers/mfd/pcf50633-core.c 	struct i2c_client *client = to_i2c_client(dev);
client            173 drivers/mfd/pcf50633-core.c 	struct pcf50633 *pcf = i2c_get_clientdata(client);
client            186 drivers/mfd/pcf50633-core.c static int pcf50633_probe(struct i2c_client *client,
client            191 drivers/mfd/pcf50633-core.c 	struct pcf50633_platform_data *pdata = dev_get_platdata(&client->dev);
client            195 drivers/mfd/pcf50633-core.c 	if (!client->irq) {
client            196 drivers/mfd/pcf50633-core.c 		dev_err(&client->dev, "Missing IRQ\n");
client            200 drivers/mfd/pcf50633-core.c 	pcf = devm_kzalloc(&client->dev, sizeof(*pcf), GFP_KERNEL);
client            204 drivers/mfd/pcf50633-core.c 	i2c_set_clientdata(client, pcf);
client            205 drivers/mfd/pcf50633-core.c 	pcf->dev = &client->dev;
client            210 drivers/mfd/pcf50633-core.c 	pcf->regmap = devm_regmap_init_i2c(client, &pcf50633_regmap_config);
client            228 drivers/mfd/pcf50633-core.c 	pcf50633_irq_init(pcf, client->irq);
client            258 drivers/mfd/pcf50633-core.c 	ret = sysfs_create_group(&client->dev.kobj, &pcf_attr_group);
client            276 drivers/mfd/pcf50633-core.c static int pcf50633_remove(struct i2c_client *client)
client            278 drivers/mfd/pcf50633-core.c 	struct pcf50633 *pcf = i2c_get_clientdata(client);
client            281 drivers/mfd/pcf50633-core.c 	sysfs_remove_group(&client->dev.kobj, &pcf_attr_group);
client            556 drivers/mfd/rk808.c static int rk808_probe(struct i2c_client *client,
client            559 drivers/mfd/rk808.c 	struct device_node *np = client->dev.of_node;
client            570 drivers/mfd/rk808.c 	rk808 = devm_kzalloc(&client->dev, sizeof(*rk808), GFP_KERNEL);
client            584 drivers/mfd/rk808.c 	msb = i2c_smbus_read_byte_data(client, pmic_id_msb);
client            586 drivers/mfd/rk808.c 		dev_err(&client->dev, "failed to read the chip id at 0x%x\n",
client            591 drivers/mfd/rk808.c 	lsb = i2c_smbus_read_byte_data(client, pmic_id_lsb);
client            593 drivers/mfd/rk808.c 		dev_err(&client->dev, "failed to read the chip id at 0x%x\n",
client            599 drivers/mfd/rk808.c 	dev_info(&client->dev, "chip id: 0x%x\n", (unsigned int)rk808->variant);
client            641 drivers/mfd/rk808.c 		dev_err(&client->dev, "Unsupported RK8XX ID %lu\n",
client            646 drivers/mfd/rk808.c 	rk808->i2c = client;
client            647 drivers/mfd/rk808.c 	i2c_set_clientdata(client, rk808);
client            649 drivers/mfd/rk808.c 	rk808->regmap = devm_regmap_init_i2c(client, rk808->regmap_cfg);
client            651 drivers/mfd/rk808.c 		dev_err(&client->dev, "regmap initialization failed\n");
client            655 drivers/mfd/rk808.c 	if (!client->irq) {
client            656 drivers/mfd/rk808.c 		dev_err(&client->dev, "No interrupt support, no core IRQ\n");
client            660 drivers/mfd/rk808.c 	ret = regmap_add_irq_chip(rk808->regmap, client->irq,
client            664 drivers/mfd/rk808.c 		dev_err(&client->dev, "Failed to add irq_chip %d\n", ret);
client            674 drivers/mfd/rk808.c 			dev_err(&client->dev,
client            681 drivers/mfd/rk808.c 	ret = devm_mfd_add_devices(&client->dev, PLATFORM_DEVID_NONE,
client            685 drivers/mfd/rk808.c 		dev_err(&client->dev, "failed to add MFD devices %d\n", ret);
client            692 drivers/mfd/rk808.c 		rk808_i2c_client = client;
client            698 drivers/mfd/rk808.c 			rk808_i2c_client = client;
client            705 drivers/mfd/rk808.c 	regmap_del_irq_chip(client->irq, rk808->irq_data);
client            709 drivers/mfd/rk808.c static int rk808_remove(struct i2c_client *client)
client            711 drivers/mfd/rk808.c 	struct rk808 *rk808 = i2c_get_clientdata(client);
client            713 drivers/mfd/rk808.c 	regmap_del_irq_chip(client->irq, rk808->irq_data);
client            227 drivers/mfd/si476x-cmd.c 			dev_err(&core->client->dev,
client            230 drivers/mfd/si476x-cmd.c 			dev_err(&core->client->dev,
client            265 drivers/mfd/si476x-cmd.c 	struct i2c_client *client = core->client;
client            274 drivers/mfd/si476x-cmd.c 	if (!client->adapter) {
client            282 drivers/mfd/si476x-cmd.c 	dev_dbg(&client->dev, "Command:\n %*ph\n", argn + 1, data);
client            287 drivers/mfd/si476x-cmd.c 		dev_err(&core->client->dev,
client            301 drivers/mfd/si476x-cmd.c 		dev_warn(&core->client->dev,
client            312 drivers/mfd/si476x-cmd.c 	if (unlikely(!core->client->irq && command == CMD_POWER_UP)) {
client            316 drivers/mfd/si476x-cmd.c 			dev_warn(&core->client->dev,
client            324 drivers/mfd/si476x-cmd.c 		dev_err(&core->client->dev,
client            330 drivers/mfd/si476x-cmd.c 	dev_dbg(&client->dev, "Response:\n %*ph\n", respn, resp);
client            335 drivers/mfd/si476x-cmd.c 		dev_err(&core->client->dev,
client           1071 drivers/mfd/si476x-cmd.c 	const bool ctsen  = (core->client->irq != 0);
client           1094 drivers/mfd/si476x-cmd.c 	const bool ctsen  = (core->client->irq != 0);
client             39 drivers/mfd/si476x-i2c.c 	dev_dbg(&core->client->dev, "Configuring pinmux\n");
client             46 drivers/mfd/si476x-i2c.c 		dev_err(&core->client->dev,
client             58 drivers/mfd/si476x-i2c.c 		dev_err(&core->client->dev,
client             70 drivers/mfd/si476x-i2c.c 		dev_err(&core->client->dev,
client             79 drivers/mfd/si476x-i2c.c 		dev_err(&core->client->dev,
client             89 drivers/mfd/si476x-i2c.c 		dev_err(&core->client->dev,
client            129 drivers/mfd/si476x-i2c.c 	struct i2c_client *client = core->client;
client            136 drivers/mfd/si476x-i2c.c 		if (client->irq)
client            137 drivers/mfd/si476x-i2c.c 			enable_irq(client->irq);
client            141 drivers/mfd/si476x-i2c.c 		if (!client->irq) {
client            146 drivers/mfd/si476x-i2c.c 		if (client->irq)
client            147 drivers/mfd/si476x-i2c.c 			enable_irq(client->irq);
client            158 drivers/mfd/si476x-i2c.c 		dev_err(&core->client->dev,
client            164 drivers/mfd/si476x-i2c.c 	if (client->irq)
client            169 drivers/mfd/si476x-i2c.c 		dev_err(&core->client->dev,
client            175 drivers/mfd/si476x-i2c.c 	if (client->irq) {
client            182 drivers/mfd/si476x-i2c.c 			dev_err(&core->client->dev,
client            195 drivers/mfd/si476x-i2c.c 	if (client->irq)
client            196 drivers/mfd/si476x-i2c.c 		disable_irq(client->irq);
client            240 drivers/mfd/si476x-i2c.c 	if (core->client->irq)
client            241 drivers/mfd/si476x-i2c.c 		disable_irq(core->client->irq);
client            276 drivers/mfd/si476x-i2c.c 		dev_err(&core->client->dev,
client            372 drivers/mfd/si476x-i2c.c 		dev_dbg(&core->client->dev,
client            382 drivers/mfd/si476x-i2c.c 			dev_dbg(&core->client->dev, "RDS data:\n %*ph\n",
client            385 drivers/mfd/si476x-i2c.c 		dev_dbg(&core->client->dev, "Drrrrained!\n");
client            405 drivers/mfd/si476x-i2c.c 	dev_info(&core->client->dev, "Core device is dead.\n");
client            441 drivers/mfd/si476x-i2c.c 		err = i2c_master_send(core->client, buf, count);
client            443 drivers/mfd/si476x-i2c.c 		err = i2c_master_recv(core->client, buf, count);
client            487 drivers/mfd/si476x-i2c.c 		dev_err(&core->client->dev, "Failed to get status\n");
client            498 drivers/mfd/si476x-i2c.c 		dev_dbg(&core->client->dev, "[interrupt] CTSINT\n");
client            504 drivers/mfd/si476x-i2c.c 		dev_dbg(&core->client->dev, "[interrupt] RDSINT\n");
client            509 drivers/mfd/si476x-i2c.c 		dev_dbg(&core->client->dev, "[interrupt] STCINT\n");
client            592 drivers/mfd/si476x-i2c.c 	dev_err(&core->client->dev,
client            681 drivers/mfd/si476x-i2c.c static int si476x_core_probe(struct i2c_client *client,
client            690 drivers/mfd/si476x-i2c.c 	core = devm_kzalloc(&client->dev, sizeof(*core), GFP_KERNEL);
client            694 drivers/mfd/si476x-i2c.c 	core->client = client;
client            699 drivers/mfd/si476x-i2c.c 		dev_err(&client->dev,
client            705 drivers/mfd/si476x-i2c.c 	i2c_set_clientdata(client, core);
client            710 drivers/mfd/si476x-i2c.c 	pdata = dev_get_platdata(&client->dev);
client            720 drivers/mfd/si476x-i2c.c 				dev_err(&client->dev,
client            732 drivers/mfd/si476x-i2c.c 		dev_err(&client->dev, "No platform data provided\n");
client            741 drivers/mfd/si476x-i2c.c 	rval = devm_regulator_bulk_get(&client->dev,
client            745 drivers/mfd/si476x-i2c.c 		dev_err(&client->dev, "Failed to get all of the regulators\n");
client            758 drivers/mfd/si476x-i2c.c 		dev_err(&client->dev, "Could not allocate the FIFO\n");
client            765 drivers/mfd/si476x-i2c.c 	if (client->irq) {
client            766 drivers/mfd/si476x-i2c.c 		rval = devm_request_threaded_irq(&client->dev,
client            767 drivers/mfd/si476x-i2c.c 						 client->irq, NULL,
client            771 drivers/mfd/si476x-i2c.c 						 client->name, core);
client            773 drivers/mfd/si476x-i2c.c 			dev_err(&client->dev, "Could not request IRQ %d\n",
client            774 drivers/mfd/si476x-i2c.c 				client->irq);
client            777 drivers/mfd/si476x-i2c.c 		disable_irq(client->irq);
client            778 drivers/mfd/si476x-i2c.c 		dev_dbg(&client->dev, "IRQ requested.\n");
client            784 drivers/mfd/si476x-i2c.c 		dev_info(&client->dev,
client            816 drivers/mfd/si476x-i2c.c 	rval = mfd_add_devices(&client->dev,
client            817 drivers/mfd/si476x-i2c.c 			       (client->adapter->nr << 8) + client->addr,
client            833 drivers/mfd/si476x-i2c.c static int si476x_core_remove(struct i2c_client *client)
client            835 drivers/mfd/si476x-i2c.c 	struct si476x_core *core = i2c_get_clientdata(client);
client            838 drivers/mfd/si476x-i2c.c 	mfd_remove_devices(&client->dev);
client            840 drivers/mfd/si476x-i2c.c 	if (client->irq)
client            841 drivers/mfd/si476x-i2c.c 		disable_irq(client->irq);
client            173 drivers/mfd/si476x-prop.c 	struct i2c_client *client = to_i2c_client(dev);
client            174 drivers/mfd/si476x-prop.c 	struct si476x_core *core = i2c_get_clientdata(client);
client            183 drivers/mfd/si476x-prop.c 	struct i2c_client *client = to_i2c_client(dev);
client            184 drivers/mfd/si476x-prop.c 	struct si476x_core *core = i2c_get_clientdata(client);
client            230 drivers/mfd/si476x-prop.c 	return devm_regmap_init(&core->client->dev, NULL,
client             24 drivers/mfd/sky81452.c static int sky81452_probe(struct i2c_client *client,
client             27 drivers/mfd/sky81452.c 	struct device *dev = &client->dev;
client             39 drivers/mfd/sky81452.c 	regmap = devm_regmap_init_i2c(client, &sky81452_config);
client             45 drivers/mfd/sky81452.c 	i2c_set_clientdata(client, regmap);
client            255 drivers/mfd/stmfx.c static void stmfx_irq_exit(struct i2c_client *client)
client            257 drivers/mfd/stmfx.c 	struct stmfx *stmfx = i2c_get_clientdata(client);
client            266 drivers/mfd/stmfx.c static int stmfx_irq_init(struct i2c_client *client)
client            268 drivers/mfd/stmfx.c 	struct stmfx *stmfx = i2c_get_clientdata(client);
client            283 drivers/mfd/stmfx.c 	irqtrigger = irq_get_trigger_type(client->irq);
client            292 drivers/mfd/stmfx.c 	ret = devm_request_threaded_irq(stmfx->dev, client->irq,
client            297 drivers/mfd/stmfx.c 		stmfx_irq_exit(client);
client            316 drivers/mfd/stmfx.c static int stmfx_chip_init(struct i2c_client *client)
client            318 drivers/mfd/stmfx.c 	struct stmfx *stmfx = i2c_get_clientdata(client);
client            323 drivers/mfd/stmfx.c 	stmfx->vdd = devm_regulator_get_optional(&client->dev, "vdd");
client            330 drivers/mfd/stmfx.c 		dev_err(&client->dev, "Failed to get VDD regulator: %d\n", ret);
client            337 drivers/mfd/stmfx.c 			dev_err(&client->dev, "VDD enable failed: %d\n", ret);
client            344 drivers/mfd/stmfx.c 		dev_err(&client->dev, "Error reading chip ID: %d\n", ret);
client            359 drivers/mfd/stmfx.c 	if (FIELD_GET(STMFX_REG_CHIP_ID_MASK, ~id) != (client->addr << 1)) {
client            360 drivers/mfd/stmfx.c 		dev_err(&client->dev, "Unknown chip ID: %#x\n", id);
client            368 drivers/mfd/stmfx.c 		dev_err(&client->dev, "Error reading FW version: %d\n", ret);
client            372 drivers/mfd/stmfx.c 	dev_info(&client->dev, "STMFX id: %#x, fw version: %x.%02x\n",
client            377 drivers/mfd/stmfx.c 		dev_err(&client->dev, "Failed to reset chip: %d\n", ret);
client            390 drivers/mfd/stmfx.c static int stmfx_chip_exit(struct i2c_client *client)
client            392 drivers/mfd/stmfx.c 	struct stmfx *stmfx = i2c_get_clientdata(client);
client            403 drivers/mfd/stmfx.c static int stmfx_probe(struct i2c_client *client,
client            406 drivers/mfd/stmfx.c 	struct device *dev = &client->dev;
client            414 drivers/mfd/stmfx.c 	i2c_set_clientdata(client, stmfx);
client            418 drivers/mfd/stmfx.c 	stmfx->map = devm_regmap_init_i2c(client, &stmfx_regmap_config);
client            427 drivers/mfd/stmfx.c 	ret = stmfx_chip_init(client);
client            434 drivers/mfd/stmfx.c 	if (client->irq < 0) {
client            435 drivers/mfd/stmfx.c 		dev_err(dev, "Failed to get IRQ: %d\n", client->irq);
client            436 drivers/mfd/stmfx.c 		ret = client->irq;
client            440 drivers/mfd/stmfx.c 	ret = stmfx_irq_init(client);
client            453 drivers/mfd/stmfx.c 	stmfx_irq_exit(client);
client            455 drivers/mfd/stmfx.c 	stmfx_chip_exit(client);
client            460 drivers/mfd/stmfx.c static int stmfx_remove(struct i2c_client *client)
client            462 drivers/mfd/stmfx.c 	stmfx_irq_exit(client);
client            464 drivers/mfd/stmfx.c 	return stmfx_chip_exit(client);
client             22 drivers/mfd/stmpe-i2c.c 	struct i2c_client *i2c = stmpe->client;
client             29 drivers/mfd/stmpe-i2c.c 	struct i2c_client *i2c = stmpe->client;
client             36 drivers/mfd/stmpe-i2c.c 	struct i2c_client *i2c = stmpe->client;
client             44 drivers/mfd/stmpe-i2c.c 	struct i2c_client *i2c = stmpe->client;
client             77 drivers/mfd/stmpe-i2c.c 	i2c_ci.client = i2c;
client             22 drivers/mfd/stmpe-spi.c 	struct spi_device *spi = stmpe->client;
client             30 drivers/mfd/stmpe-spi.c 	struct spi_device *spi = stmpe->client;
client             66 drivers/mfd/stmpe-spi.c 	struct spi_device *spi = stmpe->client;
client             99 drivers/mfd/stmpe-spi.c 	spi_ci.client = spi;
client           1412 drivers/mfd/stmpe.c 	stmpe->client = ci->client;
client             90 drivers/mfd/stmpe.h 	void *client;
client             95 drivers/mfd/stw481x.c 	dev_info(&stw481x->client->dev, "voltages %s\n",
client             97 drivers/mfd/stw481x.c 	dev_info(&stw481x->client->dev, "MMC level shifter %s\n",
client             99 drivers/mfd/stw481x.c 	dev_info(&stw481x->client->dev, "VMMC: %s\n",
client            102 drivers/mfd/stw481x.c 	dev_info(&stw481x->client->dev, "STw481x power control registers:\n");
client            120 drivers/mfd/stw481x.c 	dev_info(&stw481x->client->dev, "VCORE: %u.%uV %s\n",
client            124 drivers/mfd/stw481x.c 	dev_info(&stw481x->client->dev, "VPLL:  %u.%uV %s\n",
client            128 drivers/mfd/stw481x.c 	dev_info(&stw481x->client->dev, "VAUX:  %u.%uV %s\n",
client            136 drivers/mfd/stw481x.c 	dev_info(&stw481x->client->dev, "TWARN: %s threshold, %s\n",
client            140 drivers/mfd/stw481x.c 	dev_info(&stw481x->client->dev, "VMMC: %s\n",
client            142 drivers/mfd/stw481x.c 	dev_info(&stw481x->client->dev, "IT WAKE UP: %s\n",
client            144 drivers/mfd/stw481x.c 	dev_info(&stw481x->client->dev, "GPO1: %s\n",
client            146 drivers/mfd/stw481x.c 	dev_info(&stw481x->client->dev, "GPO2: %s\n",
client            153 drivers/mfd/stw481x.c 	dev_info(&stw481x->client->dev, "VCORE SLEEP: %u.%uV\n",
client            176 drivers/mfd/stw481x.c static int stw481x_probe(struct i2c_client *client,
client            183 drivers/mfd/stw481x.c 	stw481x = devm_kzalloc(&client->dev, sizeof(*stw481x), GFP_KERNEL);
client            187 drivers/mfd/stw481x.c 	i2c_set_clientdata(client, stw481x);
client            188 drivers/mfd/stw481x.c 	stw481x->client = client;
client            189 drivers/mfd/stw481x.c 	stw481x->map = devm_regmap_init_i2c(client, &stw481x_regmap_config);
client            192 drivers/mfd/stw481x.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            199 drivers/mfd/stw481x.c 		dev_err(&client->dev, "chip initialization failed\n");
client            210 drivers/mfd/stw481x.c 	ret = devm_mfd_add_devices(&client->dev, 0, stw481x_cells,
client            215 drivers/mfd/stw481x.c 	dev_info(&client->dev, "initialized STw481x device\n");
client            432 drivers/mfd/tc3589x.c static int tc3589x_remove(struct i2c_client *client)
client            434 drivers/mfd/tc3589x.c 	struct tc3589x *tc3589x = i2c_get_clientdata(client);
client            445 drivers/mfd/tc3589x.c 	struct i2c_client *client = tc3589x->i2c;
client            449 drivers/mfd/tc3589x.c 	if (!device_may_wakeup(&client->dev))
client            459 drivers/mfd/tc3589x.c 	struct i2c_client *client = tc3589x->i2c;
client            463 drivers/mfd/tc3589x.c 	if (!device_may_wakeup(&client->dev))
client             42 drivers/mfd/tps6105x.c 		dev_info(&tps6105x->client->dev,
client             46 drivers/mfd/tps6105x.c 		dev_info(&tps6105x->client->dev,
client             50 drivers/mfd/tps6105x.c 		dev_info(&tps6105x->client->dev,
client             54 drivers/mfd/tps6105x.c 		dev_info(&tps6105x->client->dev,
client             90 drivers/mfd/tps6105x.c 	return mfd_add_devices(&tps6105x->client->dev,
client             94 drivers/mfd/tps6105x.c static int tps6105x_probe(struct i2c_client *client,
client            101 drivers/mfd/tps6105x.c 	pdata = dev_get_platdata(&client->dev);
client            103 drivers/mfd/tps6105x.c 		dev_err(&client->dev, "missing platform data\n");
client            107 drivers/mfd/tps6105x.c 	tps6105x = devm_kmalloc(&client->dev, sizeof(*tps6105x), GFP_KERNEL);
client            111 drivers/mfd/tps6105x.c 	tps6105x->regmap = devm_regmap_init_i2c(client, &tps6105x_regmap_config);
client            115 drivers/mfd/tps6105x.c 	i2c_set_clientdata(client, tps6105x);
client            116 drivers/mfd/tps6105x.c 	tps6105x->client = client;
client            121 drivers/mfd/tps6105x.c 		dev_err(&client->dev, "chip initialization failed\n");
client            131 drivers/mfd/tps6105x.c 		dev_info(&client->dev,
client            144 drivers/mfd/tps6105x.c 		dev_warn(&client->dev, "invalid mode: %d\n", pdata->mode);
client            149 drivers/mfd/tps6105x.c 		mfd_remove_devices(&client->dev);
client            154 drivers/mfd/tps6105x.c static int tps6105x_remove(struct i2c_client *client)
client            156 drivers/mfd/tps6105x.c 	struct tps6105x *tps6105x = i2c_get_clientdata(client);
client            158 drivers/mfd/tps6105x.c 	mfd_remove_devices(&client->dev);
client             61 drivers/mfd/tps65010.c 	struct i2c_client	*client;
client            212 drivers/mfd/tps65010.c 	value = i2c_smbus_read_byte_data(tps->client, TPS_CHGCONFIG);
client            216 drivers/mfd/tps65010.c 	value = i2c_smbus_read_byte_data(tps->client, TPS_CHGSTATUS);
client            219 drivers/mfd/tps65010.c 	value = i2c_smbus_read_byte_data(tps->client, TPS_MASK1);
client            224 drivers/mfd/tps65010.c 	value = i2c_smbus_read_byte_data(tps->client, TPS_REGSTATUS);
client            227 drivers/mfd/tps65010.c 	value = i2c_smbus_read_byte_data(tps->client, TPS_MASK2);
client            236 drivers/mfd/tps65010.c 	value = i2c_smbus_read_byte_data(tps->client, TPS_VDCDC1);
client            240 drivers/mfd/tps65010.c 	value = i2c_smbus_read_byte_data(tps->client, TPS_VDCDC2);
client            244 drivers/mfd/tps65010.c 	value = i2c_smbus_read_byte_data(tps->client, TPS_VREGS1);
client            249 drivers/mfd/tps65010.c 	value = i2c_smbus_read_byte_data(tps->client, TPS_LED1_ON);
client            250 drivers/mfd/tps65010.c 	v2 = i2c_smbus_read_byte_data(tps->client, TPS_LED1_PER);
client            258 drivers/mfd/tps65010.c 	value = i2c_smbus_read_byte_data(tps->client, TPS_LED2_ON);
client            259 drivers/mfd/tps65010.c 	v2 = i2c_smbus_read_byte_data(tps->client, TPS_LED2_PER);
client            267 drivers/mfd/tps65010.c 	value = i2c_smbus_read_byte_data(tps->client, TPS_DEFGPIO);
client            268 drivers/mfd/tps65010.c 	v2 = i2c_smbus_read_byte_data(tps->client, TPS_MASK3);
client            318 drivers/mfd/tps65010.c 		tmp = i2c_smbus_read_byte_data(tps->client, TPS_REGSTATUS);
client            345 drivers/mfd/tps65010.c 		tmp = i2c_smbus_read_byte_data(tps->client, TPS_CHGSTATUS);
client            410 drivers/mfd/tps65010.c 		chgconfig = i2c_smbus_read_byte_data(tps->client,
client            418 drivers/mfd/tps65010.c 		status = i2c_smbus_write_byte_data(tps->client,
client            422 drivers/mfd/tps65010.c 		tmp = i2c_smbus_read_byte_data(tps->client, TPS_CHGCONFIG);
client            428 drivers/mfd/tps65010.c 		enable_irq(tps->client->irq);
client            487 drivers/mfd/tps65010.c 		value = i2c_smbus_read_byte_data(tps->client, TPS_DEFGPIO);
client            505 drivers/mfd/tps65010.c static int tps65010_remove(struct i2c_client *client)
client            507 drivers/mfd/tps65010.c 	struct tps65010		*tps = i2c_get_clientdata(client);
client            508 drivers/mfd/tps65010.c 	struct tps65010_board	*board = dev_get_platdata(&client->dev);
client            511 drivers/mfd/tps65010.c 		int status = board->teardown(client, board->context);
client            513 drivers/mfd/tps65010.c 			dev_dbg(&client->dev, "board %s %s err %d\n",
client            514 drivers/mfd/tps65010.c 				"teardown", client->name, status);
client            516 drivers/mfd/tps65010.c 	if (client->irq > 0)
client            517 drivers/mfd/tps65010.c 		free_irq(client->irq, tps);
client            524 drivers/mfd/tps65010.c static int tps65010_probe(struct i2c_client *client,
client            529 drivers/mfd/tps65010.c 	struct tps65010_board	*board = dev_get_platdata(&client->dev);
client            532 drivers/mfd/tps65010.c 		dev_dbg(&client->dev, "only one tps6501x chip allowed\n");
client            536 drivers/mfd/tps65010.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
client            539 drivers/mfd/tps65010.c 	tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL);
client            545 drivers/mfd/tps65010.c 	tps->client = client;
client            551 drivers/mfd/tps65010.c 	if (client->irq > 0) {
client            552 drivers/mfd/tps65010.c 		status = request_irq(client->irq, tps65010_irq,
client            555 drivers/mfd/tps65010.c 			dev_dbg(&client->dev, "can't get IRQ %d, err %d\n",
client            556 drivers/mfd/tps65010.c 					client->irq, status);
client            563 drivers/mfd/tps65010.c 		disable_irq(client->irq);
client            566 drivers/mfd/tps65010.c 		dev_warn(&client->dev, "IRQ not configured!\n");
client            576 drivers/mfd/tps65010.c 	tps->chgconf = i2c_smbus_read_byte_data(client, TPS_CHGCONFIG);
client            580 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(client, TPS_CHGSTATUS));
client            582 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(client, TPS_REGSTATUS));
client            585 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(client, TPS_VDCDC1),
client            586 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(client, TPS_VDCDC2),
client            587 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(client, TPS_VREGS1));
client            589 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(client, TPS_DEFGPIO),
client            590 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(client, TPS_MASK3));
client            592 drivers/mfd/tps65010.c 	i2c_set_clientdata(client, tps);
client            608 drivers/mfd/tps65010.c 	(void) i2c_smbus_write_byte_data(client, TPS_MASK1, ~tps->nmask1);
client            613 drivers/mfd/tps65010.c 	(void) i2c_smbus_write_byte_data(client, TPS_MASK2, ~tps->nmask2);
client            615 drivers/mfd/tps65010.c 	(void) i2c_smbus_write_byte_data(client, TPS_MASK3, 0x0f
client            616 drivers/mfd/tps65010.c 		| i2c_smbus_read_byte_data(client, TPS_MASK3));
client            627 drivers/mfd/tps65010.c 		tps->chip.label = client->name;
client            628 drivers/mfd/tps65010.c 		tps->chip.parent = &client->dev;
client            643 drivers/mfd/tps65010.c 			dev_err(&client->dev, "can't add gpiochip, err %d\n",
client            646 drivers/mfd/tps65010.c 			status = board->setup(client, board->context);
client            648 drivers/mfd/tps65010.c 				dev_dbg(&client->dev,
client            650 drivers/mfd/tps65010.c 					"setup", client->name, status);
client            731 drivers/mfd/tps65010.c 	defgpio = i2c_smbus_read_byte_data(the_tps->client, TPS_DEFGPIO);
client            747 drivers/mfd/tps65010.c 	status = i2c_smbus_write_byte_data(the_tps->client,
client            752 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(the_tps->client, TPS_DEFGPIO));
client            782 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(the_tps->client,
client            786 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(the_tps->client,
client            809 drivers/mfd/tps65010.c 	status = i2c_smbus_write_byte_data(the_tps->client,
client            820 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(the_tps->client, TPS_LED1_ON + offs));
client            822 drivers/mfd/tps65010.c 	status = i2c_smbus_write_byte_data(the_tps->client,
client            833 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(the_tps->client,
client            856 drivers/mfd/tps65010.c 	vdcdc2 = i2c_smbus_read_byte_data(the_tps->client, TPS_VDCDC2);
client            860 drivers/mfd/tps65010.c 	status = i2c_smbus_write_byte_data(the_tps->client,
client            886 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(the_tps->client, TPS_VDCDC1));
client            888 drivers/mfd/tps65010.c 	vdcdc1 = i2c_smbus_read_byte_data(the_tps->client, TPS_VDCDC1);
client            900 drivers/mfd/tps65010.c 	status = i2c_smbus_write_byte_data(the_tps->client,
client            908 drivers/mfd/tps65010.c 			i2c_smbus_read_byte_data(the_tps->client, TPS_VDCDC1));
client            931 drivers/mfd/tps65010.c 			i2c_smbus_read_byte_data(the_tps->client, TPS_VREGS1));
client            933 drivers/mfd/tps65010.c 	status = i2c_smbus_write_byte_data(the_tps->client,
client            941 drivers/mfd/tps65010.c 			i2c_smbus_read_byte_data(the_tps->client, TPS_VREGS1));
client            957 drivers/mfd/tps65010.c 	c = the_tps->client;
client            998 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(the_tps->client, TPS_CHGCONFIG),
client            999 drivers/mfd/tps65010.c 		i2c_smbus_read_byte_data(the_tps->client, TPS_VDCDC1));
client           1001 drivers/mfd/tps65010.c 	chgconfig = i2c_smbus_read_byte_data(the_tps->client, TPS_CHGCONFIG);
client           1002 drivers/mfd/tps65010.c 	vdcdc1 = i2c_smbus_read_byte_data(the_tps->client, TPS_VDCDC1);
client           1016 drivers/mfd/tps65010.c 	status = i2c_smbus_write_byte_data(the_tps->client,
client           1025 drivers/mfd/tps65010.c 	chgconfig = i2c_smbus_read_byte_data(the_tps->client, TPS_CHGCONFIG);
client           1029 drivers/mfd/tps65010.c 	status = i2c_smbus_write_byte_data(the_tps->client,
client           1037 drivers/mfd/tps65010.c 			i2c_smbus_read_byte_data(the_tps->client, TPS_VDCDC1));
client             71 drivers/mfd/tps65086.c static int tps65086_probe(struct i2c_client *client,
client             78 drivers/mfd/tps65086.c 	tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL);
client             82 drivers/mfd/tps65086.c 	i2c_set_clientdata(client, tps);
client             83 drivers/mfd/tps65086.c 	tps->dev = &client->dev;
client             84 drivers/mfd/tps65086.c 	tps->irq = client->irq;
client             86 drivers/mfd/tps65086.c 	tps->regmap = devm_regmap_init_i2c(client, &tps65086_regmap_config);
client            121 drivers/mfd/tps65086.c static int tps65086_remove(struct i2c_client *client)
client            123 drivers/mfd/tps65086.c 	struct tps65086 *tps = i2c_get_clientdata(client);
client            167 drivers/mfd/tps65090.c static int tps65090_i2c_probe(struct i2c_client *client,
client            170 drivers/mfd/tps65090.c 	struct tps65090_platform_data *pdata = dev_get_platdata(&client->dev);
client            175 drivers/mfd/tps65090.c 	if (!pdata && !client->dev.of_node) {
client            176 drivers/mfd/tps65090.c 		dev_err(&client->dev,
client            184 drivers/mfd/tps65090.c 	tps65090 = devm_kzalloc(&client->dev, sizeof(*tps65090), GFP_KERNEL);
client            188 drivers/mfd/tps65090.c 	tps65090->dev = &client->dev;
client            189 drivers/mfd/tps65090.c 	i2c_set_clientdata(client, tps65090);
client            191 drivers/mfd/tps65090.c 	tps65090->rmap = devm_regmap_init_i2c(client, &tps65090_regmap_config);
client            194 drivers/mfd/tps65090.c 		dev_err(&client->dev, "regmap_init failed with err: %d\n", ret);
client            198 drivers/mfd/tps65090.c 	if (client->irq) {
client            199 drivers/mfd/tps65090.c 		ret = regmap_add_irq_chip(tps65090->rmap, client->irq,
client            203 drivers/mfd/tps65090.c 			dev_err(&client->dev,
client            216 drivers/mfd/tps65090.c 		dev_err(&client->dev, "add mfd devices failed with err: %d\n",
client            224 drivers/mfd/tps65090.c 	if (client->irq)
client            225 drivers/mfd/tps65090.c 		regmap_del_irq_chip(client->irq, tps65090->irq_data);
client            319 drivers/mfd/tps65217.c static int tps65217_probe(struct i2c_client *client)
client            326 drivers/mfd/tps65217.c 	status_off = of_property_read_bool(client->dev.of_node,
client            329 drivers/mfd/tps65217.c 	tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL);
client            333 drivers/mfd/tps65217.c 	i2c_set_clientdata(client, tps);
client            334 drivers/mfd/tps65217.c 	tps->dev = &client->dev;
client            336 drivers/mfd/tps65217.c 	tps->regmap = devm_regmap_init_i2c(client, &tps65217_regmap_config);
client            344 drivers/mfd/tps65217.c 	if (client->irq) {
client            345 drivers/mfd/tps65217.c 		tps65217_irq_init(tps, client->irq);
client            385 drivers/mfd/tps65217.c static int tps65217_remove(struct i2c_client *client)
client            387 drivers/mfd/tps65217.c 	struct tps65217 *tps = i2c_get_clientdata(client);
client            291 drivers/mfd/tps65218.c static int tps65218_probe(struct i2c_client *client,
client            298 drivers/mfd/tps65218.c 	tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL);
client            302 drivers/mfd/tps65218.c 	i2c_set_clientdata(client, tps);
client            303 drivers/mfd/tps65218.c 	tps->dev = &client->dev;
client            304 drivers/mfd/tps65218.c 	tps->irq = client->irq;
client            305 drivers/mfd/tps65218.c 	tps->regmap = devm_regmap_init_i2c(client, &tps65218_regmap_config);
client            315 drivers/mfd/tps65218.c 	ret = devm_regmap_add_irq_chip(&client->dev, tps->regmap, tps->irq,
client            122 drivers/mfd/tps6586x.c 	struct i2c_client	*client;
client            417 drivers/mfd/tps6586x.c static struct tps6586x_platform_data *tps6586x_parse_dt(struct i2c_client *client)
client            419 drivers/mfd/tps6586x.c 	struct device_node *np = client->dev.of_node;
client            422 drivers/mfd/tps6586x.c 	pdata = devm_kzalloc(&client->dev, sizeof(*pdata), GFP_KERNEL);
client            440 drivers/mfd/tps6586x.c static struct tps6586x_platform_data *tps6586x_parse_dt(struct i2c_client *client)
client            472 drivers/mfd/tps6586x.c static void tps6586x_print_version(struct i2c_client *client, int version)
client            498 drivers/mfd/tps6586x.c 	dev_info(&client->dev, "Found %s, VERSIONCRC is %02x\n", name, version);
client            501 drivers/mfd/tps6586x.c static int tps6586x_i2c_probe(struct i2c_client *client,
client            504 drivers/mfd/tps6586x.c 	struct tps6586x_platform_data *pdata = dev_get_platdata(&client->dev);
client            509 drivers/mfd/tps6586x.c 	if (!pdata && client->dev.of_node)
client            510 drivers/mfd/tps6586x.c 		pdata = tps6586x_parse_dt(client);
client            513 drivers/mfd/tps6586x.c 		dev_err(&client->dev, "tps6586x requires platform data\n");
client            517 drivers/mfd/tps6586x.c 	version = i2c_smbus_read_byte_data(client, TPS6586X_VERSIONCRC);
client            519 drivers/mfd/tps6586x.c 		dev_err(&client->dev, "Chip ID read failed: %d\n", version);
client            523 drivers/mfd/tps6586x.c 	tps6586x = devm_kzalloc(&client->dev, sizeof(*tps6586x), GFP_KERNEL);
client            528 drivers/mfd/tps6586x.c 	tps6586x_print_version(client, tps6586x->version);
client            530 drivers/mfd/tps6586x.c 	tps6586x->client = client;
client            531 drivers/mfd/tps6586x.c 	tps6586x->dev = &client->dev;
client            532 drivers/mfd/tps6586x.c 	i2c_set_clientdata(client, tps6586x);
client            534 drivers/mfd/tps6586x.c 	tps6586x->regmap = devm_regmap_init_i2c(client,
client            538 drivers/mfd/tps6586x.c 		dev_err(&client->dev, "regmap init failed: %d\n", ret);
client            543 drivers/mfd/tps6586x.c 	if (client->irq) {
client            544 drivers/mfd/tps6586x.c 		ret = tps6586x_irq_init(tps6586x, client->irq,
client            547 drivers/mfd/tps6586x.c 			dev_err(&client->dev, "IRQ init failed: %d\n", ret);
client            556 drivers/mfd/tps6586x.c 		dev_err(&client->dev, "mfd_add_devices failed: %d\n", ret);
client            562 drivers/mfd/tps6586x.c 		dev_err(&client->dev, "add devices failed: %d\n", ret);
client            567 drivers/mfd/tps6586x.c 		tps6586x_dev = &client->dev;
client            576 drivers/mfd/tps6586x.c 	if (client->irq)
client            577 drivers/mfd/tps6586x.c 		free_irq(client->irq, tps6586x);
client            581 drivers/mfd/tps6586x.c static int tps6586x_i2c_remove(struct i2c_client *client)
client            583 drivers/mfd/tps6586x.c 	struct tps6586x *tps6586x = i2c_get_clientdata(client);
client            587 drivers/mfd/tps6586x.c 	if (client->irq)
client            588 drivers/mfd/tps6586x.c 		free_irq(client->irq, tps6586x);
client            596 drivers/mfd/tps6586x.c 	if (tps6586x->client->irq)
client            597 drivers/mfd/tps6586x.c 		disable_irq(tps6586x->client->irq);
client            606 drivers/mfd/tps6586x.c 	if (tps6586x->client->irq)
client            607 drivers/mfd/tps6586x.c 		enable_irq(tps6586x->client->irq);
client            371 drivers/mfd/tps65910.c static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client,
client            374 drivers/mfd/tps65910.c 	struct device_node *np = client->dev.of_node;
client            380 drivers/mfd/tps65910.c 	match = of_match_device(tps65910_of_match, &client->dev);
client            382 drivers/mfd/tps65910.c 		dev_err(&client->dev, "Failed to find matching dt id\n");
client            388 drivers/mfd/tps65910.c 	board_info = devm_kzalloc(&client->dev, sizeof(*board_info),
client            416 drivers/mfd/tps65910.c 	board_info->irq = client->irq;
client            425 drivers/mfd/tps65910.c struct tps65910_board *tps65910_parse_dt(struct i2c_client *client,
client             32 drivers/mfd/tps65912-i2c.c static int tps65912_i2c_probe(struct i2c_client *client,
client             37 drivers/mfd/tps65912-i2c.c 	tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL);
client             41 drivers/mfd/tps65912-i2c.c 	i2c_set_clientdata(client, tps);
client             42 drivers/mfd/tps65912-i2c.c 	tps->dev = &client->dev;
client             43 drivers/mfd/tps65912-i2c.c 	tps->irq = client->irq;
client             45 drivers/mfd/tps65912-i2c.c 	tps->regmap = devm_regmap_init_i2c(client, &tps65912_regmap_config);
client             54 drivers/mfd/tps65912-i2c.c static int tps65912_i2c_remove(struct i2c_client *client)
client             56 drivers/mfd/tps65912-i2c.c 	struct tps65912 *tps = i2c_get_clientdata(client);
client             54 drivers/mfd/tps68470.c static int tps68470_probe(struct i2c_client *client)
client             56 drivers/mfd/tps68470.c 	struct device *dev = &client->dev;
client             60 drivers/mfd/tps68470.c 	regmap = devm_regmap_init_i2c(client, &tps68470_regmap_config);
client             67 drivers/mfd/tps68470.c 	i2c_set_clientdata(client, regmap);
client            417 drivers/mfd/tps80031.c static int tps80031_probe(struct i2c_client *client,
client            420 drivers/mfd/tps80031.c 	struct tps80031_platform_data *pdata = dev_get_platdata(&client->dev);
client            428 drivers/mfd/tps80031.c 		dev_err(&client->dev, "tps80031 requires platform data\n");
client            432 drivers/mfd/tps80031.c 	tps80031 = devm_kzalloc(&client->dev, sizeof(*tps80031), GFP_KERNEL);
client            437 drivers/mfd/tps80031.c 		if (tps80031_slave_address[i] == client->addr)
client            438 drivers/mfd/tps80031.c 			tps80031->clients[i] = client;
client            440 drivers/mfd/tps80031.c 			tps80031->clients[i] = devm_i2c_new_dummy_device(&client->dev,
client            441 drivers/mfd/tps80031.c 						client->adapter, tps80031_slave_address[i]);
client            443 drivers/mfd/tps80031.c 			dev_err(&client->dev, "can't attach client %d\n", i);
client            452 drivers/mfd/tps80031.c 			dev_err(&client->dev,
client            458 drivers/mfd/tps80031.c 	ret = tps80031_read(&client->dev, TPS80031_SLAVE_ID3,
client            461 drivers/mfd/tps80031.c 		dev_err(&client->dev,
client            466 drivers/mfd/tps80031.c 	ret = tps80031_read(&client->dev, TPS80031_SLAVE_ID3,
client            469 drivers/mfd/tps80031.c 		dev_err(&client->dev,
client            474 drivers/mfd/tps80031.c 	dev_info(&client->dev, "ES version 0x%02x and EPROM version 0x%02x\n",
client            477 drivers/mfd/tps80031.c 	tps80031->dev = &client->dev;
client            478 drivers/mfd/tps80031.c 	i2c_set_clientdata(client, tps80031);
client            481 drivers/mfd/tps80031.c 	ret = tps80031_irq_init(tps80031, client->irq, pdata->irq_base);
client            483 drivers/mfd/tps80031.c 		dev_err(&client->dev, "IRQ init failed: %d\n", ret);
client            496 drivers/mfd/tps80031.c 		dev_err(&client->dev, "mfd_add_devices failed: %d\n", ret);
client            507 drivers/mfd/tps80031.c 	regmap_del_irq_chip(client->irq, tps80031->irq_data);
client            139 drivers/mfd/twl-core.c 	struct i2c_client *client;
client            614 drivers/mfd/twl-core.c 	pdev->dev.parent = &twl->client->dev;
client            647 drivers/mfd/twl-core.c 	dev_err(&twl->client->dev, "failed to add device %s\n", name);
client           1036 drivers/mfd/twl-core.c static int twl_remove(struct i2c_client *client)
client           1053 drivers/mfd/twl-core.c 		if (twl->client && twl->client != client)
client           1054 drivers/mfd/twl-core.c 			i2c_unregister_device(twl->client);
client           1055 drivers/mfd/twl-core.c 		twl->client = NULL;
client           1068 drivers/mfd/twl-core.c twl_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1070 drivers/mfd/twl-core.c 	struct twl4030_platform_data	*pdata = dev_get_platdata(&client->dev);
client           1071 drivers/mfd/twl-core.c 	struct device_node		*node = client->dev.of_node;
client           1079 drivers/mfd/twl-core.c 		dev_err(&client->dev, "no platform data\n");
client           1084 drivers/mfd/twl-core.c 		dev_dbg(&client->dev, "only one instance of %s allowed\n",
client           1091 drivers/mfd/twl-core.c 		dev_err(&client->dev, "can't alloc pdev\n");
client           1101 drivers/mfd/twl-core.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C) == 0) {
client           1102 drivers/mfd/twl-core.c 		dev_dbg(&client->dev, "can't talk I2C?\n");
client           1107 drivers/mfd/twl-core.c 	twl_priv = devm_kzalloc(&client->dev, sizeof(struct twl_private),
client           1129 drivers/mfd/twl-core.c 	twl_priv->twl_modules = devm_kcalloc(&client->dev,
client           1142 drivers/mfd/twl-core.c 			twl->client = client;
client           1144 drivers/mfd/twl-core.c 			twl->client = i2c_new_dummy_device(client->adapter,
client           1145 drivers/mfd/twl-core.c 						    client->addr + i);
client           1146 drivers/mfd/twl-core.c 			if (IS_ERR(twl->client)) {
client           1147 drivers/mfd/twl-core.c 				dev_err(&client->dev,
client           1149 drivers/mfd/twl-core.c 				status = PTR_ERR(twl->client);
client           1154 drivers/mfd/twl-core.c 		twl->regmap = devm_regmap_init_i2c(twl->client,
client           1158 drivers/mfd/twl-core.c 			dev_err(&client->dev,
client           1168 drivers/mfd/twl-core.c 	clocks_init(&client->dev, pdata ? pdata->clock : NULL);
client           1177 drivers/mfd/twl-core.c 	if (client->irq) {
client           1180 drivers/mfd/twl-core.c 			irq_base = twl4030_init_irq(&client->dev, client->irq);
client           1182 drivers/mfd/twl-core.c 			irq_base = twl6030_init_irq(&client->dev, client->irq);
client           1220 drivers/mfd/twl-core.c 					      &client->dev);
client           1227 drivers/mfd/twl-core.c 		twl_remove(client);
client           1237 drivers/mfd/twl-core.c 	struct i2c_client *client = to_i2c_client(dev);
client           1239 drivers/mfd/twl-core.c 	if (client->irq)
client           1240 drivers/mfd/twl-core.c 		disable_irq(client->irq);
client           1247 drivers/mfd/twl-core.c 	struct i2c_client *client = to_i2c_client(dev);
client           1249 drivers/mfd/twl-core.c 	if (client->irq)
client           1250 drivers/mfd/twl-core.c 		enable_irq(client->irq);
client            636 drivers/mfd/twl6040.c static int twl6040_probe(struct i2c_client *client,
client            639 drivers/mfd/twl6040.c 	struct device_node *node = client->dev.of_node;
client            645 drivers/mfd/twl6040.c 		dev_err(&client->dev, "of node is missing\n");
client            650 drivers/mfd/twl6040.c 	if (!client->irq) {
client            651 drivers/mfd/twl6040.c 		dev_err(&client->dev, "Invalid IRQ configuration\n");
client            655 drivers/mfd/twl6040.c 	twl6040 = devm_kzalloc(&client->dev, sizeof(struct twl6040),
client            660 drivers/mfd/twl6040.c 	twl6040->regmap = devm_regmap_init_i2c(client, &twl6040_regmap_config);
client            664 drivers/mfd/twl6040.c 	i2c_set_clientdata(client, twl6040);
client            666 drivers/mfd/twl6040.c 	twl6040->clk32k = devm_clk_get(&client->dev, "clk32k");
client            670 drivers/mfd/twl6040.c 		dev_dbg(&client->dev, "clk32k is not handled\n");
client            674 drivers/mfd/twl6040.c 	twl6040->mclk = devm_clk_get(&client->dev, "mclk");
client            678 drivers/mfd/twl6040.c 		dev_dbg(&client->dev, "mclk is not handled\n");
client            684 drivers/mfd/twl6040.c 	ret = devm_regulator_bulk_get(&client->dev, TWL6040_NUM_SUPPLIES,
client            687 drivers/mfd/twl6040.c 		dev_err(&client->dev, "Failed to get supplies: %d\n", ret);
client            693 drivers/mfd/twl6040.c 		dev_err(&client->dev, "Failed to enable supplies: %d\n", ret);
client            697 drivers/mfd/twl6040.c 	twl6040->dev = &client->dev;
client            698 drivers/mfd/twl6040.c 	twl6040->irq = client->irq;
client            708 drivers/mfd/twl6040.c 		dev_err(&client->dev, "Failed to read revision register: %d\n",
client            722 drivers/mfd/twl6040.c 		ret = devm_gpio_request_one(&client->dev, twl6040->audpwron,
client            797 drivers/mfd/twl6040.c 	ret = mfd_add_devices(&client->dev, -1, twl6040->cells, children,
client            811 drivers/mfd/twl6040.c static int twl6040_remove(struct i2c_client *client)
client            813 drivers/mfd/twl6040.c 	struct twl6040 *twl6040 = i2c_get_clientdata(client);
client            820 drivers/mfd/twl6040.c 	mfd_remove_devices(&client->dev);
client             23 drivers/mfd/wl1273-core.c 	struct i2c_client *client = core->client;
client             27 drivers/mfd/wl1273-core.c 	r = i2c_smbus_read_i2c_block_data(client, reg, sizeof(b), b);
client             29 drivers/mfd/wl1273-core.c 		dev_err(&client->dev, "%s: Read: %d fails.\n", __func__, reg);
client             40 drivers/mfd/wl1273-core.c 	struct i2c_client *client = core->client;
client             44 drivers/mfd/wl1273-core.c 	r = i2c_smbus_write_i2c_block_data(client, cmd, sizeof(buf), buf);
client             46 drivers/mfd/wl1273-core.c 		dev_err(&client->dev, "%s: Cmd: %d fails.\n", __func__, cmd);
client             55 drivers/mfd/wl1273-core.c 	struct i2c_client *client = core->client;
client             59 drivers/mfd/wl1273-core.c 	msg.addr = client->addr;
client             64 drivers/mfd/wl1273-core.c 	r = i2c_transfer(client->adapter, &msg, 1);
client             66 drivers/mfd/wl1273-core.c 		dev_err(&client->dev, "%s: write error.\n", __func__);
client            159 drivers/mfd/wl1273-core.c static int wl1273_core_probe(struct i2c_client *client,
client            162 drivers/mfd/wl1273-core.c 	struct wl1273_fm_platform_data *pdata = dev_get_platdata(&client->dev);
client            168 drivers/mfd/wl1273-core.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            171 drivers/mfd/wl1273-core.c 		dev_err(&client->dev, "No platform data.\n");
client            176 drivers/mfd/wl1273-core.c 		dev_err(&client->dev, "Cannot function without radio child.\n");
client            180 drivers/mfd/wl1273-core.c 	core = devm_kzalloc(&client->dev, sizeof(*core), GFP_KERNEL);
client            185 drivers/mfd/wl1273-core.c 	core->client = client;
client            188 drivers/mfd/wl1273-core.c 	i2c_set_clientdata(client, core);
client            190 drivers/mfd/wl1273-core.c 	dev_dbg(&client->dev, "%s: Have V4L2.\n", __func__);
client            207 drivers/mfd/wl1273-core.c 		dev_dbg(&client->dev, "%s: Have codec.\n", __func__);
client            214 drivers/mfd/wl1273-core.c 	dev_dbg(&client->dev, "%s: number of children: %d.\n",
client            217 drivers/mfd/wl1273-core.c 	r = devm_mfd_add_devices(&client->dev, -1, core->cells,
client            227 drivers/mfd/wl1273-core.c 	dev_dbg(&client->dev, "%s\n", __func__);
client             14 drivers/misc/ad525x_dpot-i2c.c static int write_d8(void *client, u8 val)
client             16 drivers/misc/ad525x_dpot-i2c.c 	return i2c_smbus_write_byte(client, val);
client             19 drivers/misc/ad525x_dpot-i2c.c static int write_r8d8(void *client, u8 reg, u8 val)
client             21 drivers/misc/ad525x_dpot-i2c.c 	return i2c_smbus_write_byte_data(client, reg, val);
client             24 drivers/misc/ad525x_dpot-i2c.c static int write_r8d16(void *client, u8 reg, u16 val)
client             26 drivers/misc/ad525x_dpot-i2c.c 	return i2c_smbus_write_word_data(client, reg, val);
client             29 drivers/misc/ad525x_dpot-i2c.c static int read_d8(void *client)
client             31 drivers/misc/ad525x_dpot-i2c.c 	return i2c_smbus_read_byte(client);
client             34 drivers/misc/ad525x_dpot-i2c.c static int read_r8d8(void *client, u8 reg)
client             36 drivers/misc/ad525x_dpot-i2c.c 	return i2c_smbus_read_byte_data(client, reg);
client             39 drivers/misc/ad525x_dpot-i2c.c static int read_r8d16(void *client, u8 reg)
client             41 drivers/misc/ad525x_dpot-i2c.c 	return i2c_smbus_read_word_data(client, reg);
client             53 drivers/misc/ad525x_dpot-i2c.c static int ad_dpot_i2c_probe(struct i2c_client *client,
client             57 drivers/misc/ad525x_dpot-i2c.c 		.client = client,
client             61 drivers/misc/ad525x_dpot-i2c.c 	if (!i2c_check_functionality(client->adapter,
client             63 drivers/misc/ad525x_dpot-i2c.c 		dev_err(&client->dev, "SMBUS Word Data not Supported\n");
client             67 drivers/misc/ad525x_dpot-i2c.c 	return ad_dpot_probe(&client->dev, &bdata, id->driver_data, id->name);
client             70 drivers/misc/ad525x_dpot-i2c.c static int ad_dpot_i2c_remove(struct i2c_client *client)
client             72 drivers/misc/ad525x_dpot-i2c.c 	return ad_dpot_remove(&client->dev);
client             14 drivers/misc/ad525x_dpot-spi.c static int write8(void *client, u8 val)
client             18 drivers/misc/ad525x_dpot-spi.c 	return spi_write(client, &data, 1);
client             21 drivers/misc/ad525x_dpot-spi.c static int write16(void *client, u8 reg, u8 val)
client             25 drivers/misc/ad525x_dpot-spi.c 	return spi_write(client, data, 2);
client             28 drivers/misc/ad525x_dpot-spi.c static int write24(void *client, u8 reg, u16 val)
client             32 drivers/misc/ad525x_dpot-spi.c 	return spi_write(client, data, 3);
client             35 drivers/misc/ad525x_dpot-spi.c static int read8(void *client)
client             40 drivers/misc/ad525x_dpot-spi.c 	ret = spi_read(client, &data, 1);
client             47 drivers/misc/ad525x_dpot-spi.c static int read16(void *client, u8 reg)
client             52 drivers/misc/ad525x_dpot-spi.c 	write16(client, reg, 0);
client             53 drivers/misc/ad525x_dpot-spi.c 	ret = spi_read(client, buf_rx, 2);
client             60 drivers/misc/ad525x_dpot-spi.c static int read24(void *client, u8 reg)
client             65 drivers/misc/ad525x_dpot-spi.c 	write24(client, reg, 0);
client             66 drivers/misc/ad525x_dpot-spi.c 	ret = spi_read(client, buf_rx, 3);
client             84 drivers/misc/ad525x_dpot-spi.c 		.client = spi,
client             98 drivers/misc/ad525x_dpot.c 	return dpot->bdata.bops->read_d8(dpot->bdata.client);
client            103 drivers/misc/ad525x_dpot.c 	return dpot->bdata.bops->read_r8d8(dpot->bdata.client, reg);
client            108 drivers/misc/ad525x_dpot.c 	return dpot->bdata.bops->read_r8d16(dpot->bdata.client, reg);
client            113 drivers/misc/ad525x_dpot.c 	return dpot->bdata.bops->write_d8(dpot->bdata.client, val);
client            118 drivers/misc/ad525x_dpot.c 	return dpot->bdata.bops->write_r8d8(dpot->bdata.client, reg, val);
client            123 drivers/misc/ad525x_dpot.c 	return dpot->bdata.bops->write_r8d16(dpot->bdata.client, reg, val);
client            197 drivers/misc/ad525x_dpot.h 	int (*read_d8)(void *client);
client            198 drivers/misc/ad525x_dpot.h 	int (*read_r8d8)(void *client, u8 reg);
client            199 drivers/misc/ad525x_dpot.h 	int (*read_r8d16)(void *client, u8 reg);
client            200 drivers/misc/ad525x_dpot.h 	int (*write_d8)(void *client, u8 val);
client            201 drivers/misc/ad525x_dpot.h 	int (*write_r8d8)(void *client, u8 reg, u8 val);
client            202 drivers/misc/ad525x_dpot.h 	int (*write_r8d16)(void *client, u8 reg, u16 val);
client            206 drivers/misc/ad525x_dpot.h 	void *client;
client             35 drivers/misc/apds9802als.c 	struct i2c_client *client = to_i2c_client(dev);
client             38 drivers/misc/apds9802als.c 	val = i2c_smbus_read_byte_data(client, 0x81);
client             49 drivers/misc/apds9802als.c 	struct i2c_client *client = to_i2c_client(dev);
client             55 drivers/misc/apds9802als.c 		ret = i2c_smbus_read_byte_data(client, 0x86);
client             69 drivers/misc/apds9802als.c 	struct i2c_client *client = to_i2c_client(dev);
client             70 drivers/misc/apds9802als.c 	struct als_data *data = i2c_get_clientdata(client);
client             79 drivers/misc/apds9802als.c 	i2c_smbus_write_byte(client, 0x40);
client             81 drivers/misc/apds9802als.c 	temp = i2c_smbus_read_byte_data(client, 0x81);
client             82 drivers/misc/apds9802als.c 	i2c_smbus_write_byte_data(client, 0x81, temp | 0x08);
client             88 drivers/misc/apds9802als.c 	temp = i2c_smbus_read_byte_data(client, 0x8C); /* LSB data */
client             93 drivers/misc/apds9802als.c 	ret_val = i2c_smbus_read_byte_data(client, 0x8D); /* MSB data */
client            111 drivers/misc/apds9802als.c 	struct i2c_client *client = to_i2c_client(dev);
client            112 drivers/misc/apds9802als.c 	struct als_data *data = i2c_get_clientdata(client);
client            133 drivers/misc/apds9802als.c 	ret_val = i2c_smbus_read_byte_data(client, 0x81);
client            145 drivers/misc/apds9802als.c 	ret_val = i2c_smbus_write_byte_data(client, 0x81, ret_val);
client            159 drivers/misc/apds9802als.c static int als_set_power_state(struct i2c_client *client, bool on_off)
client            162 drivers/misc/apds9802als.c 	struct als_data *data = i2c_get_clientdata(client);
client            165 drivers/misc/apds9802als.c 	ret_val = i2c_smbus_read_byte_data(client, 0x80);
client            172 drivers/misc/apds9802als.c 	ret_val = i2c_smbus_write_byte_data(client, 0x80, ret_val);
client            193 drivers/misc/apds9802als.c static int als_set_default_config(struct i2c_client *client)
client            197 drivers/misc/apds9802als.c 	ret_val = i2c_smbus_write_byte_data(client, 0x80, 0x01);
client            199 drivers/misc/apds9802als.c 		dev_err(&client->dev, "failed default switch on write\n");
client            203 drivers/misc/apds9802als.c 	ret_val = i2c_smbus_write_byte_data(client, 0x81, 0x08);
client            205 drivers/misc/apds9802als.c 		dev_err(&client->dev, "failed default LUX on write\n");
client            210 drivers/misc/apds9802als.c 	als_wait_for_data_ready(&client->dev);
client            215 drivers/misc/apds9802als.c static int apds9802als_probe(struct i2c_client *client,
client            223 drivers/misc/apds9802als.c 		dev_err(&client->dev, "Memory allocation failed\n");
client            226 drivers/misc/apds9802als.c 	i2c_set_clientdata(client, data);
client            227 drivers/misc/apds9802als.c 	res = sysfs_create_group(&client->dev.kobj, &m_als_gr);
client            229 drivers/misc/apds9802als.c 		dev_err(&client->dev, "device create file failed\n");
client            232 drivers/misc/apds9802als.c 	dev_info(&client->dev, "ALS chip found\n");
client            233 drivers/misc/apds9802als.c 	als_set_default_config(client);
client            236 drivers/misc/apds9802als.c 	pm_runtime_set_active(&client->dev);
client            237 drivers/misc/apds9802als.c 	pm_runtime_enable(&client->dev);
client            245 drivers/misc/apds9802als.c static int apds9802als_remove(struct i2c_client *client)
client            247 drivers/misc/apds9802als.c 	struct als_data *data = i2c_get_clientdata(client);
client            249 drivers/misc/apds9802als.c 	pm_runtime_get_sync(&client->dev);
client            251 drivers/misc/apds9802als.c 	als_set_power_state(client, false);
client            252 drivers/misc/apds9802als.c 	sysfs_remove_group(&client->dev.kobj, &m_als_gr);
client            254 drivers/misc/apds9802als.c 	pm_runtime_disable(&client->dev);
client            255 drivers/misc/apds9802als.c 	pm_runtime_set_suspended(&client->dev);
client            256 drivers/misc/apds9802als.c 	pm_runtime_put_noidle(&client->dev);
client            266 drivers/misc/apds9802als.c 	struct i2c_client *client = to_i2c_client(dev);
client            268 drivers/misc/apds9802als.c 	als_set_power_state(client, false);
client            274 drivers/misc/apds9802als.c 	struct i2c_client *client = to_i2c_client(dev);
client            276 drivers/misc/apds9802als.c 	als_set_power_state(client, true);
client            114 drivers/misc/apds990x.c 	struct i2c_client		*client;
client            188 drivers/misc/apds990x.c 	struct i2c_client *client = chip->client;
client            194 drivers/misc/apds990x.c 	ret = i2c_smbus_read_byte_data(client, reg);
client            201 drivers/misc/apds990x.c 	struct i2c_client *client = chip->client;
client            207 drivers/misc/apds990x.c 	ret = i2c_smbus_read_word_data(client, reg);
client            214 drivers/misc/apds990x.c 	struct i2c_client *client = chip->client;
client            220 drivers/misc/apds990x.c 	ret = i2c_smbus_write_byte_data(client, reg, data);
client            226 drivers/misc/apds990x.c 	struct i2c_client *client = chip->client;
client            232 drivers/misc/apds990x.c 	ret = i2c_smbus_write_word_data(client, reg, data);
client            324 drivers/misc/apds990x.c 	if (pm_runtime_suspended(&chip->client->dev))
client            348 drivers/misc/apds990x.c 	if (pm_runtime_suspended(&chip->client->dev))
client            454 drivers/misc/apds990x.c 	struct i2c_client *client = chip->client;
client            470 drivers/misc/apds990x.c 	ret = i2c_smbus_read_byte_data(client, reg);
client            483 drivers/misc/apds990x.c 	if (!pm_runtime_suspended(&chip->client->dev)) {
client            501 drivers/misc/apds990x.c 				sysfs_notify(&chip->client->dev.kobj,
client            528 drivers/misc/apds990x.c 			sysfs_notify(&chip->client->dev.kobj,
client            568 drivers/misc/apds990x.c 	struct i2c_client *client = chip->client;
client            574 drivers/misc/apds990x.c 		dev_err(&client->dev, "ID read failed\n");
client            580 drivers/misc/apds990x.c 		dev_err(&client->dev, "REV read failed\n");
client            734 drivers/misc/apds990x.c 	if (pm_runtime_suspended(&chip->client->dev))
client           1054 drivers/misc/apds990x.c static int apds990x_probe(struct i2c_client *client,
client           1064 drivers/misc/apds990x.c 	i2c_set_clientdata(client, chip);
client           1065 drivers/misc/apds990x.c 	chip->client  = client;
client           1069 drivers/misc/apds990x.c 	chip->pdata	= client->dev.platform_data;
client           1072 drivers/misc/apds990x.c 		dev_err(&client->dev, "platform data is mandatory\n");
client           1118 drivers/misc/apds990x.c 	err = regulator_bulk_get(&client->dev,
client           1121 drivers/misc/apds990x.c 		dev_err(&client->dev, "Cannot get regulators\n");
client           1127 drivers/misc/apds990x.c 		dev_err(&client->dev, "Cannot enable regulators\n");
client           1135 drivers/misc/apds990x.c 		dev_err(&client->dev, "APDS990X not found\n");
client           1139 drivers/misc/apds990x.c 	pm_runtime_set_active(&client->dev);
client           1145 drivers/misc/apds990x.c 	pm_runtime_enable(&client->dev);
client           1155 drivers/misc/apds990x.c 	err = sysfs_create_group(&chip->client->dev.kobj,
client           1158 drivers/misc/apds990x.c 		dev_err(&chip->client->dev, "Sysfs registration failed\n");
client           1162 drivers/misc/apds990x.c 	err = request_threaded_irq(client->irq, NULL,
client           1168 drivers/misc/apds990x.c 		dev_err(&client->dev, "could not get IRQ %d\n",
client           1169 drivers/misc/apds990x.c 			client->irq);
client           1174 drivers/misc/apds990x.c 	sysfs_remove_group(&chip->client->dev.kobj,
client           1188 drivers/misc/apds990x.c static int apds990x_remove(struct i2c_client *client)
client           1190 drivers/misc/apds990x.c 	struct apds990x_chip *chip = i2c_get_clientdata(client);
client           1192 drivers/misc/apds990x.c 	free_irq(client->irq, chip);
client           1193 drivers/misc/apds990x.c 	sysfs_remove_group(&chip->client->dev.kobj,
client           1199 drivers/misc/apds990x.c 	if (!pm_runtime_suspended(&client->dev))
client           1202 drivers/misc/apds990x.c 	pm_runtime_disable(&client->dev);
client           1203 drivers/misc/apds990x.c 	pm_runtime_set_suspended(&client->dev);
client           1214 drivers/misc/apds990x.c 	struct i2c_client *client = to_i2c_client(dev);
client           1215 drivers/misc/apds990x.c 	struct apds990x_chip *chip = i2c_get_clientdata(client);
client           1223 drivers/misc/apds990x.c 	struct i2c_client *client = to_i2c_client(dev);
client           1224 drivers/misc/apds990x.c 	struct apds990x_chip *chip = i2c_get_clientdata(client);
client           1239 drivers/misc/apds990x.c 	struct i2c_client *client = to_i2c_client(dev);
client           1240 drivers/misc/apds990x.c 	struct apds990x_chip *chip = i2c_get_clientdata(client);
client           1248 drivers/misc/apds990x.c 	struct i2c_client *client = to_i2c_client(dev);
client           1249 drivers/misc/apds990x.c 	struct apds990x_chip *chip = i2c_get_clientdata(client);
client            124 drivers/misc/bh1770glc.c 	struct i2c_client		*client;
client            184 drivers/misc/bh1770glc.c 	return i2c_smbus_write_byte_data(chip->client,
client            193 drivers/misc/bh1770glc.c 	return i2c_smbus_write_byte_data(chip->client,
client            202 drivers/misc/bh1770glc.c 	if (pm_runtime_suspended(&chip->client->dev))
client            209 drivers/misc/bh1770glc.c 	return i2c_smbus_write_byte_data(chip->client,
client            221 drivers/misc/bh1770glc.c 	return i2c_smbus_write_byte_data(chip->client,
client            230 drivers/misc/bh1770glc.c 	return i2c_smbus_write_byte_data(chip->client,
client            276 drivers/misc/bh1770glc.c 	if (pm_runtime_suspended(&chip->client->dev))
client            282 drivers/misc/bh1770glc.c 	return	i2c_smbus_write_byte_data(chip->client, BH1770_PS_TH_LED1,
client            307 drivers/misc/bh1770glc.c 	if (pm_runtime_suspended(&chip->client->dev))
client            333 drivers/misc/bh1770glc.c 	ret = i2c_smbus_write_i2c_block_data(chip->client,
client            345 drivers/misc/bh1770glc.c 	ret = i2c_smbus_read_byte_data(chip->client, BH1770_ALS_DATA_0);
client            350 drivers/misc/bh1770glc.c 	ret = i2c_smbus_read_byte_data(chip->client, BH1770_ALS_DATA_1);
client            392 drivers/misc/bh1770glc.c 	i2c_smbus_write_byte_data(chip->client, BH1770_ALS_CONTROL,
client            403 drivers/misc/bh1770glc.c 	ret = i2c_smbus_write_byte_data(chip->client,
client            415 drivers/misc/bh1770glc.c 	i2c_smbus_write_byte_data(chip->client,
client            417 drivers/misc/bh1770glc.c 	i2c_smbus_write_byte_data(chip->client,
client            419 drivers/misc/bh1770glc.c 	i2c_smbus_write_byte_data(chip->client,
client            435 drivers/misc/bh1770glc.c 		i2c_smbus_write_byte_data(chip->client,
client            441 drivers/misc/bh1770glc.c 		i2c_smbus_write_byte_data(chip->client,
client            454 drivers/misc/bh1770glc.c 	ret = i2c_smbus_read_byte_data(chip->client, BH1770_PS_DATA_LED1);
client            499 drivers/misc/bh1770glc.c 		sysfs_notify(&chip->client->dev.kobj, NULL, "prox0_raw");
client            507 drivers/misc/bh1770glc.c 	struct i2c_client *client = chip->client;
client            511 drivers/misc/bh1770glc.c 	ret = i2c_smbus_read_byte_data(client, BH1770_MANUFACT_ID);
client            516 drivers/misc/bh1770glc.c 	ret = i2c_smbus_read_byte_data(client, BH1770_PART_ID);
client            543 drivers/misc/bh1770glc.c 	dev_dbg(&client->dev, "BH1770 or SFH7770 not found\n");
client            575 drivers/misc/bh1770glc.c 	status = i2c_smbus_read_byte_data(chip->client, BH1770_ALS_PS_STATUS);
client            578 drivers/misc/bh1770glc.c 	i2c_smbus_read_byte_data(chip->client, BH1770_INTERRUPT);
client            596 drivers/misc/bh1770glc.c 	i2c_smbus_write_byte_data(chip->client, BH1770_INTERRUPT,
client            600 drivers/misc/bh1770glc.c 		sysfs_notify(&chip->client->dev.kobj, NULL, "lux0_input");
client            608 drivers/misc/bh1770glc.c 	i2c_smbus_write_byte_data(chip->client, BH1770_INTERRUPT,
client           1165 drivers/misc/bh1770glc.c static int bh1770_probe(struct i2c_client *client,
client           1171 drivers/misc/bh1770glc.c 	chip = devm_kzalloc(&client->dev, sizeof *chip, GFP_KERNEL);
client           1175 drivers/misc/bh1770glc.c 	i2c_set_clientdata(client, chip);
client           1176 drivers/misc/bh1770glc.c 	chip->client  = client;
client           1182 drivers/misc/bh1770glc.c 	if (client->dev.platform_data == NULL) {
client           1183 drivers/misc/bh1770glc.c 		dev_err(&client->dev, "platform data is mandatory\n");
client           1187 drivers/misc/bh1770glc.c 	chip->pdata		= client->dev.platform_data;
client           1209 drivers/misc/bh1770glc.c 	err = devm_regulator_bulk_get(&client->dev,
client           1212 drivers/misc/bh1770glc.c 		dev_err(&client->dev, "Cannot get regulators\n");
client           1219 drivers/misc/bh1770glc.c 		dev_err(&client->dev, "Cannot enable regulators\n");
client           1230 drivers/misc/bh1770glc.c 	pm_runtime_set_active(&client->dev);
client           1231 drivers/misc/bh1770glc.c 	pm_runtime_enable(&client->dev);
client           1235 drivers/misc/bh1770glc.c 		dev_err(&client->dev, "Improper correction values\n");
client           1248 drivers/misc/bh1770glc.c 	err = sysfs_create_group(&chip->client->dev.kobj,
client           1251 drivers/misc/bh1770glc.c 		dev_err(&chip->client->dev, "Sysfs registration failed\n");
client           1260 drivers/misc/bh1770glc.c 	err = request_threaded_irq(client->irq, NULL,
client           1266 drivers/misc/bh1770glc.c 		dev_err(&client->dev, "could not get IRQ %d\n",
client           1267 drivers/misc/bh1770glc.c 			client->irq);
client           1273 drivers/misc/bh1770glc.c 	sysfs_remove_group(&chip->client->dev.kobj,
client           1283 drivers/misc/bh1770glc.c static int bh1770_remove(struct i2c_client *client)
client           1285 drivers/misc/bh1770glc.c 	struct bh1770_chip *chip = i2c_get_clientdata(client);
client           1287 drivers/misc/bh1770glc.c 	free_irq(client->irq, chip);
client           1289 drivers/misc/bh1770glc.c 	sysfs_remove_group(&chip->client->dev.kobj,
client           1297 drivers/misc/bh1770glc.c 	if (!pm_runtime_suspended(&client->dev))
client           1300 drivers/misc/bh1770glc.c 	pm_runtime_disable(&client->dev);
client           1301 drivers/misc/bh1770glc.c 	pm_runtime_set_suspended(&client->dev);
client           1309 drivers/misc/bh1770glc.c 	struct i2c_client *client = to_i2c_client(dev);
client           1310 drivers/misc/bh1770glc.c 	struct bh1770_chip *chip = i2c_get_clientdata(client);
client           1319 drivers/misc/bh1770glc.c 	struct i2c_client *client = to_i2c_client(dev);
client           1320 drivers/misc/bh1770glc.c 	struct bh1770_chip *chip = i2c_get_clientdata(client);
client           1347 drivers/misc/bh1770glc.c 	struct i2c_client *client = to_i2c_client(dev);
client           1348 drivers/misc/bh1770glc.c 	struct bh1770_chip *chip = i2c_get_clientdata(client);
client           1357 drivers/misc/bh1770glc.c 	struct i2c_client *client = to_i2c_client(dev);
client           1358 drivers/misc/bh1770glc.c 	struct bh1770_chip *chip = i2c_get_clientdata(client);
client             58 drivers/misc/ds1682.c 	struct i2c_client *client = to_i2c_client(dev);
client             66 drivers/misc/ds1682.c 	rc = i2c_smbus_read_i2c_block_data(client, sattr->index, sattr->nr,
client             78 drivers/misc/ds1682.c 			rc = i2c_smbus_read_i2c_block_data(client, sattr->index,
client            101 drivers/misc/ds1682.c 	struct i2c_client *client = to_i2c_client(dev);
client            122 drivers/misc/ds1682.c 	rc = i2c_smbus_write_i2c_block_data(client, sattr->index, sattr->nr,
client            159 drivers/misc/ds1682.c 	struct i2c_client *client = kobj_to_i2c_client(kobj);
client            162 drivers/misc/ds1682.c 	dev_dbg(&client->dev, "ds1682_eeprom_read(p=%p, off=%lli, c=%zi)\n",
client            165 drivers/misc/ds1682.c 	rc = i2c_smbus_read_i2c_block_data(client, DS1682_REG_EEPROM + off,
client            177 drivers/misc/ds1682.c 	struct i2c_client *client = kobj_to_i2c_client(kobj);
client            179 drivers/misc/ds1682.c 	dev_dbg(&client->dev, "ds1682_eeprom_write(p=%p, off=%lli, c=%zi)\n",
client            183 drivers/misc/ds1682.c 	if (i2c_smbus_write_i2c_block_data(client, DS1682_REG_EEPROM + off,
client            203 drivers/misc/ds1682.c static int ds1682_probe(struct i2c_client *client,
client            208 drivers/misc/ds1682.c 	if (!i2c_check_functionality(client->adapter,
client            210 drivers/misc/ds1682.c 		dev_err(&client->dev, "i2c bus does not support the ds1682\n");
client            215 drivers/misc/ds1682.c 	rc = sysfs_create_group(&client->dev.kobj, &ds1682_group);
client            219 drivers/misc/ds1682.c 	rc = sysfs_create_bin_file(&client->dev.kobj, &ds1682_eeprom_attr);
client            226 drivers/misc/ds1682.c 	sysfs_remove_group(&client->dev.kobj, &ds1682_group);
client            231 drivers/misc/ds1682.c static int ds1682_remove(struct i2c_client *client)
client            233 drivers/misc/ds1682.c 	sysfs_remove_bin_file(&client->dev.kobj, &ds1682_eeprom_attr);
client            234 drivers/misc/ds1682.c 	sysfs_remove_group(&client->dev.kobj, &ds1682_group);
client             71 drivers/misc/eeprom/at24.c 	struct i2c_client *client;
client             98 drivers/misc/eeprom/at24.c 	struct at24_client client[];
client            257 drivers/misc/eeprom/at24.c 	return &at24->client[i];
client            262 drivers/misc/eeprom/at24.c 	return &at24->client[0].client->dev;
client            294 drivers/misc/eeprom/at24.c 	struct i2c_client *client;
client            300 drivers/misc/eeprom/at24.c 	client = at24_client->client;
client            315 drivers/misc/eeprom/at24.c 		dev_dbg(&client->dev, "read %zu@%d --> %d (%ld)\n",
client            357 drivers/misc/eeprom/at24.c 	struct i2c_client *client;
client            363 drivers/misc/eeprom/at24.c 	client = at24_client->client;
client            375 drivers/misc/eeprom/at24.c 		dev_dbg(&client->dev, "write %zu@%d --> %d (%ld)\n",
client            516 drivers/misc/eeprom/at24.c 	base_client = at24->client[0].client;
client            528 drivers/misc/eeprom/at24.c 	at24->client[index].client = dummy_client;
client            529 drivers/misc/eeprom/at24.c 	at24->client[index].regmap = regmap;
client            557 drivers/misc/eeprom/at24.c static int at24_probe(struct i2c_client *client)
client            563 drivers/misc/eeprom/at24.c 	struct device *dev = &client->dev;
client            572 drivers/misc/eeprom/at24.c 	i2c_fn_i2c = i2c_check_functionality(client->adapter, I2C_FUNC_I2C);
client            573 drivers/misc/eeprom/at24.c 	i2c_fn_block = i2c_check_functionality(client->adapter,
client            647 drivers/misc/eeprom/at24.c 	regmap = devm_regmap_init_i2c(client, &regmap_config);
client            651 drivers/misc/eeprom/at24.c 	at24 = devm_kzalloc(dev, struct_size(at24, client, num_addresses),
client            662 drivers/misc/eeprom/at24.c 	at24->client[0].client = client;
client            663 drivers/misc/eeprom/at24.c 	at24->client[0].regmap = regmap;
client            702 drivers/misc/eeprom/at24.c 	i2c_set_clientdata(client, at24);
client            720 drivers/misc/eeprom/at24.c 		 byte_len, client->name,
client            726 drivers/misc/eeprom/at24.c static int at24_remove(struct i2c_client *client)
client            728 drivers/misc/eeprom/at24.c 	pm_runtime_disable(&client->dev);
client            729 drivers/misc/eeprom/at24.c 	pm_runtime_set_suspended(&client->dev);
client             74 drivers/misc/eeprom/ee1004.c static ssize_t ee1004_eeprom_read(struct i2c_client *client, char *buf,
client             85 drivers/misc/eeprom/ee1004.c 	status = i2c_smbus_read_i2c_block_data_or_emulated(client, offset,
client             87 drivers/misc/eeprom/ee1004.c 	dev_dbg(&client->dev, "read %zu@%d --> %d\n", count, offset, status);
client             97 drivers/misc/eeprom/ee1004.c 	struct i2c_client *client = to_i2c_client(dev);
client            143 drivers/misc/eeprom/ee1004.c 		status = ee1004_eeprom_read(client, buf, off, count);
client            172 drivers/misc/eeprom/ee1004.c static int ee1004_probe(struct i2c_client *client,
client            179 drivers/misc/eeprom/ee1004.c 	if (!i2c_check_functionality(client->adapter,
client            182 drivers/misc/eeprom/ee1004.c 		if (i2c_check_functionality(client->adapter,
client            186 drivers/misc/eeprom/ee1004.c 		else if (i2c_check_functionality(client->adapter,
client            198 drivers/misc/eeprom/ee1004.c 			ee1004_set_page[cnr] = i2c_new_dummy_device(client->adapter,
client            201 drivers/misc/eeprom/ee1004.c 				dev_err(&client->dev,
client            208 drivers/misc/eeprom/ee1004.c 	} else if (i2c_adapter_id(client->adapter) !=
client            210 drivers/misc/eeprom/ee1004.c 		dev_err(&client->dev,
client            221 drivers/misc/eeprom/ee1004.c 	dev_dbg(&client->dev, "Currently selected page: %d\n",
client            226 drivers/misc/eeprom/ee1004.c 	err = sysfs_create_bin_file(&client->dev.kobj, &eeprom_attr);
client            230 drivers/misc/eeprom/ee1004.c 	dev_info(&client->dev,
client            234 drivers/misc/eeprom/ee1004.c 		dev_notice(&client->dev,
client            254 drivers/misc/eeprom/ee1004.c static int ee1004_remove(struct i2c_client *client)
client            258 drivers/misc/eeprom/ee1004.c 	sysfs_remove_bin_file(&client->dev.kobj, &eeprom_attr);
client             42 drivers/misc/eeprom/eeprom.c static void eeprom_update_client(struct i2c_client *client, u8 slice)
client             44 drivers/misc/eeprom/eeprom.c 	struct eeprom_data *data = i2c_get_clientdata(client);
client             51 drivers/misc/eeprom/eeprom.c 		dev_dbg(&client->dev, "Starting eeprom update, slice %u\n", slice);
client             53 drivers/misc/eeprom/eeprom.c 		if (i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_READ_I2C_BLOCK)) {
client             55 drivers/misc/eeprom/eeprom.c 				if (i2c_smbus_read_i2c_block_data(client, i,
client             61 drivers/misc/eeprom/eeprom.c 				int word = i2c_smbus_read_word_data(client, i);
client             79 drivers/misc/eeprom/eeprom.c 	struct i2c_client *client = to_i2c_client(kobj_to_dev(kobj));
client             80 drivers/misc/eeprom/eeprom.c 	struct eeprom_data *data = i2c_get_clientdata(client);
client             85 drivers/misc/eeprom/eeprom.c 		eeprom_update_client(client, slice);
client            118 drivers/misc/eeprom/eeprom.c static int eeprom_detect(struct i2c_client *client, struct i2c_board_info *info)
client            120 drivers/misc/eeprom/eeprom.c 	struct i2c_adapter *adapter = client->adapter;
client            125 drivers/misc/eeprom/eeprom.c 	if (!(adapter->class & I2C_CLASS_SPD) && client->addr >= 0x51)
client            144 drivers/misc/eeprom/eeprom.c static int eeprom_probe(struct i2c_client *client,
client            147 drivers/misc/eeprom/eeprom.c 	struct i2c_adapter *adapter = client->adapter;
client            150 drivers/misc/eeprom/eeprom.c 	data = devm_kzalloc(&client->dev, sizeof(struct eeprom_data),
client            156 drivers/misc/eeprom/eeprom.c 	i2c_set_clientdata(client, data);
client            162 drivers/misc/eeprom/eeprom.c 	if (client->addr == 0x57
client            166 drivers/misc/eeprom/eeprom.c 		name[0] = i2c_smbus_read_byte_data(client, 0x80);
client            167 drivers/misc/eeprom/eeprom.c 		name[1] = i2c_smbus_read_byte_data(client, 0x81);
client            168 drivers/misc/eeprom/eeprom.c 		name[2] = i2c_smbus_read_byte_data(client, 0x82);
client            169 drivers/misc/eeprom/eeprom.c 		name[3] = i2c_smbus_read_byte_data(client, 0x83);
client            172 drivers/misc/eeprom/eeprom.c 			dev_info(&client->dev, "Vaio EEPROM detected, "
client            179 drivers/misc/eeprom/eeprom.c 	return sysfs_create_bin_file(&client->dev.kobj, &eeprom_attr);
client            182 drivers/misc/eeprom/eeprom.c static int eeprom_remove(struct i2c_client *client)
client            184 drivers/misc/eeprom/eeprom.c 	sysfs_remove_bin_file(&client->dev.kobj, &eeprom_attr);
client            135 drivers/misc/eeprom/idt_89hpesx.c 	struct i2c_client *client;
client            306 drivers/misc/eeprom/idt_89hpesx.c 		sts = idt_smb_safe(write_byte, pdev->client, ccode,
client            338 drivers/misc/eeprom/idt_89hpesx.c 		sts = idt_smb_safe(read_byte, pdev->client, ccode);
client            374 drivers/misc/eeprom/idt_89hpesx.c 		sts = idt_smb_safe(write_word, pdev->client, ccode,
client            388 drivers/misc/eeprom/idt_89hpesx.c 		sts = idt_smb_safe(write_byte, pdev->client, ccode,
client            423 drivers/misc/eeprom/idt_89hpesx.c 		sts = idt_smb_safe(read_word, pdev->client, ccode);
client            438 drivers/misc/eeprom/idt_89hpesx.c 		sts = idt_smb_safe(read_byte, pdev->client, ccode);
client            467 drivers/misc/eeprom/idt_89hpesx.c 	return idt_smb_safe(write_block, pdev->client, ccode, seq->bytecnt,
client            491 drivers/misc/eeprom/idt_89hpesx.c 	sts = idt_smb_safe(read_block, pdev->client, ccode, seq->data);
client            524 drivers/misc/eeprom/idt_89hpesx.c 	return idt_smb_safe(write_i2c_block, pdev->client, ccode,
client            551 drivers/misc/eeprom/idt_89hpesx.c 	sts = idt_smb_safe(read_i2c_block, pdev->client, ccode,
client            578 drivers/misc/eeprom/idt_89hpesx.c 	struct device *dev = &pdev->client->dev;
client            650 drivers/misc/eeprom/idt_89hpesx.c 	struct device *dev = &pdev->client->dev;
client            752 drivers/misc/eeprom/idt_89hpesx.c 	struct device *dev = &pdev->client->dev;
client            817 drivers/misc/eeprom/idt_89hpesx.c 	struct device *dev = &pdev->client->dev;
client           1121 drivers/misc/eeprom/idt_89hpesx.c 	struct device *dev = &pdev->client->dev;
client           1172 drivers/misc/eeprom/idt_89hpesx.c static struct idt_89hpesx_dev *idt_create_pdev(struct i2c_client *client)
client           1177 drivers/misc/eeprom/idt_89hpesx.c 	pdev = devm_kmalloc(&client->dev, sizeof(struct idt_89hpesx_dev),
client           1183 drivers/misc/eeprom/idt_89hpesx.c 	pdev->client = client;
client           1184 drivers/misc/eeprom/idt_89hpesx.c 	i2c_set_clientdata(client, pdev);
client           1194 drivers/misc/eeprom/idt_89hpesx.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_PEC)) {
client           1196 drivers/misc/eeprom/idt_89hpesx.c 		client->flags |= I2C_CLIENT_PEC;
client           1211 drivers/misc/eeprom/idt_89hpesx.c 	i2c_set_clientdata(pdev->client, NULL);
client           1221 drivers/misc/eeprom/idt_89hpesx.c 	struct i2c_adapter *adapter = pdev->client->adapter;
client           1222 drivers/misc/eeprom/idt_89hpesx.c 	struct device *dev = &pdev->client->dev;
client           1285 drivers/misc/eeprom/idt_89hpesx.c 	struct device *dev = &pdev->client->dev;
client           1315 drivers/misc/eeprom/idt_89hpesx.c 	struct device *dev = &pdev->client->dev;
client           1354 drivers/misc/eeprom/idt_89hpesx.c 	struct device *dev = &pdev->client->dev;
client           1371 drivers/misc/eeprom/idt_89hpesx.c 	struct i2c_client *cli = pdev->client;
client           1396 drivers/misc/eeprom/idt_89hpesx.c static int idt_probe(struct i2c_client *client, const struct i2c_device_id *id)
client           1402 drivers/misc/eeprom/idt_89hpesx.c 	pdev = idt_create_pdev(client);
client           1435 drivers/misc/eeprom/idt_89hpesx.c static int idt_remove(struct i2c_client *client)
client           1437 drivers/misc/eeprom/idt_89hpesx.c 	struct idt_89hpesx_dev *pdev = i2c_get_clientdata(client);
client             54 drivers/misc/eeprom/max6875.c static void max6875_update_slice(struct i2c_client *client, int slice)
client             56 drivers/misc/eeprom/max6875.c 	struct max6875_data *data = i2c_get_clientdata(client);
client             70 drivers/misc/eeprom/max6875.c 		dev_dbg(&client->dev, "Starting update of slice %u\n", slice);
client             77 drivers/misc/eeprom/max6875.c 		if (i2c_smbus_write_byte_data(client, addr >> 8, addr & 0xFF)) {
client             78 drivers/misc/eeprom/max6875.c 			dev_err(&client->dev, "address set failed\n");
client             82 drivers/misc/eeprom/max6875.c 		if (i2c_check_functionality(client->adapter,
client             84 drivers/misc/eeprom/max6875.c 			if (i2c_smbus_read_i2c_block_data(client,
client             92 drivers/misc/eeprom/max6875.c 				j = i2c_smbus_read_byte(client);
client            110 drivers/misc/eeprom/max6875.c 	struct i2c_client *client = kobj_to_i2c_client(kobj);
client            111 drivers/misc/eeprom/max6875.c 	struct max6875_data *data = i2c_get_clientdata(client);
client            117 drivers/misc/eeprom/max6875.c 		max6875_update_slice(client, slice);
client            133 drivers/misc/eeprom/max6875.c static int max6875_probe(struct i2c_client *client,
client            136 drivers/misc/eeprom/max6875.c 	struct i2c_adapter *adapter = client->adapter;
client            145 drivers/misc/eeprom/max6875.c 	if (client->addr & 1)
client            153 drivers/misc/eeprom/max6875.c 	data->fake_client = i2c_new_dummy_device(client->adapter, client->addr + 1);
client            160 drivers/misc/eeprom/max6875.c 	i2c_set_clientdata(client, data);
client            163 drivers/misc/eeprom/max6875.c 	err = sysfs_create_bin_file(&client->dev.kobj, &user_eeprom_attr);
client            176 drivers/misc/eeprom/max6875.c static int max6875_remove(struct i2c_client *client)
client            178 drivers/misc/eeprom/max6875.c 	struct max6875_data *data = i2c_get_clientdata(client);
client            182 drivers/misc/eeprom/max6875.c 	sysfs_remove_bin_file(&client->dev.kobj, &user_eeprom_attr);
client            399 drivers/misc/genwqe/card_base.h 	struct genwqe_driver *client;
client            308 drivers/misc/genwqe/card_dev.c 	cfile->client = NULL;
client             66 drivers/misc/hmc6352.c 	struct i2c_client *client = to_i2c_client(dev);
client             71 drivers/misc/hmc6352.c 	ret = compass_command(client, 'A');
client             77 drivers/misc/hmc6352.c 	ret = i2c_master_recv(client, i2c_data, 2);
client            104 drivers/misc/hmc6352.c static int hmc6352_probe(struct i2c_client *client,
client            109 drivers/misc/hmc6352.c 	res = sysfs_create_group(&client->dev.kobj, &m_compass_gr);
client            111 drivers/misc/hmc6352.c 		dev_err(&client->dev, "device_create_file failed\n");
client            114 drivers/misc/hmc6352.c 	dev_info(&client->dev, "%s HMC6352 compass chip found\n",
client            115 drivers/misc/hmc6352.c 							client->name);
client            119 drivers/misc/hmc6352.c static int hmc6352_remove(struct i2c_client *client)
client            121 drivers/misc/hmc6352.c 	sysfs_remove_group(&client->dev.kobj, &m_compass_gr);
client             92 drivers/misc/ics932s401.c static int ics932s401_probe(struct i2c_client *client,
client             94 drivers/misc/ics932s401.c static int ics932s401_detect(struct i2c_client *client,
client             96 drivers/misc/ics932s401.c static int ics932s401_remove(struct i2c_client *client);
client            118 drivers/misc/ics932s401.c 	struct i2c_client *client = to_i2c_client(dev);
client            119 drivers/misc/ics932s401.c 	struct ics932s401_data *data = i2c_get_clientdata(client);
client            135 drivers/misc/ics932s401.c 		temp = i2c_smbus_read_word_data(client, regs_to_copy[i]);
client            403 drivers/misc/ics932s401.c static int ics932s401_detect(struct i2c_client *client,
client            406 drivers/misc/ics932s401.c 	struct i2c_adapter *adapter = client->adapter;
client            412 drivers/misc/ics932s401.c 	vendor = i2c_smbus_read_word_data(client, ICS932S401_REG_VENDOR_REV);
client            419 drivers/misc/ics932s401.c 	device = i2c_smbus_read_word_data(client, ICS932S401_REG_DEVICE);
client            432 drivers/misc/ics932s401.c static int ics932s401_probe(struct i2c_client *client,
client            444 drivers/misc/ics932s401.c 	i2c_set_clientdata(client, data);
client            447 drivers/misc/ics932s401.c 	dev_info(&client->dev, "%s chip found\n", client->name);
client            451 drivers/misc/ics932s401.c 	err = sysfs_create_group(&client->dev.kobj, &data->attrs);
client            463 drivers/misc/ics932s401.c static int ics932s401_remove(struct i2c_client *client)
client            465 drivers/misc/ics932s401.c 	struct ics932s401_data *data = i2c_get_clientdata(client);
client            467 drivers/misc/ics932s401.c 	sysfs_remove_group(&client->dev.kobj, &data->attrs);
client             50 drivers/misc/isl29003.c 	struct i2c_client *client;
client             64 drivers/misc/isl29003.c static int __isl29003_read_reg(struct i2c_client *client,
client             67 drivers/misc/isl29003.c 	struct isl29003_data *data = i2c_get_clientdata(client);
client             72 drivers/misc/isl29003.c static int __isl29003_write_reg(struct i2c_client *client,
client             75 drivers/misc/isl29003.c 	struct isl29003_data *data = i2c_get_clientdata(client);
client             88 drivers/misc/isl29003.c 	ret = i2c_smbus_write_byte_data(client, reg, tmp);
client            101 drivers/misc/isl29003.c static int isl29003_get_range(struct i2c_client *client)
client            103 drivers/misc/isl29003.c 	return __isl29003_read_reg(client, ISL29003_REG_CONTROL,
client            107 drivers/misc/isl29003.c static int isl29003_set_range(struct i2c_client *client, int range)
client            109 drivers/misc/isl29003.c 	return __isl29003_write_reg(client, ISL29003_REG_CONTROL,
client            114 drivers/misc/isl29003.c static int isl29003_get_resolution(struct i2c_client *client)
client            116 drivers/misc/isl29003.c 	return __isl29003_read_reg(client, ISL29003_REG_COMMAND,
client            120 drivers/misc/isl29003.c static int isl29003_set_resolution(struct i2c_client *client, int res)
client            122 drivers/misc/isl29003.c 	return __isl29003_write_reg(client, ISL29003_REG_COMMAND,
client            127 drivers/misc/isl29003.c static int isl29003_get_mode(struct i2c_client *client)
client            129 drivers/misc/isl29003.c 	return __isl29003_read_reg(client, ISL29003_REG_COMMAND,
client            133 drivers/misc/isl29003.c static int isl29003_set_mode(struct i2c_client *client, int mode)
client            135 drivers/misc/isl29003.c 	return __isl29003_write_reg(client, ISL29003_REG_COMMAND,
client            140 drivers/misc/isl29003.c static int isl29003_set_power_state(struct i2c_client *client, int state)
client            142 drivers/misc/isl29003.c 	return __isl29003_write_reg(client, ISL29003_REG_COMMAND,
client            147 drivers/misc/isl29003.c static int isl29003_get_power_state(struct i2c_client *client)
client            149 drivers/misc/isl29003.c 	struct isl29003_data *data = i2c_get_clientdata(client);
client            155 drivers/misc/isl29003.c static int isl29003_get_adc_value(struct i2c_client *client)
client            157 drivers/misc/isl29003.c 	struct isl29003_data *data = i2c_get_clientdata(client);
client            161 drivers/misc/isl29003.c 	lsb = i2c_smbus_read_byte_data(client, ISL29003_REG_LSB_SENSOR);
client            168 drivers/misc/isl29003.c 	msb = i2c_smbus_read_byte_data(client, ISL29003_REG_MSB_SENSOR);
client            174 drivers/misc/isl29003.c 	range = isl29003_get_range(client);
client            175 drivers/misc/isl29003.c 	bitdepth = (4 - isl29003_get_resolution(client)) * 4;
client            187 drivers/misc/isl29003.c 	struct i2c_client *client = to_i2c_client(dev);
client            189 drivers/misc/isl29003.c 	return sprintf(buf, "%i\n", isl29003_get_range(client));
client            196 drivers/misc/isl29003.c 	struct i2c_client *client = to_i2c_client(dev);
client            207 drivers/misc/isl29003.c 	ret = isl29003_set_range(client, val);
client            223 drivers/misc/isl29003.c 	struct i2c_client *client = to_i2c_client(dev);
client            225 drivers/misc/isl29003.c 	return sprintf(buf, "%d\n", isl29003_get_resolution(client));
client            232 drivers/misc/isl29003.c 	struct i2c_client *client = to_i2c_client(dev);
client            243 drivers/misc/isl29003.c 	ret = isl29003_set_resolution(client, val);
client            257 drivers/misc/isl29003.c 	struct i2c_client *client = to_i2c_client(dev);
client            259 drivers/misc/isl29003.c 	return sprintf(buf, "%d\n", isl29003_get_mode(client));
client            265 drivers/misc/isl29003.c 	struct i2c_client *client = to_i2c_client(dev);
client            276 drivers/misc/isl29003.c 	ret = isl29003_set_mode(client, val);
client            292 drivers/misc/isl29003.c 	struct i2c_client *client = to_i2c_client(dev);
client            294 drivers/misc/isl29003.c 	return sprintf(buf, "%d\n", isl29003_get_power_state(client));
client            301 drivers/misc/isl29003.c 	struct i2c_client *client = to_i2c_client(dev);
client            312 drivers/misc/isl29003.c 	ret = isl29003_set_power_state(client, val);
client            324 drivers/misc/isl29003.c 	struct i2c_client *client = to_i2c_client(dev);
client            327 drivers/misc/isl29003.c 	if (!isl29003_get_power_state(client))
client            330 drivers/misc/isl29003.c 	return sprintf(buf, "%d\n", isl29003_get_adc_value(client));
client            348 drivers/misc/isl29003.c static int isl29003_init_client(struct i2c_client *client)
client            350 drivers/misc/isl29003.c 	struct isl29003_data *data = i2c_get_clientdata(client);
client            356 drivers/misc/isl29003.c 		int v = i2c_smbus_read_byte_data(client, i);
client            365 drivers/misc/isl29003.c 	isl29003_set_range(client, 0);
client            366 drivers/misc/isl29003.c 	isl29003_set_resolution(client, 0);
client            367 drivers/misc/isl29003.c 	isl29003_set_mode(client, 0);
client            368 drivers/misc/isl29003.c 	isl29003_set_power_state(client, 0);
client            377 drivers/misc/isl29003.c static int isl29003_probe(struct i2c_client *client,
client            380 drivers/misc/isl29003.c 	struct i2c_adapter *adapter = client->adapter;
client            391 drivers/misc/isl29003.c 	data->client = client;
client            392 drivers/misc/isl29003.c 	i2c_set_clientdata(client, data);
client            396 drivers/misc/isl29003.c 	err = isl29003_init_client(client);
client            401 drivers/misc/isl29003.c 	err = sysfs_create_group(&client->dev.kobj, &isl29003_attr_group);
client            405 drivers/misc/isl29003.c 	dev_info(&client->dev, "driver version %s enabled\n", DRIVER_VERSION);
client            413 drivers/misc/isl29003.c static int isl29003_remove(struct i2c_client *client)
client            415 drivers/misc/isl29003.c 	sysfs_remove_group(&client->dev.kobj, &isl29003_attr_group);
client            416 drivers/misc/isl29003.c 	isl29003_set_power_state(client, 0);
client            417 drivers/misc/isl29003.c 	kfree(i2c_get_clientdata(client));
client            424 drivers/misc/isl29003.c 	struct i2c_client *client = to_i2c_client(dev);
client            425 drivers/misc/isl29003.c 	struct isl29003_data *data = i2c_get_clientdata(client);
client            427 drivers/misc/isl29003.c 	data->power_state_before_suspend = isl29003_get_power_state(client);
client            428 drivers/misc/isl29003.c 	return isl29003_set_power_state(client, 0);
client            434 drivers/misc/isl29003.c 	struct i2c_client *client = to_i2c_client(dev);
client            435 drivers/misc/isl29003.c 	struct isl29003_data *data = i2c_get_clientdata(client);
client            439 drivers/misc/isl29003.c 		if (i2c_smbus_write_byte_data(client, i, data->reg_cache[i]))
client            442 drivers/misc/isl29003.c 	return isl29003_set_power_state(client,
client             27 drivers/misc/isl29020.c 	struct i2c_client *client = to_i2c_client(dev);
client             30 drivers/misc/isl29020.c 	val = i2c_smbus_read_byte_data(client, 0x00);
client             41 drivers/misc/isl29020.c 	struct i2c_client *client = to_i2c_client(dev);
client             50 drivers/misc/isl29020.c 	temp = i2c_smbus_read_byte_data(client, 0x02); /* MSB data */
client             57 drivers/misc/isl29020.c 	ret_val = i2c_smbus_read_byte_data(client, 0x01); /* LSB data */
client             66 drivers/misc/isl29020.c 	val = i2c_smbus_read_byte_data(client, 0x00);
client             77 drivers/misc/isl29020.c 	struct i2c_client *client = to_i2c_client(dev);
client             98 drivers/misc/isl29020.c 	ret_val = i2c_smbus_read_byte_data(client, 0x00);
client            104 drivers/misc/isl29020.c 	ret_val = i2c_smbus_write_byte_data(client, 0x00, ret_val);
client            111 drivers/misc/isl29020.c static void als_set_power_state(struct i2c_client *client, int enable)
client            115 drivers/misc/isl29020.c 	ret_val = i2c_smbus_read_byte_data(client, 0x00);
client            124 drivers/misc/isl29020.c 	i2c_smbus_write_byte_data(client, 0x00, ret_val);
client            142 drivers/misc/isl29020.c static int als_set_default_config(struct i2c_client *client)
client            146 drivers/misc/isl29020.c 	retval = i2c_smbus_write_byte_data(client, 0x00, 0xc0);
client            148 drivers/misc/isl29020.c 		dev_err(&client->dev, "default write failed.");
client            154 drivers/misc/isl29020.c static int  isl29020_probe(struct i2c_client *client,
client            159 drivers/misc/isl29020.c 	res = als_set_default_config(client);
client            163 drivers/misc/isl29020.c 	res = sysfs_create_group(&client->dev.kobj, &m_als_gr);
client            165 drivers/misc/isl29020.c 		dev_err(&client->dev, "isl29020: device create file failed\n");
client            168 drivers/misc/isl29020.c 	dev_info(&client->dev, "%s isl29020: ALS chip found\n", client->name);
client            169 drivers/misc/isl29020.c 	als_set_power_state(client, 0);
client            170 drivers/misc/isl29020.c 	pm_runtime_enable(&client->dev);
client            174 drivers/misc/isl29020.c static int isl29020_remove(struct i2c_client *client)
client            176 drivers/misc/isl29020.c 	sysfs_remove_group(&client->dev.kobj, &m_als_gr);
client            191 drivers/misc/isl29020.c 	struct i2c_client *client = to_i2c_client(dev);
client            192 drivers/misc/isl29020.c 	als_set_power_state(client, 0);
client            198 drivers/misc/isl29020.c 	struct i2c_client *client = to_i2c_client(dev);
client            199 drivers/misc/isl29020.c 	als_set_power_state(client, 1);
client            103 drivers/misc/lis3lv02d/lis3lv02d_i2c.c static int lis3lv02d_i2c_probe(struct i2c_client *client,
client            107 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	struct lis3lv02d_platform_data *pdata = client->dev.platform_data;
client            110 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	if (of_match_device(lis3lv02d_i2c_dt_ids, &client->dev)) {
client            111 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 		lis3_dev.of_node = client->dev.of_node;
client            121 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 			(i2c_check_functionality(client->adapter,
client            143 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	ret = regulator_bulk_get(&client->dev,
client            150 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	lis3_dev.bus_priv = client;
client            154 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	lis3_dev.irq	  = client->irq;
client            156 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	lis3_dev.pm_dev	  = &client->dev;
client            158 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	i2c_set_clientdata(client, &lis3_dev);
client            180 drivers/misc/lis3lv02d/lis3lv02d_i2c.c static int lis3lv02d_i2c_remove(struct i2c_client *client)
client            182 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	struct lis3lv02d *lis3 = i2c_get_clientdata(client);
client            183 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	struct lis3lv02d_platform_data *pdata = client->dev.platform_data;
client            199 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            200 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	struct lis3lv02d *lis3 = i2c_get_clientdata(client);
client            209 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            210 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	struct lis3lv02d *lis3 = i2c_get_clientdata(client);
client            228 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            229 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	struct lis3lv02d *lis3 = i2c_get_clientdata(client);
client            237 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            238 drivers/misc/lis3lv02d/lis3lv02d_i2c.c 	struct lis3lv02d *lis3 = i2c_get_clientdata(client);
client            346 drivers/misc/mei/main.c 	struct mei_client *client;
client            389 drivers/misc/mei/main.c 	client = &data->out_client_properties;
client            390 drivers/misc/mei/main.c 	client->max_msg_length = me_cl->props.max_msg_length;
client            391 drivers/misc/mei/main.c 	client->protocol_version = me_cl->props.protocol_version;
client           1448 drivers/misc/mic/scif/scif_api.c 	struct scif_client *client =
client           1453 drivers/misc/mic/scif/scif_api.c 	if (client->probe)
client           1454 drivers/misc/mic/scif/scif_api.c 		client->probe(spdev);
client           1461 drivers/misc/mic/scif/scif_api.c 	struct scif_client *client =
client           1466 drivers/misc/mic/scif/scif_api.c 	if (client->remove)
client           1467 drivers/misc/mic/scif/scif_api.c 		client->remove(spdev);
client           1470 drivers/misc/mic/scif/scif_api.c void scif_client_unregister(struct scif_client *client)
client           1472 drivers/misc/mic/scif/scif_api.c 	subsys_interface_unregister(&client->si);
client           1476 drivers/misc/mic/scif/scif_api.c int scif_client_register(struct scif_client *client)
client           1478 drivers/misc/mic/scif/scif_api.c 	struct subsys_interface *si = &client->si;
client           1480 drivers/misc/mic/scif/scif_api.c 	si->name = client->name;
client           1485 drivers/misc/mic/scif/scif_api.c 	return subsys_interface_register(&client->si);
client             33 drivers/misc/tsl2550.c 	struct i2c_client *client;
client             52 drivers/misc/tsl2550.c static int tsl2550_set_operating_mode(struct i2c_client *client, int mode)
client             54 drivers/misc/tsl2550.c 	struct tsl2550_data *data = i2c_get_clientdata(client);
client             56 drivers/misc/tsl2550.c 	int ret = i2c_smbus_write_byte(client, TSL2550_MODE_RANGE[mode]);
client             63 drivers/misc/tsl2550.c static int tsl2550_set_power_state(struct i2c_client *client, int state)
client             65 drivers/misc/tsl2550.c 	struct tsl2550_data *data = i2c_get_clientdata(client);
client             69 drivers/misc/tsl2550.c 		ret = i2c_smbus_write_byte(client, TSL2550_POWER_DOWN);
client             71 drivers/misc/tsl2550.c 		ret = i2c_smbus_write_byte(client, TSL2550_POWER_UP);
client             74 drivers/misc/tsl2550.c 		tsl2550_set_operating_mode(client, data->operating_mode);
client             82 drivers/misc/tsl2550.c static int tsl2550_get_adc_value(struct i2c_client *client, u8 cmd)
client             86 drivers/misc/tsl2550.c 	ret = i2c_smbus_read_byte_data(client, cmd);
client            188 drivers/misc/tsl2550.c 	struct i2c_client *client = to_i2c_client(dev);
client            189 drivers/misc/tsl2550.c 	struct tsl2550_data *data = i2c_get_clientdata(client);
client            197 drivers/misc/tsl2550.c 	ret = tsl2550_set_power_state(client, val);
client            220 drivers/misc/tsl2550.c 	struct i2c_client *client = to_i2c_client(dev);
client            221 drivers/misc/tsl2550.c 	struct tsl2550_data *data = i2c_get_clientdata(client);
client            232 drivers/misc/tsl2550.c 	ret = tsl2550_set_operating_mode(client, val);
client            244 drivers/misc/tsl2550.c static ssize_t __tsl2550_show_lux(struct i2c_client *client, char *buf)
client            246 drivers/misc/tsl2550.c 	struct tsl2550_data *data = i2c_get_clientdata(client);
client            250 drivers/misc/tsl2550.c 	ret = tsl2550_get_adc_value(client, TSL2550_READ_ADC0);
client            255 drivers/misc/tsl2550.c 	ret = tsl2550_get_adc_value(client, TSL2550_READ_ADC1);
client            273 drivers/misc/tsl2550.c 	struct i2c_client *client = to_i2c_client(dev);
client            274 drivers/misc/tsl2550.c 	struct tsl2550_data *data = i2c_get_clientdata(client);
client            282 drivers/misc/tsl2550.c 	ret = __tsl2550_show_lux(client, buf);
client            306 drivers/misc/tsl2550.c static int tsl2550_init_client(struct i2c_client *client)
client            308 drivers/misc/tsl2550.c 	struct tsl2550_data *data = i2c_get_clientdata(client);
client            315 drivers/misc/tsl2550.c 	err = i2c_smbus_read_byte_data(client, TSL2550_POWER_UP);
client            323 drivers/misc/tsl2550.c 	err = i2c_smbus_write_byte(client,
client            336 drivers/misc/tsl2550.c static int tsl2550_probe(struct i2c_client *client,
client            339 drivers/misc/tsl2550.c 	struct i2c_adapter *adapter = client->adapter;
client            354 drivers/misc/tsl2550.c 	data->client = client;
client            355 drivers/misc/tsl2550.c 	i2c_set_clientdata(client, data);
client            358 drivers/misc/tsl2550.c 	opmode = client->dev.platform_data;
client            361 drivers/misc/tsl2550.c 			dev_err(&client->dev, "invalid operating_mode (%d)\n",
client            369 drivers/misc/tsl2550.c 	dev_info(&client->dev, "%s operating mode\n",
client            375 drivers/misc/tsl2550.c 	err = tsl2550_init_client(client);
client            380 drivers/misc/tsl2550.c 	err = sysfs_create_group(&client->dev.kobj, &tsl2550_attr_group);
client            384 drivers/misc/tsl2550.c 	dev_info(&client->dev, "support ver. %s enabled\n", DRIVER_VERSION);
client            394 drivers/misc/tsl2550.c static int tsl2550_remove(struct i2c_client *client)
client            396 drivers/misc/tsl2550.c 	sysfs_remove_group(&client->dev.kobj, &tsl2550_attr_group);
client            399 drivers/misc/tsl2550.c 	tsl2550_set_power_state(client, 0);
client            401 drivers/misc/tsl2550.c 	kfree(i2c_get_clientdata(client));
client             44 drivers/mtd/maps/pismo.c 	struct i2c_client	*client;
client             52 drivers/mtd/maps/pismo.c 	struct i2c_client *client = to_i2c_client(pdev->dev.parent);
client             53 drivers/mtd/maps/pismo.c 	struct pismo_data *pismo = i2c_get_clientdata(client);
client             66 drivers/mtd/maps/pismo.c static int pismo_eeprom_read(struct i2c_client *client, void *buf, u8 addr,
client             72 drivers/mtd/maps/pismo.c 			.addr = client->addr,
client             76 drivers/mtd/maps/pismo.c 			.addr = client->addr,
client             83 drivers/mtd/maps/pismo.c 	ret = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg));
client            107 drivers/mtd/maps/pismo.c 	dev->dev.parent = &pismo->client->dev;
client            158 drivers/mtd/maps/pismo.c 	struct device *dev = &pismo->client->dev;
client            198 drivers/mtd/maps/pismo.c static int pismo_remove(struct i2c_client *client)
client            200 drivers/mtd/maps/pismo.c 	struct pismo_data *pismo = i2c_get_clientdata(client);
client            211 drivers/mtd/maps/pismo.c static int pismo_probe(struct i2c_client *client,
client            214 drivers/mtd/maps/pismo.c 	struct pismo_pdata *pdata = client->dev.platform_data;
client            219 drivers/mtd/maps/pismo.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            220 drivers/mtd/maps/pismo.c 		dev_err(&client->dev, "functionality mismatch\n");
client            228 drivers/mtd/maps/pismo.c 	pismo->client = client;
client            233 drivers/mtd/maps/pismo.c 	i2c_set_clientdata(client, pismo);
client            235 drivers/mtd/maps/pismo.c 	ret = pismo_eeprom_read(client, &eeprom, 0, sizeof(eeprom));
client            237 drivers/mtd/maps/pismo.c 		dev_err(&client->dev, "error reading EEPROM: %d\n", ret);
client            241 drivers/mtd/maps/pismo.c 	dev_info(&client->dev, "%.15s board found\n", eeprom.board);
client            256 drivers/net/can/peak_canfd/peak_canfd.c 		can_get_echo_skb(priv->ndev, msg->client);
client            696 drivers/net/can/peak_canfd/peak_canfd.c 	msg->client = priv->echo_idx;
client            127 drivers/net/can/usb/peak_usb/pcan_usb_pro.h 	u8  client;
client            157 drivers/net/can/usb/peak_usb/pcan_usb_pro.h 	u8  client;
client             32 drivers/net/dsa/lan9303_i2c.c static int lan9303_i2c_probe(struct i2c_client *client,
client             38 drivers/net/dsa/lan9303_i2c.c 	sw_dev = devm_kzalloc(&client->dev, sizeof(struct lan9303_i2c),
client             43 drivers/net/dsa/lan9303_i2c.c 	sw_dev->chip.regmap = devm_regmap_init_i2c(client,
client             47 drivers/net/dsa/lan9303_i2c.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client             53 drivers/net/dsa/lan9303_i2c.c 	sw_dev->device = client;
client             54 drivers/net/dsa/lan9303_i2c.c 	i2c_set_clientdata(client, sw_dev);
client             55 drivers/net/dsa/lan9303_i2c.c 	sw_dev->chip.dev = &client->dev;
client             59 drivers/net/dsa/lan9303_i2c.c 	ret = lan9303_probe(&sw_dev->chip, client->dev.of_node);
client             63 drivers/net/dsa/lan9303_i2c.c 	dev_info(&client->dev, "LAN9303 I2C driver loaded successfully\n");
client             68 drivers/net/dsa/lan9303_i2c.c static int lan9303_i2c_remove(struct i2c_client *client)
client             72 drivers/net/dsa/lan9303_i2c.c 	sw_dev = i2c_get_clientdata(client);
client             68 drivers/net/ethernet/chelsio/cxgb3/cxgb3_defs.h 	return (t3c_tid && t3c_tid->client) ? t3c_tid : NULL;
client             84 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c void cxgb3_register_client(struct cxgb3_client *client)
client             89 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	list_add_tail(&client->client_list, &client_list);
client             91 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	if (client->add) {
client             94 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 				client->add(tdev);
client            109 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c void cxgb3_unregister_client(struct cxgb3_client *client)
client            114 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	list_del(&client->client_list);
client            116 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	if (client->remove) {
client            119 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 				client->remove(tdev);
client            135 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	struct cxgb3_client *client;
client            138 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	list_for_each_entry(client, &client_list, client_list) {
client            139 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		if (client->add)
client            140 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 			client->add(tdev);
client            154 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	struct cxgb3_client *client;
client            157 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	list_for_each_entry(client, &client_list, client_list) {
client            158 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		if (client->remove)
client            159 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 			client->remove(tdev);
client            166 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	struct cxgb3_client *client;
client            169 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	list_for_each_entry(client, &client_list, client_list) {
client            170 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		if (client->event_handler)
client            171 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 			client->event_handler(tdev, event, port);
client            535 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c void cxgb3_insert_tid(struct t3cdev *tdev, struct cxgb3_client *client,
client            540 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	t->tid_tab[tid].client = client;
client            611 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	p->client = NULL;
client            650 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c int cxgb3_alloc_atid(struct t3cdev *tdev, struct cxgb3_client *client,
client            665 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		p->t3c_tid.client = client;
client            674 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c int cxgb3_alloc_stid(struct t3cdev *tdev, struct cxgb3_client *client,
client            687 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		p->t3c_tid.client = client;
client            746 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	if (t3c_tid && t3c_tid->ctx && t3c_tid->client &&
client            747 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	    t3c_tid->client->handlers &&
client            748 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	    t3c_tid->client->handlers[CPL_ACT_OPEN_RPL]) {
client            749 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		return t3c_tid->client->handlers[CPL_ACT_OPEN_RPL] (dev, skb,
client            766 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	if (t3c_tid && t3c_tid->ctx && t3c_tid->client->handlers &&
client            767 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	    t3c_tid->client->handlers[p->opcode]) {
client            768 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		return t3c_tid->client->handlers[p->opcode] (dev, skb,
client            784 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	if (t3c_tid && t3c_tid->ctx && t3c_tid->client->handlers &&
client            785 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	    t3c_tid->client->handlers[p->opcode]) {
client            786 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		return t3c_tid->client->handlers[p->opcode]
client            811 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	if (t3c_tid && t3c_tid->ctx && t3c_tid->client->handlers &&
client            812 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	    t3c_tid->client->handlers[CPL_PASS_ACCEPT_REQ]) {
client            813 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		return t3c_tid->client->handlers[CPL_PASS_ACCEPT_REQ]
client            851 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	if (t3c_tid && t3c_tid->ctx && t3c_tid->client->handlers &&
client            852 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	    t3c_tid->client->handlers[p->opcode]) {
client            853 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		return t3c_tid->client->handlers[p->opcode]
client            905 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	if (t3c_tid && t3c_tid->ctx && t3c_tid->client->handlers &&
client            906 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	    t3c_tid->client->handlers[CPL_ACT_ESTABLISH]) {
client            907 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		return t3c_tid->client->handlers[CPL_ACT_ESTABLISH]
client            951 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	if (t3c_tid && t3c_tid->ctx && t3c_tid->client->handlers &&
client            952 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	    t3c_tid->client->handlers[opcode]) {
client            953 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		return t3c_tid->client->handlers[opcode] (dev, skb,
client           1141 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		if (te && te->ctx && te->client && te->client->redirect) {
client           1142 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 			update_tcb = te->client->redirect(te->ctx, old, new, e);
client             63 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.h void cxgb3_register_client(struct cxgb3_client *client);
client             64 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.h void cxgb3_unregister_client(struct cxgb3_client *client);
client             96 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.h int cxgb3_alloc_atid(struct t3cdev *dev, struct cxgb3_client *client,
client             98 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.h int cxgb3_alloc_stid(struct t3cdev *dev, struct cxgb3_client *client,
client            102 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.h void cxgb3_insert_tid(struct t3cdev *dev, struct cxgb3_client *client,
client            108 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.h 	struct cxgb3_client *client;
client             28 drivers/net/ethernet/hisilicon/hns3/hnae3.c void hnae3_set_client_init_flag(struct hnae3_client *client,
client             32 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	if (!client || !ae_dev)
client             35 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	switch (client->type) {
client             48 drivers/net/ethernet/hisilicon/hns3/hnae3.c static int hnae3_get_client_init_flag(struct hnae3_client *client,
client             53 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	switch (client->type) {
client             69 drivers/net/ethernet/hisilicon/hns3/hnae3.c static int hnae3_init_client_instance(struct hnae3_client *client,
client             75 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	if (!(hnae3_client_match(client->type) &&
client             80 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	ret = ae_dev->ops->init_client_instance(client, ae_dev);
client             88 drivers/net/ethernet/hisilicon/hns3/hnae3.c static void hnae3_uninit_client_instance(struct hnae3_client *client,
client             92 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	if (!(hnae3_client_match(client->type) &&
client             96 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	if (hnae3_get_client_init_flag(client, ae_dev)) {
client             97 drivers/net/ethernet/hisilicon/hns3/hnae3.c 		ae_dev->ops->uninit_client_instance(client, ae_dev);
client             99 drivers/net/ethernet/hisilicon/hns3/hnae3.c 		hnae3_set_client_init_flag(client, ae_dev, 0);
client            103 drivers/net/ethernet/hisilicon/hns3/hnae3.c int hnae3_register_client(struct hnae3_client *client)
client            108 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	if (!client)
client            114 drivers/net/ethernet/hisilicon/hns3/hnae3.c 		if (client_tmp->type == client->type)
client            118 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	list_add_tail(&client->node, &hnae3_client_list);
client            125 drivers/net/ethernet/hisilicon/hns3/hnae3.c 		int ret = hnae3_init_client_instance(client, ae_dev);
client            139 drivers/net/ethernet/hisilicon/hns3/hnae3.c void hnae3_unregister_client(struct hnae3_client *client)
client            145 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	if (!client)
client            151 drivers/net/ethernet/hisilicon/hns3/hnae3.c 		if (client_tmp->type == client->type) {
client            159 drivers/net/ethernet/hisilicon/hns3/hnae3.c 		pr_err("client %s does not exist!\n", client->name);
client            165 drivers/net/ethernet/hisilicon/hns3/hnae3.c 		hnae3_uninit_client_instance(client, ae_dev);
client            168 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	list_del(&client->node);
client            181 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	struct hnae3_client *client;
client            216 drivers/net/ethernet/hisilicon/hns3/hnae3.c 		list_for_each_entry(client, &hnae3_client_list, node) {
client            217 drivers/net/ethernet/hisilicon/hns3/hnae3.c 			ret = hnae3_init_client_instance(client, ae_dev);
client            236 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	struct hnae3_client *client;
client            254 drivers/net/ethernet/hisilicon/hns3/hnae3.c 		list_for_each_entry(client, &hnae3_client_list, node)
client            255 drivers/net/ethernet/hisilicon/hns3/hnae3.c 			hnae3_uninit_client_instance(client, ae_dev);
client            275 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	struct hnae3_client *client;
client            313 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	list_for_each_entry(client, &hnae3_client_list, node) {
client            314 drivers/net/ethernet/hisilicon/hns3/hnae3.c 		ret = hnae3_init_client_instance(client, ae_dev);
client            340 drivers/net/ethernet/hisilicon/hns3/hnae3.c 	struct hnae3_client *client;
client            355 drivers/net/ethernet/hisilicon/hns3/hnae3.c 		list_for_each_entry(client, &hnae3_client_list, node)
client            356 drivers/net/ethernet/hisilicon/hns3/hnae3.c 			hnae3_uninit_client_instance(client, ae_dev);
client            375 drivers/net/ethernet/hisilicon/hns3/hnae3.h 	int (*init_client_instance)(struct hnae3_client *client,
client            377 drivers/net/ethernet/hisilicon/hns3/hnae3.h 	void (*uninit_client_instance)(struct hnae3_client *client,
client            629 drivers/net/ethernet/hisilicon/hns3/hnae3.h 	struct hnae3_client *client;
client            671 drivers/net/ethernet/hisilicon/hns3/hnae3.h void hnae3_unregister_client(struct hnae3_client *client);
client            672 drivers/net/ethernet/hisilicon/hns3/hnae3.h int hnae3_register_client(struct hnae3_client *client);
client            674 drivers/net/ethernet/hisilicon/hns3/hnae3.h void hnae3_set_client_init_flag(struct hnae3_client *client,
client             45 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c static struct hnae3_client client;
client           4549 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	client.type = HNAE3_CLIENT_KNIC;
client           4550 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	snprintf(client.name, HNAE3_CLIENT_NAME_LENGTH - 1, "%s",
client           4553 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	client.ops = &client_ops;
client           4555 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	INIT_LIST_HEAD(&client.node);
client           4559 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	ret = hnae3_register_client(&client);
client           4570 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	hnae3_unregister_client(&client);
client           4584 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	hnae3_unregister_client(&client);
client            181 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c 	struct hnae3_client *client;
client            188 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c 		client = handle->client;
client            190 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c 		if (!client || !client->ops || !client->ops->setup_tc)
client            193 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c 		ret = client->ops->setup_tc(handle, hdev->tm_info.num_tc);
client            678 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	if (handle->client) {
client           2712 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hnae3_client *client = hdev->nic_client;
client           2718 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	if (!client)
client           2724 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			client->ops->link_status_change(handle, state);
client           3108 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hnae3_client *client = hdev->nic_client;
client           3111 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	if (!test_bit(HCLGE_STATE_NIC_REGISTERED, &hdev->state) || !client)
client           3114 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	if (!client->ops->reset_notify)
client           3121 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = client->ops->reset_notify(handle, type);
client           3135 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hnae3_client *client = hdev->roce_client;
client           3139 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	if (!test_bit(HCLGE_STATE_ROCE_REGISTERED, &hdev->state) || !client)
client           3142 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	if (!client->ops->reset_notify)
client           3148 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = client->ops->reset_notify(handle, type);
client           3304 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hnae3_client *client = hdev->nic_client;
client           3307 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	if (!client || !client->ops->process_hw_error ||
client           3312 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		client->ops->process_hw_error(&hdev->vport[i].nic, type);
client           3925 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	if (!handle->client)
client           3927 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	else if (handle->client->type == HNAE3_CLIENT_ROCE)
client           8850 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hnae3_client *client = vport->nic.client;
client           8856 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = client->ops->init_instance(&vport->nic);
client           8875 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hnae3_set_client_init_flag(client, ae_dev, 1);
client           8887 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	client->ops->uninit_instance(&vport->nic, 0);
client           8895 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hnae3_client *client = vport->roce.client;
client           8904 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	client = hdev->roce_client;
client           8910 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = client->ops->init_instance(&vport->roce);
client           8929 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hnae3_set_client_init_flag(client, ae_dev, 1);
client           8943 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_init_client_instance(struct hnae3_client *client,
client           8953 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		switch (client->type) {
client           8956 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			hdev->nic_client = client;
client           8957 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			vport->nic.client = client;
client           8969 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 				hdev->roce_client = client;
client           8970 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 				vport->roce.client = client;
client           8987 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	vport->nic.client = NULL;
client           8991 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	vport->roce.client = NULL;
client           8995 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_uninit_client_instance(struct hnae3_client *client,
client           9012 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			vport->roce.client = NULL;
client           9014 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		if (client->type == HNAE3_CLIENT_ROCE)
client           9016 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		if (hdev->nic_client && client->ops->uninit_instance) {
client           9021 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			client->ops->uninit_instance(&vport->nic, 0);
client           9023 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			vport->nic.client = NULL;
client             90 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	if (!handle->client)
client             92 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	else if (handle->client->type == HNAE3_CLIENT_ROCE)
client            441 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	struct hnae3_client *client;
client            443 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	client = handle->client;
client            450 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		client->ops->link_status_change(handle, !!link_state);
client           1352 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	struct hnae3_client *client = hdev->nic_client;
client           1357 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	    !client)
client           1360 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	if (!client->ops->reset_notify)
client           1363 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	ret = client->ops->reset_notify(handle, type);
client           2363 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 					    struct hnae3_client *client)
client           2368 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	ret = client->ops->init_instance(&hdev->nic);
client           2373 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	hnae3_set_client_init_flag(client, ae_dev, 1);
client           2382 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 					     struct hnae3_client *client)
client           2395 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	ret = client->ops->init_instance(&hdev->roce);
client           2399 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	hnae3_set_client_init_flag(client, ae_dev, 1);
client           2404 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c static int hclgevf_init_client_instance(struct hnae3_client *client,
client           2410 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	switch (client->type) {
client           2412 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		hdev->nic_client = client;
client           2413 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		hdev->nic.client = client;
client           2415 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		ret = hclgevf_init_nic_client_instance(ae_dev, client);
client           2427 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 			hdev->roce_client = client;
client           2428 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 			hdev->roce.client = client;
client           2431 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		ret = hclgevf_init_roce_client_instance(ae_dev, client);
client           2444 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	hdev->nic.client = NULL;
client           2448 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	hdev->roce.client = NULL;
client           2452 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c static void hclgevf_uninit_client_instance(struct hnae3_client *client,
client           2461 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		hdev->roce.client = NULL;
client           2465 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	if (client->ops->uninit_instance && hdev->nic_client &&
client           2466 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	    client->type != HNAE3_CLIENT_ROCE) {
client           2469 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		client->ops->uninit_instance(&hdev->nic, 0);
client           2471 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		hdev->nic.client = NULL;
client             17 drivers/net/ethernet/intel/i40e/i40e_client.c 				     struct i40e_client *client,
client             21 drivers/net/ethernet/intel/i40e/i40e_client.c 				    struct i40e_client *client,
client             25 drivers/net/ethernet/intel/i40e/i40e_client.c 				      struct i40e_client *client,
client             29 drivers/net/ethernet/intel/i40e/i40e_client.c 				       struct i40e_client *client,
client             89 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!cdev || !cdev->client)
client             91 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!cdev->client->ops || !cdev->client->ops->virtchnl_receive) {
client            100 drivers/net/ethernet/intel/i40e/i40e_client.c 	cdev->client->ops->virtchnl_receive(&cdev->lan_info, cdev->client,
client            116 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!cdev || !cdev->client)
client            118 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!cdev->client->ops || !cdev->client->ops->l2_param_change) {
client            130 drivers/net/ethernet/intel/i40e/i40e_client.c 	cdev->client->ops->l2_param_change(&cdev->lan_info, cdev->client,
client            174 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!cdev || !cdev->client)
client            176 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!cdev->client->ops || !cdev->client->ops->close) {
client            181 drivers/net/ethernet/intel/i40e/i40e_client.c 	cdev->client->ops->close(&cdev->lan_info, cdev->client, reset);
client            197 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!cdev || !cdev->client)
client            199 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!cdev->client->ops || !cdev->client->ops->vf_reset) {
client            208 drivers/net/ethernet/intel/i40e/i40e_client.c 	cdev->client->ops->vf_reset(&cdev->lan_info, cdev->client, vf_id);
client            222 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!cdev || !cdev->client)
client            224 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!cdev->client->ops || !cdev->client->ops->vf_enable) {
client            234 drivers/net/ethernet/intel/i40e/i40e_client.c 	cdev->client->ops->vf_enable(&cdev->lan_info, cdev->client, num_vfs);
client            250 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!cdev || !cdev->client)
client            252 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!cdev->client->ops || !cdev->client->ops->vf_capable) {
client            260 drivers/net/ethernet/intel/i40e/i40e_client.c 	capable = cdev->client->ops->vf_capable(&cdev->lan_info,
client            261 drivers/net/ethernet/intel/i40e/i40e_client.c 						cdev->client,
client            271 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!cdev || !cdev->client)
client            326 drivers/net/ethernet/intel/i40e/i40e_client.c 	cdev->client = registered_client;
client            350 drivers/net/ethernet/intel/i40e/i40e_client.c 	struct i40e_client *client = registered_client;
client            364 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!client || !cdev)
client            372 drivers/net/ethernet/intel/i40e/i40e_client.c 		    client->ops && client->ops->open) {
client            374 drivers/net/ethernet/intel/i40e/i40e_client.c 			ret = client->ops->open(&cdev->lan_info, client);
client            387 drivers/net/ethernet/intel/i40e/i40e_client.c 		i40e_client_update_vsi_ctxt(&cdev->lan_info, client,
client            391 drivers/net/ethernet/intel/i40e/i40e_client.c 		i40e_client_update_vsi_ctxt(&cdev->lan_info, client,
client            480 drivers/net/ethernet/intel/i40e/i40e_client.c static void i40e_client_release(struct i40e_client *client)
client            498 drivers/net/ethernet/intel/i40e/i40e_client.c 			if (client->ops && client->ops->close)
client            499 drivers/net/ethernet/intel/i40e/i40e_client.c 				client->ops->close(&cdev->lan_info, client,
client            506 drivers/net/ethernet/intel/i40e/i40e_client.c 				 client->name, pf->hw.pf_id);
client            511 drivers/net/ethernet/intel/i40e/i40e_client.c 			 client->name);
client            522 drivers/net/ethernet/intel/i40e/i40e_client.c static void i40e_client_prepare(struct i40e_client *client)
client            549 drivers/net/ethernet/intel/i40e/i40e_client.c 				     struct i40e_client *client,
client            574 drivers/net/ethernet/intel/i40e/i40e_client.c 				    struct i40e_client *client,
client            645 drivers/net/ethernet/intel/i40e/i40e_client.c 				      struct i40e_client *client,
client            679 drivers/net/ethernet/intel/i40e/i40e_client.c 				       struct i40e_client *client,
client            742 drivers/net/ethernet/intel/i40e/i40e_client.c int i40e_register_client(struct i40e_client *client)
client            746 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (!client) {
client            751 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (strlen(client->name) == 0) {
client            759 drivers/net/ethernet/intel/i40e/i40e_client.c 			client->name);
client            764 drivers/net/ethernet/intel/i40e/i40e_client.c 	if ((client->version.major != I40E_CLIENT_VERSION_MAJOR) ||
client            765 drivers/net/ethernet/intel/i40e/i40e_client.c 	    (client->version.minor != I40E_CLIENT_VERSION_MINOR)) {
client            767 drivers/net/ethernet/intel/i40e/i40e_client.c 			client->name);
client            769 drivers/net/ethernet/intel/i40e/i40e_client.c 			client->version.major, client->version.minor,
client            770 drivers/net/ethernet/intel/i40e/i40e_client.c 			client->version.build,
client            776 drivers/net/ethernet/intel/i40e/i40e_client.c 	registered_client = client;
client            778 drivers/net/ethernet/intel/i40e/i40e_client.c 	i40e_client_prepare(client);
client            780 drivers/net/ethernet/intel/i40e/i40e_client.c 	pr_info("i40e: Registered client %s\n", client->name);
client            792 drivers/net/ethernet/intel/i40e/i40e_client.c int i40e_unregister_client(struct i40e_client *client)
client            796 drivers/net/ethernet/intel/i40e/i40e_client.c 	if (registered_client != client) {
client            798 drivers/net/ethernet/intel/i40e/i40e_client.c 			client->name);
client            807 drivers/net/ethernet/intel/i40e/i40e_client.c 	i40e_client_release(client);
client            809 drivers/net/ethernet/intel/i40e/i40e_client.c 	pr_info("i40e: Unregistered client %s\n", client->name);
client            116 drivers/net/ethernet/intel/i40e/i40e_client.h 	int (*setup_qvlist)(struct i40e_info *ldev, struct i40e_client *client,
client            119 drivers/net/ethernet/intel/i40e/i40e_client.h 	int (*virtchnl_send)(struct i40e_info *ldev, struct i40e_client *client,
client            126 drivers/net/ethernet/intel/i40e/i40e_client.h 			      struct i40e_client *client, u32 level);
client            132 drivers/net/ethernet/intel/i40e/i40e_client.h 			       struct i40e_client *client,
client            141 drivers/net/ethernet/intel/i40e/i40e_client.h 	int (*open)(struct i40e_info *ldev, struct i40e_client *client);
client            147 drivers/net/ethernet/intel/i40e/i40e_client.h 	void (*close)(struct i40e_info *ldev, struct i40e_client *client,
client            152 drivers/net/ethernet/intel/i40e/i40e_client.h 				struct i40e_client *client,
client            156 drivers/net/ethernet/intel/i40e/i40e_client.h 				struct i40e_client *client, u32 vf_id,
client            161 drivers/net/ethernet/intel/i40e/i40e_client.h 			 struct i40e_client *client, u32 vf_id);
client            165 drivers/net/ethernet/intel/i40e/i40e_client.h 			  struct i40e_client *client, u32 num_vfs);
client            169 drivers/net/ethernet/intel/i40e/i40e_client.h 			  struct i40e_client *client, u32 vf_id);
client            176 drivers/net/ethernet/intel/i40e/i40e_client.h 	struct i40e_client *client;
client            194 drivers/net/ethernet/intel/i40e/i40e_client.h static inline bool i40e_client_is_registered(struct i40e_client *client)
client            196 drivers/net/ethernet/intel/i40e/i40e_client.h 	return test_bit(__I40E_CLIENT_REGISTERED, &client->state);
client            200 drivers/net/ethernet/intel/i40e/i40e_client.h int i40e_register_client(struct i40e_client *client);
client            201 drivers/net/ethernet/intel/i40e/i40e_client.h int i40e_unregister_client(struct i40e_client *client);
client             18 drivers/net/ethernet/intel/iavf/iavf_client.c 				     struct iavf_client *client,
client             22 drivers/net/ethernet/intel/iavf/iavf_client.c 				    struct iavf_client *client,
client             66 drivers/net/ethernet/intel/iavf/iavf_client.c 	if (!cinst || !cinst->client || !cinst->client->ops ||
client             67 drivers/net/ethernet/intel/iavf/iavf_client.c 	    !cinst->client->ops->virtchnl_receive) {
client             72 drivers/net/ethernet/intel/iavf/iavf_client.c 	cinst->client->ops->virtchnl_receive(&cinst->lan_info,  cinst->client,
client             92 drivers/net/ethernet/intel/iavf/iavf_client.c 	if (!cinst || !cinst->client || !cinst->client->ops ||
client             93 drivers/net/ethernet/intel/iavf/iavf_client.c 	    !cinst->client->ops->l2_param_change) {
client            100 drivers/net/ethernet/intel/iavf/iavf_client.c 	cinst->client->ops->l2_param_change(&cinst->lan_info, cinst->client,
client            116 drivers/net/ethernet/intel/iavf/iavf_client.c 	if (!cinst || !cinst->client || !cinst->client->ops ||
client            117 drivers/net/ethernet/intel/iavf/iavf_client.c 	    !cinst->client->ops->open) {
client            123 drivers/net/ethernet/intel/iavf/iavf_client.c 		ret = cinst->client->ops->open(&cinst->lan_info, cinst->client);
client            167 drivers/net/ethernet/intel/iavf/iavf_client.c 	if (!cinst || !cinst->client || !cinst->client->ops ||
client            168 drivers/net/ethernet/intel/iavf/iavf_client.c 	    !cinst->client->ops->close) {
client            173 drivers/net/ethernet/intel/iavf/iavf_client.c 	cinst->client->ops->close(&cinst->lan_info, cinst->client, reset);
client            229 drivers/net/ethernet/intel/iavf/iavf_client.c 	cinst->client = vf_registered_client;
client            253 drivers/net/ethernet/intel/iavf/iavf_client.c 	struct iavf_client *client = vf_registered_client;
client            261 drivers/net/ethernet/intel/iavf/iavf_client.c 	if (!client)
client            270 drivers/net/ethernet/intel/iavf/iavf_client.c 		 client->name);
client            275 drivers/net/ethernet/intel/iavf/iavf_client.c 		if (client->ops && client->ops->open)
client            276 drivers/net/ethernet/intel/iavf/iavf_client.c 			ret = client->ops->open(&cinst->lan_info, client);
client            360 drivers/net/ethernet/intel/iavf/iavf_client.c static void iavf_client_release(struct iavf_client *client)
client            373 drivers/net/ethernet/intel/iavf/iavf_client.c 			if (client->ops && client->ops->close)
client            374 drivers/net/ethernet/intel/iavf/iavf_client.c 				client->ops->close(&cinst->lan_info, client,
client            380 drivers/net/ethernet/intel/iavf/iavf_client.c 				 "Client %s instance closed\n", client->name);
client            385 drivers/net/ethernet/intel/iavf/iavf_client.c 			 client->name);
client            395 drivers/net/ethernet/intel/iavf/iavf_client.c static void iavf_client_prepare(struct iavf_client *client)
client            419 drivers/net/ethernet/intel/iavf/iavf_client.c 				     struct iavf_client *client,
client            446 drivers/net/ethernet/intel/iavf/iavf_client.c 				    struct iavf_client *client,
client            506 drivers/net/ethernet/intel/iavf/iavf_client.c int iavf_register_client(struct iavf_client *client)
client            510 drivers/net/ethernet/intel/iavf/iavf_client.c 	if (!client) {
client            515 drivers/net/ethernet/intel/iavf/iavf_client.c 	if (strlen(client->name) == 0) {
client            523 drivers/net/ethernet/intel/iavf/iavf_client.c 			client->name);
client            528 drivers/net/ethernet/intel/iavf/iavf_client.c 	if ((client->version.major != IAVF_CLIENT_VERSION_MAJOR) ||
client            529 drivers/net/ethernet/intel/iavf/iavf_client.c 	    (client->version.minor != IAVF_CLIENT_VERSION_MINOR)) {
client            531 drivers/net/ethernet/intel/iavf/iavf_client.c 			client->name);
client            533 drivers/net/ethernet/intel/iavf/iavf_client.c 			client->version.major, client->version.minor,
client            534 drivers/net/ethernet/intel/iavf/iavf_client.c 			client->version.build,
client            540 drivers/net/ethernet/intel/iavf/iavf_client.c 	vf_registered_client = client;
client            542 drivers/net/ethernet/intel/iavf/iavf_client.c 	iavf_client_prepare(client);
client            545 drivers/net/ethernet/intel/iavf/iavf_client.c 		client->name, ret);
client            557 drivers/net/ethernet/intel/iavf/iavf_client.c int iavf_unregister_client(struct iavf_client *client)
client            565 drivers/net/ethernet/intel/iavf/iavf_client.c 	iavf_client_release(client);
client            567 drivers/net/ethernet/intel/iavf/iavf_client.c 	if (vf_registered_client != client) {
client            569 drivers/net/ethernet/intel/iavf/iavf_client.c 			client->name);
client            574 drivers/net/ethernet/intel/iavf/iavf_client.c 	pr_info("iavf: Unregistered client %s\n", client->name);
client            109 drivers/net/ethernet/intel/iavf/iavf_client.h 	int (*setup_qvlist)(struct iavf_info *ldev, struct iavf_client *client,
client            112 drivers/net/ethernet/intel/iavf/iavf_client.h 	u32 (*virtchnl_send)(struct iavf_info *ldev, struct iavf_client *client,
client            117 drivers/net/ethernet/intel/iavf/iavf_client.h 			      struct iavf_client *client);
client            124 drivers/net/ethernet/intel/iavf/iavf_client.h 	int (*open)(struct iavf_info *ldev, struct iavf_client *client);
client            130 drivers/net/ethernet/intel/iavf/iavf_client.h 	void (*close)(struct iavf_info *ldev, struct iavf_client *client,
client            135 drivers/net/ethernet/intel/iavf/iavf_client.h 				struct iavf_client *client,
client            140 drivers/net/ethernet/intel/iavf/iavf_client.h 				struct iavf_client *client,
client            148 drivers/net/ethernet/intel/iavf/iavf_client.h 	struct iavf_client *client;
client            167 drivers/net/ethernet/intel/iavf/iavf_client.h int iavf_register_client(struct iavf_client *client);
client            168 drivers/net/ethernet/intel/iavf/iavf_client.h int iavf_unregister_client(struct iavf_client *client);
client            155 drivers/net/ethernet/intel/igb/igb_hwmon.c 	struct i2c_client *client;
client            201 drivers/net/ethernet/intel/igb/igb_hwmon.c 	client = i2c_new_device(&adapter->i2c_adap, &i350_sensor_info);
client            202 drivers/net/ethernet/intel/igb/igb_hwmon.c 	if (client == NULL) {
client            208 drivers/net/ethernet/intel/igb/igb_hwmon.c 	adapter->i2c_client = client;
client            214 drivers/net/ethernet/intel/igb/igb_hwmon.c 							   client->name,
client            135 drivers/net/ethernet/mellanox/mlxsw/i2c.c static int mlxsw_i2c_wait_go_bit(struct i2c_client *client,
client            142 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		MLXSW_I2C_READ_MSG(client, addr_buf, buf, len);
client            153 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		err = i2c_transfer(client->adapter, read_sema,
client            179 drivers/net/ethernet/mellanox/mlxsw/i2c.c static int mlxsw_i2c_write_cmd(struct i2c_client *client,
client            188 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		cpu_to_be32(client->adapter->nr & 0xffff),
client            192 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		MLXSW_I2C_WRITE_MSG(client, push_cmd_buf,
client            195 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		MLXSW_I2C_WRITE_MSG(client, prep_cmd_buf, MLXSW_I2C_PREP_SIZE);
client            208 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	err = i2c_transfer(client->adapter, &prep_cmd, 1);
client            215 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	err = i2c_transfer(client->adapter, &push_cmd, 1);
client            226 drivers/net/ethernet/mellanox/mlxsw/i2c.c mlxsw_i2c_write_init_cmd(struct i2c_client *client,
client            234 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		cpu_to_be32(client->adapter->nr & 0xffff),
client            238 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		MLXSW_I2C_WRITE_MSG(client, push_cmd_buf,
client            241 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		MLXSW_I2C_WRITE_MSG(client, prep_cmd_buf, MLXSW_I2C_PREP_SIZE);
client            254 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	err = i2c_transfer(client->adapter, &prep_cmd, 1);
client            261 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	err = i2c_transfer(client->adapter, &push_cmd, 1);
client            268 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	err = mlxsw_i2c_wait_go_bit(client, mlxsw_i2c, &status);
client            270 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		dev_err(&client->dev, "HW semaphore is not released");
client            276 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		dev_err(&client->dev, "Bad transaction completion status %x\n",
client            285 drivers/net/ethernet/mellanox/mlxsw/i2c.c static int mlxsw_i2c_get_mbox(struct i2c_client *client,
client            291 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		MLXSW_I2C_READ_MSG(client, addr_buf, buf, MLXSW_I2C_MBOX_SIZE);
client            296 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	err = i2c_transfer(client->adapter, mbox_cmd, 2);
client            298 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		dev_err(&client->dev, "Could not obtain mail boxes\n");
client            316 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            317 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	struct mlxsw_i2c *mlxsw_i2c = i2c_get_clientdata(client);
client            323 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		MLXSW_I2C_WRITE_MSG(client, NULL, MLXSW_I2C_PUSH_CMD_SIZE);
client            343 drivers/net/ethernet/mellanox/mlxsw/i2c.c 			err = i2c_transfer(client->adapter, &write_tran, 1);
client            363 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	err = mlxsw_i2c_write_cmd(client, mlxsw_i2c, 0);
client            365 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		dev_err(&client->dev, "Could not start transaction");
client            371 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	err = mlxsw_i2c_wait_go_bit(client, mlxsw_i2c, p_status);
client            373 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		dev_err(&client->dev, "HW semaphore is not released");
client            379 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		dev_err(&client->dev, "Bad transaction completion status %x\n",
client            394 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client            395 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	struct mlxsw_i2c *mlxsw_i2c = i2c_get_clientdata(client);
client            402 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		MLXSW_I2C_READ_MSG(client, tran_buf, NULL, 0);
client            414 drivers/net/ethernet/mellanox/mlxsw/i2c.c 			dev_err(&client->dev, "Could not acquire lock");
client            433 drivers/net/ethernet/mellanox/mlxsw/i2c.c 			dev_err(&client->dev, "Could not acquire lock");
client            437 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		err = mlxsw_i2c_write_init_cmd(client, mlxsw_i2c, opcode,
client            454 drivers/net/ethernet/mellanox/mlxsw/i2c.c 			err = i2c_transfer(client->adapter, read_tran,
client            557 drivers/net/ethernet/mellanox/mlxsw/i2c.c static int mlxsw_i2c_probe(struct i2c_client *client,
client            560 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	const struct i2c_adapter_quirks *quirks = client->adapter->quirks;
client            565 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	mlxsw_i2c = devm_kzalloc(&client->dev, sizeof(*mlxsw_i2c), GFP_KERNEL);
client            574 drivers/net/ethernet/mellanox/mlxsw/i2c.c 			dev_err(&client->dev, "Insufficient transaction buffer length\n");
client            585 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	i2c_set_clientdata(client, mlxsw_i2c);
client            601 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	err = mlxsw_i2c_write_cmd(client, mlxsw_i2c, 1);
client            603 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		dev_err(&client->dev, "Could not start transaction");
client            608 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	err = mlxsw_i2c_wait_go_bit(client, mlxsw_i2c, &status);
client            610 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		dev_err(&client->dev, "HW semaphore is not released");
client            616 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		dev_err(&client->dev, "Bad transaction completion status %x\n",
client            623 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	err = mlxsw_i2c_get_mbox(client, mlxsw_i2c);
client            625 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		dev_err(&client->dev, "Fail to get mailboxes\n");
client            629 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	dev_info(&client->dev, "%s mb size=%x off=0x%08x out mb size=%x off=0x%08x\n",
client            636 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	mlxsw_i2c->bus_info.device_name = client->name;
client            637 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	mlxsw_i2c->bus_info.dev = &client->dev;
client            639 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	mlxsw_i2c->dev = &client->dev;
client            645 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		dev_err(&client->dev, "Fail to register core bus\n");
client            652 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	i2c_set_clientdata(client, NULL);
client            657 drivers/net/ethernet/mellanox/mlxsw/i2c.c static int mlxsw_i2c_remove(struct i2c_client *client)
client            659 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	struct mlxsw_i2c *mlxsw_i2c = i2c_get_clientdata(client);
client           2575 drivers/net/ethernet/qlogic/qed/qed_mcp.c 				     enum qed_ov_client client)
client           2581 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	switch (client) {
client           2592 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		DP_NOTICE(p_hwfn, "Invalid client type %d\n", client);
client            492 drivers/net/ethernet/qlogic/qed/qed_mcp.h 				     enum qed_ov_client client);
client             66 drivers/net/ethernet/sfc/falcon/falcon_boards.c static int ef4_poke_lm87(struct i2c_client *client, const u8 *reg_values)
client             71 drivers/net/ethernet/sfc/falcon/falcon_boards.c 		int rc = i2c_smbus_write_byte_data(client, reg, value);
client             91 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	struct i2c_client *client = i2c_new_device(&board->i2c_adap, info);
client             94 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	if (!client)
client             98 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	i2c_smbus_read_byte_data(client, LM87_REG_ALARMS1);
client             99 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	i2c_smbus_read_byte_data(client, LM87_REG_ALARMS2);
client            101 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	rc = ef4_poke_lm87(client, reg_values);
client            104 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	rc = ef4_poke_lm87(client, falcon_lm87_common_regs);
client            108 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	board->hwmon_client = client;
client            112 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	i2c_unregister_device(client);
client            123 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	struct i2c_client *client = falcon_board(efx)->hwmon_client;
client            132 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	reg = i2c_smbus_read_byte_data(client, LM87_REG_ALARMS1);
client            136 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	reg = i2c_smbus_read_byte_data(client, LM87_REG_ALARMS2);
client            144 drivers/net/ethernet/sfc/falcon/falcon_boards.c 		reg = i2c_smbus_read_byte_data(client, LM87_REG_TEMP_INT);
client            151 drivers/net/ethernet/sfc/falcon/falcon_boards.c 		reg = i2c_smbus_read_byte_data(client, LM87_REG_TEMP_EXT1);
client           1893 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if (sta_priv && sta_priv->client && !is_agg)
client           2436 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		if (sta_priv->client &&
client           2836 drivers/net/wireless/intel/iwlegacy/common.h 	bool client;
client            197 drivers/net/wireless/intel/iwlwifi/dvm/dev.h 	bool client;
client            794 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		sta_priv->client = true;
client           1555 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		WARN_ON(!sta_priv->client);
client           1561 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		WARN_ON(!sta_priv->client);
client            452 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	if (sta_priv && sta_priv->client && !is_agg)
client            799 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 		if (sta_priv->client &&
client             92 drivers/nfc/fdp/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client             99 drivers/nfc/fdp/i2c.c 	fdp_nci_i2c_dump_skb(&client->dev, "fdp_wr", skb);
client            101 drivers/nfc/fdp/i2c.c 	r = i2c_master_send(client, skb->data, skb->len);
client            104 drivers/nfc/fdp/i2c.c 		r = i2c_master_send(client, skb->data, skb->len);
client            108 drivers/nfc/fdp/i2c.c 		dev_dbg(&client->dev, "%s: error err=%d len=%d\n",
client            136 drivers/nfc/fdp/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client            145 drivers/nfc/fdp/i2c.c 		r = i2c_master_recv(client, tmp, len);
client            147 drivers/nfc/fdp/i2c.c 			dev_dbg(&client->dev, "%s: i2c recv err: %d\n",
client            162 drivers/nfc/fdp/i2c.c 			dev_dbg(&client->dev, "%s: corrupted packet\n",
client            181 drivers/nfc/fdp/i2c.c 			fdp_nci_i2c_dump_skb(&client->dev, "fdp_rd", *skb);
client            191 drivers/nfc/fdp/i2c.c 	if (i2c_master_recv(client, tmp, sizeof(tmp)) < 0)
client            200 drivers/nfc/fdp/i2c.c 	struct i2c_client *client;
client            209 drivers/nfc/fdp/i2c.c 	client = phy->i2c_dev;
client            210 drivers/nfc/fdp/i2c.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            282 drivers/nfc/fdp/i2c.c static int fdp_nci_i2c_probe(struct i2c_client *client)
client            285 drivers/nfc/fdp/i2c.c 	struct device *dev = &client->dev;
client            293 drivers/nfc/fdp/i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            299 drivers/nfc/fdp/i2c.c 	if (client->irq <= 0) {
client            308 drivers/nfc/fdp/i2c.c 	phy->i2c_dev = client;
client            310 drivers/nfc/fdp/i2c.c 	i2c_set_clientdata(client, phy);
client            312 drivers/nfc/fdp/i2c.c 	r = devm_request_threaded_irq(dev, client->irq,
client            318 drivers/nfc/fdp/i2c.c 		nfc_err(&client->dev, "Unable to register IRQ handler\n");
client            350 drivers/nfc/fdp/i2c.c static int fdp_nci_i2c_remove(struct i2c_client *client)
client            352 drivers/nfc/fdp/i2c.c 	struct fdp_i2c_phy *phy = i2c_get_clientdata(client);
client            354 drivers/nfc/fdp/i2c.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            107 drivers/nfc/microread/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client            118 drivers/nfc/microread/i2c.c 	r = i2c_master_send(client, skb->data, skb->len);
client            122 drivers/nfc/microread/i2c.c 		r = i2c_master_send(client, skb->data, skb->len);
client            144 drivers/nfc/microread/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client            146 drivers/nfc/microread/i2c.c 	r = i2c_master_recv(client, &len, 1);
client            148 drivers/nfc/microread/i2c.c 		nfc_err(&client->dev, "cannot read len byte\n");
client            154 drivers/nfc/microread/i2c.c 		nfc_err(&client->dev, "invalid len byte\n");
client            167 drivers/nfc/microread/i2c.c 	r = i2c_master_recv(client, skb_put(*skb, len), len);
client            190 drivers/nfc/microread/i2c.c 	if (i2c_master_recv(client, tmp, sizeof(tmp)) < 0)
client            234 drivers/nfc/microread/i2c.c static int microread_i2c_probe(struct i2c_client *client,
client            240 drivers/nfc/microread/i2c.c 	dev_dbg(&client->dev, "client %p\n", client);
client            242 drivers/nfc/microread/i2c.c 	phy = devm_kzalloc(&client->dev, sizeof(struct microread_i2c_phy),
client            247 drivers/nfc/microread/i2c.c 	i2c_set_clientdata(client, phy);
client            248 drivers/nfc/microread/i2c.c 	phy->i2c_dev = client;
client            250 drivers/nfc/microread/i2c.c 	r = request_threaded_irq(client->irq, NULL, microread_i2c_irq_thread_fn,
client            254 drivers/nfc/microread/i2c.c 		nfc_err(&client->dev, "Unable to register IRQ handler\n");
client            265 drivers/nfc/microread/i2c.c 	nfc_info(&client->dev, "Probed\n");
client            270 drivers/nfc/microread/i2c.c 	free_irq(client->irq, phy);
client            275 drivers/nfc/microread/i2c.c static int microread_i2c_remove(struct i2c_client *client)
client            277 drivers/nfc/microread/i2c.c 	struct microread_i2c_phy *phy = i2c_get_clientdata(client);
client            281 drivers/nfc/microread/i2c.c 	free_irq(client->irq, phy);
client            198 drivers/nfc/nfcmrvl/i2c.c static int nfcmrvl_i2c_probe(struct i2c_client *client,
client            206 drivers/nfc/nfcmrvl/i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            207 drivers/nfc/nfcmrvl/i2c.c 		nfc_err(&client->dev, "Need I2C_FUNC_I2C\n");
client            211 drivers/nfc/nfcmrvl/i2c.c 	drv_data = devm_kzalloc(&client->dev, sizeof(*drv_data), GFP_KERNEL);
client            215 drivers/nfc/nfcmrvl/i2c.c 	drv_data->i2c = client;
client            216 drivers/nfc/nfcmrvl/i2c.c 	drv_data->dev = &client->dev;
client            219 drivers/nfc/nfcmrvl/i2c.c 	i2c_set_clientdata(client, drv_data);
client            221 drivers/nfc/nfcmrvl/i2c.c 	pdata = client->dev.platform_data;
client            223 drivers/nfc/nfcmrvl/i2c.c 	if (!pdata && client->dev.of_node)
client            224 drivers/nfc/nfcmrvl/i2c.c 		if (nfcmrvl_i2c_parse_dt(client->dev.of_node, &config) == 0)
client            253 drivers/nfc/nfcmrvl/i2c.c static int nfcmrvl_i2c_remove(struct i2c_client *client)
client            255 drivers/nfc/nfcmrvl/i2c.c 	struct nfcmrvl_i2c_drv_data *drv_data = i2c_get_clientdata(client);
client             64 drivers/nfc/nxp-nci/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client             69 drivers/nfc/nxp-nci/i2c.c 	r = i2c_master_send(client, skb->data, skb->len);
client             73 drivers/nfc/nxp-nci/i2c.c 		r = i2c_master_send(client, skb->data, skb->len);
client             77 drivers/nfc/nxp-nci/i2c.c 		nfc_err(&client->dev, "Error %d on I2C send\n", r);
client             79 drivers/nfc/nxp-nci/i2c.c 		nfc_err(&client->dev,
client             99 drivers/nfc/nxp-nci/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client            104 drivers/nfc/nxp-nci/i2c.c 	r = i2c_master_recv(client, (u8 *) &header, NXP_NCI_FW_HDR_LEN);
client            108 drivers/nfc/nxp-nci/i2c.c 		nfc_err(&client->dev, "Incorrect header length: %u\n", r);
client            124 drivers/nfc/nxp-nci/i2c.c 	r = i2c_master_recv(client, skb_put(*skb, frame_len), frame_len);
client            126 drivers/nfc/nxp-nci/i2c.c 		nfc_err(&client->dev,
client            145 drivers/nfc/nxp-nci/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client            148 drivers/nfc/nxp-nci/i2c.c 	r = i2c_master_recv(client, (u8 *) &header, NCI_CTRL_HDR_SIZE);
client            152 drivers/nfc/nxp-nci/i2c.c 		nfc_err(&client->dev, "Incorrect header length: %u\n", r);
client            165 drivers/nfc/nxp-nci/i2c.c 	r = i2c_master_recv(client, skb_put(*skb, header.plen), header.plen);
client            167 drivers/nfc/nxp-nci/i2c.c 		nfc_err(&client->dev,
client            185 drivers/nfc/nxp-nci/i2c.c 	struct i2c_client *client;
client            194 drivers/nfc/nxp-nci/i2c.c 	client = phy->i2c_dev;
client            196 drivers/nfc/nxp-nci/i2c.c 	if (!client || irq != client->irq)
client            227 drivers/nfc/nxp-nci/i2c.c 		nfc_err(&client->dev, "Read failed with error %d\n", r);
client            259 drivers/nfc/nxp-nci/i2c.c static int nxp_nci_i2c_probe(struct i2c_client *client,
client            262 drivers/nfc/nxp-nci/i2c.c 	struct device *dev = &client->dev;
client            266 drivers/nfc/nxp-nci/i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            267 drivers/nfc/nxp-nci/i2c.c 		nfc_err(&client->dev, "Need I2C_FUNC_I2C\n");
client            271 drivers/nfc/nxp-nci/i2c.c 	phy = devm_kzalloc(&client->dev, sizeof(struct nxp_nci_i2c_phy),
client            276 drivers/nfc/nxp-nci/i2c.c 	phy->i2c_dev = client;
client            277 drivers/nfc/nxp-nci/i2c.c 	i2c_set_clientdata(client, phy);
client            295 drivers/nfc/nxp-nci/i2c.c 	r = nxp_nci_probe(phy, &client->dev, &i2c_phy_ops,
client            300 drivers/nfc/nxp-nci/i2c.c 	r = request_threaded_irq(client->irq, NULL,
client            305 drivers/nfc/nxp-nci/i2c.c 		nfc_err(&client->dev, "Unable to register IRQ handler\n");
client            310 drivers/nfc/nxp-nci/i2c.c static int nxp_nci_i2c_remove(struct i2c_client *client)
client            312 drivers/nfc/nxp-nci/i2c.c 	struct nxp_nci_i2c_phy *phy = i2c_get_clientdata(client);
client            315 drivers/nfc/nxp-nci/i2c.c 	free_irq(client->irq, phy);
client             40 drivers/nfc/pn533/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client             45 drivers/nfc/pn533/i2c.c 	rc = i2c_master_send(client, ack, 6);
client             54 drivers/nfc/pn533/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client             68 drivers/nfc/pn533/i2c.c 	rc = i2c_master_send(client, out->data, out->len);
client             72 drivers/nfc/pn533/i2c.c 		rc = i2c_master_send(client, out->data, out->len);
client            100 drivers/nfc/pn533/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client            110 drivers/nfc/pn533/i2c.c 	r = i2c_master_recv(client, skb_put(*skb, len), len);
client            112 drivers/nfc/pn533/i2c.c 		nfc_err(&client->dev, "cannot read. r=%d len=%d\n", r, len);
client            118 drivers/nfc/pn533/i2c.c 		nfc_err(&client->dev, "READY flag not set");
client            134 drivers/nfc/pn533/i2c.c 	struct i2c_client *client;
client            143 drivers/nfc/pn533/i2c.c 	client = phy->i2c_dev;
client            144 drivers/nfc/pn533/i2c.c 	dev_dbg(&client->dev, "IRQ\n");
client            173 drivers/nfc/pn533/i2c.c static int pn533_i2c_probe(struct i2c_client *client,
client            180 drivers/nfc/pn533/i2c.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            181 drivers/nfc/pn533/i2c.c 	dev_dbg(&client->dev, "IRQ: %d\n", client->irq);
client            183 drivers/nfc/pn533/i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            184 drivers/nfc/pn533/i2c.c 		nfc_err(&client->dev, "Need I2C_FUNC_I2C\n");
client            188 drivers/nfc/pn533/i2c.c 	phy = devm_kzalloc(&client->dev, sizeof(struct pn533_i2c_phy),
client            193 drivers/nfc/pn533/i2c.c 	phy->i2c_dev = client;
client            194 drivers/nfc/pn533/i2c.c 	i2c_set_clientdata(client, phy);
client            201 drivers/nfc/pn533/i2c.c 				     &client->dev);
client            210 drivers/nfc/pn533/i2c.c 	r = request_threaded_irq(client->irq, NULL, pn533_i2c_irq_thread_fn,
client            215 drivers/nfc/pn533/i2c.c 		nfc_err(&client->dev, "Unable to register IRQ handler\n");
client            226 drivers/nfc/pn533/i2c.c 	free_irq(client->irq, phy);
client            234 drivers/nfc/pn533/i2c.c static int pn533_i2c_remove(struct i2c_client *client)
client            236 drivers/nfc/pn533/i2c.c 	struct pn533_i2c_phy *phy = i2c_get_clientdata(client);
client            238 drivers/nfc/pn533/i2c.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            240 drivers/nfc/pn533/i2c.c 	free_irq(client->irq, phy);
client            299 drivers/nfc/pn544/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client            310 drivers/nfc/pn544/i2c.c 	r = i2c_master_send(client, skb->data, skb->len);
client            314 drivers/nfc/pn544/i2c.c 		r = i2c_master_send(client, skb->data, skb->len);
client            363 drivers/nfc/pn544/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client            365 drivers/nfc/pn544/i2c.c 	r = i2c_master_recv(client, &len, 1);
client            367 drivers/nfc/pn544/i2c.c 		nfc_err(&client->dev, "cannot read len byte\n");
client            373 drivers/nfc/pn544/i2c.c 		nfc_err(&client->dev, "invalid len byte\n");
client            386 drivers/nfc/pn544/i2c.c 	r = i2c_master_recv(client, skb_put(*skb, len), len);
client            409 drivers/nfc/pn544/i2c.c 	if (i2c_master_recv(client, tmp, sizeof(tmp)) < 0)
client            421 drivers/nfc/pn544/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client            423 drivers/nfc/pn544/i2c.c 	r = i2c_master_recv(client, (char *) &response, sizeof(response));
client            425 drivers/nfc/pn544/i2c.c 		nfc_err(&client->dev, "cannot read fw status\n");
client            485 drivers/nfc/pn544/i2c.c 	struct i2c_client *client;
client            494 drivers/nfc/pn544/i2c.c 	client = phy->i2c_dev;
client            495 drivers/nfc/pn544/i2c.c 	dev_dbg(&client->dev, "IRQ\n");
client            560 drivers/nfc/pn544/i2c.c static int pn544_hci_i2c_fw_write_cmd(struct i2c_client *client, u32 dest_addr,
client            591 drivers/nfc/pn544/i2c.c 	r = i2c_master_send(client, frame, framelen);
client            601 drivers/nfc/pn544/i2c.c static int pn544_hci_i2c_fw_check_cmd(struct i2c_client *client, u32 start_addr,
client            630 drivers/nfc/pn544/i2c.c 	r = i2c_master_send(client, (const char *) &frame, sizeof(frame));
client            871 drivers/nfc/pn544/i2c.c static int pn544_hci_i2c_probe(struct i2c_client *client,
client            874 drivers/nfc/pn544/i2c.c 	struct device *dev = &client->dev;
client            878 drivers/nfc/pn544/i2c.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            879 drivers/nfc/pn544/i2c.c 	dev_dbg(&client->dev, "IRQ: %d\n", client->irq);
client            881 drivers/nfc/pn544/i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            882 drivers/nfc/pn544/i2c.c 		nfc_err(&client->dev, "Need I2C_FUNC_I2C\n");
client            886 drivers/nfc/pn544/i2c.c 	phy = devm_kzalloc(&client->dev, sizeof(struct pn544_i2c_phy),
client            894 drivers/nfc/pn544/i2c.c 	phy->i2c_dev = client;
client            895 drivers/nfc/pn544/i2c.c 	i2c_set_clientdata(client, phy);
client            917 drivers/nfc/pn544/i2c.c 	r = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            922 drivers/nfc/pn544/i2c.c 		nfc_err(&client->dev, "Unable to register IRQ handler\n");
client            936 drivers/nfc/pn544/i2c.c static int pn544_hci_i2c_remove(struct i2c_client *client)
client            938 drivers/nfc/pn544/i2c.c 	struct pn544_i2c_phy *phy = i2c_get_clientdata(client);
client            940 drivers/nfc/pn544/i2c.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            195 drivers/nfc/s3fwrn5/i2c.c static int s3fwrn5_i2c_parse_dt(struct i2c_client *client)
client            197 drivers/nfc/s3fwrn5/i2c.c 	struct s3fwrn5_i2c_phy *phy = i2c_get_clientdata(client);
client            198 drivers/nfc/s3fwrn5/i2c.c 	struct device_node *np = client->dev.of_node;
client            214 drivers/nfc/s3fwrn5/i2c.c static int s3fwrn5_i2c_probe(struct i2c_client *client,
client            220 drivers/nfc/s3fwrn5/i2c.c 	phy = devm_kzalloc(&client->dev, sizeof(*phy), GFP_KERNEL);
client            228 drivers/nfc/s3fwrn5/i2c.c 	phy->i2c_dev = client;
client            229 drivers/nfc/s3fwrn5/i2c.c 	i2c_set_clientdata(client, phy);
client            231 drivers/nfc/s3fwrn5/i2c.c 	ret = s3fwrn5_i2c_parse_dt(client);
client            250 drivers/nfc/s3fwrn5/i2c.c 	ret = devm_request_threaded_irq(&client->dev, phy->i2c_dev->irq, NULL,
client            259 drivers/nfc/s3fwrn5/i2c.c static int s3fwrn5_i2c_remove(struct i2c_client *client)
client            261 drivers/nfc/s3fwrn5/i2c.c 	struct s3fwrn5_i2c_phy *phy = i2c_get_clientdata(client);
client             77 drivers/nfc/st-nci/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client             82 drivers/nfc/st-nci/i2c.c 	r = i2c_master_send(client, skb->data, skb->len);
client             85 drivers/nfc/st-nci/i2c.c 		r = i2c_master_send(client, skb->data, skb->len);
client            112 drivers/nfc/st-nci/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client            114 drivers/nfc/st-nci/i2c.c 	r = i2c_master_recv(client, buf, ST_NCI_I2C_MIN_SIZE);
client            117 drivers/nfc/st-nci/i2c.c 		r = i2c_master_recv(client, buf, ST_NCI_I2C_MIN_SIZE);
client            125 drivers/nfc/st-nci/i2c.c 		nfc_err(&client->dev, "invalid frame len\n");
client            140 drivers/nfc/st-nci/i2c.c 	r = i2c_master_recv(client, buf, len);
client            160 drivers/nfc/st-nci/i2c.c 	struct i2c_client *client;
client            169 drivers/nfc/st-nci/i2c.c 	client = phy->i2c_dev;
client            170 drivers/nfc/st-nci/i2c.c 	dev_dbg(&client->dev, "IRQ\n");
client            202 drivers/nfc/st-nci/i2c.c static int st_nci_i2c_probe(struct i2c_client *client,
client            205 drivers/nfc/st-nci/i2c.c 	struct device *dev = &client->dev;
client            209 drivers/nfc/st-nci/i2c.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            210 drivers/nfc/st-nci/i2c.c 	dev_dbg(&client->dev, "IRQ: %d\n", client->irq);
client            212 drivers/nfc/st-nci/i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            213 drivers/nfc/st-nci/i2c.c 		nfc_err(&client->dev, "Need I2C_FUNC_I2C\n");
client            221 drivers/nfc/st-nci/i2c.c 	phy->i2c_dev = client;
client            223 drivers/nfc/st-nci/i2c.c 	i2c_set_clientdata(client, phy);
client            241 drivers/nfc/st-nci/i2c.c 	r = ndlc_probe(phy, &i2c_phy_ops, &client->dev,
client            245 drivers/nfc/st-nci/i2c.c 		nfc_err(&client->dev, "Unable to register ndlc layer\n");
client            250 drivers/nfc/st-nci/i2c.c 	r = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            255 drivers/nfc/st-nci/i2c.c 		nfc_err(&client->dev, "Unable to register IRQ handler\n");
client            260 drivers/nfc/st-nci/i2c.c static int st_nci_i2c_remove(struct i2c_client *client)
client            262 drivers/nfc/st-nci/i2c.c 	struct st_nci_i2c_phy *phy = i2c_get_clientdata(client);
client            264 drivers/nfc/st-nci/i2c.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            188 drivers/nfc/st21nfca/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client            234 drivers/nfc/st21nfca/i2c.c 		r = i2c_master_send(client, tmp, j);
client            355 drivers/nfc/st21nfca/i2c.c 	struct i2c_client *client = phy->i2c_dev;
client            368 drivers/nfc/st21nfca/i2c.c 			r = i2c_master_recv(client, buf, len);
client            426 drivers/nfc/st21nfca/i2c.c 	struct i2c_client *client;
client            435 drivers/nfc/st21nfca/i2c.c 	client = phy->i2c_dev;
client            436 drivers/nfc/st21nfca/i2c.c 	dev_dbg(&client->dev, "IRQ\n");
client            498 drivers/nfc/st21nfca/i2c.c static int st21nfca_hci_i2c_probe(struct i2c_client *client,
client            501 drivers/nfc/st21nfca/i2c.c 	struct device *dev = &client->dev;
client            505 drivers/nfc/st21nfca/i2c.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            506 drivers/nfc/st21nfca/i2c.c 	dev_dbg(&client->dev, "IRQ: %d\n", client->irq);
client            508 drivers/nfc/st21nfca/i2c.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            509 drivers/nfc/st21nfca/i2c.c 		nfc_err(&client->dev, "Need I2C_FUNC_I2C\n");
client            513 drivers/nfc/st21nfca/i2c.c 	phy = devm_kzalloc(&client->dev, sizeof(struct st21nfca_i2c_phy),
client            518 drivers/nfc/st21nfca/i2c.c 	phy->i2c_dev = client;
client            526 drivers/nfc/st21nfca/i2c.c 	i2c_set_clientdata(client, phy);
client            540 drivers/nfc/st21nfca/i2c.c 			device_property_read_bool(&client->dev, "ese-present");
client            542 drivers/nfc/st21nfca/i2c.c 			device_property_read_bool(&client->dev, "uicc-present");
client            546 drivers/nfc/st21nfca/i2c.c 		nfc_err(&client->dev, "Unable to reboot st21nfca\n");
client            550 drivers/nfc/st21nfca/i2c.c 	r = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            555 drivers/nfc/st21nfca/i2c.c 		nfc_err(&client->dev, "Unable to register IRQ handler\n");
client            567 drivers/nfc/st21nfca/i2c.c static int st21nfca_hci_i2c_remove(struct i2c_client *client)
client            569 drivers/nfc/st21nfca/i2c.c 	struct st21nfca_i2c_phy *phy = i2c_get_clientdata(client);
client            571 drivers/nfc/st21nfca/i2c.c 	dev_dbg(&client->dev, "%s\n", __func__);
client             78 drivers/ntb/core.c int __ntb_register_client(struct ntb_client *client, struct module *mod,
client             81 drivers/ntb/core.c 	if (!client)
client             83 drivers/ntb/core.c 	if (!ntb_client_ops_is_valid(&client->ops))
client             86 drivers/ntb/core.c 	memset(&client->drv, 0, sizeof(client->drv));
client             87 drivers/ntb/core.c 	client->drv.bus = &ntb_bus;
client             88 drivers/ntb/core.c 	client->drv.name = mod_name;
client             89 drivers/ntb/core.c 	client->drv.owner = mod;
client             91 drivers/ntb/core.c 	return driver_register(&client->drv);
client             95 drivers/ntb/core.c void ntb_unregister_client(struct ntb_client *client)
client             97 drivers/ntb/core.c 	driver_unregister(&client->drv);
client            264 drivers/ntb/core.c 	struct ntb_client *client;
client            269 drivers/ntb/core.c 	client = drv_ntb_client(dev->driver);
client            271 drivers/ntb/core.c 	rc = client->ops.probe(client, ntb);
client            281 drivers/ntb/core.c 	struct ntb_client *client;
client            285 drivers/ntb/core.c 		client = drv_ntb_client(dev->driver);
client            287 drivers/ntb/core.c 		client->ops.remove(client, ntb);
client            294 drivers/ntb/ntb_transport.c 	const struct ntb_transport_client *client;
client            299 drivers/ntb/ntb_transport.c 	client = drv_client(dev->driver);
client            300 drivers/ntb/ntb_transport.c 	rc = client->probe(dev);
client            309 drivers/ntb/ntb_transport.c 	const struct ntb_transport_client *client;
client            311 drivers/ntb/ntb_transport.c 	client = drv_client(dev->driver);
client            312 drivers/ntb/ntb_transport.c 	client->remove(dev);
client            364 drivers/ntb/ntb_transport.c 	struct ntb_transport_client_dev *client, *cd;
client            368 drivers/ntb/ntb_transport.c 		list_for_each_entry_safe(client, cd, &nt->client_devs, entry)
client            369 drivers/ntb/ntb_transport.c 			if (!strncmp(dev_name(&client->dev), device_name,
client            371 drivers/ntb/ntb_transport.c 				list_del(&client->entry);
client            372 drivers/ntb/ntb_transport.c 				device_unregister(&client->dev);
client            319 drivers/ntb/test/ntb_msi_test.c static int ntb_msit_probe(struct ntb_client *client, struct ntb_dev *ntb)
client            389 drivers/ntb/test/ntb_msi_test.c static void ntb_msit_remove(struct ntb_client *client, struct ntb_dev *ntb)
client           1436 drivers/ntb/test/ntb_perf.c static int perf_probe(struct ntb_client *client, struct ntb_dev *ntb)
client           1464 drivers/ntb/test/ntb_perf.c static void perf_remove(struct ntb_client *client, struct ntb_dev *ntb)
client            371 drivers/ntb/test/ntb_pingpong.c static int pp_probe(struct ntb_client *client, struct ntb_dev *ntb)
client            399 drivers/ntb/test/ntb_pingpong.c static void pp_remove(struct ntb_client *client, struct ntb_dev *ntb)
client           1336 drivers/of/unittest.c 	struct i2c_client *client;
client           1342 drivers/of/unittest.c 	client = of_find_i2c_device_by_node(np);
client           1345 drivers/of/unittest.c 	return client;
client           1351 drivers/of/unittest.c 	struct i2c_client *client;
client           1353 drivers/of/unittest.c 	client = of_path_to_i2c_client(path);
client           1354 drivers/of/unittest.c 	if (client)
client           1355 drivers/of/unittest.c 		put_device(&client->dev);
client           1356 drivers/of/unittest.c 	return client != NULL;
client           1910 drivers/of/unittest.c static int unittest_i2c_dev_probe(struct i2c_client *client,
client           1913 drivers/of/unittest.c 	struct device *dev = &client->dev;
client           1914 drivers/of/unittest.c 	struct device_node *np = client->dev.of_node;
client           1926 drivers/of/unittest.c static int unittest_i2c_dev_remove(struct i2c_client *client)
client           1928 drivers/of/unittest.c 	struct device *dev = &client->dev;
client           1929 drivers/of/unittest.c 	struct device_node *np = client->dev.of_node;
client           1956 drivers/of/unittest.c static int unittest_i2c_mux_probe(struct i2c_client *client,
client           1960 drivers/of/unittest.c 	struct device *dev = &client->dev;
client           1961 drivers/of/unittest.c 	struct i2c_adapter *adap = client->adapter;
client           1962 drivers/of/unittest.c 	struct device_node *np = client->dev.of_node, *child;
client           1998 drivers/of/unittest.c 	i2c_set_clientdata(client, muxc);
client           2003 drivers/of/unittest.c static int unittest_i2c_mux_remove(struct i2c_client *client)
client           2005 drivers/of/unittest.c 	struct device *dev = &client->dev;
client           2006 drivers/of/unittest.c 	struct device_node *np = client->dev.of_node;
client           2007 drivers/of/unittest.c 	struct i2c_mux_core *muxc = i2c_get_clientdata(client);
client            341 drivers/pci/p2pdma.c __upstream_bridge_distance(struct pci_dev *provider, struct pci_dev *client,
client            344 drivers/pci/p2pdma.c 	struct pci_dev *a = provider, *b = client, *bb;
client            413 drivers/pci/p2pdma.c static unsigned long map_types_idx(struct pci_dev *client)
client            415 drivers/pci/p2pdma.c 	return (pci_domain_nr(client->bus) << 16) |
client            416 drivers/pci/p2pdma.c 		(client->bus->number << 8) | client->devfn;
client            459 drivers/pci/p2pdma.c upstream_bridge_distance(struct pci_dev *provider, struct pci_dev *client,
client            464 drivers/pci/p2pdma.c 	map_type = __upstream_bridge_distance(provider, client, dist,
client            468 drivers/pci/p2pdma.c 		if (!host_bridge_whitelist(provider, client))
client            473 drivers/pci/p2pdma.c 		xa_store(&provider->p2pdma->map_types, map_types_idx(client),
client            480 drivers/pci/p2pdma.c upstream_bridge_distance_warn(struct pci_dev *provider, struct pci_dev *client,
client            491 drivers/pci/p2pdma.c 	ret = upstream_bridge_distance(provider, client, dist, &acs_redirects,
client            494 drivers/pci/p2pdma.c 		pci_warn(client, "ACS redirect is set between the client and provider (%s)\n",
client            498 drivers/pci/p2pdma.c 		pci_warn(client, "to disable ACS redirect for this path, add the kernel parameter: pci=disable_acs_redir=%s\n",
client            503 drivers/pci/p2pdma.c 		pci_warn(client, "cannot be used for peer-to-peer DMA as the client and provider (%s) do not share an upstream bridge or whitelisted host bridge\n",
client            806 drivers/pci/p2pdma.c 						    struct pci_dev *client)
client            812 drivers/pci/p2pdma.c 				   map_types_idx(client)));
client            860 drivers/pci/p2pdma.c 	struct pci_dev *client;
client            865 drivers/pci/p2pdma.c 	client = to_pci_dev(dev);
client            867 drivers/pci/p2pdma.c 	switch (pci_p2pdma_map_type(p2p_pgmap->provider, client)) {
client            894 drivers/pci/p2pdma.c 	struct pci_dev *client;
client            899 drivers/pci/p2pdma.c 	client = to_pci_dev(dev);
client            901 drivers/pci/p2pdma.c 	map_type = pci_p2pdma_map_type(p2p_pgmap->provider, client);
client             53 drivers/phy/samsung/phy-exynos5250-sata.c 	struct i2c_client *client;
client            132 drivers/phy/samsung/phy-exynos5250-sata.c 	ret = i2c_master_send(sata_phy->client, buf, sizeof(buf));
client            192 drivers/phy/samsung/phy-exynos5250-sata.c 	sata_phy->client = of_find_i2c_device_by_node(node);
client            193 drivers/phy/samsung/phy-exynos5250-sata.c 	if (!sata_phy->client)
client            914 drivers/pinctrl/pinctrl-mcp23s08.c static int mcp230xx_probe(struct i2c_client *client,
client            921 drivers/pinctrl/pinctrl-mcp23s08.c 	pdata = dev_get_platdata(&client->dev);
client            927 drivers/pinctrl/pinctrl-mcp23s08.c 	mcp = devm_kzalloc(&client->dev, sizeof(*mcp), GFP_KERNEL);
client            931 drivers/pinctrl/pinctrl-mcp23s08.c 	mcp->irq = client->irq;
client            932 drivers/pinctrl/pinctrl-mcp23s08.c 	mcp->irq_chip.name = dev_name(&client->dev);
client            939 drivers/pinctrl/pinctrl-mcp23s08.c 	status = mcp23s08_probe_one(mcp, &client->dev, client, client->addr,
client            944 drivers/pinctrl/pinctrl-mcp23s08.c 	i2c_set_clientdata(client, mcp);
client             98 drivers/pinctrl/pinctrl-sx150x.c 	struct i2c_client *client;
client            848 drivers/pinctrl/pinctrl-sx150x.c 	err = i2c_smbus_write_byte_data(pctl->client,
client            854 drivers/pinctrl/pinctrl-sx150x.c 	err = i2c_smbus_write_byte_data(pctl->client,
client           1002 drivers/pinctrl/pinctrl-sx150x.c 	struct i2c_client *i2c = pctl->client;
client           1055 drivers/pinctrl/pinctrl-sx150x.c 	struct i2c_client *i2c = pctl->client;
client           1095 drivers/pinctrl/pinctrl-sx150x.c static int sx150x_probe(struct i2c_client *client,
client           1100 drivers/pinctrl/pinctrl-sx150x.c 	struct device *dev = &client->dev;
client           1104 drivers/pinctrl/pinctrl-sx150x.c 	if (!i2c_check_functionality(client->adapter, i2c_funcs))
client           1111 drivers/pinctrl/pinctrl-sx150x.c 	i2c_set_clientdata(client, pctl);
client           1114 drivers/pinctrl/pinctrl-sx150x.c 	pctl->client = client;
client           1174 drivers/pinctrl/pinctrl-sx150x.c 	pctl->gpio.label = devm_kstrdup(dev, client->name, GFP_KERNEL);
client           1197 drivers/pinctrl/pinctrl-sx150x.c 	if (client->irq > 0) {
client           1203 drivers/pinctrl/pinctrl-sx150x.c 		pctl->irq_chip.name = devm_kstrdup(dev, client->name,
client           1230 drivers/pinctrl/pinctrl-sx150x.c 		ret = devm_request_threaded_irq(dev, client->irq, NULL,
client           1240 drivers/pinctrl/pinctrl-sx150x.c 					    client->irq);
client             55 drivers/platform/chrome/chromeos_laptop.c 	struct i2c_client *client;
client             83 drivers/platform/chrome/chromeos_laptop.c 	struct i2c_client *client;
client             90 drivers/platform/chrome/chromeos_laptop.c 	client = i2c_new_probed_device(adapter, info, addr_list, NULL);
client             91 drivers/platform/chrome/chromeos_laptop.c 	if (!client && alt_addr) {
client            106 drivers/platform/chrome/chromeos_laptop.c 			client = i2c_new_device(adapter, info);
client            110 drivers/platform/chrome/chromeos_laptop.c 	if (!client)
client            117 drivers/platform/chrome/chromeos_laptop.c 	return client;
client            140 drivers/platform/chrome/chromeos_laptop.c 		if (i2c_dev->client)
client            153 drivers/platform/chrome/chromeos_laptop.c 		i2c_dev->client =
client            160 drivers/platform/chrome/chromeos_laptop.c static bool chromeos_laptop_adjust_client(struct i2c_client *client)
client            167 drivers/platform/chrome/chromeos_laptop.c 	if (!has_acpi_companion(&client->dev))
client            175 drivers/platform/chrome/chromeos_laptop.c 		if (acpi_match_device(acpi_ids, &client->dev)) {
client            176 drivers/platform/chrome/chromeos_laptop.c 			error = device_add_properties(&client->dev,
client            179 drivers/platform/chrome/chromeos_laptop.c 				dev_err(&client->dev,
client            192 drivers/platform/chrome/chromeos_laptop.c static void chromeos_laptop_detach_i2c_client(struct i2c_client *client)
client            200 drivers/platform/chrome/chromeos_laptop.c 		if (i2c_dev->client == client)
client            201 drivers/platform/chrome/chromeos_laptop.c 			i2c_dev->client = NULL;
client            841 drivers/platform/chrome/chromeos_laptop.c 		i2c_unregister_device(i2c_dev->client);
client             45 drivers/platform/chrome/cros_ec_i2c.c 	struct i2c_client *client = to_i2c_client(dev);
client             47 drivers/platform/chrome/cros_ec_i2c.c 	return i2c_get_clientdata(client);
client             53 drivers/platform/chrome/cros_ec_i2c.c 	struct i2c_client *client = ec_dev->priv;
client             67 drivers/platform/chrome/cros_ec_i2c.c 	i2c_msg[0].addr = client->addr;
client             69 drivers/platform/chrome/cros_ec_i2c.c 	i2c_msg[1].addr = client->addr;
client             93 drivers/platform/chrome/cros_ec_i2c.c 	ret = i2c_transfer(client->adapter, i2c_msg, 2);
client            181 drivers/platform/chrome/cros_ec_i2c.c 	struct i2c_client *client = ec_dev->priv;
client            191 drivers/platform/chrome/cros_ec_i2c.c 	i2c_msg[0].addr = client->addr;
client            193 drivers/platform/chrome/cros_ec_i2c.c 	i2c_msg[1].addr = client->addr;
client            231 drivers/platform/chrome/cros_ec_i2c.c 	ret = i2c_transfer(client->adapter, i2c_msg, 2);
client            279 drivers/platform/chrome/cros_ec_i2c.c static int cros_ec_i2c_probe(struct i2c_client *client,
client            282 drivers/platform/chrome/cros_ec_i2c.c 	struct device *dev = &client->dev;
client            290 drivers/platform/chrome/cros_ec_i2c.c 	i2c_set_clientdata(client, ec_dev);
client            292 drivers/platform/chrome/cros_ec_i2c.c 	ec_dev->priv = client;
client            293 drivers/platform/chrome/cros_ec_i2c.c 	ec_dev->irq = client->irq;
client            296 drivers/platform/chrome/cros_ec_i2c.c 	ec_dev->phys_name = client->adapter->name;
client            310 drivers/platform/chrome/cros_ec_i2c.c static int cros_ec_i2c_remove(struct i2c_client *client)
client            312 drivers/platform/chrome/cros_ec_i2c.c 	struct cros_ec_device *ec_dev = i2c_get_clientdata(client);
client            124 drivers/platform/mellanox/mlxreg-hotplug.c 	data->hpdev.client = i2c_new_device(data->hpdev.adapter,
client            126 drivers/platform/mellanox/mlxreg-hotplug.c 	if (!data->hpdev.client) {
client            146 drivers/platform/mellanox/mlxreg-hotplug.c 	if (data->hpdev.client) {
client            147 drivers/platform/mellanox/mlxreg-hotplug.c 		i2c_unregister_device(data->hpdev.client);
client            148 drivers/platform/mellanox/mlxreg-hotplug.c 		data->hpdev.client = NULL;
client             88 drivers/platform/x86/surface3_button.c surface3_button_device_create(struct i2c_client *client,
client            100 drivers/platform/x86/surface3_button.c 	gpio_keys_pdata = devm_kzalloc(&client->dev,
client            113 drivers/platform/x86/surface3_button.c 		gpio = surface3_button_lookup_gpio(&client->dev,
client            156 drivers/platform/x86/surface3_button.c 	devm_kfree(&client->dev, gpio_keys_pdata);
client            160 drivers/platform/x86/surface3_button.c static int surface3_button_remove(struct i2c_client *client)
client            162 drivers/platform/x86/surface3_button.c 	struct surface3_button_data *priv = i2c_get_clientdata(client);
client            181 drivers/platform/x86/surface3_button.c static int surface3_button_probe(struct i2c_client *client,
client            184 drivers/platform/x86/surface3_button.c 	struct device *dev = &client->dev;
client            190 drivers/platform/x86/surface3_button.c 	if (strncmp(acpi_device_bid(ACPI_COMPANION(&client->dev)),
client            205 drivers/platform/x86/surface3_button.c 	i2c_set_clientdata(client, priv);
client            208 drivers/platform/x86/surface3_button.c 		pd = surface3_button_device_create(client,
client            214 drivers/platform/x86/surface3_button.c 				surface3_button_remove(client);
client           1002 drivers/platform/x86/touchscreen_dmi.c static void ts_dmi_add_props(struct i2c_client *client)
client           1004 drivers/platform/x86/touchscreen_dmi.c 	struct device *dev = &client->dev;
client           1008 drivers/platform/x86/touchscreen_dmi.c 	    !strncmp(ts_data->acpi_name, client->name, I2C_NAME_SIZE)) {
client           1019 drivers/platform/x86/touchscreen_dmi.c 	struct i2c_client *client;
client           1023 drivers/platform/x86/touchscreen_dmi.c 		client = i2c_verify_client(dev);
client           1024 drivers/platform/x86/touchscreen_dmi.c 		if (client)
client           1025 drivers/platform/x86/touchscreen_dmi.c 			ts_dmi_add_props(client);
client            935 drivers/power/supply/88pm860x_battery.c 	    (chip->id == CHIP_PM8607) ? chip->client : chip->companion;
client            688 drivers/power/supply/88pm860x_charger.c 	    (chip->id == CHIP_PM8607) ? chip->client : chip->companion;
client            690 drivers/power/supply/88pm860x_charger.c 	    (chip->id == CHIP_PM8607) ? chip->companion : chip->client;
client            140 drivers/power/supply/adp5061.c 	struct i2c_client		*client;
client            694 drivers/power/supply/adp5061.c static int adp5061_probe(struct i2c_client *client,
client            700 drivers/power/supply/adp5061.c 	st = devm_kzalloc(&client->dev, sizeof(*st), GFP_KERNEL);
client            704 drivers/power/supply/adp5061.c 	st->client = client;
client            705 drivers/power/supply/adp5061.c 	st->regmap = devm_regmap_init_i2c(client,
client            708 drivers/power/supply/adp5061.c 		dev_err(&client->dev, "Failed to initialize register map\n");
client            712 drivers/power/supply/adp5061.c 	i2c_set_clientdata(client, st);
client            715 drivers/power/supply/adp5061.c 	st->psy = devm_power_supply_register(&client->dev,
client            720 drivers/power/supply/adp5061.c 		dev_err(&client->dev, "Failed to register power supply\n");
client            189 drivers/power/supply/bq2415x_charger.c 	struct i2c_client *client = to_i2c_client(bq->dev);
client            194 drivers/power/supply/bq2415x_charger.c 	if (!client->adapter)
client            197 drivers/power/supply/bq2415x_charger.c 	msg[0].addr = client->addr;
client            201 drivers/power/supply/bq2415x_charger.c 	msg[1].addr = client->addr;
client            207 drivers/power/supply/bq2415x_charger.c 	ret = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg));
client            244 drivers/power/supply/bq2415x_charger.c 	struct i2c_client *client = to_i2c_client(bq->dev);
client            252 drivers/power/supply/bq2415x_charger.c 	msg[0].addr = client->addr;
client            258 drivers/power/supply/bq2415x_charger.c 	ret = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg));
client            407 drivers/power/supply/bq2415x_charger.c 	struct i2c_client *client = to_i2c_client(bq->dev);
client            413 drivers/power/supply/bq2415x_charger.c 	switch (client->addr) {
client           1523 drivers/power/supply/bq2415x_charger.c static int bq2415x_probe(struct i2c_client *client,
client           1530 drivers/power/supply/bq2415x_charger.c 	struct device_node *np = client->dev.of_node;
client           1531 drivers/power/supply/bq2415x_charger.c 	struct bq2415x_platform_data *pdata = client->dev.platform_data;
client           1536 drivers/power/supply/bq2415x_charger.c 	if (!np && !pdata && !ACPI_HANDLE(&client->dev)) {
client           1537 drivers/power/supply/bq2415x_charger.c 		dev_err(&client->dev, "Neither devicetree, nor platform data, nor ACPI support\n");
client           1543 drivers/power/supply/bq2415x_charger.c 	num = idr_alloc(&bq2415x_id, client, 0, 0, GFP_KERNEL);
client           1550 drivers/power/supply/bq2415x_charger.c 	} else if (ACPI_HANDLE(&client->dev)) {
client           1552 drivers/power/supply/bq2415x_charger.c 			acpi_match_device(client->dev.driver->acpi_match_table,
client           1553 drivers/power/supply/bq2415x_charger.c 					  &client->dev);
client           1555 drivers/power/supply/bq2415x_charger.c 			dev_err(&client->dev, "failed to match device name\n");
client           1562 drivers/power/supply/bq2415x_charger.c 		dev_err(&client->dev, "failed to allocate device name\n");
client           1567 drivers/power/supply/bq2415x_charger.c 	bq = devm_kzalloc(&client->dev, sizeof(*bq), GFP_KERNEL);
client           1573 drivers/power/supply/bq2415x_charger.c 	i2c_set_clientdata(client, bq);
client           1576 drivers/power/supply/bq2415x_charger.c 	bq->dev = &client->dev;
client           1699 drivers/power/supply/bq2415x_charger.c static int bq2415x_remove(struct i2c_client *client)
client           1701 drivers/power/supply/bq2415x_charger.c 	struct bq2415x_device *bq = i2c_get_clientdata(client);
client            158 drivers/power/supply/bq24190_charger.c 	struct i2c_client		*client;
client            246 drivers/power/supply/bq24190_charger.c 	ret = i2c_smbus_read_byte_data(bdi->client, reg);
client            256 drivers/power/supply/bq24190_charger.c 	return i2c_smbus_write_byte_data(bdi->client, reg, data);
client           1697 drivers/power/supply/bq24190_charger.c static int bq24190_probe(struct i2c_client *client,
client           1700 drivers/power/supply/bq24190_charger.c 	struct i2c_adapter *adapter = client->adapter;
client           1701 drivers/power/supply/bq24190_charger.c 	struct device *dev = &client->dev;
client           1717 drivers/power/supply/bq24190_charger.c 	bdi->client = client;
client           1726 drivers/power/supply/bq24190_charger.c 	i2c_set_clientdata(client, bdi);
client           1728 drivers/power/supply/bq24190_charger.c 	if (client->irq <= 0) {
client           1798 drivers/power/supply/bq24190_charger.c 	ret = devm_request_threaded_irq(dev, client->irq, NULL,
client           1811 drivers/power/supply/bq24190_charger.c 	enable_irq_wake(client->irq);
client           1830 drivers/power/supply/bq24190_charger.c static int bq24190_remove(struct i2c_client *client)
client           1832 drivers/power/supply/bq24190_charger.c 	struct bq24190_dev_info *bdi = i2c_get_clientdata(client);
client           1855 drivers/power/supply/bq24190_charger.c 	struct i2c_client *client = to_i2c_client(dev);
client           1856 drivers/power/supply/bq24190_charger.c 	struct bq24190_dev_info *bdi = i2c_get_clientdata(client);
client           1868 drivers/power/supply/bq24190_charger.c 	struct i2c_client *client = to_i2c_client(dev);
client           1869 drivers/power/supply/bq24190_charger.c 	struct bq24190_dev_info *bdi = i2c_get_clientdata(client);
client           1884 drivers/power/supply/bq24190_charger.c 	struct i2c_client *client = to_i2c_client(dev);
client           1885 drivers/power/supply/bq24190_charger.c 	struct bq24190_dev_info *bdi = i2c_get_clientdata(client);
client           1906 drivers/power/supply/bq24190_charger.c 	struct i2c_client *client = to_i2c_client(dev);
client           1907 drivers/power/supply/bq24190_charger.c 	struct bq24190_dev_info *bdi = i2c_get_clientdata(client);
client             83 drivers/power/supply/bq24257_charger.c 	struct i2c_client *client;
client            950 drivers/power/supply/bq24257_charger.c static int bq24257_probe(struct i2c_client *client,
client            953 drivers/power/supply/bq24257_charger.c 	struct i2c_adapter *adapter = client->adapter;
client            954 drivers/power/supply/bq24257_charger.c 	struct device *dev = &client->dev;
client            969 drivers/power/supply/bq24257_charger.c 	bq->client = client;
client            974 drivers/power/supply/bq24257_charger.c 					    &client->dev);
client            986 drivers/power/supply/bq24257_charger.c 	bq->rmap = devm_regmap_init_i2c(client, &bq24257_regmap_config);
client           1003 drivers/power/supply/bq24257_charger.c 	i2c_set_clientdata(client, bq);
client           1067 drivers/power/supply/bq24257_charger.c 	ret = devm_request_threaded_irq(dev, client->irq, NULL,
client           1073 drivers/power/supply/bq24257_charger.c 		dev_err(dev, "Failed to request IRQ #%d\n", client->irq);
client           1080 drivers/power/supply/bq24257_charger.c static int bq24257_remove(struct i2c_client *client)
client           1082 drivers/power/supply/bq24257_charger.c 	struct bq24257_device *bq = i2c_get_clientdata(client);
client             49 drivers/power/supply/bq24735-charger.c 	struct i2c_client		*client;
client             81 drivers/power/supply/bq24735-charger.c static inline int bq24735_write_word(struct i2c_client *client, u8 reg,
client             84 drivers/power/supply/bq24735-charger.c 	return i2c_smbus_write_word_data(client, reg, value);
client             87 drivers/power/supply/bq24735-charger.c static inline int bq24735_read_word(struct i2c_client *client, u8 reg)
client             89 drivers/power/supply/bq24735-charger.c 	return i2c_smbus_read_word_data(client, reg);
client             92 drivers/power/supply/bq24735-charger.c static int bq24735_update_word(struct i2c_client *client, u8 reg,
client             98 drivers/power/supply/bq24735-charger.c 	ret = bq24735_read_word(client, reg);
client            105 drivers/power/supply/bq24735-charger.c 	return bq24735_write_word(client, reg, tmp);
client            120 drivers/power/supply/bq24735-charger.c 		ret = bq24735_write_word(charger->client,
client            123 drivers/power/supply/bq24735-charger.c 			dev_err(&charger->client->dev,
client            133 drivers/power/supply/bq24735-charger.c 		ret = bq24735_write_word(charger->client,
client            136 drivers/power/supply/bq24735-charger.c 			dev_err(&charger->client->dev,
client            146 drivers/power/supply/bq24735-charger.c 		ret = bq24735_write_word(charger->client,
client            149 drivers/power/supply/bq24735-charger.c 			dev_err(&charger->client->dev,
client            170 drivers/power/supply/bq24735-charger.c 	return bq24735_update_word(charger->client, BQ24735_CHG_OPT,
client            179 drivers/power/supply/bq24735-charger.c 	return bq24735_update_word(charger->client, BQ24735_CHG_OPT,
client            191 drivers/power/supply/bq24735-charger.c 		ac = bq24735_read_word(charger->client, BQ24735_CHG_OPT);
client            193 drivers/power/supply/bq24735-charger.c 			dev_dbg(&charger->client->dev,
client            211 drivers/power/supply/bq24735-charger.c 	ret  = bq24735_read_word(charger->client, BQ24735_CHG_OPT);
client            321 drivers/power/supply/bq24735-charger.c static struct bq24735_platform *bq24735_parse_dt_data(struct i2c_client *client)
client            324 drivers/power/supply/bq24735-charger.c 	struct device_node *np = client->dev.of_node;
client            328 drivers/power/supply/bq24735-charger.c 	pdata = devm_kzalloc(&client->dev, sizeof(*pdata), GFP_KERNEL);
client            330 drivers/power/supply/bq24735-charger.c 		dev_err(&client->dev,
client            352 drivers/power/supply/bq24735-charger.c static int bq24735_charger_probe(struct i2c_client *client,
client            361 drivers/power/supply/bq24735-charger.c 	charger = devm_kzalloc(&client->dev, sizeof(*charger), GFP_KERNEL);
client            367 drivers/power/supply/bq24735-charger.c 	charger->pdata = client->dev.platform_data;
client            369 drivers/power/supply/bq24735-charger.c 	if (IS_ENABLED(CONFIG_OF) && !charger->pdata && client->dev.of_node)
client            370 drivers/power/supply/bq24735-charger.c 		charger->pdata = bq24735_parse_dt_data(client);
client            373 drivers/power/supply/bq24735-charger.c 		dev_err(&client->dev, "no platform data provided\n");
client            379 drivers/power/supply/bq24735-charger.c 		name = devm_kasprintf(&client->dev, GFP_KERNEL,
client            381 drivers/power/supply/bq24735-charger.c 				      dev_name(&client->dev));
client            383 drivers/power/supply/bq24735-charger.c 			dev_err(&client->dev, "Failed to alloc device name\n");
client            388 drivers/power/supply/bq24735-charger.c 	charger->client = client;
client            403 drivers/power/supply/bq24735-charger.c 	psy_cfg.of_node = client->dev.of_node;
client            406 drivers/power/supply/bq24735-charger.c 	i2c_set_clientdata(client, charger);
client            408 drivers/power/supply/bq24735-charger.c 	charger->status_gpio = devm_gpiod_get_optional(&client->dev,
client            413 drivers/power/supply/bq24735-charger.c 		dev_err(&client->dev, "Getting gpio failed: %d\n", ret);
client            418 drivers/power/supply/bq24735-charger.c 		ret = bq24735_read_word(client, BQ24735_MANUFACTURER_ID);
client            420 drivers/power/supply/bq24735-charger.c 			dev_err(&client->dev, "Failed to read manufacturer id : %d\n",
client            424 drivers/power/supply/bq24735-charger.c 			dev_err(&client->dev,
client            429 drivers/power/supply/bq24735-charger.c 		ret = bq24735_read_word(client, BQ24735_DEVICE_ID);
client            431 drivers/power/supply/bq24735-charger.c 			dev_err(&client->dev, "Failed to read device id : %d\n", ret);
client            434 drivers/power/supply/bq24735-charger.c 			dev_err(&client->dev,
client            441 drivers/power/supply/bq24735-charger.c 			dev_err(&client->dev, "Failed to enable charging\n");
client            446 drivers/power/supply/bq24735-charger.c 	charger->charger = devm_power_supply_register(&client->dev, supply_desc,
client            450 drivers/power/supply/bq24735-charger.c 		dev_err(&client->dev, "Failed to register power supply: %d\n",
client            455 drivers/power/supply/bq24735-charger.c 	if (client->irq) {
client            456 drivers/power/supply/bq24735-charger.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            464 drivers/power/supply/bq24735-charger.c 			dev_err(&client->dev,
client            466 drivers/power/supply/bq24735-charger.c 				client->irq, ret);
client            470 drivers/power/supply/bq24735-charger.c 		ret = device_property_read_u32(&client->dev, "poll-interval",
client            485 drivers/power/supply/bq24735-charger.c static int bq24735_charger_remove(struct i2c_client *client)
client            487 drivers/power/supply/bq24735-charger.c 	struct bq24735 *charger = i2c_get_clientdata(client);
client             82 drivers/power/supply/bq25890_charger.c 	struct i2c_client *client;
client            820 drivers/power/supply/bq25890_charger.c static int bq25890_probe(struct i2c_client *client,
client            823 drivers/power/supply/bq25890_charger.c 	struct i2c_adapter *adapter = client->adapter;
client            824 drivers/power/supply/bq25890_charger.c 	struct device *dev = &client->dev;
client            838 drivers/power/supply/bq25890_charger.c 	bq->client = client;
client            843 drivers/power/supply/bq25890_charger.c 	bq->rmap = devm_regmap_init_i2c(client, &bq25890_regmap_config);
client            860 drivers/power/supply/bq25890_charger.c 	i2c_set_clientdata(client, bq);
client            890 drivers/power/supply/bq25890_charger.c 	if (client->irq <= 0)
client            891 drivers/power/supply/bq25890_charger.c 		client->irq = bq25890_irq_probe(bq);
client            893 drivers/power/supply/bq25890_charger.c 	if (client->irq < 0) {
client            895 drivers/power/supply/bq25890_charger.c 		return client->irq;
client            906 drivers/power/supply/bq25890_charger.c 	ret = devm_request_threaded_irq(dev, client->irq, NULL,
client            928 drivers/power/supply/bq25890_charger.c static int bq25890_remove(struct i2c_client *client)
client            930 drivers/power/supply/bq25890_charger.c 	struct bq25890_device *bq = i2c_get_clientdata(client);
client             39 drivers/power/supply/bq27xxx_battery_i2c.c 	struct i2c_client *client = to_i2c_client(di->dev);
client             44 drivers/power/supply/bq27xxx_battery_i2c.c 	if (!client->adapter)
client             47 drivers/power/supply/bq27xxx_battery_i2c.c 	msg[0].addr = client->addr;
client             51 drivers/power/supply/bq27xxx_battery_i2c.c 	msg[1].addr = client->addr;
client             59 drivers/power/supply/bq27xxx_battery_i2c.c 	ret = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg));
client             74 drivers/power/supply/bq27xxx_battery_i2c.c 	struct i2c_client *client = to_i2c_client(di->dev);
client             79 drivers/power/supply/bq27xxx_battery_i2c.c 	if (!client->adapter)
client             92 drivers/power/supply/bq27xxx_battery_i2c.c 	msg.addr = client->addr;
client             95 drivers/power/supply/bq27xxx_battery_i2c.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            106 drivers/power/supply/bq27xxx_battery_i2c.c 	struct i2c_client *client = to_i2c_client(di->dev);
client            109 drivers/power/supply/bq27xxx_battery_i2c.c 	if (!client->adapter)
client            112 drivers/power/supply/bq27xxx_battery_i2c.c 	ret = i2c_smbus_read_i2c_block_data(client, reg, len, data);
client            123 drivers/power/supply/bq27xxx_battery_i2c.c 	struct i2c_client *client = to_i2c_client(di->dev);
client            128 drivers/power/supply/bq27xxx_battery_i2c.c 	if (!client->adapter)
client            135 drivers/power/supply/bq27xxx_battery_i2c.c 	msg.addr = client->addr;
client            139 drivers/power/supply/bq27xxx_battery_i2c.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            147 drivers/power/supply/bq27xxx_battery_i2c.c static int bq27xxx_battery_i2c_probe(struct i2c_client *client,
client            157 drivers/power/supply/bq27xxx_battery_i2c.c 	num = idr_alloc(&battery_id, client, 0, 0, GFP_KERNEL);
client            162 drivers/power/supply/bq27xxx_battery_i2c.c 	name = devm_kasprintf(&client->dev, GFP_KERNEL, "%s-%d", id->name, num);
client            166 drivers/power/supply/bq27xxx_battery_i2c.c 	di = devm_kzalloc(&client->dev, sizeof(*di), GFP_KERNEL);
client            171 drivers/power/supply/bq27xxx_battery_i2c.c 	di->dev = &client->dev;
client            187 drivers/power/supply/bq27xxx_battery_i2c.c 	i2c_set_clientdata(client, di);
client            189 drivers/power/supply/bq27xxx_battery_i2c.c 	if (client->irq) {
client            190 drivers/power/supply/bq27xxx_battery_i2c.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            195 drivers/power/supply/bq27xxx_battery_i2c.c 			dev_err(&client->dev,
client            197 drivers/power/supply/bq27xxx_battery_i2c.c 				client->irq, ret);
client            215 drivers/power/supply/bq27xxx_battery_i2c.c static int bq27xxx_battery_i2c_remove(struct i2c_client *client)
client            217 drivers/power/supply/bq27xxx_battery_i2c.c 	struct bq27xxx_device_info *di = i2c_get_clientdata(client);
client             55 drivers/power/supply/ds2782_battery.c 	struct i2c_client	*client;
client             73 drivers/power/supply/ds2782_battery.c 	ret = i2c_smbus_read_byte_data(info->client, reg);
client             75 drivers/power/supply/ds2782_battery.c 		dev_err(&info->client->dev, "register read failed\n");
client             88 drivers/power/supply/ds2782_battery.c 	ret = i2c_smbus_read_word_data(info->client, reg_msb);
client             90 drivers/power/supply/ds2782_battery.c 		dev_err(&info->client->dev, "register read failed\n");
client            131 drivers/power/supply/ds2782_battery.c 		dev_err(&info->client->dev, "sense resistor value is 0\n");
client            136 drivers/power/supply/ds2782_battery.c 	dev_dbg(&info->client->dev, "sense resistor = %d milli-ohms\n",
client            315 drivers/power/supply/ds2782_battery.c static int ds278x_battery_remove(struct i2c_client *client)
client            317 drivers/power/supply/ds2782_battery.c 	struct ds278x_info *info = i2c_get_clientdata(client);
client            336 drivers/power/supply/ds2782_battery.c 	struct i2c_client *client = to_i2c_client(dev);
client            337 drivers/power/supply/ds2782_battery.c 	struct ds278x_info *info = i2c_get_clientdata(client);
client            345 drivers/power/supply/ds2782_battery.c 	struct i2c_client *client = to_i2c_client(dev);
client            346 drivers/power/supply/ds2782_battery.c 	struct ds278x_info *info = i2c_get_clientdata(client);
client            373 drivers/power/supply/ds2782_battery.c static int ds278x_battery_probe(struct i2c_client *client,
client            376 drivers/power/supply/ds2782_battery.c 	struct ds278x_platform_data *pdata = client->dev.platform_data;
client            387 drivers/power/supply/ds2782_battery.c 		dev_err(&client->dev, "missing platform data for ds2786\n");
client            393 drivers/power/supply/ds2782_battery.c 	ret = idr_alloc(&battery_id, client, 0, 0, GFP_KERNEL);
client            406 drivers/power/supply/ds2782_battery.c 					    client->name, num);
client            415 drivers/power/supply/ds2782_battery.c 	i2c_set_clientdata(client, info);
client            416 drivers/power/supply/ds2782_battery.c 	info->client = client;
client            427 drivers/power/supply/ds2782_battery.c 	info->battery = power_supply_register(&client->dev,
client            430 drivers/power/supply/ds2782_battery.c 		dev_err(&client->dev, "failed to register battery\n");
client             86 drivers/power/supply/lp8727_charger.c 	struct i2c_client *client;
client            106 drivers/power/supply/lp8727_charger.c 	ret = i2c_smbus_read_i2c_block_data(pchg->client, reg, len, data);
client            122 drivers/power/supply/lp8727_charger.c 	ret = i2c_smbus_write_byte_data(pchg->client, reg, data);
client            257 drivers/power/supply/lp8727_charger.c 	int irq = pchg->client->irq;
client            564 drivers/power/supply/lp8727_charger.c 	pchg->client = cl;
client             71 drivers/power/supply/ltc2941-battery-gauge.c 	struct i2c_client *client;	/* I2C Client pointer */
client             96 drivers/power/supply/ltc2941-battery-gauge.c static int ltc294x_read_regs(struct i2c_client *client,
client            103 drivers/power/supply/ltc2941-battery-gauge.c 	msgs[0].addr	= client->addr;
client            107 drivers/power/supply/ltc2941-battery-gauge.c 	msgs[1].addr	= client->addr;
client            112 drivers/power/supply/ltc2941-battery-gauge.c 	ret = i2c_transfer(client->adapter, &msgs[0], 2);
client            114 drivers/power/supply/ltc2941-battery-gauge.c 		dev_err(&client->dev, "ltc2941 read_reg failed!\n");
client            118 drivers/power/supply/ltc2941-battery-gauge.c 	dev_dbg(&client->dev, "%s (%#x, %d) -> %#x\n",
client            124 drivers/power/supply/ltc2941-battery-gauge.c static int ltc294x_write_regs(struct i2c_client *client,
client            130 drivers/power/supply/ltc2941-battery-gauge.c 	ret = i2c_smbus_write_i2c_block_data(client, reg_start, num_regs, buf);
client            132 drivers/power/supply/ltc2941-battery-gauge.c 		dev_err(&client->dev, "ltc2941 write_reg failed!\n");
client            136 drivers/power/supply/ltc2941-battery-gauge.c 	dev_dbg(&client->dev, "%s (%#x, %d) -> %#x\n",
client            149 drivers/power/supply/ltc2941-battery-gauge.c 	ret = ltc294x_read_regs(info->client, LTC294X_REG_CONTROL, &value, 1);
client            151 drivers/power/supply/ltc2941-battery-gauge.c 		dev_err(&info->client->dev,
client            172 drivers/power/supply/ltc2941-battery-gauge.c 		ret = ltc294x_write_regs(info->client,
client            175 drivers/power/supply/ltc2941-battery-gauge.c 			dev_err(&info->client->dev,
client            193 drivers/power/supply/ltc2941-battery-gauge.c 	ret = ltc294x_read_regs(info->client, reg, &datar[0], 2);
client            228 drivers/power/supply/ltc2941-battery-gauge.c 	ret = ltc294x_read_regs(info->client,
client            234 drivers/power/supply/ltc2941-battery-gauge.c 	ret = ltc294x_write_regs(info->client,
client            241 drivers/power/supply/ltc2941-battery-gauge.c 	ret = ltc294x_write_regs(info->client,
client            248 drivers/power/supply/ltc2941-battery-gauge.c 	ret = ltc294x_write_regs(info->client,
client            270 drivers/power/supply/ltc2941-battery-gauge.c 	return ltc294x_write_regs(info->client, reg, &dataw[0], 2);
client            291 drivers/power/supply/ltc2941-battery-gauge.c 	ret = ltc294x_read_regs(info->client,
client            321 drivers/power/supply/ltc2941-battery-gauge.c 	ret = ltc294x_read_regs(info->client,
client            350 drivers/power/supply/ltc2941-battery-gauge.c 	ret = ltc294x_read_regs(info->client, reg, &datar[0], 2);
client            448 drivers/power/supply/ltc2941-battery-gauge.c static int ltc294x_i2c_remove(struct i2c_client *client)
client            450 drivers/power/supply/ltc2941-battery-gauge.c 	struct ltc294x_info *info = i2c_get_clientdata(client);
client            457 drivers/power/supply/ltc2941-battery-gauge.c static int ltc294x_i2c_probe(struct i2c_client *client,
client            468 drivers/power/supply/ltc2941-battery-gauge.c 	info = devm_kzalloc(&client->dev, sizeof(*info), GFP_KERNEL);
client            472 drivers/power/supply/ltc2941-battery-gauge.c 	i2c_set_clientdata(client, info);
client            474 drivers/power/supply/ltc2941-battery-gauge.c 	np = of_node_get(client->dev.of_node);
client            476 drivers/power/supply/ltc2941-battery-gauge.c 	info->id = (enum ltc294x_id)of_device_get_match_data(&client->dev);
client            483 drivers/power/supply/ltc2941-battery-gauge.c 		dev_err(&client->dev,
client            492 drivers/power/supply/ltc2941-battery-gauge.c 		dev_warn(&client->dev,
client            511 drivers/power/supply/ltc2941-battery-gauge.c 		ret = ltc294x_read_regs(client, LTC294X_REG_STATUS, &status, 1);
client            513 drivers/power/supply/ltc2941-battery-gauge.c 			dev_err(&client->dev,
client            523 drivers/power/supply/ltc2941-battery-gauge.c 	info->client = client;
client            553 drivers/power/supply/ltc2941-battery-gauge.c 		dev_err(&client->dev, "Communication with chip failed\n");
client            557 drivers/power/supply/ltc2941-battery-gauge.c 	info->supply = power_supply_register(&client->dev, &info->supply_desc,
client            560 drivers/power/supply/ltc2941-battery-gauge.c 		dev_err(&client->dev, "failed to register ltc2941\n");
client            569 drivers/power/supply/ltc2941-battery-gauge.c static void ltc294x_i2c_shutdown(struct i2c_client *client)
client            571 drivers/power/supply/ltc2941-battery-gauge.c 	struct ltc294x_info *info = i2c_get_clientdata(client);
client            581 drivers/power/supply/ltc2941-battery-gauge.c 	ret = ltc294x_read_regs(info->client, LTC294X_REG_CONTROL, &value, 1);
client            588 drivers/power/supply/ltc2941-battery-gauge.c 		ltc294x_write_regs(info->client, LTC294X_REG_CONTROL,
client            596 drivers/power/supply/ltc2941-battery-gauge.c 	struct i2c_client *client = to_i2c_client(dev);
client            597 drivers/power/supply/ltc2941-battery-gauge.c 	struct ltc294x_info *info = i2c_get_clientdata(client);
client            605 drivers/power/supply/ltc2941-battery-gauge.c 	struct i2c_client *client = to_i2c_client(dev);
client            606 drivers/power/supply/ltc2941-battery-gauge.c 	struct ltc294x_info *info = i2c_get_clientdata(client);
client             81 drivers/power/supply/max14656_charger_detector.c 	struct i2c_client	*client;
client             90 drivers/power/supply/max14656_charger_detector.c static int max14656_read_reg(struct i2c_client *client, int reg, u8 *val)
client             94 drivers/power/supply/max14656_charger_detector.c 	ret = i2c_smbus_read_byte_data(client, reg);
client             96 drivers/power/supply/max14656_charger_detector.c 		dev_err(&client->dev,
client            105 drivers/power/supply/max14656_charger_detector.c static int max14656_write_reg(struct i2c_client *client, int reg, u8 val)
client            109 drivers/power/supply/max14656_charger_detector.c 	ret = i2c_smbus_write_byte_data(client, reg, val);
client            111 drivers/power/supply/max14656_charger_detector.c 		dev_err(&client->dev,
client            119 drivers/power/supply/max14656_charger_detector.c static int max14656_read_block_reg(struct i2c_client *client, u8 reg,
client            124 drivers/power/supply/max14656_charger_detector.c 	ret = i2c_smbus_read_i2c_block_data(client, reg, length, val);
client            126 drivers/power/supply/max14656_charger_detector.c 		dev_err(&client->dev, "failed to block read reg 0x%x: %d\n",
client            144 drivers/power/supply/max14656_charger_detector.c 	ret = max14656_read_block_reg(chip->client, MAX14656_DEVICE_ID,
client            176 drivers/power/supply/max14656_charger_detector.c 	struct i2c_client *client = chip->client;
client            178 drivers/power/supply/max14656_charger_detector.c 	if (max14656_read_reg(client, MAX14656_DEVICE_ID, &val))
client            182 drivers/power/supply/max14656_charger_detector.c 		dev_err(&client->dev, "wrong vendor ID %d\n",
client            189 drivers/power/supply/max14656_charger_detector.c 	if (max14656_write_reg(client, MAX14656_CONTROL_2, CONTROL2_ADC_EN))
client            193 drivers/power/supply/max14656_charger_detector.c 	if (max14656_write_reg(client, MAX14656_CONTROL_1,
client            200 drivers/power/supply/max14656_charger_detector.c 	if (max14656_write_reg(client, MAX14656_INTMASK_1, 0x3))
client            203 drivers/power/supply/max14656_charger_detector.c 	if (max14656_write_reg(client, MAX14656_INTMASK_2, 0x1))
client            206 drivers/power/supply/max14656_charger_detector.c 	dev_info(&client->dev, "detected revision %d\n", rev);
client            247 drivers/power/supply/max14656_charger_detector.c static int max14656_probe(struct i2c_client *client,
client            250 drivers/power/supply/max14656_charger_detector.c 	struct i2c_adapter *adapter = client->adapter;
client            251 drivers/power/supply/max14656_charger_detector.c 	struct device *dev = &client->dev;
client            254 drivers/power/supply/max14656_charger_detector.c 	int irq = client->irq;
client            272 drivers/power/supply/max14656_charger_detector.c 	chip->client = client;
client             32 drivers/power/supply/max17040_battery.c 	struct i2c_client		*client;
client             72 drivers/power/supply/max17040_battery.c static int max17040_write_reg(struct i2c_client *client, int reg, u16 value)
client             76 drivers/power/supply/max17040_battery.c 	ret = i2c_smbus_write_word_swapped(client, reg, value);
client             79 drivers/power/supply/max17040_battery.c 		dev_err(&client->dev, "%s: err %d\n", __func__, ret);
client             84 drivers/power/supply/max17040_battery.c static int max17040_read_reg(struct i2c_client *client, int reg)
client             88 drivers/power/supply/max17040_battery.c 	ret = i2c_smbus_read_word_swapped(client, reg);
client             91 drivers/power/supply/max17040_battery.c 		dev_err(&client->dev, "%s: err %d\n", __func__, ret);
client             96 drivers/power/supply/max17040_battery.c static void max17040_reset(struct i2c_client *client)
client             98 drivers/power/supply/max17040_battery.c 	max17040_write_reg(client, MAX17040_CMD, 0x0054);
client            101 drivers/power/supply/max17040_battery.c static void max17040_get_vcell(struct i2c_client *client)
client            103 drivers/power/supply/max17040_battery.c 	struct max17040_chip *chip = i2c_get_clientdata(client);
client            106 drivers/power/supply/max17040_battery.c 	vcell = max17040_read_reg(client, MAX17040_VCELL);
client            111 drivers/power/supply/max17040_battery.c static void max17040_get_soc(struct i2c_client *client)
client            113 drivers/power/supply/max17040_battery.c 	struct max17040_chip *chip = i2c_get_clientdata(client);
client            116 drivers/power/supply/max17040_battery.c 	soc = max17040_read_reg(client, MAX17040_SOC);
client            121 drivers/power/supply/max17040_battery.c static void max17040_get_version(struct i2c_client *client)
client            125 drivers/power/supply/max17040_battery.c 	version = max17040_read_reg(client, MAX17040_VER);
client            127 drivers/power/supply/max17040_battery.c 	dev_info(&client->dev, "MAX17040 Fuel-Gauge Ver 0x%x\n", version);
client            130 drivers/power/supply/max17040_battery.c static void max17040_get_online(struct i2c_client *client)
client            132 drivers/power/supply/max17040_battery.c 	struct max17040_chip *chip = i2c_get_clientdata(client);
client            140 drivers/power/supply/max17040_battery.c static void max17040_get_status(struct i2c_client *client)
client            142 drivers/power/supply/max17040_battery.c 	struct max17040_chip *chip = i2c_get_clientdata(client);
client            169 drivers/power/supply/max17040_battery.c 	max17040_get_vcell(chip->client);
client            170 drivers/power/supply/max17040_battery.c 	max17040_get_soc(chip->client);
client            171 drivers/power/supply/max17040_battery.c 	max17040_get_online(chip->client);
client            172 drivers/power/supply/max17040_battery.c 	max17040_get_status(chip->client);
client            193 drivers/power/supply/max17040_battery.c static int max17040_probe(struct i2c_client *client,
client            196 drivers/power/supply/max17040_battery.c 	struct i2c_adapter *adapter = client->adapter;
client            203 drivers/power/supply/max17040_battery.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client            207 drivers/power/supply/max17040_battery.c 	chip->client = client;
client            208 drivers/power/supply/max17040_battery.c 	chip->pdata = client->dev.platform_data;
client            210 drivers/power/supply/max17040_battery.c 	i2c_set_clientdata(client, chip);
client            213 drivers/power/supply/max17040_battery.c 	chip->battery = power_supply_register(&client->dev,
client            216 drivers/power/supply/max17040_battery.c 		dev_err(&client->dev, "failed: power supply register\n");
client            220 drivers/power/supply/max17040_battery.c 	max17040_reset(client);
client            221 drivers/power/supply/max17040_battery.c 	max17040_get_version(client);
client            230 drivers/power/supply/max17040_battery.c static int max17040_remove(struct i2c_client *client)
client            232 drivers/power/supply/max17040_battery.c 	struct max17040_chip *chip = i2c_get_clientdata(client);
client            243 drivers/power/supply/max17040_battery.c 	struct i2c_client *client = to_i2c_client(dev);
client            244 drivers/power/supply/max17040_battery.c 	struct max17040_chip *chip = i2c_get_clientdata(client);
client            252 drivers/power/supply/max17040_battery.c 	struct i2c_client *client = to_i2c_client(dev);
client            253 drivers/power/supply/max17040_battery.c 	struct max17040_chip *chip = i2c_get_clientdata(client);
client             56 drivers/power/supply/max17042_battery.c 	struct i2c_client *client;
client            560 drivers/power/supply/max17042_battery.c 		dev_err(&chip->client->dev, "%s compare failed\n", __func__);
client            562 drivers/power/supply/max17042_battery.c 			dev_info(&chip->client->dev, "0x%x, 0x%x",
client            564 drivers/power/supply/max17042_battery.c 		dev_info(&chip->client->dev, "\n");
client            793 drivers/power/supply/max17042_battery.c 		dev_err(&chip->client->dev, "%s init failed\n",
client            800 drivers/power/supply/max17042_battery.c 		dev_err(&chip->client->dev, "%s lock verify failed\n",
client            849 drivers/power/supply/max17042_battery.c 		dev_info(&chip->client->dev, "SOC threshold INTR\n");
client            877 drivers/power/supply/max17042_battery.c 	struct device *dev = &chip->client->dev;
client            919 drivers/power/supply/max17042_battery.c 	struct device *dev = &chip->client->dev;
client            959 drivers/power/supply/max17042_battery.c 	struct device *dev = &chip->client->dev;
client           1005 drivers/power/supply/max17042_battery.c static int max17042_probe(struct i2c_client *client,
client           1008 drivers/power/supply/max17042_battery.c 	struct i2c_adapter *adapter = client->adapter;
client           1012 drivers/power/supply/max17042_battery.c 	struct device *dev = &client->dev;
client           1021 drivers/power/supply/max17042_battery.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client           1025 drivers/power/supply/max17042_battery.c 	chip->client = client;
client           1035 drivers/power/supply/max17042_battery.c 	chip->regmap = devm_regmap_init_i2c(client, &max17042_regmap_config);
client           1037 drivers/power/supply/max17042_battery.c 		dev_err(&client->dev, "Failed to initialize regmap\n");
client           1043 drivers/power/supply/max17042_battery.c 		dev_err(&client->dev, "no platform data provided\n");
client           1047 drivers/power/supply/max17042_battery.c 	i2c_set_clientdata(client, chip);
client           1071 drivers/power/supply/max17042_battery.c 	chip->battery = devm_power_supply_register(&client->dev, max17042_desc,
client           1074 drivers/power/supply/max17042_battery.c 		dev_err(&client->dev, "failed: power supply register\n");
client           1078 drivers/power/supply/max17042_battery.c 	if (client->irq) {
client           1088 drivers/power/supply/max17042_battery.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client           1099 drivers/power/supply/max17042_battery.c 			client->irq = 0;
client           1101 drivers/power/supply/max17042_battery.c 				dev_err(&client->dev, "Failed to get IRQ\n");
client           1105 drivers/power/supply/max17042_battery.c 	if (!client->irq)
client           1111 drivers/power/supply/max17042_battery.c 		ret = devm_add_action(&client->dev, max17042_stop_work, chip);
client           1131 drivers/power/supply/max17042_battery.c 	if (chip->client->irq) {
client           1132 drivers/power/supply/max17042_battery.c 		disable_irq(chip->client->irq);
client           1133 drivers/power/supply/max17042_battery.c 		enable_irq_wake(chip->client->irq);
client           1143 drivers/power/supply/max17042_battery.c 	if (chip->client->irq) {
client           1144 drivers/power/supply/max17042_battery.c 		disable_irq_wake(chip->client->irq);
client           1145 drivers/power/supply/max17042_battery.c 		enable_irq(chip->client->irq);
client             15 drivers/power/supply/rt5033_battery.c static int rt5033_battery_get_capacity(struct i2c_client *client)
client             17 drivers/power/supply/rt5033_battery.c 	struct rt5033_battery *battery = i2c_get_clientdata(client);
client             25 drivers/power/supply/rt5033_battery.c static int rt5033_battery_get_present(struct i2c_client *client)
client             27 drivers/power/supply/rt5033_battery.c 	struct rt5033_battery *battery = i2c_get_clientdata(client);
client             35 drivers/power/supply/rt5033_battery.c static int rt5033_battery_get_watt_prop(struct i2c_client *client,
client             38 drivers/power/supply/rt5033_battery.c 	struct rt5033_battery *battery = i2c_get_clientdata(client);
client             78 drivers/power/supply/rt5033_battery.c 		val->intval = rt5033_battery_get_watt_prop(battery->client,
client             82 drivers/power/supply/rt5033_battery.c 		val->intval = rt5033_battery_get_present(battery->client);
client             85 drivers/power/supply/rt5033_battery.c 		val->intval = rt5033_battery_get_capacity(battery->client);
client            115 drivers/power/supply/rt5033_battery.c static int rt5033_battery_probe(struct i2c_client *client,
client            118 drivers/power/supply/rt5033_battery.c 	struct i2c_adapter *adapter = client->adapter;
client            126 drivers/power/supply/rt5033_battery.c 	battery = devm_kzalloc(&client->dev, sizeof(*battery), GFP_KERNEL);
client            130 drivers/power/supply/rt5033_battery.c 	battery->client = client;
client            131 drivers/power/supply/rt5033_battery.c 	battery->regmap = devm_regmap_init_i2c(client,
client            134 drivers/power/supply/rt5033_battery.c 		dev_err(&client->dev, "Failed to initialize regmap\n");
client            138 drivers/power/supply/rt5033_battery.c 	i2c_set_clientdata(client, battery);
client            141 drivers/power/supply/rt5033_battery.c 	battery->psy = power_supply_register(&client->dev,
client            144 drivers/power/supply/rt5033_battery.c 		dev_err(&client->dev, "Failed to register power supply\n");
client            152 drivers/power/supply/rt5033_battery.c static int rt5033_battery_remove(struct i2c_client *client)
client            154 drivers/power/supply/rt5033_battery.c 	struct rt5033_battery *battery = i2c_get_clientdata(client);
client            234 drivers/power/supply/rt9455_charger.c 	struct i2c_client		*client;
client            299 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client            361 drivers/power/supply/rt9455_charger.c 		dev_err(&info->client->dev, "Failed to read PWR_RDY bit\n");
client            376 drivers/power/supply/rt9455_charger.c 		dev_err(&info->client->dev, "Failed to read STAT bits\n");
client            407 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client            492 drivers/power/supply/rt9455_charger.c 		dev_err(&info->client->dev, "Failed to read BATAB bit\n");
client            513 drivers/power/supply/rt9455_charger.c 		dev_err(&info->client->dev, "Failed to read PWR_RDY bit\n");
client            533 drivers/power/supply/rt9455_charger.c 		dev_err(&info->client->dev, "Failed to read ICHRG value\n");
client            563 drivers/power/supply/rt9455_charger.c 		dev_err(&info->client->dev, "Failed to read VOREG value\n");
client            585 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client            654 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client            809 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client            835 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client            855 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client            949 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client           1061 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client           1125 drivers/power/supply/rt9455_charger.c 	dev = &info->client->dev;
client           1127 drivers/power/supply/rt9455_charger.c 	if (irq != info->client->irq) {
client           1187 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client           1243 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client           1283 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client           1323 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client           1363 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client           1404 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client           1447 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client           1485 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client           1499 drivers/power/supply/rt9455_charger.c 	struct device *dev = &info->client->dev;
client           1584 drivers/power/supply/rt9455_charger.c static int rt9455_probe(struct i2c_client *client,
client           1587 drivers/power/supply/rt9455_charger.c 	struct i2c_adapter *adapter = client->adapter;
client           1588 drivers/power/supply/rt9455_charger.c 	struct device *dev = &client->dev;
client           1609 drivers/power/supply/rt9455_charger.c 	info->client = client;
client           1610 drivers/power/supply/rt9455_charger.c 	i2c_set_clientdata(client, info);
client           1612 drivers/power/supply/rt9455_charger.c 	info->regmap = devm_regmap_init_i2c(client,
client           1666 drivers/power/supply/rt9455_charger.c 	ret = devm_request_threaded_irq(dev, client->irq, NULL,
client           1701 drivers/power/supply/rt9455_charger.c static int rt9455_remove(struct i2c_client *client)
client           1704 drivers/power/supply/rt9455_charger.c 	struct rt9455_info *info = i2c_get_clientdata(client);
client           1708 drivers/power/supply/rt9455_charger.c 		dev_err(&info->client->dev, "Failed to set charger to its default values\n");
client             32 drivers/power/supply/s3c_adc_battery.c 	struct s3c_adc_client		*client;
client             50 drivers/power/supply/s3c_adc_battery.c static int gather_samples(struct s3c_adc_client *client, int num, int channel)
client             60 drivers/power/supply/s3c_adc_battery.c 		value += s3c_adc_read(client, channel);
client             86 drivers/power/supply/s3c_adc_battery.c 		bat->volt_value = gather_samples(bat->client,
client            162 drivers/power/supply/s3c_adc_battery.c 		bat->volt_value = gather_samples(bat->client,
client            165 drivers/power/supply/s3c_adc_battery.c 		bat->cur_value = gather_samples(bat->client,
client            294 drivers/power/supply/s3c_adc_battery.c 	struct s3c_adc_client	*client;
client            299 drivers/power/supply/s3c_adc_battery.c 	client = s3c_adc_register(pdev, NULL, NULL, 0);
client            300 drivers/power/supply/s3c_adc_battery.c 	if (IS_ERR(client)) {
client            302 drivers/power/supply/s3c_adc_battery.c 		return PTR_ERR(client);
client            305 drivers/power/supply/s3c_adc_battery.c 	platform_set_drvdata(pdev, client);
client            307 drivers/power/supply/s3c_adc_battery.c 	main_bat.client = client;
client            324 drivers/power/supply/s3c_adc_battery.c 		backup_bat.client = client;
client            383 drivers/power/supply/s3c_adc_battery.c 	struct s3c_adc_client *client = platform_get_drvdata(pdev);
client            390 drivers/power/supply/s3c_adc_battery.c 	s3c_adc_release(client);
client            155 drivers/power/supply/sbs-battery.c 	struct i2c_client		*client;
client            173 drivers/power/supply/sbs-battery.c static int sbs_read_word_data(struct i2c_client *client, u8 address)
client            175 drivers/power/supply/sbs-battery.c 	struct sbs_info *chip = i2c_get_clientdata(client);
client            180 drivers/power/supply/sbs-battery.c 		ret = i2c_smbus_read_word_data(client, address);
client            187 drivers/power/supply/sbs-battery.c 		dev_dbg(&client->dev,
client            196 drivers/power/supply/sbs-battery.c static int sbs_read_string_data(struct i2c_client *client, u8 address,
client            199 drivers/power/supply/sbs-battery.c 	struct sbs_info *chip = i2c_get_clientdata(client);
client            208 drivers/power/supply/sbs-battery.c 	if (!i2c_check_functionality(client->adapter,
client            216 drivers/power/supply/sbs-battery.c 		ret = i2c_smbus_read_byte_data(client, address);
client            223 drivers/power/supply/sbs-battery.c 		dev_dbg(&client->dev,
client            232 drivers/power/supply/sbs-battery.c 		dev_err(&client->dev,
client            241 drivers/power/supply/sbs-battery.c 				client, address,
client            249 drivers/power/supply/sbs-battery.c 		dev_dbg(&client->dev,
client            262 drivers/power/supply/sbs-battery.c static int sbs_write_word_data(struct i2c_client *client, u8 address,
client            265 drivers/power/supply/sbs-battery.c 	struct sbs_info *chip = i2c_get_clientdata(client);
client            270 drivers/power/supply/sbs-battery.c 		ret = i2c_smbus_write_word_data(client, address, value);
client            277 drivers/power/supply/sbs-battery.c 		dev_dbg(&client->dev,
client            286 drivers/power/supply/sbs-battery.c static int sbs_status_correct(struct i2c_client *client, int *intval)
client            290 drivers/power/supply/sbs-battery.c 	ret = sbs_read_word_data(client, sbs_data[REG_CURRENT].addr);
client            312 drivers/power/supply/sbs-battery.c 	struct i2c_client *client, enum power_supply_property psp,
client            318 drivers/power/supply/sbs-battery.c 	ret = sbs_read_word_data(client, sbs_data[REG_STATUS].addr);
client            338 drivers/power/supply/sbs-battery.c 	struct i2c_client *client, enum power_supply_property psp,
client            347 drivers/power/supply/sbs-battery.c 	ret = sbs_write_word_data(client, sbs_data[REG_MANUFACTURER_DATA].addr,
client            355 drivers/power/supply/sbs-battery.c 	ret = sbs_read_word_data(client, sbs_data[REG_MANUFACTURER_DATA].addr);
client            393 drivers/power/supply/sbs-battery.c static int sbs_get_battery_property(struct i2c_client *client,
client            397 drivers/power/supply/sbs-battery.c 	struct sbs_info *chip = i2c_get_clientdata(client);
client            400 drivers/power/supply/sbs-battery.c 	ret = sbs_read_word_data(client, sbs_data[reg_offset].addr);
client            436 drivers/power/supply/sbs-battery.c 		sbs_status_correct(client, &val->intval);
client            460 drivers/power/supply/sbs-battery.c static int sbs_get_battery_string_property(struct i2c_client *client,
client            465 drivers/power/supply/sbs-battery.c 	ret = sbs_read_string_data(client, sbs_data[reg_offset].addr, val);
client            473 drivers/power/supply/sbs-battery.c static void  sbs_unit_adjustment(struct i2c_client *client,
client            516 drivers/power/supply/sbs-battery.c 		dev_dbg(&client->dev,
client            521 drivers/power/supply/sbs-battery.c static enum sbs_battery_mode sbs_set_battery_mode(struct i2c_client *client,
client            526 drivers/power/supply/sbs-battery.c 	original_val = sbs_read_word_data(client, BATTERY_MODE_OFFSET);
client            538 drivers/power/supply/sbs-battery.c 	ret = sbs_write_word_data(client, BATTERY_MODE_OFFSET, ret);
client            547 drivers/power/supply/sbs-battery.c static int sbs_get_battery_capacity(struct i2c_client *client,
client            557 drivers/power/supply/sbs-battery.c 	mode = sbs_set_battery_mode(client, mode);
client            561 drivers/power/supply/sbs-battery.c 	ret = sbs_read_word_data(client, sbs_data[reg_offset].addr);
client            567 drivers/power/supply/sbs-battery.c 	ret = sbs_set_battery_mode(client, mode);
client            575 drivers/power/supply/sbs-battery.c static int sbs_get_battery_serial_number(struct i2c_client *client,
client            580 drivers/power/supply/sbs-battery.c 	ret = sbs_read_word_data(client, sbs_data[REG_SERIAL_NUMBER].addr);
client            590 drivers/power/supply/sbs-battery.c static int sbs_get_property_index(struct i2c_client *client,
client            598 drivers/power/supply/sbs-battery.c 	dev_warn(&client->dev,
client            610 drivers/power/supply/sbs-battery.c 	struct i2c_client *client = chip->client;
client            629 drivers/power/supply/sbs-battery.c 			ret = sbs_get_ti_battery_presence_and_health(client,
client            632 drivers/power/supply/sbs-battery.c 			ret = sbs_get_battery_presence_and_health(client, psp,
client            650 drivers/power/supply/sbs-battery.c 		ret = sbs_get_property_index(client, psp);
client            659 drivers/power/supply/sbs-battery.c 		ret = sbs_get_battery_capacity(client, ret, psp, val);
client            664 drivers/power/supply/sbs-battery.c 		ret = sbs_get_battery_serial_number(client, val);
client            678 drivers/power/supply/sbs-battery.c 		ret = sbs_get_property_index(client, psp);
client            682 drivers/power/supply/sbs-battery.c 		ret = sbs_get_battery_property(client, ret, psp, val);
client            686 drivers/power/supply/sbs-battery.c 		ret = sbs_get_property_index(client, psp);
client            690 drivers/power/supply/sbs-battery.c 		ret = sbs_get_battery_string_property(client, ret, psp,
client            696 drivers/power/supply/sbs-battery.c 		ret = sbs_get_property_index(client, psp);
client            700 drivers/power/supply/sbs-battery.c 		ret = sbs_get_battery_string_property(client, ret, psp,
client            706 drivers/power/supply/sbs-battery.c 		dev_err(&client->dev,
client            723 drivers/power/supply/sbs-battery.c 		sbs_unit_adjustment(client, psp, val);
client            726 drivers/power/supply/sbs-battery.c 	dev_dbg(&client->dev,
client            757 drivers/power/supply/sbs-battery.c static void sbs_alert(struct i2c_client *client, enum i2c_alert_protocol prot,
client            760 drivers/power/supply/sbs-battery.c 	sbs_supply_changed(i2c_get_clientdata(client));
client            781 drivers/power/supply/sbs-battery.c 	ret = sbs_read_word_data(chip->client, sbs_data[REG_STATUS].addr);
client            795 drivers/power/supply/sbs-battery.c 	sbs_status_correct(chip->client, &ret);
client            817 drivers/power/supply/sbs-battery.c static int sbs_probe(struct i2c_client *client,
client            822 drivers/power/supply/sbs-battery.c 	struct sbs_platform_data *pdata = client->dev.platform_data;
client            827 drivers/power/supply/sbs-battery.c 	sbs_desc = devm_kmemdup(&client->dev, &sbs_default_desc,
client            832 drivers/power/supply/sbs-battery.c 	sbs_desc->name = devm_kasprintf(&client->dev, GFP_KERNEL, "sbs-%s",
client            833 drivers/power/supply/sbs-battery.c 			dev_name(&client->dev));
client            837 drivers/power/supply/sbs-battery.c 	chip = devm_kzalloc(&client->dev, sizeof(struct sbs_info), GFP_KERNEL);
client            841 drivers/power/supply/sbs-battery.c 	chip->flags = (u32)(uintptr_t)of_device_get_match_data(&client->dev);
client            842 drivers/power/supply/sbs-battery.c 	chip->client = client;
client            844 drivers/power/supply/sbs-battery.c 	psy_cfg.of_node = client->dev.of_node;
client            852 drivers/power/supply/sbs-battery.c 	rc = of_property_read_u32(client->dev.of_node, "sbs,i2c-retry-count",
client            857 drivers/power/supply/sbs-battery.c 	rc = of_property_read_u32(client->dev.of_node, "sbs,poll-retry-count",
client            868 drivers/power/supply/sbs-battery.c 	chip->gpio_detect = devm_gpiod_get_optional(&client->dev,
client            871 drivers/power/supply/sbs-battery.c 		dev_err(&client->dev, "Failed to get gpio: %ld\n",
client            876 drivers/power/supply/sbs-battery.c 	i2c_set_clientdata(client, chip);
client            883 drivers/power/supply/sbs-battery.c 		dev_warn(&client->dev, "Failed to get gpio as irq: %d\n", irq);
client            887 drivers/power/supply/sbs-battery.c 	rc = devm_request_threaded_irq(&client->dev, irq, NULL, sbs_irq,
client            889 drivers/power/supply/sbs-battery.c 		dev_name(&client->dev), chip);
client            891 drivers/power/supply/sbs-battery.c 		dev_warn(&client->dev, "Failed to request irq: %d\n", rc);
client            901 drivers/power/supply/sbs-battery.c 		rc = sbs_read_word_data(client, sbs_data[REG_STATUS].addr);
client            904 drivers/power/supply/sbs-battery.c 			dev_err(&client->dev, "%s: Failed to get device status\n",
client            910 drivers/power/supply/sbs-battery.c 	chip->power_supply = devm_power_supply_register(&client->dev, sbs_desc,
client            913 drivers/power/supply/sbs-battery.c 		dev_err(&client->dev,
client            919 drivers/power/supply/sbs-battery.c 	dev_info(&client->dev,
client            920 drivers/power/supply/sbs-battery.c 		"%s: battery gas gauge device registered\n", client->name);
client            932 drivers/power/supply/sbs-battery.c static int sbs_remove(struct i2c_client *client)
client            934 drivers/power/supply/sbs-battery.c 	struct sbs_info *chip = i2c_get_clientdata(client);
client            945 drivers/power/supply/sbs-battery.c 	struct i2c_client *client = to_i2c_client(dev);
client            946 drivers/power/supply/sbs-battery.c 	struct sbs_info *chip = i2c_get_clientdata(client);
client            954 drivers/power/supply/sbs-battery.c 		ret = sbs_write_word_data(client,
client             37 drivers/power/supply/sbs-charger.c 	struct i2c_client		*client;
client            166 drivers/power/supply/sbs-charger.c static int sbs_probe(struct i2c_client *client,
client            173 drivers/power/supply/sbs-charger.c 	chip = devm_kzalloc(&client->dev, sizeof(struct sbs_info), GFP_KERNEL);
client            177 drivers/power/supply/sbs-charger.c 	chip->client = client;
client            178 drivers/power/supply/sbs-charger.c 	psy_cfg.of_node = client->dev.of_node;
client            181 drivers/power/supply/sbs-charger.c 	i2c_set_clientdata(client, chip);
client            183 drivers/power/supply/sbs-charger.c 	chip->regmap = devm_regmap_init_i2c(client, &sbs_regmap);
client            193 drivers/power/supply/sbs-charger.c 		dev_err(&client->dev, "Failed to get device status\n");
client            198 drivers/power/supply/sbs-charger.c 	chip->power_supply = devm_power_supply_register(&client->dev, &sbs_desc,
client            201 drivers/power/supply/sbs-charger.c 		dev_err(&client->dev, "Failed to register power supply\n");
client            210 drivers/power/supply/sbs-charger.c 	if (client->irq) {
client            211 drivers/power/supply/sbs-charger.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            214 drivers/power/supply/sbs-charger.c 					dev_name(&client->dev), chip);
client            216 drivers/power/supply/sbs-charger.c 			dev_err(&client->dev, "Failed to request irq, %d\n", ret);
client            225 drivers/power/supply/sbs-charger.c 	dev_info(&client->dev,
client            226 drivers/power/supply/sbs-charger.c 		 "%s: smart charger device registered\n", client->name);
client            231 drivers/power/supply/sbs-charger.c static int sbs_remove(struct i2c_client *client)
client            233 drivers/power/supply/sbs-charger.c 	struct sbs_info *chip = i2c_get_clientdata(client);
client             39 drivers/power/supply/sbs-manager.c 	struct i2c_client *client;
client             58 drivers/power/supply/sbs-manager.c static int sbsm_read_word(struct i2c_client *client, u8 address)
client             63 drivers/power/supply/sbs-manager.c 		reg = i2c_smbus_read_word_data(client, address);
client             69 drivers/power/supply/sbs-manager.c 		dev_err(&client->dev, "failed to read register 0x%02x\n",
client             76 drivers/power/supply/sbs-manager.c static int sbsm_write_word(struct i2c_client *client, u8 address, u16 word)
client             81 drivers/power/supply/sbs-manager.c 		ret = i2c_smbus_write_word_data(client, address, word);
client             86 drivers/power/supply/sbs-manager.c 		dev_err(&client->dev, "failed to write to register 0x%02x\n",
client            101 drivers/power/supply/sbs-manager.c 		regval = sbsm_read_word(data->client, SBSM_CMD_BATSYSSTATECONT);
client            108 drivers/power/supply/sbs-manager.c 		regval = sbsm_read_word(data->client, SBSM_CMD_BATSYSSTATE);
client            120 drivers/power/supply/sbs-manager.c 			regval = sbsm_read_word(data->client, SBSM_CMD_LTC);
client            158 drivers/power/supply/sbs-manager.c 		ret = sbsm_write_word(data->client, SBSM_CMD_LTC, regval);
client            175 drivers/power/supply/sbs-manager.c 	struct device *dev = &data->client->dev;
client            184 drivers/power/supply/sbs-manager.c 	ret = sbsm_write_word(data->client, SBSM_CMD_BATSYSSTATE, reg);
client            198 drivers/power/supply/sbs-manager.c 	ret = sbsm_read_word(data->client, SBSM_CMD_BATSYSSTATE);
client            216 drivers/power/supply/sbs-manager.c 	struct i2c_client *client = i2c_verify_client(dev);
client            219 drivers/power/supply/sbs-manager.c 	if (!client || client->addr != 0x0b)
client            223 drivers/power/supply/sbs-manager.c 	if (client->dev.driver) {
client            224 drivers/power/supply/sbs-manager.c 		driver = to_i2c_driver(client->dev.driver);
client            226 drivers/power/supply/sbs-manager.c 			driver->alert(client, I2C_PROTOCOL_SMBUS_ALERT, 0);
client            228 drivers/power/supply/sbs-manager.c 			dev_warn(&client->dev, "no driver alert()!\n");
client            230 drivers/power/supply/sbs-manager.c 		dev_dbg(&client->dev, "alert with no driver\n");
client            237 drivers/power/supply/sbs-manager.c static void sbsm_alert(struct i2c_client *client, enum i2c_alert_protocol prot,
client            240 drivers/power/supply/sbs-manager.c 	struct sbsm_data *sbsm = i2c_get_clientdata(client);
client            244 drivers/power/supply/sbs-manager.c 	ret = sbsm_read_word(sbsm->client, SBSM_CMD_BATSYSSTATE);
client            251 drivers/power/supply/sbs-manager.c 	ret = sbsm_read_word(sbsm->client, SBSM_CMD_BATSYSSTATECONT);
client            270 drivers/power/supply/sbs-manager.c 	struct i2c_client *client = data->client;
client            271 drivers/power/supply/sbs-manager.c 	struct device *dev = &client->dev;
client            277 drivers/power/supply/sbs-manager.c 	ret  = sbsm_read_word(client, SBSM_CMD_BATSYSSTATE);
client            282 drivers/power/supply/sbs-manager.c 	ret  = sbsm_read_word(client, SBSM_CMD_BATSYSSTATECONT);
client            292 drivers/power/supply/sbs-manager.c 	gc->label = client->name;
client            314 drivers/power/supply/sbs-manager.c static int sbsm_probe(struct i2c_client *client,
client            317 drivers/power/supply/sbs-manager.c 	struct i2c_adapter *adapter = client->adapter;
client            319 drivers/power/supply/sbs-manager.c 	struct device *dev = &client->dev;
client            325 drivers/power/supply/sbs-manager.c 	if (client->addr != 0x0a)
client            335 drivers/power/supply/sbs-manager.c 	i2c_set_clientdata(client, data);
client            337 drivers/power/supply/sbs-manager.c 	data->client = client;
client            340 drivers/power/supply/sbs-manager.c 	ret  = sbsm_read_word(client, SBSM_CMD_BATSYSINFO);
client            375 drivers/power/supply/sbs-manager.c 					dev_name(&client->dev));
client            404 drivers/power/supply/sbs-manager.c static int sbsm_remove(struct i2c_client *client)
client            406 drivers/power/supply/sbs-manager.c 	struct sbsm_data *data = i2c_get_clientdata(client);
client            832 drivers/power/supply/smb347-charger.c 			   struct i2c_client *client)
client            837 drivers/power/supply/smb347-charger.c 	ret = gpio_request_one(pdata->irq_gpio, GPIOF_IN, client->name);
client            843 drivers/power/supply/smb347-charger.c 				   client->name, smb);
client            862 drivers/power/supply/smb347-charger.c 	client->irq = irq;
client            872 drivers/power/supply/smb347-charger.c 	client->irq = 0;
client           1210 drivers/power/supply/smb347-charger.c static int smb347_probe(struct i2c_client *client,
client           1216 drivers/power/supply/smb347-charger.c 	struct device *dev = &client->dev;
client           1231 drivers/power/supply/smb347-charger.c 	i2c_set_clientdata(client, smb);
client           1234 drivers/power/supply/smb347-charger.c 	smb->dev = &client->dev;
client           1237 drivers/power/supply/smb347-charger.c 	smb->regmap = devm_regmap_init_i2c(client, &smb347_regmap);
client           1281 drivers/power/supply/smb347-charger.c 		ret = smb347_irq_init(smb, client);
client           1293 drivers/power/supply/smb347-charger.c static int smb347_remove(struct i2c_client *client)
client           1295 drivers/power/supply/smb347-charger.c 	struct smb347_charger *smb = i2c_get_clientdata(client);
client           1297 drivers/power/supply/smb347-charger.c 	if (client->irq) {
client           1299 drivers/power/supply/smb347-charger.c 		free_irq(client->irq, smb);
client            100 drivers/power/supply/ucs1002_power.c 	struct i2c_client *client;
client            491 drivers/power/supply/ucs1002_power.c static int ucs1002_probe(struct i2c_client *client,
client            494 drivers/power/supply/ucs1002_power.c 	struct device *dev = &client->dev;
client            510 drivers/power/supply/ucs1002_power.c 	info->regmap = devm_regmap_init_i2c(client, &regmap_config);
client            517 drivers/power/supply/ucs1002_power.c 	info->client = client;
client             22 drivers/power/supply/z2_battery.c 	struct i2c_client		*client;
client             32 drivers/power/supply/z2_battery.c 	data = i2c_smbus_read_byte_data(charger->client,
client            162 drivers/power/supply/z2_battery.c 		dev_info(&charger->client->dev,
client            181 drivers/power/supply/z2_battery.c static int z2_batt_probe(struct i2c_client *client,
client            187 drivers/power/supply/z2_battery.c 	struct z2_battery_info *info = client->dev.platform_data;
client            191 drivers/power/supply/z2_battery.c 		dev_err(&client->dev,
client            203 drivers/power/supply/z2_battery.c 	charger->client = client;
client            204 drivers/power/supply/z2_battery.c 	i2c_set_clientdata(client, charger);
client            233 drivers/power/supply/z2_battery.c 	charger->batt_ps = power_supply_register(&client->dev,
client            258 drivers/power/supply/z2_battery.c static int z2_batt_remove(struct i2c_client *client)
client            260 drivers/power/supply/z2_battery.c 	struct z2_charger *charger = i2c_get_clientdata(client);
client            280 drivers/power/supply/z2_battery.c 	struct i2c_client *client = to_i2c_client(dev);
client            281 drivers/power/supply/z2_battery.c 	struct z2_charger *charger = i2c_get_clientdata(client);
client            289 drivers/power/supply/z2_battery.c 	struct i2c_client *client = to_i2c_client(dev);
client            290 drivers/power/supply/z2_battery.c 	struct z2_charger *charger = i2c_get_clientdata(client);
client            445 drivers/pwm/pwm-pca9685.c static int pca9685_pwm_probe(struct i2c_client *client,
client            452 drivers/pwm/pwm-pca9685.c 	pca = devm_kzalloc(&client->dev, sizeof(*pca), GFP_KERNEL);
client            456 drivers/pwm/pwm-pca9685.c 	pca->regmap = devm_regmap_init_i2c(client, &pca9685_regmap_i2c_config);
client            459 drivers/pwm/pwm-pca9685.c 		dev_err(&client->dev, "Failed to initialize register map: %d\n",
client            466 drivers/pwm/pwm-pca9685.c 	i2c_set_clientdata(client, pca);
client            470 drivers/pwm/pwm-pca9685.c 	if (device_property_read_bool(&client->dev, "invert"))
client            475 drivers/pwm/pwm-pca9685.c 	if (device_property_read_bool(&client->dev, "open-drain"))
client            490 drivers/pwm/pwm-pca9685.c 	pca->chip.dev = &client->dev;
client            504 drivers/pwm/pwm-pca9685.c 	pm_runtime_set_active(&client->dev);
client            509 drivers/pwm/pwm-pca9685.c 	pm_runtime_enable(&client->dev);
client            514 drivers/pwm/pwm-pca9685.c static int pca9685_pwm_remove(struct i2c_client *client)
client            516 drivers/pwm/pwm-pca9685.c 	struct pca9685 *pca = i2c_get_clientdata(client);
client            522 drivers/pwm/pwm-pca9685.c 	pm_runtime_disable(&client->dev);
client            529 drivers/pwm/pwm-pca9685.c 	struct i2c_client *client = to_i2c_client(dev);
client            530 drivers/pwm/pwm-pca9685.c 	struct pca9685 *pca = i2c_get_clientdata(client);
client            538 drivers/pwm/pwm-pca9685.c 	struct i2c_client *client = to_i2c_client(dev);
client            539 drivers/pwm/pwm-pca9685.c 	struct pca9685 *pca = i2c_get_clientdata(client);
client           2449 drivers/rapidio/devices/rio_mport_cdev.c 	struct mport_cdev_priv *client;
client           2454 drivers/rapidio/devices/rio_mport_cdev.c 	list_for_each_entry(client, &md->file_list, list) {
client           2455 drivers/rapidio/devices/rio_mport_cdev.c 		if (client->dmach) {
client           2456 drivers/rapidio/devices/rio_mport_cdev.c 			dmaengine_terminate_all(client->dmach);
client           2457 drivers/rapidio/devices/rio_mport_cdev.c 			rio_release_dma(client->dmach);
client           2478 drivers/rapidio/devices/rio_mport_cdev.c 	struct mport_cdev_priv *client;
client           2481 drivers/rapidio/devices/rio_mport_cdev.c 	list_for_each_entry(client, &md->file_list, list) {
client           2482 drivers/rapidio/devices/rio_mport_cdev.c 		if (client->async_queue)
client           2483 drivers/rapidio/devices/rio_mport_cdev.c 			kill_fasync(&client->async_queue, SIGIO, POLL_HUP);
client            654 drivers/regulator/act8865-regulator.c static int act8865_pmic_probe(struct i2c_client *client,
client            659 drivers/regulator/act8865-regulator.c 	struct device *dev = &client->dev;
client            720 drivers/regulator/act8865-regulator.c 	act8865->regmap = devm_regmap_init_i2c(client, regmap_config);
client            729 drivers/regulator/act8865-regulator.c 			act8865_i2c_client = client;
client            774 drivers/regulator/act8865-regulator.c 	i2c_set_clientdata(client, act8865);
client             21 drivers/regulator/ad5398.c 	struct i2c_client *client;
client             38 drivers/regulator/ad5398.c static int ad5398_read_reg(struct i2c_client *client, unsigned short *data)
client             43 drivers/regulator/ad5398.c 	ret = i2c_master_recv(client, (char *)&val, 2);
client             45 drivers/regulator/ad5398.c 		dev_err(&client->dev, "I2C read error\n");
client             53 drivers/regulator/ad5398.c static int ad5398_write_reg(struct i2c_client *client, const unsigned short data)
client             59 drivers/regulator/ad5398.c 	ret = i2c_master_send(client, (char *)&val, 2);
client             61 drivers/regulator/ad5398.c 		dev_err(&client->dev, "I2C write error\n");
client             71 drivers/regulator/ad5398.c 	struct i2c_client *client = chip->client;
client             75 drivers/regulator/ad5398.c 	ret = ad5398_read_reg(client, &data);
client             87 drivers/regulator/ad5398.c 	struct i2c_client *client = chip->client;
client            106 drivers/regulator/ad5398.c 	dev_dbg(&client->dev, "changing current %duA\n",
client            110 drivers/regulator/ad5398.c 	ret = ad5398_read_reg(client, &data);
client            119 drivers/regulator/ad5398.c 	ret = ad5398_write_reg(client, data);
client            127 drivers/regulator/ad5398.c 	struct i2c_client *client = chip->client;
client            131 drivers/regulator/ad5398.c 	ret = ad5398_read_reg(client, &data);
client            144 drivers/regulator/ad5398.c 	struct i2c_client *client = chip->client;
client            148 drivers/regulator/ad5398.c 	ret = ad5398_read_reg(client, &data);
client            157 drivers/regulator/ad5398.c 	ret = ad5398_write_reg(client, data);
client            165 drivers/regulator/ad5398.c 	struct i2c_client *client = chip->client;
client            169 drivers/regulator/ad5398.c 	ret = ad5398_read_reg(client, &data);
client            178 drivers/regulator/ad5398.c 	ret = ad5398_write_reg(client, data);
client            215 drivers/regulator/ad5398.c static int ad5398_probe(struct i2c_client *client,
client            218 drivers/regulator/ad5398.c 	struct regulator_init_data *init_data = dev_get_platdata(&client->dev);
client            227 drivers/regulator/ad5398.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client            231 drivers/regulator/ad5398.c 	config.dev = &client->dev;
client            235 drivers/regulator/ad5398.c 	chip->client = client;
client            243 drivers/regulator/ad5398.c 	chip->rdev = devm_regulator_register(&client->dev, &ad5398_reg,
client            246 drivers/regulator/ad5398.c 		dev_err(&client->dev, "failed to register %s %s\n",
client            251 drivers/regulator/ad5398.c 	i2c_set_clientdata(client, chip);
client            252 drivers/regulator/ad5398.c 	dev_dbg(&client->dev, "%s regulator driver is registered.\n", id->name);
client            455 drivers/regulator/fan53555.c static int fan53555_regulator_probe(struct i2c_client *client,
client            458 drivers/regulator/fan53555.c 	struct device_node *np = client->dev.of_node;
client            466 drivers/regulator/fan53555.c 	di = devm_kzalloc(&client->dev, sizeof(struct fan53555_device_info),
client            471 drivers/regulator/fan53555.c 	pdata = dev_get_platdata(&client->dev);
client            473 drivers/regulator/fan53555.c 		pdata = fan53555_parse_dt(&client->dev, np, &di->desc);
client            476 drivers/regulator/fan53555.c 		dev_err(&client->dev, "Platform data not found!\n");
client            481 drivers/regulator/fan53555.c 	if (client->dev.of_node) {
client            483 drivers/regulator/fan53555.c 			(unsigned long)of_device_get_match_data(&client->dev);
client            488 drivers/regulator/fan53555.c 				dev_err(&client->dev, "Invalid slew_rate\n");
client            499 drivers/regulator/fan53555.c 	regmap = devm_regmap_init_i2c(client, &fan53555_regmap_config);
client            501 drivers/regulator/fan53555.c 		dev_err(&client->dev, "Failed to allocate regmap!\n");
client            504 drivers/regulator/fan53555.c 	di->dev = &client->dev;
client            505 drivers/regulator/fan53555.c 	i2c_set_clientdata(client, di);
client            509 drivers/regulator/fan53555.c 		dev_err(&client->dev, "Failed to get chip ID!\n");
client            516 drivers/regulator/fan53555.c 		dev_err(&client->dev, "Failed to get chip Rev!\n");
client            520 drivers/regulator/fan53555.c 	dev_info(&client->dev, "FAN53555 Option[%d] Rev[%d] Detected!\n",
client            525 drivers/regulator/fan53555.c 		dev_err(&client->dev, "Failed to setup device!\n");
client            537 drivers/regulator/fan53555.c 		dev_err(&client->dev, "Failed to register regulator!\n");
client             33 drivers/regulator/isl6271a-regulator.c 	struct i2c_client	*client;
client             44 drivers/regulator/isl6271a-regulator.c 	idx = i2c_smbus_read_byte(pmic->client);
client             46 drivers/regulator/isl6271a-regulator.c 		dev_err(&pmic->client->dev, "Error getting voltage\n");
client             60 drivers/regulator/isl6271a-regulator.c 	err = i2c_smbus_write_byte(pmic->client, selector);
client             62 drivers/regulator/isl6271a-regulator.c 		dev_err(&pmic->client->dev, "Error setting voltage\n");
client            124 drivers/regulator/isl6271a-regulator.c 	pmic->client = i2c;
client            445 drivers/regulator/lp8755.c static int lp8755_probe(struct i2c_client *client,
client            450 drivers/regulator/lp8755.c 	struct lp8755_platform_data *pdata = dev_get_platdata(&client->dev);
client            452 drivers/regulator/lp8755.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            453 drivers/regulator/lp8755.c 		dev_err(&client->dev, "i2c functionality check fail.\n");
client            457 drivers/regulator/lp8755.c 	pchip = devm_kzalloc(&client->dev,
client            462 drivers/regulator/lp8755.c 	pchip->dev = &client->dev;
client            463 drivers/regulator/lp8755.c 	pchip->regmap = devm_regmap_init_i2c(client, &lp8755_regmap);
client            466 drivers/regulator/lp8755.c 		dev_err(&client->dev, "fail to allocate regmap %d\n", ret);
client            469 drivers/regulator/lp8755.c 	i2c_set_clientdata(client, pchip);
client            482 drivers/regulator/lp8755.c 			dev_err(&client->dev, "fail to initialize chip\n");
client            489 drivers/regulator/lp8755.c 		dev_err(&client->dev, "fail to initialize regulators\n");
client            493 drivers/regulator/lp8755.c 	pchip->irq = client->irq;
client            496 drivers/regulator/lp8755.c 		dev_err(&client->dev, "fail to irq config\n");
client            510 drivers/regulator/lp8755.c static int lp8755_remove(struct i2c_client *client)
client            513 drivers/regulator/lp8755.c 	struct lp8755_chip *pchip = i2c_get_clientdata(client);
client            384 drivers/regulator/ltc3589.c static int ltc3589_probe(struct i2c_client *client,
client            387 drivers/regulator/ltc3589.c 	struct device *dev = &client->dev;
client            396 drivers/regulator/ltc3589.c 	i2c_set_clientdata(client, ltc3589);
client            397 drivers/regulator/ltc3589.c 	if (client->dev.of_node)
client            399 drivers/regulator/ltc3589.c 			of_device_get_match_data(&client->dev);
client            414 drivers/regulator/ltc3589.c 	ltc3589->regmap = devm_regmap_init_i2c(client, &ltc3589_regmap_config);
client            438 drivers/regulator/ltc3589.c 	if (client->irq) {
client            439 drivers/regulator/ltc3589.c 		ret = devm_request_threaded_irq(dev, client->irq, NULL,
client            442 drivers/regulator/ltc3589.c 						client->name, ltc3589);
client            304 drivers/regulator/ltc3676.c static int ltc3676_regulator_probe(struct i2c_client *client,
client            307 drivers/regulator/ltc3676.c 	struct device *dev = &client->dev;
client            317 drivers/regulator/ltc3676.c 	i2c_set_clientdata(client, ltc3676);
client            324 drivers/regulator/ltc3676.c 	ltc3676->regmap = devm_regmap_init_i2c(client, &ltc3676_regmap_config);
client            352 drivers/regulator/ltc3676.c 	if (client->irq) {
client            353 drivers/regulator/ltc3676.c 		ret = devm_request_threaded_irq(dev, client->irq, NULL,
client            356 drivers/regulator/ltc3676.c 						client->name, ltc3676);
client             30 drivers/regulator/max1586.c 	struct i2c_client *client;
client             67 drivers/regulator/max1586.c 	struct i2c_client *client = max1586->client;
client             71 drivers/regulator/max1586.c 	dev_dbg(&client->dev, "changing voltage v3 to %dmv\n",
client             75 drivers/regulator/max1586.c 	ret = i2c_smbus_write_byte(client, v3_prog);
client             95 drivers/regulator/max1586.c 	struct i2c_client *client = max1586->client;
client             99 drivers/regulator/max1586.c 	dev_dbg(&client->dev, "changing voltage v6 to %dmv\n",
client            103 drivers/regulator/max1586.c 	ret = i2c_smbus_write_byte(client, v6_prog);
client            210 drivers/regulator/max1586.c static int max1586_pmic_probe(struct i2c_client *client,
client            219 drivers/regulator/max1586.c 	pdata = dev_get_platdata(&client->dev);
client            220 drivers/regulator/max1586.c 	if (client->dev.of_node && !pdata) {
client            222 drivers/regulator/max1586.c 					&client->dev);
client            224 drivers/regulator/max1586.c 			dev_err(&client->dev, "Error: No device match found\n");
client            227 drivers/regulator/max1586.c 		ret = of_get_max1586_platform_data(&client->dev, &pdata_of);
client            233 drivers/regulator/max1586.c 	max1586 = devm_kzalloc(&client->dev, sizeof(struct max1586_data),
client            238 drivers/regulator/max1586.c 	max1586->client = client;
client            257 drivers/regulator/max1586.c 			dev_err(&client->dev, "invalid regulator id %d\n", id);
client            268 drivers/regulator/max1586.c 		config.dev = &client->dev;
client            272 drivers/regulator/max1586.c 		rdev = devm_regulator_register(&client->dev,
client            275 drivers/regulator/max1586.c 			dev_err(&client->dev, "failed to register %s\n",
client            281 drivers/regulator/max1586.c 	i2c_set_clientdata(client, max1586);
client            282 drivers/regulator/max1586.c 	dev_info(&client->dev, "Maxim 1586 regulator driver loaded\n");
client            148 drivers/regulator/max8649.c static int max8649_regulator_probe(struct i2c_client *client,
client            151 drivers/regulator/max8649.c 	struct max8649_platform_data *pdata = dev_get_platdata(&client->dev);
client            159 drivers/regulator/max8649.c 	info = devm_kzalloc(&client->dev, sizeof(struct max8649_regulator_info),
client            164 drivers/regulator/max8649.c 	info->regmap = devm_regmap_init_i2c(client, &max8649_regmap_config);
client            167 drivers/regulator/max8649.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n", ret);
client            171 drivers/regulator/max8649.c 	info->dev = &client->dev;
client            172 drivers/regulator/max8649.c 	i2c_set_clientdata(client, info);
client            227 drivers/regulator/max8649.c 	config.dev = &client->dev;
client            232 drivers/regulator/max8649.c 	regulator = devm_regulator_register(&client->dev, &dcdc_desc,
client             69 drivers/regulator/max8660.c 	struct i2c_client *client;
client             82 drivers/regulator/max8660.c 	dev_vdbg(&max8660->client->dev, "Writing reg %02x with %02x\n",
client             85 drivers/regulator/max8660.c 	ret = i2c_smbus_write_byte_data(max8660->client,
client            370 drivers/regulator/max8660.c static int max8660_probe(struct i2c_client *client,
client            373 drivers/regulator/max8660.c 	struct device *dev = &client->dev;
client            408 drivers/regulator/max8660.c 	max8660->client = client;
client            485 drivers/regulator/max8660.c 		rdev = devm_regulator_register(&client->dev,
client            488 drivers/regulator/max8660.c 			dev_err(&client->dev, "failed to register %s\n",
client            494 drivers/regulator/max8660.c 	i2c_set_clientdata(client, max8660);
client             36 drivers/regulator/max8952.c 	struct i2c_client	*client;
client             46 drivers/regulator/max8952.c 	int ret = i2c_smbus_read_byte_data(max8952->client, reg);
client             57 drivers/regulator/max8952.c 	return i2c_smbus_write_byte_data(max8952->client, reg, value);
client            174 drivers/regulator/max8952.c static int max8952_pmic_probe(struct i2c_client *client,
client            177 drivers/regulator/max8952.c 	struct i2c_adapter *adapter = client->adapter;
client            178 drivers/regulator/max8952.c 	struct max8952_platform_data *pdata = dev_get_platdata(&client->dev);
client            187 drivers/regulator/max8952.c 	if (client->dev.of_node)
client            188 drivers/regulator/max8952.c 		pdata = max8952_parse_dt(&client->dev);
client            191 drivers/regulator/max8952.c 		dev_err(&client->dev, "Require the platform data\n");
client            198 drivers/regulator/max8952.c 	max8952 = devm_kzalloc(&client->dev, sizeof(struct max8952_data),
client            203 drivers/regulator/max8952.c 	max8952->client = client;
client            206 drivers/regulator/max8952.c 	config.dev = &client->dev;
client            209 drivers/regulator/max8952.c 	config.of_node = client->dev.of_node;
client            220 drivers/regulator/max8952.c 	gpiod = gpiod_get_optional(&client->dev,
client            228 drivers/regulator/max8952.c 	rdev = devm_regulator_register(&client->dev, &regulator, &config);
client            231 drivers/regulator/max8952.c 		dev_err(&client->dev, "regulator init failed (%d)\n", ret);
client            240 drivers/regulator/max8952.c 	max8952->vid0_gpiod = devm_gpiod_get_index_optional(&client->dev,
client            246 drivers/regulator/max8952.c 	max8952->vid1_gpiod = devm_gpiod_get_index_optional(&client->dev,
client            254 drivers/regulator/max8952.c 		dev_warn(&client->dev, "VID0/1 gpio invalid: "
client            267 drivers/regulator/max8952.c 		dev_err(&client->dev, "DVS modes disabled because VID0 and VID1"
client            305 drivers/regulator/max8952.c 	i2c_set_clientdata(client, max8952);
client            625 drivers/regulator/max8973-regulator.c static int max8973_probe(struct i2c_client *client,
client            639 drivers/regulator/max8973-regulator.c 	pdata = dev_get_platdata(&client->dev);
client            641 drivers/regulator/max8973-regulator.c 	if (!pdata && client->dev.of_node) {
client            642 drivers/regulator/max8973-regulator.c 		pdata = max8973_parse_dt(&client->dev);
client            647 drivers/regulator/max8973-regulator.c 		dev_err(&client->dev, "No Platform data");
client            654 drivers/regulator/max8973-regulator.c 	max = devm_kzalloc(&client->dev, sizeof(*max), GFP_KERNEL);
client            658 drivers/regulator/max8973-regulator.c 	max->regmap = devm_regmap_init_i2c(client, &max8973_regmap_config);
client            661 drivers/regulator/max8973-regulator.c 		dev_err(&client->dev, "regmap init failed, err %d\n", ret);
client            665 drivers/regulator/max8973-regulator.c 	if (client->dev.of_node) {
client            669 drivers/regulator/max8973-regulator.c 				&client->dev);
client            679 drivers/regulator/max8973-regulator.c 		dev_err(&client->dev, "register CHIPID1 read failed, %d", ret);
client            683 drivers/regulator/max8973-regulator.c 	dev_info(&client->dev, "CHIP-ID OTP: 0x%02x ID_M: 0x%02x\n",
client            686 drivers/regulator/max8973-regulator.c 	i2c_set_clientdata(client, max);
client            688 drivers/regulator/max8973-regulator.c 	max->dev = &client->dev;
client            712 drivers/regulator/max8973-regulator.c 		ret = devm_gpio_request_one(&client->dev, max->dvs_gpio,
client            715 drivers/regulator/max8973-regulator.c 			dev_err(&client->dev,
client            741 drivers/regulator/max8973-regulator.c 		pdata->reg_init_data = of_get_regulator_init_data(&client->dev,
client            742 drivers/regulator/max8973-regulator.c 					client->dev.of_node, &max->desc);
client            762 drivers/regulator/max8973-regulator.c 		gpiod = devm_gpiod_get_optional(&client->dev,
client            779 drivers/regulator/max8973-regulator.c 		gpiod = devm_gpiod_get_optional(&client->dev,
client            805 drivers/regulator/max8973-regulator.c 	config.dev = &client->dev;
client            808 drivers/regulator/max8973-regulator.c 	config.of_node = client->dev.of_node;
client            817 drivers/regulator/max8973-regulator.c 		devm_gpiod_unhinge(&client->dev, config.ena_gpiod);
client            818 drivers/regulator/max8973-regulator.c 	rdev = devm_regulator_register(&client->dev, &max->desc, &config);
client            430 drivers/regulator/mcp16502.c static int mcp16502_probe(struct i2c_client *client,
client            440 drivers/regulator/mcp16502.c 	dev = &client->dev;
client            447 drivers/regulator/mcp16502.c 	rmap = devm_regmap_init_i2c(client, &mcp16502_regmap_config);
client            454 drivers/regulator/mcp16502.c 	i2c_set_clientdata(client, mcp);
client            482 drivers/regulator/mcp16502.c 	struct i2c_client *client = to_i2c_client(dev);
client            483 drivers/regulator/mcp16502.c 	struct mcp16502 *mcp = i2c_get_clientdata(client);
client            492 drivers/regulator/mcp16502.c 	struct i2c_client *client = to_i2c_client(dev);
client            493 drivers/regulator/mcp16502.c 	struct mcp16502 *mcp = i2c_get_clientdata(client);
client            686 drivers/regulator/pfuze100-regulator.c static int pfuze100_regulator_probe(struct i2c_client *client,
client            691 drivers/regulator/pfuze100-regulator.c 	    dev_get_platdata(&client->dev);
client            698 drivers/regulator/pfuze100-regulator.c 	pfuze_chip = devm_kzalloc(&client->dev, sizeof(*pfuze_chip),
client            703 drivers/regulator/pfuze100-regulator.c 	if (client->dev.of_node) {
client            705 drivers/regulator/pfuze100-regulator.c 				&client->dev);
client            707 drivers/regulator/pfuze100-regulator.c 			dev_err(&client->dev, "Error: No device match found\n");
client            714 drivers/regulator/pfuze100-regulator.c 		dev_err(&client->dev, "No dts match or id table match found\n");
client            718 drivers/regulator/pfuze100-regulator.c 	i2c_set_clientdata(client, pfuze_chip);
client            719 drivers/regulator/pfuze100-regulator.c 	pfuze_chip->dev = &client->dev;
client            721 drivers/regulator/pfuze100-regulator.c 	pfuze_chip->regmap = devm_regmap_init_i2c(client, &pfuze_regmap_config);
client            724 drivers/regulator/pfuze100-regulator.c 		dev_err(&client->dev,
client            731 drivers/regulator/pfuze100-regulator.c 		dev_err(&client->dev, "unrecognized pfuze chip ID!\n");
client            765 drivers/regulator/pfuze100-regulator.c 	dev_info(&client->dev, "pfuze%s found.\n",
client            794 drivers/regulator/pfuze100-regulator.c 				dev_err(&client->dev, "Fails to read from the register.\n");
client            826 drivers/regulator/pfuze100-regulator.c 		config.dev = &client->dev;
client            832 drivers/regulator/pfuze100-regulator.c 			devm_regulator_register(&client->dev, desc, &config);
client            834 drivers/regulator/pfuze100-regulator.c 			dev_err(&client->dev, "register regulator%s failed\n",
client            840 drivers/regulator/pfuze100-regulator.c 	if (of_property_read_bool(client->dev.of_node,
client            847 drivers/regulator/pfuze100-regulator.c static int pfuze100_regulator_remove(struct i2c_client *client)
client           1318 drivers/regulator/rk808-regulator.c 	struct i2c_client *client = rk808->i2c;
client           1329 drivers/regulator/rk808-regulator.c 	ret = rk808_regulator_dt_parse_pdata(&pdev->dev, &client->dev,
client           1358 drivers/regulator/rk808-regulator.c 		dev_err(&client->dev, "unsupported RK8XX ID %lu\n",
client           1363 drivers/regulator/rk808-regulator.c 	config.dev = &client->dev;
client           1372 drivers/regulator/rk808-regulator.c 			dev_err(&client->dev,
client            445 drivers/regulator/slg51000-regulator.c static int slg51000_i2c_probe(struct i2c_client *client,
client            448 drivers/regulator/slg51000-regulator.c 	struct device *dev = &client->dev;
client            468 drivers/regulator/slg51000-regulator.c 	i2c_set_clientdata(client, chip);
client            469 drivers/regulator/slg51000-regulator.c 	chip->chip_irq = client->irq;
client            471 drivers/regulator/slg51000-regulator.c 	chip->regmap = devm_regmap_init_i2c(client, &slg51000_regmap_config);
client            115 drivers/regulator/sy8824x.c static int sy8824_i2c_probe(struct i2c_client *client,
client            118 drivers/regulator/sy8824x.c 	struct device *dev = &client->dev;
client            138 drivers/regulator/sy8824x.c 	regmap = devm_regmap_init_i2c(client, &sy8824_regmap_config);
client            143 drivers/regulator/sy8824x.c 	i2c_set_clientdata(client, di);
client            263 drivers/regulator/tps51632-regulator.c static int tps51632_probe(struct i2c_client *client,
client            272 drivers/regulator/tps51632-regulator.c 	if (client->dev.of_node) {
client            275 drivers/regulator/tps51632-regulator.c 				&client->dev);
client            277 drivers/regulator/tps51632-regulator.c 			dev_err(&client->dev, "Error: No device match found\n");
client            282 drivers/regulator/tps51632-regulator.c 	tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL);
client            286 drivers/regulator/tps51632-regulator.c 	tps->dev = &client->dev;
client            287 drivers/regulator/tps51632-regulator.c 	tps->desc.name = client->name;
client            298 drivers/regulator/tps51632-regulator.c 	pdata = dev_get_platdata(&client->dev);
client            299 drivers/regulator/tps51632-regulator.c 	if (!pdata && client->dev.of_node)
client            300 drivers/regulator/tps51632-regulator.c 		pdata = of_get_tps51632_platform_data(&client->dev, &tps->desc);
client            302 drivers/regulator/tps51632-regulator.c 		dev_err(&client->dev, "No Platform data\n");
client            309 drivers/regulator/tps51632-regulator.c 			dev_err(&client->dev, "Invalid base_voltage_uV setting\n");
client            316 drivers/regulator/tps51632-regulator.c 			dev_err(&client->dev, "Invalid max_voltage_uV setting\n");
client            327 drivers/regulator/tps51632-regulator.c 	tps->regmap = devm_regmap_init_i2c(client, &tps51632_regmap_config);
client            330 drivers/regulator/tps51632-regulator.c 		dev_err(&client->dev, "regmap init failed, err %d\n", ret);
client            333 drivers/regulator/tps51632-regulator.c 	i2c_set_clientdata(client, tps);
client            342 drivers/regulator/tps51632-regulator.c 	config.dev = &client->dev;
client            346 drivers/regulator/tps51632-regulator.c 	config.of_node = client->dev.of_node;
client            348 drivers/regulator/tps51632-regulator.c 	rdev = devm_regulator_register(&client->dev, &tps->desc, &config);
client             71 drivers/regulator/tps6105x-regulator.c 	config.dev = &tps6105x->client->dev;
client             82 drivers/regulator/tps6105x-regulator.c 		dev_err(&tps6105x->client->dev,
client            342 drivers/regulator/tps62360-regulator.c static int tps62360_probe(struct i2c_client *client,
client            353 drivers/regulator/tps62360-regulator.c 	pdata = dev_get_platdata(&client->dev);
client            355 drivers/regulator/tps62360-regulator.c 	tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL);
client            359 drivers/regulator/tps62360-regulator.c 	tps->desc.name = client->name;
client            366 drivers/regulator/tps62360-regulator.c 	if (client->dev.of_node) {
client            369 drivers/regulator/tps62360-regulator.c 				&client->dev);
client            371 drivers/regulator/tps62360-regulator.c 			dev_err(&client->dev, "Error: No device match found\n");
client            376 drivers/regulator/tps62360-regulator.c 			pdata = of_get_tps62360_platform_data(&client->dev,
client            381 drivers/regulator/tps62360-regulator.c 		dev_err(&client->dev, "No device tree match or id table match found\n");
client            386 drivers/regulator/tps62360-regulator.c 		dev_err(&client->dev, "%s(): Platform data not found\n",
client            395 drivers/regulator/tps62360-regulator.c 	tps->dev = &client->dev;
client            414 drivers/regulator/tps62360-regulator.c 	tps->regmap = devm_regmap_init_i2c(client, &tps62360_regmap_config);
client            417 drivers/regulator/tps62360-regulator.c 		dev_err(&client->dev,
client            422 drivers/regulator/tps62360-regulator.c 	i2c_set_clientdata(client, tps);
client            433 drivers/regulator/tps62360-regulator.c 		ret = devm_gpio_request_one(&client->dev, tps->vsel0_gpio,
client            436 drivers/regulator/tps62360-regulator.c 			dev_err(&client->dev,
client            444 drivers/regulator/tps62360-regulator.c 		ret = devm_gpio_request_one(&client->dev, tps->vsel1_gpio,
client            447 drivers/regulator/tps62360-regulator.c 			dev_err(&client->dev,
client            471 drivers/regulator/tps62360-regulator.c 	config.dev = &client->dev;
client            474 drivers/regulator/tps62360-regulator.c 	config.of_node = client->dev.of_node;
client            477 drivers/regulator/tps62360-regulator.c 	rdev = devm_regulator_register(&client->dev, &tps->desc, &config);
client            489 drivers/regulator/tps62360-regulator.c static void tps62360_shutdown(struct i2c_client *client)
client            491 drivers/regulator/tps62360-regulator.c 	struct tps62360_chip *tps = i2c_get_clientdata(client);
client            268 drivers/regulator/tps65023-regulator.c static int tps_65023_probe(struct i2c_client *client,
client            271 drivers/regulator/tps65023-regulator.c 	struct regulator_init_data *init_data = dev_get_platdata(&client->dev);
client            277 drivers/regulator/tps65023-regulator.c 	tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL);
client            283 drivers/regulator/tps65023-regulator.c 	tps->regmap = devm_regmap_init_i2c(client, &tps65023_regmap_config);
client            286 drivers/regulator/tps65023-regulator.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            292 drivers/regulator/tps65023-regulator.c 	config.dev = &client->dev;
client            301 drivers/regulator/tps65023-regulator.c 		tps->rdev[i] = devm_regulator_register(&client->dev,
client            304 drivers/regulator/tps65023-regulator.c 			dev_err(&client->dev, "failed to register %s\n",
client            310 drivers/regulator/tps65023-regulator.c 	i2c_set_clientdata(client, tps);
client            220 drivers/regulator/tps65132-regulator.c static int tps65132_probe(struct i2c_client *client,
client            223 drivers/regulator/tps65132-regulator.c 	struct device *dev = &client->dev;
client            235 drivers/regulator/tps65132-regulator.c 	rmap = devm_regmap_init_i2c(client, &tps65132_regmap_config);
client            242 drivers/regulator/tps65132-regulator.c 	i2c_set_clientdata(client, tps);
client             38 drivers/remoteproc/omap_remoteproc.c 	struct mbox_client client;
client             56 drivers/remoteproc/omap_remoteproc.c static void omap_rproc_mbox_callback(struct mbox_client *client, void *data)
client             58 drivers/remoteproc/omap_remoteproc.c 	struct omap_rproc *oproc = container_of(client, struct omap_rproc,
client             59 drivers/remoteproc/omap_remoteproc.c 						client);
client            109 drivers/remoteproc/omap_remoteproc.c 	struct mbox_client *client = &oproc->client;
client            114 drivers/remoteproc/omap_remoteproc.c 	client->dev = dev;
client            115 drivers/remoteproc/omap_remoteproc.c 	client->tx_done = NULL;
client            116 drivers/remoteproc/omap_remoteproc.c 	client->rx_callback = omap_rproc_mbox_callback;
client            117 drivers/remoteproc/omap_remoteproc.c 	client->tx_block = false;
client            118 drivers/remoteproc/omap_remoteproc.c 	client->knows_txdone = false;
client            120 drivers/remoteproc/omap_remoteproc.c 	oproc->mbox = omap_mbox_request_channel(client, pdata->mbox_name);
client             60 drivers/remoteproc/stm32_rproc.c 	struct mbox_client client;
client            267 drivers/remoteproc/stm32_rproc.c 	struct stm32_mbox *mb = container_of(cl, struct stm32_mbox, client);
client            289 drivers/remoteproc/stm32_rproc.c 		.client = {
client            297 drivers/remoteproc/stm32_rproc.c 		.client = {
client            305 drivers/remoteproc/stm32_rproc.c 		.client = {
client            327 drivers/remoteproc/stm32_rproc.c 		cl = &ddata->mb[i].client;
client            335 drivers/rtc/rtc-88pm860x.c 	info->i2c = (chip->id == CHIP_PM8607) ? chip->client : chip->companion;
client            746 drivers/rtc/rtc-ab-b5ze-s3.c 	struct i2c_client *client = data;
client            747 drivers/rtc/rtc-ab-b5ze-s3.c 	struct device *dev = &client->dev;
client            820 drivers/rtc/rtc-ab-b5ze-s3.c static int abb5zes3_probe(struct i2c_client *client,
client            824 drivers/rtc/rtc-ab-b5ze-s3.c 	struct device *dev = &client->dev;
client            828 drivers/rtc/rtc-ab-b5ze-s3.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C |
client            833 drivers/rtc/rtc-ab-b5ze-s3.c 	regmap = devm_regmap_init_i2c(client, &abb5zes3_rtc_regmap_config);
client            864 drivers/rtc/rtc-ab-b5ze-s3.c 	if (client->irq > 0) {
client            865 drivers/rtc/rtc-ab-b5ze-s3.c 		ret = devm_request_threaded_irq(dev, client->irq, NULL,
client            868 drivers/rtc/rtc-ab-b5ze-s3.c 						DRV_NAME, client);
client            871 drivers/rtc/rtc-ab-b5ze-s3.c 			data->irq = client->irq;
client            873 drivers/rtc/rtc-ab-b5ze-s3.c 				client->irq);
client            876 drivers/rtc/rtc-ab-b5ze-s3.c 				__func__, client->irq, ret);
client            903 drivers/rtc/rtc-ab-b5ze-s3.c static int abb5zes3_remove(struct i2c_client *client)
client            905 drivers/rtc/rtc-ab-b5ze-s3.c 	struct abb5zes3_rtc_data *rtc_data = dev_get_drvdata(&client->dev);
client            908 drivers/rtc/rtc-ab-b5ze-s3.c 		device_init_wakeup(&client->dev, false);
client            383 drivers/rtc/rtc-ab-eoz9.c static int abeoz9_probe(struct i2c_client *client,
client            387 drivers/rtc/rtc-ab-eoz9.c 	struct device *dev = &client->dev;
client            391 drivers/rtc/rtc-ab-eoz9.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C |
client            396 drivers/rtc/rtc-ab-eoz9.c 	regmap = devm_regmap_init_i2c(client, &abeoz9_rtc_regmap_config);
client            410 drivers/rtc/rtc-ab-eoz9.c 	ret = abeoz9_rtc_setup(dev, client->dev.of_node);
client            115 drivers/rtc/rtc-abx80x.c 	struct i2c_client *client;
client            119 drivers/rtc/rtc-abx80x.c static int abx80x_is_rc_mode(struct i2c_client *client)
client            123 drivers/rtc/rtc-abx80x.c 	flags =  i2c_smbus_read_byte_data(client, ABX8XX_REG_OSS);
client            125 drivers/rtc/rtc-abx80x.c 		dev_err(&client->dev,
client            133 drivers/rtc/rtc-abx80x.c static int abx80x_enable_trickle_charger(struct i2c_client *client,
client            142 drivers/rtc/rtc-abx80x.c 	err = i2c_smbus_write_byte_data(client, ABX8XX_REG_CFG_KEY,
client            145 drivers/rtc/rtc-abx80x.c 		dev_err(&client->dev, "Unable to write configuration key\n");
client            149 drivers/rtc/rtc-abx80x.c 	err = i2c_smbus_write_byte_data(client, ABX8XX_REG_TRICKLE,
client            153 drivers/rtc/rtc-abx80x.c 		dev_err(&client->dev, "Unable to write trickle register\n");
client            162 drivers/rtc/rtc-abx80x.c 	struct i2c_client *client = to_i2c_client(dev);
client            167 drivers/rtc/rtc-abx80x.c 	rc_mode = abx80x_is_rc_mode(client);
client            172 drivers/rtc/rtc-abx80x.c 		flags = i2c_smbus_read_byte_data(client, ABX8XX_REG_OSS);
client            182 drivers/rtc/rtc-abx80x.c 	err = i2c_smbus_read_i2c_block_data(client, ABX8XX_REG_HTH,
client            185 drivers/rtc/rtc-abx80x.c 		dev_err(&client->dev, "Unable to read date\n");
client            202 drivers/rtc/rtc-abx80x.c 	struct i2c_client *client = to_i2c_client(dev);
client            218 drivers/rtc/rtc-abx80x.c 	err = i2c_smbus_write_i2c_block_data(client, ABX8XX_REG_HTH,
client            221 drivers/rtc/rtc-abx80x.c 		dev_err(&client->dev, "Unable to write to date registers\n");
client            226 drivers/rtc/rtc-abx80x.c 	flags = i2c_smbus_read_byte_data(client, ABX8XX_REG_OSS);
client            230 drivers/rtc/rtc-abx80x.c 	err = i2c_smbus_write_byte_data(client, ABX8XX_REG_OSS,
client            233 drivers/rtc/rtc-abx80x.c 		dev_err(&client->dev, "Unable to write oscillator status register\n");
client            242 drivers/rtc/rtc-abx80x.c 	struct i2c_client *client = dev_id;
client            243 drivers/rtc/rtc-abx80x.c 	struct abx80x_priv *priv = i2c_get_clientdata(client);
client            247 drivers/rtc/rtc-abx80x.c 	status = i2c_smbus_read_byte_data(client, ABX8XX_REG_STATUS);
client            259 drivers/rtc/rtc-abx80x.c 		dev_alert(&client->dev, "watchdog timeout interrupt.\n");
client            261 drivers/rtc/rtc-abx80x.c 	i2c_smbus_write_byte_data(client, ABX8XX_REG_STATUS, 0);
client            268 drivers/rtc/rtc-abx80x.c 	struct i2c_client *client = to_i2c_client(dev);
client            273 drivers/rtc/rtc-abx80x.c 	if (client->irq <= 0)
client            276 drivers/rtc/rtc-abx80x.c 	err = i2c_smbus_read_i2c_block_data(client, ABX8XX_REG_ASC,
client            281 drivers/rtc/rtc-abx80x.c 	irq_mask = i2c_smbus_read_byte_data(client, ABX8XX_REG_IRQ);
client            300 drivers/rtc/rtc-abx80x.c 	struct i2c_client *client = to_i2c_client(dev);
client            304 drivers/rtc/rtc-abx80x.c 	if (client->irq <= 0)
client            314 drivers/rtc/rtc-abx80x.c 	err = i2c_smbus_write_i2c_block_data(client, ABX8XX_REG_AHTH,
client            317 drivers/rtc/rtc-abx80x.c 		dev_err(&client->dev, "Unable to write alarm registers\n");
client            322 drivers/rtc/rtc-abx80x.c 		err = i2c_smbus_write_byte_data(client, ABX8XX_REG_IRQ,
client            335 drivers/rtc/rtc-abx80x.c 	struct i2c_client *client = to_i2c_client(dev);
client            344 drivers/rtc/rtc-abx80x.c 	flags = i2c_smbus_read_byte_data(client, ABX8XX_REG_OSC);
client            360 drivers/rtc/rtc-abx80x.c 	retval = i2c_smbus_write_byte_data(client, ABX8XX_REG_CFG_KEY,
client            367 drivers/rtc/rtc-abx80x.c 	retval = i2c_smbus_write_byte_data(client, ABX8XX_REG_OSC, flags);
client            374 drivers/rtc/rtc-abx80x.c 	struct i2c_client *client = to_i2c_client(dev);
client            377 drivers/rtc/rtc-abx80x.c 	flags =  i2c_smbus_read_byte_data(client, ABX8XX_REG_OSC);
client            430 drivers/rtc/rtc-abx80x.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client            442 drivers/rtc/rtc-abx80x.c 	flags =  i2c_smbus_read_byte_data(client, ABX8XX_REG_OSC);
client            452 drivers/rtc/rtc-abx80x.c 	retval = i2c_smbus_write_byte_data(client, ABX8XX_REG_CFG_KEY,
client            459 drivers/rtc/rtc-abx80x.c 	retval = i2c_smbus_write_byte_data(client, ABX8XX_REG_OSC, flags);
client            472 drivers/rtc/rtc-abx80x.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client            474 drivers/rtc/rtc-abx80x.c 	rc_mode = abx80x_is_rc_mode(client);
client            502 drivers/rtc/rtc-abx80x.c 	struct i2c_client *client = to_i2c_client(dev);
client            506 drivers/rtc/rtc-abx80x.c 		err = i2c_smbus_write_byte_data(client, ABX8XX_REG_IRQ,
client            510 drivers/rtc/rtc-abx80x.c 		err = i2c_smbus_write_byte_data(client, ABX8XX_REG_IRQ,
client            517 drivers/rtc/rtc-abx80x.c 	struct i2c_client *client = to_i2c_client(dev);
client            522 drivers/rtc/rtc-abx80x.c 		status = i2c_smbus_read_byte_data(client, ABX8XX_REG_STATUS);
client            534 drivers/rtc/rtc-abx80x.c 		status = i2c_smbus_read_byte_data(client, ABX8XX_REG_STATUS);
client            540 drivers/rtc/rtc-abx80x.c 		tmp = i2c_smbus_write_byte_data(client, ABX8XX_REG_STATUS, 0);
client            610 drivers/rtc/rtc-abx80x.c 	return i2c_smbus_write_byte_data(priv->client, ABX8XX_REG_WDT, val);
client            657 drivers/rtc/rtc-abx80x.c 	priv->wdog.parent = &priv->client->dev;
client            666 drivers/rtc/rtc-abx80x.c 	return devm_watchdog_register_device(&priv->client->dev, &priv->wdog);
client            675 drivers/rtc/rtc-abx80x.c static int abx80x_probe(struct i2c_client *client,
client            678 drivers/rtc/rtc-abx80x.c 	struct device_node *np = client->dev.of_node;
client            689 drivers/rtc/rtc-abx80x.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            692 drivers/rtc/rtc-abx80x.c 	err = i2c_smbus_read_i2c_block_data(client, ABX8XX_REG_ID0,
client            695 drivers/rtc/rtc-abx80x.c 		dev_err(&client->dev, "Unable to read partnumber\n");
client            705 drivers/rtc/rtc-abx80x.c 	dev_info(&client->dev, "model %04x, revision %u.%u, lot %x, wafer %x, uid %x\n",
client            708 drivers/rtc/rtc-abx80x.c 	data = i2c_smbus_read_byte_data(client, ABX8XX_REG_CTRL1);
client            710 drivers/rtc/rtc-abx80x.c 		dev_err(&client->dev, "Unable to read control register\n");
client            714 drivers/rtc/rtc-abx80x.c 	err = i2c_smbus_write_byte_data(client, ABX8XX_REG_CTRL1,
client            719 drivers/rtc/rtc-abx80x.c 		dev_err(&client->dev, "Unable to write control register\n");
client            731 drivers/rtc/rtc-abx80x.c 		data = i2c_smbus_read_byte_data(client, ABX8XX_REG_CTRL2);
client            733 drivers/rtc/rtc-abx80x.c 			dev_err(&client->dev,
client            738 drivers/rtc/rtc-abx80x.c 		err = i2c_smbus_write_byte_data(client, ABX8XX_REG_CTRL2,
client            741 drivers/rtc/rtc-abx80x.c 			dev_err(&client->dev,
client            751 drivers/rtc/rtc-abx80x.c 		data = i2c_smbus_read_byte_data(client, ABX8XX_REG_OUT_CTRL);
client            753 drivers/rtc/rtc-abx80x.c 			dev_err(&client->dev,
client            762 drivers/rtc/rtc-abx80x.c 		err = i2c_smbus_write_byte_data(client, ABX8XX_REG_CFG_KEY,
client            765 drivers/rtc/rtc-abx80x.c 			dev_err(&client->dev,
client            770 drivers/rtc/rtc-abx80x.c 		err = i2c_smbus_write_byte_data(client, ABX8XX_REG_OUT_CTRL,
client            773 drivers/rtc/rtc-abx80x.c 			dev_err(&client->dev,
client            785 drivers/rtc/rtc-abx80x.c 			dev_err(&client->dev, "Unknown part: %04x\n",
client            793 drivers/rtc/rtc-abx80x.c 		dev_err(&client->dev, "partnumber mismatch %04x != %04x\n",
client            802 drivers/rtc/rtc-abx80x.c 		dev_info(&client->dev, "Enabling trickle charger: %02x\n",
client            804 drivers/rtc/rtc-abx80x.c 		abx80x_enable_trickle_charger(client, trickle_cfg);
client            807 drivers/rtc/rtc-abx80x.c 	err = i2c_smbus_write_byte_data(client, ABX8XX_REG_CD_TIMER_CTL,
client            812 drivers/rtc/rtc-abx80x.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client            816 drivers/rtc/rtc-abx80x.c 	priv->rtc = devm_rtc_allocate_device(&client->dev);
client            821 drivers/rtc/rtc-abx80x.c 	priv->client = client;
client            823 drivers/rtc/rtc-abx80x.c 	i2c_set_clientdata(client, priv);
client            831 drivers/rtc/rtc-abx80x.c 	if (client->irq > 0) {
client            832 drivers/rtc/rtc-abx80x.c 		dev_info(&client->dev, "IRQ %d supplied\n", client->irq);
client            833 drivers/rtc/rtc-abx80x.c 		err = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            837 drivers/rtc/rtc-abx80x.c 						client);
client            839 drivers/rtc/rtc-abx80x.c 			dev_err(&client->dev, "unable to request IRQ, alarms disabled\n");
client            840 drivers/rtc/rtc-abx80x.c 			client->irq = 0;
client            846 drivers/rtc/rtc-abx80x.c 		dev_err(&client->dev, "Failed to create sysfs group: %d\n",
client             54 drivers/rtc/rtc-bq32k.c 	struct i2c_client *client = to_i2c_client(dev);
client             57 drivers/rtc/rtc-bq32k.c 			.addr = client->addr,
client             62 drivers/rtc/rtc-bq32k.c 			.addr = client->addr,
client             69 drivers/rtc/rtc-bq32k.c 	if (i2c_transfer(client->adapter, msgs, 2) == 2)
client             77 drivers/rtc/rtc-bq32k.c 	struct i2c_client *client = to_i2c_client(dev);
client             83 drivers/rtc/rtc-bq32k.c 	if (i2c_master_send(client, buffer, len + 1) == len + 1)
client            252 drivers/rtc/rtc-bq32k.c static int bq32k_probe(struct i2c_client *client,
client            255 drivers/rtc/rtc-bq32k.c 	struct device *dev = &client->dev;
client            260 drivers/rtc/rtc-bq32k.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            280 drivers/rtc/rtc-bq32k.c 	if (client->dev.of_node)
client            281 drivers/rtc/rtc-bq32k.c 		trickle_charger_of_init(dev, client->dev.of_node);
client            283 drivers/rtc/rtc-bq32k.c 	rtc = devm_rtc_device_register(&client->dev, bq32k_driver.driver.name,
client            288 drivers/rtc/rtc-bq32k.c 	error = bq32k_sysfs_register(&client->dev);
client            290 drivers/rtc/rtc-bq32k.c 		dev_err(&client->dev,
client            296 drivers/rtc/rtc-bq32k.c 	i2c_set_clientdata(client, rtc);
client            301 drivers/rtc/rtc-bq32k.c static int bq32k_remove(struct i2c_client *client)
client            303 drivers/rtc/rtc-bq32k.c 	bq32k_sysfs_unregister(&client->dev);
client           1575 drivers/rtc/rtc-ds1307.c static int ds1307_probe(struct i2c_client *client,
client           1585 drivers/rtc/rtc-ds1307.c 	struct ds1307_platform_data *pdata = dev_get_platdata(&client->dev);
client           1588 drivers/rtc/rtc-ds1307.c 	ds1307 = devm_kzalloc(&client->dev, sizeof(struct ds1307), GFP_KERNEL);
client           1592 drivers/rtc/rtc-ds1307.c 	dev_set_drvdata(&client->dev, ds1307);
client           1593 drivers/rtc/rtc-ds1307.c 	ds1307->dev = &client->dev;
client           1594 drivers/rtc/rtc-ds1307.c 	ds1307->name = client->name;
client           1596 drivers/rtc/rtc-ds1307.c 	ds1307->regmap = devm_regmap_init_i2c(client, &regmap_config);
client           1602 drivers/rtc/rtc-ds1307.c 	i2c_set_clientdata(client, ds1307);
client           1604 drivers/rtc/rtc-ds1307.c 	if (client->dev.of_node) {
client           1606 drivers/rtc/rtc-ds1307.c 			of_device_get_match_data(&client->dev);
client           1622 drivers/rtc/rtc-ds1307.c 	want_irq = client->irq > 0 && chip->alarm;
client           1647 drivers/rtc/rtc-ds1307.c 	if (chip->alarm && of_property_read_bool(client->dev.of_node,
client           1819 drivers/rtc/rtc-ds1307.c 		err = devm_request_threaded_irq(ds1307->dev, client->irq, NULL,
client           1824 drivers/rtc/rtc-ds1307.c 			client->irq = 0;
client           1829 drivers/rtc/rtc-ds1307.c 			dev_dbg(ds1307->dev, "got IRQ %d\n", client->irq);
client             71 drivers/rtc/rtc-ds1374.c 	struct i2c_client *client;
client             85 drivers/rtc/rtc-ds1374.c static int ds1374_read_rtc(struct i2c_client *client, u32 *time,
client             95 drivers/rtc/rtc-ds1374.c 	ret = i2c_smbus_read_i2c_block_data(client, reg, nbytes, buf);
client            108 drivers/rtc/rtc-ds1374.c static int ds1374_write_rtc(struct i2c_client *client, u32 time,
client            124 drivers/rtc/rtc-ds1374.c 	return i2c_smbus_write_i2c_block_data(client, reg, nbytes, buf);
client            127 drivers/rtc/rtc-ds1374.c static int ds1374_check_rtc_status(struct i2c_client *client)
client            132 drivers/rtc/rtc-ds1374.c 	stat = i2c_smbus_read_byte_data(client, DS1374_REG_SR);
client            137 drivers/rtc/rtc-ds1374.c 		dev_warn(&client->dev,
client            142 drivers/rtc/rtc-ds1374.c 	ret = i2c_smbus_write_byte_data(client, DS1374_REG_SR, stat);
client            151 drivers/rtc/rtc-ds1374.c 	control = i2c_smbus_read_byte_data(client, DS1374_REG_CR);
client            156 drivers/rtc/rtc-ds1374.c 	return i2c_smbus_write_byte_data(client, DS1374_REG_CR, control);
client            161 drivers/rtc/rtc-ds1374.c 	struct i2c_client *client = to_i2c_client(dev);
client            165 drivers/rtc/rtc-ds1374.c 	ret = ds1374_read_rtc(client, &itime, DS1374_REG_TOD0, 4);
client            174 drivers/rtc/rtc-ds1374.c 	struct i2c_client *client = to_i2c_client(dev);
client            178 drivers/rtc/rtc-ds1374.c 	return ds1374_write_rtc(client, itime, DS1374_REG_TOD0, 4);
client            188 drivers/rtc/rtc-ds1374.c 	struct i2c_client *client = to_i2c_client(dev);
client            189 drivers/rtc/rtc-ds1374.c 	struct ds1374 *ds1374 = i2c_get_clientdata(client);
client            194 drivers/rtc/rtc-ds1374.c 	if (client->irq <= 0)
client            199 drivers/rtc/rtc-ds1374.c 	cr = ret = i2c_smbus_read_byte_data(client, DS1374_REG_CR);
client            203 drivers/rtc/rtc-ds1374.c 	sr = ret = i2c_smbus_read_byte_data(client, DS1374_REG_SR);
client            207 drivers/rtc/rtc-ds1374.c 	ret = ds1374_read_rtc(client, &now, DS1374_REG_TOD0, 4);
client            211 drivers/rtc/rtc-ds1374.c 	ret = ds1374_read_rtc(client, &cur_alarm, DS1374_REG_WDALM0, 3);
client            226 drivers/rtc/rtc-ds1374.c 	struct i2c_client *client = to_i2c_client(dev);
client            227 drivers/rtc/rtc-ds1374.c 	struct ds1374 *ds1374 = i2c_get_clientdata(client);
client            233 drivers/rtc/rtc-ds1374.c 	if (client->irq <= 0)
client            256 drivers/rtc/rtc-ds1374.c 	ret = cr = i2c_smbus_read_byte_data(client, DS1374_REG_CR);
client            264 drivers/rtc/rtc-ds1374.c 	ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, cr);
client            268 drivers/rtc/rtc-ds1374.c 	ret = ds1374_write_rtc(client, new_alarm, DS1374_REG_WDALM0, 3);
client            276 drivers/rtc/rtc-ds1374.c 		ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, cr);
client            287 drivers/rtc/rtc-ds1374.c 	struct i2c_client *client = dev_id;
client            288 drivers/rtc/rtc-ds1374.c 	struct ds1374 *ds1374 = i2c_get_clientdata(client);
client            298 drivers/rtc/rtc-ds1374.c 	struct i2c_client *client = ds1374->client;
client            303 drivers/rtc/rtc-ds1374.c 	stat = i2c_smbus_read_byte_data(client, DS1374_REG_SR);
client            309 drivers/rtc/rtc-ds1374.c 		i2c_smbus_write_byte_data(client, DS1374_REG_SR, stat);
client            311 drivers/rtc/rtc-ds1374.c 		control = i2c_smbus_read_byte_data(client, DS1374_REG_CR);
client            316 drivers/rtc/rtc-ds1374.c 		i2c_smbus_write_byte_data(client, DS1374_REG_CR, control);
client            323 drivers/rtc/rtc-ds1374.c 		enable_irq(client->irq);
client            331 drivers/rtc/rtc-ds1374.c 	struct i2c_client *client = to_i2c_client(dev);
client            332 drivers/rtc/rtc-ds1374.c 	struct ds1374 *ds1374 = i2c_get_clientdata(client);
client            337 drivers/rtc/rtc-ds1374.c 	ret = i2c_smbus_read_byte_data(client, DS1374_REG_CR);
client            347 drivers/rtc/rtc-ds1374.c 	ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, ret);
client            613 drivers/rtc/rtc-ds1374.c static int ds1374_probe(struct i2c_client *client,
client            619 drivers/rtc/rtc-ds1374.c 	ds1374 = devm_kzalloc(&client->dev, sizeof(struct ds1374), GFP_KERNEL);
client            623 drivers/rtc/rtc-ds1374.c 	ds1374->client = client;
client            624 drivers/rtc/rtc-ds1374.c 	i2c_set_clientdata(client, ds1374);
client            629 drivers/rtc/rtc-ds1374.c 	ret = ds1374_check_rtc_status(client);
client            633 drivers/rtc/rtc-ds1374.c 	if (client->irq > 0) {
client            634 drivers/rtc/rtc-ds1374.c 		ret = devm_request_irq(&client->dev, client->irq, ds1374_irq, 0,
client            635 drivers/rtc/rtc-ds1374.c 					"ds1374", client);
client            637 drivers/rtc/rtc-ds1374.c 			dev_err(&client->dev, "unable to request IRQ\n");
client            641 drivers/rtc/rtc-ds1374.c 		device_set_wakeup_capable(&client->dev, 1);
client            644 drivers/rtc/rtc-ds1374.c 	ds1374->rtc = devm_rtc_device_register(&client->dev, client->name,
client            647 drivers/rtc/rtc-ds1374.c 		dev_err(&client->dev, "unable to register the class device\n");
client            652 drivers/rtc/rtc-ds1374.c 	save_client = client;
client            667 drivers/rtc/rtc-ds1374.c static int ds1374_remove(struct i2c_client *client)
client            669 drivers/rtc/rtc-ds1374.c 	struct ds1374 *ds1374 = i2c_get_clientdata(client);
client            676 drivers/rtc/rtc-ds1374.c 	if (client->irq > 0) {
client            681 drivers/rtc/rtc-ds1374.c 		devm_free_irq(&client->dev, client->irq, client);
client            691 drivers/rtc/rtc-ds1374.c 	struct i2c_client *client = to_i2c_client(dev);
client            693 drivers/rtc/rtc-ds1374.c 	if (client->irq > 0 && device_may_wakeup(&client->dev))
client            694 drivers/rtc/rtc-ds1374.c 		enable_irq_wake(client->irq);
client            700 drivers/rtc/rtc-ds1374.c 	struct i2c_client *client = to_i2c_client(dev);
client            702 drivers/rtc/rtc-ds1374.c 	if (client->irq > 0 && device_may_wakeup(&client->dev))
client            703 drivers/rtc/rtc-ds1374.c 		disable_irq_wake(client->irq);
client             28 drivers/rtc/rtc-ds1672.c 	struct i2c_client *client = to_i2c_client(dev);
client             35 drivers/rtc/rtc-ds1672.c 			.addr = client->addr,
client             40 drivers/rtc/rtc-ds1672.c 			.addr = client->addr,
client             48 drivers/rtc/rtc-ds1672.c 	if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) {
client             49 drivers/rtc/rtc-ds1672.c 		dev_warn(&client->dev, "Unable to read the control register\n");
client             54 drivers/rtc/rtc-ds1672.c 		dev_warn(&client->dev, "Oscillator not enabled. Set time to enable.\n");
client             62 drivers/rtc/rtc-ds1672.c 	if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) {
client             63 drivers/rtc/rtc-ds1672.c 		dev_err(&client->dev, "%s: read error\n", __func__);
client             67 drivers/rtc/rtc-ds1672.c 	dev_dbg(&client->dev,
client             76 drivers/rtc/rtc-ds1672.c 	dev_dbg(&client->dev, "%s: tm is %ptR\n", __func__, tm);
client             83 drivers/rtc/rtc-ds1672.c 	struct i2c_client *client = to_i2c_client(dev);
client             95 drivers/rtc/rtc-ds1672.c 	xfer = i2c_master_send(client, buf, 6);
client             97 drivers/rtc/rtc-ds1672.c 		dev_err(&client->dev, "%s: send: %d\n", __func__, xfer);
client            109 drivers/rtc/rtc-ds1672.c static int ds1672_probe(struct i2c_client *client,
client            115 drivers/rtc/rtc-ds1672.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            117 drivers/rtc/rtc-ds1672.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            120 drivers/rtc/rtc-ds1672.c 	rtc = devm_rtc_allocate_device(&client->dev);
client            131 drivers/rtc/rtc-ds1672.c 	i2c_set_clientdata(client, rtc);
client            570 drivers/rtc/rtc-ds3232.c static int ds3232_i2c_probe(struct i2c_client *client,
client            580 drivers/rtc/rtc-ds3232.c 	regmap = devm_regmap_init_i2c(client, &config);
client            582 drivers/rtc/rtc-ds3232.c 		dev_err(&client->dev, "%s: regmap allocation failed: %ld\n",
client            587 drivers/rtc/rtc-ds3232.c 	return ds3232_probe(&client->dev, regmap, client->irq, client->name);
client             44 drivers/rtc/rtc-em3027.c 	struct i2c_client *client = to_i2c_client(dev);
client             51 drivers/rtc/rtc-em3027.c 			.addr = client->addr,
client             56 drivers/rtc/rtc-em3027.c 			.addr = client->addr,
client             64 drivers/rtc/rtc-em3027.c 	if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) {
client             65 drivers/rtc/rtc-em3027.c 		dev_err(&client->dev, "%s: read error\n", __func__);
client             82 drivers/rtc/rtc-em3027.c 	struct i2c_client *client = to_i2c_client(dev);
client             86 drivers/rtc/rtc-em3027.c 		.addr = client->addr,
client            101 drivers/rtc/rtc-em3027.c 	if ((i2c_transfer(client->adapter, &msg, 1)) != 1) {
client            102 drivers/rtc/rtc-em3027.c 		dev_err(&client->dev, "%s: write error\n", __func__);
client            114 drivers/rtc/rtc-em3027.c static int em3027_probe(struct i2c_client *client,
client            119 drivers/rtc/rtc-em3027.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            122 drivers/rtc/rtc-em3027.c 	rtc = devm_rtc_device_register(&client->dev, em3027_driver.driver.name,
client            127 drivers/rtc/rtc-em3027.c 	i2c_set_clientdata(client, rtc);
client             50 drivers/rtc/rtc-fm3130.c 	struct i2c_client	*client;
client             70 drivers/rtc/rtc-fm3130.c 		i2c_smbus_read_byte_data(fm3130->client, FM3130_RTC_CONTROL);
client             88 drivers/rtc/rtc-fm3130.c 	i2c_smbus_write_byte_data(fm3130->client,
client            107 drivers/rtc/rtc-fm3130.c 	tmp = i2c_transfer(fm3130->client->adapter, fm3130->msg, 2);
client            169 drivers/rtc/rtc-fm3130.c 		i2c_smbus_write_byte_data(fm3130->client,
client            199 drivers/rtc/rtc-fm3130.c 	tmp = i2c_transfer(fm3130->client->adapter, &fm3130->msg[2], 2);
client            228 drivers/rtc/rtc-fm3130.c 		i2c_smbus_read_byte_data(fm3130->client, FM3130_RTC_CONTROL);
client            274 drivers/rtc/rtc-fm3130.c 		i2c_smbus_write_byte_data(fm3130->client,
client            279 drivers/rtc/rtc-fm3130.c 		i2c_smbus_read_byte_data(fm3130->client, FM3130_RTC_CONTROL);
client            283 drivers/rtc/rtc-fm3130.c 		i2c_smbus_write_byte_data(fm3130->client, FM3130_RTC_CONTROL,
client            288 drivers/rtc/rtc-fm3130.c 		i2c_smbus_write_byte_data(fm3130->client, FM3130_RTC_CONTROL,
client            307 drivers/rtc/rtc-fm3130.c 		i2c_smbus_read_byte_data(fm3130->client, FM3130_RTC_CONTROL);
client            314 drivers/rtc/rtc-fm3130.c 		ret = i2c_smbus_write_byte_data(fm3130->client,
client            320 drivers/rtc/rtc-fm3130.c 		ret = i2c_smbus_write_byte_data(fm3130->client,
client            343 drivers/rtc/rtc-fm3130.c static int fm3130_probe(struct i2c_client *client,
client            349 drivers/rtc/rtc-fm3130.c 	struct i2c_adapter	*adapter = client->adapter;
client            355 drivers/rtc/rtc-fm3130.c 	fm3130 = devm_kzalloc(&client->dev, sizeof(struct fm3130), GFP_KERNEL);
client            360 drivers/rtc/rtc-fm3130.c 	fm3130->client = client;
client            361 drivers/rtc/rtc-fm3130.c 	i2c_set_clientdata(client, fm3130);
client            366 drivers/rtc/rtc-fm3130.c 	fm3130->msg[0].addr = client->addr;
client            371 drivers/rtc/rtc-fm3130.c 	fm3130->msg[1].addr = client->addr;
client            377 drivers/rtc/rtc-fm3130.c 	fm3130->msg[2].addr = client->addr;
client            382 drivers/rtc/rtc-fm3130.c 	fm3130->msg[3].addr = client->addr;
client            392 drivers/rtc/rtc-fm3130.c 		dev_dbg(&client->dev, "read error %d\n", tmp);
client            398 drivers/rtc/rtc-fm3130.c 		i2c_smbus_read_byte_data(client, FM3130_RTC_CONTROL);
client            400 drivers/rtc/rtc-fm3130.c 		i2c_smbus_read_byte_data(client, FM3130_CAL_CONTROL);
client            404 drivers/rtc/rtc-fm3130.c 		i2c_smbus_write_byte_data(client, FM3130_RTC_CONTROL,
client            407 drivers/rtc/rtc-fm3130.c 		dev_warn(&client->dev, "Disabling calibration mode!\n");
client            413 drivers/rtc/rtc-fm3130.c 		i2c_smbus_write_byte_data(client, FM3130_RTC_CONTROL,
client            417 drivers/rtc/rtc-fm3130.c 		dev_warn(&client->dev, "Disabling READ or WRITE mode!\n");
client            422 drivers/rtc/rtc-fm3130.c 		i2c_smbus_write_byte_data(client, FM3130_CAL_CONTROL,
client            428 drivers/rtc/rtc-fm3130.c 		i2c_smbus_write_byte_data(client, FM3130_RTC_CONTROL,
client            431 drivers/rtc/rtc-fm3130.c 		dev_warn(&client->dev, "Low battery!\n");
client            436 drivers/rtc/rtc-fm3130.c 		i2c_smbus_write_byte_data(client, FM3130_RTC_CONTROL,
client            439 drivers/rtc/rtc-fm3130.c 		dev_dbg(&client->dev, "POR bit is set\n");
client            442 drivers/rtc/rtc-fm3130.c 	i2c_smbus_write_byte_data(client, FM3130_ALARM_WP_CONTROL, 0x80);
client            499 drivers/rtc/rtc-fm3130.c 		dev_dbg(&client->dev, "%s: %15ph\n", "bogus registers",
client            504 drivers/rtc/rtc-fm3130.c 	fm3130->rtc = devm_rtc_device_register(&client->dev, client->name,
client            508 drivers/rtc/rtc-fm3130.c 		dev_err(&client->dev,
client             79 drivers/rtc/rtc-hym8563.c 	struct i2c_client	*client;
client             93 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = to_i2c_client(dev);
client             94 drivers/rtc/rtc-hym8563.c 	struct hym8563 *hym8563 = i2c_get_clientdata(client);
client             99 drivers/rtc/rtc-hym8563.c 		dev_warn(&client->dev, "no valid clock/calendar values available\n");
client            103 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_read_i2c_block_data(client, HYM8563_SEC, 7, buf);
client            120 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = to_i2c_client(dev);
client            121 drivers/rtc/rtc-hym8563.c 	struct hym8563 *hym8563 = i2c_get_clientdata(client);
client            147 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_write_byte_data(client, HYM8563_CTL1,
client            152 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_write_i2c_block_data(client, HYM8563_SEC, 7, buf);
client            156 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_write_byte_data(client, HYM8563_CTL1, 0);
client            168 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = to_i2c_client(dev);
client            171 drivers/rtc/rtc-hym8563.c 	data = i2c_smbus_read_byte_data(client, HYM8563_CTL2);
client            180 drivers/rtc/rtc-hym8563.c 	return i2c_smbus_write_byte_data(client, HYM8563_CTL2, data);
client            185 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = to_i2c_client(dev);
client            190 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_read_i2c_block_data(client, HYM8563_ALM_MIN, 4, buf);
client            210 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_read_byte_data(client, HYM8563_CTL2);
client            222 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = to_i2c_client(dev);
client            245 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_read_byte_data(client, HYM8563_CTL2);
client            251 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_write_byte_data(client, HYM8563_CTL2, ret);
client            267 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_write_i2c_block_data(client, HYM8563_ALM_MIN, 4, buf);
client            300 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = hym8563->client;
client            301 drivers/rtc/rtc-hym8563.c 	int ret = i2c_smbus_read_byte_data(client, HYM8563_CLKOUT);
client            326 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = hym8563->client;
client            327 drivers/rtc/rtc-hym8563.c 	int ret = i2c_smbus_read_byte_data(client, HYM8563_CLKOUT);
client            337 drivers/rtc/rtc-hym8563.c 			return i2c_smbus_write_byte_data(client,
client            347 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = hym8563->client;
client            348 drivers/rtc/rtc-hym8563.c 	int ret = i2c_smbus_read_byte_data(client, HYM8563_CLKOUT);
client            358 drivers/rtc/rtc-hym8563.c 	return i2c_smbus_write_byte_data(client, HYM8563_CLKOUT, ret);
client            374 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = hym8563->client;
client            375 drivers/rtc/rtc-hym8563.c 	int ret = i2c_smbus_read_byte_data(client, HYM8563_CLKOUT);
client            394 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = hym8563->client;
client            395 drivers/rtc/rtc-hym8563.c 	struct device_node *node = client->dev.of_node;
client            400 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_write_byte_data(client, HYM8563_CLKOUT,
client            416 drivers/rtc/rtc-hym8563.c 	clk = clk_register(&client->dev, &hym8563->clkout_hw);
client            434 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = hym8563->client;
client            442 drivers/rtc/rtc-hym8563.c 	data = i2c_smbus_read_byte_data(client, HYM8563_CTL2);
client            444 drivers/rtc/rtc-hym8563.c 		dev_err(&client->dev, "%s: error reading i2c data %d\n",
client            451 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_write_byte_data(client, HYM8563_CTL2, data);
client            453 drivers/rtc/rtc-hym8563.c 		dev_err(&client->dev, "%s: error writing i2c data %d\n",
client            462 drivers/rtc/rtc-hym8563.c static int hym8563_init_device(struct i2c_client *client)
client            467 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_write_byte_data(client, HYM8563_CTL1, 0);
client            471 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_read_byte_data(client, HYM8563_CTL2);
client            488 drivers/rtc/rtc-hym8563.c 	return i2c_smbus_write_byte_data(client, HYM8563_CTL2, ret);
client            494 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = to_i2c_client(dev);
client            498 drivers/rtc/rtc-hym8563.c 		ret = enable_irq_wake(client->irq);
client            510 drivers/rtc/rtc-hym8563.c 	struct i2c_client *client = to_i2c_client(dev);
client            513 drivers/rtc/rtc-hym8563.c 		disable_irq_wake(client->irq);
client            521 drivers/rtc/rtc-hym8563.c static int hym8563_probe(struct i2c_client *client,
client            527 drivers/rtc/rtc-hym8563.c 	hym8563 = devm_kzalloc(&client->dev, sizeof(*hym8563), GFP_KERNEL);
client            531 drivers/rtc/rtc-hym8563.c 	hym8563->client = client;
client            532 drivers/rtc/rtc-hym8563.c 	i2c_set_clientdata(client, hym8563);
client            534 drivers/rtc/rtc-hym8563.c 	device_set_wakeup_capable(&client->dev, true);
client            536 drivers/rtc/rtc-hym8563.c 	ret = hym8563_init_device(client);
client            538 drivers/rtc/rtc-hym8563.c 		dev_err(&client->dev, "could not init device, %d\n", ret);
client            542 drivers/rtc/rtc-hym8563.c 	if (client->irq > 0) {
client            543 drivers/rtc/rtc-hym8563.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            546 drivers/rtc/rtc-hym8563.c 						client->name, hym8563);
client            548 drivers/rtc/rtc-hym8563.c 			dev_err(&client->dev, "irq %d request failed, %d\n",
client            549 drivers/rtc/rtc-hym8563.c 				client->irq, ret);
client            555 drivers/rtc/rtc-hym8563.c 	ret = i2c_smbus_read_byte_data(client, HYM8563_SEC);
client            560 drivers/rtc/rtc-hym8563.c 	dev_dbg(&client->dev, "rtc information is %s\n",
client            563 drivers/rtc/rtc-hym8563.c 	hym8563->rtc = devm_rtc_device_register(&client->dev, client->name,
client             50 drivers/rtc/rtc-isl12022.c static int isl12022_read_regs(struct i2c_client *client, uint8_t reg,
client             55 drivers/rtc/rtc-isl12022.c 			.addr	= client->addr,
client             61 drivers/rtc/rtc-isl12022.c 			.addr	= client->addr,
client             71 drivers/rtc/rtc-isl12022.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client             73 drivers/rtc/rtc-isl12022.c 		dev_err(&client->dev, "%s: read error, ret=%d\n",
client             82 drivers/rtc/rtc-isl12022.c static int isl12022_write_reg(struct i2c_client *client,
client             88 drivers/rtc/rtc-isl12022.c 	err = i2c_master_send(client, data, sizeof(data));
client             90 drivers/rtc/rtc-isl12022.c 		dev_err(&client->dev,
client            106 drivers/rtc/rtc-isl12022.c 	struct i2c_client *client = to_i2c_client(dev);
client            110 drivers/rtc/rtc-isl12022.c 	ret = isl12022_read_regs(client, ISL12022_REG_SC, buf, sizeof(buf));
client            115 drivers/rtc/rtc-isl12022.c 		dev_warn(&client->dev,
client            121 drivers/rtc/rtc-isl12022.c 	dev_dbg(&client->dev,
client            144 drivers/rtc/rtc-isl12022.c 	dev_dbg(&client->dev, "%s: secs=%d, mins=%d, hours=%d, "
client            155 drivers/rtc/rtc-isl12022.c 	struct i2c_client *client = to_i2c_client(dev);
client            156 drivers/rtc/rtc-isl12022.c 	struct isl12022 *isl12022 = i2c_get_clientdata(client);
client            161 drivers/rtc/rtc-isl12022.c 	dev_dbg(&client->dev, "%s: secs=%d, mins=%d, hours=%d, "
client            169 drivers/rtc/rtc-isl12022.c 		ret = isl12022_read_regs(client, ISL12022_REG_INT, buf, 1);
client            176 drivers/rtc/rtc-isl12022.c 			dev_info(&client->dev,
client            180 drivers/rtc/rtc-isl12022.c 			ret = isl12022_write_reg(client,
client            189 drivers/rtc/rtc-isl12022.c 			ret = isl12022_read_regs(client, ISL12022_REG_HR,
client            194 drivers/rtc/rtc-isl12022.c 			ret = isl12022_write_reg(client,
client            221 drivers/rtc/rtc-isl12022.c 		ret = isl12022_write_reg(client, ISL12022_REG_SC + i,
client            235 drivers/rtc/rtc-isl12022.c static int isl12022_probe(struct i2c_client *client,
client            240 drivers/rtc/rtc-isl12022.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            243 drivers/rtc/rtc-isl12022.c 	isl12022 = devm_kzalloc(&client->dev, sizeof(struct isl12022),
client            248 drivers/rtc/rtc-isl12022.c 	i2c_set_clientdata(client, isl12022);
client            250 drivers/rtc/rtc-isl12022.c 	isl12022->rtc = devm_rtc_device_register(&client->dev,
client             43 drivers/rtc/rtc-isl12026.c static int isl12026_read_reg(struct i2c_client *client, int reg)
client             51 drivers/rtc/rtc-isl12026.c 			.addr	= client->addr,
client             56 drivers/rtc/rtc-isl12026.c 			.addr	= client->addr,
client             63 drivers/rtc/rtc-isl12026.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client             65 drivers/rtc/rtc-isl12026.c 		dev_err(&client->dev, "read reg error, ret=%d\n", ret);
client             74 drivers/rtc/rtc-isl12026.c static int isl12026_arm_write(struct i2c_client *client)
client             79 drivers/rtc/rtc-isl12026.c 		.addr	= client->addr,
client             90 drivers/rtc/rtc-isl12026.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client             92 drivers/rtc/rtc-isl12026.c 		dev_err(&client->dev, "write error SR.WEL, ret=%d\n", ret);
client            100 drivers/rtc/rtc-isl12026.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            102 drivers/rtc/rtc-isl12026.c 		dev_err(&client->dev,
client            113 drivers/rtc/rtc-isl12026.c static int isl12026_disarm_write(struct i2c_client *client)
client            118 drivers/rtc/rtc-isl12026.c 		.addr	= client->addr,
client            124 drivers/rtc/rtc-isl12026.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            126 drivers/rtc/rtc-isl12026.c 		dev_err(&client->dev,
client            136 drivers/rtc/rtc-isl12026.c static int isl12026_write_reg(struct i2c_client *client, int reg, u8 val)
client            141 drivers/rtc/rtc-isl12026.c 		.addr	= client->addr,
client            147 drivers/rtc/rtc-isl12026.c 	ret = isl12026_arm_write(client);
client            151 drivers/rtc/rtc-isl12026.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            153 drivers/rtc/rtc-isl12026.c 		dev_err(&client->dev, "write error CCR, ret=%d\n", ret);
client            160 drivers/rtc/rtc-isl12026.c 	ret = isl12026_disarm_write(client);
client            167 drivers/rtc/rtc-isl12026.c 	struct i2c_client *client = to_i2c_client(dev);
client            171 drivers/rtc/rtc-isl12026.c 		.addr	= client->addr,
client            177 drivers/rtc/rtc-isl12026.c 	ret = isl12026_arm_write(client);
client            192 drivers/rtc/rtc-isl12026.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            194 drivers/rtc/rtc-isl12026.c 		dev_err(&client->dev, "write error CCR, ret=%d\n", ret);
client            199 drivers/rtc/rtc-isl12026.c 	ret = isl12026_disarm_write(client);
client            206 drivers/rtc/rtc-isl12026.c 	struct i2c_client *client = to_i2c_client(dev);
client            213 drivers/rtc/rtc-isl12026.c 			.addr	= client->addr,
client            218 drivers/rtc/rtc-isl12026.c 			.addr	= client->addr,
client            229 drivers/rtc/rtc-isl12026.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            231 drivers/rtc/rtc-isl12026.c 		dev_err(&client->dev, "read error, ret=%d\n", ret);
client            237 drivers/rtc/rtc-isl12026.c 		dev_warn(&client->dev, "Real-Time Clock Failure on read\n");
client            239 drivers/rtc/rtc-isl12026.c 		dev_warn(&client->dev, "Oscillator Failure on read\n");
client            247 drivers/rtc/rtc-isl12026.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            249 drivers/rtc/rtc-isl12026.c 		dev_err(&client->dev, "read error, ret=%d\n", ret);
client            379 drivers/rtc/rtc-isl12026.c static void isl12026_force_power_modes(struct i2c_client *client)
client            391 drivers/rtc/rtc-isl12026.c 	ret = of_property_read_u32(client->dev.of_node,
client            395 drivers/rtc/rtc-isl12026.c 	ret = of_property_read_u32(client->dev.of_node,
client            403 drivers/rtc/rtc-isl12026.c 	pwr = isl12026_read_reg(client, ISL12026_REG_PWR);
client            405 drivers/rtc/rtc-isl12026.c 		dev_warn(&client->dev, "Error: Failed to read PWR %d\n", pwr);
client            426 drivers/rtc/rtc-isl12026.c 		dev_dbg(&client->dev, "PWR: %02x\n", pwr);
client            427 drivers/rtc/rtc-isl12026.c 		dev_dbg(&client->dev, "Updating PWR to: %02x\n", requested_pwr);
client            428 drivers/rtc/rtc-isl12026.c 		isl12026_write_reg(client, ISL12026_REG_PWR, requested_pwr);
client            432 drivers/rtc/rtc-isl12026.c static int isl12026_probe_new(struct i2c_client *client)
client            438 drivers/rtc/rtc-isl12026.c 		.base_dev = &client->dev,
client            446 drivers/rtc/rtc-isl12026.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            449 drivers/rtc/rtc-isl12026.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client            453 drivers/rtc/rtc-isl12026.c 	i2c_set_clientdata(client, priv);
client            455 drivers/rtc/rtc-isl12026.c 	isl12026_force_power_modes(client);
client            457 drivers/rtc/rtc-isl12026.c 	priv->nvm_client = i2c_new_dummy_device(client->adapter, ISL12026_EEPROM_ADDR);
client            461 drivers/rtc/rtc-isl12026.c 	priv->rtc = devm_rtc_allocate_device(&client->dev);
client            475 drivers/rtc/rtc-isl12026.c static int isl12026_remove(struct i2c_client *client)
client            477 drivers/rtc/rtc-isl12026.c 	struct isl12026 *priv = i2c_get_clientdata(client);
client            120 drivers/rtc/rtc-isl1208.c isl1208_i2c_read_regs(struct i2c_client *client, u8 reg, u8 buf[],
client            128 drivers/rtc/rtc-isl1208.c 	ret = i2c_smbus_read_i2c_block_data(client, reg, len, buf);
client            134 drivers/rtc/rtc-isl1208.c isl1208_i2c_set_regs(struct i2c_client *client, u8 reg, u8 const buf[],
client            142 drivers/rtc/rtc-isl1208.c 	ret = i2c_smbus_write_i2c_block_data(client, reg, len, buf);
client            148 drivers/rtc/rtc-isl1208.c isl1208_i2c_validate_client(struct i2c_client *client)
client            157 drivers/rtc/rtc-isl1208.c 	ret = isl1208_i2c_read_regs(client, 0, regs, ISL1208_RTC_SECTION_LEN);
client            170 drivers/rtc/rtc-isl1208.c isl1208_i2c_get_sr(struct i2c_client *client)
client            172 drivers/rtc/rtc-isl1208.c 	return i2c_smbus_read_byte_data(client, ISL1208_REG_SR);
client            176 drivers/rtc/rtc-isl1208.c isl1208_i2c_get_atr(struct i2c_client *client)
client            178 drivers/rtc/rtc-isl1208.c 	int atr = i2c_smbus_read_byte_data(client, ISL1208_REG_ATR);
client            202 drivers/rtc/rtc-isl1208.c isl1208_i2c_get_dtr(struct i2c_client *client)
client            204 drivers/rtc/rtc-isl1208.c 	int dtr = i2c_smbus_read_byte_data(client, ISL1208_REG_DTR);
client            215 drivers/rtc/rtc-isl1208.c isl1208_i2c_get_usr(struct i2c_client *client)
client            220 drivers/rtc/rtc-isl1208.c 	ret = isl1208_i2c_read_regs(client, ISL1208_REG_USR1, buf,
client            229 drivers/rtc/rtc-isl1208.c isl1208_i2c_set_usr(struct i2c_client *client, u16 usr)
client            236 drivers/rtc/rtc-isl1208.c 	return isl1208_i2c_set_regs(client, ISL1208_REG_USR1, buf,
client            241 drivers/rtc/rtc-isl1208.c isl1208_rtc_toggle_alarm(struct i2c_client *client, int enable)
client            243 drivers/rtc/rtc-isl1208.c 	int icr = i2c_smbus_read_byte_data(client, ISL1208_REG_INT);
client            246 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: reading INT failed\n", __func__);
client            255 drivers/rtc/rtc-isl1208.c 	icr = i2c_smbus_write_byte_data(client, ISL1208_REG_INT, icr);
client            257 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: writing INT failed\n", __func__);
client            267 drivers/rtc/rtc-isl1208.c 	struct i2c_client *const client = to_i2c_client(dev);
client            270 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_get_sr(client);
client            272 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: reading SR failed\n", __func__);
client            287 drivers/rtc/rtc-isl1208.c 	dtr = isl1208_i2c_get_dtr(client);
client            291 drivers/rtc/rtc-isl1208.c 	atr = isl1208_i2c_get_atr(client);
client            296 drivers/rtc/rtc-isl1208.c 	usr = isl1208_i2c_get_usr(client);
client            304 drivers/rtc/rtc-isl1208.c isl1208_i2c_read_time(struct i2c_client *client, struct rtc_time *tm)
client            309 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_get_sr(client);
client            311 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: reading SR failed\n", __func__);
client            315 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_read_regs(client, 0, regs, ISL1208_RTC_SECTION_LEN);
client            317 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: reading RTC section failed\n",
client            347 drivers/rtc/rtc-isl1208.c isl1208_i2c_read_alarm(struct i2c_client *client, struct rtc_wkalrm *alarm)
client            351 drivers/rtc/rtc-isl1208.c 	int icr, yr, sr = isl1208_i2c_get_sr(client);
client            354 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: reading SR failed\n", __func__);
client            358 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_read_regs(client, ISL1208_REG_SCA, regs,
client            361 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: reading alarm section failed\n",
client            376 drivers/rtc/rtc-isl1208.c 	yr = i2c_smbus_read_byte_data(client, ISL1208_REG_YR);
client            378 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: reading RTC YR failed\n", __func__);
client            383 drivers/rtc/rtc-isl1208.c 	icr = i2c_smbus_read_byte_data(client, ISL1208_REG_INT);
client            385 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: reading INT failed\n", __func__);
client            394 drivers/rtc/rtc-isl1208.c isl1208_i2c_set_alarm(struct i2c_client *client, struct rtc_wkalrm *alarm)
client            402 drivers/rtc/rtc-isl1208.c 	err = isl1208_i2c_read_time(client, &rtc_tm);
client            423 drivers/rtc/rtc-isl1208.c 	err = isl1208_i2c_set_regs(client, offs, regs,
client            426 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: writing ALARM section failed\n",
client            431 drivers/rtc/rtc-isl1208.c 	err = isl1208_rtc_toggle_alarm(client, enable);
client            445 drivers/rtc/rtc-isl1208.c isl1208_i2c_set_time(struct i2c_client *client, struct rtc_time const *tm)
client            467 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_get_sr(client);
client            469 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: reading SR failed\n", __func__);
client            474 drivers/rtc/rtc-isl1208.c 	sr = i2c_smbus_write_byte_data(client, ISL1208_REG_SR,
client            477 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: writing SR failed\n", __func__);
client            482 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_set_regs(client, 0, regs, ISL1208_RTC_SECTION_LEN);
client            484 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: writing RTC section failed\n",
client            490 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_get_sr(client);
client            492 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: reading SR failed\n", __func__);
client            495 drivers/rtc/rtc-isl1208.c 	sr = i2c_smbus_write_byte_data(client, ISL1208_REG_SR,
client            498 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "%s: writing SR failed\n", __func__);
client            528 drivers/rtc/rtc-isl1208.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client            531 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_get_sr(client);
client            539 drivers/rtc/rtc-isl1208.c 	sr = i2c_smbus_write_byte_data(client, ISL1208_REG_SR, sr);
client            550 drivers/rtc/rtc-isl1208.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client            555 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_get_sr(client);
client            564 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_read_regs(client, ISL1219_REG_SCT, regs,
client            595 drivers/rtc/rtc-isl1208.c 	struct i2c_client *client = data;
client            596 drivers/rtc/rtc-isl1208.c 	struct isl1208_state *isl1208 = i2c_get_clientdata(client);
client            605 drivers/rtc/rtc-isl1208.c 		sr = isl1208_i2c_get_sr(client);
client            610 drivers/rtc/rtc-isl1208.c 			dev_err(&client->dev, "%s: reading SR failed\n",
client            617 drivers/rtc/rtc-isl1208.c 		dev_dbg(&client->dev, "alarm!\n");
client            623 drivers/rtc/rtc-isl1208.c 		sr = i2c_smbus_write_byte_data(client, ISL1208_REG_SR, sr);
client            625 drivers/rtc/rtc-isl1208.c 			dev_err(&client->dev, "%s: writing SR failed\n",
client            631 drivers/rtc/rtc-isl1208.c 		err = isl1208_rtc_toggle_alarm(client, 0);
client            637 drivers/rtc/rtc-isl1208.c 		dev_warn(&client->dev, "event detected");
client            745 drivers/rtc/rtc-isl1208.c 	struct i2c_client *client = to_i2c_client(isl1208->rtc->dev.parent);
client            751 drivers/rtc/rtc-isl1208.c 	ret = isl1208_i2c_read_regs(client, ISL1208_REG_USR1 + off, buf,
client            760 drivers/rtc/rtc-isl1208.c 	struct i2c_client *client = to_i2c_client(isl1208->rtc->dev.parent);
client            766 drivers/rtc/rtc-isl1208.c 	ret = isl1208_i2c_set_regs(client, ISL1208_REG_USR1 + off, buf,
client            781 drivers/rtc/rtc-isl1208.c static int isl1208_setup_irq(struct i2c_client *client, int irq)
client            783 drivers/rtc/rtc-isl1208.c 	int rc = devm_request_threaded_irq(&client->dev, irq, NULL,
client            787 drivers/rtc/rtc-isl1208.c 					client);
client            789 drivers/rtc/rtc-isl1208.c 		device_init_wakeup(&client->dev, 1);
client            792 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev,
client            800 drivers/rtc/rtc-isl1208.c isl1208_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            806 drivers/rtc/rtc-isl1208.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            809 drivers/rtc/rtc-isl1208.c 	if (isl1208_i2c_validate_client(client) < 0)
client            813 drivers/rtc/rtc-isl1208.c 	isl1208 = devm_kzalloc(&client->dev, sizeof(*isl1208), GFP_KERNEL);
client            816 drivers/rtc/rtc-isl1208.c 	i2c_set_clientdata(client, isl1208);
client            819 drivers/rtc/rtc-isl1208.c 	if (client->dev.of_node) {
client            820 drivers/rtc/rtc-isl1208.c 		isl1208->config = of_device_get_match_data(&client->dev);
client            829 drivers/rtc/rtc-isl1208.c 	isl1208->rtc = devm_rtc_allocate_device(&client->dev);
client            840 drivers/rtc/rtc-isl1208.c 	rc = isl1208_i2c_get_sr(client);
client            842 drivers/rtc/rtc-isl1208.c 		dev_err(&client->dev, "reading status failed\n");
client            847 drivers/rtc/rtc-isl1208.c 		dev_warn(&client->dev, "rtc power failure detected, "
client            851 drivers/rtc/rtc-isl1208.c 		struct device_node *np = client->dev.of_node;
client            854 drivers/rtc/rtc-isl1208.c 		rc = i2c_smbus_read_byte_data(client, ISL1219_REG_EV);
client            856 drivers/rtc/rtc-isl1208.c 			dev_err(&client->dev, "failed to read EV reg\n");
client            866 drivers/rtc/rtc-isl1208.c 		rc = i2c_smbus_write_byte_data(client, ISL1219_REG_EV, rc);
client            868 drivers/rtc/rtc-isl1208.c 			dev_err(&client->dev, "could not enable tamper detection\n");
client            883 drivers/rtc/rtc-isl1208.c 	if (client->irq > 0)
client            884 drivers/rtc/rtc-isl1208.c 		rc = isl1208_setup_irq(client, client->irq);
client            888 drivers/rtc/rtc-isl1208.c 	if (evdet_irq > 0 && evdet_irq != client->irq)
client            889 drivers/rtc/rtc-isl1208.c 		rc = isl1208_setup_irq(client, evdet_irq);
client            148 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client;
client            159 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client = dev_id;
client            160 drivers/rtc/rtc-m41t80.c 	struct m41t80_data *m41t80 = i2c_get_clientdata(client);
client            167 drivers/rtc/rtc-m41t80.c 	flags_afe = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON);
client            173 drivers/rtc/rtc-m41t80.c 	flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS);
client            187 drivers/rtc/rtc-m41t80.c 		i2c_smbus_write_byte_data(client, M41T80_REG_FLAGS, flags);
client            188 drivers/rtc/rtc-m41t80.c 		i2c_smbus_write_byte_data(client, M41T80_REG_ALARM_MON,
client            199 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client = to_i2c_client(dev);
client            203 drivers/rtc/rtc-m41t80.c 	flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS);
client            208 drivers/rtc/rtc-m41t80.c 		dev_err(&client->dev, "Oscillator failure, data is invalid.\n");
client            212 drivers/rtc/rtc-m41t80.c 	err = i2c_smbus_read_i2c_block_data(client, M41T80_REG_SSEC,
client            215 drivers/rtc/rtc-m41t80.c 		dev_err(&client->dev, "Unable to read date\n");
client            233 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client = to_i2c_client(dev);
client            234 drivers/rtc/rtc-m41t80.c 	struct m41t80_data *clientdata = i2c_get_clientdata(client);
client            254 drivers/rtc/rtc-m41t80.c 		val = i2c_smbus_read_byte_data(client, M41T80_REG_WDAY);
client            261 drivers/rtc/rtc-m41t80.c 	err = i2c_smbus_write_i2c_block_data(client, M41T80_REG_SSEC,
client            264 drivers/rtc/rtc-m41t80.c 		dev_err(&client->dev, "Unable to write to date registers\n");
client            269 drivers/rtc/rtc-m41t80.c 	flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS);
client            273 drivers/rtc/rtc-m41t80.c 	err = i2c_smbus_write_byte_data(client, M41T80_REG_FLAGS,
client            276 drivers/rtc/rtc-m41t80.c 		dev_err(&client->dev, "Unable to write flags register\n");
client            285 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client = to_i2c_client(dev);
client            286 drivers/rtc/rtc-m41t80.c 	struct m41t80_data *clientdata = i2c_get_clientdata(client);
client            290 drivers/rtc/rtc-m41t80.c 		reg = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS);
client            301 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client = to_i2c_client(dev);
client            304 drivers/rtc/rtc-m41t80.c 	flags = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON);
client            313 drivers/rtc/rtc-m41t80.c 	retval = i2c_smbus_write_byte_data(client, M41T80_REG_ALARM_MON, flags);
client            323 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client = to_i2c_client(dev);
client            334 drivers/rtc/rtc-m41t80.c 	ret = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON);
client            337 drivers/rtc/rtc-m41t80.c 	err = i2c_smbus_write_byte_data(client, M41T80_REG_ALARM_MON,
client            347 drivers/rtc/rtc-m41t80.c 	ret = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS);
client            351 drivers/rtc/rtc-m41t80.c 	err = i2c_smbus_write_byte_data(client, M41T80_REG_FLAGS,
client            359 drivers/rtc/rtc-m41t80.c 	err = i2c_smbus_write_i2c_block_data(client, M41T80_REG_ALARM_MON,
client            367 drivers/rtc/rtc-m41t80.c 		err = i2c_smbus_write_byte_data(client, M41T80_REG_ALARM_MON,
client            378 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client = to_i2c_client(dev);
client            382 drivers/rtc/rtc-m41t80.c 	ret = i2c_smbus_read_i2c_block_data(client, M41T80_REG_ALARM_MON,
client            387 drivers/rtc/rtc-m41t80.c 	flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS);
client            412 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client = to_i2c_client(dev);
client            414 drivers/rtc/rtc-m41t80.c 	if (client->irq >= 0 && device_may_wakeup(dev))
client            415 drivers/rtc/rtc-m41t80.c 		enable_irq_wake(client->irq);
client            422 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client = to_i2c_client(dev);
client            424 drivers/rtc/rtc-m41t80.c 	if (client->irq >= 0 && device_may_wakeup(dev))
client            425 drivers/rtc/rtc-m41t80.c 		disable_irq_wake(client->irq);
client            444 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client = m41t80->client;
client            447 drivers/rtc/rtc-m41t80.c 	int ret = i2c_smbus_read_byte_data(client, reg_sqw);
client            476 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client = m41t80->client;
client            488 drivers/rtc/rtc-m41t80.c 	reg = i2c_smbus_read_byte_data(client, reg_sqw);
client            494 drivers/rtc/rtc-m41t80.c 	ret = i2c_smbus_write_byte_data(client, reg_sqw, reg);
client            503 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client = m41t80->client;
client            504 drivers/rtc/rtc-m41t80.c 	int ret = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON);
client            514 drivers/rtc/rtc-m41t80.c 	ret = i2c_smbus_write_byte_data(client, M41T80_REG_ALARM_MON, ret);
client            546 drivers/rtc/rtc-m41t80.c 	struct i2c_client *client = m41t80->client;
client            547 drivers/rtc/rtc-m41t80.c 	struct device_node *node = client->dev.of_node;
client            553 drivers/rtc/rtc-m41t80.c 	ret = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON);
client            556 drivers/rtc/rtc-m41t80.c 	ret = i2c_smbus_write_byte_data(client, M41T80_REG_ALARM_MON,
client            573 drivers/rtc/rtc-m41t80.c 	clk = clk_register(&client->dev, &m41t80->sqw);
client            872 drivers/rtc/rtc-m41t80.c static int m41t80_probe(struct i2c_client *client,
client            875 drivers/rtc/rtc-m41t80.c 	struct i2c_adapter *adapter = client->adapter;
client            881 drivers/rtc/rtc-m41t80.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_I2C_BLOCK |
client            887 drivers/rtc/rtc-m41t80.c 	m41t80_data = devm_kzalloc(&client->dev, sizeof(*m41t80_data),
client            892 drivers/rtc/rtc-m41t80.c 	m41t80_data->client = client;
client            893 drivers/rtc/rtc-m41t80.c 	if (client->dev.of_node)
client            895 drivers/rtc/rtc-m41t80.c 			of_device_get_match_data(&client->dev);
client            898 drivers/rtc/rtc-m41t80.c 	i2c_set_clientdata(client, m41t80_data);
client            900 drivers/rtc/rtc-m41t80.c 	m41t80_data->rtc =  devm_rtc_allocate_device(&client->dev);
client            905 drivers/rtc/rtc-m41t80.c 	wakeup_source = of_property_read_bool(client->dev.of_node,
client            908 drivers/rtc/rtc-m41t80.c 	if (client->irq > 0) {
client            909 drivers/rtc/rtc-m41t80.c 		rc = devm_request_threaded_irq(&client->dev, client->irq,
client            912 drivers/rtc/rtc-m41t80.c 					       "m41t80", client);
client            914 drivers/rtc/rtc-m41t80.c 			dev_warn(&client->dev, "unable to request IRQ, alarms disabled\n");
client            915 drivers/rtc/rtc-m41t80.c 			client->irq = 0;
client            919 drivers/rtc/rtc-m41t80.c 	if (client->irq > 0 || wakeup_source) {
client            924 drivers/rtc/rtc-m41t80.c 		device_init_wakeup(&client->dev, true);
client            929 drivers/rtc/rtc-m41t80.c 	if (client->irq <= 0) {
client            935 drivers/rtc/rtc-m41t80.c 	rc = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_HOUR);
client            939 drivers/rtc/rtc-m41t80.c 			m41t80_rtc_read_time(&client->dev, &tm);
client            940 drivers/rtc/rtc-m41t80.c 			dev_info(&client->dev, "HT bit was set!\n");
client            941 drivers/rtc/rtc-m41t80.c 			dev_info(&client->dev, "Power Down at %ptR\n", &tm);
client            943 drivers/rtc/rtc-m41t80.c 		rc = i2c_smbus_write_byte_data(client, M41T80_REG_ALARM_HOUR,
client            948 drivers/rtc/rtc-m41t80.c 		dev_err(&client->dev, "Can't clear HT bit\n");
client            953 drivers/rtc/rtc-m41t80.c 	rc = i2c_smbus_read_byte_data(client, M41T80_REG_SEC);
client            956 drivers/rtc/rtc-m41t80.c 		rc = i2c_smbus_write_byte_data(client, M41T80_REG_SEC,
client            959 drivers/rtc/rtc-m41t80.c 		dev_err(&client->dev, "Can't clear ST bit\n");
client            965 drivers/rtc/rtc-m41t80.c 		save_client = client;
client            988 drivers/rtc/rtc-m41t80.c static int m41t80_remove(struct i2c_client *client)
client            991 drivers/rtc/rtc-m41t80.c 	struct m41t80_data *clientdata = i2c_get_clientdata(client);
client             53 drivers/rtc/rtc-max6900.c static int max6900_i2c_read_regs(struct i2c_client *client, u8 *buf)
client             59 drivers/rtc/rtc-max6900.c 		 .addr = client->addr,
client             65 drivers/rtc/rtc-max6900.c 		 .addr = client->addr,
client             71 drivers/rtc/rtc-max6900.c 		 .addr = client->addr,
client             77 drivers/rtc/rtc-max6900.c 		 .addr = client->addr,
client             85 drivers/rtc/rtc-max6900.c 	rc = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client             87 drivers/rtc/rtc-max6900.c 		dev_err(&client->dev, "%s: register read failed\n", __func__);
client             93 drivers/rtc/rtc-max6900.c static int max6900_i2c_write_regs(struct i2c_client *client, u8 const *buf)
client             98 drivers/rtc/rtc-max6900.c 		 .addr = client->addr,
client            106 drivers/rtc/rtc-max6900.c 		 .addr = client->addr,
client            121 drivers/rtc/rtc-max6900.c 	rc = i2c_transfer(client->adapter, century_msgs,
client            130 drivers/rtc/rtc-max6900.c 	rc = i2c_transfer(client->adapter, burst_msgs, ARRAY_SIZE(burst_msgs));
client            138 drivers/rtc/rtc-max6900.c 	dev_err(&client->dev, "%s: register write failed\n", __func__);
client            144 drivers/rtc/rtc-max6900.c 	struct i2c_client *client = to_i2c_client(dev);
client            148 drivers/rtc/rtc-max6900.c 	rc = max6900_i2c_read_regs(client, regs);
client            164 drivers/rtc/rtc-max6900.c static int max6900_i2c_clear_write_protect(struct i2c_client *client)
client            166 drivers/rtc/rtc-max6900.c 	return i2c_smbus_write_byte_data(client, MAX6900_REG_CONTROL_WRITE, 0);
client            171 drivers/rtc/rtc-max6900.c 	struct i2c_client *client = to_i2c_client(dev);
client            175 drivers/rtc/rtc-max6900.c 	rc = max6900_i2c_clear_write_protect(client);
client            190 drivers/rtc/rtc-max6900.c 	rc = max6900_i2c_write_regs(client, regs);
client            203 drivers/rtc/rtc-max6900.c max6900_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            207 drivers/rtc/rtc-max6900.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            210 drivers/rtc/rtc-max6900.c 	rtc = devm_rtc_device_register(&client->dev, max6900_driver.driver.name,
client            215 drivers/rtc/rtc-max6900.c 	i2c_set_clientdata(client, rtc);
client            553 drivers/rtc/rtc-pcf2127.c 	struct i2c_client *client = to_i2c_client(dev);
client            556 drivers/rtc/rtc-pcf2127.c 	ret = i2c_master_send(client, data, count);
client            568 drivers/rtc/rtc-pcf2127.c 	struct i2c_client *client = to_i2c_client(dev);
client            582 drivers/rtc/rtc-pcf2127.c 	ret = i2c_master_send(client, buf, val_size + 1);
client            596 drivers/rtc/rtc-pcf2127.c 	struct i2c_client *client = to_i2c_client(dev);
client            602 drivers/rtc/rtc-pcf2127.c 	ret = i2c_master_send(client, reg, 1);
client            606 drivers/rtc/rtc-pcf2127.c 	ret = i2c_master_recv(client, val, val_size);
client            626 drivers/rtc/rtc-pcf2127.c static int pcf2127_i2c_probe(struct i2c_client *client,
client            635 drivers/rtc/rtc-pcf2127.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            638 drivers/rtc/rtc-pcf2127.c 	regmap = devm_regmap_init(&client->dev, &pcf2127_i2c_regmap,
client            639 drivers/rtc/rtc-pcf2127.c 					&client->dev, &config);
client            641 drivers/rtc/rtc-pcf2127.c 		dev_err(&client->dev, "%s: regmap allocation failed: %ld\n",
client            646 drivers/rtc/rtc-pcf2127.c 	return pcf2127_probe(&client->dev, regmap,
client            399 drivers/rtc/rtc-pcf85063.c static int pcf85063_probe(struct i2c_client *client)
client            405 drivers/rtc/rtc-pcf85063.c 	const void *data = of_device_get_match_data(&client->dev);
client            414 drivers/rtc/rtc-pcf85063.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            416 drivers/rtc/rtc-pcf85063.c 	pcf85063 = devm_kzalloc(&client->dev, sizeof(struct pcf85063),
client            424 drivers/rtc/rtc-pcf85063.c 	pcf85063->regmap = devm_regmap_init_i2c(client, &config->regmap);
client            428 drivers/rtc/rtc-pcf85063.c 	i2c_set_clientdata(client, pcf85063);
client            432 drivers/rtc/rtc-pcf85063.c 		dev_err(&client->dev, "RTC chip is not present\n");
client            436 drivers/rtc/rtc-pcf85063.c 	pcf85063->rtc = devm_rtc_allocate_device(&client->dev);
client            440 drivers/rtc/rtc-pcf85063.c 	err = pcf85063_load_capacitance(pcf85063, client->dev.of_node,
client            443 drivers/rtc/rtc-pcf85063.c 		dev_warn(&client->dev, "failed to set xtal load capacitance: %d",
client            451 drivers/rtc/rtc-pcf85063.c 	if (config->has_alarms && client->irq > 0) {
client            452 drivers/rtc/rtc-pcf85063.c 		err = devm_request_threaded_irq(&client->dev, client->irq,
client            461 drivers/rtc/rtc-pcf85063.c 			device_init_wakeup(&client->dev, true);
client            462 drivers/rtc/rtc-pcf85063.c 			err = dev_pm_set_wake_irq(&client->dev, client->irq);
client             42 drivers/rtc/rtc-pcf8523.c static int pcf8523_read(struct i2c_client *client, u8 reg, u8 *valuep)
client             48 drivers/rtc/rtc-pcf8523.c 	msgs[0].addr = client->addr;
client             53 drivers/rtc/rtc-pcf8523.c 	msgs[1].addr = client->addr;
client             58 drivers/rtc/rtc-pcf8523.c 	err = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client             67 drivers/rtc/rtc-pcf8523.c static int pcf8523_write(struct i2c_client *client, u8 reg, u8 value)
client             73 drivers/rtc/rtc-pcf8523.c 	msg.addr = client->addr;
client             78 drivers/rtc/rtc-pcf8523.c 	err = i2c_transfer(client->adapter, &msg, 1);
client             85 drivers/rtc/rtc-pcf8523.c static int pcf8523_voltage_low(struct i2c_client *client)
client             90 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_read(client, REG_CONTROL3, &value);
client             97 drivers/rtc/rtc-pcf8523.c static int pcf8523_load_capacitance(struct i2c_client *client)
client            103 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_read(client, REG_CONTROL1, &value);
client            108 drivers/rtc/rtc-pcf8523.c 	of_property_read_u32(client->dev.of_node, "quartz-load-femtofarads",
client            113 drivers/rtc/rtc-pcf8523.c 		dev_warn(&client->dev, "Unknown quartz-load-femtofarads value: %d. Assuming 12500",
client            124 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_write(client, REG_CONTROL1, value);
client            129 drivers/rtc/rtc-pcf8523.c static int pcf8523_set_pm(struct i2c_client *client, u8 pm)
client            134 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_read(client, REG_CONTROL3, &value);
client            140 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_write(client, REG_CONTROL3, value);
client            147 drivers/rtc/rtc-pcf8523.c static int pcf8523_stop_rtc(struct i2c_client *client)
client            152 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_read(client, REG_CONTROL1, &value);
client            158 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_write(client, REG_CONTROL1, value);
client            165 drivers/rtc/rtc-pcf8523.c static int pcf8523_start_rtc(struct i2c_client *client)
client            170 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_read(client, REG_CONTROL1, &value);
client            176 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_write(client, REG_CONTROL1, value);
client            185 drivers/rtc/rtc-pcf8523.c 	struct i2c_client *client = to_i2c_client(dev);
client            190 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_voltage_low(client);
client            198 drivers/rtc/rtc-pcf8523.c 	msgs[0].addr = client->addr;
client            203 drivers/rtc/rtc-pcf8523.c 	msgs[1].addr = client->addr;
client            208 drivers/rtc/rtc-pcf8523.c 	err = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            228 drivers/rtc/rtc-pcf8523.c 	struct i2c_client *client = to_i2c_client(dev);
client            244 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_stop_rtc(client);
client            258 drivers/rtc/rtc-pcf8523.c 	msg.addr = client->addr;
client            263 drivers/rtc/rtc-pcf8523.c 	err = i2c_transfer(client->adapter, &msg, 1);
client            270 drivers/rtc/rtc-pcf8523.c 		pcf8523_start_rtc(client);
client            274 drivers/rtc/rtc-pcf8523.c 	return pcf8523_start_rtc(client);
client            281 drivers/rtc/rtc-pcf8523.c 	struct i2c_client *client = to_i2c_client(dev);
client            286 drivers/rtc/rtc-pcf8523.c 		ret = pcf8523_voltage_low(client);
client            304 drivers/rtc/rtc-pcf8523.c 	struct i2c_client *client = to_i2c_client(dev);
client            309 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_read(client, REG_OFFSET, &value);
client            322 drivers/rtc/rtc-pcf8523.c 	struct i2c_client *client = to_i2c_client(dev);
client            334 drivers/rtc/rtc-pcf8523.c 	return pcf8523_write(client, REG_OFFSET, value);
client            345 drivers/rtc/rtc-pcf8523.c static int pcf8523_probe(struct i2c_client *client,
client            351 drivers/rtc/rtc-pcf8523.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            354 drivers/rtc/rtc-pcf8523.c 	pcf = devm_kzalloc(&client->dev, sizeof(*pcf), GFP_KERNEL);
client            358 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_load_capacitance(client);
client            360 drivers/rtc/rtc-pcf8523.c 		dev_warn(&client->dev, "failed to set xtal load capacitance: %d",
client            363 drivers/rtc/rtc-pcf8523.c 	err = pcf8523_set_pm(client, 0);
client            367 drivers/rtc/rtc-pcf8523.c 	pcf->rtc = devm_rtc_device_register(&client->dev, DRIVER_NAME,
client            372 drivers/rtc/rtc-pcf8523.c 	i2c_set_clientdata(client, pcf);
client            358 drivers/rtc/rtc-pcf85363.c static int pcf85363_probe(struct i2c_client *client,
client            363 drivers/rtc/rtc-pcf85363.c 	const void *data = of_device_get_match_data(&client->dev);
client            386 drivers/rtc/rtc-pcf85363.c 	pcf85363 = devm_kzalloc(&client->dev, sizeof(struct pcf85363),
client            391 drivers/rtc/rtc-pcf85363.c 	pcf85363->regmap = devm_regmap_init_i2c(client, &config->regmap);
client            393 drivers/rtc/rtc-pcf85363.c 		dev_err(&client->dev, "regmap allocation failed\n");
client            397 drivers/rtc/rtc-pcf85363.c 	i2c_set_clientdata(client, pcf85363);
client            399 drivers/rtc/rtc-pcf85363.c 	pcf85363->rtc = devm_rtc_allocate_device(&client->dev);
client            407 drivers/rtc/rtc-pcf85363.c 	if (client->irq > 0) {
client            411 drivers/rtc/rtc-pcf85363.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            414 drivers/rtc/rtc-pcf85363.c 						"pcf85363", client);
client            416 drivers/rtc/rtc-pcf85363.c 			dev_warn(&client->dev, "unable to request IRQ, alarms disabled\n");
client             81 drivers/rtc/rtc-pcf8563.c 	struct i2c_client *client;
client             87 drivers/rtc/rtc-pcf8563.c static int pcf8563_read_block_data(struct i2c_client *client, unsigned char reg,
client             92 drivers/rtc/rtc-pcf8563.c 			.addr = client->addr,
client             97 drivers/rtc/rtc-pcf8563.c 			.addr = client->addr,
client            104 drivers/rtc/rtc-pcf8563.c 	if ((i2c_transfer(client->adapter, msgs, 2)) != 2) {
client            105 drivers/rtc/rtc-pcf8563.c 		dev_err(&client->dev, "%s: read error\n", __func__);
client            112 drivers/rtc/rtc-pcf8563.c static int pcf8563_write_block_data(struct i2c_client *client,
client            121 drivers/rtc/rtc-pcf8563.c 		err = i2c_master_send(client, data, sizeof(data));
client            123 drivers/rtc/rtc-pcf8563.c 			dev_err(&client->dev,
client            133 drivers/rtc/rtc-pcf8563.c static int pcf8563_set_alarm_mode(struct i2c_client *client, bool on)
client            138 drivers/rtc/rtc-pcf8563.c 	err = pcf8563_read_block_data(client, PCF8563_REG_ST2, 1, &buf);
client            149 drivers/rtc/rtc-pcf8563.c 	err = pcf8563_write_block_data(client, PCF8563_REG_ST2, 1, &buf);
client            151 drivers/rtc/rtc-pcf8563.c 		dev_err(&client->dev, "%s: write error\n", __func__);
client            158 drivers/rtc/rtc-pcf8563.c static int pcf8563_get_alarm_mode(struct i2c_client *client, unsigned char *en,
client            164 drivers/rtc/rtc-pcf8563.c 	err = pcf8563_read_block_data(client, PCF8563_REG_ST2, 1, &buf);
client            182 drivers/rtc/rtc-pcf8563.c 	err = pcf8563_get_alarm_mode(pcf8563->client, NULL, &pending);
client            188 drivers/rtc/rtc-pcf8563.c 		pcf8563_set_alarm_mode(pcf8563->client, 1);
client            201 drivers/rtc/rtc-pcf8563.c 	struct i2c_client *client = to_i2c_client(dev);
client            202 drivers/rtc/rtc-pcf8563.c 	struct pcf8563 *pcf8563 = i2c_get_clientdata(client);
client            206 drivers/rtc/rtc-pcf8563.c 	err = pcf8563_read_block_data(client, PCF8563_REG_ST1, 9, buf);
client            212 drivers/rtc/rtc-pcf8563.c 		dev_err(&client->dev,
client            217 drivers/rtc/rtc-pcf8563.c 	dev_dbg(&client->dev,
client            237 drivers/rtc/rtc-pcf8563.c 	dev_dbg(&client->dev, "%s: tm is secs=%d, mins=%d, hours=%d, "
client            248 drivers/rtc/rtc-pcf8563.c 	struct i2c_client *client = to_i2c_client(dev);
client            249 drivers/rtc/rtc-pcf8563.c 	struct pcf8563 *pcf8563 = i2c_get_clientdata(client);
client            252 drivers/rtc/rtc-pcf8563.c 	dev_dbg(&client->dev, "%s: secs=%d, mins=%d, hours=%d, "
client            275 drivers/rtc/rtc-pcf8563.c 	return pcf8563_write_block_data(client, PCF8563_REG_SC,
client            319 drivers/rtc/rtc-pcf8563.c 	struct i2c_client *client = to_i2c_client(dev);
client            323 drivers/rtc/rtc-pcf8563.c 	err = pcf8563_read_block_data(client, PCF8563_REG_AMN, 4, buf);
client            327 drivers/rtc/rtc-pcf8563.c 	dev_dbg(&client->dev,
client            337 drivers/rtc/rtc-pcf8563.c 	err = pcf8563_get_alarm_mode(client, &tm->enabled, &tm->pending);
client            341 drivers/rtc/rtc-pcf8563.c 	dev_dbg(&client->dev, "%s: tm is mins=%d, hours=%d, mday=%d, wday=%d,"
client            351 drivers/rtc/rtc-pcf8563.c 	struct i2c_client *client = to_i2c_client(dev);
client            373 drivers/rtc/rtc-pcf8563.c 	err = pcf8563_write_block_data(client, PCF8563_REG_AMN, 4, buf);
client            377 drivers/rtc/rtc-pcf8563.c 	return pcf8563_set_alarm_mode(client, !!tm->enabled);
client            404 drivers/rtc/rtc-pcf8563.c 	struct i2c_client *client = pcf8563->client;
client            406 drivers/rtc/rtc-pcf8563.c 	int ret = pcf8563_read_block_data(client, PCF8563_REG_CLKO, 1, &buf);
client            431 drivers/rtc/rtc-pcf8563.c 	struct i2c_client *client = pcf8563->client;
client            433 drivers/rtc/rtc-pcf8563.c 	int ret = pcf8563_read_block_data(client, PCF8563_REG_CLKO, 1, &buf);
client            443 drivers/rtc/rtc-pcf8563.c 			ret = pcf8563_write_block_data(client,
client            455 drivers/rtc/rtc-pcf8563.c 	struct i2c_client *client = pcf8563->client;
client            457 drivers/rtc/rtc-pcf8563.c 	int ret = pcf8563_read_block_data(client, PCF8563_REG_CLKO, 1, &buf);
client            467 drivers/rtc/rtc-pcf8563.c 	ret = pcf8563_write_block_data(client, PCF8563_REG_CLKO, 1, &buf);
client            484 drivers/rtc/rtc-pcf8563.c 	struct i2c_client *client = pcf8563->client;
client            486 drivers/rtc/rtc-pcf8563.c 	int ret = pcf8563_read_block_data(client, PCF8563_REG_CLKO, 1, &buf);
client            505 drivers/rtc/rtc-pcf8563.c 	struct i2c_client *client = pcf8563->client;
client            506 drivers/rtc/rtc-pcf8563.c 	struct device_node *node = client->dev.of_node;
client            514 drivers/rtc/rtc-pcf8563.c 	ret = pcf8563_write_block_data(client, PCF8563_REG_CLKO, 1, &buf);
client            529 drivers/rtc/rtc-pcf8563.c 	clk = devm_clk_register(&client->dev, &pcf8563->clkout_hw);
client            547 drivers/rtc/rtc-pcf8563.c static int pcf8563_probe(struct i2c_client *client,
client            554 drivers/rtc/rtc-pcf8563.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            556 drivers/rtc/rtc-pcf8563.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            559 drivers/rtc/rtc-pcf8563.c 	pcf8563 = devm_kzalloc(&client->dev, sizeof(struct pcf8563),
client            564 drivers/rtc/rtc-pcf8563.c 	i2c_set_clientdata(client, pcf8563);
client            565 drivers/rtc/rtc-pcf8563.c 	pcf8563->client = client;
client            566 drivers/rtc/rtc-pcf8563.c 	device_set_wakeup_capable(&client->dev, 1);
client            570 drivers/rtc/rtc-pcf8563.c 	err = pcf8563_write_block_data(client, PCF8563_REG_TMRC, 1, &buf);
client            572 drivers/rtc/rtc-pcf8563.c 		dev_err(&client->dev, "%s: write error\n", __func__);
client            578 drivers/rtc/rtc-pcf8563.c 	err = pcf8563_write_block_data(client, PCF8563_REG_ST2, 1, &buf);
client            580 drivers/rtc/rtc-pcf8563.c 		dev_err(&client->dev, "%s: write error\n", __func__);
client            584 drivers/rtc/rtc-pcf8563.c 	pcf8563->rtc = devm_rtc_allocate_device(&client->dev);
client            595 drivers/rtc/rtc-pcf8563.c 	if (client->irq > 0) {
client            596 drivers/rtc/rtc-pcf8563.c 		err = devm_request_threaded_irq(&client->dev, client->irq,
client            599 drivers/rtc/rtc-pcf8563.c 				pcf8563_driver.driver.name, client);
client            601 drivers/rtc/rtc-pcf8563.c 			dev_err(&client->dev, "unable to request IRQ %d\n",
client            602 drivers/rtc/rtc-pcf8563.c 								client->irq);
client             49 drivers/rtc/rtc-pcf8583.c static int pcf8583_get_datetime(struct i2c_client *client, struct rtc_time *dt)
client             54 drivers/rtc/rtc-pcf8583.c 			.addr = client->addr,
client             59 drivers/rtc/rtc-pcf8583.c 			.addr = client->addr,
client             69 drivers/rtc/rtc-pcf8583.c 	ret = i2c_transfer(client->adapter, msgs, 2);
client             87 drivers/rtc/rtc-pcf8583.c static int pcf8583_set_datetime(struct i2c_client *client, struct rtc_time *dt, int datetoo)
client             93 drivers/rtc/rtc-pcf8583.c 	buf[1] = get_ctrl(client) | 0x80;
client            105 drivers/rtc/rtc-pcf8583.c 	ret = i2c_master_send(client, (char *)buf, len);
client            109 drivers/rtc/rtc-pcf8583.c 	buf[1] = get_ctrl(client);
client            110 drivers/rtc/rtc-pcf8583.c 	ret = i2c_master_send(client, (char *)buf, 2);
client            115 drivers/rtc/rtc-pcf8583.c static int pcf8583_get_ctrl(struct i2c_client *client, unsigned char *ctrl)
client            117 drivers/rtc/rtc-pcf8583.c 	*ctrl = get_ctrl(client);
client            121 drivers/rtc/rtc-pcf8583.c static int pcf8583_set_ctrl(struct i2c_client *client, unsigned char *ctrl)
client            127 drivers/rtc/rtc-pcf8583.c 	set_ctrl(client, *ctrl);
client            129 drivers/rtc/rtc-pcf8583.c 	return i2c_master_send(client, (char *)buf, 2);
client            132 drivers/rtc/rtc-pcf8583.c static int pcf8583_read_mem(struct i2c_client *client, struct rtc_mem *mem)
client            137 drivers/rtc/rtc-pcf8583.c 			.addr = client->addr,
client            142 drivers/rtc/rtc-pcf8583.c 			.addr = client->addr,
client            154 drivers/rtc/rtc-pcf8583.c 	return i2c_transfer(client->adapter, msgs, 2) == 2 ? 0 : -EIO;
client            157 drivers/rtc/rtc-pcf8583.c static int pcf8583_write_mem(struct i2c_client *client, struct rtc_mem *mem)
client            168 drivers/rtc/rtc-pcf8583.c 	ret = i2c_master_send(client, buf, mem->nr + 1);
client            174 drivers/rtc/rtc-pcf8583.c 	struct i2c_client *client = to_i2c_client(dev);
client            186 drivers/rtc/rtc-pcf8583.c 	pcf8583_get_ctrl(client, &ctrl);
client            193 drivers/rtc/rtc-pcf8583.c 		err = pcf8583_set_ctrl(client, &new_ctrl);
client            198 drivers/rtc/rtc-pcf8583.c 	if (pcf8583_get_datetime(client, tm) ||
client            199 drivers/rtc/rtc-pcf8583.c 	    pcf8583_read_mem(client, &mem))
client            224 drivers/rtc/rtc-pcf8583.c 	struct i2c_client *client = to_i2c_client(dev);
client            244 drivers/rtc/rtc-pcf8583.c 	ret = pcf8583_set_datetime(client, tm, 1);
client            248 drivers/rtc/rtc-pcf8583.c 	ret = pcf8583_read_mem(client, &cmos_check);
client            252 drivers/rtc/rtc-pcf8583.c 	ret = pcf8583_read_mem(client, &cmos_year);
client            263 drivers/rtc/rtc-pcf8583.c 	ret = pcf8583_write_mem(client, &cmos_year);
client            268 drivers/rtc/rtc-pcf8583.c 	ret = pcf8583_write_mem(client, &cmos_check);
client            278 drivers/rtc/rtc-pcf8583.c static int pcf8583_probe(struct i2c_client *client,
client            283 drivers/rtc/rtc-pcf8583.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            286 drivers/rtc/rtc-pcf8583.c 	pcf8583 = devm_kzalloc(&client->dev, sizeof(struct pcf8583),
client            291 drivers/rtc/rtc-pcf8583.c 	i2c_set_clientdata(client, pcf8583);
client            293 drivers/rtc/rtc-pcf8583.c 	pcf8583->rtc = devm_rtc_device_register(&client->dev,
client            317 drivers/rtc/rtc-rk808.c 	struct i2c_client *client = rk808->i2c;
client            323 drivers/rtc/rtc-rk808.c 		dev_err(&client->dev,
client            329 drivers/rtc/rtc-rk808.c 	dev_dbg(&client->dev,
client            121 drivers/rtc/rtc-rs5c372.c 	struct i2c_client	*client;
client            133 drivers/rtc/rtc-rs5c372.c 	struct i2c_client	*client = rs5c->client;
client            136 drivers/rtc/rtc-rs5c372.c 			.addr = client->addr,
client            158 drivers/rtc/rtc-rs5c372.c 		if (i2c_smbus_read_i2c_block_data(client, addr, size,
client            160 drivers/rtc/rtc-rs5c372.c 			dev_warn(&client->dev, "can't read registers\n");
client            164 drivers/rtc/rtc-rs5c372.c 		if ((i2c_transfer(client->adapter, msgs, 1)) != 1) {
client            165 drivers/rtc/rtc-rs5c372.c 			dev_warn(&client->dev, "can't read registers\n");
client            170 drivers/rtc/rtc-rs5c372.c 	dev_dbg(&client->dev,
client            211 drivers/rtc/rtc-rs5c372.c 	struct i2c_client *client = to_i2c_client(dev);
client            212 drivers/rtc/rtc-rs5c372.c 	struct rs5c372	*rs5c = i2c_get_clientdata(client);
client            224 drivers/rtc/rtc-rs5c372.c 			dev_warn(&client->dev, "rtc oscillator interruption detected. Please reset the rtc clock.\n");
client            230 drivers/rtc/rtc-rs5c372.c 			dev_warn(&client->dev, "rtc oscillator interruption detected. Please reset the rtc clock.\n");
client            248 drivers/rtc/rtc-rs5c372.c 	dev_dbg(&client->dev, "%s: tm is secs=%d, mins=%d, hours=%d, "
client            259 drivers/rtc/rtc-rs5c372.c 	struct i2c_client *client = to_i2c_client(dev);
client            260 drivers/rtc/rtc-rs5c372.c 	struct rs5c372	*rs5c = i2c_get_clientdata(client);
client            265 drivers/rtc/rtc-rs5c372.c 	dev_dbg(&client->dev, "%s: tm is secs=%d, mins=%d, hours=%d "
client            280 drivers/rtc/rtc-rs5c372.c 	if (i2c_smbus_write_i2c_block_data(client, addr, sizeof(buf), buf) < 0) {
client            281 drivers/rtc/rtc-rs5c372.c 		dev_dbg(&client->dev, "%s: write error in line %i\n",
client            287 drivers/rtc/rtc-rs5c372.c 	ctrl2 = i2c_smbus_read_byte_data(client, addr);
client            304 drivers/rtc/rtc-rs5c372.c 	if (i2c_smbus_write_byte_data(client, addr, ctrl2) < 0) {
client            305 drivers/rtc/rtc-rs5c372.c 		dev_dbg(&client->dev, "%s: write error in line %i\n",
client            322 drivers/rtc/rtc-rs5c372.c static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim)
client            324 drivers/rtc/rtc-rs5c372.c 	struct rs5c372 *rs5c372 = i2c_get_clientdata(client);
client            331 drivers/rtc/rtc-rs5c372.c 		dev_dbg(&client->dev, "%s: raw trim=%x\n", __func__, tmp);
client            353 drivers/rtc/rtc-rs5c372.c 	struct i2c_client	*client = to_i2c_client(dev);
client            354 drivers/rtc/rtc-rs5c372.c 	struct rs5c372		*rs5c = i2c_get_clientdata(client);
client            373 drivers/rtc/rtc-rs5c372.c 	if (i2c_smbus_write_byte_data(client, addr, buf) < 0) {
client            394 drivers/rtc/rtc-rs5c372.c 	struct i2c_client	*client = to_i2c_client(dev);
client            395 drivers/rtc/rtc-rs5c372.c 	struct rs5c372		*rs5c = i2c_get_clientdata(client);
client            416 drivers/rtc/rtc-rs5c372.c 	struct i2c_client	*client = to_i2c_client(dev);
client            417 drivers/rtc/rtc-rs5c372.c 	struct rs5c372		*rs5c = i2c_get_clientdata(client);
client            436 drivers/rtc/rtc-rs5c372.c 		if (i2c_smbus_write_byte_data(client, addr, buf[0]) < 0) {
client            450 drivers/rtc/rtc-rs5c372.c 		if (i2c_smbus_write_byte_data(client, addr, buf[i]) < 0) {
client            460 drivers/rtc/rtc-rs5c372.c 		if (i2c_smbus_write_byte_data(client, addr, buf[0]) < 0)
client            604 drivers/rtc/rtc-rs5c372.c 		ret = i2c_smbus_write_byte_data(rs5c372->client, addr, buf[i]);
client            615 drivers/rtc/rtc-rs5c372.c static int rs5c372_probe(struct i2c_client *client,
client            622 drivers/rtc/rtc-rs5c372.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            624 drivers/rtc/rtc-rs5c372.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C |
client            630 drivers/rtc/rtc-rs5c372.c 		if (i2c_check_functionality(client->adapter,
client            641 drivers/rtc/rtc-rs5c372.c 	rs5c372 = devm_kzalloc(&client->dev, sizeof(struct rs5c372),
client            648 drivers/rtc/rtc-rs5c372.c 	rs5c372->client = client;
client            649 drivers/rtc/rtc-rs5c372.c 	i2c_set_clientdata(client, rs5c372);
client            650 drivers/rtc/rtc-rs5c372.c 	if (client->dev.of_node)
client            652 drivers/rtc/rtc-rs5c372.c 			of_device_get_match_data(&client->dev);
client            685 drivers/rtc/rtc-rs5c372.c 		dev_err(&client->dev, "unknown RTC type\n");
client            697 drivers/rtc/rtc-rs5c372.c 		dev_err(&client->dev, "setup error\n");
client            701 drivers/rtc/rtc-rs5c372.c 	dev_info(&client->dev, "%s found, %s\n",
client            715 drivers/rtc/rtc-rs5c372.c 	rs5c372->rtc = devm_rtc_device_register(&client->dev,
client            724 drivers/rtc/rtc-rs5c372.c 	err = rs5c_sysfs_register(&client->dev);
client            734 drivers/rtc/rtc-rs5c372.c static int rs5c372_remove(struct i2c_client *client)
client            736 drivers/rtc/rtc-rs5c372.c 	rs5c_sysfs_unregister(&client->dev);
client            598 drivers/rtc/rtc-rv3028.c static int rv3028_probe(struct i2c_client *client)
client            622 drivers/rtc/rtc-rv3028.c 	rv3028 = devm_kzalloc(&client->dev, sizeof(struct rv3028_data),
client            627 drivers/rtc/rtc-rv3028.c 	rv3028->regmap = devm_regmap_init_i2c(client, &regmap_config);
client            629 drivers/rtc/rtc-rv3028.c 	i2c_set_clientdata(client, rv3028);
client            636 drivers/rtc/rtc-rv3028.c 		dev_warn(&client->dev, "Voltage low, data loss detected.\n");
client            639 drivers/rtc/rtc-rv3028.c 		dev_warn(&client->dev, "An alarm may have been missed.\n");
client            641 drivers/rtc/rtc-rv3028.c 	rv3028->rtc = devm_rtc_allocate_device(&client->dev);
client            645 drivers/rtc/rtc-rv3028.c 	if (client->irq > 0) {
client            646 drivers/rtc/rtc-rv3028.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            651 drivers/rtc/rtc-rv3028.c 			dev_warn(&client->dev, "unable to request IRQ, alarms disabled\n");
client            652 drivers/rtc/rtc-rv3028.c 			client->irq = 0;
client            673 drivers/rtc/rtc-rv3028.c 	if (!device_property_read_u32(&client->dev, "trickle-resistor-ohms",
client            689 drivers/rtc/rtc-rv3028.c 			dev_warn(&client->dev, "invalid trickle resistor value\n");
client            842 drivers/rtc/rtc-rv3029c2.c static int rv3029_i2c_probe(struct i2c_client *client,
client            851 drivers/rtc/rtc-rv3029c2.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_I2C_BLOCK |
client            853 drivers/rtc/rtc-rv3029c2.c 		dev_err(&client->dev, "Adapter does not support SMBUS_I2C_BLOCK or SMBUS_I2C_BYTE\n");
client            857 drivers/rtc/rtc-rv3029c2.c 	regmap = devm_regmap_init_i2c(client, &config);
client            859 drivers/rtc/rtc-rv3029c2.c 		dev_err(&client->dev, "%s: regmap allocation failed: %ld\n",
client            864 drivers/rtc/rtc-rv3029c2.c 	return rv3029_probe(&client->dev, regmap, client->irq, client->name);
client             62 drivers/rtc/rtc-rv8803.c 	struct i2c_client *client;
client             69 drivers/rtc/rtc-rv8803.c static int rv8803_read_reg(const struct i2c_client *client, u8 reg)
client             79 drivers/rtc/rtc-rv8803.c 		ret = i2c_smbus_read_byte_data(client, reg);
client             82 drivers/rtc/rtc-rv8803.c 		dev_err(&client->dev, "Unable to read register 0x%02x\n", reg);
client             87 drivers/rtc/rtc-rv8803.c static int rv8803_read_regs(const struct i2c_client *client,
client             94 drivers/rtc/rtc-rv8803.c 		ret = i2c_smbus_read_i2c_block_data(client, reg, count, values);
client             97 drivers/rtc/rtc-rv8803.c 		dev_err(&client->dev,
client            106 drivers/rtc/rtc-rv8803.c static int rv8803_write_reg(const struct i2c_client *client, u8 reg, u8 value)
client            112 drivers/rtc/rtc-rv8803.c 		ret = i2c_smbus_write_byte_data(client, reg, value);
client            115 drivers/rtc/rtc-rv8803.c 		dev_err(&client->dev, "Unable to write register 0x%02x\n", reg);
client            120 drivers/rtc/rtc-rv8803.c static int rv8803_write_regs(const struct i2c_client *client,
client            127 drivers/rtc/rtc-rv8803.c 		ret = i2c_smbus_write_i2c_block_data(client, reg, count,
client            131 drivers/rtc/rtc-rv8803.c 		dev_err(&client->dev,
client            140 drivers/rtc/rtc-rv8803.c 	struct i2c_client *client = dev_id;
client            141 drivers/rtc/rtc-rv8803.c 	struct rv8803_data *rv8803 = i2c_get_clientdata(client);
client            147 drivers/rtc/rtc-rv8803.c 	flags = rv8803_read_reg(client, RV8803_FLAG);
client            154 drivers/rtc/rtc-rv8803.c 		dev_warn(&client->dev, "Voltage low, temperature compensation stopped.\n");
client            157 drivers/rtc/rtc-rv8803.c 		dev_warn(&client->dev, "Voltage low, data loss detected.\n");
client            179 drivers/rtc/rtc-rv8803.c 		rv8803_write_reg(client, RV8803_FLAG, flags);
client            180 drivers/rtc/rtc-rv8803.c 		rv8803_write_reg(rv8803->client, RV8803_CTRL, rv8803->ctrl);
client            196 drivers/rtc/rtc-rv8803.c 	flags = rv8803_read_reg(rv8803->client, RV8803_FLAG);
client            205 drivers/rtc/rtc-rv8803.c 	ret = rv8803_read_regs(rv8803->client, RV8803_SEC, 7, date);
client            210 drivers/rtc/rtc-rv8803.c 		ret = rv8803_read_regs(rv8803->client, RV8803_SEC, 7, date2);
client            235 drivers/rtc/rtc-rv8803.c 	ctrl = rv8803_read_reg(rv8803->client, RV8803_CTRL);
client            240 drivers/rtc/rtc-rv8803.c 	ret = rv8803_write_reg(rv8803->client, RV8803_CTRL,
client            253 drivers/rtc/rtc-rv8803.c 	ret = rv8803_write_regs(rv8803->client, RV8803_SEC, 7, date);
client            258 drivers/rtc/rtc-rv8803.c 	ret = rv8803_write_reg(rv8803->client, RV8803_CTRL,
client            265 drivers/rtc/rtc-rv8803.c 	flags = rv8803_read_reg(rv8803->client, RV8803_FLAG);
client            271 drivers/rtc/rtc-rv8803.c 	ret = rv8803_write_reg(rv8803->client, RV8803_FLAG,
client            282 drivers/rtc/rtc-rv8803.c 	struct i2c_client *client = rv8803->client;
client            286 drivers/rtc/rtc-rv8803.c 	ret = rv8803_read_regs(client, RV8803_ALARM_MIN, 3, alarmvals);
client            290 drivers/rtc/rtc-rv8803.c 	flags = rv8803_read_reg(client, RV8803_FLAG);
client            307 drivers/rtc/rtc-rv8803.c 	struct i2c_client *client = to_i2c_client(dev);
client            323 drivers/rtc/rtc-rv8803.c 	ret = rv8803_read_regs(client, RV8803_FLAG, 2, ctrl);
client            335 drivers/rtc/rtc-rv8803.c 		err = rv8803_write_reg(rv8803->client, RV8803_CTRL,
client            344 drivers/rtc/rtc-rv8803.c 	err = rv8803_write_reg(rv8803->client, RV8803_FLAG, ctrl[1]);
client            349 drivers/rtc/rtc-rv8803.c 	err = rv8803_write_regs(rv8803->client, RV8803_ALARM_MIN, 3, alarmvals);
client            359 drivers/rtc/rtc-rv8803.c 		err = rv8803_write_reg(rv8803->client, RV8803_CTRL,
client            370 drivers/rtc/rtc-rv8803.c 	struct i2c_client *client = to_i2c_client(dev);
client            389 drivers/rtc/rtc-rv8803.c 	flags = rv8803_read_reg(client, RV8803_FLAG);
client            395 drivers/rtc/rtc-rv8803.c 	err = rv8803_write_reg(client, RV8803_FLAG, flags);
client            402 drivers/rtc/rtc-rv8803.c 		err = rv8803_write_reg(client, RV8803_CTRL, rv8803->ctrl);
client            412 drivers/rtc/rtc-rv8803.c 	struct i2c_client *client = to_i2c_client(dev);
client            418 drivers/rtc/rtc-rv8803.c 		flags = rv8803_read_reg(client, RV8803_FLAG);
client            423 drivers/rtc/rtc-rv8803.c 			dev_warn(&client->dev, "Voltage low, temperature compensation stopped.\n");
client            426 drivers/rtc/rtc-rv8803.c 			dev_warn(&client->dev, "Voltage low, data loss detected.\n");
client            437 drivers/rtc/rtc-rv8803.c 		flags = rv8803_read_reg(client, RV8803_FLAG);
client            444 drivers/rtc/rtc-rv8803.c 		ret = rv8803_write_reg(client, RV8803_FLAG, flags);
client            490 drivers/rtc/rtc-rv8803.c 	struct i2c_client *client = rv8803->client;
client            491 drivers/rtc/rtc-rv8803.c 	struct device_node *node = client->dev.of_node;
client            501 drivers/rtc/rtc-rv8803.c 	err = i2c_smbus_read_byte_data(rv8803->client, RX8900_BACKUP_CTRL);
client            513 drivers/rtc/rtc-rv8803.c 	return i2c_smbus_write_byte_data(rv8803->client, RX8900_BACKUP_CTRL,
client            517 drivers/rtc/rtc-rv8803.c static int rv8803_probe(struct i2c_client *client,
client            520 drivers/rtc/rtc-rv8803.c 	struct i2c_adapter *adapter = client->adapter;
client            530 drivers/rtc/rtc-rv8803.c 		.priv = client,
client            539 drivers/rtc/rtc-rv8803.c 	rv8803 = devm_kzalloc(&client->dev, sizeof(struct rv8803_data),
client            545 drivers/rtc/rtc-rv8803.c 	rv8803->client = client;
client            546 drivers/rtc/rtc-rv8803.c 	if (client->dev.of_node)
client            548 drivers/rtc/rtc-rv8803.c 			of_device_get_match_data(&client->dev);
client            551 drivers/rtc/rtc-rv8803.c 	i2c_set_clientdata(client, rv8803);
client            553 drivers/rtc/rtc-rv8803.c 	flags = rv8803_read_reg(client, RV8803_FLAG);
client            558 drivers/rtc/rtc-rv8803.c 		dev_warn(&client->dev, "Voltage low, temperature compensation stopped.\n");
client            561 drivers/rtc/rtc-rv8803.c 		dev_warn(&client->dev, "Voltage low, data loss detected.\n");
client            564 drivers/rtc/rtc-rv8803.c 		dev_warn(&client->dev, "An alarm maybe have been missed.\n");
client            566 drivers/rtc/rtc-rv8803.c 	rv8803->rtc = devm_rtc_allocate_device(&client->dev);
client            570 drivers/rtc/rtc-rv8803.c 	if (client->irq > 0) {
client            571 drivers/rtc/rtc-rv8803.c 		err = devm_request_threaded_irq(&client->dev, client->irq,
client            574 drivers/rtc/rtc-rv8803.c 						"rv8803", client);
client            576 drivers/rtc/rtc-rv8803.c 			dev_warn(&client->dev, "unable to request IRQ, alarms disabled\n");
client            577 drivers/rtc/rtc-rv8803.c 			client->irq = 0;
client            585 drivers/rtc/rtc-rv8803.c 	err = rv8803_write_reg(rv8803->client, RV8803_EXT, RV8803_EXT_WADA);
client            591 drivers/rtc/rtc-rv8803.c 		dev_err(&client->dev, "failed to init charger\n");
client             64 drivers/rtc/rtc-rx8010.c 	struct i2c_client *client;
client             71 drivers/rtc/rtc-rx8010.c 	struct i2c_client *client = dev_id;
client             72 drivers/rtc/rtc-rx8010.c 	struct rx8010_data *rx8010 = i2c_get_clientdata(client);
client             77 drivers/rtc/rtc-rx8010.c 	flagreg = i2c_smbus_read_byte_data(client, RX8010_FLAG);
client             85 drivers/rtc/rtc-rx8010.c 		dev_warn(&client->dev, "Frequency stop detected\n");
client            102 drivers/rtc/rtc-rx8010.c 	i2c_smbus_write_byte_data(client, RX8010_FLAG, flagreg);
client            115 drivers/rtc/rtc-rx8010.c 	flagreg = i2c_smbus_read_byte_data(rx8010->client, RX8010_FLAG);
client            124 drivers/rtc/rtc-rx8010.c 	err = i2c_smbus_read_i2c_block_data(rx8010->client, RX8010_SEC,
client            151 drivers/rtc/rtc-rx8010.c 	ctrl = i2c_smbus_read_byte_data(rx8010->client, RX8010_CTRL);
client            155 drivers/rtc/rtc-rx8010.c 	ret = i2c_smbus_write_byte_data(rx8010->client, RX8010_CTRL,
client            168 drivers/rtc/rtc-rx8010.c 	ret = i2c_smbus_write_i2c_block_data(rx8010->client,
client            174 drivers/rtc/rtc-rx8010.c 	ctrl = i2c_smbus_read_byte_data(rx8010->client, RX8010_CTRL);
client            178 drivers/rtc/rtc-rx8010.c 	ret = i2c_smbus_write_byte_data(rx8010->client, RX8010_CTRL,
client            183 drivers/rtc/rtc-rx8010.c 	flagreg = i2c_smbus_read_byte_data(rx8010->client, RX8010_FLAG);
client            189 drivers/rtc/rtc-rx8010.c 		ret = i2c_smbus_write_byte_data(rx8010->client, RX8010_FLAG,
client            195 drivers/rtc/rtc-rx8010.c static int rx8010_init_client(struct i2c_client *client)
client            197 drivers/rtc/rtc-rx8010.c 	struct rx8010_data *rx8010 = i2c_get_clientdata(client);
client            202 drivers/rtc/rtc-rx8010.c 	err = i2c_smbus_write_byte_data(client, RX8010_RESV17, 0xD8);
client            206 drivers/rtc/rtc-rx8010.c 	err = i2c_smbus_write_byte_data(client, RX8010_RESV30, 0x00);
client            210 drivers/rtc/rtc-rx8010.c 	err = i2c_smbus_write_byte_data(client, RX8010_RESV31, 0x08);
client            214 drivers/rtc/rtc-rx8010.c 	err = i2c_smbus_write_byte_data(client, RX8010_IRQ, 0x00);
client            218 drivers/rtc/rtc-rx8010.c 	err = i2c_smbus_read_i2c_block_data(rx8010->client, RX8010_FLAG,
client            224 drivers/rtc/rtc-rx8010.c 		dev_warn(&client->dev, "Frequency stop was detected\n");
client            227 drivers/rtc/rtc-rx8010.c 		dev_warn(&client->dev, "Alarm was detected\n");
client            239 drivers/rtc/rtc-rx8010.c 		err = i2c_smbus_write_byte_data(client, RX8010_FLAG, ctrl[0]);
client            252 drivers/rtc/rtc-rx8010.c 	struct i2c_client *client = rx8010->client;
client            257 drivers/rtc/rtc-rx8010.c 	err = i2c_smbus_read_i2c_block_data(client, RX8010_ALMIN, 3, alarmvals);
client            261 drivers/rtc/rtc-rx8010.c 	flagreg = i2c_smbus_read_byte_data(client, RX8010_FLAG);
client            280 drivers/rtc/rtc-rx8010.c 	struct i2c_client *client = to_i2c_client(dev);
client            286 drivers/rtc/rtc-rx8010.c 	flagreg = i2c_smbus_read_byte_data(client, RX8010_FLAG);
client            293 drivers/rtc/rtc-rx8010.c 		err = i2c_smbus_write_byte_data(rx8010->client, RX8010_CTRL,
client            301 drivers/rtc/rtc-rx8010.c 	err = i2c_smbus_write_byte_data(rx8010->client, RX8010_FLAG, flagreg);
client            309 drivers/rtc/rtc-rx8010.c 	err = i2c_smbus_write_i2c_block_data(rx8010->client, RX8010_ALMIN,
client            314 drivers/rtc/rtc-rx8010.c 	extreg = i2c_smbus_read_byte_data(client, RX8010_EXT);
client            319 drivers/rtc/rtc-rx8010.c 	err = i2c_smbus_write_byte_data(rx8010->client, RX8010_EXT, extreg);
client            326 drivers/rtc/rtc-rx8010.c 	err = i2c_smbus_write_byte_data(rx8010->client, RX8010_ALWDAY,
client            338 drivers/rtc/rtc-rx8010.c 		err = i2c_smbus_write_byte_data(rx8010->client, RX8010_CTRL,
client            350 drivers/rtc/rtc-rx8010.c 	struct i2c_client *client = to_i2c_client(dev);
client            370 drivers/rtc/rtc-rx8010.c 	flagreg = i2c_smbus_read_byte_data(client, RX8010_FLAG);
client            375 drivers/rtc/rtc-rx8010.c 	err = i2c_smbus_write_byte_data(rx8010->client, RX8010_FLAG, flagreg);
client            381 drivers/rtc/rtc-rx8010.c 		err = i2c_smbus_write_byte_data(rx8010->client, RX8010_CTRL,
client            392 drivers/rtc/rtc-rx8010.c 	struct i2c_client *client = to_i2c_client(dev);
client            399 drivers/rtc/rtc-rx8010.c 		flagreg = i2c_smbus_read_byte_data(rx8010->client, RX8010_FLAG);
client            410 drivers/rtc/rtc-rx8010.c 		flagreg = i2c_smbus_read_byte_data(rx8010->client, RX8010_FLAG);
client            416 drivers/rtc/rtc-rx8010.c 		ret = i2c_smbus_write_byte_data(client, RX8010_FLAG, flagreg);
client            433 drivers/rtc/rtc-rx8010.c static int rx8010_probe(struct i2c_client *client,
client            436 drivers/rtc/rtc-rx8010.c 	struct i2c_adapter *adapter = client->adapter;
client            446 drivers/rtc/rtc-rx8010.c 	rx8010 = devm_kzalloc(&client->dev, sizeof(struct rx8010_data),
client            451 drivers/rtc/rtc-rx8010.c 	rx8010->client = client;
client            452 drivers/rtc/rtc-rx8010.c 	i2c_set_clientdata(client, rx8010);
client            454 drivers/rtc/rtc-rx8010.c 	err = rx8010_init_client(client);
client            458 drivers/rtc/rtc-rx8010.c 	if (client->irq > 0) {
client            459 drivers/rtc/rtc-rx8010.c 		dev_info(&client->dev, "IRQ %d supplied\n", client->irq);
client            460 drivers/rtc/rtc-rx8010.c 		err = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            463 drivers/rtc/rtc-rx8010.c 						"rx8010", client);
client            466 drivers/rtc/rtc-rx8010.c 			dev_err(&client->dev, "unable to request IRQ\n");
client            467 drivers/rtc/rtc-rx8010.c 			client->irq = 0;
client            475 drivers/rtc/rtc-rx8010.c 	rx8010->rtc = devm_rtc_device_register(&client->dev, client->name,
client            479 drivers/rtc/rtc-rx8010.c 		dev_err(&client->dev, "unable to register the class device\n");
client             70 drivers/rtc/rtc-rx8025.c 	struct i2c_client *client;
client             75 drivers/rtc/rtc-rx8025.c static s32 rx8025_read_reg(const struct i2c_client *client, u8 number)
client             77 drivers/rtc/rtc-rx8025.c 	return i2c_smbus_read_byte_data(client, number << 4);
client             80 drivers/rtc/rtc-rx8025.c static int rx8025_read_regs(const struct i2c_client *client,
client             83 drivers/rtc/rtc-rx8025.c 	int ret = i2c_smbus_read_i2c_block_data(client, number << 4, length,
client             91 drivers/rtc/rtc-rx8025.c static s32 rx8025_write_reg(const struct i2c_client *client, u8 number,
client             94 drivers/rtc/rtc-rx8025.c 	return i2c_smbus_write_byte_data(client, number << 4, value);
client             97 drivers/rtc/rtc-rx8025.c static s32 rx8025_write_regs(const struct i2c_client *client,
client            100 drivers/rtc/rtc-rx8025.c 	return i2c_smbus_write_i2c_block_data(client, number << 4,
client            109 drivers/rtc/rtc-rx8025.c 	ctrl2 = rx8025_read_reg(rx8025->client, RX8025_REG_CTRL2);
client            129 drivers/rtc/rtc-rx8025.c static int rx8025_reset_validity(struct i2c_client *client)
client            131 drivers/rtc/rtc-rx8025.c 	int ctrl2 = rx8025_read_reg(client, RX8025_REG_CTRL2);
client            138 drivers/rtc/rtc-rx8025.c 	return rx8025_write_reg(client, RX8025_REG_CTRL2,
client            144 drivers/rtc/rtc-rx8025.c 	struct i2c_client *client = dev_id;
client            145 drivers/rtc/rtc-rx8025.c 	struct rx8025_data *rx8025 = i2c_get_clientdata(client);
client            150 drivers/rtc/rtc-rx8025.c 	status = rx8025_read_reg(client, RX8025_REG_CTRL2);
client            155 drivers/rtc/rtc-rx8025.c 		dev_warn(&client->dev, "Oscillation stop was detected,"
client            167 drivers/rtc/rtc-rx8025.c 		if (rx8025_write_reg(client, RX8025_REG_CTRL1,
client            189 drivers/rtc/rtc-rx8025.c 	err = rx8025_read_regs(rx8025->client, RX8025_REG_SEC, 7, date);
client            240 drivers/rtc/rtc-rx8025.c 	ret = rx8025_write_regs(rx8025->client, RX8025_REG_SEC, 7, date);
client            244 drivers/rtc/rtc-rx8025.c 	return rx8025_reset_validity(rx8025->client);
client            247 drivers/rtc/rtc-rx8025.c static int rx8025_init_client(struct i2c_client *client)
client            249 drivers/rtc/rtc-rx8025.c 	struct rx8025_data *rx8025 = i2c_get_clientdata(client);
client            254 drivers/rtc/rtc-rx8025.c 	err = rx8025_read_regs(rx8025->client, RX8025_REG_CTRL1, 2, ctrl);
client            262 drivers/rtc/rtc-rx8025.c 		dev_warn(&client->dev, "Alarm was detected\n");
client            274 drivers/rtc/rtc-rx8025.c 		err = rx8025_write_reg(client, RX8025_REG_CTRL2, ctrl2);
client            284 drivers/rtc/rtc-rx8025.c 	struct i2c_client *client = rx8025->client;
client            288 drivers/rtc/rtc-rx8025.c 	if (client->irq <= 0)
client            291 drivers/rtc/rtc-rx8025.c 	err = rx8025_read_regs(client, RX8025_REG_ALDMIN, 2, ald);
client            295 drivers/rtc/rtc-rx8025.c 	ctrl2 = rx8025_read_reg(client, RX8025_REG_CTRL2);
client            320 drivers/rtc/rtc-rx8025.c 	struct i2c_client *client = to_i2c_client(dev);
client            325 drivers/rtc/rtc-rx8025.c 	if (client->irq <= 0)
client            350 drivers/rtc/rtc-rx8025.c 		err = rx8025_write_reg(rx8025->client, RX8025_REG_CTRL1,
client            355 drivers/rtc/rtc-rx8025.c 	err = rx8025_write_regs(rx8025->client, RX8025_REG_ALDMIN, 2, ald);
client            361 drivers/rtc/rtc-rx8025.c 		err = rx8025_write_reg(rx8025->client, RX8025_REG_CTRL1,
client            384 drivers/rtc/rtc-rx8025.c 		err = rx8025_write_reg(rx8025->client, RX8025_REG_CTRL1,
client            419 drivers/rtc/rtc-rx8025.c 	struct i2c_client *client = to_i2c_client(dev);
client            422 drivers/rtc/rtc-rx8025.c 	digoff = rx8025_read_reg(client, RX8025_REG_DIGOFF);
client            436 drivers/rtc/rtc-rx8025.c 	struct i2c_client *client = to_i2c_client(dev);
client            451 drivers/rtc/rtc-rx8025.c 	err = rx8025_write_reg(client, RX8025_REG_DIGOFF, digoff);
client            501 drivers/rtc/rtc-rx8025.c static int rx8025_probe(struct i2c_client *client,
client            504 drivers/rtc/rtc-rx8025.c 	struct i2c_adapter *adapter = client->adapter;
client            515 drivers/rtc/rtc-rx8025.c 	rx8025 = devm_kzalloc(&client->dev, sizeof(*rx8025), GFP_KERNEL);
client            519 drivers/rtc/rtc-rx8025.c 	rx8025->client = client;
client            520 drivers/rtc/rtc-rx8025.c 	i2c_set_clientdata(client, rx8025);
client            522 drivers/rtc/rtc-rx8025.c 	err = rx8025_init_client(client);
client            526 drivers/rtc/rtc-rx8025.c 	rx8025->rtc = devm_rtc_device_register(&client->dev, client->name,
client            529 drivers/rtc/rtc-rx8025.c 		dev_err(&client->dev, "unable to register the class device\n");
client            533 drivers/rtc/rtc-rx8025.c 	if (client->irq > 0) {
client            534 drivers/rtc/rtc-rx8025.c 		dev_info(&client->dev, "IRQ %d supplied\n", client->irq);
client            535 drivers/rtc/rtc-rx8025.c 		err = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            538 drivers/rtc/rtc-rx8025.c 						"rx8025", client);
client            540 drivers/rtc/rtc-rx8025.c 			dev_err(&client->dev, "unable to request IRQ, alarms disabled\n");
client            541 drivers/rtc/rtc-rx8025.c 			client->irq = 0;
client            550 drivers/rtc/rtc-rx8025.c 	err = rx8025_sysfs_register(&client->dev);
client            554 drivers/rtc/rtc-rx8025.c static int rx8025_remove(struct i2c_client *client)
client            556 drivers/rtc/rtc-rx8025.c 	rx8025_sysfs_unregister(&client->dev);
client             72 drivers/rtc/rtc-rx8581.c 	struct i2c_client *client = to_i2c_client(dev);
client             76 drivers/rtc/rtc-rx8581.c 	struct rx8581 *rx8581 = i2c_get_clientdata(client);
client            138 drivers/rtc/rtc-rx8581.c 	struct i2c_client *client = to_i2c_client(dev);
client            141 drivers/rtc/rtc-rx8581.c 	struct rx8581 *rx8581 = i2c_get_clientdata(client);
client            251 drivers/rtc/rtc-rx8581.c static int rx8581_probe(struct i2c_client *client,
client            256 drivers/rtc/rtc-rx8581.c 	const void *data = of_device_get_match_data(&client->dev);
client            276 drivers/rtc/rtc-rx8581.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            281 drivers/rtc/rtc-rx8581.c 	rx8581 = devm_kzalloc(&client->dev, sizeof(struct rx8581), GFP_KERNEL);
client            285 drivers/rtc/rtc-rx8581.c 	i2c_set_clientdata(client, rx8581);
client            287 drivers/rtc/rtc-rx8581.c 	rx8581->regmap = devm_regmap_init_i2c(client, &config->regmap);
client            291 drivers/rtc/rtc-rx8581.c 	rx8581->rtc = devm_rtc_allocate_device(&client->dev);
client             66 drivers/rtc/rtc-s35390a.c 	struct i2c_client *client[8];
client             73 drivers/rtc/rtc-s35390a.c 	struct i2c_client *client = s35390a->client[reg];
client             76 drivers/rtc/rtc-s35390a.c 			.addr = client->addr,
client             82 drivers/rtc/rtc-s35390a.c 	if ((i2c_transfer(client->adapter, msg, 1)) != 1)
client             90 drivers/rtc/rtc-s35390a.c 	struct i2c_client *client = s35390a->client[reg];
client             93 drivers/rtc/rtc-s35390a.c 			.addr = client->addr,
client            100 drivers/rtc/rtc-s35390a.c 	if ((i2c_transfer(client->adapter, msg, 1)) != 1)
client            212 drivers/rtc/rtc-s35390a.c 	struct i2c_client *client = to_i2c_client(dev);
client            213 drivers/rtc/rtc-s35390a.c 	struct s35390a	*s35390a = i2c_get_clientdata(client);
client            217 drivers/rtc/rtc-s35390a.c 	dev_dbg(&client->dev, "%s: tm is secs=%d, mins=%d, hours=%d mday=%d, "
client            244 drivers/rtc/rtc-s35390a.c 	struct i2c_client *client = to_i2c_client(dev);
client            245 drivers/rtc/rtc-s35390a.c 	struct s35390a *s35390a = i2c_get_clientdata(client);
client            268 drivers/rtc/rtc-s35390a.c 	dev_dbg(&client->dev, "%s: tm is secs=%d, mins=%d, hours=%d, mday=%d, "
client            278 drivers/rtc/rtc-s35390a.c 	struct i2c_client *client = to_i2c_client(dev);
client            279 drivers/rtc/rtc-s35390a.c 	struct s35390a *s35390a = i2c_get_clientdata(client);
client            283 drivers/rtc/rtc-s35390a.c 	dev_dbg(&client->dev, "%s: alm is secs=%d, mins=%d, hours=%d mday=%d, "\
client            289 drivers/rtc/rtc-s35390a.c 		dev_warn(&client->dev, "Alarms are only supported on a per minute basis!\n");
client            334 drivers/rtc/rtc-s35390a.c 	struct i2c_client *client = to_i2c_client(dev);
client            335 drivers/rtc/rtc-s35390a.c 	struct s35390a *s35390a = i2c_get_clientdata(client);
client            381 drivers/rtc/rtc-s35390a.c 	dev_dbg(&client->dev, "%s: alm is mins=%d, hours=%d, wday=%d\n",
client            391 drivers/rtc/rtc-s35390a.c 	struct i2c_client *client = to_i2c_client(dev);
client            392 drivers/rtc/rtc-s35390a.c 	struct s35390a *s35390a = i2c_get_clientdata(client);
client            428 drivers/rtc/rtc-s35390a.c static int s35390a_probe(struct i2c_client *client,
client            435 drivers/rtc/rtc-s35390a.c 	struct device *dev = &client->dev;
client            437 drivers/rtc/rtc-s35390a.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            444 drivers/rtc/rtc-s35390a.c 	s35390a->client[0] = client;
client            445 drivers/rtc/rtc-s35390a.c 	i2c_set_clientdata(client, s35390a);
client            449 drivers/rtc/rtc-s35390a.c 		s35390a->client[i] = devm_i2c_new_dummy_device(dev,
client            450 drivers/rtc/rtc-s35390a.c 							       client->adapter,
client            451 drivers/rtc/rtc-s35390a.c 							       client->addr + i);
client            452 drivers/rtc/rtc-s35390a.c 		if (IS_ERR(s35390a->client[i])) {
client            454 drivers/rtc/rtc-s35390a.c 				client->addr + i);
client            455 drivers/rtc/rtc-s35390a.c 			return PTR_ERR(s35390a->client[i]);
client             87 drivers/rtc/rtc-sd3078.c 	struct i2c_client *client = to_i2c_client(dev);
client             88 drivers/rtc/rtc-sd3078.c 	struct sd3078 *sd3078 = i2c_get_clientdata(client);
client            125 drivers/rtc/rtc-sd3078.c 	struct i2c_client *client = to_i2c_client(dev);
client            126 drivers/rtc/rtc-sd3078.c 	struct sd3078 *sd3078 = i2c_get_clientdata(client);
client            166 drivers/rtc/rtc-sd3078.c static int sd3078_probe(struct i2c_client *client,
client            172 drivers/rtc/rtc-sd3078.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            175 drivers/rtc/rtc-sd3078.c 	sd3078 = devm_kzalloc(&client->dev, sizeof(*sd3078), GFP_KERNEL);
client            179 drivers/rtc/rtc-sd3078.c 	sd3078->regmap = devm_regmap_init_i2c(client, &regmap_config);
client            181 drivers/rtc/rtc-sd3078.c 		dev_err(&client->dev, "regmap allocation failed\n");
client            185 drivers/rtc/rtc-sd3078.c 	i2c_set_clientdata(client, sd3078);
client            187 drivers/rtc/rtc-sd3078.c 	sd3078->rtc = devm_rtc_allocate_device(&client->dev);
client             88 drivers/rtc/rtc-x1205.c static int x1205_get_datetime(struct i2c_client *client, struct rtc_time *tm,
client             97 drivers/rtc/rtc-x1205.c 			.addr = client->addr,
client            102 drivers/rtc/rtc-x1205.c 			.addr = client->addr,
client            110 drivers/rtc/rtc-x1205.c 	if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) {
client            111 drivers/rtc/rtc-x1205.c 		dev_err(&client->dev, "%s: read error\n", __func__);
client            115 drivers/rtc/rtc-x1205.c 	dev_dbg(&client->dev,
client            136 drivers/rtc/rtc-x1205.c 	dev_dbg(&client->dev, "%s: tm is secs=%d, mins=%d, hours=%d, "
client            145 drivers/rtc/rtc-x1205.c static int x1205_get_status(struct i2c_client *client, unsigned char *sr)
client            151 drivers/rtc/rtc-x1205.c 			.addr = client->addr,
client            156 drivers/rtc/rtc-x1205.c 			.addr = client->addr,
client            164 drivers/rtc/rtc-x1205.c 	if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) {
client            165 drivers/rtc/rtc-x1205.c 		dev_err(&client->dev, "%s: read error\n", __func__);
client            172 drivers/rtc/rtc-x1205.c static int x1205_set_datetime(struct i2c_client *client, struct rtc_time *tm,
client            187 drivers/rtc/rtc-x1205.c 	dev_dbg(&client->dev,
client            214 drivers/rtc/rtc-x1205.c 	xfer = i2c_master_send(client, wel, 3);
client            216 drivers/rtc/rtc-x1205.c 		dev_err(&client->dev, "%s: wel - %d\n", __func__, xfer);
client            220 drivers/rtc/rtc-x1205.c 	xfer = i2c_master_send(client, rwel, 3);
client            222 drivers/rtc/rtc-x1205.c 		dev_err(&client->dev, "%s: rwel - %d\n", __func__, xfer);
client            226 drivers/rtc/rtc-x1205.c 	xfer = i2c_master_send(client, rdata, sizeof(rdata));
client            228 drivers/rtc/rtc-x1205.c 		dev_err(&client->dev,
client            244 drivers/rtc/rtc-x1205.c 		xfer = i2c_master_send(client, rwel, 3);
client            246 drivers/rtc/rtc-x1205.c 			dev_err(&client->dev,
client            256 drivers/rtc/rtc-x1205.c 		xfer = i2c_master_send(client, al0e, 3);
client            258 drivers/rtc/rtc-x1205.c 			dev_err(&client->dev,
client            270 drivers/rtc/rtc-x1205.c 	xfer = i2c_master_send(client, diswe, 3);
client            272 drivers/rtc/rtc-x1205.c 		dev_err(&client->dev, "%s: diswe - %d\n", __func__, xfer);
client            279 drivers/rtc/rtc-x1205.c static int x1205_fix_osc(struct i2c_client *client)
client            286 drivers/rtc/rtc-x1205.c 	err = x1205_set_datetime(client, &tm, X1205_CCR_BASE, 0);
client            288 drivers/rtc/rtc-x1205.c 		dev_err(&client->dev, "unable to restart the oscillator\n");
client            293 drivers/rtc/rtc-x1205.c static int x1205_get_dtrim(struct i2c_client *client, int *trim)
client            300 drivers/rtc/rtc-x1205.c 			.addr = client->addr,
client            305 drivers/rtc/rtc-x1205.c 			.addr = client->addr,
client            313 drivers/rtc/rtc-x1205.c 	if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) {
client            314 drivers/rtc/rtc-x1205.c 		dev_err(&client->dev, "%s: read error\n", __func__);
client            318 drivers/rtc/rtc-x1205.c 	dev_dbg(&client->dev, "%s: raw dtr=%x\n", __func__, dtr);
client            334 drivers/rtc/rtc-x1205.c static int x1205_get_atrim(struct i2c_client *client, int *trim)
client            341 drivers/rtc/rtc-x1205.c 			.addr = client->addr,
client            346 drivers/rtc/rtc-x1205.c 			.addr = client->addr,
client            354 drivers/rtc/rtc-x1205.c 	if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) {
client            355 drivers/rtc/rtc-x1205.c 		dev_err(&client->dev, "%s: read error\n", __func__);
client            359 drivers/rtc/rtc-x1205.c 	dev_dbg(&client->dev, "%s: raw atr=%x\n", __func__, atr);
client            367 drivers/rtc/rtc-x1205.c 	dev_dbg(&client->dev, "%s: raw atr=%x (%d)\n", __func__, atr, atr);
client            371 drivers/rtc/rtc-x1205.c 	dev_dbg(&client->dev, "%s: real=%d\n", __func__, *trim);
client            380 drivers/rtc/rtc-x1205.c static int x1205_validate_client(struct i2c_client *client)
client            418 drivers/rtc/rtc-x1205.c 				.addr = client->addr,
client            423 drivers/rtc/rtc-x1205.c 				.addr = client->addr,
client            430 drivers/rtc/rtc-x1205.c 		xfer = i2c_transfer(client->adapter, msgs, 2);
client            432 drivers/rtc/rtc-x1205.c 			dev_err(&client->dev,
client            440 drivers/rtc/rtc-x1205.c 			dev_err(&client->dev,
client            456 drivers/rtc/rtc-x1205.c 				.addr = client->addr,
client            461 drivers/rtc/rtc-x1205.c 				.addr = client->addr,
client            468 drivers/rtc/rtc-x1205.c 		xfer = i2c_transfer(client->adapter, msgs, 2);
client            470 drivers/rtc/rtc-x1205.c 			dev_err(&client->dev,
client            481 drivers/rtc/rtc-x1205.c 			dev_dbg(&client->dev,
client            498 drivers/rtc/rtc-x1205.c 	struct i2c_client *client = to_i2c_client(dev);
client            501 drivers/rtc/rtc-x1205.c 			.addr = client->addr,
client            507 drivers/rtc/rtc-x1205.c 			.addr = client->addr,
client            515 drivers/rtc/rtc-x1205.c 	if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) {
client            516 drivers/rtc/rtc-x1205.c 		dev_err(&client->dev, "%s: read error\n", __func__);
client            519 drivers/rtc/rtc-x1205.c 	err = x1205_get_status(client, &status);
client            523 drivers/rtc/rtc-x1205.c 		err = x1205_get_datetime(client, &alrm->time, X1205_ALM0_BASE);
client            617 drivers/rtc/rtc-x1205.c static int x1205_probe(struct i2c_client *client,
client            624 drivers/rtc/rtc-x1205.c 	dev_dbg(&client->dev, "%s\n", __func__);
client            626 drivers/rtc/rtc-x1205.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            629 drivers/rtc/rtc-x1205.c 	if (x1205_validate_client(client) < 0)
client            632 drivers/rtc/rtc-x1205.c 	rtc = devm_rtc_device_register(&client->dev, x1205_driver.driver.name,
client            638 drivers/rtc/rtc-x1205.c 	i2c_set_clientdata(client, rtc);
client            641 drivers/rtc/rtc-x1205.c 	err = x1205_get_status(client, &sr);
client            644 drivers/rtc/rtc-x1205.c 			dev_err(&client->dev,
client            648 drivers/rtc/rtc-x1205.c 			x1205_fix_osc(client);
client            651 drivers/rtc/rtc-x1205.c 		dev_err(&client->dev, "couldn't read status\n");
client            654 drivers/rtc/rtc-x1205.c 	err = x1205_sysfs_register(&client->dev);
client            656 drivers/rtc/rtc-x1205.c 		dev_err(&client->dev, "Unable to create sysfs entries\n");
client            661 drivers/rtc/rtc-x1205.c static int x1205_remove(struct i2c_client *client)
client            663 drivers/rtc/rtc-x1205.c 	x1205_sysfs_unregister(&client->dev);
client            112 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_writeb(fp->client, fp->cpu_fan_speed, CPU_FAN_REG);
client            113 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_writeb(fp->client, fp->system_fan_speed, SYS_FAN_REG);
client            114 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_writeb(fp->client,
client            123 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_readb(tp->client,
client            127 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_readb(tp->client,
client            458 drivers/sbus/char/bbc_envctrl.c 	tp->client = bbc_i2c_attach(bp, op);
client            459 drivers/sbus/char/bbc_envctrl.c 	if (!tp->client) {
client            473 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_writeb(tp->client, 0x00, MAX1617_WR_CFG_BYTE);
client            474 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_writeb(tp->client, 0x02, MAX1617_WR_CVRATE_BYTE);
client            477 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_writeb(tp->client, amb_temp_limits[tp->index].high_pwroff,
client            479 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_writeb(tp->client, amb_temp_limits[tp->index].low_pwroff,
client            481 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].high_pwroff,
client            483 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].low_pwroff,
client            506 drivers/sbus/char/bbc_envctrl.c 	fp->client = bbc_i2c_attach(bp, op);
client            507 drivers/sbus/char/bbc_envctrl.c 	if (!fp->client) {
client            534 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_detach(tp->client);
client            551 drivers/sbus/char/bbc_envctrl.c 	bbc_i2c_detach(fp->client);
client             91 drivers/sbus/char/bbc_i2c.c 	struct bbc_i2c_client *client;
client             94 drivers/sbus/char/bbc_i2c.c 	client = kzalloc(sizeof(*client), GFP_KERNEL);
client             95 drivers/sbus/char/bbc_i2c.c 	if (!client)
client             97 drivers/sbus/char/bbc_i2c.c 	client->bp = bp;
client             98 drivers/sbus/char/bbc_i2c.c 	client->op = op;
client            102 drivers/sbus/char/bbc_i2c.c 		kfree(client);
client            106 drivers/sbus/char/bbc_i2c.c 	client->bus = reg[0];
client            107 drivers/sbus/char/bbc_i2c.c 	client->address = reg[1];
client            111 drivers/sbus/char/bbc_i2c.c 	return client;
client            114 drivers/sbus/char/bbc_i2c.c void bbc_i2c_detach(struct bbc_i2c_client *client)
client            116 drivers/sbus/char/bbc_i2c.c 	struct bbc_i2c_bus *bp = client->bp;
client            117 drivers/sbus/char/bbc_i2c.c 	struct platform_device *op = client->op;
client            120 drivers/sbus/char/bbc_i2c.c 	kfree(client);
client            150 drivers/sbus/char/bbc_i2c.c int bbc_i2c_writeb(struct bbc_i2c_client *client, unsigned char val, int off)
client            152 drivers/sbus/char/bbc_i2c.c 	struct bbc_i2c_bus *bp = client->bp;
client            153 drivers/sbus/char/bbc_i2c.c 	int address = client->address;
client            158 drivers/sbus/char/bbc_i2c.c 		writeb(client->bus, bp->i2c_bussel_reg);
client            181 drivers/sbus/char/bbc_i2c.c int bbc_i2c_readb(struct bbc_i2c_client *client, unsigned char *byte, int off)
client            183 drivers/sbus/char/bbc_i2c.c 	struct bbc_i2c_bus *bp = client->bp;
client            184 drivers/sbus/char/bbc_i2c.c 	unsigned char address = client->address, status;
client            188 drivers/sbus/char/bbc_i2c.c 		writeb(client->bus, bp->i2c_bussel_reg);
client            230 drivers/sbus/char/bbc_i2c.c int bbc_i2c_write_buf(struct bbc_i2c_client *client,
client            236 drivers/sbus/char/bbc_i2c.c 		ret = bbc_i2c_writeb(client, *buf, off);
client            246 drivers/sbus/char/bbc_i2c.c int bbc_i2c_read_buf(struct bbc_i2c_client *client,
client            252 drivers/sbus/char/bbc_i2c.c 		ret = bbc_i2c_readb(client, buf, off);
client             22 drivers/sbus/char/bbc_i2c.h 	struct bbc_i2c_client		*client;
client             44 drivers/sbus/char/bbc_i2c.h 	struct bbc_i2c_client 		*client;
client            199 drivers/sbus/char/oradax.c 	struct task_struct	*client;	/* requesting thread     */
client            552 drivers/sbus/char/oradax.c 	if (ctx->client != current)
client            555 drivers/sbus/char/oradax.c 	ctx->client = NULL;
client            572 drivers/sbus/char/oradax.c 	if (ctx->client != NULL)
client            611 drivers/sbus/char/oradax.c 		ctx->client = current;
client            628 drivers/sbus/char/oradax.c 		ctx->client = current;
client            858 drivers/sbus/char/oradax.c 	ctx->client = current;
client            990 drivers/sbus/char/oradax.c 		ctx->client = NULL; /* no read needed to complete protocol */
client             20 drivers/soc/mediatek/mtk-cmdq-helper.c 	struct cmdq_client *client = from_timer(client, t, timer);
client             22 drivers/soc/mediatek/mtk-cmdq-helper.c 	dev_err(client->client.dev, "cmdq timeout!\n");
client             27 drivers/soc/mediatek/mtk-cmdq-helper.c 	struct cmdq_client *client;
client             29 drivers/soc/mediatek/mtk-cmdq-helper.c 	client = kzalloc(sizeof(*client), GFP_KERNEL);
client             30 drivers/soc/mediatek/mtk-cmdq-helper.c 	if (!client)
client             33 drivers/soc/mediatek/mtk-cmdq-helper.c 	client->timeout_ms = timeout;
client             35 drivers/soc/mediatek/mtk-cmdq-helper.c 		spin_lock_init(&client->lock);
client             36 drivers/soc/mediatek/mtk-cmdq-helper.c 		timer_setup(&client->timer, cmdq_client_timeout, 0);
client             38 drivers/soc/mediatek/mtk-cmdq-helper.c 	client->pkt_cnt = 0;
client             39 drivers/soc/mediatek/mtk-cmdq-helper.c 	client->client.dev = dev;
client             40 drivers/soc/mediatek/mtk-cmdq-helper.c 	client->client.tx_block = false;
client             41 drivers/soc/mediatek/mtk-cmdq-helper.c 	client->client.knows_txdone = true;
client             42 drivers/soc/mediatek/mtk-cmdq-helper.c 	client->chan = mbox_request_channel(&client->client, index);
client             44 drivers/soc/mediatek/mtk-cmdq-helper.c 	if (IS_ERR(client->chan)) {
client             48 drivers/soc/mediatek/mtk-cmdq-helper.c 		err = PTR_ERR(client->chan);
client             49 drivers/soc/mediatek/mtk-cmdq-helper.c 		kfree(client);
client             54 drivers/soc/mediatek/mtk-cmdq-helper.c 	return client;
client             58 drivers/soc/mediatek/mtk-cmdq-helper.c void cmdq_mbox_destroy(struct cmdq_client *client)
client             60 drivers/soc/mediatek/mtk-cmdq-helper.c 	if (client->timeout_ms != CMDQ_NO_TIMEOUT) {
client             61 drivers/soc/mediatek/mtk-cmdq-helper.c 		spin_lock(&client->lock);
client             62 drivers/soc/mediatek/mtk-cmdq-helper.c 		del_timer_sync(&client->timer);
client             63 drivers/soc/mediatek/mtk-cmdq-helper.c 		spin_unlock(&client->lock);
client             65 drivers/soc/mediatek/mtk-cmdq-helper.c 	mbox_free_channel(client->chan);
client             66 drivers/soc/mediatek/mtk-cmdq-helper.c 	kfree(client);
client             70 drivers/soc/mediatek/mtk-cmdq-helper.c struct cmdq_pkt *cmdq_pkt_create(struct cmdq_client *client, size_t size)
client             85 drivers/soc/mediatek/mtk-cmdq-helper.c 	pkt->cl = (void *)client;
client             87 drivers/soc/mediatek/mtk-cmdq-helper.c 	dev = client->chan->mbox->dev;
client            105 drivers/soc/mediatek/mtk-cmdq-helper.c 	struct cmdq_client *client = (struct cmdq_client *)pkt->cl;
client            107 drivers/soc/mediatek/mtk-cmdq-helper.c 	dma_unmap_single(client->chan->mbox->dev, pkt->pa_base, pkt->buf_size,
client            212 drivers/soc/mediatek/mtk-cmdq-helper.c 	struct cmdq_client *client = (struct cmdq_client *)pkt->cl;
client            214 drivers/soc/mediatek/mtk-cmdq-helper.c 	if (client->timeout_ms != CMDQ_NO_TIMEOUT) {
client            217 drivers/soc/mediatek/mtk-cmdq-helper.c 		spin_lock_irqsave(&client->lock, flags);
client            218 drivers/soc/mediatek/mtk-cmdq-helper.c 		if (--client->pkt_cnt == 0)
client            219 drivers/soc/mediatek/mtk-cmdq-helper.c 			del_timer(&client->timer);
client            221 drivers/soc/mediatek/mtk-cmdq-helper.c 			mod_timer(&client->timer, jiffies +
client            222 drivers/soc/mediatek/mtk-cmdq-helper.c 				  msecs_to_jiffies(client->timeout_ms));
client            223 drivers/soc/mediatek/mtk-cmdq-helper.c 		spin_unlock_irqrestore(&client->lock, flags);
client            226 drivers/soc/mediatek/mtk-cmdq-helper.c 	dma_sync_single_for_cpu(client->chan->mbox->dev, pkt->pa_base,
client            239 drivers/soc/mediatek/mtk-cmdq-helper.c 	struct cmdq_client *client = (struct cmdq_client *)pkt->cl;
client            250 drivers/soc/mediatek/mtk-cmdq-helper.c 	dma_sync_single_for_device(client->chan->mbox->dev, pkt->pa_base,
client            253 drivers/soc/mediatek/mtk-cmdq-helper.c 	if (client->timeout_ms != CMDQ_NO_TIMEOUT) {
client            254 drivers/soc/mediatek/mtk-cmdq-helper.c 		spin_lock_irqsave(&client->lock, flags);
client            255 drivers/soc/mediatek/mtk-cmdq-helper.c 		if (client->pkt_cnt++ == 0)
client            256 drivers/soc/mediatek/mtk-cmdq-helper.c 			mod_timer(&client->timer, jiffies +
client            257 drivers/soc/mediatek/mtk-cmdq-helper.c 				  msecs_to_jiffies(client->timeout_ms));
client            258 drivers/soc/mediatek/mtk-cmdq-helper.c 		spin_unlock_irqrestore(&client->lock, flags);
client            261 drivers/soc/mediatek/mtk-cmdq-helper.c 	err = mbox_send_message(client->chan, pkt);
client            265 drivers/soc/mediatek/mtk-cmdq-helper.c 	mbox_client_txdone(client->chan, 0);
client            142 drivers/soc/qcom/qmi_interface.c 		qmi_recv_bye(qmi, le32_to_cpu(pkt->client.node));
client            158 drivers/soc/qcom/qmi_interface.c 				    le32_to_cpu(pkt->client.node),
client            159 drivers/soc/qcom/qmi_interface.c 				    le32_to_cpu(pkt->client.port));
client            104 drivers/soc/qcom/rpmh-internal.h 	struct rpmh_ctrlr client;
client            669 drivers/soc/qcom/rpmh-rsc.c 	spin_lock_init(&drv->client.cache_lock);
client            670 drivers/soc/qcom/rpmh-rsc.c 	INIT_LIST_HEAD(&drv->client.cache);
client            671 drivers/soc/qcom/rpmh-rsc.c 	INIT_LIST_HEAD(&drv->client.batch_cache);
client             40 drivers/soc/qcom/rpmh.c #define ctrlr_to_drv(ctrlr) container_of(ctrlr, struct rsc_drv, client)
client             75 drivers/soc/qcom/rpmh.c 	return &drv->client;
client             41 drivers/spi/spi-sc18is602.c 	struct i2c_client	*client;
client             57 drivers/spi/spi-sc18is602.c 		err = i2c_master_recv(hw->client, dummy, 1);
client            106 drivers/spi/spi-sc18is602.c 		ret = i2c_master_send(hw->client, hw->buffer, hw->tlen);
client            118 drivers/spi/spi-sc18is602.c 			ret = i2c_master_recv(hw->client, hw->buffer, rlen);
client            165 drivers/spi/spi-sc18is602.c 	ret = i2c_smbus_write_byte_data(hw->client, 0xf0, ctrl);
client            234 drivers/spi/spi-sc18is602.c static int sc18is602_probe(struct i2c_client *client,
client            237 drivers/spi/spi-sc18is602.c 	struct device *dev = &client->dev;
client            244 drivers/spi/spi-sc18is602.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C |
client            253 drivers/spi/spi-sc18is602.c 	i2c_set_clientdata(client, hw);
client            262 drivers/spi/spi-sc18is602.c 	hw->client = client;
client            266 drivers/spi/spi-sc18is602.c 	if (client->dev.of_node)
client            267 drivers/spi/spi-sc18is602.c 		hw->id = (enum chips)of_device_get_match_data(&client->dev);
client            293 drivers/spi/spi-sc18is602.c 	master->bus_num = np ? -1 : client->adapter->nr;
client             25 drivers/staging/fieldbus/anybuss/anybuss-client.h 	void (*on_area_updated)(struct anybuss_client *client);
client             26 drivers/staging/fieldbus/anybuss/anybuss-client.h 	void (*on_online_changed)(struct anybuss_client *client, bool online);
client             51 drivers/staging/fieldbus/anybuss/anybuss-client.h anybuss_get_drvdata(const struct anybuss_client *client)
client             53 drivers/staging/fieldbus/anybuss/anybuss-client.h 	return dev_get_drvdata(&client->dev);
client             57 drivers/staging/fieldbus/anybuss/anybuss-client.h anybuss_set_drvdata(struct anybuss_client *client, void *data)
client             59 drivers/staging/fieldbus/anybuss/anybuss-client.h 	dev_set_drvdata(&client->dev, data);
client             62 drivers/staging/fieldbus/anybuss/anybuss-client.h int anybuss_set_power(struct anybuss_client *client, bool power_on);
client             82 drivers/staging/fieldbus/anybuss/anybuss-client.h int anybuss_start_init(struct anybuss_client *client,
client             84 drivers/staging/fieldbus/anybuss/anybuss-client.h int anybuss_finish_init(struct anybuss_client *client);
client             85 drivers/staging/fieldbus/anybuss/anybuss-client.h int anybuss_read_fbctrl(struct anybuss_client *client, u16 addr,
client             87 drivers/staging/fieldbus/anybuss/anybuss-client.h int anybuss_send_msg(struct anybuss_client *client, u16 cmd_num,
client             89 drivers/staging/fieldbus/anybuss/anybuss-client.h int anybuss_send_ext(struct anybuss_client *client, u16 cmd_num,
client             91 drivers/staging/fieldbus/anybuss/anybuss-client.h int anybuss_recv_msg(struct anybuss_client *client, u16 cmd_num,
client             95 drivers/staging/fieldbus/anybuss/anybuss-client.h int anybuss_write_input(struct anybuss_client *client,
client             98 drivers/staging/fieldbus/anybuss/anybuss-client.h int anybuss_read_output(struct anybuss_client *client,
client             35 drivers/staging/fieldbus/anybuss/hms-profinet.c 	struct anybuss_client *client;
client             46 drivers/staging/fieldbus/anybuss/hms-profinet.c 	return anybuss_read_output(priv->client, buf, size, offset);
client             55 drivers/staging/fieldbus/anybuss/hms-profinet.c 	return anybuss_write_input(priv->client, buf, size, offset);
client             65 drivers/staging/fieldbus/anybuss/hms-profinet.c 	ret = anybuss_recv_msg(priv->client, 0x0010, &response,
client             90 drivers/staging/fieldbus/anybuss/hms-profinet.c 	struct anybuss_client *client = priv->client;
client            106 drivers/staging/fieldbus/anybuss/hms-profinet.c 	anybuss_set_power(client, false);
client            107 drivers/staging/fieldbus/anybuss/hms-profinet.c 	ret = anybuss_set_power(client, true);
client            110 drivers/staging/fieldbus/anybuss/hms-profinet.c 	ret = anybuss_start_init(client, &mem_cfg);
client            113 drivers/staging/fieldbus/anybuss/hms-profinet.c 	ret = anybuss_finish_init(client);
client            120 drivers/staging/fieldbus/anybuss/hms-profinet.c 	anybuss_set_power(client, false);
client            127 drivers/staging/fieldbus/anybuss/hms-profinet.c 	struct anybuss_client *client = priv->client;
client            129 drivers/staging/fieldbus/anybuss/hms-profinet.c 	anybuss_set_power(client, false);
client            149 drivers/staging/fieldbus/anybuss/hms-profinet.c static void profi_on_area_updated(struct anybuss_client *client)
client            151 drivers/staging/fieldbus/anybuss/hms-profinet.c 	struct profi_priv *priv = anybuss_get_drvdata(client);
client            156 drivers/staging/fieldbus/anybuss/hms-profinet.c static void profi_on_online_changed(struct anybuss_client *client, bool online)
client            158 drivers/staging/fieldbus/anybuss/hms-profinet.c 	struct profi_priv *priv = anybuss_get_drvdata(client);
client            163 drivers/staging/fieldbus/anybuss/hms-profinet.c static int profinet_probe(struct anybuss_client *client)
client            166 drivers/staging/fieldbus/anybuss/hms-profinet.c 	struct device *dev = &client->dev;
client            169 drivers/staging/fieldbus/anybuss/hms-profinet.c 	client->on_area_updated = profi_on_area_updated;
client            170 drivers/staging/fieldbus/anybuss/hms-profinet.c 	client->on_online_changed = profi_on_online_changed;
client            175 drivers/staging/fieldbus/anybuss/hms-profinet.c 	priv->client = client;
client            191 drivers/staging/fieldbus/anybuss/hms-profinet.c 	anybuss_set_drvdata(client, priv);
client            196 drivers/staging/fieldbus/anybuss/hms-profinet.c static int profinet_remove(struct anybuss_client *client)
client            198 drivers/staging/fieldbus/anybuss/hms-profinet.c 	struct profi_priv *priv = anybuss_get_drvdata(client);
client            371 drivers/staging/fieldbus/anybuss/host.c 	struct anybuss_client *client;
client            484 drivers/staging/fieldbus/anybuss/host.c 	struct anybuss_client *client = cd->client;
client            491 drivers/staging/fieldbus/anybuss/host.c 	if (client->on_online_changed)
client            492 drivers/staging/fieldbus/anybuss/host.c 		client->on_online_changed(client, false);
client            532 drivers/staging/fieldbus/anybuss/host.c int anybuss_set_power(struct anybuss_client *client, bool power_on)
client            534 drivers/staging/fieldbus/anybuss/host.c 	struct anybuss_host *cd = client->host;
client            914 drivers/staging/fieldbus/anybuss/host.c 	struct anybuss_client *client = cd->client;
client            930 drivers/staging/fieldbus/anybuss/host.c 		if (client->on_online_changed)
client            931 drivers/staging/fieldbus/anybuss/host.c 			client->on_online_changed(client, true);
client            935 drivers/staging/fieldbus/anybuss/host.c 		if (client->on_online_changed)
client            936 drivers/staging/fieldbus/anybuss/host.c 			client->on_online_changed(client, false);
client            940 drivers/staging/fieldbus/anybuss/host.c 		if (client->on_area_updated)
client            941 drivers/staging/fieldbus/anybuss/host.c 			client->on_area_updated(client);
client           1007 drivers/staging/fieldbus/anybuss/host.c int anybuss_start_init(struct anybuss_client *client,
client           1012 drivers/staging/fieldbus/anybuss/host.c 	struct anybuss_host *cd = client->host;
client           1047 drivers/staging/fieldbus/anybuss/host.c int anybuss_finish_init(struct anybuss_client *client)
client           1049 drivers/staging/fieldbus/anybuss/host.c 	struct anybuss_host *cd = client->host;
client           1056 drivers/staging/fieldbus/anybuss/host.c int anybuss_read_fbctrl(struct anybuss_client *client, u16 addr,
client           1059 drivers/staging/fieldbus/anybuss/host.c 	struct anybuss_host *cd = client->host;
client           1081 drivers/staging/fieldbus/anybuss/host.c int anybuss_write_input(struct anybuss_client *client,
client           1086 drivers/staging/fieldbus/anybuss/host.c 	struct anybuss_host *cd = client->host;
client           1106 drivers/staging/fieldbus/anybuss/host.c int anybuss_read_output(struct anybuss_client *client,
client           1111 drivers/staging/fieldbus/anybuss/host.c 	struct anybuss_host *cd = client->host;
client           1136 drivers/staging/fieldbus/anybuss/host.c int anybuss_send_msg(struct anybuss_client *client, u16 cmd_num,
client           1139 drivers/staging/fieldbus/anybuss/host.c 	struct anybuss_host *cd = client->host;
client           1146 drivers/staging/fieldbus/anybuss/host.c int anybuss_send_ext(struct anybuss_client *client, u16 cmd_num,
client           1149 drivers/staging/fieldbus/anybuss/host.c 	struct anybuss_host *cd = client->host;
client           1156 drivers/staging/fieldbus/anybuss/host.c int anybuss_recv_msg(struct anybuss_client *client, u16 cmd_num,
client           1159 drivers/staging/fieldbus/anybuss/host.c 	struct anybuss_host *cd = client->host;
client           1369 drivers/staging/fieldbus/anybuss/host.c 	cd->client = kzalloc(sizeof(*cd->client), GFP_KERNEL);
client           1370 drivers/staging/fieldbus/anybuss/host.c 	if (!cd->client) {
client           1374 drivers/staging/fieldbus/anybuss/host.c 	cd->client->anybus_id = fieldbus_type;
client           1375 drivers/staging/fieldbus/anybuss/host.c 	cd->client->host = cd;
client           1376 drivers/staging/fieldbus/anybuss/host.c 	cd->client->dev.bus = &anybus_bus;
client           1377 drivers/staging/fieldbus/anybuss/host.c 	cd->client->dev.parent = dev;
client           1378 drivers/staging/fieldbus/anybuss/host.c 	cd->client->dev.release = client_device_release;
client           1379 drivers/staging/fieldbus/anybuss/host.c 	cd->client->dev.of_node =
client           1381 drivers/staging/fieldbus/anybuss/host.c 	dev_set_name(&cd->client->dev, "anybuss.card%d", cd->host_idx);
client           1382 drivers/staging/fieldbus/anybuss/host.c 	ret = device_register(&cd->client->dev);
client           1387 drivers/staging/fieldbus/anybuss/host.c 	device_unregister(&cd->client->dev);
client           1402 drivers/staging/fieldbus/anybuss/host.c 	device_unregister(&cd->client->dev);
client             20 drivers/staging/iio/addac/adt7316-i2c.c static int adt7316_i2c_read(void *client, u8 reg, u8 *data)
client             22 drivers/staging/iio/addac/adt7316-i2c.c 	struct i2c_client *cl = client;
client             31 drivers/staging/iio/addac/adt7316-i2c.c 	ret = i2c_smbus_read_byte(client);
client             42 drivers/staging/iio/addac/adt7316-i2c.c static int adt7316_i2c_write(void *client, u8 reg, u8 data)
client             44 drivers/staging/iio/addac/adt7316-i2c.c 	struct i2c_client *cl = client;
client             54 drivers/staging/iio/addac/adt7316-i2c.c static int adt7316_i2c_multi_read(void *client, u8 reg, u8 count, u8 *data)
client             56 drivers/staging/iio/addac/adt7316-i2c.c 	struct i2c_client *cl = client;
client             73 drivers/staging/iio/addac/adt7316-i2c.c static int adt7316_i2c_multi_write(void *client, u8 reg, u8 count, u8 *data)
client             75 drivers/staging/iio/addac/adt7316-i2c.c 	struct i2c_client *cl = client;
client             96 drivers/staging/iio/addac/adt7316-i2c.c static int adt7316_i2c_probe(struct i2c_client *client,
client            100 drivers/staging/iio/addac/adt7316-i2c.c 		.client = client,
client            101 drivers/staging/iio/addac/adt7316-i2c.c 		.irq = client->irq,
client            108 drivers/staging/iio/addac/adt7316-i2c.c 	return adt7316_probe(&client->dev, &bus, id->name);
client             25 drivers/staging/iio/addac/adt7316-spi.c static int adt7316_spi_multi_read(void *client, u8 reg, u8 count, u8 *data)
client             27 drivers/staging/iio/addac/adt7316-spi.c 	struct spi_device *spi_dev = client;
client             54 drivers/staging/iio/addac/adt7316-spi.c static int adt7316_spi_multi_write(void *client, u8 reg, u8 count, u8 *data)
client             56 drivers/staging/iio/addac/adt7316-spi.c 	struct spi_device *spi_dev = client;
client             77 drivers/staging/iio/addac/adt7316-spi.c static int adt7316_spi_read(void *client, u8 reg, u8 *data)
client             79 drivers/staging/iio/addac/adt7316-spi.c 	return adt7316_spi_multi_read(client, reg, 1, data);
client             82 drivers/staging/iio/addac/adt7316-spi.c static int adt7316_spi_write(void *client, u8 reg, u8 val)
client             84 drivers/staging/iio/addac/adt7316-spi.c 	return adt7316_spi_multi_write(client, reg, 1, &val);
client             94 drivers/staging/iio/addac/adt7316-spi.c 		.client = spi_dev,
client            242 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG1, config1);
client            306 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG1, config1);
client            347 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2);
client            440 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2);
client            500 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2);
client            539 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2);
client            577 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG1, config1);
client            615 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG3, config3);
client            661 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG3, config3);
client            707 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG3, config3);
client            746 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG3, config3);
client            785 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG3, config3);
client            828 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_DAC_CONFIG, dac_config);
client            888 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_DAC_CONFIG, dac_config);
client            943 drivers/staging/iio/addac/adt7316.c 		ret = chip->bus.write(chip->bus.client, ADT7316_LDAC_CONFIG,
client            985 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_DAC_CONFIG, dac_config);
client           1024 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_DAC_CONFIG, dac_config);
client           1084 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_LDAC_CONFIG,
client           1113 drivers/staging/iio/addac/adt7316.c 		ret = chip->bus.read(chip->bus.client,
client           1118 drivers/staging/iio/addac/adt7316.c 		ret = chip->bus.read(chip->bus.client,
client           1127 drivers/staging/iio/addac/adt7316.c 		ret = chip->bus.read(chip->bus.client,
client           1132 drivers/staging/iio/addac/adt7316.c 		ret = chip->bus.read(chip->bus.client,
client           1142 drivers/staging/iio/addac/adt7316.c 		ret = chip->bus.read(chip->bus.client,
client           1147 drivers/staging/iio/addac/adt7316.c 		ret = chip->bus.read(chip->bus.client,
client           1251 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.read(chip->bus.client, offset_addr, &val);
client           1280 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, offset_addr, val);
client           1410 drivers/staging/iio/addac/adt7316.c 		ret = chip->bus.read(chip->bus.client,
client           1416 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.read(chip->bus.client,
client           1456 drivers/staging/iio/addac/adt7316.c 		ret = chip->bus.write(chip->bus.client,
client           1463 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client,
client           1576 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.read(chip->bus.client, ADT7316_DEVICE_ID, &id);
client           1594 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.read(chip->bus.client, ADT7316_MANUFACTURE_ID, &id);
client           1613 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.read(chip->bus.client, ADT7316_DEVICE_REV, &rev);
client           1631 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.read(chip->bus.client, ADT7316_SPI_LOCK_STAT, &stat);
client           1738 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.read(chip->bus.client, ADT7316_INT_STAT1, &stat1);
client           1787 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.read(chip->bus.client, ADT7316_INT_STAT2, &stat2);
client           1874 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_INT_MASK2, mask);
client           1888 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_INT_MASK1, mask);
client           1910 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.read(chip->bus.client, this_attr->address, &val);
client           1959 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, this_attr->address, val);
client           1990 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG1, config1);
client           2188 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG1, chip->config1);
client           2192 drivers/staging/iio/addac/adt7316.c 	ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG3, chip->config3);
client             17 drivers/staging/iio/addac/adt7316.h 	void *client;
client             19 drivers/staging/iio/addac/adt7316.h 	int (*read)(void *client, u8 reg, u8 *data);
client             20 drivers/staging/iio/addac/adt7316.h 	int (*write)(void *client, u8 reg, u8 val);
client             21 drivers/staging/iio/addac/adt7316.h 	int (*multi_read)(void *client, u8 first_reg, u8 count, u8 *data);
client             22 drivers/staging/iio/addac/adt7316.h 	int (*multi_write)(void *client, u8 first_reg, u8 count, u8 *data);
client             75 drivers/staging/iio/cdc/ad7150.c 	struct i2c_client *client;
client            112 drivers/staging/iio/cdc/ad7150.c 		ret = i2c_smbus_read_word_data(chip->client,
client            119 drivers/staging/iio/cdc/ad7150.c 		ret = i2c_smbus_read_word_data(chip->client,
client            140 drivers/staging/iio/cdc/ad7150.c 	ret = i2c_smbus_read_byte_data(chip->client, AD7150_CFG);
client            191 drivers/staging/iio/cdc/ad7150.c 		return i2c_smbus_write_word_data(chip->client,
client            205 drivers/staging/iio/cdc/ad7150.c 	ret = i2c_smbus_write_byte_data(chip->client,
client            210 drivers/staging/iio/cdc/ad7150.c 	return i2c_smbus_write_byte_data(chip->client,
client            234 drivers/staging/iio/cdc/ad7150.c 	ret = i2c_smbus_read_byte_data(chip->client, AD7150_CFG);
client            269 drivers/staging/iio/cdc/ad7150.c 	ret = i2c_smbus_write_byte_data(chip->client, AD7150_CFG, cfg);
client            493 drivers/staging/iio/cdc/ad7150.c 	ret = i2c_smbus_read_byte_data(chip->client, AD7150_STATUS);
client            573 drivers/staging/iio/cdc/ad7150.c static int ad7150_probe(struct i2c_client *client,
client            580 drivers/staging/iio/cdc/ad7150.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*chip));
client            586 drivers/staging/iio/cdc/ad7150.c 	i2c_set_clientdata(client, indio_dev);
client            588 drivers/staging/iio/cdc/ad7150.c 	chip->client = client;
client            594 drivers/staging/iio/cdc/ad7150.c 	indio_dev->dev.parent = &client->dev;
client            600 drivers/staging/iio/cdc/ad7150.c 	if (client->irq) {
client            601 drivers/staging/iio/cdc/ad7150.c 		ret = devm_request_threaded_irq(&client->dev, client->irq,
client            613 drivers/staging/iio/cdc/ad7150.c 	if (client->dev.platform_data) {
client            614 drivers/staging/iio/cdc/ad7150.c 		ret = devm_request_threaded_irq(&client->dev, *(unsigned int *)
client            615 drivers/staging/iio/cdc/ad7150.c 						client->dev.platform_data,
client            631 drivers/staging/iio/cdc/ad7150.c 	dev_info(&client->dev, "%s capacitive sensor registered,irq: %d\n",
client            632 drivers/staging/iio/cdc/ad7150.c 		 id->name, client->irq);
client             92 drivers/staging/iio/cdc/ad7746.c 	struct i2c_client *client;
client            234 drivers/staging/iio/cdc/ad7746.c 			ret = i2c_smbus_write_byte_data(chip->client,
client            239 drivers/staging/iio/cdc/ad7746.c 			ret = i2c_smbus_write_byte_data(chip->client,
client            261 drivers/staging/iio/cdc/ad7746.c 		ret = i2c_smbus_write_byte_data(chip->client,
client            271 drivers/staging/iio/cdc/ad7746.c 		ret = i2c_smbus_write_byte_data(chip->client,
client            303 drivers/staging/iio/cdc/ad7746.c 	ret = i2c_smbus_write_byte_data(chip->client, AD7746_REG_CFG, regval);
client            309 drivers/staging/iio/cdc/ad7746.c 		ret = i2c_smbus_read_byte_data(chip->client, AD7746_REG_CFG);
client            452 drivers/staging/iio/cdc/ad7746.c 		ret = i2c_smbus_write_word_swapped(chip->client, reg, val);
client            463 drivers/staging/iio/cdc/ad7746.c 		ret = i2c_smbus_write_word_swapped(chip->client,
client            487 drivers/staging/iio/cdc/ad7746.c 		ret = i2c_smbus_write_byte_data(chip->client,
client            492 drivers/staging/iio/cdc/ad7746.c 		ret = i2c_smbus_write_byte_data(chip->client,
client            548 drivers/staging/iio/cdc/ad7746.c 		ret = i2c_smbus_write_byte_data(chip->client, AD7746_REG_CFG,
client            556 drivers/staging/iio/cdc/ad7746.c 		ret = i2c_smbus_read_i2c_block_data(chip->client,
client            596 drivers/staging/iio/cdc/ad7746.c 		ret = i2c_smbus_read_word_swapped(chip->client, reg);
client            606 drivers/staging/iio/cdc/ad7746.c 		ret = i2c_smbus_read_word_swapped(chip->client,
client            676 drivers/staging/iio/cdc/ad7746.c static int ad7746_probe(struct i2c_client *client,
client            679 drivers/staging/iio/cdc/ad7746.c 	struct ad7746_platform_data *pdata = client->dev.platform_data;
client            685 drivers/staging/iio/cdc/ad7746.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*chip));
client            691 drivers/staging/iio/cdc/ad7746.c 	i2c_set_clientdata(client, indio_dev);
client            693 drivers/staging/iio/cdc/ad7746.c 	chip->client = client;
client            698 drivers/staging/iio/cdc/ad7746.c 	indio_dev->dev.parent = &client->dev;
client            725 drivers/staging/iio/cdc/ad7746.c 		dev_warn(&client->dev, "No platform data? using default\n");
client            730 drivers/staging/iio/cdc/ad7746.c 	ret = i2c_smbus_write_byte_data(chip->client,
client             86 drivers/staging/iio/impedance-analyzer/ad5933.c 	struct i2c_client		*client;
client            126 drivers/staging/iio/impedance-analyzer/ad5933.c static int ad5933_i2c_write(struct i2c_client *client, u8 reg, u8 len, u8 *data)
client            131 drivers/staging/iio/impedance-analyzer/ad5933.c 		ret = i2c_smbus_write_byte_data(client, reg++, *data++);
client            133 drivers/staging/iio/impedance-analyzer/ad5933.c 			dev_err(&client->dev, "I2C write error\n");
client            140 drivers/staging/iio/impedance-analyzer/ad5933.c static int ad5933_i2c_read(struct i2c_client *client, u8 reg, u8 len, u8 *data)
client            145 drivers/staging/iio/impedance-analyzer/ad5933.c 		ret = i2c_smbus_read_byte_data(client, reg++);
client            147 drivers/staging/iio/impedance-analyzer/ad5933.c 			dev_err(&client->dev, "I2C read error\n");
client            159 drivers/staging/iio/impedance-analyzer/ad5933.c 	return ad5933_i2c_write(st->client,
client            167 drivers/staging/iio/impedance-analyzer/ad5933.c 	return ad5933_i2c_write(st->client,
client            177 drivers/staging/iio/impedance-analyzer/ad5933.c 		ret =  ad5933_i2c_read(st->client, AD5933_REG_STATUS, 1, &val);
client            213 drivers/staging/iio/impedance-analyzer/ad5933.c 	return ad5933_i2c_write(st->client, reg, 3, &dat.d8[1]);
client            236 drivers/staging/iio/impedance-analyzer/ad5933.c 	ret = ad5933_i2c_write(st->client,
client            245 drivers/staging/iio/impedance-analyzer/ad5933.c 	return ad5933_i2c_write(st->client, AD5933_REG_INC_NUM, 2, (u8 *)&dat);
client            278 drivers/staging/iio/impedance-analyzer/ad5933.c 	ret = ad5933_i2c_read(st->client, this_attr->address, 3, &dat.d8[1]);
client            425 drivers/staging/iio/impedance-analyzer/ad5933.c 		ret = ad5933_i2c_write(st->client,
client            434 drivers/staging/iio/impedance-analyzer/ad5933.c 		ret = ad5933_i2c_write(st->client, AD5933_REG_INC_NUM, 2,
client            520 drivers/staging/iio/impedance-analyzer/ad5933.c 		ret = ad5933_i2c_read(st->client,
client            625 drivers/staging/iio/impedance-analyzer/ad5933.c 	struct iio_dev *indio_dev = i2c_get_clientdata(st->client);
client            639 drivers/staging/iio/impedance-analyzer/ad5933.c 	ret = ad5933_i2c_read(st->client, AD5933_REG_STATUS, 1, &status);
client            646 drivers/staging/iio/impedance-analyzer/ad5933.c 		ret = ad5933_i2c_read(st->client,
client            679 drivers/staging/iio/impedance-analyzer/ad5933.c static int ad5933_probe(struct i2c_client *client,
client            687 drivers/staging/iio/impedance-analyzer/ad5933.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*st));
client            692 drivers/staging/iio/impedance-analyzer/ad5933.c 	i2c_set_clientdata(client, indio_dev);
client            693 drivers/staging/iio/impedance-analyzer/ad5933.c 	st->client = client;
client            697 drivers/staging/iio/impedance-analyzer/ad5933.c 	st->reg = devm_regulator_get(&client->dev, "vdd");
client            703 drivers/staging/iio/impedance-analyzer/ad5933.c 		dev_err(&client->dev, "Failed to enable specified VDD supply\n");
client            713 drivers/staging/iio/impedance-analyzer/ad5933.c 	st->mclk = devm_clk_get(&client->dev, "mclk");
client            738 drivers/staging/iio/impedance-analyzer/ad5933.c 	indio_dev->dev.parent = &client->dev;
client            769 drivers/staging/iio/impedance-analyzer/ad5933.c static int ad5933_remove(struct i2c_client *client)
client            771 drivers/staging/iio/impedance-analyzer/ad5933.c 	struct iio_dev *indio_dev = i2c_get_clientdata(client);
client            112 drivers/staging/iio/meter/ade7854-i2c.c static int ade7854_i2c_probe(struct i2c_client *client,
client            118 drivers/staging/iio/meter/ade7854-i2c.c 	indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*st));
client            122 drivers/staging/iio/meter/ade7854-i2c.c 	i2c_set_clientdata(client, indio_dev);
client            125 drivers/staging/iio/meter/ade7854-i2c.c 	st->i2c = client;
client            126 drivers/staging/iio/meter/ade7854-i2c.c 	st->irq = client->irq;
client            128 drivers/staging/iio/meter/ade7854-i2c.c 	return ade7854_probe(indio_dev, &client->dev);
client             84 drivers/staging/media/soc_camera/imx074.c static struct imx074 *to_imx074(const struct i2c_client *client)
client             86 drivers/staging/media/soc_camera/imx074.c 	return container_of(i2c_get_clientdata(client), struct imx074, subdev);
client            101 drivers/staging/media/soc_camera/imx074.c static int reg_write(struct i2c_client *client, const u16 addr, const u8 data)
client            103 drivers/staging/media/soc_camera/imx074.c 	struct i2c_adapter *adap = client->adapter;
client            108 drivers/staging/media/soc_camera/imx074.c 	msg.addr = client->addr;
client            124 drivers/staging/media/soc_camera/imx074.c static int reg_read(struct i2c_client *client, const u16 addr)
client            130 drivers/staging/media/soc_camera/imx074.c 			.addr  = client->addr,
client            135 drivers/staging/media/soc_camera/imx074.c 			.addr  = client->addr,
client            142 drivers/staging/media/soc_camera/imx074.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            144 drivers/staging/media/soc_camera/imx074.c 		dev_warn(&client->dev, "Reading register %x from %x failed\n",
client            145 drivers/staging/media/soc_camera/imx074.c 			 addr, client->addr);
client            158 drivers/staging/media/soc_camera/imx074.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            159 drivers/staging/media/soc_camera/imx074.c 	struct imx074 *priv = to_imx074(client);
client            191 drivers/staging/media/soc_camera/imx074.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            192 drivers/staging/media/soc_camera/imx074.c 	struct imx074 *priv = to_imx074(client);
client            243 drivers/staging/media/soc_camera/imx074.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            246 drivers/staging/media/soc_camera/imx074.c 	return reg_write(client, MODE_SELECT, !!enable);
client            251 drivers/staging/media/soc_camera/imx074.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            252 drivers/staging/media/soc_camera/imx074.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            253 drivers/staging/media/soc_camera/imx074.c 	struct imx074 *priv = to_imx074(client);
client            255 drivers/staging/media/soc_camera/imx074.c 	return soc_camera_set_power(&client->dev, ssdd, priv->clk, on);
client            291 drivers/staging/media/soc_camera/imx074.c static int imx074_video_probe(struct i2c_client *client)
client            293 drivers/staging/media/soc_camera/imx074.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client            302 drivers/staging/media/soc_camera/imx074.c 	ret = reg_read(client, 0);
client            308 drivers/staging/media/soc_camera/imx074.c 	ret = reg_read(client, 1);
client            314 drivers/staging/media/soc_camera/imx074.c 	dev_info(&client->dev, "Chip ID 0x%04x detected\n", id);
client            322 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, PLL_MULTIPLIER, 0x2D);
client            323 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, PRE_PLL_CLK_DIV, 0x02);
client            324 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, PLSTATIM, 0x4B);
client            327 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3024, 0x00);
client            329 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, IMAGE_ORIENTATION, 0x00);
client            336 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x0112, 0x08);
client            337 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x0113, 0x08);
client            340 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, VNDMY_ABLMGSHLMT, 0x80);
client            341 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, Y_OPBADDR_START_DI, 0x08);
client            342 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3015, 0x37);
client            343 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x301C, 0x01);
client            344 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x302C, 0x05);
client            345 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3031, 0x26);
client            346 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3041, 0x60);
client            347 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3051, 0x24);
client            348 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3053, 0x34);
client            349 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3057, 0xC0);
client            350 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x305C, 0x09);
client            351 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x305D, 0x07);
client            352 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3060, 0x30);
client            353 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3065, 0x00);
client            354 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x30AA, 0x08);
client            355 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x30AB, 0x1C);
client            356 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x30B0, 0x32);
client            357 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x30B2, 0x83);
client            358 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x30D3, 0x04);
client            359 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3106, 0x78);
client            360 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x310C, 0x82);
client            361 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3304, 0x05);
client            362 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3305, 0x04);
client            363 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3306, 0x11);
client            364 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3307, 0x02);
client            365 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3308, 0x0C);
client            366 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3309, 0x06);
client            367 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x330A, 0x08);
client            368 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x330B, 0x04);
client            369 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x330C, 0x08);
client            370 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x330D, 0x06);
client            371 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x330E, 0x01);
client            372 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, 0x3381, 0x00);
client            376 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, FRAME_LENGTH_LINES_HI, 0x06);
client            377 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, FRAME_LENGTH_LINES_LO, 0x48);
client            378 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, YADDR_START, 0x00);
client            379 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, YADDR_END, 0x2F);
client            381 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, X_OUTPUT_SIZE_MSB, 0x08);
client            382 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, X_OUTPUT_SIZE_LSB, 0x38);
client            384 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, Y_OUTPUT_SIZE_MSB, 0x06);
client            385 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, Y_OUTPUT_SIZE_LSB, 0x18);
client            386 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, X_EVEN_INC, 0x01);
client            387 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, X_ODD_INC, 0x03);
client            388 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, Y_EVEN_INC, 0x01);
client            389 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, Y_ODD_INC, 0x03);
client            390 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, HMODEADD, 0x00);
client            391 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, VMODEADD, 0x16);
client            392 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, VAPPLINE_START, 0x24);
client            393 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, VAPPLINE_END, 0x53);
client            394 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, SHUTTER, 0x00);
client            395 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, HADDAVE, 0x80);
client            397 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, LANESEL, 0x00);
client            399 drivers/staging/media/soc_camera/imx074.c 	reg_write(client, GROUPED_PARAMETER_HOLD, 0x00);	/* off */
client            408 drivers/staging/media/soc_camera/imx074.c static int imx074_probe(struct i2c_client *client,
client            412 drivers/staging/media/soc_camera/imx074.c 	struct i2c_adapter *adapter = client->adapter;
client            413 drivers/staging/media/soc_camera/imx074.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            417 drivers/staging/media/soc_camera/imx074.c 		dev_err(&client->dev, "IMX074: missing platform data!\n");
client            427 drivers/staging/media/soc_camera/imx074.c 	priv = devm_kzalloc(&client->dev, sizeof(struct imx074), GFP_KERNEL);
client            431 drivers/staging/media/soc_camera/imx074.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &imx074_subdev_ops);
client            435 drivers/staging/media/soc_camera/imx074.c 	priv->clk = v4l2_clk_get(&client->dev, "mclk");
client            437 drivers/staging/media/soc_camera/imx074.c 		dev_info(&client->dev, "Error %ld getting clock\n", PTR_ERR(priv->clk));
client            441 drivers/staging/media/soc_camera/imx074.c 	ret = soc_camera_power_init(&client->dev, ssdd);
client            445 drivers/staging/media/soc_camera/imx074.c 	ret = imx074_video_probe(client);
client            459 drivers/staging/media/soc_camera/imx074.c static int imx074_remove(struct i2c_client *client)
client            461 drivers/staging/media/soc_camera/imx074.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            462 drivers/staging/media/soc_camera/imx074.c 	struct imx074 *priv = to_imx074(client);
client             82 drivers/staging/media/soc_camera/mt9t031.c static struct mt9t031 *to_mt9t031(const struct i2c_client *client)
client             84 drivers/staging/media/soc_camera/mt9t031.c 	return container_of(i2c_get_clientdata(client), struct mt9t031, subdev);
client             87 drivers/staging/media/soc_camera/mt9t031.c static int reg_read(struct i2c_client *client, const u8 reg)
client             89 drivers/staging/media/soc_camera/mt9t031.c 	return i2c_smbus_read_word_swapped(client, reg);
client             92 drivers/staging/media/soc_camera/mt9t031.c static int reg_write(struct i2c_client *client, const u8 reg,
client             95 drivers/staging/media/soc_camera/mt9t031.c 	return i2c_smbus_write_word_swapped(client, reg, data);
client             98 drivers/staging/media/soc_camera/mt9t031.c static int reg_set(struct i2c_client *client, const u8 reg,
client            103 drivers/staging/media/soc_camera/mt9t031.c 	ret = reg_read(client, reg);
client            106 drivers/staging/media/soc_camera/mt9t031.c 	return reg_write(client, reg, ret | data);
client            109 drivers/staging/media/soc_camera/mt9t031.c static int reg_clear(struct i2c_client *client, const u8 reg,
client            114 drivers/staging/media/soc_camera/mt9t031.c 	ret = reg_read(client, reg);
client            117 drivers/staging/media/soc_camera/mt9t031.c 	return reg_write(client, reg, ret & ~data);
client            120 drivers/staging/media/soc_camera/mt9t031.c static int set_shutter(struct i2c_client *client, const u32 data)
client            124 drivers/staging/media/soc_camera/mt9t031.c 	ret = reg_write(client, MT9T031_SHUTTER_WIDTH_UPPER, data >> 16);
client            127 drivers/staging/media/soc_camera/mt9t031.c 		ret = reg_write(client, MT9T031_SHUTTER_WIDTH, data & 0xffff);
client            132 drivers/staging/media/soc_camera/mt9t031.c static int get_shutter(struct i2c_client *client, u32 *data)
client            136 drivers/staging/media/soc_camera/mt9t031.c 	ret = reg_read(client, MT9T031_SHUTTER_WIDTH_UPPER);
client            140 drivers/staging/media/soc_camera/mt9t031.c 		ret = reg_read(client, MT9T031_SHUTTER_WIDTH);
client            146 drivers/staging/media/soc_camera/mt9t031.c static int mt9t031_idle(struct i2c_client *client)
client            151 drivers/staging/media/soc_camera/mt9t031.c 	ret = reg_write(client, MT9T031_RESET, 1);
client            153 drivers/staging/media/soc_camera/mt9t031.c 		ret = reg_write(client, MT9T031_RESET, 0);
client            155 drivers/staging/media/soc_camera/mt9t031.c 		ret = reg_clear(client, MT9T031_OUTPUT_CONTROL, 2);
client            162 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            167 drivers/staging/media/soc_camera/mt9t031.c 		ret = reg_set(client, MT9T031_OUTPUT_CONTROL, 2);
client            170 drivers/staging/media/soc_camera/mt9t031.c 		ret = reg_clear(client, MT9T031_OUTPUT_CONTROL, 2);
client            197 drivers/staging/media/soc_camera/mt9t031.c static int mt9t031_set_params(struct i2c_client *client,
client            200 drivers/staging/media/soc_camera/mt9t031.c 	struct mt9t031 *mt9t031 = to_mt9t031(client);
client            236 drivers/staging/media/soc_camera/mt9t031.c 	dev_dbg(&client->dev, "skip %u:%u, rect %ux%u@%u:%u\n",
client            240 drivers/staging/media/soc_camera/mt9t031.c 	ret = reg_set(client, MT9T031_OUTPUT_CONTROL, 1);
client            245 drivers/staging/media/soc_camera/mt9t031.c 	ret = reg_write(client, MT9T031_HORIZONTAL_BLANKING, hblank);
client            247 drivers/staging/media/soc_camera/mt9t031.c 		ret = reg_write(client, MT9T031_VERTICAL_BLANKING, vblank);
client            252 drivers/staging/media/soc_camera/mt9t031.c 			ret = reg_write(client, MT9T031_COLUMN_ADDRESS_MODE,
client            255 drivers/staging/media/soc_camera/mt9t031.c 			ret = reg_write(client, MT9T031_ROW_ADDRESS_MODE,
client            258 drivers/staging/media/soc_camera/mt9t031.c 	dev_dbg(&client->dev, "new physical left %u, top %u\n",
client            266 drivers/staging/media/soc_camera/mt9t031.c 		ret = reg_write(client, MT9T031_COLUMN_START, rect->left);
client            268 drivers/staging/media/soc_camera/mt9t031.c 		ret = reg_write(client, MT9T031_ROW_START, rect->top);
client            270 drivers/staging/media/soc_camera/mt9t031.c 		ret = reg_write(client, MT9T031_WINDOW_WIDTH, rect->width - 1);
client            272 drivers/staging/media/soc_camera/mt9t031.c 		ret = reg_write(client, MT9T031_WINDOW_HEIGHT,
client            277 drivers/staging/media/soc_camera/mt9t031.c 		ret = set_shutter(client, mt9t031->total_h);
client            282 drivers/staging/media/soc_camera/mt9t031.c 		ret = reg_clear(client, MT9T031_OUTPUT_CONTROL, 1);
client            297 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            298 drivers/staging/media/soc_camera/mt9t031.c 	struct mt9t031 *mt9t031 = to_mt9t031(client);
client            314 drivers/staging/media/soc_camera/mt9t031.c 	return mt9t031_set_params(client, &rect, mt9t031->xskip, mt9t031->yskip);
client            321 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            322 drivers/staging/media/soc_camera/mt9t031.c 	struct mt9t031 *mt9t031 = to_mt9t031(client);
client            347 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            348 drivers/staging/media/soc_camera/mt9t031.c 	struct mt9t031 *mt9t031 = to_mt9t031(client);
client            371 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            372 drivers/staging/media/soc_camera/mt9t031.c 	struct mt9t031 *mt9t031 = to_mt9t031(client);
client            401 drivers/staging/media/soc_camera/mt9t031.c 	return mt9t031_set_params(client, &rect, xskip, yskip);
client            408 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            414 drivers/staging/media/soc_camera/mt9t031.c 	reg->val = reg_read(client, reg->reg);
client            425 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            430 drivers/staging/media/soc_camera/mt9t031.c 	if (reg_write(client, reg->reg, reg->val) < 0)
client            461 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            468 drivers/staging/media/soc_camera/mt9t031.c 			data = reg_set(client, MT9T031_READ_MODE_2, 0x8000);
client            470 drivers/staging/media/soc_camera/mt9t031.c 			data = reg_clear(client, MT9T031_READ_MODE_2, 0x8000);
client            476 drivers/staging/media/soc_camera/mt9t031.c 			data = reg_set(client, MT9T031_READ_MODE_2, 0x4000);
client            478 drivers/staging/media/soc_camera/mt9t031.c 			data = reg_clear(client, MT9T031_READ_MODE_2, 0x4000);
client            489 drivers/staging/media/soc_camera/mt9t031.c 			dev_dbg(&client->dev, "Setting gain %d\n", data);
client            490 drivers/staging/media/soc_camera/mt9t031.c 			data = reg_write(client, MT9T031_GLOBAL_GAIN, data);
client            509 drivers/staging/media/soc_camera/mt9t031.c 			dev_dbg(&client->dev, "Set gain from 0x%x to 0x%x\n",
client            510 drivers/staging/media/soc_camera/mt9t031.c 				reg_read(client, MT9T031_GLOBAL_GAIN), data);
client            511 drivers/staging/media/soc_camera/mt9t031.c 			data = reg_write(client, MT9T031_GLOBAL_GAIN, data);
client            524 drivers/staging/media/soc_camera/mt9t031.c 			get_shutter(client, &old);
client            525 drivers/staging/media/soc_camera/mt9t031.c 			dev_dbg(&client->dev, "Set shutter from %u to %u\n",
client            527 drivers/staging/media/soc_camera/mt9t031.c 			if (set_shutter(client, shutter) < 0)
client            534 drivers/staging/media/soc_camera/mt9t031.c 			if (set_shutter(client, mt9t031->total_h) < 0)
client            563 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            564 drivers/staging/media/soc_camera/mt9t031.c 	struct mt9t031 *mt9t031 = to_mt9t031(client);
client            572 drivers/staging/media/soc_camera/mt9t031.c 	ret = reg_write(client, MT9T031_COLUMN_ADDRESS_MODE,
client            577 drivers/staging/media/soc_camera/mt9t031.c 	ret = reg_write(client, MT9T031_ROW_ADDRESS_MODE,
client            597 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            598 drivers/staging/media/soc_camera/mt9t031.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            599 drivers/staging/media/soc_camera/mt9t031.c 	struct video_device *vdev = soc_camera_i2c_to_vdev(client);
client            600 drivers/staging/media/soc_camera/mt9t031.c 	struct mt9t031 *mt9t031 = to_mt9t031(client);
client            604 drivers/staging/media/soc_camera/mt9t031.c 		ret = soc_camera_power_on(&client->dev, ssdd, mt9t031->clk);
client            613 drivers/staging/media/soc_camera/mt9t031.c 		soc_camera_power_off(&client->dev, ssdd, mt9t031->clk);
client            623 drivers/staging/media/soc_camera/mt9t031.c static int mt9t031_video_probe(struct i2c_client *client)
client            625 drivers/staging/media/soc_camera/mt9t031.c 	struct mt9t031 *mt9t031 = to_mt9t031(client);
client            633 drivers/staging/media/soc_camera/mt9t031.c 	ret = mt9t031_idle(client);
client            635 drivers/staging/media/soc_camera/mt9t031.c 		dev_err(&client->dev, "Failed to initialise the camera\n");
client            640 drivers/staging/media/soc_camera/mt9t031.c 	data = reg_read(client, MT9T031_CHIP_VERSION);
client            646 drivers/staging/media/soc_camera/mt9t031.c 		dev_err(&client->dev,
client            652 drivers/staging/media/soc_camera/mt9t031.c 	dev_info(&client->dev, "Detected a MT9T031 chip ID %x\n", data);
client            664 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            665 drivers/staging/media/soc_camera/mt9t031.c 	struct mt9t031 *mt9t031 = to_mt9t031(client);
client            699 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            700 drivers/staging/media/soc_camera/mt9t031.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            714 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            715 drivers/staging/media/soc_camera/mt9t031.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            719 drivers/staging/media/soc_camera/mt9t031.c 		return reg_clear(client, MT9T031_PIXEL_CLOCK_CONTROL, 0x8000);
client            721 drivers/staging/media/soc_camera/mt9t031.c 		return reg_set(client, MT9T031_PIXEL_CLOCK_CONTROL, 0x8000);
client            749 drivers/staging/media/soc_camera/mt9t031.c static int mt9t031_probe(struct i2c_client *client,
client            753 drivers/staging/media/soc_camera/mt9t031.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            754 drivers/staging/media/soc_camera/mt9t031.c 	struct i2c_adapter *adapter = client->adapter;
client            758 drivers/staging/media/soc_camera/mt9t031.c 		dev_err(&client->dev, "MT9T031 driver needs platform data\n");
client            768 drivers/staging/media/soc_camera/mt9t031.c 	mt9t031 = devm_kzalloc(&client->dev, sizeof(struct mt9t031), GFP_KERNEL);
client            772 drivers/staging/media/soc_camera/mt9t031.c 	v4l2_i2c_subdev_init(&mt9t031->subdev, client, &mt9t031_subdev_ops);
client            807 drivers/staging/media/soc_camera/mt9t031.c 	mt9t031->clk = v4l2_clk_get(&client->dev, "mclk");
client            813 drivers/staging/media/soc_camera/mt9t031.c 	ret = mt9t031_video_probe(client);
client            823 drivers/staging/media/soc_camera/mt9t031.c static int mt9t031_remove(struct i2c_client *client)
client            825 drivers/staging/media/soc_camera/mt9t031.c 	struct mt9t031 *mt9t031 = to_mt9t031(client);
client           1224 drivers/staging/media/soc_camera/soc_camera.c 	struct i2c_client *client;
client           1276 drivers/staging/media/soc_camera/soc_camera.c 	client = v4l2_get_subdevdata(subdev);
client           1279 drivers/staging/media/soc_camera/soc_camera.c 	icd->control = &client->dev;
client           1294 drivers/staging/media/soc_camera/soc_camera.c 	struct i2c_client *client =
client           1303 drivers/staging/media/soc_camera/soc_camera.c 	adap = client->adapter;
client           1304 drivers/staging/media/soc_camera/soc_camera.c 	ssdd = client->dev.platform_data;
client           1305 drivers/staging/media/soc_camera/soc_camera.c 	v4l2_device_unregister_subdev(i2c_get_clientdata(client));
client           1306 drivers/staging/media/soc_camera/soc_camera.c 	i2c_unregister_device(client);
client           1330 drivers/staging/media/soc_camera/soc_camera.c 		struct i2c_client *client = v4l2_get_subdevdata(sd);
client           1336 drivers/staging/media/soc_camera/soc_camera.c 		if (client) {
client           1339 drivers/staging/media/soc_camera/soc_camera.c 				soc_camera_i2c_to_desc(client);
client           1344 drivers/staging/media/soc_camera/soc_camera.c 					ssdd->reset(&client->dev);
client           1347 drivers/staging/media/soc_camera/soc_camera.c 			icd->control = &client->dev;
client           1514 drivers/staging/media/soc_camera/soc_camera.c 	struct i2c_client *client;
client           1559 drivers/staging/media/soc_camera/soc_camera.c 	client = of_find_i2c_device_by_node(remote);
client           1561 drivers/staging/media/soc_camera/soc_camera.c 	if (client)
client           1563 drivers/staging/media/soc_camera/soc_camera.c 				  client->adapter->nr, client->addr);
client            164 drivers/staging/media/soc_camera/soc_mt9v022.c static struct mt9v022 *to_mt9v022(const struct i2c_client *client)
client            166 drivers/staging/media/soc_camera/soc_mt9v022.c 	return container_of(i2c_get_clientdata(client), struct mt9v022, subdev);
client            169 drivers/staging/media/soc_camera/soc_mt9v022.c static int reg_read(struct i2c_client *client, const u8 reg)
client            171 drivers/staging/media/soc_camera/soc_mt9v022.c 	return i2c_smbus_read_word_swapped(client, reg);
client            174 drivers/staging/media/soc_camera/soc_mt9v022.c static int reg_write(struct i2c_client *client, const u8 reg,
client            177 drivers/staging/media/soc_camera/soc_mt9v022.c 	return i2c_smbus_write_word_swapped(client, reg, data);
client            180 drivers/staging/media/soc_camera/soc_mt9v022.c static int reg_set(struct i2c_client *client, const u8 reg,
client            185 drivers/staging/media/soc_camera/soc_mt9v022.c 	ret = reg_read(client, reg);
client            188 drivers/staging/media/soc_camera/soc_mt9v022.c 	return reg_write(client, reg, ret | data);
client            191 drivers/staging/media/soc_camera/soc_mt9v022.c static int reg_clear(struct i2c_client *client, const u8 reg,
client            196 drivers/staging/media/soc_camera/soc_mt9v022.c 	ret = reg_read(client, reg);
client            199 drivers/staging/media/soc_camera/soc_mt9v022.c 	return reg_write(client, reg, ret & ~data);
client            202 drivers/staging/media/soc_camera/soc_mt9v022.c static int mt9v022_init(struct i2c_client *client)
client            204 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct mt9v022 *mt9v022 = to_mt9v022(client);
client            213 drivers/staging/media/soc_camera/soc_mt9v022.c 	ret = reg_write(client, MT9V022_CHIP_CONTROL, mt9v022->chip_control);
client            215 drivers/staging/media/soc_camera/soc_mt9v022.c 		ret = reg_write(client, MT9V022_READ_MODE, 0x300);
client            220 drivers/staging/media/soc_camera/soc_mt9v022.c 		ret = reg_set(client, MT9V022_AEC_AGC_ENABLE, 0x3);
client            222 drivers/staging/media/soc_camera/soc_mt9v022.c 		ret = reg_write(client, MT9V022_ANALOG_GAIN, 16);
client            224 drivers/staging/media/soc_camera/soc_mt9v022.c 		ret = reg_write(client, MT9V022_TOTAL_SHUTTER_WIDTH, 480);
client            226 drivers/staging/media/soc_camera/soc_mt9v022.c 		ret = reg_write(client, mt9v022->reg->max_total_shutter_width, 480);
client            229 drivers/staging/media/soc_camera/soc_mt9v022.c 		ret = reg_clear(client, MT9V022_BLACK_LEVEL_CALIB_CTRL, 1);
client            231 drivers/staging/media/soc_camera/soc_mt9v022.c 		ret = reg_write(client, MT9V022_DIGITAL_TEST_PATTERN, 0);
client            240 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            241 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct mt9v022 *mt9v022 = to_mt9v022(client);
client            252 drivers/staging/media/soc_camera/soc_mt9v022.c 			if (reg_clear(client, MT9V022_REG32, 0x204))
client            265 drivers/staging/media/soc_camera/soc_mt9v022.c 			if (reg_set(client, MT9V022_REG32, 0x204))
client            270 drivers/staging/media/soc_camera/soc_mt9v022.c 	if (reg_write(client, MT9V022_CHIP_CONTROL, mt9v022->chip_control) < 0)
client            279 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            280 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct mt9v022 *mt9v022 = to_mt9v022(client);
client            303 drivers/staging/media/soc_camera/soc_mt9v022.c 	ret = reg_read(client, MT9V022_AEC_AGC_ENABLE);
client            306 drivers/staging/media/soc_camera/soc_mt9v022.c 			ret = reg_write(client, mt9v022->reg->max_total_shutter_width,
client            319 drivers/staging/media/soc_camera/soc_mt9v022.c 		ret = reg_write(client, MT9V022_COLUMN_START, rect.left);
client            321 drivers/staging/media/soc_camera/soc_mt9v022.c 		ret = reg_write(client, MT9V022_ROW_START, rect.top);
client            340 drivers/staging/media/soc_camera/soc_mt9v022.c 		ret = reg_write(client, MT9V022_WINDOW_WIDTH, rect.width);
client            342 drivers/staging/media/soc_camera/soc_mt9v022.c 		ret = reg_write(client, MT9V022_WINDOW_HEIGHT,
client            348 drivers/staging/media/soc_camera/soc_mt9v022.c 	dev_dbg(&client->dev, "Frame %dx%d pixel\n", rect.width, rect.height);
client            359 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            360 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct mt9v022 *mt9v022 = to_mt9v022(client);
client            385 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            386 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct mt9v022 *mt9v022 = to_mt9v022(client);
client            404 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            405 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct mt9v022 *mt9v022 = to_mt9v022(client);
client            452 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            453 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct mt9v022 *mt9v022 = to_mt9v022(client);
client            485 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            491 drivers/staging/media/soc_camera/soc_mt9v022.c 	reg->val = reg_read(client, reg->reg);
client            502 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            507 drivers/staging/media/soc_camera/soc_mt9v022.c 	if (reg_write(client, reg->reg, reg->val) < 0)
client            516 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            517 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            518 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct mt9v022 *mt9v022 = to_mt9v022(client);
client            520 drivers/staging/media/soc_camera/soc_mt9v022.c 	return soc_camera_set_power(&client->dev, ssdd, mt9v022->clk, on);
client            528 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            536 drivers/staging/media/soc_camera/soc_mt9v022.c 		data = reg_read(client, MT9V022_ANALOG_GAIN);
client            544 drivers/staging/media/soc_camera/soc_mt9v022.c 		data = reg_read(client, MT9V022_TOTAL_SHUTTER_WIDTH);
client            552 drivers/staging/media/soc_camera/soc_mt9v022.c 		data = reg_read(client, MT9V022_HORIZONTAL_BLANKING);
client            558 drivers/staging/media/soc_camera/soc_mt9v022.c 		data = reg_read(client, MT9V022_VERTICAL_BLANKING);
client            572 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            578 drivers/staging/media/soc_camera/soc_mt9v022.c 			data = reg_set(client, MT9V022_READ_MODE, 0x10);
client            580 drivers/staging/media/soc_camera/soc_mt9v022.c 			data = reg_clear(client, MT9V022_READ_MODE, 0x10);
client            586 drivers/staging/media/soc_camera/soc_mt9v022.c 			data = reg_set(client, MT9V022_READ_MODE, 0x20);
client            588 drivers/staging/media/soc_camera/soc_mt9v022.c 			data = reg_clear(client, MT9V022_READ_MODE, 0x20);
client            594 drivers/staging/media/soc_camera/soc_mt9v022.c 			if (reg_set(client, MT9V022_AEC_AGC_ENABLE, 0x2) < 0)
client            611 drivers/staging/media/soc_camera/soc_mt9v022.c 			if (reg_clear(client, MT9V022_AEC_AGC_ENABLE, 0x2) < 0)
client            614 drivers/staging/media/soc_camera/soc_mt9v022.c 			dev_dbg(&client->dev, "Setting gain from %d to %lu\n",
client            615 drivers/staging/media/soc_camera/soc_mt9v022.c 				reg_read(client, MT9V022_ANALOG_GAIN), gain_val);
client            616 drivers/staging/media/soc_camera/soc_mt9v022.c 			if (reg_write(client, MT9V022_ANALOG_GAIN, gain_val) < 0)
client            622 drivers/staging/media/soc_camera/soc_mt9v022.c 			data = reg_set(client, MT9V022_AEC_AGC_ENABLE, 0x1);
client            633 drivers/staging/media/soc_camera/soc_mt9v022.c 			data = reg_clear(client, MT9V022_AEC_AGC_ENABLE, 0x1);
client            636 drivers/staging/media/soc_camera/soc_mt9v022.c 			dev_dbg(&client->dev, "Shutter width from %d to %lu\n",
client            637 drivers/staging/media/soc_camera/soc_mt9v022.c 					reg_read(client, MT9V022_TOTAL_SHUTTER_WIDTH),
client            639 drivers/staging/media/soc_camera/soc_mt9v022.c 			if (reg_write(client, MT9V022_TOTAL_SHUTTER_WIDTH,
client            645 drivers/staging/media/soc_camera/soc_mt9v022.c 		if (reg_write(client, MT9V022_HORIZONTAL_BLANKING,
client            650 drivers/staging/media/soc_camera/soc_mt9v022.c 		if (reg_write(client, MT9V022_VERTICAL_BLANKING,
client            662 drivers/staging/media/soc_camera/soc_mt9v022.c static int mt9v022_video_probe(struct i2c_client *client)
client            664 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct mt9v022 *mt9v022 = to_mt9v022(client);
client            665 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            675 drivers/staging/media/soc_camera/soc_mt9v022.c 	data = reg_read(client, MT9V022_CHIP_VERSION);
client            680 drivers/staging/media/soc_camera/soc_mt9v022.c 		dev_info(&client->dev, "No MT9V022 found, ID register 0x%x\n",
client            691 drivers/staging/media/soc_camera/soc_mt9v022.c 	ret = reg_write(client, MT9V022_RESET, 1);
client            696 drivers/staging/media/soc_camera/soc_mt9v022.c 	if (reg_read(client, MT9V022_RESET)) {
client            697 drivers/staging/media/soc_camera/soc_mt9v022.c 		dev_err(&client->dev, "Resetting MT9V022 failed!\n");
client            706 drivers/staging/media/soc_camera/soc_mt9v022.c 		ret = reg_write(client, MT9V022_PIXEL_OPERATION_MODE, 4 | 0x11);
client            710 drivers/staging/media/soc_camera/soc_mt9v022.c 		ret = reg_write(client, MT9V022_PIXEL_OPERATION_MODE, 0x11);
client            740 drivers/staging/media/soc_camera/soc_mt9v022.c 	dev_info(&client->dev, "Detected a MT9V022 chip ID %x, %s sensor\n",
client            744 drivers/staging/media/soc_camera/soc_mt9v022.c 	ret = mt9v022_init(client);
client            746 drivers/staging/media/soc_camera/soc_mt9v022.c 		dev_err(&client->dev, "Failed to initialise the camera\n");
client            755 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            756 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct mt9v022 *mt9v022 = to_mt9v022(client);
client            780 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            781 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct mt9v022 *mt9v022 = to_mt9v022(client);
client            793 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            794 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            810 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            811 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            812 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct mt9v022 *mt9v022 = to_mt9v022(client);
client            839 drivers/staging/media/soc_camera/soc_mt9v022.c 	ret = reg_write(client, mt9v022->reg->pixclk_fv_lv, pixclk);
client            846 drivers/staging/media/soc_camera/soc_mt9v022.c 	ret = reg_write(client, MT9V022_CHIP_CONTROL, mt9v022->chip_control);
client            850 drivers/staging/media/soc_camera/soc_mt9v022.c 	dev_dbg(&client->dev, "Calculated pixclk 0x%x, chip control 0x%x\n",
client            881 drivers/staging/media/soc_camera/soc_mt9v022.c static int mt9v022_probe(struct i2c_client *client,
client            885 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            886 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct i2c_adapter *adapter = client->adapter;
client            891 drivers/staging/media/soc_camera/soc_mt9v022.c 		dev_err(&client->dev, "MT9V022 driver needs platform data\n");
client            901 drivers/staging/media/soc_camera/soc_mt9v022.c 	mt9v022 = devm_kzalloc(&client->dev, sizeof(struct mt9v022), GFP_KERNEL);
client            906 drivers/staging/media/soc_camera/soc_mt9v022.c 	v4l2_i2c_subdev_init(&mt9v022->subdev, client, &mt9v022_subdev_ops);
client            941 drivers/staging/media/soc_camera/soc_mt9v022.c 		dev_err(&client->dev, "control initialisation err %d\n", err);
client            960 drivers/staging/media/soc_camera/soc_mt9v022.c 	mt9v022->clk = v4l2_clk_get(&client->dev, "mclk");
client            966 drivers/staging/media/soc_camera/soc_mt9v022.c 	ret = mt9v022_video_probe(client);
client            976 drivers/staging/media/soc_camera/soc_mt9v022.c static int mt9v022_remove(struct i2c_client *client)
client            978 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct mt9v022 *mt9v022 = to_mt9v022(client);
client            979 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            620 drivers/staging/media/soc_camera/soc_ov5642.c static struct ov5642 *to_ov5642(const struct i2c_client *client)
client            622 drivers/staging/media/soc_camera/soc_ov5642.c 	return container_of(i2c_get_clientdata(client), struct ov5642, subdev);
client            638 drivers/staging/media/soc_camera/soc_ov5642.c static int reg_read(struct i2c_client *client, u16 reg, u8 *val)
client            644 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = i2c_master_send(client, data, 2);
client            646 drivers/staging/media/soc_camera/soc_ov5642.c 		dev_err(&client->dev, "%s: i2c read error, reg: %x\n",
client            651 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = i2c_master_recv(client, val, 1);
client            653 drivers/staging/media/soc_camera/soc_ov5642.c 		dev_err(&client->dev, "%s: i2c read error, reg: %x\n",
client            660 drivers/staging/media/soc_camera/soc_ov5642.c static int reg_write(struct i2c_client *client, u16 reg, u8 val)
client            665 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = i2c_master_send(client, data, 3);
client            667 drivers/staging/media/soc_camera/soc_ov5642.c 		dev_err(&client->dev, "%s: i2c write error, reg: %x\n",
client            679 drivers/staging/media/soc_camera/soc_ov5642.c static int reg_write16(struct i2c_client *client, u16 reg, u16 val16)
client            683 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = reg_write(client, reg, val16 >> 8);
client            686 drivers/staging/media/soc_camera/soc_ov5642.c 	return reg_write(client, reg + 1, val16 & 0x00ff);
client            693 drivers/staging/media/soc_camera/soc_ov5642.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            702 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = reg_read(client, reg->reg, &val);
client            712 drivers/staging/media/soc_camera/soc_ov5642.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            717 drivers/staging/media/soc_camera/soc_ov5642.c 	return reg_write(client, reg->reg, reg->val);
client            721 drivers/staging/media/soc_camera/soc_ov5642.c static int ov5642_write_array(struct i2c_client *client,
client            725 drivers/staging/media/soc_camera/soc_ov5642.c 		int ret = reg_write(client, vals->reg_num, vals->value);
client            730 drivers/staging/media/soc_camera/soc_ov5642.c 	dev_dbg(&client->dev, "Register list loaded\n");
client            736 drivers/staging/media/soc_camera/soc_ov5642.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            737 drivers/staging/media/soc_camera/soc_ov5642.c 	struct ov5642 *priv = to_ov5642(client);
client            750 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = reg_write16(client, REG_WINDOW_START_X_HIGH, start_x);
client            752 drivers/staging/media/soc_camera/soc_ov5642.c 		ret = reg_write16(client, REG_WINDOW_START_Y_HIGH, start_y);
client            759 drivers/staging/media/soc_camera/soc_ov5642.c 		ret = reg_write16(client, REG_WINDOW_WIDTH_HIGH, width);
client            761 drivers/staging/media/soc_camera/soc_ov5642.c 		ret = reg_write16(client, REG_WINDOW_HEIGHT_HIGH, height);
client            768 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = reg_write16(client, REG_OUT_WIDTH_HIGH, width);
client            770 drivers/staging/media/soc_camera/soc_ov5642.c 		ret = reg_write16(client, REG_OUT_HEIGHT_HIGH, height);
client            774 drivers/staging/media/soc_camera/soc_ov5642.c 		ret = reg_write16(client, REG_OUT_TOTAL_WIDTH_HIGH, total_width);
client            776 drivers/staging/media/soc_camera/soc_ov5642.c 		ret = reg_write16(client, REG_OUT_TOTAL_HEIGHT_HIGH, total_height);
client            780 drivers/staging/media/soc_camera/soc_ov5642.c 		ret = reg_write16(client, REG_AVG_WINDOW_END_X_HIGH, width);
client            782 drivers/staging/media/soc_camera/soc_ov5642.c 		ret = reg_write16(client, REG_AVG_WINDOW_END_Y_HIGH, height);
client            792 drivers/staging/media/soc_camera/soc_ov5642.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            793 drivers/staging/media/soc_camera/soc_ov5642.c 	struct ov5642 *priv = to_ov5642(client);
client            823 drivers/staging/media/soc_camera/soc_ov5642.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            824 drivers/staging/media/soc_camera/soc_ov5642.c 	struct ov5642 *priv = to_ov5642(client);
client            855 drivers/staging/media/soc_camera/soc_ov5642.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            856 drivers/staging/media/soc_camera/soc_ov5642.c 	struct ov5642 *priv = to_ov5642(client);
client            876 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = ov5642_write_array(client, ov5642_default_regs_init);
client            880 drivers/staging/media/soc_camera/soc_ov5642.c 		ret = ov5642_write_array(client, ov5642_default_regs_finalise);
client            889 drivers/staging/media/soc_camera/soc_ov5642.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            890 drivers/staging/media/soc_camera/soc_ov5642.c 	struct ov5642 *priv = to_ov5642(client);
client            922 drivers/staging/media/soc_camera/soc_ov5642.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            923 drivers/staging/media/soc_camera/soc_ov5642.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            924 drivers/staging/media/soc_camera/soc_ov5642.c 	struct ov5642 *priv = to_ov5642(client);
client            928 drivers/staging/media/soc_camera/soc_ov5642.c 		return soc_camera_power_off(&client->dev, ssdd, priv->clk);
client            930 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = soc_camera_power_on(&client->dev, ssdd, priv->clk);
client            934 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = ov5642_write_array(client, ov5642_default_regs_init);
client            938 drivers/staging/media/soc_camera/soc_ov5642.c 		ret = ov5642_write_array(client, ov5642_default_regs_finalise);
client            969 drivers/staging/media/soc_camera/soc_ov5642.c static int ov5642_video_probe(struct i2c_client *client)
client            971 drivers/staging/media/soc_camera/soc_ov5642.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
client            981 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = reg_read(client, REG_CHIP_ID_HIGH, &id_high);
client            987 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = reg_read(client, REG_CHIP_ID_LOW, &id_low);
client            993 drivers/staging/media/soc_camera/soc_ov5642.c 	dev_info(&client->dev, "Chip ID 0x%04x detected\n", id);
client           1007 drivers/staging/media/soc_camera/soc_ov5642.c static int ov5642_probe(struct i2c_client *client,
client           1011 drivers/staging/media/soc_camera/soc_ov5642.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client           1015 drivers/staging/media/soc_camera/soc_ov5642.c 		dev_err(&client->dev, "OV5642: missing platform data!\n");
client           1019 drivers/staging/media/soc_camera/soc_ov5642.c 	priv = devm_kzalloc(&client->dev, sizeof(struct ov5642), GFP_KERNEL);
client           1023 drivers/staging/media/soc_camera/soc_ov5642.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &ov5642_subdev_ops);
client           1034 drivers/staging/media/soc_camera/soc_ov5642.c 	priv->clk = v4l2_clk_get(&client->dev, "mclk");
client           1038 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = ov5642_video_probe(client);
client           1045 drivers/staging/media/soc_camera/soc_ov5642.c static int ov5642_remove(struct i2c_client *client)
client           1047 drivers/staging/media/soc_camera/soc_ov5642.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client           1048 drivers/staging/media/soc_camera/soc_ov5642.c 	struct ov5642 *priv = to_ov5642(client);
client            396 drivers/staging/media/soc_camera/soc_ov9740.c static int ov9740_reg_read(struct i2c_client *client, u16 reg, u8 *val)
client            401 drivers/staging/media/soc_camera/soc_ov9740.c 			.addr	= client->addr,
client            407 drivers/staging/media/soc_camera/soc_ov9740.c 			.addr	= client->addr,
client            416 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = i2c_transfer(client->adapter, msg, 2);
client            418 drivers/staging/media/soc_camera/soc_ov9740.c 		dev_err(&client->dev, "Failed reading register 0x%04x!\n", reg);
client            426 drivers/staging/media/soc_camera/soc_ov9740.c static int ov9740_reg_write(struct i2c_client *client, u16 reg, u8 val)
client            440 drivers/staging/media/soc_camera/soc_ov9740.c 	msg.addr	= client->addr;
client            445 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = i2c_transfer(client->adapter, &msg, 1);
client            447 drivers/staging/media/soc_camera/soc_ov9740.c 		dev_err(&client->dev, "Failed writing register 0x%04x!\n", reg);
client            456 drivers/staging/media/soc_camera/soc_ov9740.c static int ov9740_reg_rmw(struct i2c_client *client, u16 reg, u8 set, u8 unset)
client            461 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_read(client, reg, &val);
client            463 drivers/staging/media/soc_camera/soc_ov9740.c 		dev_err(&client->dev,
client            472 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, reg, val);
client            474 drivers/staging/media/soc_camera/soc_ov9740.c 		dev_err(&client->dev,
client            483 drivers/staging/media/soc_camera/soc_ov9740.c static int ov9740_reg_write_array(struct i2c_client *client,
client            491 drivers/staging/media/soc_camera/soc_ov9740.c 		ret = ov9740_reg_write(client,
client            503 drivers/staging/media/soc_camera/soc_ov9740.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            509 drivers/staging/media/soc_camera/soc_ov9740.c 		ret = ov9740_reg_rmw(client, OV9740_IMAGE_ORT, 0x2, 0);
client            511 drivers/staging/media/soc_camera/soc_ov9740.c 		ret = ov9740_reg_rmw(client, OV9740_IMAGE_ORT, 0, 0x2);
client            516 drivers/staging/media/soc_camera/soc_ov9740.c 		ret = ov9740_reg_rmw(client, OV9740_IMAGE_ORT, 0x1, 0);
client            518 drivers/staging/media/soc_camera/soc_ov9740.c 		ret = ov9740_reg_rmw(client, OV9740_IMAGE_ORT, 0, 0x1);
client            523 drivers/staging/media/soc_camera/soc_ov9740.c 		dev_dbg(&client->dev, "Enabling Streaming\n");
client            525 drivers/staging/media/soc_camera/soc_ov9740.c 		ret = ov9740_reg_write(client, OV9740_MODE_SELECT, 0x01);
client            528 drivers/staging/media/soc_camera/soc_ov9740.c 		dev_dbg(&client->dev, "Disabling Streaming\n");
client            530 drivers/staging/media/soc_camera/soc_ov9740.c 		ret = ov9740_reg_write(client, OV9740_SOFTWARE_RESET, 0x01);
client            533 drivers/staging/media/soc_camera/soc_ov9740.c 			ret = ov9740_reg_write(client, OV9740_MODE_SELECT,
client            557 drivers/staging/media/soc_camera/soc_ov9740.c static int ov9740_set_res(struct i2c_client *client, u32 width, u32 height)
client            592 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_X_ADDR_START_HI, x_start >> 8);
client            595 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_X_ADDR_START_LO, x_start & 0xff);
client            598 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_Y_ADDR_START_HI, y_start >> 8);
client            601 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_Y_ADDR_START_LO, y_start & 0xff);
client            605 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_X_ADDR_END_HI, x_end >> 8);
client            608 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_X_ADDR_END_LO, x_end & 0xff);
client            611 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_Y_ADDR_END_HI, y_end >> 8);
client            614 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_Y_ADDR_END_LO, y_end & 0xff);
client            618 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_X_OUTPUT_SIZE_HI, width >> 8);
client            621 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_X_OUTPUT_SIZE_LO, width & 0xff);
client            624 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_Y_OUTPUT_SIZE_HI, height >> 8);
client            627 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_Y_OUTPUT_SIZE_LO, height & 0xff);
client            631 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_ISP_CTRL1E, scale_input_x >> 8);
client            634 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_ISP_CTRL1F, scale_input_x & 0xff);
client            637 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_ISP_CTRL20, scale_input_y >> 8);
client            640 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_ISP_CTRL21, scale_input_y & 0xff);
client            644 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_VFIFO_READ_START_HI,
client            648 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_VFIFO_READ_START_LO,
client            653 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_ISP_CTRL00, 0xff);
client            656 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_ISP_CTRL01, 0xef |
client            660 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write(client, OV9740_ISP_CTRL03, 0xff);
client            670 drivers/staging/media/soc_camera/soc_ov9740.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            674 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_write_array(client, ov9740_defaults,
client            679 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_set_res(client, mf->width, mf->height);
client            762 drivers/staging/media/soc_camera/soc_ov9740.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            763 drivers/staging/media/soc_camera/soc_ov9740.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            768 drivers/staging/media/soc_camera/soc_ov9740.c 		ret = soc_camera_power_on(&client->dev, ssdd, priv->clk);
client            782 drivers/staging/media/soc_camera/soc_ov9740.c 		soc_camera_power_off(&client->dev, ssdd, priv->clk);
client            792 drivers/staging/media/soc_camera/soc_ov9740.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            801 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_read(client, reg->reg, &val);
client            813 drivers/staging/media/soc_camera/soc_ov9740.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            818 drivers/staging/media/soc_camera/soc_ov9740.c 	return ov9740_reg_write(client, reg->reg, reg->val);
client            822 drivers/staging/media/soc_camera/soc_ov9740.c static int ov9740_video_probe(struct i2c_client *client)
client            824 drivers/staging/media/soc_camera/soc_ov9740.c 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            836 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_read(client, OV9740_MODEL_ID_HI, &modelhi);
client            840 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_read(client, OV9740_MODEL_ID_LO, &modello);
client            846 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_read(client, OV9740_REVISION_NUMBER, &priv->revision);
client            850 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_read(client, OV9740_MANUFACTURER_ID, &priv->manid);
client            854 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_reg_read(client, OV9740_SMIA_VERSION, &priv->smiaver);
client            863 drivers/staging/media/soc_camera/soc_ov9740.c 	dev_info(&client->dev, "ov9740 Model ID 0x%04x, Revision 0x%02x, Manufacturer 0x%02x, SMIA Version 0x%02x\n",
client            877 drivers/staging/media/soc_camera/soc_ov9740.c 	struct i2c_client *client = v4l2_get_subdevdata(sd);
client            878 drivers/staging/media/soc_camera/soc_ov9740.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            921 drivers/staging/media/soc_camera/soc_ov9740.c static int ov9740_probe(struct i2c_client *client,
client            925 drivers/staging/media/soc_camera/soc_ov9740.c 	struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client);
client            929 drivers/staging/media/soc_camera/soc_ov9740.c 		dev_err(&client->dev, "Missing platform_data for driver\n");
client            933 drivers/staging/media/soc_camera/soc_ov9740.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client            937 drivers/staging/media/soc_camera/soc_ov9740.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &ov9740_subdev_ops);
client            947 drivers/staging/media/soc_camera/soc_ov9740.c 	priv->clk = v4l2_clk_get(&client->dev, "mclk");
client            953 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_video_probe(client);
client            963 drivers/staging/media/soc_camera/soc_ov9740.c static int ov9740_remove(struct i2c_client *client)
client            965 drivers/staging/media/soc_camera/soc_ov9740.c 	struct ov9740_priv *priv = i2c_get_clientdata(client);
client             38 drivers/staging/most/i2c/i2c.c 	struct i2c_client *client;
client             86 drivers/staging/most/i2c/i2c.c 			if (dev->client->irq <= 0) {
client             87 drivers/staging/most/i2c/i2c.c 				pr_err("bad irq: %d\n", dev->client->irq);
client             91 drivers/staging/most/i2c/i2c.c 			ret = request_irq(dev->client->irq, most_irq_handler, 0,
client             92 drivers/staging/most/i2c/i2c.c 					  dev->client->name, dev);
client             95 drivers/staging/most/i2c/i2c.c 				       dev->client->irq, ret);
client            131 drivers/staging/most/i2c/i2c.c 			disable_irq(dev->client->irq);
client            137 drivers/staging/most/i2c/i2c.c 			enable_irq(dev->client->irq);
client            140 drivers/staging/most/i2c/i2c.c 		ret = i2c_master_send(dev->client, mbo->virt_address,
client            175 drivers/staging/most/i2c/i2c.c 			free_irq(dev->client->irq, dev);
client            199 drivers/staging/most/i2c/i2c.c 	ret = i2c_master_recv(dev->client, msg, 2);
client            212 drivers/staging/most/i2c/i2c.c 	ret = i2c_master_recv(dev->client, msg, data_size);
client            246 drivers/staging/most/i2c/i2c.c 		enable_irq(dev->client->irq);
client            288 drivers/staging/most/i2c/i2c.c static int i2c_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            299 drivers/staging/most/i2c/i2c.c 		 client->adapter->nr, client->addr);
client            323 drivers/staging/most/i2c/i2c.c 	dev->client = client;
client            324 drivers/staging/most/i2c/i2c.c 	i2c_set_clientdata(client, dev);
client            344 drivers/staging/most/i2c/i2c.c static int i2c_remove(struct i2c_client *client)
client            346 drivers/staging/most/i2c/i2c.c 	struct hdm_i2c *dev = i2c_get_clientdata(client);
client             48 drivers/staging/olpc_dcon/olpc_dcon.c 	return i2c_smbus_write_word_data(dcon->client, reg, val);
client             53 drivers/staging/olpc_dcon/olpc_dcon.c 	return i2c_smbus_read_word_data(dcon->client, reg);
client             80 drivers/staging/olpc_dcon/olpc_dcon.c 		dev_err(&dcon->client->dev,
client            263 drivers/staging/olpc_dcon/olpc_dcon.c 		dev_err(&dcon->client->dev, "couldn't %sblank framebuffer\n",
client            557 drivers/staging/olpc_dcon/olpc_dcon.c 	if (!dcon || !dcon->client)
client            577 drivers/staging/olpc_dcon/olpc_dcon.c static int dcon_detect(struct i2c_client *client, struct i2c_board_info *info)
client            584 drivers/staging/olpc_dcon/olpc_dcon.c static int dcon_probe(struct i2c_client *client, const struct i2c_device_id *id)
client            596 drivers/staging/olpc_dcon/olpc_dcon.c 	dcon->client = client;
client            602 drivers/staging/olpc_dcon/olpc_dcon.c 	i2c_set_clientdata(client, dcon);
client            605 drivers/staging/olpc_dcon/olpc_dcon.c 		dev_err(&client->dev, "DCON driver requires a registered fb\n");
client            649 drivers/staging/olpc_dcon/olpc_dcon.c 		dev_err(&client->dev, "cannot register backlight dev (%ld)\n",
client            672 drivers/staging/olpc_dcon/olpc_dcon.c static int dcon_remove(struct i2c_client *client)
client            674 drivers/staging/olpc_dcon/olpc_dcon.c 	struct dcon_priv *dcon = i2c_get_clientdata(client);
client            695 drivers/staging/olpc_dcon/olpc_dcon.c 	struct i2c_client *client = to_i2c_client(dev);
client            696 drivers/staging/olpc_dcon/olpc_dcon.c 	struct dcon_priv *dcon = i2c_get_clientdata(client);
client            708 drivers/staging/olpc_dcon/olpc_dcon.c 	struct i2c_client *client = to_i2c_client(dev);
client            709 drivers/staging/olpc_dcon/olpc_dcon.c 	struct dcon_priv *dcon = i2c_get_clientdata(client);
client             61 drivers/staging/olpc_dcon/olpc_dcon.h 	struct i2c_client *client;
client             46 drivers/staging/olpc_dcon/olpc_dcon_xo_1.c 		gpios[i] = devm_gpiod_get(&dcon->client->dev, pin[i].name,
client             94 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c 	gpios_table.dev_id = dev_name(&dcon->client->dev);
client             99 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c 		gpios[i] = devm_gpiod_get(&dcon->client->dev, pin[i].name,
client           1467 drivers/tty/serial/sc16is7xx.c static int sc16is7xx_i2c_remove(struct i2c_client *client)
client           1469 drivers/tty/serial/sc16is7xx.c 	return sc16is7xx_remove(&client->dev);
client            368 drivers/usb/misc/usb3503.c 	struct i2c_client *client = to_i2c_client(dev);
client            370 drivers/usb/misc/usb3503.c 	return usb3503_suspend(i2c_get_clientdata(client));
client            375 drivers/usb/misc/usb3503.c 	struct i2c_client *client = to_i2c_client(dev);
client            377 drivers/usb/misc/usb3503.c 	return usb3503_resume(i2c_get_clientdata(client));
client             40 drivers/usb/misc/usb4604.c 	struct i2c_client *client = to_i2c_client(dev);
client             46 drivers/usb/misc/usb4604.c 	err = i2c_master_send(client, connect_cmd, ARRAY_SIZE(connect_cmd));
client            118 drivers/usb/misc/usb4604.c 	struct i2c_client *client = to_i2c_client(dev);
client            119 drivers/usb/misc/usb4604.c 	struct usb4604 *hub = i2c_get_clientdata(client);
client            128 drivers/usb/misc/usb4604.c 	struct i2c_client *client = to_i2c_client(dev);
client            129 drivers/usb/misc/usb4604.c 	struct usb4604 *hub = i2c_get_clientdata(client);
client             41 drivers/usb/phy/phy-isp1301-omap.c 	struct i2c_client	*client;
client            141 drivers/usb/phy/phy-isp1301-omap.c 	return i2c_smbus_read_byte_data(isp->client, reg + 0);
client            147 drivers/usb/phy/phy-isp1301-omap.c 	return i2c_smbus_read_word_data(isp->client, reg);
client            153 drivers/usb/phy/phy-isp1301-omap.c 	return i2c_smbus_write_byte_data(isp->client, reg + 0, bits);
client            159 drivers/usb/phy/phy-isp1301-omap.c 	return i2c_smbus_write_byte_data(isp->client, reg + 1, bits);
client            316 drivers/usb/phy/phy-isp1301-omap.c 		(void) get_device(&isp->client->dev);
client            319 drivers/usb/phy/phy-isp1301-omap.c 			dev_vdbg(&isp->client->dev,
client           1100 drivers/usb/phy/phy-isp1301-omap.c 			put_device(&isp->client->dev);
client           1108 drivers/usb/phy/phy-isp1301-omap.c 			put_device(&isp->client->dev);
client           1143 drivers/usb/phy/phy-isp1301-omap.c 			put_device(&isp->client->dev);
client           1152 drivers/usb/phy/phy-isp1301-omap.c 			put_device(&isp->client->dev);
client           1156 drivers/usb/phy/phy-isp1301-omap.c 			dev_vdbg(&isp->client->dev,
client           1160 drivers/usb/phy/phy-isp1301-omap.c 			dev_dbg(&isp->client->dev, "stop\n");
client           1254 drivers/usb/phy/phy-isp1301-omap.c 	dev_info(&isp->client->dev, "ready for dual-role USB ...\n");
client           1279 drivers/usb/phy/phy-isp1301-omap.c 	dev_dbg(&isp->client->dev, "registered host\n");
client           1294 drivers/usb/phy/phy-isp1301-omap.c 	dev_info(&isp->client->dev, "A-Host sessions ok\n");
client           1312 drivers/usb/phy/phy-isp1301-omap.c 	dev_dbg(&isp->client->dev, "host sessions not allowed\n");
client           1338 drivers/usb/phy/phy-isp1301-omap.c 	dev_dbg(&isp->client->dev, "registered gadget\n");
client           1367 drivers/usb/phy/phy-isp1301-omap.c 	dev_info(&isp->client->dev, "B-Peripheral sessions ok\n");
client           1380 drivers/usb/phy/phy-isp1301-omap.c 	dev_dbg(&isp->client->dev, "peripheral sessions not allowed\n");
client           1501 drivers/usb/phy/phy-isp1301-omap.c 	isp->client = i2c;
client             22 drivers/usb/phy/phy-isp1301.c 	struct i2c_client	*client;
client             43 drivers/usb/phy/phy-isp1301.c 	return i2c_smbus_write_byte_data(isp->client, reg | clear, value);
client             95 drivers/usb/phy/phy-isp1301.c static int isp1301_probe(struct i2c_client *client,
client            101 drivers/usb/phy/phy-isp1301.c 	isp = devm_kzalloc(&client->dev, sizeof(*isp), GFP_KERNEL);
client            105 drivers/usb/phy/phy-isp1301.c 	isp->client = client;
client            109 drivers/usb/phy/phy-isp1301.c 	phy->dev = &client->dev;
client            115 drivers/usb/phy/phy-isp1301.c 	i2c_set_clientdata(client, isp);
client            118 drivers/usb/phy/phy-isp1301.c 	isp1301_i2c_client = client;
client            123 drivers/usb/phy/phy-isp1301.c static int isp1301_remove(struct i2c_client *client)
client            125 drivers/usb/phy/phy-isp1301.c 	struct isp1301 *isp = i2c_get_clientdata(client);
client             24 drivers/usb/typec/mux/pi3usb30532.c 	struct i2c_client *client;
client             38 drivers/usb/typec/mux/pi3usb30532.c 	ret = i2c_smbus_write_byte_data(pi->client, PI3USB30532_CONF, new_conf);
client             40 drivers/usb/typec/mux/pi3usb30532.c 		dev_err(&pi->client->dev, "Error writing conf: %d\n", ret);
client            113 drivers/usb/typec/mux/pi3usb30532.c static int pi3usb30532_probe(struct i2c_client *client)
client            115 drivers/usb/typec/mux/pi3usb30532.c 	struct device *dev = &client->dev;
client            125 drivers/usb/typec/mux/pi3usb30532.c 	pi->client = client;
client            128 drivers/usb/typec/mux/pi3usb30532.c 	ret = i2c_smbus_read_byte_data(client, PI3USB30532_CONF);
client            158 drivers/usb/typec/mux/pi3usb30532.c 	i2c_set_clientdata(client, pi);
client            162 drivers/usb/typec/mux/pi3usb30532.c static int pi3usb30532_remove(struct i2c_client *client)
client            164 drivers/usb/typec/mux/pi3usb30532.c 	struct pi3usb30532 *pi = i2c_get_clientdata(client);
client           1684 drivers/usb/typec/tcpm/fusb302.c static int fusb302_probe(struct i2c_client *client,
client           1688 drivers/usb/typec/tcpm/fusb302.c 	struct i2c_adapter *adapter = client->adapter;
client           1689 drivers/usb/typec/tcpm/fusb302.c 	struct device *dev = &client->dev;
client           1694 drivers/usb/typec/tcpm/fusb302.c 		dev_err(&client->dev,
client           1698 drivers/usb/typec/tcpm/fusb302.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client           1702 drivers/usb/typec/tcpm/fusb302.c 	chip->i2c_client = client;
client           1703 drivers/usb/typec/tcpm/fusb302.c 	chip->dev = &client->dev;
client           1733 drivers/usb/typec/tcpm/fusb302.c 	if (client->irq) {
client           1734 drivers/usb/typec/tcpm/fusb302.c 		chip->gpio_int_n_irq = client->irq;
client           1747 drivers/usb/typec/tcpm/fusb302.c 	chip->tcpm_port = tcpm_register_port(&client->dev, &chip->tcpc_dev);
client           1764 drivers/usb/typec/tcpm/fusb302.c 	i2c_set_clientdata(client, chip);
client           1778 drivers/usb/typec/tcpm/fusb302.c static int fusb302_remove(struct i2c_client *client)
client           1780 drivers/usb/typec/tcpm/fusb302.c 	struct fusb302_chip *chip = i2c_get_clientdata(client);
client            552 drivers/usb/typec/tcpm/tcpci.c static int tcpci_probe(struct i2c_client *client,
client            559 drivers/usb/typec/tcpm/tcpci.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client            563 drivers/usb/typec/tcpm/tcpci.c 	chip->data.regmap = devm_regmap_init_i2c(client, &tcpci_regmap_config);
client            567 drivers/usb/typec/tcpm/tcpci.c 	i2c_set_clientdata(client, chip);
client            575 drivers/usb/typec/tcpm/tcpci.c 	chip->tcpci = tcpci_register_port(&client->dev, &chip->data);
client            579 drivers/usb/typec/tcpm/tcpci.c 	err = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            582 drivers/usb/typec/tcpm/tcpci.c 					dev_name(&client->dev), chip);
client            591 drivers/usb/typec/tcpm/tcpci.c static int tcpci_remove(struct i2c_client *client)
client            593 drivers/usb/typec/tcpm/tcpci.c 	struct tcpci_chip *chip = i2c_get_clientdata(client);
client            183 drivers/usb/typec/tcpm/tcpci_rt1711h.c 			      struct i2c_client *client)
client            192 drivers/usb/typec/tcpm/tcpci_rt1711h.c 	ret = devm_request_threaded_irq(chip->dev, client->irq, NULL,
client            198 drivers/usb/typec/tcpm/tcpci_rt1711h.c 	enable_irq_wake(client->irq);
client            235 drivers/usb/typec/tcpm/tcpci_rt1711h.c static int rt1711h_probe(struct i2c_client *client,
client            241 drivers/usb/typec/tcpm/tcpci_rt1711h.c 	ret = rt1711h_check_revision(client);
client            243 drivers/usb/typec/tcpm/tcpci_rt1711h.c 		dev_err(&client->dev, "check vid/pid fail\n");
client            247 drivers/usb/typec/tcpm/tcpci_rt1711h.c 	chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL);
client            251 drivers/usb/typec/tcpm/tcpci_rt1711h.c 	chip->data.regmap = devm_regmap_init_i2c(client,
client            256 drivers/usb/typec/tcpm/tcpci_rt1711h.c 	chip->dev = &client->dev;
client            257 drivers/usb/typec/tcpm/tcpci_rt1711h.c 	i2c_set_clientdata(client, chip);
client            263 drivers/usb/typec/tcpm/tcpci_rt1711h.c 	ret = rt1711h_init_alert(chip, client);
client            277 drivers/usb/typec/tcpm/tcpci_rt1711h.c static int rt1711h_remove(struct i2c_client *client)
client            279 drivers/usb/typec/tcpm/tcpci_rt1711h.c 	struct rt1711h_chip *chip = i2c_get_clientdata(client);
client            449 drivers/usb/typec/tps6598x.c static int tps6598x_probe(struct i2c_client *client)
client            457 drivers/usb/typec/tps6598x.c 	tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL);
client            462 drivers/usb/typec/tps6598x.c 	tps->dev = &client->dev;
client            464 drivers/usb/typec/tps6598x.c 	tps->regmap = devm_regmap_init_i2c(client, &tps6598x_regmap_config);
client            479 drivers/usb/typec/tps6598x.c 	if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
client            528 drivers/usb/typec/tps6598x.c 	tps->port = typec_register_port(&client->dev, &tps->typec_cap);
client            535 drivers/usb/typec/tps6598x.c 			dev_err(&client->dev, "failed to register partner\n");
client            538 drivers/usb/typec/tps6598x.c 	ret = devm_request_threaded_irq(&client->dev, client->irq, NULL,
client            541 drivers/usb/typec/tps6598x.c 					dev_name(&client->dev), tps);
client            548 drivers/usb/typec/tps6598x.c 	i2c_set_clientdata(client, tps);
client            553 drivers/usb/typec/tps6598x.c static int tps6598x_remove(struct i2c_client *client)
client            555 drivers/usb/typec/tps6598x.c 	struct tps6598x *tps = i2c_get_clientdata(client);
client            180 drivers/usb/typec/ucsi/ucsi_ccg.c 	struct i2c_client *client;
client            203 drivers/usb/typec/ucsi/ucsi_ccg.c 	struct i2c_client *client = uc->client;
client            204 drivers/usb/typec/ucsi/ucsi_ccg.c 	const struct i2c_adapter_quirks *quirks = client->adapter->quirks;
client            208 drivers/usb/typec/ucsi/ucsi_ccg.c 			.addr	= client->addr,
client            214 drivers/usb/typec/ucsi/ucsi_ccg.c 			.addr	= client->addr,
client            232 drivers/usb/typec/ucsi/ucsi_ccg.c 		status = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            248 drivers/usb/typec/ucsi/ucsi_ccg.c 	struct i2c_client *client = uc->client;
client            252 drivers/usb/typec/ucsi/ucsi_ccg.c 			.addr	= client->addr,
client            269 drivers/usb/typec/ucsi/ucsi_ccg.c 	status = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            647 drivers/usb/typec/ucsi/ucsi_ccg.c 	struct i2c_client *client = uc->client;
client            660 drivers/usb/typec/ucsi/ucsi_ccg.c 	ret = i2c_master_send(client, buf, CCG4_ROW_SIZE + 2);
client           1088 drivers/usb/typec/ucsi/ucsi_ccg.c static int ucsi_ccg_probe(struct i2c_client *client,
client           1091 drivers/usb/typec/ucsi/ucsi_ccg.c 	struct device *dev = &client->dev;
client           1107 drivers/usb/typec/ucsi/ucsi_ccg.c 	uc->client = client;
client           1136 drivers/usb/typec/ucsi/ucsi_ccg.c 	status = request_threaded_irq(client->irq, NULL, ccg_irq_handler,
client           1144 drivers/usb/typec/ucsi/ucsi_ccg.c 	uc->irq = client->irq;
client           1161 drivers/usb/typec/ucsi/ucsi_ccg.c 	i2c_set_clientdata(client, uc);
client           1172 drivers/usb/typec/ucsi/ucsi_ccg.c static int ucsi_ccg_remove(struct i2c_client *client)
client           1174 drivers/usb/typec/ucsi/ucsi_ccg.c 	struct ucsi_ccg *uc = i2c_get_clientdata(client);
client           1193 drivers/usb/typec/ucsi/ucsi_ccg.c 	struct i2c_client *client = to_i2c_client(dev);
client           1194 drivers/usb/typec/ucsi/ucsi_ccg.c 	struct ucsi_ccg *uc = i2c_get_clientdata(client);
client           1206 drivers/usb/typec/ucsi/ucsi_ccg.c 	struct i2c_client *client = to_i2c_client(dev);
client           1207 drivers/usb/typec/ucsi/ucsi_ccg.c 	struct ucsi_ccg *uc = i2c_get_clientdata(client);
client            229 drivers/video/backlight/88pm860x_bl.c 	data->i2c = (chip->id == CHIP_PM8606) ? chip->client : chip->companion;
client             99 drivers/video/backlight/adp8860_bl.c 	struct i2c_client	*client;
client            106 drivers/video/backlight/adp8860_bl.c 	struct i2c_client *client;
client            119 drivers/video/backlight/adp8860_bl.c static int adp8860_read(struct i2c_client *client, int reg, uint8_t *val)
client            123 drivers/video/backlight/adp8860_bl.c 	ret = i2c_smbus_read_byte_data(client, reg);
client            125 drivers/video/backlight/adp8860_bl.c 		dev_err(&client->dev, "failed reading at 0x%02x\n", reg);
client            133 drivers/video/backlight/adp8860_bl.c static int adp8860_write(struct i2c_client *client, u8 reg, u8 val)
client            135 drivers/video/backlight/adp8860_bl.c 	return i2c_smbus_write_byte_data(client, reg, val);
client            138 drivers/video/backlight/adp8860_bl.c static int adp8860_set_bits(struct i2c_client *client, int reg, uint8_t bit_mask)
client            140 drivers/video/backlight/adp8860_bl.c 	struct adp8860_bl *data = i2c_get_clientdata(client);
client            146 drivers/video/backlight/adp8860_bl.c 	ret = adp8860_read(client, reg, &reg_val);
client            150 drivers/video/backlight/adp8860_bl.c 		ret = adp8860_write(client, reg, reg_val);
client            157 drivers/video/backlight/adp8860_bl.c static int adp8860_clr_bits(struct i2c_client *client, int reg, uint8_t bit_mask)
client            159 drivers/video/backlight/adp8860_bl.c 	struct adp8860_bl *data = i2c_get_clientdata(client);
client            165 drivers/video/backlight/adp8860_bl.c 	ret = adp8860_read(client, reg, &reg_val);
client            169 drivers/video/backlight/adp8860_bl.c 		ret = adp8860_write(client, reg, reg_val);
client            184 drivers/video/backlight/adp8860_bl.c 	adp8860_write(led->client, ADP8860_ISC1 - led->id + 1,
client            200 drivers/video/backlight/adp8860_bl.c 	struct i2c_client *client = led->client;
client            203 drivers/video/backlight/adp8860_bl.c 	ret = adp8860_write(client, ADP8860_ISC1 - led->id + 1, 0);
client            204 drivers/video/backlight/adp8860_bl.c 	ret |= adp8860_set_bits(client, ADP8860_ISCC, 1 << (led->id - 1));
client            207 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_set_bits(client, ADP8860_ISCT1,
client            210 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_set_bits(client, ADP8860_ISCT2,
client            216 drivers/video/backlight/adp8860_bl.c static int adp8860_led_probe(struct i2c_client *client)
client            219 drivers/video/backlight/adp8860_bl.c 		dev_get_platdata(&client->dev);
client            220 drivers/video/backlight/adp8860_bl.c 	struct adp8860_bl *data = i2c_get_clientdata(client);
client            225 drivers/video/backlight/adp8860_bl.c 	led = devm_kcalloc(&client->dev, pdata->num_leds, sizeof(*led),
client            230 drivers/video/backlight/adp8860_bl.c 	ret = adp8860_write(client, ADP8860_ISCFR, pdata->led_fade_law);
client            231 drivers/video/backlight/adp8860_bl.c 	ret = adp8860_write(client, ADP8860_ISCT1,
client            233 drivers/video/backlight/adp8860_bl.c 	ret |= adp8860_write(client, ADP8860_ISCF,
client            237 drivers/video/backlight/adp8860_bl.c 		dev_err(&client->dev, "failed to write\n");
client            248 drivers/video/backlight/adp8860_bl.c 			dev_err(&client->dev, "Invalid LED ID %d\n",
client            255 drivers/video/backlight/adp8860_bl.c 			dev_err(&client->dev, "LED %d used by Backlight\n",
client            266 drivers/video/backlight/adp8860_bl.c 		led_dat->client = client;
client            270 drivers/video/backlight/adp8860_bl.c 		ret = led_classdev_register(&client->dev, &led_dat->cdev);
client            272 drivers/video/backlight/adp8860_bl.c 			dev_err(&client->dev, "failed to register LED %d\n",
client            279 drivers/video/backlight/adp8860_bl.c 			dev_err(&client->dev, "failed to write\n");
client            298 drivers/video/backlight/adp8860_bl.c static int adp8860_led_remove(struct i2c_client *client)
client            301 drivers/video/backlight/adp8860_bl.c 		dev_get_platdata(&client->dev);
client            302 drivers/video/backlight/adp8860_bl.c 	struct adp8860_bl *data = i2c_get_clientdata(client);
client            313 drivers/video/backlight/adp8860_bl.c static int adp8860_led_probe(struct i2c_client *client)
client            318 drivers/video/backlight/adp8860_bl.c static int adp8860_led_remove(struct i2c_client *client)
client            327 drivers/video/backlight/adp8860_bl.c 	struct i2c_client *client = data->client;
client            333 drivers/video/backlight/adp8860_bl.c 			ret |= adp8860_clr_bits(client, ADP8860_MDCR,
client            335 drivers/video/backlight/adp8860_bl.c 			ret |= adp8860_write(client, ADP8860_BLMX1, brightness);
client            341 drivers/video/backlight/adp8860_bl.c 			ret |= adp8860_write(client, ADP8860_BLMX1,
client            343 drivers/video/backlight/adp8860_bl.c 			ret |= adp8860_set_bits(client, ADP8860_MDCR,
client            347 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_write(client, ADP8860_BLMX1, brightness);
client            350 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_set_bits(client,
client            353 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_clr_bits(client,
client            390 drivers/video/backlight/adp8860_bl.c 	struct i2c_client *client = data->client;
client            394 drivers/video/backlight/adp8860_bl.c 	ret |= adp8860_write(client, ADP8860_BLSEN, ~pdata->bl_led_assign);
client            395 drivers/video/backlight/adp8860_bl.c 	ret |= adp8860_write(client, ADP8860_BLMX1, pdata->l1_daylight_max);
client            396 drivers/video/backlight/adp8860_bl.c 	ret |= adp8860_write(client, ADP8860_BLDM1, pdata->l1_daylight_dim);
client            400 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_write(client, ADP8860_BLMX2,
client            402 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_write(client, ADP8860_BLDM2,
client            404 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_write(client, ADP8860_BLMX3,
client            406 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_write(client, ADP8860_BLDM3,
client            409 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_write(client, ADP8860_L2_TRP, pdata->l2_trip);
client            410 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_write(client, ADP8860_L2_HYS, pdata->l2_hyst);
client            411 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_write(client, ADP8860_L3_TRP, pdata->l3_trip);
client            412 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_write(client, ADP8860_L3_HYS, pdata->l3_hyst);
client            413 drivers/video/backlight/adp8860_bl.c 		ret |= adp8860_write(client, ADP8860_CCFG, L2_EN | L3_EN |
client            417 drivers/video/backlight/adp8860_bl.c 	ret |= adp8860_write(client, ADP8860_CFGR,
client            420 drivers/video/backlight/adp8860_bl.c 	ret |= adp8860_write(client, ADP8860_BLFR, FADE_VAL(pdata->bl_fade_in,
client            423 drivers/video/backlight/adp8860_bl.c 	ret |= adp8860_set_bits(client, ADP8860_MDCR, BLEN | DIM_EN | NSTBY |
client            436 drivers/video/backlight/adp8860_bl.c 	error = adp8860_read(data->client, reg, &reg_val);
client            457 drivers/video/backlight/adp8860_bl.c 	adp8860_write(data->client, reg, val);
client            567 drivers/video/backlight/adp8860_bl.c 	error = adp8860_read(data->client, ADP8860_PH1LEVL, &reg_val);
client            570 drivers/video/backlight/adp8860_bl.c 		error = adp8860_read(data->client, ADP8860_PH1LEVH, &reg_val);
client            593 drivers/video/backlight/adp8860_bl.c 	error = adp8860_read(data->client, ADP8860_CFGR, &reg_val);
client            618 drivers/video/backlight/adp8860_bl.c 		adp8860_set_bits(data->client, ADP8860_MDCR, CMP_AUTOEN);
client            621 drivers/video/backlight/adp8860_bl.c 		adp8860_clr_bits(data->client, ADP8860_MDCR, CMP_AUTOEN);
client            625 drivers/video/backlight/adp8860_bl.c 		ret = adp8860_read(data->client, ADP8860_CFGR, &reg_val);
client            629 drivers/video/backlight/adp8860_bl.c 			adp8860_write(data->client, ADP8860_CFGR, reg_val);
client            659 drivers/video/backlight/adp8860_bl.c static int adp8860_probe(struct i2c_client *client,
client            665 drivers/video/backlight/adp8860_bl.c 		dev_get_platdata(&client->dev);
client            670 drivers/video/backlight/adp8860_bl.c 	if (!i2c_check_functionality(client->adapter,
client            672 drivers/video/backlight/adp8860_bl.c 		dev_err(&client->dev, "SMBUS Byte Data not Supported\n");
client            677 drivers/video/backlight/adp8860_bl.c 		dev_err(&client->dev, "no platform data?\n");
client            681 drivers/video/backlight/adp8860_bl.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            685 drivers/video/backlight/adp8860_bl.c 	ret = adp8860_read(client, ADP8860_MFDVID, &reg_val);
client            700 drivers/video/backlight/adp8860_bl.c 		dev_err(&client->dev, "failed to probe\n");
client            707 drivers/video/backlight/adp8860_bl.c 	data->client = client;
client            711 drivers/video/backlight/adp8860_bl.c 	i2c_set_clientdata(client, data);
client            719 drivers/video/backlight/adp8860_bl.c 	bl = devm_backlight_device_register(&client->dev,
client            720 drivers/video/backlight/adp8860_bl.c 				dev_driver_string(&client->dev),
client            721 drivers/video/backlight/adp8860_bl.c 				&client->dev, data, &adp8860_bl_ops, &props);
client            723 drivers/video/backlight/adp8860_bl.c 		dev_err(&client->dev, "failed to register backlight\n");
client            736 drivers/video/backlight/adp8860_bl.c 		dev_err(&client->dev, "failed to register sysfs\n");
client            748 drivers/video/backlight/adp8860_bl.c 	dev_info(&client->dev, "%s Rev.%d Backlight\n",
client            749 drivers/video/backlight/adp8860_bl.c 		client->name, data->revid);
client            752 drivers/video/backlight/adp8860_bl.c 		adp8860_led_probe(client);
client            764 drivers/video/backlight/adp8860_bl.c static int adp8860_remove(struct i2c_client *client)
client            766 drivers/video/backlight/adp8860_bl.c 	struct adp8860_bl *data = i2c_get_clientdata(client);
client            768 drivers/video/backlight/adp8860_bl.c 	adp8860_clr_bits(client, ADP8860_MDCR, NSTBY);
client            771 drivers/video/backlight/adp8860_bl.c 		adp8860_led_remove(client);
client            783 drivers/video/backlight/adp8860_bl.c 	struct i2c_client *client = to_i2c_client(dev);
client            785 drivers/video/backlight/adp8860_bl.c 	adp8860_clr_bits(client, ADP8860_MDCR, NSTBY);
client            792 drivers/video/backlight/adp8860_bl.c 	struct i2c_client *client = to_i2c_client(dev);
client            794 drivers/video/backlight/adp8860_bl.c 	adp8860_set_bits(client, ADP8860_MDCR, NSTBY | BLEN);
client            108 drivers/video/backlight/adp8870_bl.c 	struct i2c_client *client;
client            122 drivers/video/backlight/adp8870_bl.c 	struct i2c_client	*client;
client            128 drivers/video/backlight/adp8870_bl.c static int adp8870_read(struct i2c_client *client, int reg, uint8_t *val)
client            132 drivers/video/backlight/adp8870_bl.c 	ret = i2c_smbus_read_byte_data(client, reg);
client            134 drivers/video/backlight/adp8870_bl.c 		dev_err(&client->dev, "failed reading at 0x%02x\n", reg);
client            143 drivers/video/backlight/adp8870_bl.c static int adp8870_write(struct i2c_client *client, u8 reg, u8 val)
client            145 drivers/video/backlight/adp8870_bl.c 	int ret = i2c_smbus_write_byte_data(client, reg, val);
client            148 drivers/video/backlight/adp8870_bl.c 		dev_err(&client->dev, "failed to write\n");
client            153 drivers/video/backlight/adp8870_bl.c static int adp8870_set_bits(struct i2c_client *client, int reg, uint8_t bit_mask)
client            155 drivers/video/backlight/adp8870_bl.c 	struct adp8870_bl *data = i2c_get_clientdata(client);
client            161 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_read(client, reg, &reg_val);
client            165 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, reg, reg_val);
client            172 drivers/video/backlight/adp8870_bl.c static int adp8870_clr_bits(struct i2c_client *client, int reg, uint8_t bit_mask)
client            174 drivers/video/backlight/adp8870_bl.c 	struct adp8870_bl *data = i2c_get_clientdata(client);
client            180 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_read(client, reg, &reg_val);
client            184 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, reg, reg_val);
client            199 drivers/video/backlight/adp8870_bl.c 	adp8870_write(led->client, ADP8870_ISC1 + led->id - 1,
client            218 drivers/video/backlight/adp8870_bl.c 	struct i2c_client *client = led->client;
client            221 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_write(client, ADP8870_ISC1 + led->id - 1, 0);
client            225 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_set_bits(client, ADP8870_ISCC, 1 << (led->id - 1));
client            230 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_set_bits(client, ADP8870_ISCT1,
client            233 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_set_bits(client, ADP8870_ISCT2,
client            239 drivers/video/backlight/adp8870_bl.c static int adp8870_led_probe(struct i2c_client *client)
client            242 drivers/video/backlight/adp8870_bl.c 		dev_get_platdata(&client->dev);
client            243 drivers/video/backlight/adp8870_bl.c 	struct adp8870_bl *data = i2c_get_clientdata(client);
client            248 drivers/video/backlight/adp8870_bl.c 	led = devm_kcalloc(&client->dev, pdata->num_leds, sizeof(*led),
client            253 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_write(client, ADP8870_ISCLAW, pdata->led_fade_law);
client            257 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_write(client, ADP8870_ISCT1,
client            262 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_write(client, ADP8870_ISCF,
client            274 drivers/video/backlight/adp8870_bl.c 			dev_err(&client->dev, "Invalid LED ID %d\n",
client            281 drivers/video/backlight/adp8870_bl.c 			dev_err(&client->dev, "LED %d used by Backlight\n",
client            292 drivers/video/backlight/adp8870_bl.c 		led_dat->client = client;
client            296 drivers/video/backlight/adp8870_bl.c 		ret = led_classdev_register(&client->dev, &led_dat->cdev);
client            298 drivers/video/backlight/adp8870_bl.c 			dev_err(&client->dev, "failed to register LED %d\n",
client            305 drivers/video/backlight/adp8870_bl.c 			dev_err(&client->dev, "failed to write\n");
client            324 drivers/video/backlight/adp8870_bl.c static int adp8870_led_remove(struct i2c_client *client)
client            327 drivers/video/backlight/adp8870_bl.c 		dev_get_platdata(&client->dev);
client            328 drivers/video/backlight/adp8870_bl.c 	struct adp8870_bl *data = i2c_get_clientdata(client);
client            339 drivers/video/backlight/adp8870_bl.c static int adp8870_led_probe(struct i2c_client *client)
client            344 drivers/video/backlight/adp8870_bl.c static int adp8870_led_remove(struct i2c_client *client)
client            353 drivers/video/backlight/adp8870_bl.c 	struct i2c_client *client = data->client;
client            359 drivers/video/backlight/adp8870_bl.c 			ret = adp8870_clr_bits(client, ADP8870_MDCR,
client            363 drivers/video/backlight/adp8870_bl.c 			ret = adp8870_write(client, ADP8870_BLMX1, brightness);
client            371 drivers/video/backlight/adp8870_bl.c 			ret = adp8870_write(client, ADP8870_BLMX1,
client            376 drivers/video/backlight/adp8870_bl.c 			ret = adp8870_set_bits(client, ADP8870_MDCR,
client            382 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_BLMX1, brightness);
client            388 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_set_bits(client,
client            391 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_clr_bits(client,
client            428 drivers/video/backlight/adp8870_bl.c 	struct i2c_client *client = data->client;
client            432 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_write(client, ADP8870_BLSEL, ~pdata->bl_led_assign);
client            436 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_write(client, ADP8870_PWMLED, pdata->pwm_assign);
client            440 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_write(client, ADP8870_BLMX1, pdata->l1_daylight_max);
client            444 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_write(client, ADP8870_BLDM1, pdata->l1_daylight_dim);
client            450 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_BLMX2,
client            454 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_BLDM2,
client            459 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_BLMX3,
client            463 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_BLDM3,
client            468 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_BLMX4,
client            473 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_BLDM4,
client            478 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_BLMX5,
client            483 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_BLDM5,
client            488 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_L2TRP, pdata->l2_trip);
client            492 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_L2HYS, pdata->l2_hyst);
client            496 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_L3TRP, pdata->l3_trip);
client            500 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_L3HYS, pdata->l3_hyst);
client            504 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_L4TRP, pdata->l4_trip);
client            508 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_L4HYS, pdata->l4_hyst);
client            512 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_L5TRP, pdata->l5_trip);
client            516 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_L5HYS, pdata->l5_hyst);
client            520 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_ALS1_EN, L5_EN | L4_EN |
client            525 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_write(client, ADP8870_CMP_CTL,
client            531 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_write(client, ADP8870_CFGR,
client            536 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_write(client, ADP8870_BLFR, FADE_VAL(pdata->bl_fade_in,
client            544 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_set_bits(client, ADP8870_MDCR, BLEN | DIM_EN | NSTBY |
client            557 drivers/video/backlight/adp8870_bl.c 	error = adp8870_read(data->client, reg, &reg_val);
client            578 drivers/video/backlight/adp8870_bl.c 	adp8870_write(data->client, reg, val);
client            749 drivers/video/backlight/adp8870_bl.c 	error = adp8870_read(data->client, ADP8870_PH1LEVL, &reg_val);
client            755 drivers/video/backlight/adp8870_bl.c 	error = adp8870_read(data->client, ADP8870_PH1LEVH, &reg_val);
client            777 drivers/video/backlight/adp8870_bl.c 	error = adp8870_read(data->client, ADP8870_CFGR, &reg_val);
client            802 drivers/video/backlight/adp8870_bl.c 		adp8870_set_bits(data->client, ADP8870_MDCR, CMP_AUTOEN);
client            805 drivers/video/backlight/adp8870_bl.c 		adp8870_clr_bits(data->client, ADP8870_MDCR, CMP_AUTOEN);
client            809 drivers/video/backlight/adp8870_bl.c 		ret = adp8870_read(data->client, ADP8870_CFGR, &reg_val);
client            813 drivers/video/backlight/adp8870_bl.c 			adp8870_write(data->client, ADP8870_CFGR, reg_val);
client            847 drivers/video/backlight/adp8870_bl.c static int adp8870_probe(struct i2c_client *client,
client            854 drivers/video/backlight/adp8870_bl.c 		dev_get_platdata(&client->dev);
client            858 drivers/video/backlight/adp8870_bl.c 	if (!i2c_check_functionality(client->adapter,
client            860 drivers/video/backlight/adp8870_bl.c 		dev_err(&client->dev, "SMBUS Byte Data not Supported\n");
client            865 drivers/video/backlight/adp8870_bl.c 		dev_err(&client->dev, "no platform data?\n");
client            869 drivers/video/backlight/adp8870_bl.c 	ret = adp8870_read(client, ADP8870_MFDVID, &reg_val);
client            874 drivers/video/backlight/adp8870_bl.c 		dev_err(&client->dev, "failed to probe\n");
client            878 drivers/video/backlight/adp8870_bl.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            883 drivers/video/backlight/adp8870_bl.c 	data->client = client;
client            887 drivers/video/backlight/adp8870_bl.c 	i2c_set_clientdata(client, data);
client            894 drivers/video/backlight/adp8870_bl.c 	bl = devm_backlight_device_register(&client->dev,
client            895 drivers/video/backlight/adp8870_bl.c 				dev_driver_string(&client->dev),
client            896 drivers/video/backlight/adp8870_bl.c 				&client->dev, data, &adp8870_bl_ops, &props);
client            898 drivers/video/backlight/adp8870_bl.c 		dev_err(&client->dev, "failed to register backlight\n");
client            908 drivers/video/backlight/adp8870_bl.c 			dev_err(&client->dev, "failed to register sysfs\n");
client            921 drivers/video/backlight/adp8870_bl.c 	dev_info(&client->dev, "Rev.%d Backlight\n", data->revid);
client            924 drivers/video/backlight/adp8870_bl.c 		adp8870_led_probe(client);
client            936 drivers/video/backlight/adp8870_bl.c static int adp8870_remove(struct i2c_client *client)
client            938 drivers/video/backlight/adp8870_bl.c 	struct adp8870_bl *data = i2c_get_clientdata(client);
client            940 drivers/video/backlight/adp8870_bl.c 	adp8870_clr_bits(client, ADP8870_MDCR, NSTBY);
client            943 drivers/video/backlight/adp8870_bl.c 		adp8870_led_remove(client);
client            955 drivers/video/backlight/adp8870_bl.c 	struct i2c_client *client = to_i2c_client(dev);
client            957 drivers/video/backlight/adp8870_bl.c 	adp8870_clr_bits(client, ADP8870_MDCR, NSTBY);
client            964 drivers/video/backlight/adp8870_bl.c 	struct i2c_client *client = to_i2c_client(dev);
client            966 drivers/video/backlight/adp8870_bl.c 	adp8870_set_bits(client, ADP8870_MDCR, NSTBY | BLEN);
client             88 drivers/video/backlight/arcxcnn_bl.c 	struct i2c_client *client;
client             99 drivers/video/backlight/arcxcnn_bl.c 	ret = i2c_smbus_read_byte_data(lp->client, reg);
client            109 drivers/video/backlight/arcxcnn_bl.c 	return i2c_smbus_write_byte_data(lp->client, reg, tmp);
client            119 drivers/video/backlight/arcxcnn_bl.c 	ret = i2c_smbus_write_byte_data(lp->client,
client            126 drivers/video/backlight/arcxcnn_bl.c 	return i2c_smbus_write_byte_data(lp->client,
client            256 drivers/video/backlight/arcxcnn_bl.c 	lp->client = cl;
client            261 drivers/video/backlight/arcxcnn_bl.c 	ret = i2c_smbus_write_byte_data(lp->client,
client            278 drivers/video/backlight/arcxcnn_bl.c 			lp->client, ARCXCNN_FADECTRL);
client            281 drivers/video/backlight/arcxcnn_bl.c 			lp->client, ARCXCNN_ILED_CONFIG);
client            286 drivers/video/backlight/arcxcnn_bl.c 			lp->client, ARCXCNN_DIMFREQ);
client            289 drivers/video/backlight/arcxcnn_bl.c 			lp->client, ARCXCNN_COMP_CONFIG);
client            292 drivers/video/backlight/arcxcnn_bl.c 			lp->client, ARCXCNN_FILT_CONFIG);
client            295 drivers/video/backlight/arcxcnn_bl.c 			lp->client, ARCXCNN_IMAXTUNE);
client            313 drivers/video/backlight/arcxcnn_bl.c 	ret = i2c_smbus_write_byte_data(lp->client, ARCXCNN_FADECTRL,
client            318 drivers/video/backlight/arcxcnn_bl.c 	ret = i2c_smbus_write_byte_data(lp->client, ARCXCNN_ILED_CONFIG,
client            323 drivers/video/backlight/arcxcnn_bl.c 	ret = i2c_smbus_write_byte_data(lp->client, ARCXCNN_DIMFREQ,
client            328 drivers/video/backlight/arcxcnn_bl.c 	ret = i2c_smbus_write_byte_data(lp->client, ARCXCNN_COMP_CONFIG,
client            333 drivers/video/backlight/arcxcnn_bl.c 	ret = i2c_smbus_write_byte_data(lp->client, ARCXCNN_FILT_CONFIG,
client            338 drivers/video/backlight/arcxcnn_bl.c 	ret = i2c_smbus_write_byte_data(lp->client, ARCXCNN_IMAXTUNE,
client            370 drivers/video/backlight/arcxcnn_bl.c 	i2c_smbus_write_byte_data(lp->client,
client            373 drivers/video/backlight/arcxcnn_bl.c 	i2c_smbus_write_byte_data(lp->client,
client             71 drivers/video/backlight/bd6107.c 	struct i2c_client *client;
client             78 drivers/video/backlight/bd6107.c 	return i2c_smbus_write_byte_data(bd->client, reg, data);
client            119 drivers/video/backlight/bd6107.c static int bd6107_probe(struct i2c_client *client,
client            122 drivers/video/backlight/bd6107.c 	struct bd6107_platform_data *pdata = dev_get_platdata(&client->dev);
client            129 drivers/video/backlight/bd6107.c 		dev_err(&client->dev, "No reset GPIO in platform data\n");
client            133 drivers/video/backlight/bd6107.c 	if (!i2c_check_functionality(client->adapter,
client            135 drivers/video/backlight/bd6107.c 		dev_warn(&client->dev,
client            140 drivers/video/backlight/bd6107.c 	bd = devm_kzalloc(&client->dev, sizeof(*bd), GFP_KERNEL);
client            144 drivers/video/backlight/bd6107.c 	bd->client = client;
client            147 drivers/video/backlight/bd6107.c 	ret = devm_gpio_request_one(&client->dev, pdata->reset,
client            150 drivers/video/backlight/bd6107.c 		dev_err(&client->dev, "unable to request reset GPIO\n");
client            160 drivers/video/backlight/bd6107.c 	backlight = devm_backlight_device_register(&client->dev,
client            161 drivers/video/backlight/bd6107.c 					      dev_name(&client->dev),
client            162 drivers/video/backlight/bd6107.c 					      &bd->client->dev, bd,
client            165 drivers/video/backlight/bd6107.c 		dev_err(&client->dev, "failed to register backlight\n");
client            170 drivers/video/backlight/bd6107.c 	i2c_set_clientdata(client, backlight);
client            175 drivers/video/backlight/bd6107.c static int bd6107_remove(struct i2c_client *client)
client            177 drivers/video/backlight/bd6107.c 	struct backlight_device *backlight = i2c_get_clientdata(client);
client             95 drivers/video/backlight/ili9320.c 	ret = lcd->client->init(lcd, lcd->platdata);
client            196 drivers/video/backlight/ili9320.c 				struct ili9320_client *client)
client            225 drivers/video/backlight/ili9320.c 	ili->client = client;
client            242 drivers/video/backlight/ili9320.c 	dev_info(dev, "initialising %s\n", client->name);
client             44 drivers/video/backlight/ili9320.h 	struct ili9320_client		*client;
client            490 drivers/video/backlight/lm3630a_bl.c static int lm3630a_probe(struct i2c_client *client,
client            493 drivers/video/backlight/lm3630a_bl.c 	struct lm3630a_platform_data *pdata = dev_get_platdata(&client->dev);
client            497 drivers/video/backlight/lm3630a_bl.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            498 drivers/video/backlight/lm3630a_bl.c 		dev_err(&client->dev, "fail : i2c functionality check\n");
client            502 drivers/video/backlight/lm3630a_bl.c 	pchip = devm_kzalloc(&client->dev, sizeof(struct lm3630a_chip),
client            506 drivers/video/backlight/lm3630a_bl.c 	pchip->dev = &client->dev;
client            508 drivers/video/backlight/lm3630a_bl.c 	pchip->regmap = devm_regmap_init_i2c(client, &lm3630a_regmap);
client            511 drivers/video/backlight/lm3630a_bl.c 		dev_err(&client->dev, "fail : allocate reg. map: %d\n", rval);
client            515 drivers/video/backlight/lm3630a_bl.c 	i2c_set_clientdata(client, pchip);
client            531 drivers/video/backlight/lm3630a_bl.c 			dev_err(&client->dev, "fail : parse node\n");
client            540 drivers/video/backlight/lm3630a_bl.c 		dev_err(&client->dev, "fail : init chip\n");
client            546 drivers/video/backlight/lm3630a_bl.c 		dev_err(&client->dev, "fail : backlight register.\n");
client            553 drivers/video/backlight/lm3630a_bl.c 			dev_err(&client->dev, "fail : get pwm device\n");
client            565 drivers/video/backlight/lm3630a_bl.c 	pchip->irq = client->irq;
client            571 drivers/video/backlight/lm3630a_bl.c 	dev_info(&client->dev, "LM3630A backlight register OK.\n");
client            575 drivers/video/backlight/lm3630a_bl.c static int lm3630a_remove(struct i2c_client *client)
client            578 drivers/video/backlight/lm3630a_bl.c 	struct lm3630a_chip *pchip = i2c_get_clientdata(client);
client            299 drivers/video/backlight/lm3639_bl.c static int lm3639_probe(struct i2c_client *client,
client            304 drivers/video/backlight/lm3639_bl.c 	struct lm3639_platform_data *pdata = dev_get_platdata(&client->dev);
client            307 drivers/video/backlight/lm3639_bl.c 	if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
client            308 drivers/video/backlight/lm3639_bl.c 		dev_err(&client->dev, "i2c functionality check fail.\n");
client            313 drivers/video/backlight/lm3639_bl.c 		dev_err(&client->dev, "Needs Platform Data.\n");
client            317 drivers/video/backlight/lm3639_bl.c 	pchip = devm_kzalloc(&client->dev,
client            323 drivers/video/backlight/lm3639_bl.c 	pchip->dev = &client->dev;
client            325 drivers/video/backlight/lm3639_bl.c 	pchip->regmap = devm_regmap_init_i2c(client, &lm3639_regmap);
client            328 drivers/video/backlight/lm3639_bl.c 		dev_err(&client->dev, "fail : allocate register map: %d\n",
client            332 drivers/video/backlight/lm3639_bl.c 	i2c_set_clientdata(client, pchip);
client            337 drivers/video/backlight/lm3639_bl.c 		dev_err(&client->dev, "fail : chip init\n");
client            350 drivers/video/backlight/lm3639_bl.c 		dev_err(&client->dev, "fail : backlight register\n");
client            357 drivers/video/backlight/lm3639_bl.c 		dev_err(&client->dev, "failed : add sysfs entries\n");
client            366 drivers/video/backlight/lm3639_bl.c 				    &client->dev, &pchip->cdev_flash);
client            368 drivers/video/backlight/lm3639_bl.c 		dev_err(&client->dev, "fail : flash register\n");
client            377 drivers/video/backlight/lm3639_bl.c 				    &client->dev, &pchip->cdev_torch);
client            379 drivers/video/backlight/lm3639_bl.c 		dev_err(&client->dev, "fail : torch register\n");
client            393 drivers/video/backlight/lm3639_bl.c static int lm3639_remove(struct i2c_client *client)
client            395 drivers/video/backlight/lm3639_bl.c 	struct lm3639_chip_data *pchip = i2c_get_clientdata(client);
client             68 drivers/video/backlight/lp855x_bl.c 	struct i2c_client *client;
client             79 drivers/video/backlight/lp855x_bl.c 	return i2c_smbus_write_byte_data(lp->client, reg, data);
client             87 drivers/video/backlight/lp855x_bl.c 	ret = i2c_smbus_read_byte_data(lp->client, reg);
client            410 drivers/video/backlight/lp855x_bl.c 	lp->client = cl;
client             36 drivers/video/backlight/lv5207lp.c 	struct i2c_client *client;
client             43 drivers/video/backlight/lv5207lp.c 	return i2c_smbus_write_byte_data(lv->client, reg, data);
client             84 drivers/video/backlight/lv5207lp.c static int lv5207lp_probe(struct i2c_client *client,
client             87 drivers/video/backlight/lv5207lp.c 	struct lv5207lp_platform_data *pdata = dev_get_platdata(&client->dev);
client             93 drivers/video/backlight/lv5207lp.c 		dev_err(&client->dev, "No platform data supplied\n");
client             97 drivers/video/backlight/lv5207lp.c 	if (!i2c_check_functionality(client->adapter,
client             99 drivers/video/backlight/lv5207lp.c 		dev_warn(&client->dev,
client            104 drivers/video/backlight/lv5207lp.c 	lv = devm_kzalloc(&client->dev, sizeof(*lv), GFP_KERNEL);
client            108 drivers/video/backlight/lv5207lp.c 	lv->client = client;
client            118 drivers/video/backlight/lv5207lp.c 	backlight = devm_backlight_device_register(&client->dev,
client            119 drivers/video/backlight/lv5207lp.c 				dev_name(&client->dev), &lv->client->dev,
client            122 drivers/video/backlight/lv5207lp.c 		dev_err(&client->dev, "failed to register backlight\n");
client            127 drivers/video/backlight/lv5207lp.c 	i2c_set_clientdata(client, backlight);
client            132 drivers/video/backlight/lv5207lp.c static int lv5207lp_remove(struct i2c_client *client)
client            134 drivers/video/backlight/lv5207lp.c 	struct backlight_device *backlight = i2c_get_clientdata(client);
client             77 drivers/video/backlight/tosa_bl.c static int tosa_bl_probe(struct i2c_client *client,
client             84 drivers/video/backlight/tosa_bl.c 	data = devm_kzalloc(&client->dev, sizeof(struct tosa_bl_data),
client             91 drivers/video/backlight/tosa_bl.c 	ret = devm_gpio_request_one(&client->dev, TOSA_GPIO_BL_C20MA,
client             98 drivers/video/backlight/tosa_bl.c 	i2c_set_clientdata(client, data);
client             99 drivers/video/backlight/tosa_bl.c 	data->i2c = client;
client            104 drivers/video/backlight/tosa_bl.c 	data->bl = devm_backlight_device_register(&client->dev, "tosa-bl",
client            105 drivers/video/backlight/tosa_bl.c 						&client->dev, data, &bl_ops,
client            124 drivers/video/backlight/tosa_bl.c static int tosa_bl_remove(struct i2c_client *client)
client            126 drivers/video/backlight/tosa_bl.c 	struct tosa_bl_data *data = i2c_get_clientdata(client);
client            131 drivers/video/fbdev/matrox/matroxfb_maven.c 	struct i2c_client		*client;
client            991 drivers/video/fbdev/matrox/matroxfb_maven.c 	struct i2c_client *c = md->client;
client           1028 drivers/video/fbdev/matrox/matroxfb_maven.c 	struct i2c_client *c = md->client;
client           1086 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg_pair(md->client, 0x0e, blacklevel);
client           1087 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg_pair(md->client, 0x1e, whitelevel);
client           1092 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg(md->client, 0x20, p->value);
client           1093 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg(md->client, 0x22, p->value);
client           1098 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg(md->client, 0x25, p->value);
client           1105 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg(md->client, 0x83, g->reg83);
client           1106 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg(md->client, 0x84, g->reg84);
client           1107 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg(md->client, 0x85, g->reg85);
client           1108 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg(md->client, 0x86, g->reg86);
client           1109 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg(md->client, 0x87, g->reg87);
client           1110 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg(md->client, 0x88, g->reg88);
client           1111 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg(md->client, 0x89, g->reg89);
client           1112 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg(md->client, 0x8a, g->reg8a);
client           1113 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg(md->client, 0x8b, g->reg8b);
client           1119 drivers/video/fbdev/matrox/matroxfb_maven.c 			  = maven_get_reg(md->client, 0x8d);
client           1122 drivers/video/fbdev/matrox/matroxfb_maven.c 			maven_set_reg(md->client, 0x8d, val);
client           1127 drivers/video/fbdev/matrox/matroxfb_maven.c 		  maven_set_reg(md->client, 0x93, maven_compute_deflicker(md));
client           1208 drivers/video/fbdev/matrox/matroxfb_maven.c 	md->client = clnt;
client           1252 drivers/video/fbdev/matrox/matroxfb_maven.c static int maven_probe(struct i2c_client *client,
client           1255 drivers/video/fbdev/matrox/matroxfb_maven.c 	struct i2c_adapter *adapter = client->adapter;
client           1268 drivers/video/fbdev/matrox/matroxfb_maven.c 	i2c_set_clientdata(client, data);
client           1269 drivers/video/fbdev/matrox/matroxfb_maven.c 	err = maven_init_client(client);
client           1279 drivers/video/fbdev/matrox/matroxfb_maven.c static int maven_remove(struct i2c_client *client)
client           1281 drivers/video/fbdev/matrox/matroxfb_maven.c 	maven_shutdown_client(client);
client           1282 drivers/video/fbdev/matrox/matroxfb_maven.c 	kfree(i2c_get_clientdata(client));
client            761 drivers/video/fbdev/mx3fb.c 	struct mx3fb_data *mx3fb = ichannel->client;
client           1442 drivers/video/fbdev/mx3fb.c 	ichan->client = mx3fb;
client             75 drivers/video/fbdev/ssd1307fb.c 	struct i2c_client *client;
client            125 drivers/video/fbdev/ssd1307fb.c static int ssd1307fb_write_array(struct i2c_client *client,
client            132 drivers/video/fbdev/ssd1307fb.c 	ret = i2c_master_send(client, (u8 *)array, len);
client            134 drivers/video/fbdev/ssd1307fb.c 		dev_err(&client->dev, "Couldn't send I2C command.\n");
client            141 drivers/video/fbdev/ssd1307fb.c static inline int ssd1307fb_write_cmd(struct i2c_client *client, u8 cmd)
client            152 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_array(client, array, 1);
client            216 drivers/video/fbdev/ssd1307fb.c 	ssd1307fb_write_array(par->client, array, par->width * pages);
client            257 drivers/video/fbdev/ssd1307fb.c 		return ssd1307fb_write_cmd(par->client, SSD1307FB_DISPLAY_OFF);
client            259 drivers/video/fbdev/ssd1307fb.c 		return ssd1307fb_write_cmd(par->client, SSD1307FB_DISPLAY_ON);
client            306 drivers/video/fbdev/ssd1307fb.c 		par->pwm = pwm_get(&par->client->dev, NULL);
client            308 drivers/video/fbdev/ssd1307fb.c 			dev_err(&par->client->dev, "Could not get PWM from device tree!\n");
client            325 drivers/video/fbdev/ssd1307fb.c 		dev_dbg(&par->client->dev, "Using PWM%d with a %dns period.\n",
client            330 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, SSD1307FB_CONTRAST);
client            334 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, par->contrast);
client            340 drivers/video/fbdev/ssd1307fb.c 		ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SEG_REMAP_ON);
client            347 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client,  com_invdir);
client            352 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_MULTIPLEX_RATIO);
client            356 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, par->height - 1);
client            361 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_DISPLAY_OFFSET);
client            365 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, par->com_offset);
client            370 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_CLOCK_FREQ);
client            375 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, dclk);
client            383 drivers/video/fbdev/ssd1307fb.c 		ret = ssd1307fb_write_cmd(par->client,
client            390 drivers/video/fbdev/ssd1307fb.c 		ret = ssd1307fb_write_cmd(par->client, mode);
client            396 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_PRECHARGE_PERIOD);
client            401 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, precharge);
client            406 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_COM_PINS_CONFIG);
client            411 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, compins);
client            416 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_VCOMH);
client            420 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, par->vcomh);
client            425 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, SSD1307FB_CHARGE_PUMP);
client            429 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client,
client            438 drivers/video/fbdev/ssd1307fb.c 		ret = ssd1307fb_write_cmd(par->client,
client            447 drivers/video/fbdev/ssd1307fb.c 				dev_warn(&par->client->dev,
client            450 drivers/video/fbdev/ssd1307fb.c 			ret = ssd1307fb_write_cmd(par->client, val);
client            457 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_ADDRESS_MODE);
client            461 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client,
client            467 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_COL_RANGE);
client            471 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, 0x0);
client            475 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, par->width - 1);
client            480 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_PAGE_RANGE);
client            484 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, par->page_offset);
client            488 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client,
client            498 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, SSD1307FB_DISPLAY_ON);
client            513 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, SSD1307FB_CONTRAST);
client            516 drivers/video/fbdev/ssd1307fb.c 	ret = ssd1307fb_write_cmd(par->client, par->contrast);
client            589 drivers/video/fbdev/ssd1307fb.c static int ssd1307fb_probe(struct i2c_client *client,
client            595 drivers/video/fbdev/ssd1307fb.c 	struct device_node *node = client->dev.of_node;
client            603 drivers/video/fbdev/ssd1307fb.c 		dev_err(&client->dev, "No device tree data found!\n");
client            607 drivers/video/fbdev/ssd1307fb.c 	info = framebuffer_alloc(sizeof(struct ssd1307fb_par), &client->dev);
client            613 drivers/video/fbdev/ssd1307fb.c 	par->client = client;
client            615 drivers/video/fbdev/ssd1307fb.c 	par->device_info = of_device_get_match_data(&client->dev);
client            617 drivers/video/fbdev/ssd1307fb.c 	par->reset = devm_gpiod_get_optional(&client->dev, "reset",
client            620 drivers/video/fbdev/ssd1307fb.c 		dev_err(&client->dev, "failed to get reset gpio: %ld\n",
client            626 drivers/video/fbdev/ssd1307fb.c 	par->vbat_reg = devm_regulator_get_optional(&client->dev, "vbat");
client            632 drivers/video/fbdev/ssd1307fb.c 			dev_err(&client->dev, "failed to get VBAT regulator: %d\n",
client            683 drivers/video/fbdev/ssd1307fb.c 		dev_err(&client->dev, "Couldn't allocate graphical memory.\n");
client            688 drivers/video/fbdev/ssd1307fb.c 	ssd1307fb_defio = devm_kzalloc(&client->dev, sizeof(*ssd1307fb_defio),
client            691 drivers/video/fbdev/ssd1307fb.c 		dev_err(&client->dev, "Couldn't allocate deferred io.\n");
client            716 drivers/video/fbdev/ssd1307fb.c 	i2c_set_clientdata(client, info);
client            729 drivers/video/fbdev/ssd1307fb.c 			dev_err(&client->dev, "failed to enable VBAT: %d\n",
client            741 drivers/video/fbdev/ssd1307fb.c 		dev_err(&client->dev, "Couldn't register the framebuffer\n");
client            746 drivers/video/fbdev/ssd1307fb.c 	bl = backlight_device_register(bl_name, &client->dev, par,
client            750 drivers/video/fbdev/ssd1307fb.c 		dev_err(&client->dev, "unable to register backlight device: %d\n",
client            759 drivers/video/fbdev/ssd1307fb.c 	dev_info(&client->dev, "fb%d: %s framebuffer device registered, using %d bytes of video memory\n", info->node, info->fix.id, vmem_size);
client            780 drivers/video/fbdev/ssd1307fb.c static int ssd1307fb_remove(struct i2c_client *client)
client            782 drivers/video/fbdev/ssd1307fb.c 	struct fb_info *info = i2c_get_clientdata(client);
client            785 drivers/video/fbdev/ssd1307fb.c 	ssd1307fb_write_cmd(par->client, SSD1307FB_DISPLAY_OFF);
client            112 drivers/w1/masters/ds2482.c 	struct i2c_client	*client;
client            151 drivers/w1/masters/ds2482.c 		if (i2c_smbus_write_byte_data(pdev->client,
client            171 drivers/w1/masters/ds2482.c 	if (i2c_smbus_write_byte(pdev->client, cmd) < 0)
client            191 drivers/w1/masters/ds2482.c 	if (i2c_smbus_write_byte_data(pdev->client, cmd, byte) < 0)
client            220 drivers/w1/masters/ds2482.c 			temp = i2c_smbus_read_byte(pdev->client);
client            242 drivers/w1/masters/ds2482.c 	if (i2c_smbus_write_byte_data(pdev->client, DS2482_CMD_CHANNEL_SELECT,
client            248 drivers/w1/masters/ds2482.c 	if (i2c_smbus_read_byte(pdev->client) == ds2482_chan_rd[channel]) {
client            372 drivers/w1/masters/ds2482.c 	result = i2c_smbus_read_byte(pdev->client);
client            445 drivers/w1/masters/ds2482.c static int ds2482_probe(struct i2c_client *client,
client            453 drivers/w1/masters/ds2482.c 	if (!i2c_check_functionality(client->adapter,
client            463 drivers/w1/masters/ds2482.c 	data->client = client;
client            464 drivers/w1/masters/ds2482.c 	i2c_set_clientdata(client, data);
client            468 drivers/w1/masters/ds2482.c 		dev_warn(&client->dev, "DS2482 reset failed.\n");
client            476 drivers/w1/masters/ds2482.c 	temp1 = i2c_smbus_read_byte(client);
client            478 drivers/w1/masters/ds2482.c 		dev_warn(&client->dev, "DS2482 reset status "
client            528 drivers/w1/masters/ds2482.c static int ds2482_remove(struct i2c_client *client)
client            530 drivers/w1/masters/ds2482.c 	struct ds2482_data   *data = i2c_get_clientdata(client);
client            103 drivers/watchdog/ziirave_wdt.c static int ziirave_wdt_revision(struct i2c_client *client,
client            108 drivers/watchdog/ziirave_wdt.c 	ret = i2c_smbus_read_byte_data(client, command);
client            114 drivers/watchdog/ziirave_wdt.c 	ret = i2c_smbus_read_byte_data(client, command + 1);
client            125 drivers/watchdog/ziirave_wdt.c 	struct i2c_client *client = to_i2c_client(wdd->parent);
client            127 drivers/watchdog/ziirave_wdt.c 	return i2c_smbus_write_byte_data(client, ZIIRAVE_WDT_STATE, state);
client            142 drivers/watchdog/ziirave_wdt.c 	struct i2c_client *client = to_i2c_client(wdd->parent);
client            144 drivers/watchdog/ziirave_wdt.c 	return i2c_smbus_write_byte_data(client, ZIIRAVE_WDT_PING,
client            151 drivers/watchdog/ziirave_wdt.c 	struct i2c_client *client = to_i2c_client(wdd->parent);
client            154 drivers/watchdog/ziirave_wdt.c 	ret = i2c_smbus_write_byte_data(client, ZIIRAVE_WDT_TIMEOUT, timeout);
client            163 drivers/watchdog/ziirave_wdt.c 	struct i2c_client *client = to_i2c_client(wdd->parent);
client            166 drivers/watchdog/ziirave_wdt.c 	ret = i2c_smbus_read_byte_data(client, ZIIRAVE_WDT_TIME_LEFT);
client            175 drivers/watchdog/ziirave_wdt.c 	struct i2c_client *client = to_i2c_client(wdd->parent);
client            178 drivers/watchdog/ziirave_wdt.c 	ret = i2c_smbus_read_byte(client);
client            180 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Failed to read status byte\n");
client            189 drivers/watchdog/ziirave_wdt.c 	struct i2c_client *client = to_i2c_client(wdd->parent);
client            195 drivers/watchdog/ziirave_wdt.c 	return i2c_smbus_write_block_data(client,
client            222 drivers/watchdog/ziirave_wdt.c 	struct i2c_client *client = to_i2c_client(wdd->parent);
client            228 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Firmware packet too long (%d)\n",
client            256 drivers/watchdog/ziirave_wdt.c 	ret = i2c_smbus_write_block_data(client, ZIIRAVE_CMD_DOWNLOAD_PACKET,
client            259 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev,
client            266 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev,
client            300 drivers/watchdog/ziirave_wdt.c 	struct i2c_client *client = to_i2c_client(wdd->parent);
client            314 drivers/watchdog/ziirave_wdt.c 			dev_err(&client->dev,
client            321 drivers/watchdog/ziirave_wdt.c 			ret = i2c_smbus_read_byte_data(client,
client            324 drivers/watchdog/ziirave_wdt.c 				dev_err(&client->dev,
client            332 drivers/watchdog/ziirave_wdt.c 			dev_err(&client->dev,
client            344 drivers/watchdog/ziirave_wdt.c 	struct i2c_client *client = to_i2c_client(wdd->parent);
client            348 drivers/watchdog/ziirave_wdt.c 	ret = i2c_smbus_write_byte_data(client,
client            352 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Failed to jump to bootloader\n");
client            358 drivers/watchdog/ziirave_wdt.c 	ret = i2c_smbus_write_byte(client, ZIIRAVE_CMD_DOWNLOAD_START);
client            360 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Failed to start download\n");
client            366 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "No ACK for start download\n");
client            385 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Failed to send EMPTY packet: %d\n", ret);
client            395 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev,
client            401 drivers/watchdog/ziirave_wdt.c 	ret = i2c_smbus_write_byte(client, ZIIRAVE_CMD_DOWNLOAD_END);
client            403 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev,
client            409 drivers/watchdog/ziirave_wdt.c 	ret = i2c_smbus_write_byte_data(client,
client            413 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev,
client            441 drivers/watchdog/ziirave_wdt.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client            442 drivers/watchdog/ziirave_wdt.c 	struct ziirave_wdt_data *w_priv = i2c_get_clientdata(client);
client            464 drivers/watchdog/ziirave_wdt.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client            465 drivers/watchdog/ziirave_wdt.c 	struct ziirave_wdt_data *w_priv = i2c_get_clientdata(client);
client            487 drivers/watchdog/ziirave_wdt.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client            488 drivers/watchdog/ziirave_wdt.c 	struct ziirave_wdt_data *w_priv = i2c_get_clientdata(client);
client            509 drivers/watchdog/ziirave_wdt.c 	struct i2c_client *client = to_i2c_client(dev->parent);
client            510 drivers/watchdog/ziirave_wdt.c 	struct ziirave_wdt_data *w_priv = i2c_get_clientdata(client);
client            516 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Failed to request ihex firmware\n");
client            526 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "The firmware update failed: %d\n", err);
client            531 drivers/watchdog/ziirave_wdt.c 	err = ziirave_wdt_revision(client, &w_priv->firmware_rev,
client            534 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Failed to read firmware version: %d\n",
client            539 drivers/watchdog/ziirave_wdt.c 	dev_info(&client->dev,
client            546 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Failed to set timeout: %d\n", err);
client            569 drivers/watchdog/ziirave_wdt.c static int ziirave_wdt_init_duration(struct i2c_client *client)
client            575 drivers/watchdog/ziirave_wdt.c 		if (!client->dev.of_node)
client            578 drivers/watchdog/ziirave_wdt.c 			ret = of_property_read_u32(client->dev.of_node,
client            582 drivers/watchdog/ziirave_wdt.c 			dev_info(&client->dev,
client            591 drivers/watchdog/ziirave_wdt.c 	dev_info(&client->dev, "Setting reset duration to %dms",
client            594 drivers/watchdog/ziirave_wdt.c 	return i2c_smbus_write_byte_data(client, ZIIRAVE_WDT_RESET_DURATION,
client            598 drivers/watchdog/ziirave_wdt.c static int ziirave_wdt_probe(struct i2c_client *client,
client            605 drivers/watchdog/ziirave_wdt.c 	if (!i2c_check_functionality(client->adapter,
client            611 drivers/watchdog/ziirave_wdt.c 	w_priv = devm_kzalloc(&client->dev, sizeof(*w_priv), GFP_KERNEL);
client            621 drivers/watchdog/ziirave_wdt.c 	w_priv->wdd.parent = &client->dev;
client            624 drivers/watchdog/ziirave_wdt.c 	watchdog_init_timeout(&w_priv->wdd, wdt_timeout, &client->dev);
client            632 drivers/watchdog/ziirave_wdt.c 		val = i2c_smbus_read_byte_data(client, ZIIRAVE_WDT_TIMEOUT);
client            634 drivers/watchdog/ziirave_wdt.c 			dev_err(&client->dev, "Failed to read timeout\n");
client            647 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Failed to set timeout\n");
client            651 drivers/watchdog/ziirave_wdt.c 	dev_info(&client->dev, "Timeout set to %ds\n", w_priv->wdd.timeout);
client            655 drivers/watchdog/ziirave_wdt.c 	i2c_set_clientdata(client, w_priv);
client            658 drivers/watchdog/ziirave_wdt.c 	val = i2c_smbus_read_byte_data(client, ZIIRAVE_WDT_STATE);
client            660 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Failed to read state\n");
client            667 drivers/watchdog/ziirave_wdt.c 	ret = ziirave_wdt_init_duration(client);
client            669 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Failed to init duration\n");
client            673 drivers/watchdog/ziirave_wdt.c 	ret = ziirave_wdt_revision(client, &w_priv->firmware_rev,
client            676 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Failed to read firmware version\n");
client            680 drivers/watchdog/ziirave_wdt.c 	dev_info(&client->dev,
client            684 drivers/watchdog/ziirave_wdt.c 	ret = ziirave_wdt_revision(client, &w_priv->bootloader_rev,
client            687 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Failed to read bootloader version\n");
client            691 drivers/watchdog/ziirave_wdt.c 	dev_info(&client->dev,
client            695 drivers/watchdog/ziirave_wdt.c 	w_priv->reset_reason = i2c_smbus_read_byte_data(client,
client            698 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Failed to read reset reason\n");
client            704 drivers/watchdog/ziirave_wdt.c 		dev_err(&client->dev, "Invalid reset reason\n");
client            713 drivers/watchdog/ziirave_wdt.c static int ziirave_wdt_remove(struct i2c_client *client)
client            715 drivers/watchdog/ziirave_wdt.c 	struct ziirave_wdt_data *w_priv = i2c_get_clientdata(client);
client            221 fs/ceph/addr.c 	err = ceph_osdc_readpages(&fsc->client->osdc, ceph_vino(inode),
client            311 fs/ceph/addr.c 		&ceph_inode_to_client(inode)->client->osdc;
client            631 fs/ceph/addr.c 	err = ceph_osdc_writepages(&fsc->client->osdc, ceph_vino(inode),
client           1029 fs/ceph/addr.c 		req = ceph_osdc_new_request(&fsc->client->osdc,
client           1036 fs/ceph/addr.c 			req = ceph_osdc_new_request(&fsc->client->osdc,
client           1127 fs/ceph/addr.c 		rc = ceph_osdc_start_request(&fsc->client->osdc, req, true);
client           1720 fs/ceph/addr.c 	req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout,
client           1730 fs/ceph/addr.c 	err = ceph_osdc_start_request(&fsc->client->osdc, req, false);
client           1732 fs/ceph/addr.c 		err = ceph_osdc_wait_request(&fsc->client->osdc, req);
client           1737 fs/ceph/addr.c 	req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout,
client           1772 fs/ceph/addr.c 	err = ceph_osdc_start_request(&fsc->client->osdc, req, false);
client           1774 fs/ceph/addr.c 		err = ceph_osdc_wait_request(&fsc->client->osdc, req);
client           1887 fs/ceph/addr.c 	rd_req = ceph_osdc_alloc_request(&fsc->client->osdc, NULL,
client           1905 fs/ceph/addr.c 	wr_req = ceph_osdc_alloc_request(&fsc->client->osdc, NULL,
client           1930 fs/ceph/addr.c 	err = ceph_osdc_start_request(&fsc->client->osdc, rd_req, false);
client           1933 fs/ceph/addr.c 	err2 = ceph_osdc_start_request(&fsc->client->osdc, wr_req, false);
client           1936 fs/ceph/addr.c 		err = ceph_osdc_wait_request(&fsc->client->osdc, rd_req);
client           1938 fs/ceph/addr.c 		err2 = ceph_osdc_wait_request(&fsc->client->osdc, wr_req);
client             54 fs/ceph/cache.c 	const struct ceph_fsid *fsid = &fsc->client->fsid;
client           1141 fs/ceph/caps.c 	struct ceph_osd_client *osdc = &arg->session->s_mdsc->fsc->client->osdc;
client           3867 fs/ceph/caps.c 		struct ceph_osd_client	*osdc = &mdsc->fsc->client->osdc;
client            176 fs/ceph/debugfs.c 	struct ceph_auth_client *ac = fsc->client->monc.auth;
client            177 fs/ceph/debugfs.c 	struct ceph_options *opt = fsc->client->options;
client            256 fs/ceph/debugfs.c 				    fsc->client->debugfs_dir,
client            264 fs/ceph/debugfs.c 				       fsc->client->debugfs_dir,
client            269 fs/ceph/debugfs.c 					fsc->client->debugfs_dir,
client            275 fs/ceph/debugfs.c 					fsc->client->debugfs_dir,
client            281 fs/ceph/debugfs.c 						fsc->client->debugfs_dir,
client            287 fs/ceph/debugfs.c 						   fsc->client->debugfs_dir,
client            589 fs/ceph/file.c 	struct ceph_osd_client *osdc = &fsc->client->osdc;
client            976 fs/ceph/file.c 		req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout,
client           1048 fs/ceph/file.c 			ret = ceph_osdc_wait_request(&fsc->client->osdc, req);
client           1172 fs/ceph/file.c 		req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout,
client           1217 fs/ceph/file.c 		ret = ceph_osdc_start_request(&fsc->client->osdc, req, false);
client           1219 fs/ceph/file.c 			ret = ceph_osdc_wait_request(&fsc->client->osdc, req);
client           1418 fs/ceph/file.c 	struct ceph_osd_client *osdc = &fsc->client->osdc;
client           1715 fs/ceph/file.c 	req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout,
client           1727 fs/ceph/file.c 	ret = ceph_osdc_start_request(&fsc->client->osdc, req, false);
client           1729 fs/ceph/file.c 		ret = ceph_osdc_wait_request(&fsc->client->osdc, req);
client           1969 fs/ceph/file.c 		if (ceph_fsid_compare(&src_fsc->client->fsid,
client           1970 fs/ceph/file.c 				      &dst_fsc->client->fsid)) {
client           1972 fs/ceph/file.c 			     &src_fsc->client->fsid, &dst_fsc->client->fsid);
client           2110 fs/ceph/file.c 			&src_fsc->client->osdc,
client            185 fs/ceph/ioctl.c 		&ceph_sb_to_client(inode->i_sb)->client->osdc;
client            362 fs/ceph/locks.c 	cephlock->client = cpu_to_le64(0);
client            632 fs/ceph/mds_client.c 	ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr);
client           1080 fs/ceph/mds_client.c 	struct ceph_options *opt = mdsc->fsc->client->options;
client           1863 fs/ceph/mds_client.c 	struct ceph_osd_client *osdc = &mdsc->fsc->client->osdc;
client           4205 fs/ceph/mds_client.c 	struct ceph_options *opts = mdsc->fsc->client->options;
client           4342 fs/ceph/mds_client.c 	struct ceph_options *opts = mdsc->fsc->client->options;
client           4514 fs/ceph/mds_client.c 	ceph_monc_got_map(&fsc->client->monc, CEPH_SUB_FSMAP, epoch);
client           4516 fs/ceph/mds_client.c 		fsc->client->monc.fs_cluster_id = mount_fscid;
client           4517 fs/ceph/mds_client.c 		ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP,
client           4519 fs/ceph/mds_client.c 		ceph_monc_renew_subs(&fsc->client->monc);
client           4550 fs/ceph/mds_client.c 	if (ceph_check_fsid(mdsc->fsc->client, &fsid) < 0)
client           4584 fs/ceph/mds_client.c 	ceph_monc_got_map(&mdsc->fsc->client->monc, CEPH_SUB_MDSMAP,
client           4694 fs/ceph/mds_client.c 	struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;
client           4722 fs/ceph/mds_client.c 	struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;
client           4732 fs/ceph/mds_client.c 	struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;
client           4741 fs/ceph/mds_client.c 	struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;
client           4745 fs/ceph/mds_client.c 	return ceph_monc_validate_auth(&mdsc->fsc->client->monc);
client             49 fs/ceph/super.c 	struct ceph_mon_client *monc = &fsc->client->monc;
client            121 fs/ceph/super.c 	ceph_osdc_sync(&fsc->client->osdc);
client            481 fs/ceph/super.c 	return ceph_compare_options(new_opt, fsc->client);
client            589 fs/ceph/super.c 	ret = ceph_print_client_options(m, fsc->client, false);
client            661 fs/ceph/super.c static int extra_mon_dispatch(struct ceph_client *client, struct ceph_msg *msg)
client            663 fs/ceph/super.c 	struct ceph_fs_client *fsc = client->private;
client            697 fs/ceph/super.c 	fsc->client = ceph_create_client(opt, fsc);
client            698 fs/ceph/super.c 	if (IS_ERR(fsc->client)) {
client            699 fs/ceph/super.c 		err = PTR_ERR(fsc->client);
client            704 fs/ceph/super.c 	fsc->client->extra_mon_dispatch = extra_mon_dispatch;
client            705 fs/ceph/super.c 	ceph_set_opt(fsc->client, ABORT_ON_FULL);
client            708 fs/ceph/super.c 		ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP,
client            711 fs/ceph/super.c 		ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_FSMAP,
client            750 fs/ceph/super.c 	ceph_destroy_client(fsc->client);
client            777 fs/ceph/super.c 	ceph_destroy_client(fsc->client);
client            883 fs/ceph/super.c 	ceph_osdc_abort_requests(&fsc->client->osdc, -EIO);
client            935 fs/ceph/super.c 	req->r_timeout = fsc->client->options->mount_timeout;
client            967 fs/ceph/super.c 	mutex_lock(&fsc->client->mount_mutex);
client            973 fs/ceph/super.c 		err = __ceph_open_session(fsc->client, started);
client           1000 fs/ceph/super.c 	mutex_unlock(&fsc->client->mount_mutex);
client           1004 fs/ceph/super.c 	mutex_unlock(&fsc->client->mount_mutex);
client           1050 fs/ceph/super.c 	struct ceph_options *opt = new->client->options;
client           1060 fs/ceph/super.c 	    ceph_fsid_compare(&opt->fsid, &other->client->fsid)) {
client           1129 fs/ceph/super.c 	if (ceph_test_opt(fsc->client, NOSHARE))
client           1186 fs/ceph/super.c 	fsc->client->extra_mon_dispatch = NULL;
client           1217 fs/ceph/super.c 	ceph_reset_client_addr(fsc->client);
client           1219 fs/ceph/super.c 	ceph_osdc_clear_abort_err(&fsc->client->osdc);
client            103 fs/ceph/super.h 	struct ceph_client *client;
client            696 fs/ceph/super.h extern void ceph_reservation_status(struct ceph_fs_client *client,
client           1145 fs/ceph/super.h extern void ceph_fs_debugfs_init(struct ceph_fs_client *client);
client           1146 fs/ceph/super.h extern void ceph_fs_debugfs_cleanup(struct ceph_fs_client *client);
client             60 fs/ceph/xattr.c 	struct ceph_osd_client *osdc = &fsc->client->osdc;
client            163 fs/ceph/xattr.c 	struct ceph_osd_client *osdc = &fsc->client->osdc;
client            596 fs/nfs/client.c 	server->client = rpc_clone_client_set_auth(clp->cl_rpcclient,
client            598 fs/nfs/client.c 	if (IS_ERR(server->client)) {
client            600 fs/nfs/client.c 		return PTR_ERR(server->client);
client            603 fs/nfs/client.c 	memcpy(&server->client->cl_timeout_default,
client            605 fs/nfs/client.c 			sizeof(server->client->cl_timeout_default));
client            606 fs/nfs/client.c 	server->client->cl_timeout = &server->client->cl_timeout_default;
client            607 fs/nfs/client.c 	server->client->cl_softrtry = 0;
client            609 fs/nfs/client.c 		server->client->cl_softerr = 1;
client            611 fs/nfs/client.c 		server->client->cl_softrtry = 1;
client            750 fs/nfs/client.c 	max_rpc_payload = nfs_block_size(rpc_max_payload(server->client), NULL);
client            782 fs/nfs/client.c 	rpc_setbufsize(server->client, server->wsize + 100, server->rsize + 100);
client            887 fs/nfs/client.c 	server->client = server->client_acl = ERR_PTR(-EINVAL);
client            926 fs/nfs/client.c 	if (!IS_ERR(server->client))
client            927 fs/nfs/client.c 		rpc_shutdown_client(server->client);
client           1039 fs/nfs/client.c 			source->client->cl_timeout,
client            311 fs/nfs/filelayout/filelayout.c 	rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics);
client            407 fs/nfs/filelayout/filelayout.c 	rpc_count_iostats(task, NFS_SERVER(hdr->inode)->client->cl_metrics);
client            424 fs/nfs/filelayout/filelayout.c 	rpc_count_iostats(task, NFS_SERVER(cdata->inode)->client->cl_metrics);
client            142 fs/nfs/fscache.c 	key->key.rpc_auth.au_flavor = nfss->client->cl_auth->au_flavor;
client            271 fs/nfs/namespace.c 	return nfs_do_submount(dentry, fh, fattr, server->client->cl_auth->au_flavor);
client             30 fs/nfs/nfs3client.c 	server->client_acl = rpc_bind_new_program(server->client, &nfsacl_program, 3);
client             61 fs/nfs/nfs3proc.c do_proc_get_root(struct rpc_clnt *client, struct nfs_fh *fhandle,
client             73 fs/nfs/nfs3proc.c 	status = rpc_call_sync(client, &msg, 0);
client             78 fs/nfs/nfs3proc.c 		status = rpc_call_sync(client, &msg, 0);
client             93 fs/nfs/nfs3proc.c 	status = do_proc_get_root(server->client, fhandle, info);
client             94 fs/nfs/nfs3proc.c 	if (status && server->nfs_client->cl_rpcclient != server->client)
client            116 fs/nfs/nfs3proc.c 	status = rpc_call_sync(server->client, &msg, 0);
client            756 fs/nfs/nfs3proc.c 	status = rpc_call_sync(server->client, &msg, 0);
client            762 fs/nfs/nfs3proc.c do_proc_fsinfo(struct rpc_clnt *client, struct nfs_fh *fhandle,
client            774 fs/nfs/nfs3proc.c 	status = rpc_call_sync(client, &msg, 0);
client            789 fs/nfs/nfs3proc.c 	status = do_proc_fsinfo(server->client, fhandle, info);
client            790 fs/nfs/nfs3proc.c 	if (status && server->nfs_client->cl_rpcclient != server->client)
client            808 fs/nfs/nfs3proc.c 	status = rpc_call_sync(server->client, &msg, 0);
client           1969 fs/nfs/nfs3xdr.c 	struct user_namespace *userns = rpc_userns(entry->server->client);
client             50 fs/nfs/nfs42proc.c 	status = nfs4_call_sync(server->client, server, msg,
client            268 fs/nfs/nfs42proc.c 	status = nfs4_call_sync(server->client, server, &msg,
client            428 fs/nfs/nfs42proc.c 		.rpc_client = dst_server->client,
client            494 fs/nfs/nfs42proc.c 	status = nfs4_call_sync(server->client, server, &msg,
client            651 fs/nfs/nfs42proc.c 		.rpc_client = server->client,
client            826 fs/nfs/nfs42proc.c 	task_setup.rpc_client = NFS_SERVER(inode)->client;
client            874 fs/nfs/nfs42proc.c 	status = nfs4_call_sync(server->client, server, msg,
client            501 fs/nfs/nfs4_fs.h extern int nfs4_setup_sequence(struct nfs_client *client,
client            135 fs/nfs/nfs4client.c 	rpc_authflavor_t flavor = NFS_SERVER(inode)->client->cl_auth->au_flavor;
client           1020 fs/nfs/nfs4client.c 			server->client->cl_auth->au_flavor == RPC_AUTH_UNIX)
client           1173 fs/nfs/nfs4client.c 				parent_server->client->cl_timeout,
client           1187 fs/nfs/nfs4client.c 				parent_server->client->cl_timeout,
client           1197 fs/nfs/nfs4client.c 	error = nfs_init_server_rpcclient(server, parent_server->client->cl_timeout, data->authflavor);
client           1257 fs/nfs/nfs4client.c 	struct rpc_clnt *clnt = server->client;
client            244 fs/nfs/nfs4namespace.c 	struct net *net = rpc_net_ns(NFS_SB(mountdata->sb)->client);
client            303 fs/nfs/nfs4namespace.c 		.authflavor = NFS_SB(dentry->d_sb)->client->cl_auth->au_flavor,
client            351 fs/nfs/nfs4namespace.c static struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *dentry)
client            375 fs/nfs/nfs4namespace.c 	err = nfs4_proc_fs_locations(client, d_inode(parent), &dentry->d_name, fs_locations, page);
client            392 fs/nfs/nfs4namespace.c 	rpc_authflavor_t flavor = server->client->cl_auth->au_flavor;
client            396 fs/nfs/nfs4namespace.c 	struct rpc_clnt *client;
client            400 fs/nfs/nfs4namespace.c 	client = nfs4_proc_lookup_mountpoint(dir, name, fh, fattr);
client            402 fs/nfs/nfs4namespace.c 	if (IS_ERR(client))
client            403 fs/nfs/nfs4namespace.c 		return ERR_CAST(client);
client            406 fs/nfs/nfs4namespace.c 		mnt = nfs_do_refmount(client, dentry);
client            410 fs/nfs/nfs4namespace.c 	if (client->cl_auth->au_flavor != flavor)
client            411 fs/nfs/nfs4namespace.c 		flavor = client->cl_auth->au_flavor;
client            414 fs/nfs/nfs4namespace.c 	rpc_shutdown_client(client);
client            428 fs/nfs/nfs4namespace.c 	struct net *net = rpc_net_ns(server->client);
client           1011 fs/nfs/nfs4proc.c int nfs4_setup_sequence(struct nfs_client *client,
client           1016 fs/nfs/nfs4proc.c 	struct nfs4_session *session = nfs4_get_session(client);
client           1017 fs/nfs/nfs4proc.c 	struct nfs4_slot_table *tbl  = client->cl_slot_tbl;
client           2332 fs/nfs/nfs4proc.c 		.rpc_client = server->client,
client           2497 fs/nfs/nfs4proc.c 		.rpc_client = server->client,
client           3268 fs/nfs/nfs4proc.c 	status = nfs4_call_sync(server->client, server, &msg, &arg->seq_args, &res->seq_res, 1);
client           3636 fs/nfs/nfs4proc.c 		.rpc_client = server->client,
client           3752 fs/nfs/nfs4proc.c 	status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0);
client           3862 fs/nfs/nfs4proc.c 	return nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0);
client           3895 fs/nfs/nfs4proc.c 	auth = rpcauth_create(&auth_args, server->client);
client           4024 fs/nfs/nfs4proc.c static int nfs4_get_referral(struct rpc_clnt *client, struct inode *dir,
client           4039 fs/nfs/nfs4proc.c 	status = nfs4_proc_fs_locations(client, dir, name, locations, page);
client           4090 fs/nfs/nfs4proc.c 	return nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0);
client           4225 fs/nfs/nfs4proc.c 	struct rpc_clnt *client = *clnt;
client           4228 fs/nfs/nfs4proc.c 		err = _nfs4_proc_lookup(client, dir, name, fhandle, fattr, label);
client           4235 fs/nfs/nfs4proc.c 			err = nfs4_get_referral(client, dir, name, fattr, fhandle);
client           4241 fs/nfs/nfs4proc.c 			if (client != *clnt)
client           4243 fs/nfs/nfs4proc.c 			client = nfs4_negotiate_security(client, dir, name);
client           4244 fs/nfs/nfs4proc.c 			if (IS_ERR(client))
client           4245 fs/nfs/nfs4proc.c 				return PTR_ERR(client);
client           4256 fs/nfs/nfs4proc.c 		*clnt = client;
client           4257 fs/nfs/nfs4proc.c 	else if (client != *clnt)
client           4258 fs/nfs/nfs4proc.c 		rpc_shutdown_client(client);
client           4268 fs/nfs/nfs4proc.c 	struct rpc_clnt *client = NFS_CLIENT(dir);
client           4270 fs/nfs/nfs4proc.c 	status = nfs4_proc_lookup_common(&client, dir, name, fhandle, fattr, label);
client           4271 fs/nfs/nfs4proc.c 	if (client != NFS_CLIENT(dir)) {
client           4272 fs/nfs/nfs4proc.c 		rpc_shutdown_client(client);
client           4282 fs/nfs/nfs4proc.c 	struct rpc_clnt *client = NFS_CLIENT(dir);
client           4285 fs/nfs/nfs4proc.c 	status = nfs4_proc_lookup_common(&client, dir, name, fhandle, fattr, NULL);
client           4288 fs/nfs/nfs4proc.c 	return (client == NFS_CLIENT(dir)) ? rpc_clone_client(client) : client;
client           4365 fs/nfs/nfs4proc.c 	status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0);
client           4428 fs/nfs/nfs4proc.c 	return nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), &msg, &args.seq_args, &res.seq_res, 0);
client           4498 fs/nfs/nfs4proc.c 	status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 1);
client           4678 fs/nfs/nfs4proc.c 	status = nfs4_call_sync(server->client, server, &msg, &arg.seq_args, &res.seq_res, 1);
client           4754 fs/nfs/nfs4proc.c 	int status = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &data->msg,
client           4893 fs/nfs/nfs4proc.c 	status = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &msg, &args.seq_args, &res.seq_res, 0);
client           5000 fs/nfs/nfs4proc.c 	return  nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0);
client           5033 fs/nfs/nfs4proc.c 	return nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0);
client           5093 fs/nfs/nfs4proc.c 	return nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0);
client           5367 fs/nfs/nfs4proc.c 	return nfs4_call_sync(server->client, server, &msg,
client           5390 fs/nfs/nfs4proc.c 	struct nfs_client	*client;
client           5401 fs/nfs/nfs4proc.c 	struct nfs_client *clp = data->client;
client           5412 fs/nfs/nfs4proc.c 	struct nfs_client *clp = data->client;
client           5458 fs/nfs/nfs4proc.c 	data->client = clp;
client           5636 fs/nfs/nfs4proc.c 	ret = nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode),
client           5730 fs/nfs/nfs4proc.c 	ret = nfs4_call_sync(server->client, server, &msg, &arg.seq_args, &res.seq_res, 1);
client           5793 fs/nfs/nfs4proc.c 	ret = nfs4_call_sync(server->client, server, &msg, &arg.seq_args, &res.seq_res, 0);
client           5853 fs/nfs/nfs4proc.c 	status = nfs4_call_sync(server->client, server, &msg, &arg.seq_args, &res.seq_res, 1);
client           6308 fs/nfs/nfs4proc.c 		.rpc_client = server->client,
client           6412 fs/nfs/nfs4proc.c 	status = nfs4_call_sync(server->client, server, &msg, &arg.seq_args, &res.seq_res, 1);
client           7302 fs/nfs/nfs4proc.c 	rpc_call_async(server->client, &msg, 0, &nfs4_release_lockowner_ops, data);
client           7395 fs/nfs/nfs4proc.c static int _nfs4_proc_fs_locations(struct rpc_clnt *client, struct inode *dir,
client           7433 fs/nfs/nfs4proc.c 	status = nfs4_call_sync(client, server, &msg, &args.seq_args, &res.seq_res, 0);
client           7438 fs/nfs/nfs4proc.c int nfs4_proc_fs_locations(struct rpc_clnt *client, struct inode *dir,
client           7448 fs/nfs/nfs4proc.c 		err = _nfs4_proc_fs_locations(client, dir, name,
client           7469 fs/nfs/nfs4proc.c 	struct rpc_clnt *clnt = server->client;
client           7526 fs/nfs/nfs4proc.c 	struct rpc_clnt *clnt = server->client;
client           7619 fs/nfs/nfs4proc.c 	struct rpc_clnt *clnt = server->client;
client           7664 fs/nfs/nfs4proc.c 	struct rpc_clnt *clnt = server->client;
client           7744 fs/nfs/nfs4proc.c 	struct rpc_clnt *clnt = NFS_SERVER(dir)->client;
client           7856 fs/nfs/nfs4proc.c 	struct nfs_client *clp = args->client;
client           7890 fs/nfs/nfs4proc.c 		.client = clp,
client           8111 fs/nfs/nfs4proc.c 	nfs_put_client(cdata->args.client);
client           8194 fs/nfs/nfs4proc.c 	calldata->args.client = clp;
client           8627 fs/nfs/nfs4proc.c 		.client = clp,
client           9142 fs/nfs/nfs4proc.c 		.rpc_client = server->client,
client           9283 fs/nfs/nfs4proc.c 		.rpc_client = NFS_SERVER(lrp->args.inode)->client,
client           9337 fs/nfs/nfs4proc.c 	status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0);
client           9482 fs/nfs/nfs4proc.c 	struct rpc_clnt *clnt = server->client;
client           9489 fs/nfs/nfs4proc.c 		.rpc_client = server->client,
client           9639 fs/nfs/nfs4proc.c 	struct rpc_clnt *rpc_client = server->client;
client           9759 fs/nfs/nfs4proc.c 		.rpc_client = server->client,
client           1792 fs/nfs/nfs4xdr.c 	encode_string(xdr, strlen(args->client->cl_owner_id),
client           1793 fs/nfs/nfs4xdr.c 			args->client->cl_owner_id);
client           1838 fs/nfs/nfs4xdr.c 	struct nfs_client *clp = args->client;
client           2870 fs/nfs/nfs4xdr.c 		.minorversion = args->client->cl_mvops->minor_version,
client           2887 fs/nfs/nfs4xdr.c 		.minorversion = args->client->cl_mvops->minor_version,
client           2904 fs/nfs/nfs4xdr.c 		.minorversion = args->client->cl_mvops->minor_version,
client             68 fs/nfs/proc.c  	status = rpc_call_sync(server->client, &msg, 0);
client             70 fs/nfs/proc.c  	if (status && server->nfs_client->cl_rpcclient != server->client)
client             78 fs/nfs/proc.c  	status = rpc_call_sync(server->client, &msg, 0);
client             80 fs/nfs/proc.c  	if (status && server->nfs_client->cl_rpcclient != server->client)
client            114 fs/nfs/proc.c  	status = rpc_call_sync(server->client, &msg, 0);
client            533 fs/nfs/proc.c  	status = rpc_call_sync(server->client, &msg, 0);
client            561 fs/nfs/proc.c  	status = rpc_call_sync(server->client, &msg, 0);
client            677 fs/nfs/super.c 		   rpc_peeraddr2str(nfss->client, RPC_DISPLAY_NETID));
client            688 fs/nfs/super.c 	seq_printf(m, ",timeo=%lu", 10U * nfss->client->cl_timeout->to_initval / HZ);
client            689 fs/nfs/super.c 	seq_printf(m, ",retrans=%u", nfss->client->cl_timeout->to_retries);
client            690 fs/nfs/super.c 	seq_printf(m, ",sec=%s", nfs_pseudoflavour_to_name(nfss->client->cl_auth->au_flavor));
client            826 fs/nfs/super.c 	struct rpc_auth *auth = nfss->client->cl_auth;
client            908 fs/nfs/super.c 	rpc_clnt_show_stats(m, nfss->client);
client            928 fs/nfs/super.c 	rpc = server->client;
client           2256 fs/nfs/super.c 	    data->retrans != nfss->client->cl_timeout->to_retries ||
client           2257 fs/nfs/super.c 	    !nfs_auth_info_match(&data->auth_info, nfss->client->cl_auth->au_flavor) ||
client           2262 fs/nfs/super.c 	    data->timeo != (10U * nfss->client->cl_timeout->to_initval / HZ) ||
client           2304 fs/nfs/super.c 	data->retrans = nfss->client->cl_timeout->to_retries;
client           2305 fs/nfs/super.c 	data->selected_flavor = nfss->client->cl_auth->au_flavor;
client           2310 fs/nfs/super.c 	data->timeo = 10U * nfss->client->cl_timeout->to_initval / HZ;
client           2439 fs/nfs/super.c 	const struct rpc_clnt *clnt_a = a->client;
client           2440 fs/nfs/super.c 	const struct rpc_clnt *clnt_b = b->client;
client           2491 fs/nfs/super.c 	struct rpc_xprt *xprt1 = server1->client->cl_xprt;
client           2492 fs/nfs/super.c 	struct rpc_xprt *xprt2 = server2->client->cl_xprt;
client           2535 fs/nfs/super.c 	if (old->client && old->client->cl_cred)
client           2536 fs/nfs/super.c 		oldns = old->client->cl_cred->user_ns;
client           2537 fs/nfs/super.c 	if (new->client && new->client->cl_cred)
client           2538 fs/nfs/super.c 		newns = new->client->cl_cred->user_ns;
client           1266 fs/nfs/write.c 	struct rpc_auth *auth = NFS_SERVER(inode)->client->cl_auth;
client            829 fs/nfsd/nfs4callback.c static const struct cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, struct nfsd4_session *ses)
client            832 fs/nfsd/nfs4callback.c 		client->cl_principal = clp->cl_cred.cr_targ_princ ?
client            868 fs/nfsd/nfs4callback.c 	struct rpc_clnt *client;
client            892 fs/nfsd/nfs4callback.c 	client = rpc_create(&args);
client            893 fs/nfsd/nfs4callback.c 	if (IS_ERR(client)) {
client            895 fs/nfsd/nfs4callback.c 			PTR_ERR(client));
client            896 fs/nfsd/nfs4callback.c 		return PTR_ERR(client);
client            898 fs/nfsd/nfs4callback.c 	cred = get_backchannel_cred(clp, client, ses);
client            900 fs/nfsd/nfs4callback.c 		rpc_shutdown_client(client);
client            903 fs/nfsd/nfs4callback.c 	clp->cl_cb_client = client;
client            442 fs/xfs/xfs_log.c 	uint8_t		 	client,
client            450 fs/xfs/xfs_log.c 	ASSERT(client == XFS_TRANSACTION || client == XFS_LOG);
client            458 fs/xfs/xfs_log.c 	tic = xlog_ticket_alloc(log, unit_bytes, cnt, client, permanent, 0);
client           3661 fs/xfs/xfs_log.c 	char			client,
client           3682 fs/xfs/xfs_log.c 	tic->t_clientid		= client;
client            433 fs/xfs/xfs_log_priv.h 	char		client,
client             38 include/drm/drm_client.h 	void (*unregister)(struct drm_client_dev *client);
client             49 include/drm/drm_client.h 	int (*restore)(struct drm_client_dev *client);
client             59 include/drm/drm_client.h 	int (*hotplug)(struct drm_client_dev *client);
client            105 include/drm/drm_client.h int drm_client_init(struct drm_device *dev, struct drm_client_dev *client,
client            107 include/drm/drm_client.h void drm_client_release(struct drm_client_dev *client);
client            108 include/drm/drm_client.h void drm_client_register(struct drm_client_dev *client);
client            121 include/drm/drm_client.h 	struct drm_client_dev *client;
client            150 include/drm/drm_client.h drm_client_framebuffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format);
client            155 include/drm/drm_client.h int drm_client_modeset_create(struct drm_client_dev *client);
client            156 include/drm/drm_client.h void drm_client_modeset_free(struct drm_client_dev *client);
client            157 include/drm/drm_client.h int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width, unsigned int height);
client            159 include/drm/drm_client.h int drm_client_modeset_commit_force(struct drm_client_dev *client);
client            160 include/drm/drm_client.h int drm_client_modeset_commit(struct drm_client_dev *client);
client            161 include/drm/drm_client.h int drm_client_modeset_dpms(struct drm_client_dev *client, int mode);
client            168 include/drm/drm_client.h #define drm_client_for_each_modeset(modeset, client) \
client            169 include/drm/drm_client.h 	for (({ lockdep_assert_held(&(client)->modeset_mutex); }), \
client            170 include/drm/drm_client.h 	     modeset = (client)->modesets; modeset->crtc; modeset++)
client            123 include/drm/drm_encoder_slave.h 	int (*encoder_init)(struct i2c_client *client,
client            120 include/drm/drm_fb_helper.h 	struct drm_client_dev client;
client            192 include/drm/drm_fb_helper.h drm_fb_helper_from_client(struct drm_client_dev *client)
client            194 include/drm/drm_fb_helper.h 	return container_of(client, struct drm_fb_helper, client);
client             68 include/keys/rxrpc-type.h 	struct krb5_principal	client;		/* client principal name */
client            189 include/linux/can/dev/peak_canfd.h 	u8	client;
client            266 include/linux/can/dev/peak_canfd.h 	u8	client;
client            553 include/linux/ceph/ceph_fs.h 	__le64 client; /* which client holds the lock */
client             24 include/linux/ceph/debugfs.h extern void ceph_debugfs_client_init(struct ceph_client *client);
client             25 include/linux/ceph/debugfs.h extern void ceph_debugfs_client_cleanup(struct ceph_client *client);
client             42 include/linux/ceph/libceph.h #define ceph_set_opt(client, opt) \
client             43 include/linux/ceph/libceph.h 	(client)->options->flags |= CEPH_OPT_##opt;
client             44 include/linux/ceph/libceph.h #define ceph_test_opt(client, opt) \
client             45 include/linux/ceph/libceph.h 	(!!((client)->options->flags & CEPH_OPT_##opt))
client            280 include/linux/ceph/libceph.h extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid);
client            287 include/linux/ceph/libceph.h int ceph_print_client_options(struct seq_file *m, struct ceph_client *client,
client            291 include/linux/ceph/libceph.h 				struct ceph_client *client);
client            293 include/linux/ceph/libceph.h struct ceph_entity_addr *ceph_client_addr(struct ceph_client *client);
client            294 include/linux/ceph/libceph.h u64 ceph_client_gid(struct ceph_client *client);
client            295 include/linux/ceph/libceph.h extern void ceph_destroy_client(struct ceph_client *client);
client            296 include/linux/ceph/libceph.h extern void ceph_reset_client_addr(struct ceph_client *client);
client            297 include/linux/ceph/libceph.h extern int __ceph_open_session(struct ceph_client *client,
client            299 include/linux/ceph/libceph.h extern int ceph_open_session(struct ceph_client *client);
client            300 include/linux/ceph/libceph.h int ceph_wait_for_latest_osdmap(struct ceph_client *client,
client             71 include/linux/ceph/mon_client.h 	struct ceph_client *client;
client            340 include/linux/ceph/osd_client.h 	struct ceph_client     *client;
client            382 include/linux/ceph/osd_client.h 			  struct ceph_client *client);
client             64 include/linux/dm-io.h 	struct dm_io_client *client;	/* Client memory handler */
client             74 include/linux/dm-io.h void dm_io_client_destroy(struct dm_io_client *client);
client            157 include/linux/dma/ipu-dma.h 	void			*client;	/* Only one client per channel	   */
client            162 include/linux/firmware/intel/stratix10-svc-client.h 	void (*receive_cb)(struct stratix10_svc_client *client,
client            176 include/linux/firmware/intel/stratix10-svc-client.h *stratix10_svc_request_channel_byname(struct stratix10_svc_client *client,
client             28 include/linux/host1x.h 	int (*init)(struct host1x_client *client);
client             29 include/linux/host1x.h 	int (*exit)(struct host1x_client *client);
client            147 include/linux/host1x.h struct host1x_syncpt *host1x_syncpt_request(struct host1x_client *client,
client            193 include/linux/host1x.h 	struct host1x_client *client;
client            312 include/linux/host1x.h int host1x_client_register(struct host1x_client *client);
client            313 include/linux/host1x.h int host1x_client_unregister(struct host1x_client *client);
client             39 include/linux/i2c.h typedef int (*i2c_slave_cb_t)(struct i2c_client *client,
client             53 include/linux/i2c.h extern int i2c_transfer_buffer_flags(const struct i2c_client *client,
client             64 include/linux/i2c.h static inline int i2c_master_recv(const struct i2c_client *client,
client             67 include/linux/i2c.h 	return i2c_transfer_buffer_flags(client, buf, count, I2C_M_RD);
client             79 include/linux/i2c.h static inline int i2c_master_recv_dmasafe(const struct i2c_client *client,
client             82 include/linux/i2c.h 	return i2c_transfer_buffer_flags(client, buf, count,
client             94 include/linux/i2c.h static inline int i2c_master_send(const struct i2c_client *client,
client             97 include/linux/i2c.h 	return i2c_transfer_buffer_flags(client, (char *)buf, count, 0);
client            109 include/linux/i2c.h static inline int i2c_master_send_dmasafe(const struct i2c_client *client,
client            112 include/linux/i2c.h 	return i2c_transfer_buffer_flags(client, (char *)buf, count,
client            141 include/linux/i2c.h extern s32 i2c_smbus_read_byte(const struct i2c_client *client);
client            142 include/linux/i2c.h extern s32 i2c_smbus_write_byte(const struct i2c_client *client, u8 value);
client            143 include/linux/i2c.h extern s32 i2c_smbus_read_byte_data(const struct i2c_client *client,
client            145 include/linux/i2c.h extern s32 i2c_smbus_write_byte_data(const struct i2c_client *client,
client            147 include/linux/i2c.h extern s32 i2c_smbus_read_word_data(const struct i2c_client *client,
client            149 include/linux/i2c.h extern s32 i2c_smbus_write_word_data(const struct i2c_client *client,
client            153 include/linux/i2c.h i2c_smbus_read_word_swapped(const struct i2c_client *client, u8 command)
client            155 include/linux/i2c.h 	s32 value = i2c_smbus_read_word_data(client, command);
client            161 include/linux/i2c.h i2c_smbus_write_word_swapped(const struct i2c_client *client,
client            164 include/linux/i2c.h 	return i2c_smbus_write_word_data(client, command, swab16(value));
client            168 include/linux/i2c.h extern s32 i2c_smbus_read_block_data(const struct i2c_client *client,
client            170 include/linux/i2c.h extern s32 i2c_smbus_write_block_data(const struct i2c_client *client,
client            173 include/linux/i2c.h extern s32 i2c_smbus_read_i2c_block_data(const struct i2c_client *client,
client            175 include/linux/i2c.h extern s32 i2c_smbus_write_i2c_block_data(const struct i2c_client *client,
client            179 include/linux/i2c.h i2c_smbus_read_i2c_block_data_or_emulated(const struct i2c_client *client,
client            181 include/linux/i2c.h int i2c_get_device_id(const struct i2c_client *client,
client            257 include/linux/i2c.h 	int (*probe)(struct i2c_client *client, const struct i2c_device_id *id);
client            258 include/linux/i2c.h 	int (*remove)(struct i2c_client *client);
client            263 include/linux/i2c.h 	int (*probe_new)(struct i2c_client *client);
client            266 include/linux/i2c.h 	void (*shutdown)(struct i2c_client *client);
client            275 include/linux/i2c.h 	void (*alert)(struct i2c_client *client, enum i2c_alert_protocol protocol,
client            281 include/linux/i2c.h 	int (*command)(struct i2c_client *client, unsigned int cmd, void *arg);
client            287 include/linux/i2c.h 	int (*detect)(struct i2c_client *client, struct i2c_board_info *info);
client            342 include/linux/i2c.h 					const struct i2c_client *client);
client            371 include/linux/i2c.h extern int i2c_slave_register(struct i2c_client *client, i2c_slave_cb_t slave_cb);
client            372 include/linux/i2c.h extern int i2c_slave_unregister(struct i2c_client *client);
client            375 include/linux/i2c.h static inline int i2c_slave_event(struct i2c_client *client,
client            378 include/linux/i2c.h 	return client->slave_cb(client, event, val);
client            476 include/linux/i2c.h i2c_new_ancillary_device(struct i2c_client *client,
client            480 include/linux/i2c.h extern void i2c_unregister_device(struct i2c_client *client);
client            551 include/linux/i2c.h 	int (*reg_slave)(struct i2c_client *client);
client            552 include/linux/i2c.h 	int (*unreg_slave)(struct i2c_client *client);
client            847 include/linux/i2c.h extern struct i2c_client *i2c_use_client(struct i2c_client *client);
client            848 include/linux/i2c.h extern void i2c_release_client(struct i2c_client *client);
client            939 include/linux/i2c.h 		     struct i2c_client *client);
client            963 include/linux/i2c.h 		     struct i2c_client *client)
client             18 include/linux/iio/common/st_sensors_i2c.h 			     struct i2c_client *client);
client            178 include/linux/input/adp5589.h 	int	(*setup)(struct i2c_client *client,
client            181 include/linux/input/adp5589.h 	int	(*teardown)(struct i2c_client *client,
client             19 include/linux/input/gp2ap002a00f.h 	int (*hw_setup)(struct i2c_client *client);
client             20 include/linux/input/gp2ap002a00f.h 	int (*hw_shutdown)(struct i2c_client *client);
client            116 include/linux/leds-lp3952.h 	struct i2c_client *client;
client             27 include/linux/leds-pca9532.h 	struct i2c_client *client;
client            294 include/linux/mfd/88pm80x.h 	struct i2c_client *client;
client            368 include/linux/mfd/88pm80x.h extern int pm80x_init(struct i2c_client *client);
client            380 include/linux/mfd/88pm860x.h 	struct i2c_client	*client;
client            121 include/linux/mfd/aat2870.h 	struct i2c_client *client;
client             36 include/linux/mfd/rt5033.h 	struct i2c_client	*client;
client            116 include/linux/mfd/si476x-core.h 	struct i2c_client *client;
client            161 include/linux/mfd/si476x-core.h 	struct i2c_client *client = to_i2c_client(dev->parent);
client            162 include/linux/mfd/si476x-core.h 	return i2c_get_clientdata(client);
client            129 include/linux/mfd/stmpe.h 	void *client;
client             47 include/linux/mfd/stw481x.h 	struct i2c_client	*client;
client             91 include/linux/mfd/tps6105x.h 	struct i2c_client	*client;
client            199 include/linux/mfd/tps65010.h 	int		(*setup)(struct i2c_client *client, void *context);
client            200 include/linux/mfd/tps65010.h 	int		(*teardown)(struct i2c_client *client, void *context);
client            235 include/linux/mfd/wl1273-core.h 	int (*request_resources) (struct i2c_client *client);
client            268 include/linux/mfd/wl1273-core.h 	struct i2c_client *client;
client            271 include/linux/nfs_fs.h 	return NFS_SERVER(inode)->client;
client            137 include/linux/nfs_fs_sb.h 	struct rpc_clnt *	client;		/* RPC client handle */
client           1287 include/linux/nfs_xdr.h 	struct nfs_client		*client;
client           1312 include/linux/nfs_xdr.h 	struct nfs_client		*client;
client           1336 include/linux/nfs_xdr.h 	struct nfs_client	       *client;
client            174 include/linux/ntb.h 	int (*probe)(struct ntb_client *client, struct ntb_dev *ntb);
client            175 include/linux/ntb.h 	void (*remove)(struct ntb_client *client, struct ntb_dev *ntb);
client            448 include/linux/ntb.h #define ntb_register_client(client) \
client            449 include/linux/ntb.h 	__ntb_register_client((client), THIS_MODULE, KBUILD_MODNAME)
client            451 include/linux/ntb.h int __ntb_register_client(struct ntb_client *client, struct module *mod,
client            462 include/linux/ntb.h void ntb_unregister_client(struct ntb_client *client);
client            112 include/linux/pci-p2pdma.h 	struct device *client, bool verbose)
client            114 include/linux/pci-p2pdma.h 	return pci_p2pdma_distance_many(provider, &client, 1, verbose);
client            117 include/linux/pci-p2pdma.h static inline struct pci_dev *pci_p2pmem_find(struct device *client)
client            119 include/linux/pci-p2pdma.h 	return pci_p2pmem_find_many(&client, 1);
client            162 include/linux/platform_data/adp5588.h 	int	(*setup)(struct i2c_client *client,
client            165 include/linux/platform_data/adp5588.h 	int	(*teardown)(struct i2c_client *client,
client             16 include/linux/platform_data/max732x.h 	int		(*setup)(struct i2c_client *client,
client             19 include/linux/platform_data/max732x.h 	int		(*teardown)(struct i2c_client *client,
client             65 include/linux/platform_data/mlxreg.h 	struct i2c_client *client;
client             22 include/linux/platform_data/pca953x.h 	int		(*setup)(struct i2c_client *client,
client             25 include/linux/platform_data/pca953x.h 	int		(*teardown)(struct i2c_client *client,
client             36 include/linux/platform_data/pcf857x.h 	int		(*setup)(struct i2c_client *client,
client             39 include/linux/platform_data/pcf857x.h 	int		(*teardown)(struct i2c_client *client,
client           1326 include/linux/scif.h int scif_client_register(struct scif_client *client);
client           1337 include/linux/scif.h void scif_client_unregister(struct scif_client *client);
client             21 include/linux/soc/mediatek/mtk-cmdq.h 	struct mbox_client client;
client             43 include/linux/soc/mediatek/mtk-cmdq.h void cmdq_mbox_destroy(struct cmdq_client *client);
client             52 include/linux/soc/mediatek/mtk-cmdq.h struct cmdq_pkt *cmdq_pkt_create(struct cmdq_client *client, size_t size);
client            413 include/media/dvbdev.h void dvb_module_release(struct i2c_client *client);
client            366 include/media/soc_camera.h static inline struct video_device *soc_camera_i2c_to_vdev(const struct i2c_client *client)
client            368 include/media/soc_camera.h 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
client            373 include/media/soc_camera.h static inline struct soc_camera_subdev_desc *soc_camera_i2c_to_desc(const struct i2c_client *client)
client            375 include/media/soc_camera.h 	return client->dev.platform_data;
client             67 include/media/v4l2-clk.h #define v4l2_clk_name_i2c(name, size, adap, client) snprintf(name, size, \
client             68 include/media/v4l2-clk.h 			  "%d-%04x", adap, client)
client             25 include/media/v4l2-common.h #define v4l_client_printk(level, client, fmt, arg...)			    \
client             26 include/media/v4l2-common.h 	v4l_printk(level, (client)->dev.driver->name, (client)->adapter, \
client             27 include/media/v4l2-common.h 		   (client)->addr, fmt , ## arg)
client             29 include/media/v4l2-common.h #define v4l_err(client, fmt, arg...) \
client             30 include/media/v4l2-common.h 	v4l_client_printk(KERN_ERR, client, fmt , ## arg)
client             32 include/media/v4l2-common.h #define v4l_warn(client, fmt, arg...) \
client             33 include/media/v4l2-common.h 	v4l_client_printk(KERN_WARNING, client, fmt , ## arg)
client             35 include/media/v4l2-common.h #define v4l_info(client, fmt, arg...) \
client             36 include/media/v4l2-common.h 	v4l_client_printk(KERN_INFO, client, fmt , ## arg)
client             40 include/media/v4l2-common.h #define v4l_dbg(level, debug, client, fmt, arg...)			     \
client             43 include/media/v4l2-common.h 			v4l_client_printk(KERN_DEBUG, client, fmt , ## arg); \
client            181 include/media/v4l2-common.h void v4l2_i2c_subdev_set_name(struct v4l2_subdev *sd, struct i2c_client *client,
client            192 include/media/v4l2-common.h void v4l2_i2c_subdev_init(struct v4l2_subdev *sd, struct i2c_client *client,
client            240 include/media/v4l2-common.h v4l2_i2c_subdev_set_name(struct v4l2_subdev *sd, struct i2c_client *client,
client            245 include/media/v4l2-common.h v4l2_i2c_subdev_init(struct v4l2_subdev *sd, struct i2c_client *client,
client            123 include/net/caif/cfctrl.h 			 struct cflayer *client);
client            213 include/net/regulatory.h 	struct ieee80211_wmm_ac client[IEEE80211_NUM_ACS];
client            440 include/rdma/ib_sa.h void ib_sa_register_client(struct ib_sa_client *client);
client            446 include/rdma/ib_sa.h void ib_sa_unregister_client(struct ib_sa_client *client);
client            452 include/rdma/ib_sa.h int ib_sa_path_rec_get(struct ib_sa_client *client, struct ib_device *device,
client            460 include/rdma/ib_sa.h int ib_sa_service_rec_query(struct ib_sa_client *client,
client            506 include/rdma/ib_sa.h struct ib_sa_multicast *ib_sa_join_multicast(struct ib_sa_client *client,
client            567 include/rdma/ib_sa.h int ib_sa_guid_info_rec_query(struct ib_sa_client *client,
client            577 include/rdma/ib_sa.h bool ib_sa_sendonly_fullmem_support(struct ib_sa_client *client,
client           2740 include/rdma/ib_verbs.h int ib_register_client   (struct ib_client *client);
client           2741 include/rdma/ib_verbs.h void ib_unregister_client(struct ib_client *client);
client           2786 include/rdma/ib_verbs.h 				       struct ib_client *client)
client           2788 include/rdma/ib_verbs.h 	return xa_load(&device->client_data, client->client_id);
client           2790 include/rdma/ib_verbs.h void  ib_set_client_data(struct ib_device *device, struct ib_client *client,
client             64 include/rdma/rdma_netlink.h 		   int len, int client, int op, int flags);
client             65 include/soc/tegra/bpmp.h 		struct mbox_client client;
client            102 include/sound/emux_synth.h 	int client;		/* For the sequencer client */
client            210 include/sound/gus.h 	int client;		/* sequencer client number */
client            241 include/sound/gus.h 	unsigned char client;
client            568 include/sound/gus.h struct snd_gus_voice *snd_gf1_alloc_voice(struct snd_gus_card * gus, int type, int client, int port);
client             60 include/sound/seq_kernel.h int snd_seq_delete_kernel_client(int client);
client             61 include/sound/seq_kernel.h int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event *ev,
client             63 include/sound/seq_kernel.h int snd_seq_kernel_client_dispatch(int client, struct snd_seq_event *ev, int atomic, int hop);
client             64 include/sound/seq_kernel.h int snd_seq_kernel_client_ctl(int client, unsigned int cmd, void *arg);
client             77 include/sound/seq_kernel.h int snd_seq_set_queue_tempo(int client, struct snd_seq_queue_tempo *tempo);
client             84 include/sound/seq_kernel.h int snd_seq_event_port_attach(int client, struct snd_seq_port_callback *pcbp,
client             86 include/sound/seq_kernel.h int snd_seq_event_port_detach(int client, int port);
client             21 include/sound/seq_midi_emul.h 	int  client;		/* The client associated with this channel */
client             55 include/sound/seq_midi_emul.h 	int  client;			/* Client for this port */
client             23 include/sound/seq_virmidi.h 	int client;
client             46 include/sound/seq_virmidi.h 	int client;			/* created/attached client */
client             90 include/sound/soundfont.h 		       long count, int client);
client             92 include/sound/soundfont.h 				long count, int client);
client             93 include/sound/soundfont.h int snd_soundfont_close_check(struct snd_sf_list *sflist, int client);
client            179 include/uapi/drm/tegra_drm.h 	__u32 client;
client            615 include/uapi/linux/batadv_packet.h 	__u8   client[ETH_ALEN];
client             45 include/uapi/linux/qrtr.h 		} client;
client             23 include/uapi/rdma/rdma_netlink.h #define RDMA_NL_GET_TYPE(client, op) ((client << 10) + op)
client            159 include/uapi/sound/asequencer.h 	unsigned char client;	/**< Client number:         0..255, 255 = broadcast to all clients */
client            325 include/uapi/sound/asequencer.h 	unsigned char client;		/* client id */
client            353 include/uapi/sound/asequencer.h 	int client;			/* client number to inquire */
client            369 include/uapi/sound/asequencer.h 	int client;			/* client number to inquire */
client            534 include/uapi/sound/asequencer.h 	int client;		/* sequencer client */
client            115 net/9p/trans_fd.c 	struct p9_client *client;
client            192 net/9p/trans_fd.c 	spin_lock(&m->client->lock);
client            195 net/9p/trans_fd.c 		spin_unlock(&m->client->lock);
client            213 net/9p/trans_fd.c 		p9_client_cb(m->client, req, REQ_STATUS_ERROR);
client            215 net/9p/trans_fd.c 	spin_unlock(&m->client->lock);
client            219 net/9p/trans_fd.c p9_fd_poll(struct p9_client *client, struct poll_table_struct *pt, int *err)
client            224 net/9p/trans_fd.c 	if (client && client->status == Connected)
client            225 net/9p/trans_fd.c 		ts = client->trans;
client            247 net/9p/trans_fd.c static int p9_fd_read(struct p9_client *client, void *v, int len)
client            253 net/9p/trans_fd.c 	if (client && client->status != Disconnected)
client            254 net/9p/trans_fd.c 		ts = client->trans;
client            265 net/9p/trans_fd.c 		client->status = Disconnected;
client            298 net/9p/trans_fd.c 	err = p9_fd_read(m->client, m->rc.sdata + m->rc.offset,
client            322 net/9p/trans_fd.c 		if (m->rc.size >= m->client->msize) {
client            334 net/9p/trans_fd.c 		m->rreq = p9_tag_lookup(m->client, m->rc.tag);
client            361 net/9p/trans_fd.c 		spin_lock(&m->client->lock);
client            364 net/9p/trans_fd.c 			p9_client_cb(m->client, m->rreq, REQ_STATUS_RCVD);
client            366 net/9p/trans_fd.c 			spin_unlock(&m->client->lock);
client            373 net/9p/trans_fd.c 		spin_unlock(&m->client->lock);
client            388 net/9p/trans_fd.c 			n = p9_fd_poll(m->client, NULL, NULL);
client            410 net/9p/trans_fd.c static int p9_fd_write(struct p9_client *client, void *v, int len)
client            415 net/9p/trans_fd.c 	if (client && client->status != Disconnected)
client            416 net/9p/trans_fd.c 		ts = client->trans;
client            426 net/9p/trans_fd.c 		client->status = Disconnected;
client            451 net/9p/trans_fd.c 		spin_lock(&m->client->lock);
client            454 net/9p/trans_fd.c 			spin_unlock(&m->client->lock);
client            469 net/9p/trans_fd.c 		spin_unlock(&m->client->lock);
client            475 net/9p/trans_fd.c 	err = p9_fd_write(m->client, m->wbuf + m->wpos, m->wsize - m->wpos);
client            502 net/9p/trans_fd.c 			n = p9_fd_poll(m->client, NULL, NULL);
client            575 net/9p/trans_fd.c static void p9_conn_create(struct p9_client *client)
client            578 net/9p/trans_fd.c 	struct p9_trans_fd *ts = client->trans;
client            581 net/9p/trans_fd.c 	p9_debug(P9_DEBUG_TRANS, "client %p msize %d\n", client, client->msize);
client            584 net/9p/trans_fd.c 	m->client = client;
client            593 net/9p/trans_fd.c 	n = p9_fd_poll(client, &m->pt, NULL);
client            619 net/9p/trans_fd.c 	n = p9_fd_poll(m->client, NULL, &err);
client            656 net/9p/trans_fd.c static int p9_fd_request(struct p9_client *client, struct p9_req_t *req)
client            659 net/9p/trans_fd.c 	struct p9_trans_fd *ts = client->trans;
client            667 net/9p/trans_fd.c 	spin_lock(&client->lock);
client            670 net/9p/trans_fd.c 	spin_unlock(&client->lock);
client            675 net/9p/trans_fd.c 		n = p9_fd_poll(m->client, NULL, NULL);
client            683 net/9p/trans_fd.c static int p9_fd_cancel(struct p9_client *client, struct p9_req_t *req)
client            687 net/9p/trans_fd.c 	p9_debug(P9_DEBUG_TRANS, "client %p req %p\n", client, req);
client            689 net/9p/trans_fd.c 	spin_lock(&client->lock);
client            697 net/9p/trans_fd.c 	spin_unlock(&client->lock);
client            702 net/9p/trans_fd.c static int p9_fd_cancelled(struct p9_client *client, struct p9_req_t *req)
client            704 net/9p/trans_fd.c 	p9_debug(P9_DEBUG_TRANS, "client %p req %p\n", client, req);
client            709 net/9p/trans_fd.c 	spin_lock(&client->lock);
client            711 net/9p/trans_fd.c 	spin_unlock(&client->lock);
client            798 net/9p/trans_fd.c static int p9_fd_open(struct p9_client *client, int rfd, int wfd)
client            816 net/9p/trans_fd.c 	client->trans = ts;
client            817 net/9p/trans_fd.c 	client->status = Connected;
client            822 net/9p/trans_fd.c static int p9_socket_open(struct p9_client *client, struct socket *csocket)
client            842 net/9p/trans_fd.c 	client->trans = p;
client            843 net/9p/trans_fd.c 	client->status = Connected;
client            847 net/9p/trans_fd.c 	p9_conn_create(client);
client            876 net/9p/trans_fd.c 	m->client = NULL;
client            885 net/9p/trans_fd.c static void p9_fd_close(struct p9_client *client)
client            889 net/9p/trans_fd.c 	if (!client)
client            892 net/9p/trans_fd.c 	ts = client->trans;
client            896 net/9p/trans_fd.c 	client->status = Disconnected;
client            944 net/9p/trans_fd.c p9_fd_create_tcp(struct p9_client *client, const char *addr, char *args)
client            960 net/9p/trans_fd.c 	client->trans_opts.tcp.port = opts.port;
client            961 net/9p/trans_fd.c 	client->trans_opts.tcp.privport = opts.privport;
client            993 net/9p/trans_fd.c 	return p9_socket_open(client, csocket);
client            997 net/9p/trans_fd.c p9_fd_create_unix(struct p9_client *client, const char *addr, char *args)
client           1033 net/9p/trans_fd.c 	return p9_socket_open(client, csocket);
client           1037 net/9p/trans_fd.c p9_fd_create(struct p9_client *client, const char *addr, char *args)
client           1043 net/9p/trans_fd.c 	client->trans_opts.fd.rfd = opts.rfd;
client           1044 net/9p/trans_fd.c 	client->trans_opts.fd.wfd = opts.wfd;
client           1051 net/9p/trans_fd.c 	err = p9_fd_open(client, opts.rfd, opts.wfd);
client           1055 net/9p/trans_fd.c 	p9_conn_create(client);
client            292 net/9p/trans_rdma.c 	struct p9_client *client = cq->cq_context;
client            293 net/9p/trans_rdma.c 	struct p9_trans_rdma *rdma = client->trans;
client            301 net/9p/trans_rdma.c 	ib_dma_unmap_single(rdma->cm_id->device, c->busa, client->msize,
client            312 net/9p/trans_rdma.c 	req = p9_tag_lookup(client, tag);
client            325 net/9p/trans_rdma.c 	p9_client_cb(client, req, REQ_STATUS_RCVD);
client            336 net/9p/trans_rdma.c 	client->status = Disconnected;
client            343 net/9p/trans_rdma.c 	struct p9_client *client = cq->cq_context;
client            344 net/9p/trans_rdma.c 	struct p9_trans_rdma *rdma = client->trans;
client            383 net/9p/trans_rdma.c post_recv(struct p9_client *client, struct p9_rdma_context *c)
client            385 net/9p/trans_rdma.c 	struct p9_trans_rdma *rdma = client->trans;
client            390 net/9p/trans_rdma.c 				    c->rc.sdata, client->msize,
client            398 net/9p/trans_rdma.c 	sge.length = client->msize;
client            412 net/9p/trans_rdma.c static int rdma_request(struct p9_client *client, struct p9_req_t *req)
client            414 net/9p/trans_rdma.c 	struct p9_trans_rdma *rdma = client->trans;
client            462 net/9p/trans_rdma.c 	err = post_recv(client, rpl_context);
client            542 net/9p/trans_rdma.c static void rdma_close(struct p9_client *client)
client            546 net/9p/trans_rdma.c 	if (!client)
client            549 net/9p/trans_rdma.c 	rdma = client->trans;
client            553 net/9p/trans_rdma.c 	client->status = Disconnected;
client            584 net/9p/trans_rdma.c static int rdma_cancel(struct p9_client *client, struct p9_req_t *req)
client            595 net/9p/trans_rdma.c static int rdma_cancelled(struct p9_client *client, struct p9_req_t *req)
client            597 net/9p/trans_rdma.c 	struct p9_trans_rdma *rdma = client->trans;
client            626 net/9p/trans_rdma.c rdma_create_trans(struct p9_client *client, const char *addr, char *args)
client            648 net/9p/trans_rdma.c 	rdma->cm_id = rdma_create_id(&init_net, p9_cm_event_handler, client,
client            654 net/9p/trans_rdma.c 	client->trans = rdma;
client            688 net/9p/trans_rdma.c 	rdma->cq = ib_alloc_cq_any(rdma->cm_id->device, client,
client            702 net/9p/trans_rdma.c 	qp_attr.qp_context = client;
client            729 net/9p/trans_rdma.c 	client->status = Connected;
client             66 net/9p/trans_virtio.c 	struct p9_client *client;
client            102 net/9p/trans_virtio.c static void p9_virtio_close(struct p9_client *client)
client            104 net/9p/trans_virtio.c 	struct virtio_chan *chan = client->trans;
client            144 net/9p/trans_virtio.c 			p9_client_cb(chan->client, req, REQ_STATUS_RCVD);
client            190 net/9p/trans_virtio.c static int p9_virtio_cancel(struct p9_client *client, struct p9_req_t *req)
client            196 net/9p/trans_virtio.c static int p9_virtio_cancelled(struct p9_client *client, struct p9_req_t *req)
client            251 net/9p/trans_virtio.c p9_virtio_request(struct p9_client *client, struct p9_req_t *req)
client            256 net/9p/trans_virtio.c 	struct virtio_chan *chan = client->trans;
client            387 net/9p/trans_virtio.c p9_virtio_zc_request(struct p9_client *client, struct p9_req_t *req,
client            395 net/9p/trans_virtio.c 	struct virtio_chan *chan = client->trans;
client            652 net/9p/trans_virtio.c p9_virtio_create(struct p9_client *client, const char *devname, char *args)
client            679 net/9p/trans_virtio.c 	client->trans = (void *)chan;
client            680 net/9p/trans_virtio.c 	client->status = Connected;
client            681 net/9p/trans_virtio.c 	chan->client = client;
client             78 net/9p/trans_xen.c 	struct p9_client *client;
client             88 net/9p/trans_xen.c static int p9_xen_cancel(struct p9_client *client, struct p9_req_t *req)
client             93 net/9p/trans_xen.c static int p9_xen_create(struct p9_client *client, const char *addr, char *args)
client            103 net/9p/trans_xen.c 			priv->client = client;
client            112 net/9p/trans_xen.c static void p9_xen_close(struct p9_client *client)
client            118 net/9p/trans_xen.c 		if (priv->client == client) {
client            119 net/9p/trans_xen.c 			priv->client = NULL;
client            139 net/9p/trans_xen.c static int p9_xen_request(struct p9_client *client, struct p9_req_t *p9_req)
client            150 net/9p/trans_xen.c 		if (priv->client == client)
client            154 net/9p/trans_xen.c 	if (!priv || priv->client != client)
client            224 net/9p/trans_xen.c 		req = p9_tag_lookup(priv->client, h.tag);
client            249 net/9p/trans_xen.c 		p9_client_cb(priv->client, req, status);
client            257 net/9p/trans_xen.c 	if (!ring || !ring->priv->client) {
client           1117 net/atm/mpc.c  					struct mpoa_client *client,
client           1122 net/atm/mpc.c  	eg_cache_entry *eg_entry = client->eg_ops->get_by_src_ip(dst_ip, client);
client           1135 net/atm/mpc.c  				client->dev->name, &dst_ip);
client           1136 net/atm/mpc.c  			client->eg_ops->put(eg_entry);
client           1141 net/atm/mpc.c  		client->eg_ops->put(eg_entry);
client           1149 net/atm/mpc.c  			client->dev->name);
client           1152 net/atm/mpc.c  	msg_to_mpoad(msg, client);
client           1372 net/atm/mpc.c  				  struct mpoa_client *client)
client           1375 net/atm/mpc.c  	if (client->number_of_mps_macs)
client           1376 net/atm/mpc.c  		kfree(client->mps_macs);
client           1377 net/atm/mpc.c  	client->number_of_mps_macs = 0;
client           1378 net/atm/mpc.c  	client->mps_macs = kmemdup(msg->MPS_ctrl, ETH_ALEN, GFP_KERNEL);
client           1379 net/atm/mpc.c  	if (client->mps_macs == NULL) {
client           1383 net/atm/mpc.c  	client->number_of_mps_macs = 1;
client             36 net/atm/mpoa_caches.c 				    struct mpoa_client *client)
client             40 net/atm/mpoa_caches.c 	read_lock_bh(&client->ingress_lock);
client             41 net/atm/mpoa_caches.c 	entry = client->in_cache;
client             45 net/atm/mpoa_caches.c 			read_unlock_bh(&client->ingress_lock);
client             50 net/atm/mpoa_caches.c 	read_unlock_bh(&client->ingress_lock);
client             56 net/atm/mpoa_caches.c 					      struct mpoa_client *client,
client             61 net/atm/mpoa_caches.c 	read_lock_bh(&client->ingress_lock);
client             62 net/atm/mpoa_caches.c 	entry = client->in_cache;
client             66 net/atm/mpoa_caches.c 			read_unlock_bh(&client->ingress_lock);
client             71 net/atm/mpoa_caches.c 	read_unlock_bh(&client->ingress_lock);
client             78 net/atm/mpoa_caches.c 					   struct mpoa_client *client)
client             82 net/atm/mpoa_caches.c 	read_lock_bh(&client->ingress_lock);
client             83 net/atm/mpoa_caches.c 	entry = client->in_cache;
client             87 net/atm/mpoa_caches.c 			read_unlock_bh(&client->ingress_lock);
client             92 net/atm/mpoa_caches.c 	read_unlock_bh(&client->ingress_lock);
client             98 net/atm/mpoa_caches.c 					  struct mpoa_client *client)
client            111 net/atm/mpoa_caches.c 	write_lock_bh(&client->ingress_lock);
client            112 net/atm/mpoa_caches.c 	entry->next = client->in_cache;
client            114 net/atm/mpoa_caches.c 	if (client->in_cache != NULL)
client            115 net/atm/mpoa_caches.c 		client->in_cache->prev = entry;
client            116 net/atm/mpoa_caches.c 	client->in_cache = entry;
client            118 net/atm/mpoa_caches.c 	memcpy(entry->MPS_ctrl_ATM_addr, client->mps_ctrl_addr, ATM_ESA_LEN);
client            121 net/atm/mpoa_caches.c 	entry->retry_time = client->parameters.mpc_p4;
client            127 net/atm/mpoa_caches.c 	write_unlock_bh(&client->ingress_lock);
client            191 net/atm/mpoa_caches.c 				  struct mpoa_client *client)
client            203 net/atm/mpoa_caches.c 		client->in_cache = entry->next;
client            206 net/atm/mpoa_caches.c 	client->in_ops->put(entry);
client            207 net/atm/mpoa_caches.c 	if (client->in_cache == NULL && client->eg_cache == NULL) {
client            209 net/atm/mpoa_caches.c 		msg_to_mpoad(&msg, client);
client            214 net/atm/mpoa_caches.c 		eg_cache_entry *eg_entry = client->eg_ops->get_by_vcc(vcc,
client            215 net/atm/mpoa_caches.c 								      client);
client            217 net/atm/mpoa_caches.c 			client->eg_ops->put(eg_entry);
client            226 net/atm/mpoa_caches.c static void clear_count_and_expired(struct mpoa_client *client)
client            233 net/atm/mpoa_caches.c 	write_lock_bh(&client->ingress_lock);
client            234 net/atm/mpoa_caches.c 	entry = client->in_cache;
client            241 net/atm/mpoa_caches.c 			client->in_ops->remove_entry(entry, client);
client            245 net/atm/mpoa_caches.c 	write_unlock_bh(&client->ingress_lock);
client            249 net/atm/mpoa_caches.c static void check_resolving_entries(struct mpoa_client *client)
client            259 net/atm/mpoa_caches.c 	read_lock_bh(&client->ingress_lock);
client            260 net/atm/mpoa_caches.c 	entry = client->in_cache;
client            265 net/atm/mpoa_caches.c 					< client->parameters.mpc_p6) {
client            275 net/atm/mpoa_caches.c 				if (entry->retry_time > client->parameters.mpc_p5) {
client            277 net/atm/mpoa_caches.c 					entry->retry_time = client->parameters.mpc_p4;
client            284 net/atm/mpoa_caches.c 				memcpy(msg.MPS_ctrl, client->mps_ctrl_addr, ATM_ESA_LEN);
client            289 net/atm/mpoa_caches.c 				msg_to_mpoad(&msg, client);
client            295 net/atm/mpoa_caches.c 	read_unlock_bh(&client->ingress_lock);
client            299 net/atm/mpoa_caches.c static void refresh_entries(struct mpoa_client *client)
client            302 net/atm/mpoa_caches.c 	struct in_cache_entry *entry = client->in_cache;
client            307 net/atm/mpoa_caches.c 	read_lock_bh(&client->ingress_lock);
client            321 net/atm/mpoa_caches.c 	read_unlock_bh(&client->ingress_lock);
client            426 net/atm/mpoa_caches.c 				  struct mpoa_client *client)
client            436 net/atm/mpoa_caches.c 		client->eg_cache = entry->next;
client            439 net/atm/mpoa_caches.c 	client->eg_ops->put(entry);
client            440 net/atm/mpoa_caches.c 	if (client->in_cache == NULL && client->eg_cache == NULL) {
client            442 net/atm/mpoa_caches.c 		msg_to_mpoad(&msg, client);
client            447 net/atm/mpoa_caches.c 		in_cache_entry *in_entry = client->in_ops->get_by_vcc(vcc, client);
client            449 net/atm/mpoa_caches.c 			client->in_ops->put(in_entry);
client            457 net/atm/mpoa_caches.c 					  struct mpoa_client *client)
client            471 net/atm/mpoa_caches.c 	write_lock_irq(&client->egress_lock);
client            472 net/atm/mpoa_caches.c 	entry->next = client->eg_cache;
client            474 net/atm/mpoa_caches.c 	if (client->eg_cache != NULL)
client            475 net/atm/mpoa_caches.c 		client->eg_cache->prev = entry;
client            476 net/atm/mpoa_caches.c 	client->eg_cache = entry;
client            478 net/atm/mpoa_caches.c 	memcpy(entry->MPS_ctrl_ATM_addr, client->mps_ctrl_addr, ATM_ESA_LEN);
client            487 net/atm/mpoa_caches.c 	write_unlock_irq(&client->egress_lock);
client            500 net/atm/mpoa_caches.c static void clear_expired(struct mpoa_client *client)
client            508 net/atm/mpoa_caches.c 	write_lock_irq(&client->egress_lock);
client            509 net/atm/mpoa_caches.c 	entry = client->eg_cache;
client            517 net/atm/mpoa_caches.c 			msg_to_mpoad(&msg, client);
client            518 net/atm/mpoa_caches.c 			client->eg_ops->remove_entry(entry, client);
client            522 net/atm/mpoa_caches.c 	write_unlock_irq(&client->egress_lock);
client             36 net/atm/mpoa_caches.h 				      struct mpoa_client *client);
client             37 net/atm/mpoa_caches.h 	in_cache_entry *(*get)(__be32 dst_ip, struct mpoa_client *client);
client             39 net/atm/mpoa_caches.h 					 struct mpoa_client *client,
client             42 net/atm/mpoa_caches.h 				      struct mpoa_client *client);
client             45 net/atm/mpoa_caches.h 					struct mpoa_client *client );
client             47 net/atm/mpoa_caches.h 				     struct mpoa_client *client);
client             48 net/atm/mpoa_caches.h 	void            (*clear_count)(struct mpoa_client *client);
client             49 net/atm/mpoa_caches.h 	void            (*check_resolving)(struct mpoa_client *client);
client             50 net/atm/mpoa_caches.h 	void            (*refresh)(struct mpoa_client *client);
client             68 net/atm/mpoa_caches.h 	eg_cache_entry *(*add_entry)(struct k_message *msg, struct mpoa_client *client);
client             69 net/atm/mpoa_caches.h 	eg_cache_entry *(*get_by_cache_id)(__be32 cache_id, struct mpoa_client *client);
client             70 net/atm/mpoa_caches.h 	eg_cache_entry *(*get_by_tag)(__be32 cache_id, struct mpoa_client *client);
client             71 net/atm/mpoa_caches.h 	eg_cache_entry *(*get_by_vcc)(struct atm_vcc *vcc, struct mpoa_client *client);
client             72 net/atm/mpoa_caches.h 	eg_cache_entry *(*get_by_src_ip)(__be32 ipaddr, struct mpoa_client *client);
client             74 net/atm/mpoa_caches.h 	void            (*remove_entry)(eg_cache_entry *entry, struct mpoa_client *client);
client             76 net/atm/mpoa_caches.h 	void            (*clear_expired)(struct mpoa_client *client);
client            104 net/batman-adv/icmp_socket.c 	struct batadv_socket_client *client = file->private_data;
client            107 net/batman-adv/icmp_socket.c 	spin_lock_bh(&client->lock);
client            110 net/batman-adv/icmp_socket.c 	list_for_each_entry_safe(packet, tmp, &client->queue_list, list) {
client            115 net/batman-adv/icmp_socket.c 	batadv_socket_client_hash[client->index] = NULL;
client            116 net/batman-adv/icmp_socket.c 	spin_unlock_bh(&client->lock);
client            118 net/batman-adv/icmp_socket.c 	kfree(client);
client             66 net/batman-adv/translation-table.c static void batadv_send_roam_adv(struct batadv_priv *bat_priv, u8 *client,
client           3700 net/batman-adv/translation-table.c static bool batadv_tt_check_roam_count(struct batadv_priv *bat_priv, u8 *client)
client           3710 net/batman-adv/translation-table.c 		if (!batadv_compare_eth(tt_roam_node->addr, client))
client           3733 net/batman-adv/translation-table.c 		ether_addr_copy(tt_roam_node->addr, client);
client           3756 net/batman-adv/translation-table.c static void batadv_send_roam_adv(struct batadv_priv *bat_priv, u8 *client,
client           3770 net/batman-adv/translation-table.c 	if (!batadv_tt_check_roam_count(bat_priv, client))
client           3775 net/batman-adv/translation-table.c 		   orig_node->orig, client, batadv_print_vid(vid));
client           3779 net/batman-adv/translation-table.c 	memcpy(tvlv_roam.client, client, sizeof(tvlv_roam.client));
client           4376 net/batman-adv/translation-table.c 		   src, roaming_adv->client);
client           4378 net/batman-adv/translation-table.c 	batadv_tt_global_add(bat_priv, orig_node, roaming_adv->client,
client            305 net/caif/cfctrl.c 			struct cflayer *client)
client            105 net/ceph/ceph_common.c int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid)
client            107 net/ceph/ceph_common.c 	if (client->have_fsid) {
client            108 net/ceph/ceph_common.c 		if (ceph_fsid_compare(&client->fsid, fsid)) {
client            110 net/ceph/ceph_common.c 			       &client->fsid, fsid);
client            114 net/ceph/ceph_common.c 		memcpy(&client->fsid, fsid, sizeof(*fsid));
client            132 net/ceph/ceph_common.c 			 struct ceph_client *client)
client            135 net/ceph/ceph_common.c 	struct ceph_options *opt2 = client->options;
client            144 net/ceph/ceph_common.c 	if (!net_eq(current->nsproxy->net_ns, read_pnet(&client->msgr.net)))
client            181 net/ceph/ceph_common.c 		if (ceph_monmap_contains(client->monc.monmap,
client            576 net/ceph/ceph_common.c int ceph_print_client_options(struct seq_file *m, struct ceph_client *client,
client            579 net/ceph/ceph_common.c 	struct ceph_options *opt = client->options;
client            626 net/ceph/ceph_common.c struct ceph_entity_addr *ceph_client_addr(struct ceph_client *client)
client            628 net/ceph/ceph_common.c 	return &client->msgr.inst.addr;
client            632 net/ceph/ceph_common.c u64 ceph_client_gid(struct ceph_client *client)
client            634 net/ceph/ceph_common.c 	return client->monc.auth->global_id;
client            643 net/ceph/ceph_common.c 	struct ceph_client *client;
client            651 net/ceph/ceph_common.c 	client = kzalloc(sizeof(*client), GFP_KERNEL);
client            652 net/ceph/ceph_common.c 	if (client == NULL)
client            655 net/ceph/ceph_common.c 	client->private = private;
client            656 net/ceph/ceph_common.c 	client->options = opt;
client            658 net/ceph/ceph_common.c 	mutex_init(&client->mount_mutex);
client            659 net/ceph/ceph_common.c 	init_waitqueue_head(&client->auth_wq);
client            660 net/ceph/ceph_common.c 	client->auth_err = 0;
client            662 net/ceph/ceph_common.c 	client->extra_mon_dispatch = NULL;
client            663 net/ceph/ceph_common.c 	client->supported_features = CEPH_FEATURES_SUPPORTED_DEFAULT;
client            664 net/ceph/ceph_common.c 	client->required_features = CEPH_FEATURES_REQUIRED_DEFAULT;
client            666 net/ceph/ceph_common.c 	if (!ceph_test_opt(client, NOMSGAUTH))
client            667 net/ceph/ceph_common.c 		client->required_features |= CEPH_FEATURE_MSG_AUTH;
client            670 net/ceph/ceph_common.c 	if (ceph_test_opt(client, MYIP))
client            671 net/ceph/ceph_common.c 		myaddr = &client->options->my_addr;
client            673 net/ceph/ceph_common.c 	ceph_messenger_init(&client->msgr, myaddr);
client            676 net/ceph/ceph_common.c 	err = ceph_monc_init(&client->monc, client);
client            679 net/ceph/ceph_common.c 	err = ceph_osdc_init(&client->osdc, client);
client            683 net/ceph/ceph_common.c 	return client;
client            686 net/ceph/ceph_common.c 	ceph_monc_stop(&client->monc);
client            688 net/ceph/ceph_common.c 	ceph_messenger_fini(&client->msgr);
client            689 net/ceph/ceph_common.c 	kfree(client);
client            694 net/ceph/ceph_common.c void ceph_destroy_client(struct ceph_client *client)
client            696 net/ceph/ceph_common.c 	dout("destroy_client %p\n", client);
client            698 net/ceph/ceph_common.c 	atomic_set(&client->msgr.stopping, 1);
client            701 net/ceph/ceph_common.c 	ceph_osdc_stop(&client->osdc);
client            702 net/ceph/ceph_common.c 	ceph_monc_stop(&client->monc);
client            703 net/ceph/ceph_common.c 	ceph_messenger_fini(&client->msgr);
client            705 net/ceph/ceph_common.c 	ceph_debugfs_client_cleanup(client);
client            707 net/ceph/ceph_common.c 	ceph_destroy_options(client->options);
client            709 net/ceph/ceph_common.c 	kfree(client);
client            710 net/ceph/ceph_common.c 	dout("destroy_client %p done\n", client);
client            714 net/ceph/ceph_common.c void ceph_reset_client_addr(struct ceph_client *client)
client            716 net/ceph/ceph_common.c 	ceph_messenger_reset_nonce(&client->msgr);
client            717 net/ceph/ceph_common.c 	ceph_monc_reopen_session(&client->monc);
client            718 net/ceph/ceph_common.c 	ceph_osdc_reopen_osds(&client->osdc);
client            725 net/ceph/ceph_common.c static bool have_mon_and_osd_map(struct ceph_client *client)
client            727 net/ceph/ceph_common.c 	return client->monc.monmap && client->monc.monmap->epoch &&
client            728 net/ceph/ceph_common.c 	       client->osdc.osdmap && client->osdc.osdmap->epoch;
client            734 net/ceph/ceph_common.c int __ceph_open_session(struct ceph_client *client, unsigned long started)
client            736 net/ceph/ceph_common.c 	unsigned long timeout = client->options->mount_timeout;
client            740 net/ceph/ceph_common.c 	err = ceph_monc_open_session(&client->monc);
client            744 net/ceph/ceph_common.c 	while (!have_mon_and_osd_map(client)) {
client            750 net/ceph/ceph_common.c 		err = wait_event_interruptible_timeout(client->auth_wq,
client            751 net/ceph/ceph_common.c 			have_mon_and_osd_map(client) || (client->auth_err < 0),
client            755 net/ceph/ceph_common.c 		if (client->auth_err < 0)
client            756 net/ceph/ceph_common.c 			return client->auth_err;
client            759 net/ceph/ceph_common.c 	pr_info("client%llu fsid %pU\n", ceph_client_gid(client),
client            760 net/ceph/ceph_common.c 		&client->fsid);
client            761 net/ceph/ceph_common.c 	ceph_debugfs_client_init(client);
client            767 net/ceph/ceph_common.c int ceph_open_session(struct ceph_client *client)
client            773 net/ceph/ceph_common.c 	mutex_lock(&client->mount_mutex);
client            775 net/ceph/ceph_common.c 	ret = __ceph_open_session(client, started);
client            777 net/ceph/ceph_common.c 	mutex_unlock(&client->mount_mutex);
client            782 net/ceph/ceph_common.c int ceph_wait_for_latest_osdmap(struct ceph_client *client,
client            788 net/ceph/ceph_common.c 	ret = ceph_monc_get_version(&client->monc, "osdmap", &newest_epoch);
client            792 net/ceph/ceph_common.c 	if (client->osdc.osdmap->epoch >= newest_epoch)
client            795 net/ceph/ceph_common.c 	ceph_osdc_maybe_request_map(&client->osdc);
client            796 net/ceph/ceph_common.c 	return ceph_monc_wait_osdmap(&client->monc, newest_epoch, timeout);
client             37 net/ceph/debugfs.c 	struct ceph_client *client = s->private;
client             39 net/ceph/debugfs.c 	if (client->monc.monmap == NULL)
client             42 net/ceph/debugfs.c 	seq_printf(s, "epoch %d\n", client->monc.monmap->epoch);
client             43 net/ceph/debugfs.c 	for (i = 0; i < client->monc.monmap->num_mon; i++) {
client             45 net/ceph/debugfs.c 			&client->monc.monmap->mon_inst[i];
client             57 net/ceph/debugfs.c 	struct ceph_client *client = s->private;
client             58 net/ceph/debugfs.c 	struct ceph_osd_client *osdc = &client->osdc;
client            138 net/ceph/debugfs.c 	struct ceph_client *client = s->private;
client            140 net/ceph/debugfs.c 	struct ceph_mon_client *monc = &client->monc;
client            339 net/ceph/debugfs.c 	struct ceph_client *client = s->private;
client            340 net/ceph/debugfs.c 	struct ceph_osd_client *osdc = &client->osdc;
client            375 net/ceph/debugfs.c 	struct ceph_client *client = s->private;
client            378 net/ceph/debugfs.c 	ret = ceph_print_client_options(s, client, true);
client            402 net/ceph/debugfs.c void ceph_debugfs_client_init(struct ceph_client *client)
client            406 net/ceph/debugfs.c 	snprintf(name, sizeof(name), "%pU.client%lld", &client->fsid,
client            407 net/ceph/debugfs.c 		 client->monc.auth->global_id);
client            409 net/ceph/debugfs.c 	dout("ceph_debugfs_client_init %p %s\n", client, name);
client            411 net/ceph/debugfs.c 	client->debugfs_dir = debugfs_create_dir(name, ceph_debugfs_dir);
client            413 net/ceph/debugfs.c 	client->monc.debugfs_file = debugfs_create_file("monc",
client            415 net/ceph/debugfs.c 						      client->debugfs_dir,
client            416 net/ceph/debugfs.c 						      client,
client            419 net/ceph/debugfs.c 	client->osdc.debugfs_file = debugfs_create_file("osdc",
client            421 net/ceph/debugfs.c 						      client->debugfs_dir,
client            422 net/ceph/debugfs.c 						      client,
client            425 net/ceph/debugfs.c 	client->debugfs_monmap = debugfs_create_file("monmap",
client            427 net/ceph/debugfs.c 					client->debugfs_dir,
client            428 net/ceph/debugfs.c 					client,
client            431 net/ceph/debugfs.c 	client->debugfs_osdmap = debugfs_create_file("osdmap",
client            433 net/ceph/debugfs.c 					client->debugfs_dir,
client            434 net/ceph/debugfs.c 					client,
client            437 net/ceph/debugfs.c 	client->debugfs_options = debugfs_create_file("client_options",
client            439 net/ceph/debugfs.c 					client->debugfs_dir,
client            440 net/ceph/debugfs.c 					client,
client            444 net/ceph/debugfs.c void ceph_debugfs_client_cleanup(struct ceph_client *client)
client            446 net/ceph/debugfs.c 	dout("ceph_debugfs_client_cleanup %p\n", client);
client            447 net/ceph/debugfs.c 	debugfs_remove(client->debugfs_options);
client            448 net/ceph/debugfs.c 	debugfs_remove(client->debugfs_osdmap);
client            449 net/ceph/debugfs.c 	debugfs_remove(client->debugfs_monmap);
client            450 net/ceph/debugfs.c 	debugfs_remove(client->osdc.debugfs_file);
client            451 net/ceph/debugfs.c 	debugfs_remove(client->monc.debugfs_file);
client            452 net/ceph/debugfs.c 	debugfs_remove(client->debugfs_dir);
client            465 net/ceph/debugfs.c void ceph_debugfs_client_init(struct ceph_client *client)
client            469 net/ceph/debugfs.c void ceph_debugfs_client_cleanup(struct ceph_client *client)
client            436 net/ceph/mon_client.c 		ret = wait_event_interruptible_timeout(monc->client->auth_wq,
client            469 net/ceph/mon_client.c 	struct ceph_client *client = monc->client;
client            487 net/ceph/mon_client.c 	if (ceph_check_fsid(monc->client, &monmap->fsid) < 0) {
client            492 net/ceph/mon_client.c 	client->monc.monmap = monmap;
client            496 net/ceph/mon_client.c 	client->have_fsid = true;
client            500 net/ceph/mon_client.c 	wake_up_all(&client->auth_wq);
client            944 net/ceph/mon_client.c 		ret = ceph_wait_for_latest_osdmap(monc->client, 0);
client           1018 net/ceph/mon_client.c 	struct ceph_options *opt = monc->client->options;
client           1045 net/ceph/mon_client.c 	monc->client = cl;
client           1089 net/ceph/mon_client.c 		      &monc->client->msgr);
client           1181 net/ceph/mon_client.c 		monc->client->auth_err = ret;
client           1185 net/ceph/mon_client.c 		monc->client->msgr.inst.name.type = CEPH_ENTITY_TYPE_CLIENT;
client           1186 net/ceph/mon_client.c 		monc->client->msgr.inst.name.num =
client           1198 net/ceph/mon_client.c 	if (monc->client->auth_err < 0)
client           1199 net/ceph/mon_client.c 		wake_up_all(&monc->client->auth_wq);
client           1265 net/ceph/mon_client.c 		ceph_osdc_handle_map(&monc->client->osdc, msg);
client           1270 net/ceph/mon_client.c 		if (monc->client->extra_mon_dispatch &&
client           1271 net/ceph/mon_client.c 		    monc->client->extra_mon_dispatch(monc->client, msg) == 0)
client           1240 net/ceph/osd_client.c 	ceph_con_init(&osd->o_con, osd, &osd_con_ops, &osdc->client->msgr);
client           1280 net/ceph/osd_client.c 	osd->lru_ttl = jiffies + osdc->client->options->osd_idle_ttl;
client           2270 net/ceph/osd_client.c 	if (ceph_monc_want_map(&osdc->client->monc, CEPH_SUB_OSDMAP,
client           2272 net/ceph/osd_client.c 		ceph_monc_renew_subs(&osdc->client->monc);
client           2325 net/ceph/osd_client.c 		if (ceph_test_opt(osdc->client, ABORT_ON_FULL)) {
client           2563 net/ceph/osd_client.c 	if (ceph_test_opt(osdc->client, ABORT_ON_FULL) &&
client           2604 net/ceph/osd_client.c 	struct ceph_osd_client *osdc = &greq->monc->client->osdc;
client           2645 net/ceph/osd_client.c 	ret = ceph_monc_get_version_async(&osdc->client->monc, "osdmap",
client           3198 net/ceph/osd_client.c 	struct ceph_osd_client *osdc = &greq->monc->client->osdc;
client           3241 net/ceph/osd_client.c 	ret = ceph_monc_get_version_async(&osdc->client->monc, "osdmap",
client           3274 net/ceph/osd_client.c 	struct ceph_options *opts = osdc->client->options;
client           3356 net/ceph/osd_client.c 			      osdc->client->options->osd_keepalive_timeout);
client           3364 net/ceph/osd_client.c 	unsigned long delay = osdc->client->options->osd_idle_ttl / 4;
client           3975 net/ceph/osd_client.c 	if (ceph_check_fsid(osdc->client, &fsid) < 0)
client           4053 net/ceph/osd_client.c 	ceph_monc_got_map(&osdc->client->monc, CEPH_SUB_OSDMAP,
client           4056 net/ceph/osd_client.c 	wake_up_all(&osdc->client->auth_wq);
client           4679 net/ceph/osd_client.c 	struct ceph_options *opts = osdc->client->options;
client           5133 net/ceph/osd_client.c int ceph_osdc_init(struct ceph_osd_client *osdc, struct ceph_client *client)
client           5138 net/ceph/osd_client.c 	osdc->client = client;
client           5183 net/ceph/osd_client.c 			      osdc->client->options->osd_keepalive_timeout);
client           5185 net/ceph/osd_client.c 	    round_jiffies_relative(osdc->client->options->osd_idle_ttl));
client           5582 net/ceph/osd_client.c 	struct ceph_auth_client *ac = osdc->client->monc.auth;
client           5610 net/ceph/osd_client.c 	struct ceph_auth_client *ac = osdc->client->monc.auth;
client           5620 net/ceph/osd_client.c 	struct ceph_auth_client *ac = osdc->client->monc.auth;
client           5629 net/ceph/osd_client.c 	struct ceph_auth_client *ac = osdc->client->monc.auth;
client           5632 net/ceph/osd_client.c 	return ceph_monc_validate_auth(&osdc->client->monc);
client           1433 net/mac80211/util.c 		wmm_ac = &rrule->wmm_rule.client[ac];
client            400 net/qrtr/qrtr.c 			pkt->client.node = cpu_to_le32(dst.sq_node);
client            401 net/qrtr/qrtr.c 			pkt->client.port = cpu_to_le32(dst.sq_port);
client            516 net/qrtr/qrtr.c 		pkt->client.node = cpu_to_le32(ipc->us.sq_node);
client            517 net/qrtr/qrtr.c 		pkt->client.port = cpu_to_le32(ipc->us.sq_port);
client            192 net/rxrpc/key.c 	rxrpc_free_krb5_principal(&rxk5->client);
client            461 net/rxrpc/key.c 	ret = rxrpc_krb5_decode_principal(&rxk5->client, &xdr, &toklen);
client           1082 net/rxrpc/key.c 			princ = &token->k5->client;
client           1177 net/rxrpc/key.c 			princ = &token->k5->client;
client             73 net/sunrpc/auth_gss/auth_gss.c 	struct rpc_clnt *client;
client           1041 net/sunrpc/auth_gss/auth_gss.c 	gss_auth->client = clnt;
client           1177 net/sunrpc/auth_gss/auth_gss.c 		if (gss_auth->client != clnt)
client           1287 net/sunrpc/auth_gss/auth_gss.c 		task = rpc_call_null(gss_auth->client, &new->gc_base,
client            881 net/wireless/nl80211.c 				rule->wmm_rule.client[j].cw_min) ||
client            883 net/wireless/nl80211.c 				rule->wmm_rule.client[j].cw_max) ||
client            885 net/wireless/nl80211.c 			       rule->wmm_rule.client[j].aifsn) ||
client            887 net/wireless/nl80211.c 			        rule->wmm_rule.client[j].cot))
client            613 net/wireless/reg.c 	struct fwdb_wmm_ac client[IEEE80211_NUM_ACS];
client            877 net/wireless/reg.c 		wmm_rule->client[i].cw_min =
client            878 net/wireless/reg.c 			ecw2cw((wmm->client[i].ecw & 0xf0) >> 4);
client            879 net/wireless/reg.c 		wmm_rule->client[i].cw_max = ecw2cw(wmm->client[i].ecw & 0x0f);
client            880 net/wireless/reg.c 		wmm_rule->client[i].aifsn =  wmm->client[i].aifsn;
client            881 net/wireless/reg.c 		wmm_rule->client[i].cot =
client            882 net/wireless/reg.c 			1000 * be16_to_cpu(wmm->client[i].cot);
client           1393 net/wireless/reg.c 			reg_wmm_rules_intersect(&wmm_rule1->client[ac],
client           1394 net/wireless/reg.c 						&wmm_rule2->client[ac],
client           1395 net/wireless/reg.c 						&wmm_rule->client[ac]);
client            993 sound/aoa/codecs/onyx.c static int onyx_i2c_probe(struct i2c_client *client,
client            996 sound/aoa/codecs/onyx.c 	struct device_node *node = client->dev.of_node;
client           1006 sound/aoa/codecs/onyx.c 	onyx->i2c = client;
client           1007 sound/aoa/codecs/onyx.c 	i2c_set_clientdata(client, onyx);
client           1032 sound/aoa/codecs/onyx.c static int onyx_i2c_remove(struct i2c_client *client)
client           1034 sound/aoa/codecs/onyx.c 	struct onyx *onyx = i2c_get_clientdata(client);
client            879 sound/aoa/codecs/tas.c static int tas_i2c_probe(struct i2c_client *client,
client            882 sound/aoa/codecs/tas.c 	struct device_node *node = client->dev.of_node;
client            891 sound/aoa/codecs/tas.c 	tas->i2c = client;
client            892 sound/aoa/codecs/tas.c 	i2c_set_clientdata(client, tas);
client            908 sound/aoa/codecs/tas.c 	       (unsigned int)client->addr, node);
client            916 sound/aoa/codecs/tas.c static int tas_i2c_remove(struct i2c_client *client)
client            918 sound/aoa/codecs/tas.c 	struct tas *tas = i2c_get_clientdata(client);
client            160 sound/core/seq/oss/seq_oss_device.h 	ev->dest.client = dest_client;
client            412 sound/core/seq/oss/seq_oss_event.c 	snd_seq_oss_fill_addr(dp, ev, dp->addr.client, dp->addr.port);
client            431 sound/core/seq/oss/seq_oss_event.c 	if (ev->source.client != dp->cseq)
client             86 sound/core/seq/oss/seq_oss_init.c 	port->addr.client = system_client;
client            102 sound/core/seq/oss/seq_oss_init.c 		subs.sender.client = SNDRV_SEQ_CLIENT_SYSTEM;
client            104 sound/core/seq/oss/seq_oss_init.c 		subs.dest.client = system_client;
client            133 sound/core/seq/oss/seq_oss_init.c 		if (ev->data.addr.client == system_client)
client            142 sound/core/seq/oss/seq_oss_init.c 		if (ev->data.addr.client == system_client)
client            144 sound/core/seq/oss/seq_oss_init.c 		snd_seq_oss_midi_check_exit_port(ev->data.addr.client,
client            220 sound/core/seq/oss/seq_oss_init.c 	dp->addr.client = dp->cseq;
client            307 sound/core/seq/oss/seq_oss_init.c 	port.addr.client = dp->cseq;
client             52 sound/core/seq/oss/seq_oss_ioctl.c 	snd_seq_oss_fill_addr(dp, &tmpev, dp->addr.client, dp->addr.port);
client             32 sound/core/seq/oss/seq_oss_midi.c 	int client;		/* sequencer client number */
client             64 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_midi_lookup_ports(int client)
client             76 sound/core/seq/oss/seq_oss_midi.c 	clinfo->client = -1;
client             77 sound/core/seq/oss/seq_oss_midi.c 	while (snd_seq_kernel_client_ctl(client, SNDRV_SEQ_IOCTL_QUERY_NEXT_CLIENT, clinfo) == 0) {
client             78 sound/core/seq/oss/seq_oss_midi.c 		if (clinfo->client == client)
client             80 sound/core/seq/oss/seq_oss_midi.c 		pinfo->addr.client = clinfo->client;
client             82 sound/core/seq/oss/seq_oss_midi.c 		while (snd_seq_kernel_client_ctl(client, SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT, pinfo) == 0)
client            111 sound/core/seq/oss/seq_oss_midi.c find_slot(int client, int port)
client            120 sound/core/seq/oss/seq_oss_midi.c 		if (mdev && mdev->client == client && mdev->port == port) {
client            155 sound/core/seq/oss/seq_oss_midi.c 	if ((mdev = find_slot(pinfo->addr.client, pinfo->addr.port)) != NULL) {
client            169 sound/core/seq/oss/seq_oss_midi.c 	mdev->client = pinfo->addr.client;
client            215 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_midi_check_exit_port(int client, int port)
client            221 sound/core/seq/oss/seq_oss_midi.c 	if ((mdev = find_slot(client, port)) != NULL) {
client            353 sound/core/seq/oss/seq_oss_midi.c 		subs.dest.client = mdev->client;
client            359 sound/core/seq/oss/seq_oss_midi.c 		subs.sender.client = mdev->client;
client            397 sound/core/seq/oss/seq_oss_midi.c 		subs.dest.client = mdev->client;
client            402 sound/core/seq/oss/seq_oss_midi.c 		subs.sender.client = mdev->client;
client            458 sound/core/seq/oss/seq_oss_midi.c 		ev.dest.client = mdev->client;
client            496 sound/core/seq/oss/seq_oss_midi.c 	addr->client = mdev->client;
client            514 sound/core/seq/oss/seq_oss_midi.c 	if ((mdev = find_slot(ev->source.client, ev->source.port)) == NULL)
client            629 sound/core/seq/oss/seq_oss_midi.c 		snd_seq_oss_fill_addr(dp, ev, mdev->client, mdev->port);
client            689 sound/core/seq/oss/seq_oss_midi.c 			    mdev->client, mdev->port);
client             16 sound/core/seq/oss/seq_oss_midi.h int snd_seq_oss_midi_lookup_ports(int client);
client             18 sound/core/seq/oss/seq_oss_midi.h int snd_seq_oss_midi_check_exit_port(int client, int port);
client            164 sound/core/seq/oss/seq_oss_rw.c 	snd_seq_oss_fill_addr(dp, &event, dp->addr.client, dp->addr.port);
client            427 sound/core/seq/oss/seq_oss_synth.c 		snd_seq_oss_fill_addr(dp, &ev, info->arg.addr.client,
client            553 sound/core/seq/oss/seq_oss_synth.c 	snd_seq_oss_fill_addr(dp, ev, info->arg.addr.client,
client            133 sound/core/seq/oss/seq_oss_timer.c 	ev.source.client = dp->cseq;
client            135 sound/core/seq/oss/seq_oss_timer.c 	ev.dest.client = SNDRV_SEQ_CLIENT_SYSTEM;
client             40 sound/core/seq/oss/seq_oss_writeq.c 	pool.client = dp->cseq;
client            101 sound/core/seq/oss/seq_oss_writeq.c 		snd_seq_oss_fill_addr(dp, &ev, dp->addr.client, dp->addr.port);
client            141 sound/core/seq/oss/seq_oss_writeq.c 	pool.client = q->dp->cseq;
client            154 sound/core/seq/oss/seq_oss_writeq.c 	pool.client = q->dp->cseq;
client             66 sound/core/seq/seq_clientmgr.c static int bounce_error_event(struct snd_seq_client *client,
client             69 sound/core/seq/seq_clientmgr.c static int snd_seq_deliver_single_event(struct snd_seq_client *client,
client             87 sound/core/seq/seq_clientmgr.c static inline int snd_seq_write_pool_allocated(struct snd_seq_client *client)
client             89 sound/core/seq/seq_clientmgr.c 	return snd_seq_total_cells(client->pool) > 0;
client            106 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client;
client            114 sound/core/seq/seq_clientmgr.c 	client = clientptr(clientid);
client            115 sound/core/seq/seq_clientmgr.c 	if (client)
client            153 sound/core/seq/seq_clientmgr.c 		client = clientptr(clientid);
client            154 sound/core/seq/seq_clientmgr.c 		if (client)
client            162 sound/core/seq/seq_clientmgr.c 	snd_use_lock_use(&client->use_lock);
client            164 sound/core/seq/seq_clientmgr.c 	return client;
client            173 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client;
client            175 sound/core/seq/seq_clientmgr.c 	client = snd_seq_client_use_ptr(clientid);
client            176 sound/core/seq/seq_clientmgr.c 	if (!client)
client            178 sound/core/seq/seq_clientmgr.c 	mutex_lock(&client->ioctl_mutex);
client            187 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client;
client            189 sound/core/seq/seq_clientmgr.c 	client = snd_seq_client_use_ptr(clientid);
client            190 sound/core/seq/seq_clientmgr.c 	if (WARN_ON(!client))
client            192 sound/core/seq/seq_clientmgr.c 	mutex_unlock(&client->ioctl_mutex);
client            197 sound/core/seq/seq_clientmgr.c 	snd_seq_client_unlock(client);
client            198 sound/core/seq/seq_clientmgr.c 	snd_seq_client_unlock(client);
client            227 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client;
client            230 sound/core/seq/seq_clientmgr.c 	client = kzalloc(sizeof(*client), GFP_KERNEL);
client            231 sound/core/seq/seq_clientmgr.c 	if (client == NULL)
client            233 sound/core/seq/seq_clientmgr.c 	client->pool = snd_seq_pool_new(poolsize);
client            234 sound/core/seq/seq_clientmgr.c 	if (client->pool == NULL) {
client            235 sound/core/seq/seq_clientmgr.c 		kfree(client);
client            238 sound/core/seq/seq_clientmgr.c 	client->type = NO_CLIENT;
client            239 sound/core/seq/seq_clientmgr.c 	snd_use_lock_init(&client->use_lock);
client            240 sound/core/seq/seq_clientmgr.c 	rwlock_init(&client->ports_lock);
client            241 sound/core/seq/seq_clientmgr.c 	mutex_init(&client->ports_mutex);
client            242 sound/core/seq/seq_clientmgr.c 	INIT_LIST_HEAD(&client->ports_list_head);
client            243 sound/core/seq/seq_clientmgr.c 	mutex_init(&client->ioctl_mutex);
client            253 sound/core/seq/seq_clientmgr.c 			clienttab[client->number = c] = client;
client            255 sound/core/seq/seq_clientmgr.c 			return client;
client            259 sound/core/seq/seq_clientmgr.c 			clienttab[client->number = client_index] = client;
client            261 sound/core/seq/seq_clientmgr.c 			return client;
client            265 sound/core/seq/seq_clientmgr.c 	snd_seq_pool_delete(&client->pool);
client            266 sound/core/seq/seq_clientmgr.c 	kfree(client);
client            271 sound/core/seq/seq_clientmgr.c static int seq_free_client1(struct snd_seq_client *client)
client            273 sound/core/seq/seq_clientmgr.c 	if (!client)
client            276 sound/core/seq/seq_clientmgr.c 	clienttablock[client->number] = 1;
client            277 sound/core/seq/seq_clientmgr.c 	clienttab[client->number] = NULL;
client            279 sound/core/seq/seq_clientmgr.c 	snd_seq_delete_all_ports(client);
client            280 sound/core/seq/seq_clientmgr.c 	snd_seq_queue_client_leave(client->number);
client            281 sound/core/seq/seq_clientmgr.c 	snd_use_lock_sync(&client->use_lock);
client            282 sound/core/seq/seq_clientmgr.c 	snd_seq_queue_client_termination(client->number);
client            283 sound/core/seq/seq_clientmgr.c 	if (client->pool)
client            284 sound/core/seq/seq_clientmgr.c 		snd_seq_pool_delete(&client->pool);
client            286 sound/core/seq/seq_clientmgr.c 	clienttablock[client->number] = 0;
client            292 sound/core/seq/seq_clientmgr.c static void seq_free_client(struct snd_seq_client * client)
client            295 sound/core/seq/seq_clientmgr.c 	switch (client->type) {
client            298 sound/core/seq/seq_clientmgr.c 			client->number);
client            302 sound/core/seq/seq_clientmgr.c 		seq_free_client1(client);
client            308 sound/core/seq/seq_clientmgr.c 			   client->number, client->type);
client            312 sound/core/seq/seq_clientmgr.c 	snd_seq_system_client_ev_client_exit(client->number);
client            323 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client;
client            332 sound/core/seq/seq_clientmgr.c 	client = seq_create_client1(-1, SNDRV_SEQ_DEFAULT_EVENTS);
client            333 sound/core/seq/seq_clientmgr.c 	if (!client) {
client            340 sound/core/seq/seq_clientmgr.c 		client->accept_input = 1;
client            342 sound/core/seq/seq_clientmgr.c 		client->accept_output = 1;
client            344 sound/core/seq/seq_clientmgr.c 	user = &client->data.user;
client            352 sound/core/seq/seq_clientmgr.c 			seq_free_client1(client);
client            353 sound/core/seq/seq_clientmgr.c 			kfree(client);
client            360 sound/core/seq/seq_clientmgr.c 	client->type = USER_CLIENT;
client            363 sound/core/seq/seq_clientmgr.c 	c = client->number;
client            364 sound/core/seq/seq_clientmgr.c 	file->private_data = client;
client            368 sound/core/seq/seq_clientmgr.c 	sprintf(client->name, "Client-%d", c);
client            369 sound/core/seq/seq_clientmgr.c 	client->data.user.owner = get_pid(task_pid(current));
client            380 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client = file->private_data;
client            382 sound/core/seq/seq_clientmgr.c 	if (client) {
client            383 sound/core/seq/seq_clientmgr.c 		seq_free_client(client);
client            384 sound/core/seq/seq_clientmgr.c 		if (client->data.user.fifo)
client            385 sound/core/seq/seq_clientmgr.c 			snd_seq_fifo_delete(&client->data.user.fifo);
client            386 sound/core/seq/seq_clientmgr.c 		put_pid(client->data.user.owner);
client            387 sound/core/seq/seq_clientmgr.c 		kfree(client);
client            404 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client = file->private_data;
client            417 sound/core/seq/seq_clientmgr.c 	if (snd_BUG_ON(!client))
client            420 sound/core/seq/seq_clientmgr.c 	if (!client->accept_input || (fifo = client->data.user.fifo) == NULL)
client            504 sound/core/seq/seq_clientmgr.c 	dest = snd_seq_client_use_ptr(event->dest.client);
client            533 sound/core/seq/seq_clientmgr.c static int bounce_error_event(struct snd_seq_client *client,
client            540 sound/core/seq/seq_clientmgr.c 	if (client == NULL ||
client            541 sound/core/seq/seq_clientmgr.c 	    ! (client->filter & SNDRV_SEQ_FILTER_BOUNCE) ||
client            542 sound/core/seq/seq_clientmgr.c 	    ! client->accept_input)
client            550 sound/core/seq/seq_clientmgr.c 	bounce_ev.source.client = SNDRV_SEQ_CLIENT_SYSTEM;
client            552 sound/core/seq/seq_clientmgr.c 	bounce_ev.dest.client = client->number;
client            559 sound/core/seq/seq_clientmgr.c 		client->event_lost++;
client            601 sound/core/seq/seq_clientmgr.c static int snd_seq_deliver_single_event(struct snd_seq_client *client,
client            653 sound/core/seq/seq_clientmgr.c 		result = bounce_error_event(client, event, result, atomic, hop);
client            662 sound/core/seq/seq_clientmgr.c static int deliver_to_subscribers(struct snd_seq_client *client,
client            672 sound/core/seq/seq_clientmgr.c 	src_port = snd_seq_port_use_ptr(client, event->source.port);
client            693 sound/core/seq/seq_clientmgr.c 		err = snd_seq_deliver_single_event(client, event,
client            719 sound/core/seq/seq_clientmgr.c static int port_broadcast_event(struct snd_seq_client *client,
client            756 sound/core/seq/seq_clientmgr.c static int broadcast_event(struct snd_seq_client *client,
client            767 sound/core/seq/seq_clientmgr.c 		if (dest == client->number)
client            769 sound/core/seq/seq_clientmgr.c 		event->dest.client = dest;
client            772 sound/core/seq/seq_clientmgr.c 			err = port_broadcast_event(client, event, atomic, hop);
client            792 sound/core/seq/seq_clientmgr.c static int multicast_event(struct snd_seq_client *client, struct snd_seq_event *event,
client            809 sound/core/seq/seq_clientmgr.c static int snd_seq_deliver_event(struct snd_seq_client *client, struct snd_seq_event *event,
client            817 sound/core/seq/seq_clientmgr.c 			   event->source.client, event->source.port,
client            818 sound/core/seq/seq_clientmgr.c 			   event->dest.client, event->dest.port);
client            827 sound/core/seq/seq_clientmgr.c 	    event->dest.client == SNDRV_SEQ_ADDRESS_SUBSCRIBERS)
client            828 sound/core/seq/seq_clientmgr.c 		result = deliver_to_subscribers(client, event, atomic, hop);
client            831 sound/core/seq/seq_clientmgr.c 		 event->dest.client == SNDRV_SEQ_ADDRESS_BROADCAST)
client            832 sound/core/seq/seq_clientmgr.c 		result = broadcast_event(client, event, atomic, hop);
client            833 sound/core/seq/seq_clientmgr.c 	else if (event->dest.client >= SNDRV_SEQ_MAX_CLIENTS)
client            834 sound/core/seq/seq_clientmgr.c 		result = multicast_event(client, event, atomic, hop);
client            836 sound/core/seq/seq_clientmgr.c 		result = port_broadcast_event(client, event, atomic, hop);
client            839 sound/core/seq/seq_clientmgr.c 		result = snd_seq_deliver_single_event(client, event, 0, atomic, hop);
client            856 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client;
client            862 sound/core/seq/seq_clientmgr.c 	client = snd_seq_client_use_ptr(cell->event.source.client);
client            863 sound/core/seq/seq_clientmgr.c 	if (client == NULL) {
client            878 sound/core/seq/seq_clientmgr.c 		result = snd_seq_deliver_event(client, &tmpev, atomic, hop);
client            913 sound/core/seq/seq_clientmgr.c 		result = snd_seq_deliver_event(client, &cell->event, atomic, hop);
client            917 sound/core/seq/seq_clientmgr.c 	snd_seq_client_unlock(client);
client            926 sound/core/seq/seq_clientmgr.c static int snd_seq_client_enqueue_event(struct snd_seq_client *client,
client            937 sound/core/seq/seq_clientmgr.c 		event->dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS;
client            942 sound/core/seq/seq_clientmgr.c 			event->dest.client = SNDRV_SEQ_ADDRESS_BROADCAST;
client            946 sound/core/seq/seq_clientmgr.c 	if (event->dest.client == SNDRV_SEQ_ADDRESS_SUBSCRIBERS) {
client            948 sound/core/seq/seq_clientmgr.c 		struct snd_seq_client_port *src_port = snd_seq_port_use_ptr(client, event->source.port);
client            958 sound/core/seq/seq_clientmgr.c 		return snd_seq_deliver_event(client, event, atomic, hop);
client            962 sound/core/seq/seq_clientmgr.c 	if (snd_seq_queue_is_used(event->queue, client->number) <= 0)
client            964 sound/core/seq/seq_clientmgr.c 	if (! snd_seq_write_pool_allocated(client))
client            968 sound/core/seq/seq_clientmgr.c 	err = snd_seq_event_dup(client->pool, event, &cell, !blocking || atomic,
client           1022 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client = file->private_data;
client           1031 sound/core/seq/seq_clientmgr.c 	if (snd_BUG_ON(!client))
client           1034 sound/core/seq/seq_clientmgr.c 	if (!client->accept_output || client->pool == NULL)
client           1040 sound/core/seq/seq_clientmgr.c 	mutex_lock(&client->ioctl_mutex);
client           1041 sound/core/seq/seq_clientmgr.c 	if (client->pool->size > 0 && !snd_seq_write_pool_allocated(client)) {
client           1042 sound/core/seq/seq_clientmgr.c 		err = snd_seq_pool_init(client->pool);
client           1056 sound/core/seq/seq_clientmgr.c 		event.source.client = client->number;	/* fill in client number */
client           1085 sound/core/seq/seq_clientmgr.c 			if (client->convert32 && snd_seq_ev_is_varusr(&event)) {
client           1093 sound/core/seq/seq_clientmgr.c 		err = snd_seq_client_enqueue_event(client, &event, file,
client           1095 sound/core/seq/seq_clientmgr.c 						   0, 0, &client->ioctl_mutex);
client           1108 sound/core/seq/seq_clientmgr.c 			mutex_unlock(&client->ioctl_mutex);
client           1114 sound/core/seq/seq_clientmgr.c 	mutex_unlock(&client->ioctl_mutex);
client           1124 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client = file->private_data;
client           1128 sound/core/seq/seq_clientmgr.c 	if (snd_BUG_ON(!client))
client           1132 sound/core/seq/seq_clientmgr.c 	    client->data.user.fifo) {
client           1135 sound/core/seq/seq_clientmgr.c 		if (snd_seq_fifo_poll_wait(client->data.user.fifo, file, wait))
client           1142 sound/core/seq/seq_clientmgr.c 		if (!snd_seq_write_pool_allocated(client) ||
client           1143 sound/core/seq/seq_clientmgr.c 		    snd_seq_pool_poll_wait(client->pool, file, wait))
client           1153 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_pversion(struct snd_seq_client *client, void *arg)
client           1161 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_client_id(struct snd_seq_client *client, void *arg)
client           1165 sound/core/seq/seq_clientmgr.c 	*client_id = client->number;
client           1170 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_system_info(struct snd_seq_client *client, void *arg)
client           1188 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_running_mode(struct snd_seq_client *client, void  *arg)
client           1195 sound/core/seq/seq_clientmgr.c 	cptr = snd_seq_client_use_ptr(info->client);
client           1225 sound/core/seq/seq_clientmgr.c 	info->client = cptr->number;
client           1248 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_get_client_info(struct snd_seq_client *client,
client           1255 sound/core/seq/seq_clientmgr.c 	cptr = snd_seq_client_use_ptr(client_info->client);
client           1267 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_set_client_info(struct snd_seq_client *client,
client           1273 sound/core/seq/seq_clientmgr.c 	if (client->number != client_info->client)
client           1276 sound/core/seq/seq_clientmgr.c 	if (client->type != client_info->type)
client           1281 sound/core/seq/seq_clientmgr.c 		strscpy(client->name, client_info->name, sizeof(client->name));
client           1283 sound/core/seq/seq_clientmgr.c 	client->filter = client_info->filter;
client           1284 sound/core/seq/seq_clientmgr.c 	client->event_lost = client_info->event_lost;
client           1285 sound/core/seq/seq_clientmgr.c 	memcpy(client->event_filter, client_info->event_filter, 32);
client           1294 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_create_port(struct snd_seq_client *client, void *arg)
client           1302 sound/core/seq/seq_clientmgr.c 	if (info->addr.client != client->number)
client           1305 sound/core/seq/seq_clientmgr.c 	port = snd_seq_create_port(client, (info->flags & SNDRV_SEQ_PORT_FLG_GIVEN_PORT) ? info->addr.port : -1);
client           1309 sound/core/seq/seq_clientmgr.c 	if (client->type == USER_CLIENT && info->kernel) {
client           1312 sound/core/seq/seq_clientmgr.c 		snd_seq_delete_port(client, port_idx);
client           1315 sound/core/seq/seq_clientmgr.c 	if (client->type == KERNEL_CLIENT) {
client           1332 sound/core/seq/seq_clientmgr.c 	snd_seq_system_client_ev_port_start(port->addr.client, port->addr.port);
client           1341 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_delete_port(struct snd_seq_client *client, void *arg)
client           1347 sound/core/seq/seq_clientmgr.c 	if (info->addr.client != client->number)
client           1350 sound/core/seq/seq_clientmgr.c 	err = snd_seq_delete_port(client, info->addr.port);
client           1352 sound/core/seq/seq_clientmgr.c 		snd_seq_system_client_ev_port_exit(client->number, info->addr.port);
client           1360 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_get_port_info(struct snd_seq_client *client, void *arg)
client           1366 sound/core/seq/seq_clientmgr.c 	cptr = snd_seq_client_use_ptr(info->addr.client);
client           1388 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_set_port_info(struct snd_seq_client *client, void *arg)
client           1393 sound/core/seq/seq_clientmgr.c 	if (info->addr.client != client->number) /* only set our own ports ! */
client           1395 sound/core/seq/seq_clientmgr.c 	port = snd_seq_port_use_ptr(client, info->addr.port);
client           1410 sound/core/seq/seq_clientmgr.c static int check_subscription_permission(struct snd_seq_client *client,
client           1415 sound/core/seq/seq_clientmgr.c 	if (client->number != subs->sender.client &&
client           1416 sound/core/seq/seq_clientmgr.c 	    client->number != subs->dest.client) {
client           1428 sound/core/seq/seq_clientmgr.c 	if (client->number != subs->sender.client) {
client           1433 sound/core/seq/seq_clientmgr.c 	if (client->number != subs->dest.client) {
client           1444 sound/core/seq/seq_clientmgr.c int snd_seq_client_notify_subscription(int client, int port,
client           1455 sound/core/seq/seq_clientmgr.c 	return snd_seq_system_notify(client, port, &event);  /* non-atomic */
client           1462 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_subscribe_port(struct snd_seq_client *client,
client           1470 sound/core/seq/seq_clientmgr.c 	if ((receiver = snd_seq_client_use_ptr(subs->dest.client)) == NULL)
client           1472 sound/core/seq/seq_clientmgr.c 	if ((sender = snd_seq_client_use_ptr(subs->sender.client)) == NULL)
client           1479 sound/core/seq/seq_clientmgr.c 	result = check_subscription_permission(client, sport, dport, subs);
client           1484 sound/core/seq/seq_clientmgr.c 	result = snd_seq_port_connect(client, sender, sport, receiver, dport, subs);
client           1504 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_unsubscribe_port(struct snd_seq_client *client,
client           1512 sound/core/seq/seq_clientmgr.c 	if ((receiver = snd_seq_client_use_ptr(subs->dest.client)) == NULL)
client           1514 sound/core/seq/seq_clientmgr.c 	if ((sender = snd_seq_client_use_ptr(subs->sender.client)) == NULL)
client           1521 sound/core/seq/seq_clientmgr.c 	result = check_subscription_permission(client, sport, dport, subs);
client           1525 sound/core/seq/seq_clientmgr.c 	result = snd_seq_port_disconnect(client, sender, sport, receiver, dport, subs);
client           1543 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_create_queue(struct snd_seq_client *client, void *arg)
client           1548 sound/core/seq/seq_clientmgr.c 	q = snd_seq_queue_alloc(client->number, info->locked, info->flags);
client           1566 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_delete_queue(struct snd_seq_client *client, void *arg)
client           1570 sound/core/seq/seq_clientmgr.c 	return snd_seq_queue_delete(client->number, info->queue);
client           1574 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_get_queue_info(struct snd_seq_client *client,
client           1595 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_set_queue_info(struct snd_seq_client *client,
client           1601 sound/core/seq/seq_clientmgr.c 	if (info->owner != client->number)
client           1605 sound/core/seq/seq_clientmgr.c 	if (snd_seq_queue_check_access(info->queue, client->number)) {
client           1606 sound/core/seq/seq_clientmgr.c 		if (snd_seq_queue_set_owner(info->queue, client->number, info->locked) < 0)
client           1609 sound/core/seq/seq_clientmgr.c 			snd_seq_queue_use(info->queue, client->number, 1);
client           1617 sound/core/seq/seq_clientmgr.c 	if (q->owner != client->number) {
client           1628 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_get_named_queue(struct snd_seq_client *client,
client           1646 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_get_queue_status(struct snd_seq_client *client,
client           1675 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_get_queue_tempo(struct snd_seq_client *client,
client           1701 sound/core/seq/seq_clientmgr.c int snd_seq_set_queue_tempo(int client, struct snd_seq_queue_tempo *tempo)
client           1703 sound/core/seq/seq_clientmgr.c 	if (!snd_seq_queue_check_access(tempo->queue, client))
client           1705 sound/core/seq/seq_clientmgr.c 	return snd_seq_queue_timer_set_tempo(tempo->queue, client, tempo);
client           1709 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_set_queue_tempo(struct snd_seq_client *client,
client           1715 sound/core/seq/seq_clientmgr.c 	result = snd_seq_set_queue_tempo(client->number, tempo);
client           1721 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_get_queue_timer(struct snd_seq_client *client,
client           1750 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_set_queue_timer(struct snd_seq_client *client,
client           1759 sound/core/seq/seq_clientmgr.c 	if (snd_seq_queue_check_access(timer->queue, client->number)) {
client           1786 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_get_queue_client(struct snd_seq_client *client,
client           1792 sound/core/seq/seq_clientmgr.c 	used = snd_seq_queue_is_used(info->queue, client->number);
client           1796 sound/core/seq/seq_clientmgr.c 	info->client = client->number;
client           1803 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_set_queue_client(struct snd_seq_client *client,
client           1810 sound/core/seq/seq_clientmgr.c 		err = snd_seq_queue_use(info->queue, client->number, info->used);
client           1815 sound/core/seq/seq_clientmgr.c 	return snd_seq_ioctl_get_queue_client(client, arg);
client           1820 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_get_client_pool(struct snd_seq_client *client,
client           1826 sound/core/seq/seq_clientmgr.c 	cptr = snd_seq_client_use_ptr(info->client);
client           1830 sound/core/seq/seq_clientmgr.c 	info->client = cptr->number;
client           1849 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_set_client_pool(struct snd_seq_client *client,
client           1855 sound/core/seq/seq_clientmgr.c 	if (client->number != info->client)
client           1859 sound/core/seq/seq_clientmgr.c 	    (! snd_seq_write_pool_allocated(client) ||
client           1860 sound/core/seq/seq_clientmgr.c 	     info->output_pool != client->pool->size)) {
client           1861 sound/core/seq/seq_clientmgr.c 		if (snd_seq_write_pool_allocated(client)) {
client           1863 sound/core/seq/seq_clientmgr.c 			if (atomic_read(&client->pool->counter))
client           1866 sound/core/seq/seq_clientmgr.c 			snd_seq_pool_mark_closing(client->pool);
client           1867 sound/core/seq/seq_clientmgr.c 			snd_seq_pool_done(client->pool);
client           1869 sound/core/seq/seq_clientmgr.c 		client->pool->size = info->output_pool;
client           1870 sound/core/seq/seq_clientmgr.c 		rc = snd_seq_pool_init(client->pool);
client           1874 sound/core/seq/seq_clientmgr.c 	if (client->type == USER_CLIENT && client->data.user.fifo != NULL &&
client           1877 sound/core/seq/seq_clientmgr.c 	    info->input_pool != client->data.user.fifo_pool_size) {
client           1879 sound/core/seq/seq_clientmgr.c 		rc = snd_seq_fifo_resize(client->data.user.fifo, info->input_pool);
client           1882 sound/core/seq/seq_clientmgr.c 		client->data.user.fifo_pool_size = info->input_pool;
client           1885 sound/core/seq/seq_clientmgr.c 	    info->output_room <= client->pool->size) {
client           1886 sound/core/seq/seq_clientmgr.c 		client->pool->room  = info->output_room;
client           1889 sound/core/seq/seq_clientmgr.c 	return snd_seq_ioctl_get_client_pool(client, arg);
client           1894 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_remove_events(struct snd_seq_client *client,
client           1907 sound/core/seq/seq_clientmgr.c 		if (client->type == USER_CLIENT && client->data.user.fifo)
client           1908 sound/core/seq/seq_clientmgr.c 			snd_seq_fifo_clear(client->data.user.fifo);
client           1912 sound/core/seq/seq_clientmgr.c 		snd_seq_queue_remove_cells(client->number, info);
client           1921 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_get_subscription(struct snd_seq_client *client,
client           1930 sound/core/seq/seq_clientmgr.c 	if ((sender = snd_seq_client_use_ptr(subs->sender.client)) == NULL)
client           1949 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_query_subs(struct snd_seq_client *client, void *arg)
client           1959 sound/core/seq/seq_clientmgr.c 	if ((cptr = snd_seq_client_use_ptr(subs->root.client)) == NULL)
client           2012 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_query_next_client(struct snd_seq_client *client,
client           2019 sound/core/seq/seq_clientmgr.c 	if (info->client < INT_MAX)
client           2020 sound/core/seq/seq_clientmgr.c 		info->client++;
client           2021 sound/core/seq/seq_clientmgr.c 	if (info->client < 0)
client           2022 sound/core/seq/seq_clientmgr.c 		info->client = 0;
client           2023 sound/core/seq/seq_clientmgr.c 	for (; info->client < SNDRV_SEQ_MAX_CLIENTS; info->client++) {
client           2024 sound/core/seq/seq_clientmgr.c 		cptr = snd_seq_client_use_ptr(info->client);
client           2040 sound/core/seq/seq_clientmgr.c static int snd_seq_ioctl_query_next_port(struct snd_seq_client *client,
client           2047 sound/core/seq/seq_clientmgr.c 	cptr = snd_seq_client_use_ptr(info->addr.client);
client           2072 sound/core/seq/seq_clientmgr.c 	int (*func)(struct snd_seq_client *client, void *arg);
client           2111 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client = file->private_data;
client           2134 sound/core/seq/seq_clientmgr.c 	if (snd_BUG_ON(!client))
client           2156 sound/core/seq/seq_clientmgr.c 	mutex_lock(&client->ioctl_mutex);
client           2157 sound/core/seq/seq_clientmgr.c 	err = handler->func(client, &buf);
client           2158 sound/core/seq/seq_clientmgr.c 	mutex_unlock(&client->ioctl_mutex);
client           2184 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client;
client           2205 sound/core/seq/seq_clientmgr.c 	client = seq_create_client1(client_index, 0);
client           2206 sound/core/seq/seq_clientmgr.c 	if (client == NULL) {
client           2212 sound/core/seq/seq_clientmgr.c 	client->accept_input = 1;
client           2213 sound/core/seq/seq_clientmgr.c 	client->accept_output = 1;
client           2214 sound/core/seq/seq_clientmgr.c 	client->data.kernel.card = card;
client           2217 sound/core/seq/seq_clientmgr.c 	vsnprintf(client->name, sizeof(client->name), name_fmt, args);
client           2220 sound/core/seq/seq_clientmgr.c 	client->type = KERNEL_CLIENT;
client           2224 sound/core/seq/seq_clientmgr.c 	snd_seq_system_client_ev_client_start(client->number);
client           2227 sound/core/seq/seq_clientmgr.c 	return client->number;
client           2232 sound/core/seq/seq_clientmgr.c int snd_seq_delete_kernel_client(int client)
client           2239 sound/core/seq/seq_clientmgr.c 	ptr = clientptr(client);
client           2254 sound/core/seq/seq_clientmgr.c int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event *ev,
client           2269 sound/core/seq/seq_clientmgr.c 	ev->source.client = client;
client           2274 sound/core/seq/seq_clientmgr.c 	cptr = snd_seq_client_use_ptr(client);
client           2300 sound/core/seq/seq_clientmgr.c int snd_seq_kernel_client_dispatch(int client, struct snd_seq_event * ev,
client           2311 sound/core/seq/seq_clientmgr.c 	ev->source.client = client;
client           2316 sound/core/seq/seq_clientmgr.c 	cptr = snd_seq_client_use_ptr(client);
client           2345 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client;
client           2347 sound/core/seq/seq_clientmgr.c 	client = clientptr(clientid);
client           2348 sound/core/seq/seq_clientmgr.c 	if (client == NULL)
client           2353 sound/core/seq/seq_clientmgr.c 			return handler->func(client, arg);
client           2365 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client;
client           2367 sound/core/seq/seq_clientmgr.c 	client = clientptr(clientid);
client           2368 sound/core/seq/seq_clientmgr.c 	if (client == NULL)
client           2371 sound/core/seq/seq_clientmgr.c 	if (! snd_seq_write_pool_allocated(client))
client           2373 sound/core/seq/seq_clientmgr.c 	if (snd_seq_pool_poll_wait(client->pool, file, wait))
client           2407 sound/core/seq/seq_clientmgr.c 			    is_src ? s->info.dest.client : s->info.sender.client,
client           2425 sound/core/seq/seq_clientmgr.c 				    struct snd_seq_client *client)
client           2429 sound/core/seq/seq_clientmgr.c 	mutex_lock(&client->ports_mutex);
client           2430 sound/core/seq/seq_clientmgr.c 	list_for_each_entry(p, &client->ports_list_head, list) {
client           2440 sound/core/seq/seq_clientmgr.c 	mutex_unlock(&client->ports_mutex);
client           2449 sound/core/seq/seq_clientmgr.c 	struct snd_seq_client *client;
client           2459 sound/core/seq/seq_clientmgr.c 		client = snd_seq_client_use_ptr(c);
client           2460 sound/core/seq/seq_clientmgr.c 		if (client == NULL)
client           2462 sound/core/seq/seq_clientmgr.c 		if (client->type == NO_CLIENT) {
client           2463 sound/core/seq/seq_clientmgr.c 			snd_seq_client_unlock(client);
client           2468 sound/core/seq/seq_clientmgr.c 			    c, client->name,
client           2469 sound/core/seq/seq_clientmgr.c 			    client->type == USER_CLIENT ? "User" : "Kernel");
client           2470 sound/core/seq/seq_clientmgr.c 		snd_seq_info_dump_ports(buffer, client);
client           2471 sound/core/seq/seq_clientmgr.c 		if (snd_seq_write_pool_allocated(client)) {
client           2473 sound/core/seq/seq_clientmgr.c 			snd_seq_info_pool(buffer, client->pool, "    ");
client           2475 sound/core/seq/seq_clientmgr.c 		if (client->type == USER_CLIENT && client->data.user.fifo &&
client           2476 sound/core/seq/seq_clientmgr.c 		    client->data.user.fifo->pool) {
client           2478 sound/core/seq/seq_clientmgr.c 			snd_seq_info_pool(buffer, client->data.user.fifo->pool, "    ");
client           2480 sound/core/seq/seq_clientmgr.c 		snd_seq_client_unlock(client);
client             76 sound/core/seq/seq_clientmgr.h #define snd_seq_client_unlock(client) snd_use_lock_free(&(client)->use_lock)
client             82 sound/core/seq/seq_clientmgr.h int snd_seq_client_notify_subscription(int client, int port,
client             31 sound/core/seq/seq_compat.c static int snd_seq_call_port_info_ioctl(struct snd_seq_client *client, unsigned int cmd,
client             47 sound/core/seq/seq_compat.c 	err = snd_seq_kernel_client_ctl(client->number, cmd, data);
client             76 sound/core/seq/seq_compat.c 	struct snd_seq_client *client = file->private_data;
client             79 sound/core/seq/seq_compat.c 	if (snd_BUG_ON(!client))
client            111 sound/core/seq/seq_compat.c 		return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_CREATE_PORT, argp);
client            113 sound/core/seq/seq_compat.c 		return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_DELETE_PORT, argp);
client            115 sound/core/seq/seq_compat.c 		return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_GET_PORT_INFO, argp);
client            117 sound/core/seq/seq_compat.c 		return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_SET_PORT_INFO, argp);
client            119 sound/core/seq/seq_compat.c 		return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT, argp);
client             62 sound/core/seq/seq_dummy.c 	int client;
client             81 sound/core/seq/seq_dummy.c 	if (ev->source.client == SNDRV_SEQ_CLIENT_SYSTEM ||
client             89 sound/core/seq/seq_dummy.c 	tmpev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS;
client             90 sound/core/seq/seq_dummy.c 	return snd_seq_kernel_client_dispatch(p->client, &tmpev, atomic, hop);
client            115 sound/core/seq/seq_dummy.c 	rec->client = my_client;
client            119 sound/core/seq/seq_dummy.c 	pinfo.addr.client = my_client;
client             88 sound/core/seq/seq_midi.c 			ev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS;
client            261 sound/core/seq/seq_midi.c 	struct seq_midisynth_client *client;
client            298 sound/core/seq/seq_midi.c 	client = synths[card->number];
client            299 sound/core/seq/seq_midi.c 	if (client == NULL) {
client            301 sound/core/seq/seq_midi.c 		client = kzalloc(sizeof(*client), GFP_KERNEL);
client            302 sound/core/seq/seq_midi.c 		if (client == NULL) {
client            307 sound/core/seq/seq_midi.c 		client->seq_client =
client            311 sound/core/seq/seq_midi.c 		if (client->seq_client < 0) {
client            312 sound/core/seq/seq_midi.c 			kfree(client);
client            332 sound/core/seq/seq_midi.c 		port->addr.client = client->seq_client;
client            380 sound/core/seq/seq_midi.c 		if (snd_seq_kernel_client_ctl(client->seq_client, SNDRV_SEQ_IOCTL_CREATE_PORT, port)<0)
client            382 sound/core/seq/seq_midi.c 		ms->seq_client = client->seq_client;
client            385 sound/core/seq/seq_midi.c 	client->ports_per_device[device] = ports;
client            386 sound/core/seq/seq_midi.c 	client->ports[device] = msynth;
client            387 sound/core/seq/seq_midi.c 	client->num_ports++;
client            389 sound/core/seq/seq_midi.c 		synths[card->number] = client;
client            402 sound/core/seq/seq_midi.c 		snd_seq_delete_kernel_client(client->seq_client);
client            403 sound/core/seq/seq_midi.c 		kfree(client);
client            416 sound/core/seq/seq_midi.c 	struct seq_midisynth_client *client;
client            422 sound/core/seq/seq_midi.c 	client = synths[card->number];
client            423 sound/core/seq/seq_midi.c 	if (client == NULL || client->ports[device] == NULL) {
client            427 sound/core/seq/seq_midi.c 	ports = client->ports_per_device[device];
client            428 sound/core/seq/seq_midi.c 	client->ports_per_device[device] = 0;
client            429 sound/core/seq/seq_midi.c 	msynth = client->ports[device];
client            430 sound/core/seq/seq_midi.c 	client->ports[device] = NULL;
client            434 sound/core/seq/seq_midi.c 	client->num_ports--;
client            435 sound/core/seq/seq_midi.c 	if (client->num_ports <= 0) {
client            436 sound/core/seq/seq_midi.c 		snd_seq_delete_kernel_client(client->seq_client);
client            438 sound/core/seq/seq_midi.c 		kfree(client);
client             44 sound/core/seq/seq_ports.c struct snd_seq_client_port *snd_seq_port_use_ptr(struct snd_seq_client *client,
client             49 sound/core/seq/seq_ports.c 	if (client == NULL)
client             51 sound/core/seq/seq_ports.c 	read_lock(&client->ports_lock);
client             52 sound/core/seq/seq_ports.c 	list_for_each_entry(port, &client->ports_list_head, list) {
client             57 sound/core/seq/seq_ports.c 			read_unlock(&client->ports_lock);
client             61 sound/core/seq/seq_ports.c 	read_unlock(&client->ports_lock);
client             67 sound/core/seq/seq_ports.c struct snd_seq_client_port *snd_seq_port_query_nearest(struct snd_seq_client *client,
client             75 sound/core/seq/seq_ports.c 	read_lock(&client->ports_lock);
client             76 sound/core/seq/seq_ports.c 	list_for_each_entry(port, &client->ports_list_head, list) {
client             92 sound/core/seq/seq_ports.c 	read_unlock(&client->ports_lock);
client            113 sound/core/seq/seq_ports.c struct snd_seq_client_port *snd_seq_create_port(struct snd_seq_client *client,
client            120 sound/core/seq/seq_ports.c 	if (snd_BUG_ON(!client))
client            123 sound/core/seq/seq_ports.c 	if (client->num_ports >= SNDRV_SEQ_MAX_PORTS) {
client            124 sound/core/seq/seq_ports.c 		pr_warn("ALSA: seq: too many ports for client %d\n", client->number);
client            133 sound/core/seq/seq_ports.c 	new_port->addr.client = client->number;
client            143 sound/core/seq/seq_ports.c 	mutex_lock(&client->ports_mutex);
client            144 sound/core/seq/seq_ports.c 	write_lock_irq(&client->ports_lock);
client            145 sound/core/seq/seq_ports.c 	list_for_each_entry(p, &client->ports_list_head, list) {
client            153 sound/core/seq/seq_ports.c 	client->num_ports++;
client            156 sound/core/seq/seq_ports.c 	write_unlock_irq(&client->ports_lock);
client            157 sound/core/seq/seq_ports.c 	mutex_unlock(&client->ports_mutex);
client            163 sound/core/seq/seq_ports.c static int subscribe_port(struct snd_seq_client *client,
client            167 sound/core/seq/seq_ports.c static int unsubscribe_port(struct snd_seq_client *client,
client            177 sound/core/seq/seq_ports.c 	*cp = snd_seq_client_use_ptr(addr->client);
client            189 sound/core/seq/seq_ports.c static void delete_and_unsubscribe_port(struct snd_seq_client *client,
client            207 sound/core/seq/seq_ports.c static void clear_subscriber_list(struct snd_seq_client *client,
client            224 sound/core/seq/seq_ports.c 		delete_and_unsubscribe_port(client, port, subs, is_src, false);
client            245 sound/core/seq/seq_ports.c static int port_delete(struct snd_seq_client *client,
client            253 sound/core/seq/seq_ports.c 	clear_subscriber_list(client, port, &port->c_src, true);
client            254 sound/core/seq/seq_ports.c 	clear_subscriber_list(client, port, &port->c_dest, false);
client            268 sound/core/seq/seq_ports.c int snd_seq_delete_port(struct snd_seq_client *client, int port)
client            272 sound/core/seq/seq_ports.c 	mutex_lock(&client->ports_mutex);
client            273 sound/core/seq/seq_ports.c 	write_lock_irq(&client->ports_lock);
client            274 sound/core/seq/seq_ports.c 	list_for_each_entry(p, &client->ports_list_head, list) {
client            278 sound/core/seq/seq_ports.c 			client->num_ports--;
client            283 sound/core/seq/seq_ports.c 	write_unlock_irq(&client->ports_lock);
client            284 sound/core/seq/seq_ports.c 	mutex_unlock(&client->ports_mutex);
client            286 sound/core/seq/seq_ports.c 		return port_delete(client, found);
client            292 sound/core/seq/seq_ports.c int snd_seq_delete_all_ports(struct snd_seq_client *client)
client            300 sound/core/seq/seq_ports.c 	mutex_lock(&client->ports_mutex);
client            301 sound/core/seq/seq_ports.c 	write_lock_irq(&client->ports_lock);
client            302 sound/core/seq/seq_ports.c 	if (! list_empty(&client->ports_list_head)) {
client            303 sound/core/seq/seq_ports.c 		list_add(&deleted_list, &client->ports_list_head);
client            304 sound/core/seq/seq_ports.c 		list_del_init(&client->ports_list_head);
client            308 sound/core/seq/seq_ports.c 	client->num_ports = 0;
client            309 sound/core/seq/seq_ports.c 	write_unlock_irq(&client->ports_lock);
client            314 sound/core/seq/seq_ports.c 		snd_seq_system_client_ev_port_exit(port->addr.client, port->addr.port);
client            315 sound/core/seq/seq_ports.c 		port_delete(client, port);
client            317 sound/core/seq/seq_ports.c 	mutex_unlock(&client->ports_mutex);
client            400 sound/core/seq/seq_ports.c static int subscribe_port(struct snd_seq_client *client,
client            418 sound/core/seq/seq_ports.c 	if (err >= 0 && send_ack && client->type == USER_CLIENT)
client            419 sound/core/seq/seq_ports.c 		snd_seq_client_notify_subscription(port->addr.client, port->addr.port,
client            425 sound/core/seq/seq_ports.c static int unsubscribe_port(struct snd_seq_client *client,
client            438 sound/core/seq/seq_ports.c 	if (send_ack && client->type == USER_CLIENT)
client            439 sound/core/seq/seq_ports.c 		snd_seq_client_notify_subscription(port->addr.client, port->addr.port,
client            450 sound/core/seq/seq_ports.c 	return (r->client == s->client) && (r->port == s->port);
client            468 sound/core/seq/seq_ports.c static int check_and_subscribe_port(struct snd_seq_client *client,
client            495 sound/core/seq/seq_ports.c 	err = subscribe_port(client, port, grp, &subs->info, ack);
client            517 sound/core/seq/seq_ports.c static void delete_and_unsubscribe_port(struct snd_seq_client *client,
client            537 sound/core/seq/seq_ports.c 		unsubscribe_port(client, port, grp, &subs->info, ack);
client            646 sound/core/seq/seq_ports.c int snd_seq_event_port_attach(int client,
client            656 sound/core/seq/seq_ports.c 	portinfo.addr.client = client;
client            667 sound/core/seq/seq_ports.c 	ret = snd_seq_kernel_client_ctl(client,
client            682 sound/core/seq/seq_ports.c int snd_seq_event_port_detach(int client, int port)
client            688 sound/core/seq/seq_ports.c 	portinfo.addr.client = client;
client            690 sound/core/seq/seq_ports.c 	err = snd_seq_kernel_client_ctl(client,
client             80 sound/core/seq/seq_ports.h struct snd_seq_client_port *snd_seq_port_use_ptr(struct snd_seq_client *client, int num);
client             83 sound/core/seq/seq_ports.h struct snd_seq_client_port *snd_seq_port_query_nearest(struct snd_seq_client *client,
client             90 sound/core/seq/seq_ports.h struct snd_seq_client_port *snd_seq_create_port(struct snd_seq_client *client, int port_index);
client             93 sound/core/seq/seq_ports.h int snd_seq_delete_port(struct snd_seq_client *client, int port);
client             96 sound/core/seq/seq_ports.h int snd_seq_delete_all_ports(struct snd_seq_client *client);
client            253 sound/core/seq/seq_prioq.c 			      int client, int timestamp)
client            255 sound/core/seq/seq_prioq.c 	if (cell->event.source.client == client ||
client            256 sound/core/seq/seq_prioq.c 	    cell->event.dest.client == client)
client            275 sound/core/seq/seq_prioq.c void snd_seq_prioq_leave(struct snd_seq_prioq * f, int client, int timestamp)
client            287 sound/core/seq/seq_prioq.c 		if (prioq_match(cell, client, timestamp)) {
client            310 sound/core/seq/seq_prioq.c 				cell->event.source.client,
client            311 sound/core/seq/seq_prioq.c 				cell->event.dest.client,
client            312 sound/core/seq/seq_prioq.c 				client);
client            334 sound/core/seq/seq_prioq.c 		if (ev->dest.client != info->dest.client ||
client            384 sound/core/seq/seq_prioq.c void snd_seq_prioq_remove_events(struct snd_seq_prioq * f, int client,
client            398 sound/core/seq/seq_prioq.c 		if (cell->event.source.client == client &&
client             39 sound/core/seq/seq_prioq.h void snd_seq_prioq_leave(struct snd_seq_prioq *f, int client, int timestamp);        
client             42 sound/core/seq/seq_prioq.h void snd_seq_prioq_remove_events(struct snd_seq_prioq *f, int client,
client             69 sound/core/seq/seq_queue.c static struct snd_seq_queue *queue_list_remove(int id, int client)
client             78 sound/core/seq/seq_queue.c 		if (q->owner == client) {
client            161 sound/core/seq/seq_queue.c static void queue_use(struct snd_seq_queue *queue, int client, int use);
client            168 sound/core/seq/seq_queue.c struct snd_seq_queue *snd_seq_queue_alloc(int client, int locked, unsigned int info_flags)
client            172 sound/core/seq/seq_queue.c 	q = queue_new(client, locked);
client            176 sound/core/seq/seq_queue.c 	queue_use(q, client, 1);
client            187 sound/core/seq/seq_queue.c int snd_seq_queue_delete(int client, int queueid)
client            193 sound/core/seq/seq_queue.c 	q = queue_list_remove(queueid, client);
client            343 sound/core/seq/seq_queue.c static inline int check_access(struct snd_seq_queue *q, int client)
client            345 sound/core/seq/seq_queue.c 	return (q->owner == client) || (!q->locked && !q->klocked);
client            351 sound/core/seq/seq_queue.c static int queue_access_lock(struct snd_seq_queue *q, int client)
client            357 sound/core/seq/seq_queue.c 	access_ok = check_access(q, client);
client            375 sound/core/seq/seq_queue.c int snd_seq_queue_check_access(int queueid, int client)
client            384 sound/core/seq/seq_queue.c 	access_ok = check_access(q, client);
client            395 sound/core/seq/seq_queue.c int snd_seq_queue_set_owner(int queueid, int client, int locked)
client            403 sound/core/seq/seq_queue.c 	if (! queue_access_lock(q, client)) {
client            410 sound/core/seq/seq_queue.c 	q->owner = client;
client            460 sound/core/seq/seq_queue.c int snd_seq_queue_timer_set_tempo(int queueid, int client,
client            468 sound/core/seq/seq_queue.c 	if (! queue_access_lock(q, client)) {
client            483 sound/core/seq/seq_queue.c static void queue_use(struct snd_seq_queue *queue, int client, int use)
client            486 sound/core/seq/seq_queue.c 		if (!test_and_set_bit(client, queue->clients_bitmap))
client            489 sound/core/seq/seq_queue.c 		if (test_and_clear_bit(client, queue->clients_bitmap))
client            505 sound/core/seq/seq_queue.c int snd_seq_queue_use(int queueid, int client, int use)
client            513 sound/core/seq/seq_queue.c 	queue_use(queue, client, use);
client            524 sound/core/seq/seq_queue.c int snd_seq_queue_is_used(int queueid, int client)
client            532 sound/core/seq/seq_queue.c 	result = test_bit(client, q->clients_bitmap) ? 1 : 0;
client            543 sound/core/seq/seq_queue.c void snd_seq_queue_client_termination(int client)
client            554 sound/core/seq/seq_queue.c 		matched = (q->owner == client);
client            571 sound/core/seq/seq_queue.c void snd_seq_queue_client_leave(int client)
client            578 sound/core/seq/seq_queue.c 		if ((q = queue_list_remove(i, client)) != NULL)
client            588 sound/core/seq/seq_queue.c 		if (test_bit(client, q->clients_bitmap)) {
client            589 sound/core/seq/seq_queue.c 			snd_seq_prioq_leave(q->tickq, client, 0);
client            590 sound/core/seq/seq_queue.c 			snd_seq_prioq_leave(q->timeq, client, 0);
client            591 sound/core/seq/seq_queue.c 			snd_seq_queue_use(q->queue, client, 0);
client            602 sound/core/seq/seq_queue.c void snd_seq_queue_client_leave_cells(int client)
client            610 sound/core/seq/seq_queue.c 		snd_seq_prioq_leave(q->tickq, client, 0);
client            611 sound/core/seq/seq_queue.c 		snd_seq_prioq_leave(q->timeq, client, 0);
client            617 sound/core/seq/seq_queue.c void snd_seq_queue_remove_cells(int client, struct snd_seq_remove_events *info)
client            625 sound/core/seq/seq_queue.c 		if (test_bit(client, q->clients_bitmap) &&
client            628 sound/core/seq/seq_queue.c 			snd_seq_prioq_remove_events(q->tickq, client, info);
client            629 sound/core/seq/seq_queue.c 			snd_seq_prioq_remove_events(q->timeq, client, info);
client            653 sound/core/seq/seq_queue.c 	sev.source.client = SNDRV_SEQ_CLIENT_SYSTEM;
client            655 sound/core/seq/seq_queue.c 	sev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS;
client            669 sound/core/seq/seq_queue.c 		snd_seq_prioq_leave(q->tickq, ev->source.client, 1);
client            670 sound/core/seq/seq_queue.c 		snd_seq_prioq_leave(q->timeq, ev->source.client, 1);
client            727 sound/core/seq/seq_queue.c 	if (! queue_access_lock(q, ev->source.client)) {
client             57 sound/core/seq/seq_queue.h struct snd_seq_queue *snd_seq_queue_alloc(int client, int locked, unsigned int flags);
client             60 sound/core/seq/seq_queue.h int snd_seq_queue_delete(int client, int queueid);
client             63 sound/core/seq/seq_queue.h void snd_seq_queue_client_termination(int client);
client             66 sound/core/seq/seq_queue.h void snd_seq_queue_client_leave(int client);
client             72 sound/core/seq/seq_queue.h void snd_seq_queue_client_leave_cells(int client);
client             73 sound/core/seq/seq_queue.h void snd_seq_queue_remove_cells(int client, struct snd_seq_remove_events *info);
client             87 sound/core/seq/seq_queue.h int snd_seq_queue_check_access(int queueid, int client);
client             88 sound/core/seq/seq_queue.h int snd_seq_queue_timer_set_tempo(int queueid, int client, struct snd_seq_queue_tempo *info);
client             89 sound/core/seq/seq_queue.h int snd_seq_queue_set_owner(int queueid, int client, int locked);
client             90 sound/core/seq/seq_queue.h int snd_seq_queue_set_locked(int queueid, int client, int locked);
client             93 sound/core/seq/seq_queue.h int snd_seq_queue_use(int queueid, int client, int use);
client             94 sound/core/seq/seq_queue.h int snd_seq_queue_is_used(int queueid, int client);
client             55 sound/core/seq/seq_system.c static int setheader(struct snd_seq_event * ev, int client, int port)
client             65 sound/core/seq/seq_system.c 	ev->source.client = sysclient;
client             67 sound/core/seq/seq_system.c 	ev->dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS;
client             71 sound/core/seq/seq_system.c 	ev->data.addr.client = client;
client             79 sound/core/seq/seq_system.c void snd_seq_system_broadcast(int client, int port, int type)
client             83 sound/core/seq/seq_system.c 	if (setheader(&ev, client, port) < 0)
client             90 sound/core/seq/seq_system.c int snd_seq_system_notify(int client, int port, struct snd_seq_event *ev)
client             93 sound/core/seq/seq_system.c 	ev->source.client = sysclient;
client             95 sound/core/seq/seq_system.c 	ev->dest.client = client;
client            135 sound/core/seq/seq_system.c 	port->addr.client = sysclient;
client            148 sound/core/seq/seq_system.c 	port->addr.client = sysclient;
client             13 sound/core/seq/seq_system.h void snd_seq_system_broadcast(int client, int port, int type);
client             15 sound/core/seq/seq_system.h #define snd_seq_system_client_ev_client_start(client) snd_seq_system_broadcast(client, 0, SNDRV_SEQ_EVENT_CLIENT_START)
client             16 sound/core/seq/seq_system.h #define snd_seq_system_client_ev_client_exit(client) snd_seq_system_broadcast(client, 0, SNDRV_SEQ_EVENT_CLIENT_EXIT)
client             17 sound/core/seq/seq_system.h #define snd_seq_system_client_ev_client_change(client) snd_seq_system_broadcast(client, 0, SNDRV_SEQ_EVENT_CLIENT_CHANGE)
client             18 sound/core/seq/seq_system.h #define snd_seq_system_client_ev_port_start(client, port) snd_seq_system_broadcast(client, port, SNDRV_SEQ_EVENT_PORT_START)
client             19 sound/core/seq/seq_system.h #define snd_seq_system_client_ev_port_exit(client, port) snd_seq_system_broadcast(client, port, SNDRV_SEQ_EVENT_PORT_EXIT)
client             20 sound/core/seq/seq_system.h #define snd_seq_system_client_ev_port_change(client, port) snd_seq_system_broadcast(client, port, SNDRV_SEQ_EVENT_PORT_CHANGE)
client             22 sound/core/seq/seq_system.h int snd_seq_system_notify(int client, int port, struct snd_seq_event *ev);
client             51 sound/core/seq/seq_virmidi.c 		ev->dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS;
client             55 sound/core/seq/seq_virmidi.c 		ev->dest.client = vmidi->client;
client            150 sound/core/seq/seq_virmidi.c 			ret = snd_seq_kernel_client_dispatch(vmidi->client,
client            192 sound/core/seq/seq_virmidi.c 	vmidi->client = rdev->client;
client            222 sound/core/seq/seq_virmidi.c 	vmidi->client = rdev->client;
client            346 sound/core/seq/seq_virmidi.c 	int client;
client            351 sound/core/seq/seq_virmidi.c 	if (rdev->client >= 0)
client            360 sound/core/seq/seq_virmidi.c 	client = snd_seq_create_kernel_client(rdev->card, rdev->device,
client            364 sound/core/seq/seq_virmidi.c 	if (client < 0) {
client            365 sound/core/seq/seq_virmidi.c 		err = client;
client            368 sound/core/seq/seq_virmidi.c 	rdev->client = client;
client            371 sound/core/seq/seq_virmidi.c 	pinfo->addr.client = client;
client            390 sound/core/seq/seq_virmidi.c 	err = snd_seq_kernel_client_ctl(client, SNDRV_SEQ_IOCTL_CREATE_PORT, pinfo);
client            392 sound/core/seq/seq_virmidi.c 		snd_seq_delete_kernel_client(client);
client            393 sound/core/seq/seq_virmidi.c 		rdev->client = -1;
client            411 sound/core/seq/seq_virmidi.c 	if (rdev->client >= 0) {
client            412 sound/core/seq/seq_virmidi.c 		snd_seq_delete_kernel_client(rdev->client);
client            413 sound/core/seq/seq_virmidi.c 		rdev->client = -1;
client            432 sound/core/seq/seq_virmidi.c 		if (rdev->client == 0)
client            499 sound/core/seq/seq_virmidi.c 	rdev->client = -1;
client             69 sound/drivers/opl3/opl3_oss.c 	opl3->oss_chset->client = opl3->seq_client;
client            144 sound/drivers/opl3/opl3_oss.c 	arg->addr.client = opl3->oss_chset->client;
client            109 sound/drivers/opl3/opl3_seq.c 	if (info->sender.client != SNDRV_SEQ_CLIENT_SYSTEM) {
client            123 sound/drivers/opl3/opl3_seq.c 	if (info->sender.client != SNDRV_SEQ_CLIENT_SYSTEM)
client            183 sound/drivers/opl3/opl3_seq.c 	opl3->chset->client = opl3->seq_client;
client            209 sound/drivers/opl3/opl3_seq.c 	int client, err;
client            224 sound/drivers/opl3/opl3_seq.c 	client = opl3->seq_client =
client            227 sound/drivers/opl3/opl3_seq.c 	if (client < 0)
client            228 sound/drivers/opl3/opl3_seq.c 		return client;
client            231 sound/drivers/opl3/opl3_seq.c 		snd_seq_delete_kernel_client(client);
client             74 sound/drivers/opl4/opl4_seq.c 	if (info->sender.client != SNDRV_SEQ_CLIENT_SYSTEM) {
client             98 sound/drivers/opl4/opl4_seq.c 	if (info->sender.client != SNDRV_SEQ_CLIENT_SYSTEM)
client            131 sound/drivers/opl4/opl4_seq.c 	int client;
client            147 sound/drivers/opl4/opl4_seq.c 	client = snd_seq_create_kernel_client(opl4->card, opl4->seq_dev_num,
client            149 sound/drivers/opl4/opl4_seq.c 	if (client < 0) {
client            151 sound/drivers/opl4/opl4_seq.c 		return client;
client            153 sound/drivers/opl4/opl4_seq.c 	opl4->seq_client = client;
client            154 sound/drivers/opl4/opl4_seq.c 	opl4->chset->client = client;
client            165 sound/drivers/opl4/opl4_seq.c 	opl4->chset->port = snd_seq_event_port_attach(client, &pcallbacks,
client            177 sound/drivers/opl4/opl4_seq.c 		snd_seq_delete_kernel_client(client);
client            221 sound/isa/gus/gus_reset.c 				    int type, int client, int port)
client            231 sound/isa/gus/gus_reset.c 		pvoice->client = client;
client            236 sound/isa/gus/gus_reset.c 		pvoice->client = client;
client            242 sound/isa/gus/gus_reset.c struct snd_gus_voice *snd_gf1_alloc_voice(struct snd_gus_card * gus, int type, int client, int port)
client            258 sound/isa/gus/gus_reset.c 			snd_gf1_alloc_voice_use(gus, pvoice, type, client, port);
client            265 sound/isa/gus/gus_reset.c 		if (pvoice->midi && !pvoice->client) {
client            267 sound/isa/gus/gus_reset.c 			snd_gf1_alloc_voice_use(gus, pvoice, type, client, port);
client            242 sound/pci/trident/trident.h 	int client;		/* sequencer client number */
client            267 sound/pci/trident/trident.h 	unsigned char client;
client            413 sound/pci/trident/trident.h 					     int client, int port);
client           3800 sound/pci/trident/trident_main.c struct snd_trident_voice *snd_trident_alloc_voice(struct snd_trident * trident, int type, int client, int port)
client           3832 sound/pci/trident/trident_main.c 		pvoice->client = client;
client             44 sound/ppc/daca.c 	if (i2c_smbus_write_byte_data(i2c->client, DACA_REG_SR, 0x08) < 0 ||
client             45 sound/ppc/daca.c 	    i2c_smbus_write_byte_data(i2c->client, DACA_REG_GCFG, 0x05) < 0)
client             47 sound/ppc/daca.c 	return i2c_smbus_write_block_data(i2c->client, DACA_REG_AVOL,
client             58 sound/ppc/daca.c 	if (! mix->i2c.client)
client             70 sound/ppc/daca.c 	if (i2c_smbus_write_block_data(mix->i2c.client, DACA_REG_AVOL,
client            183 sound/ppc/daca.c 		i2c_smbus_write_byte_data(mix->i2c.client, DACA_REG_GCFG,
client            215 sound/ppc/daca.c 	i2c_smbus_write_byte_data(mix->i2c.client, DACA_REG_SR, 0x08);
client            216 sound/ppc/daca.c 	i2c_smbus_write_byte_data(mix->i2c.client, DACA_REG_GCFG,
client             24 sound/ppc/keywest.c static int keywest_probe(struct i2c_client *client,
client             29 sound/ppc/keywest.c 	if (!keywest_ctx->client)
client             30 sound/ppc/keywest.c 		keywest_ctx->client = client;
client             31 sound/ppc/keywest.c 	i2c_set_clientdata(client, keywest_ctx);
client             53 sound/ppc/keywest.c 	keywest_ctx->client = i2c_new_device(adapter, &info);
client             54 sound/ppc/keywest.c 	if (!keywest_ctx->client)
client             61 sound/ppc/keywest.c 	if (!keywest_ctx->client->dev.driver) {
client             62 sound/ppc/keywest.c 		i2c_unregister_device(keywest_ctx->client);
client             63 sound/ppc/keywest.c 		keywest_ctx->client = NULL;
client             71 sound/ppc/keywest.c 	list_add_tail(&keywest_ctx->client->detected,
client             72 sound/ppc/keywest.c 		      &to_i2c_driver(keywest_ctx->client->dev.driver)->clients);
client             76 sound/ppc/keywest.c static int keywest_remove(struct i2c_client *client)
client             80 sound/ppc/keywest.c 	if (client == keywest_ctx->client)
client             81 sound/ppc/keywest.c 		keywest_ctx->client = NULL;
client            116 sound/ppc/keywest.c 	if (!keywest_ctx || !keywest_ctx->client)
client            182 sound/ppc/pmac.h 	struct i2c_client *client;
client            114 sound/ppc/tumbler.c 			err = i2c_smbus_write_byte_data(i2c->client,
client            203 sound/ppc/tumbler.c 	if (! mix->i2c.client)
client            231 sound/ppc/tumbler.c 	if (i2c_smbus_write_i2c_block_data(mix->i2c.client, TAS_REG_VOL, 6,
client            326 sound/ppc/tumbler.c 	if (! mix->i2c.client)
client            342 sound/ppc/tumbler.c 	if (i2c_smbus_write_i2c_block_data(mix->i2c.client, TAS_REG_DRC,
client            361 sound/ppc/tumbler.c 	if (! mix->i2c.client)
client            379 sound/ppc/tumbler.c 	if (i2c_smbus_write_i2c_block_data(mix->i2c.client, TAS_REG_DRC,
client            491 sound/ppc/tumbler.c 	if (! mix->i2c.client)
client            500 sound/ppc/tumbler.c 	if (i2c_smbus_write_i2c_block_data(mix->i2c.client, info->reg,
client            638 sound/ppc/tumbler.c 	if (i2c_smbus_write_i2c_block_data(mix->i2c.client, reg,
client            648 sound/ppc/tumbler.c 	if (! mix->i2c.client)
client            772 sound/ppc/tumbler.c 	if (! mix->i2c.client)
client            778 sound/ppc/tumbler.c 	return i2c_smbus_write_byte_data(mix->i2c.client, TAS_REG_ACS, mix->acs);
client           1205 sound/ppc/tumbler.c 		i2c_smbus_write_byte_data(mix->i2c.client, TAS_REG_ACS, mix->acs);
client           1225 sound/ppc/tumbler.c 	if (mix->i2c.client && mix->i2c.init_client) {
client           1362 sound/soc/codecs/88pm860x-codec.c 	pm860x->i2c = (chip->id == CHIP_PM8607) ? chip->client
client             23 sound/soc/codecs/ad193x-i2c.c static int ad193x_i2c_probe(struct i2c_client *client,
client             32 sound/soc/codecs/ad193x-i2c.c 	return ad193x_probe(&client->dev,
client             33 sound/soc/codecs/ad193x-i2c.c 			    devm_regmap_init_i2c(client, &config),
client           1476 sound/soc/codecs/adau1373.c static int adau1373_i2c_probe(struct i2c_client *client,
client           1482 sound/soc/codecs/adau1373.c 	adau1373 = devm_kzalloc(&client->dev, sizeof(*adau1373), GFP_KERNEL);
client           1486 sound/soc/codecs/adau1373.c 	adau1373->regmap = devm_regmap_init_i2c(client,
client           1493 sound/soc/codecs/adau1373.c 	dev_set_drvdata(&client->dev, adau1373);
client           1495 sound/soc/codecs/adau1373.c 	ret = devm_snd_soc_register_component(&client->dev,
client            115 sound/soc/codecs/adau1701.c 	struct i2c_client *client;
client            186 sound/soc/codecs/adau1701.c 	struct i2c_client *client = context;
client            192 sound/soc/codecs/adau1701.c 	size = adau1701_register_size(&client->dev, reg);
client            204 sound/soc/codecs/adau1701.c 	ret = i2c_master_send(client, buf, size + 2);
client            220 sound/soc/codecs/adau1701.c 	struct i2c_client *client = context;
client            223 sound/soc/codecs/adau1701.c 	size = adau1701_register_size(&client->dev, reg);
client            230 sound/soc/codecs/adau1701.c 	msgs[0].addr = client->addr;
client            235 sound/soc/codecs/adau1701.c 	msgs[1].addr = client->addr;
client            240 sound/soc/codecs/adau1701.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            259 sound/soc/codecs/adau1701.c 	struct i2c_client *client = to_i2c_client(sigmadsp->dev);
client            260 sound/soc/codecs/adau1701.c 	struct adau1701 *adau1701 = i2c_get_clientdata(client);
client            277 sound/soc/codecs/adau1701.c 		ret = i2c_master_send(client, buf, 7);
client            285 sound/soc/codecs/adau1701.c 		ret = i2c_master_send(client, buf, 4);
client            785 sound/soc/codecs/adau1701.c static int adau1701_i2c_probe(struct i2c_client *client,
client            789 sound/soc/codecs/adau1701.c 	struct device *dev = &client->dev;
client            815 sound/soc/codecs/adau1701.c 	adau1701->client = client;
client            816 sound/soc/codecs/adau1701.c 	adau1701->regmap = devm_regmap_init(dev, NULL, client,
client            879 sound/soc/codecs/adau1701.c 	i2c_set_clientdata(client, adau1701);
client            881 sound/soc/codecs/adau1701.c 	adau1701->sigmadsp = devm_sigmadsp_init_i2c(client,
client            888 sound/soc/codecs/adau1701.c 	ret = devm_snd_soc_register_component(&client->dev,
client             17 sound/soc/codecs/adau1761-i2c.c static int adau1761_i2c_probe(struct i2c_client *client,
client             26 sound/soc/codecs/adau1761-i2c.c 	return adau1761_probe(&client->dev,
client             27 sound/soc/codecs/adau1761-i2c.c 		devm_regmap_init_i2c(client, &config),
client             31 sound/soc/codecs/adau1761-i2c.c static int adau1761_i2c_remove(struct i2c_client *client)
client             33 sound/soc/codecs/adau1761-i2c.c 	adau17x1_remove(&client->dev);
client             17 sound/soc/codecs/adau1781-i2c.c static int adau1781_i2c_probe(struct i2c_client *client,
client             26 sound/soc/codecs/adau1781-i2c.c 	return adau1781_probe(&client->dev,
client             27 sound/soc/codecs/adau1781-i2c.c 		devm_regmap_init_i2c(client, &config),
client             31 sound/soc/codecs/adau1781-i2c.c static int adau1781_i2c_remove(struct i2c_client *client)
client             33 sound/soc/codecs/adau1781-i2c.c 	adau17x1_remove(&client->dev);
client             17 sound/soc/codecs/adau1977-i2c.c static int adau1977_i2c_probe(struct i2c_client *client,
client             26 sound/soc/codecs/adau1977-i2c.c 	return adau1977_probe(&client->dev,
client             27 sound/soc/codecs/adau1977-i2c.c 		devm_regmap_init_i2c(client, &config),
client             22 sound/soc/codecs/adav803.c static int adav803_probe(struct i2c_client *client,
client             25 sound/soc/codecs/adav803.c 	return adav80x_bus_probe(&client->dev,
client             26 sound/soc/codecs/adav803.c 		devm_regmap_init_i2c(client, &adav80x_regmap_config));
client            681 sound/soc/codecs/ak4613.c static int ak4613_i2c_remove(struct i2c_client *client)
client            632 sound/soc/codecs/ak4671.c static int ak4671_i2c_probe(struct i2c_client *client,
client            638 sound/soc/codecs/ak4671.c 	regmap = devm_regmap_init_i2c(client, &ak4671_regmap);
client            641 sound/soc/codecs/ak4671.c 		dev_err(&client->dev, "Failed to create regmap: %d\n", ret);
client            645 sound/soc/codecs/ak4671.c 	ret = devm_snd_soc_register_component(&client->dev,
client            976 sound/soc/codecs/alc5623.c static int alc5623_i2c_probe(struct i2c_client *client,
client            986 sound/soc/codecs/alc5623.c 	alc5623 = devm_kzalloc(&client->dev, sizeof(struct alc5623_priv),
client            991 sound/soc/codecs/alc5623.c 	alc5623->regmap = devm_regmap_init_i2c(client, &alc5623_regmap);
client            994 sound/soc/codecs/alc5623.c 		dev_err(&client->dev, "Failed to initialise I/O: %d\n", ret);
client           1000 sound/soc/codecs/alc5623.c 		dev_err(&client->dev, "failed to read vendor ID1: %d\n", ret);
client           1006 sound/soc/codecs/alc5623.c 		dev_err(&client->dev, "failed to read vendor ID2: %d\n", ret);
client           1012 sound/soc/codecs/alc5623.c 		dev_err(&client->dev, "unknown or wrong codec\n");
client           1013 sound/soc/codecs/alc5623.c 		dev_err(&client->dev, "Expected %x:%lx, got %x:%x\n",
client           1019 sound/soc/codecs/alc5623.c 	dev_dbg(&client->dev, "Found codec id : alc56%02x\n", vid2);
client           1021 sound/soc/codecs/alc5623.c 	pdata = client->dev.platform_data;
client           1026 sound/soc/codecs/alc5623.c 		if (client->dev.of_node) {
client           1027 sound/soc/codecs/alc5623.c 			np = client->dev.of_node;
client           1052 sound/soc/codecs/alc5623.c 	i2c_set_clientdata(client, alc5623);
client           1054 sound/soc/codecs/alc5623.c 	ret =  devm_snd_soc_register_component(&client->dev,
client           1057 sound/soc/codecs/alc5623.c 		dev_err(&client->dev, "Failed to register codec: %d\n", ret);
client           1100 sound/soc/codecs/alc5632.c static int alc5632_i2c_probe(struct i2c_client *client,
client           1107 sound/soc/codecs/alc5632.c 	alc5632 = devm_kzalloc(&client->dev,
client           1112 sound/soc/codecs/alc5632.c 	i2c_set_clientdata(client, alc5632);
client           1114 sound/soc/codecs/alc5632.c 	alc5632->regmap = devm_regmap_init_i2c(client, &alc5632_regmap);
client           1117 sound/soc/codecs/alc5632.c 		dev_err(&client->dev, "regmap_init() failed: %d\n", ret);
client           1124 sound/soc/codecs/alc5632.c 		dev_err(&client->dev,
client           1132 sound/soc/codecs/alc5632.c 		dev_err(&client->dev,
client           1139 sound/soc/codecs/alc5632.c 		dev_err(&client->dev, "Failed to issue reset\n");
client           1152 sound/soc/codecs/alc5632.c 	ret = devm_snd_soc_register_component(&client->dev,
client           1156 sound/soc/codecs/alc5632.c 		dev_err(&client->dev, "Failed to register component: %d\n", ret);
client           1251 sound/soc/codecs/cs35l33.c static int cs35l33_i2c_remove(struct i2c_client *client)
client           1253 sound/soc/codecs/cs35l33.c 	struct cs35l33_private *cs35l33 = i2c_get_clientdata(client);
client           1257 sound/soc/codecs/cs35l33.c 	pm_runtime_disable(&client->dev);
client           1125 sound/soc/codecs/cs35l34.c static int cs35l34_i2c_remove(struct i2c_client *client)
client           1127 sound/soc/codecs/cs35l34.c 	struct cs35l34_private *cs35l34 = i2c_get_clientdata(client);
client           1131 sound/soc/codecs/cs35l34.c 	pm_runtime_disable(&client->dev);
client           1914 sound/soc/codecs/cs35l36.c static int cs35l36_i2c_remove(struct i2c_client *client)
client           1916 sound/soc/codecs/cs35l36.c 	struct cs35l36_private *cs35l36 = i2c_get_clientdata(client);
client             14 sound/soc/codecs/cs4271-i2c.c static int cs4271_i2c_probe(struct i2c_client *client,
client             23 sound/soc/codecs/cs4271-i2c.c 	return cs4271_probe(&client->dev,
client             24 sound/soc/codecs/cs4271-i2c.c 			    devm_regmap_init_i2c(client, &config));
client           1318 sound/soc/codecs/cs42l56.c static int cs42l56_i2c_remove(struct i2c_client *client)
client           1320 sound/soc/codecs/cs42l56.c 	struct cs42l56_private *cs42l56 = i2c_get_clientdata(client);
client           1664 sound/soc/codecs/cs43130.c 	struct i2c_client *client = to_i2c_client(dev);
client           1665 sound/soc/codecs/cs43130.c 	struct cs43130_private *cs43130 = i2c_get_clientdata(client);
client           1702 sound/soc/codecs/cs43130.c 	struct i2c_client *client = to_i2c_client(dev);
client           1703 sound/soc/codecs/cs43130.c 	struct cs43130_private *cs43130 = i2c_get_clientdata(client);
client           2422 sound/soc/codecs/cs43130.c static int cs43130_i2c_probe(struct i2c_client *client,
client           2431 sound/soc/codecs/cs43130.c 	cs43130 = devm_kzalloc(&client->dev, sizeof(*cs43130), GFP_KERNEL);
client           2435 sound/soc/codecs/cs43130.c 	i2c_set_clientdata(client, cs43130);
client           2437 sound/soc/codecs/cs43130.c 	cs43130->regmap = devm_regmap_init_i2c(client, &cs43130_regmap);
client           2443 sound/soc/codecs/cs43130.c 	if (client->dev.of_node) {
client           2444 sound/soc/codecs/cs43130.c 		ret = cs43130_handle_device_data(client, cs43130);
client           2451 sound/soc/codecs/cs43130.c 	ret = devm_regulator_bulk_get(&client->dev,
client           2455 sound/soc/codecs/cs43130.c 		dev_err(&client->dev, "Failed to request supplies: %d\n", ret);
client           2461 sound/soc/codecs/cs43130.c 		dev_err(&client->dev, "Failed to enable supplies: %d\n", ret);
client           2465 sound/soc/codecs/cs43130.c 	cs43130->reset_gpio = devm_gpiod_get_optional(&client->dev,
client           2489 sound/soc/codecs/cs43130.c 		dev_err(&client->dev,
client           2500 sound/soc/codecs/cs43130.c 		dev_err(&client->dev, "Get Revision ID failed\n");
client           2504 sound/soc/codecs/cs43130.c 	dev_info(&client->dev,
client           2514 sound/soc/codecs/cs43130.c 	ret = devm_request_threaded_irq(&client->dev, client->irq,
client           2519 sound/soc/codecs/cs43130.c 		dev_err(&client->dev, "Failed to request IRQ: %d\n", ret);
client           2525 sound/soc/codecs/cs43130.c 	pm_runtime_set_autosuspend_delay(&client->dev, 100);
client           2526 sound/soc/codecs/cs43130.c 	pm_runtime_use_autosuspend(&client->dev);
client           2527 sound/soc/codecs/cs43130.c 	pm_runtime_set_active(&client->dev);
client           2528 sound/soc/codecs/cs43130.c 	pm_runtime_enable(&client->dev);
client           2564 sound/soc/codecs/cs43130.c 	ret = devm_snd_soc_register_component(&client->dev,
client           2568 sound/soc/codecs/cs43130.c 		dev_err(&client->dev,
client           2583 sound/soc/codecs/cs43130.c static int cs43130_i2c_remove(struct i2c_client *client)
client           2585 sound/soc/codecs/cs43130.c 	struct cs43130_private *cs43130 = i2c_get_clientdata(client);
client           2600 sound/soc/codecs/cs43130.c 		device_remove_file(&client->dev, &dev_attr_hpload_dc_l);
client           2601 sound/soc/codecs/cs43130.c 		device_remove_file(&client->dev, &dev_attr_hpload_dc_r);
client           2602 sound/soc/codecs/cs43130.c 		device_remove_file(&client->dev, &dev_attr_hpload_ac_l);
client           2603 sound/soc/codecs/cs43130.c 		device_remove_file(&client->dev, &dev_attr_hpload_ac_r);
client           2608 sound/soc/codecs/cs43130.c 	pm_runtime_disable(&client->dev);
client            280 sound/soc/codecs/cs4349.c static int cs4349_i2c_probe(struct i2c_client *client,
client            286 sound/soc/codecs/cs4349.c 	cs4349 = devm_kzalloc(&client->dev, sizeof(*cs4349), GFP_KERNEL);
client            290 sound/soc/codecs/cs4349.c 	cs4349->regmap = devm_regmap_init_i2c(client, &cs4349_regmap);
client            293 sound/soc/codecs/cs4349.c 		dev_err(&client->dev, "regmap_init() failed: %d\n", ret);
client            298 sound/soc/codecs/cs4349.c 	cs4349->reset_gpio = devm_gpiod_get_optional(&client->dev,
client            305 sound/soc/codecs/cs4349.c 	i2c_set_clientdata(client, cs4349);
client            307 sound/soc/codecs/cs4349.c 	return devm_snd_soc_register_component(&client->dev,
client            312 sound/soc/codecs/cs4349.c static int cs4349_i2c_remove(struct i2c_client *client)
client            314 sound/soc/codecs/cs4349.c 	struct cs4349_private *cs4349 = i2c_get_clientdata(client);
client            917 sound/soc/codecs/cs53l30.c static int cs53l30_i2c_probe(struct i2c_client *client,
client            920 sound/soc/codecs/cs53l30.c 	const struct device_node *np = client->dev.of_node;
client            921 sound/soc/codecs/cs53l30.c 	struct device *dev = &client->dev;
client            959 sound/soc/codecs/cs53l30.c 	i2c_set_clientdata(client, cs53l30);
client            963 sound/soc/codecs/cs53l30.c 	cs53l30->regmap = devm_regmap_init_i2c(client, &cs53l30_regmap);
client           1045 sound/soc/codecs/cs53l30.c static int cs53l30_i2c_remove(struct i2c_client *client)
client           1047 sound/soc/codecs/cs53l30.c 	struct cs53l30_private *cs53l30 = i2c_get_clientdata(client);
client            489 sound/soc/codecs/cx2072x.c static int cx2072x_reg_raw_write(struct i2c_client *client,
client            493 sound/soc/codecs/cx2072x.c 	struct device *dev = &client->dev;
client            505 sound/soc/codecs/cx2072x.c 	ret = i2c_master_send(client, buf, val_count + 2);
client            535 sound/soc/codecs/cx2072x.c 	struct i2c_client *client = context;
client            536 sound/soc/codecs/cx2072x.c 	struct device *dev = &client->dev;
client            548 sound/soc/codecs/cx2072x.c 	msgs[0].addr = client->addr;
client            553 sound/soc/codecs/cx2072x.c 	msgs[1].addr = client->addr;
client            558 sound/soc/codecs/cx2072x.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client           2631 sound/soc/codecs/da7219.c static int da7219_i2c_remove(struct i2c_client *client)
client           1555 sound/soc/codecs/da732x.c static int da732x_i2c_remove(struct i2c_client *client)
client           1443 sound/soc/codecs/lm49453.c static int lm49453_i2c_remove(struct i2c_client *client)
client            170 sound/soc/codecs/max9768.c static int max9768_i2c_probe(struct i2c_client *client,
client            174 sound/soc/codecs/max9768.c 	struct max9768_pdata *pdata = client->dev.platform_data;
client            177 sound/soc/codecs/max9768.c 	max9768 = devm_kzalloc(&client->dev, sizeof(*max9768), GFP_KERNEL);
client            183 sound/soc/codecs/max9768.c 		err = devm_gpio_request_one(&client->dev, pdata->mute_gpio,
client            188 sound/soc/codecs/max9768.c 		err = devm_gpio_request_one(&client->dev, pdata->shdn_gpio,
client            198 sound/soc/codecs/max9768.c 	i2c_set_clientdata(client, max9768);
client            200 sound/soc/codecs/max9768.c 	max9768->regmap = devm_regmap_init_i2c(client, &max9768_i2c_regmap_config);
client            204 sound/soc/codecs/max9768.c 	return devm_snd_soc_register_component(&client->dev,
client           2590 sound/soc/codecs/max98090.c static int max98090_i2c_remove(struct i2c_client *client)
client           2592 sound/soc/codecs/max98090.c 	max98090_i2c_shutdown(client);
client           1897 sound/soc/codecs/max98095.c 	struct i2c_client *client = to_i2c_client(component->dev);
client           1917 sound/soc/codecs/max98095.c 	max98095_report_jack(client->irq, component);
client           1938 sound/soc/codecs/max98095.c 	struct i2c_client *client = to_i2c_client(component->dev);
client           1944 sound/soc/codecs/max98095.c 		max98095_report_jack(client->irq, component);
client           1989 sound/soc/codecs/max98095.c 	struct i2c_client *client;
client           1999 sound/soc/codecs/max98095.c 	client = to_i2c_client(component->dev);
client           2029 sound/soc/codecs/max98095.c 	if (client->irq) {
client           2031 sound/soc/codecs/max98095.c 		ret = request_threaded_irq(client->irq, NULL,
client           2079 sound/soc/codecs/max98095.c 	if (client->irq)
client           2080 sound/soc/codecs/max98095.c 		free_irq(client->irq, component);
client           2088 sound/soc/codecs/max98095.c 	struct i2c_client *client = to_i2c_client(component->dev);
client           2093 sound/soc/codecs/max98095.c 	if (client->irq)
client           2094 sound/soc/codecs/max98095.c 		free_irq(client->irq, component);
client            307 sound/soc/codecs/max98504.c static int max98504_i2c_probe(struct i2c_client *client,
client            310 sound/soc/codecs/max98504.c 	struct device *dev = &client->dev;
client            334 sound/soc/codecs/max98504.c 	max98504->regmap = devm_regmap_init_i2c(client, &max98504_regmap);
client            337 sound/soc/codecs/max98504.c 		dev_err(&client->dev, "regmap initialization failed: %d\n", ret);
client            349 sound/soc/codecs/max98504.c 	i2c_set_clientdata(client, max98504);
client            136 sound/soc/codecs/max9877.c static int max9877_i2c_probe(struct i2c_client *client,
client            142 sound/soc/codecs/max9877.c 	regmap = devm_regmap_init_i2c(client, &max9877_regmap);
client            150 sound/soc/codecs/max9877.c 	return devm_snd_soc_register_component(&client->dev,
client           2628 sound/soc/codecs/nau8825.c static int nau8825_i2c_remove(struct i2c_client *client)
client            301 sound/soc/codecs/pcm1681.c static int pcm1681_i2c_probe(struct i2c_client *client,
client            307 sound/soc/codecs/pcm1681.c 	priv = devm_kzalloc(&client->dev, sizeof(*priv), GFP_KERNEL);
client            311 sound/soc/codecs/pcm1681.c 	priv->regmap = devm_regmap_init_i2c(client, &pcm1681_regmap);
client            314 sound/soc/codecs/pcm1681.c 		dev_err(&client->dev, "Failed to create regmap: %d\n", ret);
client            318 sound/soc/codecs/pcm1681.c 	i2c_set_clientdata(client, priv);
client            320 sound/soc/codecs/pcm1681.c 	return devm_snd_soc_register_component(&client->dev,
client             15 sound/soc/codecs/pcm1789-i2c.c static int pcm1789_i2c_probe(struct i2c_client *client,
client             21 sound/soc/codecs/pcm1789-i2c.c 	regmap = devm_regmap_init_i2c(client, &pcm1789_regmap_config);
client             24 sound/soc/codecs/pcm1789-i2c.c 		dev_err(&client->dev, "Failed to allocate regmap: %d\n", ret);
client             28 sound/soc/codecs/pcm1789-i2c.c 	return pcm1789_common_init(&client->dev, regmap);
client             31 sound/soc/codecs/pcm1789-i2c.c static int pcm1789_i2c_remove(struct i2c_client *client)
client             33 sound/soc/codecs/pcm1789-i2c.c 	return pcm1789_common_exit(&client->dev);
client             17 sound/soc/codecs/pcm179x-i2c.c static int pcm179x_i2c_probe(struct i2c_client *client,
client             23 sound/soc/codecs/pcm179x-i2c.c 	regmap = devm_regmap_init_i2c(client, &pcm179x_regmap_config);
client             26 sound/soc/codecs/pcm179x-i2c.c 		dev_err(&client->dev, "Failed to allocate regmap: %d\n", ret);
client             30 sound/soc/codecs/pcm179x-i2c.c 	return pcm179x_common_init(&client->dev, regmap);
client             18 sound/soc/codecs/rl6347a.c 	struct i2c_client *client = context;
client             19 sound/soc/codecs/rl6347a.c 	struct rl6347a_priv *rl6347a = i2c_get_clientdata(client);
client             25 sound/soc/codecs/rl6347a.c 		rl6347a_hw_write(client, RL6347A_COEF_INDEX, reg);
client             46 sound/soc/codecs/rl6347a.c 	ret = i2c_master_send(client, data, 4);
client             51 sound/soc/codecs/rl6347a.c 		dev_err(&client->dev, "I2C error %d\n", ret);
client             61 sound/soc/codecs/rl6347a.c 	struct i2c_client *client = context;
client             69 sound/soc/codecs/rl6347a.c 		rl6347a_hw_write(client, RL6347A_COEF_INDEX, reg);
client             83 sound/soc/codecs/rl6347a.c 	xfer[0].addr = client->addr;
client             89 sound/soc/codecs/rl6347a.c 	xfer[1].addr = client->addr;
client             94 sound/soc/codecs/rl6347a.c 	ret = i2c_transfer(client->adapter, xfer, 2);
client           2250 sound/soc/codecs/rt1011.c static void rt1011_i2c_shutdown(struct i2c_client *client)
client           2252 sound/soc/codecs/rt1011.c 	struct rt1011_priv *rt1011 = i2c_get_clientdata(client);
client           1157 sound/soc/codecs/rt1305.c static void rt1305_i2c_shutdown(struct i2c_client *client)
client           1159 sound/soc/codecs/rt1305.c 	struct rt1305_priv *rt1305 = i2c_get_clientdata(client);
client            854 sound/soc/codecs/rt1308.c static void rt1308_i2c_shutdown(struct i2c_client *client)
client            856 sound/soc/codecs/rt1308.c 	struct rt1308_priv *rt1308 = i2c_get_clientdata(client);
client           1120 sound/soc/codecs/rt5514.c 	struct i2c_client *client = context;
client           1121 sound/soc/codecs/rt5514.c 	struct rt5514_priv *rt5514 = i2c_get_clientdata(client);
client           1130 sound/soc/codecs/rt5514.c 	struct i2c_client *client = context;
client           1131 sound/soc/codecs/rt5514.c 	struct rt5514_priv *rt5514 = i2c_get_clientdata(client);
client           1398 sound/soc/codecs/rt5616.c static void rt5616_i2c_shutdown(struct i2c_client *client)
client           1400 sound/soc/codecs/rt5616.c 	struct rt5616_priv *rt5616 = i2c_get_clientdata(client);
client           1719 sound/soc/codecs/rt5631.c static int rt5631_i2c_remove(struct i2c_client *client)
client           4330 sound/soc/codecs/rt5659.c static void rt5659_i2c_shutdown(struct i2c_client *client)
client           4332 sound/soc/codecs/rt5659.c 	struct rt5659_priv *rt5659 = i2c_get_clientdata(client);
client           3719 sound/soc/codecs/rt5663.c static void rt5663_i2c_shutdown(struct i2c_client *client)
client           3721 sound/soc/codecs/rt5663.c 	struct rt5663_priv *rt5663 = i2c_get_clientdata(client);
client           4942 sound/soc/codecs/rt5665.c static void rt5665_i2c_shutdown(struct i2c_client *client)
client           4944 sound/soc/codecs/rt5665.c 	struct rt5665_priv *rt5665 = i2c_get_clientdata(client);
client           2592 sound/soc/codecs/rt5668.c static void rt5668_i2c_shutdown(struct i2c_client *client)
client           2594 sound/soc/codecs/rt5668.c 	struct rt5668_priv *rt5668 = i2c_get_clientdata(client);
client           4791 sound/soc/codecs/rt5677.c 	struct i2c_client *client = context;
client           4792 sound/soc/codecs/rt5677.c 	struct rt5677_priv *rt5677 = i2c_get_clientdata(client);
client           4813 sound/soc/codecs/rt5677.c 	struct i2c_client *client = context;
client           4814 sound/soc/codecs/rt5677.c 	struct rt5677_priv *rt5677 = i2c_get_clientdata(client);
client           2680 sound/soc/codecs/rt5682.c static void rt5682_i2c_shutdown(struct i2c_client *client)
client           2682 sound/soc/codecs/rt5682.c 	struct rt5682_priv *rt5682 = i2c_get_clientdata(client);
client           1418 sound/soc/codecs/sgtl5000.c static int sgtl5000_enable_regulators(struct i2c_client *client)
client           1424 sound/soc/codecs/sgtl5000.c 	struct sgtl5000_priv *sgtl5000 = i2c_get_clientdata(client);
client           1429 sound/soc/codecs/sgtl5000.c 	vddd = regulator_get_optional(&client->dev, "VDDD");
client           1441 sound/soc/codecs/sgtl5000.c 	ret = regulator_bulk_get(&client->dev, sgtl5000->num_supplies,
client           1557 sound/soc/codecs/sgtl5000.c static void sgtl5000_fill_defaults(struct i2c_client *client)
client           1559 sound/soc/codecs/sgtl5000.c 	struct sgtl5000_priv *sgtl5000 = i2c_get_clientdata(client);
client           1567 sound/soc/codecs/sgtl5000.c 			dev_err(&client->dev,
client           1573 sound/soc/codecs/sgtl5000.c static int sgtl5000_i2c_probe(struct i2c_client *client,
client           1578 sound/soc/codecs/sgtl5000.c 	struct device_node *np = client->dev.of_node;
client           1582 sound/soc/codecs/sgtl5000.c 	sgtl5000 = devm_kzalloc(&client->dev, sizeof(*sgtl5000), GFP_KERNEL);
client           1586 sound/soc/codecs/sgtl5000.c 	i2c_set_clientdata(client, sgtl5000);
client           1588 sound/soc/codecs/sgtl5000.c 	ret = sgtl5000_enable_regulators(client);
client           1592 sound/soc/codecs/sgtl5000.c 	sgtl5000->regmap = devm_regmap_init_i2c(client, &sgtl5000_regmap);
client           1595 sound/soc/codecs/sgtl5000.c 		dev_err(&client->dev, "Failed to allocate regmap: %d\n", ret);
client           1599 sound/soc/codecs/sgtl5000.c 	sgtl5000->mclk = devm_clk_get(&client->dev, NULL);
client           1607 sound/soc/codecs/sgtl5000.c 			dev_err(&client->dev, "Failed to get mclock: %d\n",
client           1614 sound/soc/codecs/sgtl5000.c 		dev_err(&client->dev, "Error enabling clock %d\n", ret);
client           1624 sound/soc/codecs/sgtl5000.c 		dev_err(&client->dev, "Error reading chip id %d\n", ret);
client           1630 sound/soc/codecs/sgtl5000.c 		dev_err(&client->dev,
client           1637 sound/soc/codecs/sgtl5000.c 	dev_info(&client->dev, "sgtl5000 revision 0x%x\n", rev);
client           1645 sound/soc/codecs/sgtl5000.c 		dev_err(&client->dev,
client           1652 sound/soc/codecs/sgtl5000.c 		dev_err(&client->dev,
client           1666 sound/soc/codecs/sgtl5000.c 		dev_err(&client->dev, "Failed to read ANA_POWER: %d\n", ret);
client           1675 sound/soc/codecs/sgtl5000.c 			dev_err(&client->dev, "Error %d disabling VAG\n", ret);
client           1691 sound/soc/codecs/sgtl5000.c 			dev_err(&client->dev,
client           1695 sound/soc/codecs/sgtl5000.c 		dev_info(&client->dev,
client           1704 sound/soc/codecs/sgtl5000.c 		dev_dbg(&client->dev, "Using external VDDD\n");
client           1708 sound/soc/codecs/sgtl5000.c 		dev_err(&client->dev,
client           1730 sound/soc/codecs/sgtl5000.c 				dev_err(&client->dev,
client           1745 sound/soc/codecs/sgtl5000.c 				dev_err(&client->dev,
client           1768 sound/soc/codecs/sgtl5000.c 	sgtl5000_fill_defaults(client);
client           1770 sound/soc/codecs/sgtl5000.c 	ret = devm_snd_soc_register_component(&client->dev,
client           1787 sound/soc/codecs/sgtl5000.c static int sgtl5000_i2c_remove(struct i2c_client *client)
client           1789 sound/soc/codecs/sgtl5000.c 	struct sgtl5000_priv *sgtl5000 = i2c_get_clientdata(client);
client             42 sound/soc/codecs/sigmadsp-i2c.c 	struct i2c_client *client = control_data;
client             49 sound/soc/codecs/sigmadsp-i2c.c 	msgs[0].addr = client->addr;
client             54 sound/soc/codecs/sigmadsp-i2c.c 	msgs[1].addr = client->addr;
client             59 sound/soc/codecs/sigmadsp-i2c.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client             77 sound/soc/codecs/sigmadsp-i2c.c struct sigmadsp *devm_sigmadsp_init_i2c(struct i2c_client *client,
client             82 sound/soc/codecs/sigmadsp-i2c.c 	sigmadsp = devm_sigmadsp_init(&client->dev, ops, firmware_name);
client             86 sound/soc/codecs/sigmadsp-i2c.c 	sigmadsp->control_data = client;
client             57 sound/soc/codecs/sigmadsp.h struct sigmadsp *devm_sigmadsp_init_i2c(struct i2c_client *client,
client             22 sound/soc/codecs/ssm2602-i2c.c static int ssm2602_i2c_probe(struct i2c_client *client,
client             25 sound/soc/codecs/ssm2602-i2c.c 	return ssm2602_probe(&client->dev, id->driver_data,
client             26 sound/soc/codecs/ssm2602-i2c.c 		devm_regmap_init_i2c(client, &ssm2602_regmap_config));
client           1250 sound/soc/codecs/sta350.c static int sta350_i2c_remove(struct i2c_client *client)
client            682 sound/soc/codecs/tas2552.c static int tas2552_probe(struct i2c_client *client,
client            690 sound/soc/codecs/tas2552.c 	dev = &client->dev;
client            691 sound/soc/codecs/tas2552.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            700 sound/soc/codecs/tas2552.c 	data->tas2552_client = client;
client            701 sound/soc/codecs/tas2552.c 	data->regmap = devm_regmap_init_i2c(client, &tas2552_regmap_config);
client            704 sound/soc/codecs/tas2552.c 		dev_err(&client->dev, "Failed to allocate register map: %d\n",
client            719 sound/soc/codecs/tas2552.c 	pm_runtime_set_active(&client->dev);
client            720 sound/soc/codecs/tas2552.c 	pm_runtime_set_autosuspend_delay(&client->dev, 1000);
client            721 sound/soc/codecs/tas2552.c 	pm_runtime_use_autosuspend(&client->dev);
client            722 sound/soc/codecs/tas2552.c 	pm_runtime_enable(&client->dev);
client            723 sound/soc/codecs/tas2552.c 	pm_runtime_mark_last_busy(&client->dev);
client            724 sound/soc/codecs/tas2552.c 	pm_runtime_put_sync_autosuspend(&client->dev);
client            726 sound/soc/codecs/tas2552.c 	dev_set_drvdata(&client->dev, data);
client            728 sound/soc/codecs/tas2552.c 	ret = devm_snd_soc_register_component(&client->dev,
client            732 sound/soc/codecs/tas2552.c 		dev_err(&client->dev, "Failed to register component: %d\n", ret);
client            737 sound/soc/codecs/tas2552.c static int tas2552_i2c_remove(struct i2c_client *client)
client            739 sound/soc/codecs/tas2552.c 	pm_runtime_disable(&client->dev);
client            168 sound/soc/codecs/tas5086.c 	struct i2c_client *client = context;
client            173 sound/soc/codecs/tas5086.c 	size = tas5086_register_size(&client->dev, reg);
client            184 sound/soc/codecs/tas5086.c 	ret = i2c_master_send(client, buf, size + 1);
client            196 sound/soc/codecs/tas5086.c 	struct i2c_client *client = context;
client            203 sound/soc/codecs/tas5086.c 	size = tas5086_register_size(&client->dev, reg);
client            209 sound/soc/codecs/tas5086.c 	msgs[0].addr = client->addr;
client            214 sound/soc/codecs/tas5086.c 	msgs[1].addr = client->addr;
client            219 sound/soc/codecs/tas5086.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client             79 sound/soc/codecs/tas571x.c 	struct i2c_client *client = context;
client             80 sound/soc/codecs/tas571x.c 	struct tas571x_private *priv = i2c_get_clientdata(client);
client             93 sound/soc/codecs/tas571x.c 	ret = i2c_master_send(client, buf, size + 1);
client            105 sound/soc/codecs/tas571x.c 	struct i2c_client *client = context;
client            106 sound/soc/codecs/tas571x.c 	struct tas571x_private *priv = i2c_get_clientdata(client);
client            116 sound/soc/codecs/tas571x.c 	msgs[0].addr = client->addr;
client            121 sound/soc/codecs/tas571x.c 	msgs[1].addr = client->addr;
client            126 sound/soc/codecs/tas571x.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            145 sound/soc/codecs/tas571x.c static int tas571x_reg_write_multiword(struct i2c_client *client,
client            161 sound/soc/codecs/tas571x.c 	ret = i2c_master_send(client, buf, send_size);
client            176 sound/soc/codecs/tas571x.c static int tas571x_reg_read_multiword(struct i2c_client *client,
client            192 sound/soc/codecs/tas571x.c 	msgs[0].addr = client->addr;
client            197 sound/soc/codecs/tas571x.c 	msgs[1].addr = client->addr;
client            202 sound/soc/codecs/tas571x.c 	ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
client            777 sound/soc/codecs/tas571x.c static int tas571x_i2c_probe(struct i2c_client *client,
client            781 sound/soc/codecs/tas571x.c 	struct device *dev = &client->dev;
client            788 sound/soc/codecs/tas571x.c 	i2c_set_clientdata(client, priv);
client            821 sound/soc/codecs/tas571x.c 	priv->regmap = devm_regmap_init(dev, NULL, client,
client            869 sound/soc/codecs/tas571x.c 	ret = devm_snd_soc_register_component(&client->dev,
client            882 sound/soc/codecs/tas571x.c static int tas571x_i2c_remove(struct i2c_client *client)
client            884 sound/soc/codecs/tas571x.c 	struct tas571x_private *priv = i2c_get_clientdata(client);
client            635 sound/soc/codecs/tas5720.c static int tas5720_probe(struct i2c_client *client,
client            638 sound/soc/codecs/tas5720.c 	struct device *dev = &client->dev;
client            648 sound/soc/codecs/tas5720.c 	data->tas5720_client = client;
client            662 sound/soc/codecs/tas5720.c 	data->regmap = devm_regmap_init_i2c(client, regmap_config);
client            683 sound/soc/codecs/tas5720.c 		ret = devm_snd_soc_register_component(&client->dev,
client            689 sound/soc/codecs/tas5720.c 		ret = devm_snd_soc_register_component(&client->dev,
client            684 sound/soc/codecs/tas6424.c static int tas6424_i2c_probe(struct i2c_client *client,
client            687 sound/soc/codecs/tas6424.c 	struct device *dev = &client->dev;
client            699 sound/soc/codecs/tas6424.c 	tas6424->regmap = devm_regmap_init_i2c(client, &tas6424_regmap_config);
client            774 sound/soc/codecs/tas6424.c static int tas6424_i2c_remove(struct i2c_client *client)
client            776 sound/soc/codecs/tas6424.c 	struct device *dev = &client->dev;
client           1707 sound/soc/codecs/tlv320aic3x.c static void aic3x_configure_ocmv(struct i2c_client *client)
client           1709 sound/soc/codecs/tlv320aic3x.c 	struct device_node *np = client->dev.of_node;
client           1710 sound/soc/codecs/tlv320aic3x.c 	struct aic3x_priv *aic3x = i2c_get_clientdata(client);
client           1726 sound/soc/codecs/tlv320aic3x.c 		dev_warn(&client->dev,
client           1738 sound/soc/codecs/tlv320aic3x.c 		dev_warn(&client->dev,
client           1897 sound/soc/codecs/tlv320aic3x.c static int aic3x_i2c_remove(struct i2c_client *client)
client           1899 sound/soc/codecs/tlv320aic3x.c 	struct aic3x_priv *aic3x = i2c_get_clientdata(client);
client           1466 sound/soc/codecs/tlv320dac33.c static int dac33_i2c_probe(struct i2c_client *client,
client           1473 sound/soc/codecs/tlv320dac33.c 	if (client->dev.platform_data == NULL) {
client           1474 sound/soc/codecs/tlv320dac33.c 		dev_err(&client->dev, "Platform data not set\n");
client           1477 sound/soc/codecs/tlv320dac33.c 	pdata = client->dev.platform_data;
client           1479 sound/soc/codecs/tlv320dac33.c 	dac33 = devm_kzalloc(&client->dev, sizeof(struct tlv320dac33_priv),
client           1484 sound/soc/codecs/tlv320dac33.c 	dac33->reg_cache = devm_kmemdup(&client->dev,
client           1491 sound/soc/codecs/tlv320dac33.c 	dac33->i2c = client;
client           1495 sound/soc/codecs/tlv320dac33.c 	i2c_set_clientdata(client, dac33);
client           1503 sound/soc/codecs/tlv320dac33.c 	dac33->irq = client->irq;
client           1511 sound/soc/codecs/tlv320dac33.c 			dev_err(&client->dev,
client           1522 sound/soc/codecs/tlv320dac33.c 	ret = devm_regulator_bulk_get(&client->dev, ARRAY_SIZE(dac33->supplies),
client           1526 sound/soc/codecs/tlv320dac33.c 		dev_err(&client->dev, "Failed to request supplies: %d\n", ret);
client           1530 sound/soc/codecs/tlv320dac33.c 	ret = devm_snd_soc_register_component(&client->dev,
client           1543 sound/soc/codecs/tlv320dac33.c static int dac33_i2c_remove(struct i2c_client *client)
client           1545 sound/soc/codecs/tlv320dac33.c 	struct tlv320dac33_priv *dac33 = i2c_get_clientdata(client);
client            212 sound/soc/codecs/tpa6130a2.c static int tpa6130a2_probe(struct i2c_client *client,
client            217 sound/soc/codecs/tpa6130a2.c 	struct tpa6130a2_platform_data *pdata = client->dev.platform_data;
client            218 sound/soc/codecs/tpa6130a2.c 	struct device_node *np = client->dev.of_node;
client            223 sound/soc/codecs/tpa6130a2.c 	dev = &client->dev;
client            225 sound/soc/codecs/tpa6130a2.c 	data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
client            231 sound/soc/codecs/tpa6130a2.c 	data->regmap = devm_regmap_init_i2c(client, &tpa6130a2_regmap_config);
client            245 sound/soc/codecs/tpa6130a2.c 	i2c_set_clientdata(client, data);
client            296 sound/soc/codecs/tpa6130a2.c 	return devm_snd_soc_register_component(&client->dev,
client             32 sound/soc/codecs/wl1273.c 	struct device *dev = &core->client->dev;
client            132 sound/soc/codecs/wl1273.c 	struct device *dev = &core->client->dev;
client            434 sound/soc/codecs/wm8711.c static int wm8711_i2c_probe(struct i2c_client *client,
client            440 sound/soc/codecs/wm8711.c 	wm8711 = devm_kzalloc(&client->dev, sizeof(struct wm8711_priv),
client            445 sound/soc/codecs/wm8711.c 	wm8711->regmap = devm_regmap_init_i2c(client, &wm8711_regmap);
client            449 sound/soc/codecs/wm8711.c 	i2c_set_clientdata(client, wm8711);
client            451 sound/soc/codecs/wm8711.c 	ret = devm_snd_soc_register_component(&client->dev,
client            785 sound/soc/codecs/wm8731.c static int wm8731_i2c_remove(struct i2c_client *client)
client           1298 sound/soc/codecs/wm8900.c static int wm8900_i2c_remove(struct i2c_client *client)
client           2188 sound/soc/codecs/wm8903.c static int wm8903_i2c_remove(struct i2c_client *client)
client           2190 sound/soc/codecs/wm8903.c 	struct wm8903_priv *wm8903 = i2c_get_clientdata(client);
client           2194 sound/soc/codecs/wm8903.c 	if (client->irq)
client           2195 sound/soc/codecs/wm8903.c 		free_irq(client->irq, wm8903);
client           1457 sound/soc/codecs/wm8960.c static int wm8960_i2c_remove(struct i2c_client *client)
client           3768 sound/soc/codecs/wm8962.c static int wm8962_i2c_remove(struct i2c_client *client)
client           3770 sound/soc/codecs/wm8962.c 	pm_runtime_disable(&client->dev);
client           3068 sound/soc/codecs/wm8996.c static int wm8996_i2c_remove(struct i2c_client *client)
client           3070 sound/soc/codecs/wm8996.c 	struct wm8996_priv *wm8996 = i2c_get_clientdata(client);
client           1360 sound/soc/codecs/wm9081.c static int wm9081_i2c_remove(struct i2c_client *client)
client            353 sound/soc/pxa/magician.c 	struct i2c_client *client;
client            361 sound/soc/pxa/magician.c 	client = i2c_new_device(adapter, i2c_board_info);
client            363 sound/soc/pxa/magician.c 	if (!client)
client             36 sound/synth/emux/emux.c 	emu->client = -1;
client            125 sound/synth/emux/emux_oss.c 	arg->addr.client = p->chset.client;
client            179 sound/synth/emux/emux_oss.c 	snd_seq_event_port_detach(p->chset.client, p->chset.port);
client             28 sound/synth/emux/emux_proc.c 		snd_iprintf(buf, " %d:%d", emu->client, emu->ports[i]);
client             61 sound/synth/emux/emux_seq.c 	emu->client = snd_seq_create_kernel_client(card, index,
client             63 sound/synth/emux/emux_seq.c 	if (emu->client < 0) {
client            114 sound/synth/emux/emux_seq.c 	if (emu->client >= 0) {
client            115 sound/synth/emux/emux_seq.c 		snd_seq_delete_kernel_client(emu->client);
client            116 sound/synth/emux/emux_seq.c 		emu->client = -1;
client            149 sound/synth/emux/emux_seq.c 	p->chset.client = emu->client;
client            164 sound/synth/emux/emux_seq.c 	p->chset.port = snd_seq_event_port_attach(emu->client, callback,
client            372 sound/synth/emux/emux_seq.c 		rdev->client = emu->client;
client             25 sound/synth/emux/soundfont.c 		      int count, int client);
client             94 sound/synth/emux/soundfont.c snd_soundfont_close_check(struct snd_sf_list *sflist, int client)
client             98 sound/synth/emux/soundfont.c 	if (sflist->open_client == client)  {
client            117 sound/synth/emux/soundfont.c 		   long count, int client)
client            150 sound/synth/emux/soundfont.c 		rc = open_patch(sflist, data, count, client);
client            157 sound/synth/emux/soundfont.c 	if (sflist->open_client != client) {
client            220 sound/synth/emux/soundfont.c 	   int count, int client)
client            246 sound/synth/emux/soundfont.c 	sflist->open_client = client;
client            939 sound/synth/emux/soundfont.c 	      long count, int client)
client           1117 sound/synth/emux/soundfont.c 			    long count, int client)
client           1121 sound/synth/emux/soundfont.c 	rc = load_guspatch(sflist, data, count, client);
client            121 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c 	int client = -1, srv_client = -1;
client            145 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c 	client = connect_to_server(server_fd);
client            146 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c 	if (client == -1)
client            197 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c 	close(client);
client            920 tools/testing/selftests/net/nettest.c static int msg_loop(int client, int sd, void *addr, socklen_t alen,
client            935 tools/testing/selftests/net/nettest.c 		if (client) {
client            996 tools/testing/selftests/net/nettest.c 		if (client) {