Lines Matching refs:chan_nr
216 led->chan_nr = pdata->led_config[chan].chan_nr; in lp55xx_init_led()
218 if (led->chan_nr >= max_channel) { in lp55xx_init_led()
568 int led_number, int *chan_nr) in lp55xx_parse_common_child() argument
579 ret = of_property_read_u32(np, "reg", chan_nr); in lp55xx_parse_common_child()
583 if (*chan_nr < 0 || *chan_nr > cfg->max_channel) in lp55xx_parse_common_child()
593 int chan_nr, color_id, ret; in lp55xx_parse_multi_led_child() local
595 ret = lp55xx_parse_common_child(child, cfg, child_number, &chan_nr); in lp55xx_parse_multi_led_child()
604 cfg[child_number].output_num[color_number] = chan_nr; in lp55xx_parse_multi_led_child()
636 int chan_nr = 0; in lp55xx_parse_logical_led() local
648 ret = lp55xx_parse_common_child(np, cfg, child_number, &chan_nr); in lp55xx_parse_logical_led()
652 cfg[child_number].chan_nr = chan_nr; in lp55xx_parse_logical_led()