Lines Matching refs:twl
34 #include <linux/mfd/twl.h>
39 #include "twl-core.h"
54 #define DRIVER_NAME "twl"
163 * <linux/mfd/twl.h> defines for TWL4030_MODULE_*
334 * <linux/mfd/twl.h> defines for TWL4030_MODULE_*
414 struct twl_client *twl;
426 twl = &twl_priv->twl_modules[sid];
428 return twl->regmap;
600 struct twl_client *twl;
608 twl = &twl_priv->twl_modules[sid];
614 pdev->dev.parent = &twl->client->dev;
647 dev_err(&twl->client->dev, "failed to add device %s\n", name);
753 child = add_child(TWL_MODULE_PWM, "twl-pwm", NULL, 0,
760 child = add_child(TWL_MODULE_LED, "twl-pwmled", NULL, 0,
1000 printk(KERN_WARNING "Skipping twl internal clock init and "
1051 struct twl_client *twl = &twl_priv->twl_modules[i];
1053 if (twl->client && twl->client != client)
1054 i2c_unregister_device(twl->client);
1055 twl->client = NULL;
1139 struct twl_client *twl = &twl_priv->twl_modules[i];
1142 twl->client = client;
1144 twl->client = i2c_new_dummy_device(client->adapter,
1146 if (IS_ERR(twl->client)) {
1149 status = PTR_ERR(twl->client);
1154 twl->regmap = devm_regmap_init_i2c(twl->client,
1156 if (IS_ERR(twl->regmap)) {
1157 status = PTR_ERR(twl->regmap);