Lines Matching +full:device +full:- +full:specific
1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * Derived from leds-lp5521.c, leds-lp5523.c
15 #include <linux/led-class-multicolor.h>
39 static ssize_t show_engine##nr##_mode(struct device *dev, \
47 static ssize_t store_engine##nr##_mode(struct device *dev, \
55 static ssize_t show_engine##nr##_leds(struct device *dev, \
63 static ssize_t store_engine##nr##_leds(struct device *dev, \
71 static ssize_t store_engine##nr##_load(struct device *dev, \
93 * @reset : Chip specific reset command
94 * @enable : Chip specific enable command
96 * @post_init_device : Chip specific initialization code
102 * @dev_attr_group : Device specific attributes
109 /* define if the device has specific initialization process */
127 /* additional device specific attributes */
144 * @pdata : Platform specific data
145 * @lock : Lock for user-space interface
147 * @cfg : Device specific configuration data
149 * @engines : Engine structure for the device attribute R/W interface
156 struct mutex lock; /* lock for user-space interface */
167 * @cdev : LED class device
168 * @mc_cdev : Multi color class device
194 /* common device init/deinit functions */
198 /* common LED class device functions */
202 /* common device attributes functions */
206 /* common device tree population function */
208 *lp55xx_of_populate_pdata(struct device *dev, struct device_node *np,