Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/flash/
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 …]
/openbmc/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()
42 show_devices(child, depth + 1, (last_flag << 1) | is_last); in show_devices()
/openbmc/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()
/openbmc/linux/tools/testing/selftests/landlock/
H A Dbase_test.c103 const int last_flag = LANDLOCK_CREATE_RULESET_VERSION; in TEST() local
104 const int invalid_flag = last_flag << 1; in TEST()
/openbmc/linux/drivers/video/backlight/
H A Dlm3639_bl.c43 unsigned int last_flag; member