Home
last modified time | relevance | path

Searched refs:rt5033 (Results 1 – 4 of 4) sorted by relevance

/drivers/mfd/
Drt5033.c65 struct rt5033_dev *rt5033; in rt5033_i2c_probe() local
69 rt5033 = devm_kzalloc(&i2c->dev, sizeof(*rt5033), GFP_KERNEL); in rt5033_i2c_probe()
70 if (!rt5033) in rt5033_i2c_probe()
73 i2c_set_clientdata(i2c, rt5033); in rt5033_i2c_probe()
74 rt5033->dev = &i2c->dev; in rt5033_i2c_probe()
75 rt5033->irq = i2c->irq; in rt5033_i2c_probe()
76 rt5033->wakeup = true; in rt5033_i2c_probe()
78 rt5033->regmap = devm_regmap_init_i2c(i2c, &rt5033_regmap_config); in rt5033_i2c_probe()
79 if (IS_ERR(rt5033->regmap)) { in rt5033_i2c_probe()
81 return PTR_ERR(rt5033->regmap); in rt5033_i2c_probe()
[all …]
DMakefile190 obj-$(CONFIG_MFD_RT5033) += rt5033.o
/drivers/regulator/
Drt5033-regulator.c86 struct rt5033_dev *rt5033 = dev_get_drvdata(pdev->dev.parent); in rt5033_regulator_probe() local
90 config.dev = rt5033->dev; in rt5033_regulator_probe()
91 config.driver_data = rt5033; in rt5033_regulator_probe()
96 config.regmap = rt5033->regmap; in rt5033_regulator_probe()
DMakefile77 obj-$(CONFIG_REGULATOR_RT5033) += rt5033-regulator.o