Home
last modified time | relevance | path

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

/linux/drivers/leds/
H A Dleds-lp55xx-common.h98 struct lp55xx_chip;
152 int (*post_init_device) (struct lp55xx_chip *chip);
164 void (*firmware_cb)(struct lp55xx_chip *chip);
167 void (*run_engine) (struct lp55xx_chip *chip, bool start);
194 struct lp55xx_chip { struct
223 struct lp55xx_chip *chip; argument
227 extern int lp55xx_write(struct lp55xx_chip *chip, u8 reg, u8 val);
228 extern int lp55xx_read(struct lp55xx_chip *chip, u8 reg, u8 *val);
229 extern int lp55xx_update_bits(struct lp55xx_chip *chip, u8 reg,
233 extern bool lp55xx_is_extclk_used(struct lp55xx_chip *chip);
[all …]
H A Dleds-lp55xx-common.c90 static void lp55xx_wait_opmode_done(struct lp55xx_chip *chip) in lp55xx_wait_opmode_done()
110 void lp55xx_stop_all_engine(struct lp55xx_chip *chip) in lp55xx_stop_all_engine()
119 void lp55xx_load_engine(struct lp55xx_chip *chip) in lp55xx_load_engine()
138 int lp55xx_run_engine_common(struct lp55xx_chip *chip) in lp55xx_run_engine_common()
172 int lp55xx_update_program_memory(struct lp55xx_chip *chip, in lp55xx_update_program_memory()
239 void lp55xx_firmware_loaded_cb(struct lp55xx_chip *chip) in lp55xx_firmware_loaded_cb()
272 struct lp55xx_chip *chip = led->chip; in lp55xx_led_brightness()
286 struct lp55xx_chip *chip = led->chip; in lp55xx_multicolor_brightness()
308 struct lp55xx_chip *chip = led->chip; in lp55xx_set_led_current()
317 void lp55xx_turn_off_channels(struct lp55xx_chip *chip) in lp55xx_turn_off_channels()
[all …]
H A Dleds-lp5562.c112 static void lp5562_run_engine(struct lp55xx_chip *chip, bool start) in lp5562_run_engine()
132 static int lp5562_post_init_device(struct lp55xx_chip *chip) in lp5562_post_init_device()
166 struct lp55xx_chip *chip = led->chip; in lp5562_led_brightness()
182 static void lp5562_write_program_memory(struct lp55xx_chip *chip, in lp5562_write_program_memory()
205 static int lp5562_run_predef_led_pattern(struct lp55xx_chip *chip, int mode) in lp5562_run_predef_led_pattern()
259 struct lp55xx_chip *chip = led->chip; in lp5562_store_pattern()
287 struct lp55xx_chip *chip = led->chip; in lp5562_store_engine_mux()
H A Dleds-lp5521.c88 static void lp5521_run_engine(struct lp55xx_chip *chip, bool start) in lp5521_run_engine()
105 static int lp5521_post_init_device(struct lp55xx_chip *chip) in lp5521_post_init_device()
161 static int lp5521_run_selftest(struct lp55xx_chip *chip, char *buf) in lp5521_run_selftest()
186 struct lp55xx_chip *chip = led->chip; in lp5521_selftest()
H A Dleds-lp5523.c77 static int lp5523_init_program_engine(struct lp55xx_chip *chip);
79 static int lp5523_post_init_device(struct lp55xx_chip *chip) in lp5523_post_init_device()
110 static void lp5523_run_engine(struct lp55xx_chip *chip, bool start) in lp5523_run_engine()
122 static int lp5523_init_program_engine(struct lp55xx_chip *chip) in lp5523_init_program_engine()
187 struct lp55xx_chip *chip = led->chip; in lp5523_selftest()
H A Dleds-lp5569.c103 static void lp5569_run_engine(struct lp55xx_chip *chip, bool start) in lp5569_run_engine()
114 static int lp5569_init_program_engine(struct lp55xx_chip *chip) in lp5569_init_program_engine()
172 static int lp5569_post_init_device(struct lp55xx_chip *chip) in lp5569_post_init_device()
211 struct lp55xx_chip *chip = led->chip; in lp5569_led_open_test()
304 struct lp55xx_chip *chip = led->chip; in lp5569_led_short_test()
405 struct lp55xx_chip *chip = led->chip; in lp5569_selftest()
H A Dleds-lp8501.c56 static int lp8501_post_init_device(struct lp55xx_chip *chip) in lp8501_post_init_device()
82 static void lp8501_run_engine(struct lp55xx_chip *chip, bool start) in lp8501_run_engine()
/linux/Documentation/leds/
H A Dleds-lp55xx.rst29 * lp55xx_chip
35 lp55xx_chip for LP5521 ... lp55xx_led #1
39 lp55xx_chip for LP5523 ... lp55xx_led #1