i2c_pri 41 drivers/mfd/bcm590xx.c static int bcm590xx_i2c_probe(struct i2c_client *i2c_pri, i2c_pri 47 drivers/mfd/bcm590xx.c bcm590xx = devm_kzalloc(&i2c_pri->dev, sizeof(*bcm590xx), GFP_KERNEL); i2c_pri 51 drivers/mfd/bcm590xx.c i2c_set_clientdata(i2c_pri, bcm590xx); i2c_pri 52 drivers/mfd/bcm590xx.c bcm590xx->dev = &i2c_pri->dev; i2c_pri 53 drivers/mfd/bcm590xx.c bcm590xx->i2c_pri = i2c_pri; i2c_pri 55 drivers/mfd/bcm590xx.c bcm590xx->regmap_pri = devm_regmap_init_i2c(i2c_pri, i2c_pri 59 drivers/mfd/bcm590xx.c dev_err(&i2c_pri->dev, "primary regmap init failed: %d\n", ret); i2c_pri 64 drivers/mfd/bcm590xx.c bcm590xx->i2c_sec = i2c_new_dummy_device(i2c_pri->adapter, i2c_pri 65 drivers/mfd/bcm590xx.c i2c_pri->addr | BIT(2)); i2c_pri 67 drivers/mfd/bcm590xx.c dev_err(&i2c_pri->dev, "failed to add secondary I2C device\n"); i2c_pri 81 drivers/mfd/bcm590xx.c ret = devm_mfd_add_devices(&i2c_pri->dev, -1, bcm590xx_devs, i2c_pri 84 drivers/mfd/bcm590xx.c dev_err(&i2c_pri->dev, "failed to add sub-devices: %d\n", ret); i2c_pri 22 include/linux/mfd/bcm590xx.h struct i2c_client *i2c_pri;