Lines Matching refs:da9052
29 struct da9052 *da9052; member
47 error = da9052_reg_write(led->da9052, led_reg[led->led_index], val); in da9052_set_led_brightness()
49 dev_err(led->da9052->dev, "Failed to set led brightness, %d\n", in da9052_set_led_brightness()
63 static int da9052_configure_leds(struct da9052 *da9052) in da9052_configure_leds() argument
69 error = da9052_reg_update(da9052, DA9052_GPIO_14_15_REG, in da9052_configure_leds()
74 dev_err(da9052->dev, "Failed to write GPIO 14-15 reg, %d\n", in da9052_configure_leds()
79 error = da9052_reg_update(da9052, DA9052_GPIO_14_15_REG, in da9052_configure_leds()
83 dev_err(da9052->dev, "Failed to write GPIO 14-15 reg, %d\n", in da9052_configure_leds()
92 struct da9052 *da9052; in da9052_led_probe() local
98 da9052 = dev_get_drvdata(pdev->dev.parent); in da9052_led_probe()
99 pdata = dev_get_platdata(da9052->dev); in da9052_led_probe()
125 led[i].da9052 = dev_get_drvdata(pdev->dev.parent); in da9052_led_probe()
142 error = da9052_configure_leds(led->da9052); in da9052_led_probe()
163 struct da9052 *da9052; in da9052_led_remove() local
167 da9052 = dev_get_drvdata(pdev->dev.parent); in da9052_led_remove()
168 pdata = dev_get_platdata(da9052->dev); in da9052_led_remove()