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()
566 int led_number, int *chan_nr) in lp55xx_parse_common_child() argument
577 ret = of_property_read_u32(np, "reg", chan_nr); in lp55xx_parse_common_child()
581 if (*chan_nr < 0 || *chan_nr > cfg->max_channel) in lp55xx_parse_common_child()
591 int chan_nr, color_id, ret; in lp55xx_parse_multi_led_child() local
593 ret = lp55xx_parse_common_child(child, cfg, child_number, &chan_nr); in lp55xx_parse_multi_led_child()
602 cfg[child_number].output_num[color_number] = chan_nr; in lp55xx_parse_multi_led_child()
634 int chan_nr = 0; in lp55xx_parse_logical_led() local
646 ret = lp55xx_parse_common_child(np, cfg, child_number, &chan_nr); in lp55xx_parse_logical_led()
650 cfg[child_number].chan_nr = chan_nr; in lp55xx_parse_logical_led()