Lines Matching refs:patterns
26 struct led_pattern patterns[MAX_PATTERNS]; member
42 if (!data->is_indefinite && data->curr == data->patterns) in pattern_trig_update_patterns()
45 if (data->next == data->patterns + data->npatterns - 1) in pattern_trig_update_patterns()
46 data->next = data->patterns; in pattern_trig_update_patterns()
128 return led_cdev->pattern_set(led_cdev, data->patterns, in pattern_trig_start_pattern()
137 data->curr = data->patterns; in pattern_trig_start_pattern()
138 data->next = data->patterns + 1; in pattern_trig_start_pattern()
212 data->patterns[i].brightness, in pattern_trig_show_patterns()
213 data->patterns[i].delta_t); in pattern_trig_show_patterns()
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()
235 data->patterns[data->npatterns].brightness > data->led_cdev->max_brightness) { in pattern_trig_store_patterns_string()
253 data->patterns[data->npatterns].brightness = buf[i]; in pattern_trig_store_patterns_int()
254 data->patterns[data->npatterns].delta_t = buf[i + 1]; in pattern_trig_store_patterns_int()