Lines Matching refs:lp55xx_chip
90 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()
327 void lp55xx_stop_engine(struct lp55xx_chip *chip) in lp55xx_stop_engine()
340 static void lp55xx_reset_device(struct lp55xx_chip *chip) in lp55xx_reset_device()
350 static int lp55xx_detect_device(struct lp55xx_chip *chip) in lp55xx_detect_device()
373 static int lp55xx_post_init_device(struct lp55xx_chip *chip) in lp55xx_post_init_device()
397 struct lp55xx_chip *chip = led->chip; in led_current_store()
458 struct lp55xx_chip *chip, int chan) in lp55xx_init_led()
536 struct lp55xx_chip *chip = context; in lp55xx_firmware_loaded()
558 static int lp55xx_request_firmware(struct lp55xx_chip *chip) in lp55xx_request_firmware()
572 struct lp55xx_chip *chip = led->chip; in select_engine_show()
582 struct lp55xx_chip *chip = led->chip; in select_engine_store()
613 static inline void lp55xx_run_engine(struct lp55xx_chip *chip, bool start) in lp55xx_run_engine()
624 struct lp55xx_chip *chip = led->chip; in run_engine_store()
652 struct lp55xx_chip *chip = led->chip; in lp55xx_show_engine_mode()
672 struct lp55xx_chip *chip = led->chip; in lp55xx_store_engine_mode()
701 struct lp55xx_chip *chip = led->chip; in lp55xx_store_engine_load()
714 static int lp55xx_mux_parse(struct lp55xx_chip *chip, const char *buf, in lp55xx_mux_parse()
747 struct lp55xx_chip *chip = led->chip; in lp55xx_show_engine_leds()
763 static int lp55xx_load_mux(struct lp55xx_chip *chip, u16 mux, int nr) in lp55xx_load_mux()
795 struct lp55xx_chip *chip = led->chip; in lp55xx_store_engine_leds()
821 struct lp55xx_chip *chip = led->chip; in lp55xx_show_master_fader()
839 struct lp55xx_chip *chip = led->chip; in lp55xx_store_master_fader()
864 struct lp55xx_chip *chip = led->chip; in lp55xx_show_master_fader_leds()
893 struct lp55xx_chip *chip = led->chip; in lp55xx_store_master_fader_leds()
930 int lp55xx_write(struct lp55xx_chip *chip, u8 reg, u8 val) in lp55xx_write()
936 int lp55xx_read(struct lp55xx_chip *chip, u8 reg, u8 *val) in lp55xx_read()
949 int lp55xx_update_bits(struct lp55xx_chip *chip, u8 reg, u8 mask, u8 val) in lp55xx_update_bits()
965 bool lp55xx_is_extclk_used(struct lp55xx_chip *chip) in lp55xx_is_extclk_used()
986 static void lp55xx_deinit_device(struct lp55xx_chip *chip) in lp55xx_deinit_device()
994 static int lp55xx_init_device(struct lp55xx_chip *chip) in lp55xx_init_device()
1048 static int lp55xx_register_leds(struct lp55xx_led *led, struct lp55xx_chip *chip) in lp55xx_register_leds()
1089 static int lp55xx_register_sysfs(struct lp55xx_chip *chip) in lp55xx_register_sysfs()
1107 static void lp55xx_unregister_sysfs(struct lp55xx_chip *chip) in lp55xx_unregister_sysfs()
1208 struct lp55xx_chip *chip) in lp55xx_of_populate_pdata()
1270 struct lp55xx_chip *chip; in lp55xx_probe()
1344 struct lp55xx_chip *chip = led->chip; in lp55xx_remove()