Searched refs:lp55xx_write (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/leds/
H A Dleds-lp5562.c127 lp55xx_write(led->chip, addr[led->chan_nr], led_current); lp5562_set_led_current()
152 lp55xx_write(chip, LP5562_REG_OP_MODE, LP5562_CMD_DISABLE); lp5562_stop_engine()
164 lp55xx_write(chip, LP5562_REG_ENABLE, LP5562_ENABLE_DEFAULT); lp5562_run_engine()
167 lp55xx_write(chip, LP5562_REG_ENG_SEL, LP5562_ENG_SEL_PWM); lp5562_run_engine()
168 lp55xx_write(chip, LP5562_REG_OP_MODE, LP5562_CMD_DIRECT); lp5562_run_engine()
202 lp55xx_write(chip, LP5562_REG_OP_MODE, mode); lp5562_run_engine()
229 lp55xx_write(chip, addr[idx] + i, 0); lp5562_update_firmware()
253 lp55xx_write(chip, addr[idx] + i, pattern[i]); lp5562_update_firmware()
288 ret = lp55xx_write(chip, LP5562_REG_OP_MODE, LP5562_CMD_DIRECT); lp5562_post_init_device()
298 ret = lp55xx_write(chip, LP5562_REG_CONFIG, cfg); lp5562_post_init_device()
303 lp55xx_write(chip, LP5562_REG_R_PWM, 0); lp5562_post_init_device()
304 lp55xx_write(chip, LP5562_REG_G_PWM, 0); lp5562_post_init_device()
305 lp55xx_write(chip, LP5562_REG_B_PWM, 0); lp5562_post_init_device()
306 lp55xx_write(chip, LP5562_REG_W_PWM, 0); lp5562_post_init_device()
309 lp55xx_write(chip, LP5562_REG_ENG_SEL, LP5562_ENG_SEL_PWM); lp5562_post_init_device()
327 lp55xx_write(chip, addr[led->chan_nr], led->brightness); lp5562_led_brightness_work()
340 lp55xx_write(chip, base + i, *(rgb + i)); lp5562_write_program_memory()
342 lp55xx_write(chip, base + i, 0); lp5562_write_program_memory()
343 lp55xx_write(chip, base + i + 1, 0); lp5562_write_program_memory()
373 lp55xx_write(chip, LP5562_REG_ENG_SEL, LP5562_ENG_SEL_RGB); lp5562_run_predef_led_pattern()
382 lp55xx_write(chip, LP5562_REG_PROG_MEM_ENG1, 0); lp5562_run_predef_led_pattern()
383 lp55xx_write(chip, LP5562_REG_PROG_MEM_ENG1 + 1, 0); lp5562_run_predef_led_pattern()
384 lp55xx_write(chip, LP5562_REG_PROG_MEM_ENG2, 0); lp5562_run_predef_led_pattern()
385 lp55xx_write(chip, LP5562_REG_PROG_MEM_ENG2 + 1, 0); lp5562_run_predef_led_pattern()
386 lp55xx_write(chip, LP5562_REG_PROG_MEM_ENG3, 0); lp5562_run_predef_led_pattern()
387 lp55xx_write(chip, LP5562_REG_PROG_MEM_ENG3 + 1, 0); lp5562_run_predef_led_pattern()
H A Dleds-lp8501.c90 lp55xx_write(led->chip, LP8501_REG_LED_CURRENT_BASE + led->chan_nr, lp8501_set_led_current()
99 ret = lp55xx_write(chip, LP8501_REG_ENABLE, LP8501_ENABLE); lp8501_post_init_device()
109 ret = lp55xx_write(chip, LP8501_REG_CONFIG, val); lp8501_post_init_device()
143 lp55xx_write(chip, LP8501_REG_PROG_PAGE_SEL, page_sel[idx]); lp8501_load_engine()
148 lp55xx_write(chip, LP8501_REG_OP_MODE, 0); lp8501_stop_engine()
157 lp55xx_write(chip, LP8501_REG_LED_PWM_BASE + i, 0); lp8501_turn_off_channels()
202 lp55xx_write(chip, LP8501_REG_OP_MODE, mode); lp8501_run_engine()
222 lp55xx_write(chip, LP8501_REG_PROG_MEM + i, 0); lp8501_update_program_memory()
246 lp55xx_write(chip, LP8501_REG_PROG_MEM + i, pattern[i]); lp8501_update_program_memory()
282 lp55xx_write(chip, LP8501_REG_LED_PWM_BASE + led->chan_nr, lp8501_led_brightness_work()
H A Dleds-lp5523.c134 lp55xx_write(led->chip, LP5523_REG_LED_CURRENT_BASE + led->chan_nr, lp5523_set_led_current()
142 ret = lp55xx_write(chip, LP5523_REG_ENABLE, LP5523_ENABLE); lp5523_post_init_device()
149 ret = lp55xx_write(chip, LP5523_REG_CONFIG, lp5523_post_init_device()
157 ret = lp55xx_write(chip, LP5523_REG_ENABLE_LEDS_MSB, 0x01); lp5523_post_init_device()
161 ret = lp55xx_write(chip, LP5523_REG_ENABLE_LEDS_LSB, 0xff); lp5523_post_init_device()
199 lp55xx_write(chip, LP5523_REG_PROG_PAGE_SEL, page_sel[idx]); lp5523_load_engine_and_select_page()
204 lp55xx_write(chip, LP5523_REG_OP_MODE, 0); lp5523_stop_all_engines()
227 lp55xx_write(chip, LP5523_REG_LED_PWM_BASE + i, 0); lp5523_turn_off_channels()
272 lp55xx_write(chip, LP5523_REG_OP_MODE, mode); lp5523_run_engine()
292 ret = lp55xx_write(chip, LP5523_REG_CH1_PROG_START, 0x00); lp5523_init_program_engine()
296 ret = lp55xx_write(chip, LP5523_REG_CH2_PROG_START, 0x10); lp5523_init_program_engine()
300 ret = lp55xx_write(chip, LP5523_REG_CH3_PROG_START, 0x20); lp5523_init_program_engine()
310 ret = lp55xx_write(chip, LP5523_REG_PROG_MEM + j, lp5523_init_program_engine()
367 ret = lp55xx_write(chip, LP5523_REG_PROG_MEM + i, pattern[i]); lp5523_update_program_memory()
516 ret = lp55xx_write(chip, LP5523_REG_PROG_PAGE_SEL, mux_page[nr]); lp5523_load_mux()
520 ret = lp55xx_write(chip, LP5523_REG_PROG_MEM , (u8)(mux >> 8)); lp5523_load_mux()
524 ret = lp55xx_write(chip, LP5523_REG_PROG_MEM + 1, (u8)(mux)); lp5523_load_mux()
610 lp55xx_write(chip, LP5523_REG_LED_TEST_CTRL, LP5523_EN_LEDTEST | 16); lp5523_selftest()
631 lp55xx_write(chip, LP5523_REG_LED_CURRENT_BASE + i, lp5523_selftest()
634 lp55xx_write(chip, LP5523_REG_LED_PWM_BASE + i, 0xff); lp5523_selftest()
637 lp55xx_write(chip, LP5523_REG_LED_TEST_CTRL, lp5523_selftest()
655 lp55xx_write(chip, LP5523_REG_LED_PWM_BASE + i, 0x00); lp5523_selftest()
658 lp55xx_write(chip, LP5523_REG_LED_CURRENT_BASE + i, lp5523_selftest()
728 ret = lp55xx_write(chip, LP5523_REG_MASTER_FADER_BASE + nr - 1, store_master_fader()
812 lp55xx_write(chip, LP5523_REG_LED_PWM_BASE + led->chan_nr, lp5523_led_brightness_work()
H A Dleds-lp5521.c130 lp55xx_write(led->chip, LP5521_REG_LED_CURRENT_BASE + led->chan_nr, lp5521_set_led_current()
156 lp55xx_write(chip, LP5521_REG_OP_MODE, 0); lp5521_stop_all_engines()
183 lp55xx_write(chip, LP5521_REG_OP_MODE, LP5521_CMD_DIRECT); lp5521_run_engine()
217 lp55xx_write(chip, LP5521_REG_OP_MODE, mode); lp5521_run_engine()
261 ret = lp55xx_write(chip, addr[idx] + i, pattern[i]); lp5521_update_program_memory()
319 ret = lp55xx_write(chip, LP5521_REG_OP_MODE, LP5521_CMD_DIRECT); lp5521_post_init_device()
326 ret = lp55xx_write(chip, LP5521_REG_CONFIG, val); lp5521_post_init_device()
331 lp55xx_write(chip, LP5521_REG_R_PWM, 0); lp5521_post_init_device()
332 lp55xx_write(chip, LP5521_REG_G_PWM, 0); lp5521_post_init_device()
333 lp55xx_write(chip, LP5521_REG_B_PWM, 0); lp5521_post_init_device()
336 ret = lp55xx_write(chip, LP5521_REG_ENABLE, LP5521_ENABLE_RUN_PROGRAM); lp5521_post_init_device()
372 lp55xx_write(chip, LP5521_REG_LED_PWM_BASE + led->chan_nr, lp5521_led_brightness_work()
H A Dleds-lp55xx-common.c48 lp55xx_write(chip, addr, val); lp55xx_reset_device()
58 ret = lp55xx_write(chip, addr, val); lp55xx_detect_device()
321 int lp55xx_write(struct lp55xx_chip *chip, u8 reg, u8 val) lp55xx_write() function
325 EXPORT_SYMBOL_GPL(lp55xx_write); variable
352 return lp55xx_write(chip, reg, tmp); lp55xx_update_bits()
H A Dleds-lp55xx-common.h182 extern int lp55xx_write(struct lp55xx_chip *chip, u8 reg, u8 val);

Completed in 161 milliseconds