Home
last modified time | relevance | path

Searched refs:lp55xx_chip (Results 1 – 6 of 6) sorted by relevance

/drivers/leds/
Dleds-lp55xx-common.h80 struct lp55xx_chip;
110 int (*post_init_device) (struct lp55xx_chip *chip);
119 void (*firmware_cb)(struct lp55xx_chip *chip);
122 void (*run_engine) (struct lp55xx_chip *chip, bool start);
149 struct lp55xx_chip { struct
176 struct lp55xx_chip *chip; argument
180 extern int lp55xx_write(struct lp55xx_chip *chip, u8 reg, u8 val);
181 extern int lp55xx_read(struct lp55xx_chip *chip, u8 reg, u8 *val);
182 extern int lp55xx_update_bits(struct lp55xx_chip *chip, u8 reg,
186 extern bool lp55xx_is_extclk_used(struct lp55xx_chip *chip);
[all …]
Dleds-lp55xx-common.c41 static void lp55xx_reset_device(struct lp55xx_chip *chip) in lp55xx_reset_device()
51 static int lp55xx_detect_device(struct lp55xx_chip *chip) in lp55xx_detect_device()
74 static int lp55xx_post_init_device(struct lp55xx_chip *chip) in lp55xx_post_init_device()
98 struct lp55xx_chip *chip = led->chip; in lp55xx_store_current()
148 struct lp55xx_chip *chip, int chan) in lp55xx_init_led()
198 struct lp55xx_chip *chip = context; in lp55xx_firmware_loaded()
222 static int lp55xx_request_firmware(struct lp55xx_chip *chip) in lp55xx_request_firmware()
236 struct lp55xx_chip *chip = led->chip; in lp55xx_show_engine_select()
246 struct lp55xx_chip *chip = led->chip; in lp55xx_store_engine_select()
277 static inline void lp55xx_run_engine(struct lp55xx_chip *chip, bool start) in lp55xx_run_engine()
[all …]
Dleds-lp5523.c124 static int lp5523_init_program_engine(struct lp55xx_chip *chip);
138 static int lp5523_post_init_device(struct lp55xx_chip *chip) in lp5523_post_init_device()
168 static void lp5523_load_engine(struct lp55xx_chip *chip) in lp5523_load_engine()
188 static void lp5523_load_engine_and_select_page(struct lp55xx_chip *chip) in lp5523_load_engine_and_select_page()
202 static void lp5523_stop_all_engines(struct lp55xx_chip *chip) in lp5523_stop_all_engines()
208 static void lp5523_stop_engine(struct lp55xx_chip *chip) in lp5523_stop_engine()
222 static void lp5523_turn_off_channels(struct lp55xx_chip *chip) in lp5523_turn_off_channels()
230 static void lp5523_run_engine(struct lp55xx_chip *chip, bool start) in lp5523_run_engine()
278 static int lp5523_init_program_engine(struct lp55xx_chip *chip) in lp5523_init_program_engine()
336 static int lp5523_update_program_memory(struct lp55xx_chip *chip, in lp5523_update_program_memory()
[all …]
Dleds-lp5521.c134 static void lp5521_load_engine(struct lp55xx_chip *chip) in lp5521_load_engine()
154 static void lp5521_stop_all_engines(struct lp55xx_chip *chip) in lp5521_stop_all_engines()
160 static void lp5521_stop_engine(struct lp55xx_chip *chip) in lp5521_stop_engine()
174 static void lp5521_run_engine(struct lp55xx_chip *chip, bool start) in lp5521_run_engine()
224 static int lp5521_update_program_memory(struct lp55xx_chip *chip, in lp5521_update_program_memory()
273 static void lp5521_firmware_loaded(struct lp55xx_chip *chip) in lp5521_firmware_loaded()
293 static int lp5521_post_init_device(struct lp55xx_chip *chip) in lp5521_post_init_device()
345 static int lp5521_run_selftest(struct lp55xx_chip *chip, char *buf) in lp5521_run_selftest()
367 struct lp55xx_chip *chip = led->chip; in lp5521_led_brightness()
383 struct lp55xx_chip *chip = led->chip; in show_engine_mode()
[all …]
Dleds-lp8501.c94 static int lp8501_post_init_device(struct lp55xx_chip *chip) in lp8501_post_init_device()
118 static void lp8501_load_engine(struct lp55xx_chip *chip) in lp8501_load_engine()
146 static void lp8501_stop_engine(struct lp55xx_chip *chip) in lp8501_stop_engine()
152 static void lp8501_turn_off_channels(struct lp55xx_chip *chip) in lp8501_turn_off_channels()
160 static void lp8501_run_engine(struct lp55xx_chip *chip, bool start) in lp8501_run_engine()
208 static int lp8501_update_program_memory(struct lp55xx_chip *chip, in lp8501_update_program_memory()
255 static void lp8501_firmware_loaded(struct lp55xx_chip *chip) in lp8501_firmware_loaded()
277 struct lp55xx_chip *chip = led->chip; in lp8501_led_brightness()
310 struct lp55xx_chip *chip; in lp8501_probe()
372 struct lp55xx_chip *chip = led->chip; in lp8501_remove()
Dleds-lp5562.c130 static void lp5562_load_engine(struct lp55xx_chip *chip) in lp5562_load_engine()
150 static void lp5562_stop_engine(struct lp55xx_chip *chip) in lp5562_stop_engine()
156 static void lp5562_run_engine(struct lp55xx_chip *chip, bool start) in lp5562_run_engine()
209 static int lp5562_update_firmware(struct lp55xx_chip *chip, in lp5562_update_firmware()
262 static void lp5562_firmware_loaded(struct lp55xx_chip *chip) in lp5562_firmware_loaded()
282 static int lp5562_post_init_device(struct lp55xx_chip *chip) in lp5562_post_init_device()
316 struct lp55xx_chip *chip = led->chip; in lp5562_led_brightness()
332 static void lp5562_write_program_memory(struct lp55xx_chip *chip, in lp5562_write_program_memory()
355 static int lp5562_run_predef_led_pattern(struct lp55xx_chip *chip, int mode) in lp5562_run_predef_led_pattern()
409 struct lp55xx_chip *chip = led->chip; in lp5562_store_pattern()
[all …]