Home
last modified time | relevance | path

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

/linux/drivers/leds/flash/
H A 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/drivers/leds/
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()
/linux/tools/testing/selftests/landlock/
H A Dbase_test.c148 const int last_flag = LANDLOCK_CREATE_RULESET_ERRATA; in TEST()
149 const int invalid_flag = last_flag << 1; in TEST()
309 const __u32 last_flag = LANDLOCK_RESTRICT_SELF_TSYNC; in TEST()
313 EXPECT_EQ(-1, landlock_restrict_self(-1, last_flag << 1)); in TEST()
104 const int last_flag = LANDLOCK_CREATE_RULESET_VERSION; TEST() local
/linux/drivers/video/backlight/
H A Dlm3639_bl.c43 unsigned int last_flag; member
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_sched.c3448 u32 last_flag = fls(PANTHOR_DEVICE_PROFILING_ALL); in calc_profiling_ringbuf_num_slots() local
3463 for (u32 i = 0; i < last_flag; i++) { in calc_profiling_ringbuf_num_slots()