Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
/linux-6.1.9/include/linux/mtd/
Drawnand.h989 unsigned int npatterns; member
995 .npatterns = sizeof((struct nand_op_parser_pattern[]) { __VA_ARGS__ }) / \
/linux-6.1.9/drivers/mtd/nand/raw/
Dnand_base.c2402 for (i = 0; i < parser->npatterns; i++) { in nand_op_parser_exec_op()