Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mfd/
Drt5033.c62 struct rt5033_dev *rt5033; in rt5033_i2c_probe() local
66 rt5033 = devm_kzalloc(&i2c->dev, sizeof(*rt5033), GFP_KERNEL); in rt5033_i2c_probe()
67 if (!rt5033) in rt5033_i2c_probe()
70 i2c_set_clientdata(i2c, rt5033); in rt5033_i2c_probe()
71 rt5033->dev = &i2c->dev; in rt5033_i2c_probe()
72 rt5033->irq = i2c->irq; in rt5033_i2c_probe()
73 rt5033->wakeup = true; in rt5033_i2c_probe()
75 rt5033->regmap = devm_regmap_init_i2c(i2c, &rt5033_regmap_config); in rt5033_i2c_probe()
76 if (IS_ERR(rt5033->regmap)) { in rt5033_i2c_probe()
78 return PTR_ERR(rt5033->regmap); in rt5033_i2c_probe()
[all …]
DMakefile238 obj-$(CONFIG_MFD_RT5033) += rt5033.o
/kernel/linux/linux-5.10/drivers/regulator/
Drt5033-regulator.c83 struct rt5033_dev *rt5033 = dev_get_drvdata(pdev->dev.parent); in rt5033_regulator_probe() local
87 config.dev = rt5033->dev; in rt5033_regulator_probe()
88 config.driver_data = rt5033; in rt5033_regulator_probe()
93 config.regmap = rt5033->regmap; in rt5033_regulator_probe()
DMakefile118 obj-$(CONFIG_REGULATOR_RT5033) += rt5033-regulator.o
/kernel/linux/linux-5.10/include/linux/mfd/
Drt5033.h37 struct rt5033_dev *rt5033; member
53 struct rt5033_dev *rt5033; member