Searched refs:as3711 (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/video/backlight/ |
D | as3711_bl.c | 37 struct as3711 *as3711; member 55 struct as3711 *as3711 = supply->as3711; in as3711_set_brightness_auto_i() local 61 ret = regmap_write(as3711->regmap, AS3711_CURR1_VALUE, in as3711_set_brightness_auto_i() 64 ret = regmap_write(as3711->regmap, AS3711_CURR2_VALUE, in as3711_set_brightness_auto_i() 67 ret = regmap_write(as3711->regmap, AS3711_CURR3_VALUE, in as3711_set_brightness_auto_i() 73 static int as3711_set_brightness_v(struct as3711 *as3711, in as3711_set_brightness_v() argument 80 return regmap_update_bits(as3711->regmap, reg, 0xf0, in as3711_set_brightness_v() 86 struct as3711 *as3711 = supply->as3711; in as3711_bl_su2_reset() local 87 int ret = regmap_update_bits(as3711->regmap, AS3711_STEPUP_CONTROL_5, in as3711_bl_su2_reset() 90 ret = regmap_update_bits(as3711->regmap, in as3711_bl_su2_reset() [all …]
|
/Linux-v5.4/drivers/mfd/ |
D | as3711.c | 122 struct as3711 *as3711; in as3711_i2c_probe() local 138 as3711 = devm_kzalloc(&client->dev, sizeof(struct as3711), GFP_KERNEL); in as3711_i2c_probe() 139 if (!as3711) in as3711_i2c_probe() 142 as3711->dev = &client->dev; in as3711_i2c_probe() 143 i2c_set_clientdata(client, as3711); in as3711_i2c_probe() 148 as3711->regmap = devm_regmap_init_i2c(client, &as3711_regmap_config); in as3711_i2c_probe() 149 if (IS_ERR(as3711->regmap)) { in as3711_i2c_probe() 150 ret = PTR_ERR(as3711->regmap); in as3711_i2c_probe() 156 ret = regmap_read(as3711->regmap, AS3711_ASIC_ID_1, &id1); in as3711_i2c_probe() 158 ret = regmap_read(as3711->regmap, AS3711_ASIC_ID_2, &id2); in as3711_i2c_probe() [all …]
|
D | Makefile | 225 obj-$(CONFIG_MFD_AS3711) += as3711.o
|
/Linux-v5.4/Documentation/devicetree/bindings/mfd/ |
D | as3711.txt | 9 - compatible : must be "ams,as3711" 44 as3711@40 { 45 compatible = "ams,as3711"; 64 compatible = "ams,as3711-bl";
|
/Linux-v5.4/drivers/regulator/ |
D | as3711-regulator.c | 206 struct as3711 *as3711 = dev_get_drvdata(pdev->dev.parent); in as3711_regulator_probe() local 228 config.regmap = as3711->regmap; in as3711_regulator_probe()
|
D | Makefile | 26 obj-$(CONFIG_REGULATOR_AS3711) += as3711-regulator.o
|
/Linux-v5.4/include/linux/mfd/ |
D | as3711.h | 75 struct as3711 { struct
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | sh73a0-kzm9g.dts | 225 as3711@40 { 226 compatible = "ams,as3711";
|
/Linux-v5.4/include/ |
D | Kbuild | 311 header-test- += linux/mfd/as3711.h
|