/linux-6.12.1/drivers/hwmon/ |
D | lm75.c | 879 static int lm75_detect(struct i2c_client *new_client, in lm75_detect() argument 882 struct i2c_adapter *adapter = new_client->adapter; in lm75_detect() 917 conf = i2c_smbus_read_byte_data(new_client, 1); in lm75_detect() 922 if (i2c_smbus_read_byte_data(new_client, 7) == LM75A_ID) { in lm75_detect() 927 if (i2c_smbus_read_byte_data(new_client, 4) != 0xff in lm75_detect() 928 || i2c_smbus_read_byte_data(new_client, 5) != 0xff in lm75_detect() 929 || i2c_smbus_read_byte_data(new_client, 6) != 0xff) in lm75_detect() 932 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect() 933 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect() 936 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect() [all …]
|
D | lm73.c | 229 static int lm73_detect(struct i2c_client *new_client, in lm73_detect() argument 232 struct i2c_adapter *adapter = new_client->adapter; in lm73_detect() 243 ctrl = i2c_smbus_read_byte_data(new_client, LM73_REG_CTRL); in lm73_detect() 247 conf = i2c_smbus_read_byte_data(new_client, LM73_REG_CONF); in lm73_detect() 251 id = i2c_smbus_read_byte_data(new_client, LM73_REG_ID); in lm73_detect() 256 id = i2c_smbus_read_word_data(new_client, LM73_REG_ID); in lm73_detect()
|
D | stts751.c | 648 static int stts751_detect(struct i2c_client *new_client, in stts751_detect() argument 651 struct i2c_adapter *adapter = new_client->adapter; in stts751_detect() 658 tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_MAN_ID); in stts751_detect() 663 tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_TEMP_L); in stts751_detect() 667 tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_HLIM_L); in stts751_detect() 671 tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_LLIM_L); in stts751_detect() 676 tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_SMBUS_TO); in stts751_detect() 680 tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_PROD_ID); in stts751_detect() 692 dev_dbg(&new_client->dev, "Chip %s detected", name); in stts751_detect()
|
D | lm92.c | 299 static int lm92_detect(struct i2c_client *new_client, in lm92_detect() argument 302 struct i2c_adapter *adapter = new_client->adapter; in lm92_detect() 316 regval = i2c_smbus_read_word_data(new_client, man_id_addr); in lm92_detect() 319 regval = i2c_smbus_read_byte_data(new_client, config_addr); in lm92_detect()
|
D | lm95245.c | 415 static int lm95245_detect(struct i2c_client *new_client, in lm95245_detect() argument 418 struct i2c_adapter *adapter = new_client->adapter; in lm95245_detect() 419 int address = new_client->addr; in lm95245_detect() 426 id = i2c_smbus_read_byte_data(new_client, LM95245_REG_R_MAN_ID); in lm95245_detect() 430 rev = i2c_smbus_read_byte_data(new_client, LM95245_REG_R_CHIP_ID); in lm95245_detect()
|
D | adm9240.c | 276 static int adm9240_detect(struct i2c_client *new_client, in adm9240_detect() argument 279 struct i2c_adapter *adapter = new_client->adapter; in adm9240_detect() 281 int address = new_client->addr; in adm9240_detect() 288 if (i2c_smbus_read_byte_data(new_client, ADM9240_REG_I2C_ADDR) != address) in adm9240_detect() 292 man_id = i2c_smbus_read_byte_data(new_client, ADM9240_REG_MAN_ID); in adm9240_detect() 303 die_rev = i2c_smbus_read_byte_data(new_client, ADM9240_REG_DIE_REV); in adm9240_detect()
|
D | lm95241.c | 365 static int lm95241_detect(struct i2c_client *new_client, in lm95241_detect() argument 368 struct i2c_adapter *adapter = new_client->adapter; in lm95241_detect() 375 mfg_id = i2c_smbus_read_byte_data(new_client, LM95241_REG_R_MAN_ID); in lm95241_detect() 379 chip_id = i2c_smbus_read_byte_data(new_client, LM95241_REG_R_CHIP_ID); in lm95241_detect()
|
D | emc2103.c | 630 emc2103_detect(struct i2c_client *new_client, struct i2c_board_info *info) in emc2103_detect() argument 632 struct i2c_adapter *adapter = new_client->adapter; in emc2103_detect() 638 manufacturer = i2c_smbus_read_byte_data(new_client, REG_MFG_ID); in emc2103_detect() 642 product = i2c_smbus_read_byte_data(new_client, REG_PRODUCT_ID); in emc2103_detect()
|
D | w83792d.c | 921 w83792d_detect_subclients(struct i2c_client *new_client) in w83792d_detect_subclients() argument 924 int address = new_client->addr; in w83792d_detect_subclients() 926 struct i2c_adapter *adapter = new_client->adapter; in w83792d_detect_subclients() 933 dev_err(&new_client->dev, in w83792d_detect_subclients() 939 w83792d_write_value(new_client, W83792D_REG_I2C_SUBADDR, in w83792d_detect_subclients() 944 val = w83792d_read_value(new_client, W83792D_REG_I2C_SUBADDR); in w83792d_detect_subclients() 947 dev_err(&new_client->dev, in w83792d_detect_subclients() 953 devm_i2c_new_dummy_device(&new_client->dev, adapter, 0x48 + (val & 0x7)); in w83792d_detect_subclients() 956 devm_i2c_new_dummy_device(&new_client->dev, adapter, 0x48 + ((val >> 4) & 0x7)); in w83792d_detect_subclients()
|
D | w83781d.c | 846 w83781d_detect_subclients(struct i2c_client *new_client) in w83781d_detect_subclients() argument 850 int address = new_client->addr; in w83781d_detect_subclients() 852 struct i2c_adapter *adapter = new_client->adapter; in w83781d_detect_subclients() 853 struct w83781d_data *data = i2c_get_clientdata(new_client); in w83781d_detect_subclients() 863 dev_err(&new_client->dev, in w83781d_detect_subclients() 888 dev_err(&new_client->dev, in w83781d_detect_subclients() 899 dev_err(&new_client->dev, in w83781d_detect_subclients()
|
/linux-6.12.1/drivers/gpu/vga/ |
D | vga_switcheroo.c | 707 static int vga_switchto_stage1(struct vga_switcheroo_client *new_client) in vga_switchto_stage1() argument 715 if (vga_switcheroo_pwr_state(new_client) == VGA_SWITCHEROO_OFF) in vga_switchto_stage1() 716 vga_switchon(new_client); in vga_switchto_stage1() 718 vga_set_default_device(new_client->pdev); in vga_switchto_stage1() 723 static int vga_switchto_stage2(struct vga_switcheroo_client *new_client) in vga_switchto_stage2() argument 738 if (new_client->fb_info) in vga_switchto_stage2() 739 fbcon_remap_all(new_client->fb_info); in vga_switchto_stage2() 742 ret = vgasr_priv.handler->switchto(new_client->id); in vga_switchto_stage2() 747 if (new_client->ops->reprobe) in vga_switchto_stage2() 748 new_client->ops->reprobe(new_client->pdev); in vga_switchto_stage2() [all …]
|
/linux-6.12.1/drivers/media/i2c/ |
D | adv7604.c | 2938 struct i2c_client *new_client; in adv76xx_dummy_client() local 2941 new_client = i2c_new_dummy_device(client->adapter, in adv76xx_dummy_client() 2944 new_client = i2c_new_ancillary_device(client, in adv76xx_dummy_client() 2948 if (!IS_ERR(new_client)) in adv76xx_dummy_client() 2949 io_write(sd, io_reg, new_client->addr << 1); in adv76xx_dummy_client() 2951 return new_client; in adv76xx_dummy_client()
|
/linux-6.12.1/drivers/md/ |
D | dm-bufio.c | 2813 static void __insert_client(struct dm_bufio_client *new_client) in __insert_client() argument 2820 if (time_after_eq(c->oldest_buffer, new_client->oldest_buffer)) in __insert_client() 2825 list_add_tail(&new_client->client_list, h); in __insert_client()
|