Searched defs:twl6040 (Results 1 - 4 of 4) sorted by relevance
/drivers/gpio/ |
H A D | gpio-twl6040.c | 33 #include <linux/mfd/twl6040.h> 39 struct twl6040 *twl6040 = dev_get_drvdata(chip->dev->parent); local 42 ret = twl6040_reg_read(twl6040, TWL6040_REG_GPOCTL); 58 struct twl6040 *twl6040 = dev_get_drvdata(chip->dev->parent); local 62 ret = twl6040_reg_read(twl6040, TWL6040_REG_GPOCTL); 71 twl6040_reg_write(twl6040, TWL6040_REG_GPOCTL, gpoctl); 75 .label = "twl6040", 88 struct twl6040 *twl604 local [all...] |
/drivers/clk/ |
H A D | clk-twl6040.c | 27 #include <linux/mfd/twl6040.h> 31 struct twl6040 *twl6040; member in struct:twl6040_clk 51 ret = twl6040_power(twl6040_clk->twl6040, 1); 64 ret = twl6040_power(twl6040_clk->twl6040, 0); 83 struct twl6040 *twl6040 = dev_get_drvdata(pdev->dev.parent); local 91 clkdata->twl6040 = twl6040; 114 .name = "twl6040 [all...] |
/drivers/input/misc/ |
H A D | twl6040-vibra.c | 2 * twl6040-vibra.c - TWL6040 Vibrator driver 33 #include <linux/mfd/twl6040.h> 65 struct twl6040 *twl6040; member in struct:vibra_info 71 struct twl6040 *twl6040 = info->twl6040; local 74 status = twl6040_reg_read(twl6040, TWL6040_REG_STATUS); 77 twl6040_clear_bits(twl6040, TWL6040_REG_VIBCTLL, 82 twl6040_clear_bits(twl6040, TWL6040_REG_VIBCTL 91 struct twl6040 *twl6040 = info->twl6040; local 124 struct twl6040 *twl6040 = info->twl6040; local 161 struct twl6040 *twl6040 = info->twl6040; local [all...] |
/drivers/mfd/ |
H A D | twl6040.c | 41 #include <linux/mfd/twl6040.h> 109 int twl6040_reg_read(struct twl6040 *twl6040, unsigned int reg) argument 114 ret = regmap_read(twl6040->regmap, reg, &val); 122 int twl6040_reg_write(struct twl6040 *twl6040, unsigned int reg, u8 val) argument 126 ret = regmap_write(twl6040->regmap, reg, val); 132 int twl6040_set_bits(struct twl6040 *twl6040, unsigned int reg, u8 mask) argument 134 return regmap_update_bits(twl6040 138 twl6040_clear_bits(struct twl6040 *twl6040, unsigned int reg, u8 mask) argument 145 twl6040_power_up_manual(struct twl6040 *twl6040) argument 204 twl6040_power_down_manual(struct twl6040 *twl6040) argument 236 struct twl6040 *twl6040 = data; local 245 struct twl6040 *twl6040 = data; local 260 twl6040_power_up_automatic(struct twl6040 *twl6040) argument 283 twl6040_power(struct twl6040 *twl6040, int on) argument 361 twl6040_set_pll(struct twl6040 *twl6040, int pll_id, unsigned int freq_in, unsigned int freq_out) argument 498 twl6040_get_pll(struct twl6040 *twl6040) argument 507 twl6040_get_sysclk(struct twl6040 *twl6040) argument 514 twl6040_get_vibralr_status(struct twl6040 *twl6040) argument 622 struct twl6040 *twl6040; local 780 struct twl6040 *twl6040 = i2c_get_clientdata(client); local [all...] |
Completed in 107 milliseconds