Home
last modified time | relevance | path

Searched refs:npatterns (Results 1 – 2 of 2) sorted by relevance

/drivers/leds/trigger/
Dledtrig-pattern.c30 u32 npatterns; member
45 if (data->next == data->patterns + data->npatterns - 1) in pattern_trig_update_patterns()
124 if (!data->npatterns) in pattern_trig_start_pattern()
129 data->npatterns, data->repeat); in pattern_trig_start_pattern()
133 if (data->npatterns < 2) in pattern_trig_start_pattern()
206 if (!data->npatterns || (data->is_hw_pattern ^ hw_pattern)) in pattern_trig_show_patterns()
209 for (i = 0; i < data->npatterns; i++) { in pattern_trig_show_patterns()
228 while (offset < count - 1 && data->npatterns < MAX_PATTERNS) { in pattern_trig_store_patterns_string()
231 &data->patterns[data->npatterns].brightness, in pattern_trig_store_patterns_string()
232 &data->patterns[data->npatterns].delta_t, &cr); in pattern_trig_store_patterns_string()
[all …]
/drivers/mtd/nand/raw/
Dnand_base.c2187 for (i = 0; i < parser->npatterns; i++) { in nand_op_parser_exec_op()