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_*
417 struct twl_client *twl;
429 twl = &twl_priv->twl_modules[sid];
431 return twl->regmap;
634 printk(KERN_WARNING "Skipping twl internal clock init and "
679 struct twl_client *twl = &twl_priv->twl_modules[i];
681 if (twl->client && twl->client != client)
682 i2c_unregister_device(twl->client);
683 twl->client = NULL;
762 struct twl_client *twl = &twl_priv->twl_modules[i];
765 twl->client = client;
767 twl->client = i2c_new_dummy_device(client->adapter,
769 if (IS_ERR(twl->client)) {
772 status = PTR_ERR(twl->client);
777 twl->regmap = devm_regmap_init_i2c(twl->client,
779 if (IS_ERR(twl->regmap)) {
780 status = PTR_ERR(twl->regmap);