Lines Matching +full:multi +full:- +full:chip
1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * Derived from leds-lp5521.c, leds-lp5523.c
15 #include <linux/led-class-multicolor.h>
93 * @reset : Chip specific reset command
94 * @enable : Chip specific enable command
96 * @post_init_device : Chip specific initialization code
110 int (*post_init_device) (struct lp55xx_chip *chip);
122 void (*firmware_cb)(struct lp55xx_chip *chip);
125 void (*run_engine) (struct lp55xx_chip *chip, bool start);
145 * @lock : Lock for user-space interface
156 struct mutex lock; /* lock for user-space interface */
168 * @mc_cdev : Multi color class device
169 * @color_components: Multi color LED map information
173 * @chip : The lp55xx chip data
182 struct lp55xx_chip *chip; member
186 extern int lp55xx_write(struct lp55xx_chip *chip, u8 reg, u8 val);
187 extern int lp55xx_read(struct lp55xx_chip *chip, u8 reg, u8 *val);
188 extern int lp55xx_update_bits(struct lp55xx_chip *chip, u8 reg,
192 extern bool lp55xx_is_extclk_used(struct lp55xx_chip *chip);
195 extern int lp55xx_init_device(struct lp55xx_chip *chip);
196 extern void lp55xx_deinit_device(struct lp55xx_chip *chip);
200 struct lp55xx_chip *chip);
203 extern int lp55xx_register_sysfs(struct lp55xx_chip *chip);
204 extern void lp55xx_unregister_sysfs(struct lp55xx_chip *chip);
209 struct lp55xx_chip *chip);