Searched refs:lmu (Results 1 – 11 of 11) sorted by relevance
28 static int ti_lmu_enable_hw(struct ti_lmu *lmu, enum ti_lmu_id id) in ti_lmu_enable_hw() argument30 if (lmu->en_gpio) in ti_lmu_enable_hw()31 gpiod_set_value(lmu->en_gpio, 1); in ti_lmu_enable_hw()38 return regmap_update_bits(lmu->regmap, LM3631_REG_DEVCTRL, in ti_lmu_enable_hw()48 struct ti_lmu *lmu = data; in ti_lmu_disable_hw() local49 if (lmu->en_gpio) in ti_lmu_disable_hw()50 gpiod_set_value(lmu->en_gpio, 0); in ti_lmu_disable_hw()141 struct ti_lmu *lmu; in ti_lmu_probe() local152 lmu = devm_kzalloc(dev, sizeof(*lmu), GFP_KERNEL); in ti_lmu_probe()153 if (!lmu) in ti_lmu_probe()[all …]
156 obj-$(CONFIG_MFD_TI_LMU) += ti-lmu.o
174 s16 *lmu; member373 user->lmu = user->si + ((2 * req->ecc.strength) + 1); in atmel_pmecc_create_user()374 user->smu = user->lmu + (req->ecc.strength + 1); in atmel_pmecc_create_user()481 s16 *lmu = user->lmu; in atmel_pmecc_get_sigma() local514 lmu[0] = 0; in atmel_pmecc_get_sigma()515 delta[0] = (mu[0] * 2 - lmu[0]) >> 1; in atmel_pmecc_get_sigma()529 lmu[1] = 0; in atmel_pmecc_get_sigma()531 delta[1] = (mu[1] * 2 - lmu[1]) >> 1; in atmel_pmecc_get_sigma()543 tmp = ((strength - (lmu[i] >> 1) - 1) / 2); in atmel_pmecc_get_sigma()544 if ((strength - (lmu[i] >> 1) - 1) & 0x1) in atmel_pmecc_get_sigma()[all …]
30 - ti,brightness-resolution - see Documentation/devicetree/bindings/mfd/ti-lmu.txt31 - ramp-up-us: see Documentation/devicetree/bindings/mfd/ti-lmu.txt32 - ramp-down-us: see Documentation/devicetree/bindings/mfd/ti-lmu.txt
9 Documentation/devicetree/bindings/mfd/ti-lmu.txt
109 struct ti_lmu *lmu = dev_get_drvdata(pdev->dev.parent); in lm36274_probe() local120 chip->regmap = lmu->regmap; in lm36274_probe()
88 obj-$(CONFIG_LEDS_TI_LMU_COMMON) += leds-ti-lmu-common.o
31 Examples: Please refer to ti-lmu dt-bindings [2].108 [2] ../mfd/ti-lmu.txt
314 struct ti_lmu *lmu = dev_get_drvdata(pdev->dev.parent); in lm363x_regulator_probe() local315 struct regmap *regmap = lmu->regmap; in lm363x_regulator_probe()
60 [1] ../leds/backlight/ti-lmu-backlight.txt152 pwm-names = "lmu-backlight";
326 https://lmu.web.psi.ch/docu/manuals/software_manuals/linux_sl/usb_linux_programming_guide.pdf