Lines Matching refs:da9052
34 struct da9052 *da9052; member
52 error = da9052_reg_write(led->da9052, led_reg[led->led_index], val); in da9052_set_led_brightness()
54 dev_err(led->da9052->dev, "Failed to set led brightness, %d\n", in da9052_set_led_brightness()
68 static int da9052_configure_leds(struct da9052 *da9052) in da9052_configure_leds() argument
74 error = da9052_reg_update(da9052, DA9052_GPIO_14_15_REG, in da9052_configure_leds()
79 dev_err(da9052->dev, "Failed to write GPIO 14-15 reg, %d\n", in da9052_configure_leds()
84 error = da9052_reg_update(da9052, DA9052_GPIO_14_15_REG, in da9052_configure_leds()
88 dev_err(da9052->dev, "Failed to write GPIO 14-15 reg, %d\n", in da9052_configure_leds()
97 struct da9052 *da9052; in da9052_led_probe() local
103 da9052 = dev_get_drvdata(pdev->dev.parent); in da9052_led_probe()
104 pdata = dev_get_platdata(da9052->dev); in da9052_led_probe()
130 led[i].da9052 = dev_get_drvdata(pdev->dev.parent); in da9052_led_probe()
147 error = da9052_configure_leds(led->da9052); in da9052_led_probe()
168 struct da9052 *da9052; in da9052_led_remove() local
172 da9052 = dev_get_drvdata(pdev->dev.parent); in da9052_led_remove()
173 pdata = dev_get_platdata(da9052->dev); in da9052_led_remove()