rt5033 62 drivers/mfd/rt5033.c struct rt5033_dev *rt5033; rt5033 66 drivers/mfd/rt5033.c rt5033 = devm_kzalloc(&i2c->dev, sizeof(*rt5033), GFP_KERNEL); rt5033 67 drivers/mfd/rt5033.c if (!rt5033) rt5033 70 drivers/mfd/rt5033.c i2c_set_clientdata(i2c, rt5033); rt5033 71 drivers/mfd/rt5033.c rt5033->dev = &i2c->dev; rt5033 72 drivers/mfd/rt5033.c rt5033->irq = i2c->irq; rt5033 73 drivers/mfd/rt5033.c rt5033->wakeup = true; rt5033 75 drivers/mfd/rt5033.c rt5033->regmap = devm_regmap_init_i2c(i2c, &rt5033_regmap_config); rt5033 76 drivers/mfd/rt5033.c if (IS_ERR(rt5033->regmap)) { rt5033 78 drivers/mfd/rt5033.c return PTR_ERR(rt5033->regmap); rt5033 81 drivers/mfd/rt5033.c ret = regmap_read(rt5033->regmap, RT5033_REG_DEVICE_ID, &dev_id); rt5033 88 drivers/mfd/rt5033.c ret = regmap_add_irq_chip(rt5033->regmap, rt5033->irq, rt5033 90 drivers/mfd/rt5033.c 0, &rt5033_irq_chip, &rt5033->irq_data); rt5033 93 drivers/mfd/rt5033.c rt5033->irq, ret); rt5033 97 drivers/mfd/rt5033.c ret = devm_mfd_add_devices(rt5033->dev, -1, rt5033_devs, rt5033 99 drivers/mfd/rt5033.c regmap_irq_get_domain(rt5033->irq_data)); rt5033 105 drivers/mfd/rt5033.c device_init_wakeup(rt5033->dev, rt5033->wakeup); rt5033 83 drivers/regulator/rt5033-regulator.c struct rt5033_dev *rt5033 = dev_get_drvdata(pdev->dev.parent); rt5033 87 drivers/regulator/rt5033-regulator.c config.dev = rt5033->dev; rt5033 88 drivers/regulator/rt5033-regulator.c config.driver_data = rt5033; rt5033 93 drivers/regulator/rt5033-regulator.c config.regmap = rt5033->regmap; rt5033 37 include/linux/mfd/rt5033.h struct rt5033_dev *rt5033; rt5033 53 include/linux/mfd/rt5033.h struct rt5033_dev *rt5033;