new_client 515 drivers/char/agp/frontend.c struct agp_client *new_client; new_client 517 drivers/char/agp/frontend.c new_client = kzalloc(sizeof(struct agp_client), GFP_KERNEL); new_client 518 drivers/char/agp/frontend.c if (new_client == NULL) new_client 521 drivers/char/agp/frontend.c new_client->pid = id; new_client 522 drivers/char/agp/frontend.c agp_insert_client(new_client); new_client 523 drivers/char/agp/frontend.c return new_client; new_client 707 drivers/gpu/vga/vga_switcheroo.c static int vga_switchto_stage1(struct vga_switcheroo_client *new_client) new_client 715 drivers/gpu/vga/vga_switcheroo.c if (vga_switcheroo_pwr_state(new_client) == VGA_SWITCHEROO_OFF) new_client 716 drivers/gpu/vga/vga_switcheroo.c vga_switchon(new_client); new_client 718 drivers/gpu/vga/vga_switcheroo.c vga_set_default_device(new_client->pdev); new_client 723 drivers/gpu/vga/vga_switcheroo.c static int vga_switchto_stage2(struct vga_switcheroo_client *new_client) new_client 738 drivers/gpu/vga/vga_switcheroo.c if (new_client->fb_info) new_client 739 drivers/gpu/vga/vga_switcheroo.c fbcon_remap_all(new_client->fb_info); new_client 742 drivers/gpu/vga/vga_switcheroo.c ret = vgasr_priv.handler->switchto(new_client->id); new_client 747 drivers/gpu/vga/vga_switcheroo.c if (new_client->ops->reprobe) new_client 748 drivers/gpu/vga/vga_switcheroo.c new_client->ops->reprobe(new_client->pdev); new_client 754 drivers/gpu/vga/vga_switcheroo.c if (!new_client->driver_power_control) new_client 755 drivers/gpu/vga/vga_switcheroo.c set_audio_state(new_client->id, VGA_SWITCHEROO_ON); new_client 757 drivers/gpu/vga/vga_switcheroo.c new_client->active = true; new_client 621 drivers/hwmon/adm9240.c static int adm9240_detect(struct i2c_client *new_client, new_client 624 drivers/hwmon/adm9240.c struct i2c_adapter *adapter = new_client->adapter; new_client 626 drivers/hwmon/adm9240.c int address = new_client->addr; new_client 633 drivers/hwmon/adm9240.c if (i2c_smbus_read_byte_data(new_client, ADM9240_REG_I2C_ADDR) new_client 641 drivers/hwmon/adm9240.c man_id = i2c_smbus_read_byte_data(new_client, ADM9240_REG_MAN_ID); new_client 655 drivers/hwmon/adm9240.c die_rev = i2c_smbus_read_byte_data(new_client, ADM9240_REG_DIE_REV); new_client 707 drivers/hwmon/adm9240.c static int adm9240_probe(struct i2c_client *new_client, new_client 710 drivers/hwmon/adm9240.c struct device *dev = &new_client->dev; new_client 718 drivers/hwmon/adm9240.c i2c_set_clientdata(new_client, data); new_client 719 drivers/hwmon/adm9240.c data->client = new_client; new_client 722 drivers/hwmon/adm9240.c adm9240_init_client(new_client); new_client 725 drivers/hwmon/adm9240.c new_client->name, new_client 630 drivers/hwmon/emc2103.c emc2103_detect(struct i2c_client *new_client, struct i2c_board_info *info) new_client 632 drivers/hwmon/emc2103.c struct i2c_adapter *adapter = new_client->adapter; new_client 638 drivers/hwmon/emc2103.c manufacturer = i2c_smbus_read_byte_data(new_client, REG_MFG_ID); new_client 642 drivers/hwmon/emc2103.c product = i2c_smbus_read_byte_data(new_client, REG_PRODUCT_ID); new_client 229 drivers/hwmon/lm73.c static int lm73_detect(struct i2c_client *new_client, new_client 232 drivers/hwmon/lm73.c struct i2c_adapter *adapter = new_client->adapter; new_client 243 drivers/hwmon/lm73.c ctrl = i2c_smbus_read_byte_data(new_client, LM73_REG_CTRL); new_client 247 drivers/hwmon/lm73.c conf = i2c_smbus_read_byte_data(new_client, LM73_REG_CONF); new_client 251 drivers/hwmon/lm73.c id = i2c_smbus_read_byte_data(new_client, LM73_REG_ID); new_client 256 drivers/hwmon/lm73.c id = i2c_smbus_read_word_data(new_client, LM73_REG_ID); new_client 756 drivers/hwmon/lm75.c static int lm75_detect(struct i2c_client *new_client, new_client 759 drivers/hwmon/lm75.c struct i2c_adapter *adapter = new_client->adapter; new_client 794 drivers/hwmon/lm75.c conf = i2c_smbus_read_byte_data(new_client, 1); new_client 799 drivers/hwmon/lm75.c if (i2c_smbus_read_byte_data(new_client, 7) == LM75A_ID) { new_client 802 drivers/hwmon/lm75.c if (i2c_smbus_read_byte_data(new_client, 4) != 0xff new_client 803 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, 5) != 0xff new_client 804 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, 6) != 0xff) new_client 807 drivers/hwmon/lm75.c hyst = i2c_smbus_read_byte_data(new_client, 2); new_client 808 drivers/hwmon/lm75.c os = i2c_smbus_read_byte_data(new_client, 3); new_client 811 drivers/hwmon/lm75.c hyst = i2c_smbus_read_byte_data(new_client, 2); new_client 812 drivers/hwmon/lm75.c if (i2c_smbus_read_byte_data(new_client, 4) != hyst new_client 813 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, 5) != hyst new_client 814 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, 6) != hyst new_client 815 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, 7) != hyst) new_client 817 drivers/hwmon/lm75.c os = i2c_smbus_read_byte_data(new_client, 3); new_client 818 drivers/hwmon/lm75.c if (i2c_smbus_read_byte_data(new_client, 4) != os new_client 819 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, 5) != os new_client 820 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, 6) != os new_client 821 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, 7) != os) new_client 833 drivers/hwmon/lm75.c if (i2c_smbus_read_byte_data(new_client, i + 1) != conf new_client 834 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, i + 2) != hyst new_client 835 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, i + 3) != os) new_client 837 drivers/hwmon/lm75.c if (is_lm75a && i2c_smbus_read_byte_data(new_client, i + 7) new_client 275 drivers/hwmon/lm83.c static int lm83_detect(struct i2c_client *new_client, new_client 278 drivers/hwmon/lm83.c struct i2c_adapter *adapter = new_client->adapter; new_client 286 drivers/hwmon/lm83.c if ((i2c_smbus_read_byte_data(new_client, LM83_REG_R_STATUS1) & 0xA8) || new_client 287 drivers/hwmon/lm83.c (i2c_smbus_read_byte_data(new_client, LM83_REG_R_STATUS2) & 0x48) || new_client 288 drivers/hwmon/lm83.c (i2c_smbus_read_byte_data(new_client, LM83_REG_R_CONFIG) & 0x41)) { new_client 290 drivers/hwmon/lm83.c new_client->addr); new_client 295 drivers/hwmon/lm83.c man_id = i2c_smbus_read_byte_data(new_client, LM83_REG_R_MAN_ID); new_client 299 drivers/hwmon/lm83.c chip_id = i2c_smbus_read_byte_data(new_client, LM83_REG_R_CHIP_ID); new_client 320 drivers/hwmon/lm83.c static int lm83_probe(struct i2c_client *new_client, new_client 326 drivers/hwmon/lm83.c data = devm_kzalloc(&new_client->dev, sizeof(struct lm83_data), new_client 331 drivers/hwmon/lm83.c data->client = new_client; new_client 344 drivers/hwmon/lm83.c hwmon_dev = devm_hwmon_device_register_with_groups(&new_client->dev, new_client 345 drivers/hwmon/lm83.c new_client->name, new_client 271 drivers/hwmon/lm92.c static int lm92_detect(struct i2c_client *new_client, new_client 274 drivers/hwmon/lm92.c struct i2c_adapter *adapter = new_client->adapter; new_client 282 drivers/hwmon/lm92.c config = i2c_smbus_read_byte_data(new_client, LM92_REG_CONFIG); new_client 283 drivers/hwmon/lm92.c man_id = i2c_smbus_read_word_data(new_client, LM92_REG_MAN_ID); new_client 295 drivers/hwmon/lm92.c static int lm92_probe(struct i2c_client *new_client, new_client 301 drivers/hwmon/lm92.c data = devm_kzalloc(&new_client->dev, sizeof(struct lm92_data), new_client 306 drivers/hwmon/lm92.c data->client = new_client; new_client 310 drivers/hwmon/lm92.c lm92_init_client(new_client); new_client 312 drivers/hwmon/lm92.c hwmon_dev = devm_hwmon_device_register_with_groups(&new_client->dev, new_client 313 drivers/hwmon/lm92.c new_client->name, new_client 365 drivers/hwmon/lm95241.c static int lm95241_detect(struct i2c_client *new_client, new_client 368 drivers/hwmon/lm95241.c struct i2c_adapter *adapter = new_client->adapter; new_client 375 drivers/hwmon/lm95241.c mfg_id = i2c_smbus_read_byte_data(new_client, LM95241_REG_R_MAN_ID); new_client 379 drivers/hwmon/lm95241.c chip_id = i2c_smbus_read_byte_data(new_client, LM95241_REG_R_CHIP_ID); new_client 435 drivers/hwmon/lm95245.c static int lm95245_detect(struct i2c_client *new_client, new_client 438 drivers/hwmon/lm95245.c struct i2c_adapter *adapter = new_client->adapter; new_client 439 drivers/hwmon/lm95245.c int address = new_client->addr; new_client 446 drivers/hwmon/lm95245.c id = i2c_smbus_read_byte_data(new_client, LM95245_REG_R_MAN_ID); new_client 450 drivers/hwmon/lm95245.c rev = i2c_smbus_read_byte_data(new_client, LM95245_REG_R_CHIP_ID); new_client 264 drivers/hwmon/max1619.c static int max1619_probe(struct i2c_client *new_client, new_client 270 drivers/hwmon/max1619.c data = devm_kzalloc(&new_client->dev, sizeof(struct max1619_data), new_client 275 drivers/hwmon/max1619.c data->client = new_client; new_client 279 drivers/hwmon/max1619.c max1619_init_client(new_client); new_client 281 drivers/hwmon/max1619.c hwmon_dev = devm_hwmon_device_register_with_groups(&new_client->dev, new_client 282 drivers/hwmon/max1619.c new_client->name, new_client 649 drivers/hwmon/stts751.c static int stts751_detect(struct i2c_client *new_client, new_client 652 drivers/hwmon/stts751.c struct i2c_adapter *adapter = new_client->adapter; new_client 659 drivers/hwmon/stts751.c tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_MAN_ID); new_client 664 drivers/hwmon/stts751.c tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_TEMP_L); new_client 668 drivers/hwmon/stts751.c tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_HLIM_L); new_client 672 drivers/hwmon/stts751.c tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_LLIM_L); new_client 677 drivers/hwmon/stts751.c tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_SMBUS_TO); new_client 681 drivers/hwmon/stts751.c tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_PROD_ID); new_client 693 drivers/hwmon/stts751.c dev_dbg(&new_client->dev, "Chip %s detected", name); new_client 846 drivers/hwmon/w83781d.c w83781d_detect_subclients(struct i2c_client *new_client) new_client 850 drivers/hwmon/w83781d.c int address = new_client->addr; new_client 852 drivers/hwmon/w83781d.c struct i2c_adapter *adapter = new_client->adapter; new_client 853 drivers/hwmon/w83781d.c struct w83781d_data *data = i2c_get_clientdata(new_client); new_client 863 drivers/hwmon/w83781d.c dev_err(&new_client->dev, new_client 888 drivers/hwmon/w83781d.c dev_err(&new_client->dev, new_client 899 drivers/hwmon/w83781d.c dev_err(&new_client->dev, new_client 925 drivers/hwmon/w83792d.c w83792d_detect_subclients(struct i2c_client *new_client) new_client 928 drivers/hwmon/w83792d.c int address = new_client->addr; new_client 930 drivers/hwmon/w83792d.c struct i2c_adapter *adapter = new_client->adapter; new_client 931 drivers/hwmon/w83792d.c struct w83792d_data *data = i2c_get_clientdata(new_client); new_client 938 drivers/hwmon/w83792d.c dev_err(&new_client->dev, new_client 944 drivers/hwmon/w83792d.c w83792d_write_value(new_client, W83792D_REG_I2C_SUBADDR, new_client 949 drivers/hwmon/w83792d.c val = w83792d_read_value(new_client, W83792D_REG_I2C_SUBADDR); new_client 951 drivers/hwmon/w83792d.c data->lm75[0] = devm_i2c_new_dummy_device(&new_client->dev, adapter, new_client 956 drivers/hwmon/w83792d.c dev_err(&new_client->dev, new_client 961 drivers/hwmon/w83792d.c data->lm75[1] = devm_i2c_new_dummy_device(&new_client->dev, adapter, new_client 2876 drivers/media/i2c/adv7604.c struct i2c_client *new_client; new_client 2879 drivers/media/i2c/adv7604.c new_client = i2c_new_dummy_device(client->adapter, new_client 2882 drivers/media/i2c/adv7604.c new_client = i2c_new_ancillary_device(client, new_client 2886 drivers/media/i2c/adv7604.c if (!IS_ERR(new_client)) new_client 2887 drivers/media/i2c/adv7604.c io_write(sd, io_reg, new_client->addr << 1); new_client 2889 drivers/media/i2c/adv7604.c return new_client;