Lines Matching refs:lp55xx_write
117 lp55xx_write(led->chip, LP5521_REG_LED_CURRENT_BASE + led->chan_nr, in lp5521_set_led_current()
143 lp55xx_write(chip, LP5521_REG_OP_MODE, 0); in lp5521_stop_all_engines()
170 lp55xx_write(chip, LP5521_REG_OP_MODE, LP5521_CMD_DIRECT); in lp5521_run_engine()
204 lp55xx_write(chip, LP5521_REG_OP_MODE, mode); in lp5521_run_engine()
248 ret = lp55xx_write(chip, addr[idx] + i, pattern[i]); in lp5521_update_program_memory()
306 ret = lp55xx_write(chip, LP5521_REG_OP_MODE, LP5521_CMD_DIRECT); in lp5521_post_init_device()
313 ret = lp55xx_write(chip, LP5521_REG_CONFIG, val); in lp5521_post_init_device()
318 lp55xx_write(chip, LP5521_REG_R_PWM, 0); in lp5521_post_init_device()
319 lp55xx_write(chip, LP5521_REG_G_PWM, 0); in lp5521_post_init_device()
320 lp55xx_write(chip, LP5521_REG_B_PWM, 0); in lp5521_post_init_device()
323 ret = lp55xx_write(chip, LP5521_REG_ENABLE, LP5521_ENABLE_RUN_PROGRAM); in lp5521_post_init_device()
360 ret = lp55xx_write(chip, in lp5521_multicolor_brightness()
377 ret = lp55xx_write(chip, LP5521_REG_LED_PWM_BASE + led->chan_nr, in lp5521_led_brightness()