Searched refs:i2c_pri (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/mfd/ |
A D | bcm590xx.c | 41 static int bcm590xx_i2c_probe(struct i2c_client *i2c_pri, in bcm590xx_i2c_probe() argument 51 i2c_set_clientdata(i2c_pri, bcm590xx); in bcm590xx_i2c_probe() 52 bcm590xx->dev = &i2c_pri->dev; in bcm590xx_i2c_probe() 53 bcm590xx->i2c_pri = i2c_pri; in bcm590xx_i2c_probe() 55 bcm590xx->regmap_pri = devm_regmap_init_i2c(i2c_pri, in bcm590xx_i2c_probe() 59 dev_err(&i2c_pri->dev, "primary regmap init failed: %d\n", ret); in bcm590xx_i2c_probe() 64 bcm590xx->i2c_sec = i2c_new_dummy_device(i2c_pri->adapter, in bcm590xx_i2c_probe() 65 i2c_pri->addr | BIT(2)); in bcm590xx_i2c_probe() 67 dev_err(&i2c_pri->dev, "failed to add secondary I2C device\n"); in bcm590xx_i2c_probe() 81 ret = devm_mfd_add_devices(&i2c_pri->dev, -1, bcm590xx_devs, in bcm590xx_i2c_probe() [all …]
|
/linux/include/linux/mfd/ |
A D | bcm590xx.h | 22 struct i2c_client *i2c_pri; member
|
Completed in 4 milliseconds