Searched refs:led_sources (Results 1 – 4 of 4) sorted by relevance
41 int led_sources; member175 ld->led_sources = lm3509_parse_led_sources(child, BIT(reg)); in lm3509_parse_dt_node()176 if (ld->led_sources < 0) in lm3509_parse_dt_node()177 return ld->led_sources; in lm3509_parse_dt_node()185 if (ld->led_sources != (ld->led_sources & valid_led_sources)) in lm3509_parse_dt_node()188 if (seen_led_sources & ld->led_sources) in lm3509_parse_dt_node()191 seen_led_sources |= ld->led_sources; in lm3509_parse_dt_node()273 if (led_data[0].led_sources == in lm3509_probe()283 if (led_data[0].led_sources) { in lm3509_probe()293 if (led_data[1].led_sources) { in lm3509_probe()
407 int led_sources, ret; in lm3630a_parse_bank() local419 led_sources = lm3630a_parse_led_sources(node, BIT(bank)); in lm3630a_parse_bank()420 if (led_sources < 0) in lm3630a_parse_bank()421 return led_sources; in lm3630a_parse_bank()423 if (*seen_led_sources & led_sources) in lm3630a_parse_bank()426 *seen_led_sources |= led_sources; in lm3630a_parse_bank()431 if (led_sources & BIT(LM3630A_SINK_0) || in lm3630a_parse_bank()432 !(led_sources & BIT(LM3630A_SINK_1))) in lm3630a_parse_bank()439 if (!(led_sources & BIT(LM3630A_SINK_0))) in lm3630a_parse_bank()446 if (led_sources & BIT(LM3630A_SINK_1)) in lm3630a_parse_bank()
40 u32 led_sources[LM36274_MAX_STRINGS]; member58 enable_val |= (1 << chip->led_sources[i]); in lm36274_init()95 chip->led_sources, chip->num_leds); in lm36274_parse_dt()
604 u32 led_sources[2]; in max77693_led_parse_dt() local616 for (i = 0; i < ARRAY_SIZE(led_sources); ++i) { in max77693_led_parse_dt()618 &led_sources[i]); in max77693_led_parse_dt()631 } else if (led_sources[0] == FLED1) { in max77693_led_parse_dt()634 } else if (led_sources[0] == FLED2) { in max77693_led_parse_dt()