Home
last modified time | relevance | path

Searched refs:last_flag (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/leds/
H A Dleds-lm3601x.c93 unsigned int last_flag; member
144 led->last_flag = 0; in lm3601x_read_faults()
147 led->last_flag |= LED_FAULT_OVER_VOLTAGE; in lm3601x_read_faults()
150 led->last_flag |= LED_FAULT_OVER_TEMPERATURE; in lm3601x_read_faults()
153 led->last_flag |= LED_FAULT_SHORT_CIRCUIT; in lm3601x_read_faults()
156 led->last_flag |= LED_FAULT_OVER_CURRENT; in lm3601x_read_faults()
159 led->last_flag |= LED_FAULT_UNDER_VOLTAGE; in lm3601x_read_faults()
162 led->last_flag |= LED_FAULT_INPUT_VOLTAGE; in lm3601x_read_faults()
165 led->last_flag |= LED_FAULT_LED_OVER_TEMPERATURE; in lm3601x_read_faults()
167 return led->last_flag; in lm3601x_read_faults()
[all …]
H A Dleds-lm3642.c83 unsigned int last_flag; member
106 ret = regmap_read(chip->regmap, REG_FLAG, &chip->last_flag); in lm3642_control()
112 if (chip->last_flag) in lm3642_control()
113 dev_info(chip->dev, "Last FLAG is 0x%x\n", chip->last_flag); in lm3642_control()
H A Dleds-lm355x.c61 unsigned int last_flag; member
203 ret = regmap_read(chip->regmap, preg[REG_FLAG].regno, &chip->last_flag); in lm355x_control()
206 if (chip->last_flag & preg[REG_FLAG].mask) in lm355x_control()
209 chip->last_flag & preg[REG_FLAG].mask); in lm355x_control()
/OK3568_Linux_fs/u-boot/drivers/core/
H A Ddump.c13 static void show_devices(struct udevice *dev, int depth, int last_flag) in show_devices() argument
24 is_last = (last_flag >> i) & 1; in show_devices()
49 show_devices(child, depth + 1, (last_flag << 1) | is_last); in show_devices()
/OK3568_Linux_fs/kernel/drivers/video/backlight/
H A Dlm3639_bl.c43 unsigned int last_flag; member