Searched refs:i2c_pri (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/mfd/
H A Dbcm590xx.c45 static int bcm590xx_i2c_probe(struct i2c_client *i2c_pri, bcm590xx_i2c_probe() argument
51 bcm590xx = devm_kzalloc(&i2c_pri->dev, sizeof(*bcm590xx), GFP_KERNEL); bcm590xx_i2c_probe()
55 i2c_set_clientdata(i2c_pri, bcm590xx); bcm590xx_i2c_probe()
56 bcm590xx->dev = &i2c_pri->dev; bcm590xx_i2c_probe()
57 bcm590xx->i2c_pri = i2c_pri; bcm590xx_i2c_probe()
59 bcm590xx->regmap_pri = devm_regmap_init_i2c(i2c_pri, bcm590xx_i2c_probe()
63 dev_err(&i2c_pri->dev, "primary regmap init failed: %d\n", ret); bcm590xx_i2c_probe()
68 bcm590xx->i2c_sec = i2c_new_dummy(i2c_pri->adapter, bcm590xx_i2c_probe()
69 i2c_pri->addr | BIT(2)); bcm590xx_i2c_probe()
71 dev_err(&i2c_pri->dev, "failed to add secondary I2C device\n"); bcm590xx_i2c_probe()
85 ret = mfd_add_devices(&i2c_pri->dev, -1, bcm590xx_devs, bcm590xx_i2c_probe()
88 dev_err(&i2c_pri->dev, "failed to add sub-devices: %d\n", ret); bcm590xx_i2c_probe()
/linux-4.4.14/include/linux/mfd/
H A Dbcm590xx.h27 struct i2c_client *i2c_pri; member in struct:bcm590xx

Completed in 243 milliseconds