Home
last modified time | relevance | path

Searched refs:atc260x (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/drivers/mfd/
H A Datc260x-core.c10 #include <linux/mfd/atc260x/core.h>
123 { .name = "atc260x-regulator" },
124 { .name = "atc260x-pwrc" },
126 .name = "atc260x-onkey",
133 { .name = "atc260x-regulator" },
134 { .name = "atc260x-pwrc" },
136 .name = "atc260x-onkey",
158 static void atc260x_cmu_reset(struct atc260x *atc260x) in atc260x_cmu_reset() argument
160 const struct atc260x_init_regs *regs = atc260x in atc260x_cmu_reset()
171 atc260x_dev_init(struct atc260x *atc260x) atc260x_dev_init() argument
195 atc260x_match_device(struct atc260x *atc260x, struct regmap_config *regmap_cfg) atc260x_match_device() argument
255 atc260x_device_probe(struct atc260x *atc260x) atc260x_device_probe() argument
[all...]
H A Datc260x-i2c.c10 #include <linux/mfd/atc260x/core.h>
17 struct atc260x *atc260x; in atc260x_i2c_probe() local
21 atc260x = devm_kzalloc(&client->dev, sizeof(*atc260x), GFP_KERNEL); in atc260x_i2c_probe()
22 if (!atc260x) in atc260x_i2c_probe()
25 atc260x->dev = &client->dev; in atc260x_i2c_probe()
26 atc260x->irq = client->irq; in atc260x_i2c_probe()
28 ret = atc260x_match_device(atc260x, &regmap_cfg); in atc260x_i2c_probe()
32 i2c_set_clientdata(client, atc260x); in atc260x_i2c_probe()
[all...]
H A DMakefile280 obj-$(CONFIG_MFD_ATC260X) += atc260x-core.o
281 obj-$(CONFIG_MFD_ATC260X_I2C) += atc260x-i2c.o
/kernel/linux/linux-6.6/include/linux/mfd/atc260x/
H A Dcore.h12 #include <linux/mfd/atc260x/atc2603c.h>
13 #include <linux/mfd/atc260x/atc2609a.h>
32 struct atc260x { struct
55 int atc260x_match_device(struct atc260x *atc260x, struct regmap_config *regmap_cfg);
56 int atc260x_device_probe(struct atc260x *atc260x);
/kernel/linux/linux-6.6/drivers/input/misc/
H A Datc260x-onkey.c11 #include <linux/mfd/atc260x/core.h>
41 struct atc260x *atc260x; member
97 return regmap_update_bits(onkey->atc260x->regmap, in atc2603x_onkey_hw_init()
106 ret = regmap_read(onkey->atc260x->regmap, in atc260x_onkey_query()
110 dev_err(onkey->atc260x->dev, in atc260x_onkey_query()
140 regmap_update_bits(onkey->atc260x->regmap, onkey->params->reg_int_ctl, in atc260x_onkey_query()
157 ret = regmap_update_bits(onkey->atc260x->regmap, in atc260x_onkey_irq()
162 dev_err(onkey->atc260x->dev, in atc260x_onkey_irq()
192 struct atc260x *atc260 in atc260x_onkey_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/power/reset/
H A Datc260x-poweroff.c9 #include <linux/mfd/atc260x/core.h>
187 struct atc260x *atc260x = dev_get_drvdata(pdev->dev.parent); in atc260x_pwrc_probe() local
196 priv->regmap = atc260x->regmap; in atc260x_pwrc_probe()
200 switch (atc260x->ic_type) { in atc260x_pwrc_probe()
212 atc260x->ic_type); in atc260x_pwrc_probe()
254 .name = "atc260x-pwrc",
/kernel/linux/linux-6.6/drivers/regulator/
H A Datc260x-regulator.c8 #include <linux/mfd/atc260x/core.h>
475 struct atc260x *atc260x = dev_get_drvdata(pdev->dev.parent); in atc260x_regulator_probe() local
476 struct device *dev = atc260x->dev; in atc260x_regulator_probe()
491 switch (atc260x->ic_type) { in atc260x_regulator_probe()
495 atc2603c_ver_b = atc260x->ic_ver == ATC260X_B; in atc260x_regulator_probe()
503 dev_err(dev, "unsupported ATC260X ID %d\n", atc260x->ic_type); in atc260x_regulator_probe()
508 config.regmap = atc260x->regmap; in atc260x_regulator_probe()
533 .name = "atc260x-regulator",

Completed in 6 milliseconds