Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/leds/flash/
Dleds-lm3601x.c92 unsigned int last_flag; member
143 led->last_flag = 0; in lm3601x_read_faults()
146 led->last_flag |= LED_FAULT_OVER_VOLTAGE; in lm3601x_read_faults()
149 led->last_flag |= LED_FAULT_OVER_TEMPERATURE; in lm3601x_read_faults()
152 led->last_flag |= LED_FAULT_SHORT_CIRCUIT; in lm3601x_read_faults()
155 led->last_flag |= LED_FAULT_OVER_CURRENT; in lm3601x_read_faults()
158 led->last_flag |= LED_FAULT_UNDER_VOLTAGE; in lm3601x_read_faults()
161 led->last_flag |= LED_FAULT_INPUT_VOLTAGE; in lm3601x_read_faults()
164 led->last_flag |= LED_FAULT_LED_OVER_TEMPERATURE; in lm3601x_read_faults()
166 return led->last_flag; in lm3601x_read_faults()
[all …]
/linux-6.12.1/drivers/leds/
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()
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()
/linux-6.12.1/tools/testing/selftests/landlock/
Dbase_test.c104 const int last_flag = LANDLOCK_CREATE_RULESET_VERSION; in TEST() local
105 const int invalid_flag = last_flag << 1; in TEST()
/linux-6.12.1/drivers/video/backlight/
Dlm3639_bl.c43 unsigned int last_flag; member