Home
last modified time | relevance | path

Searched full:patterns (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/linux-6.15/tools/testing/selftests/alsa/
Dtest-pcmtest-driver.c19 struct pattern_buf patterns[CH_NUM]; variable
45 fscanf(fpl, "%u", &patterns[i].len); in read_patterns()
52 fread(patterns[i].buf, 1, patterns[i].len, fp); in read_patterns()
134 SKIP(return, "Can't read patterns. Probably, module isn't loaded"); in FIXTURE_SETUP()
190 it[i] = patterns[cur_ch].buf[pos_in_ch % patterns[cur_ch].len]; in TEST_F()
232 ASSERT_EQ(it[i], patterns[cur_ch].buf[pos_in_ch % patterns[cur_ch].len]); in TEST_F()
266 ASSERT_EQ(chan_samples[i][j], patterns[i].buf[j % patterns[i].len]); in TEST_F()
293 chan_samples[i][j] = patterns[i].buf[j % patterns[i].len]; in TEST_F()
/linux-6.15/drivers/leds/trigger/
Dledtrig-pattern.c33 struct led_pattern patterns[MAX_PATTERNS]; member
50 if (!data->is_indefinite && data->curr == data->patterns) in pattern_trig_update_patterns()
53 if (data->next == data->patterns + data->npatterns - 1) in pattern_trig_update_patterns()
54 data->next = data->patterns; in pattern_trig_update_patterns()
178 return led_cdev->pattern_set(led_cdev, data->patterns, in pattern_trig_start_pattern()
187 data->curr = data->patterns; in pattern_trig_start_pattern()
188 data->next = data->patterns + 1; in pattern_trig_start_pattern()
261 data->patterns[i].brightness, in pattern_trig_show_patterns()
262 data->patterns[i].delta_t); in pattern_trig_show_patterns()
280 &data->patterns[data->npatterns].brightness, in pattern_trig_store_patterns_string()
[all …]
/linux-6.15/Documentation/ABI/testing/
Dsysfs-class-led-trigger-pattern31 to some preprogrammed hardware patterns. It deactivates any active
35 hardware patterns, each driver is expected to provide its own
36 description for the hardware patterns in their documentation
50 only support indefinitely patterns, so they always store -1.
/linux-6.15/rust/kernel/
Dtransmute.rs14 /// All bit-patterns must be valid for this type. This type must not have interior mutability.
25 // SAFETY: All bit patterns are acceptable values of the types below.
29 // SAFETY: If all bit patterns are acceptable for individual values in an array, then all bit
30 // patterns are also acceptable for arrays of that type.
/linux-6.15/drivers/net/wireless/intel/iwlwifi/fw/api/
Dd3.h198 * struct iwl_wowlan_patterns_cmd_v1 - WoWLAN wakeup patterns
202 * @n_patterns: number of patterns
207 * @patterns: the patterns, array length in @n_patterns
209 struct iwl_wowlan_pattern_v1 patterns[]; member
297 * struct iwl_wowlan_pattern_v2 - Pattern entry for the WoWLAN wakeup patterns
318 * struct iwl_wowlan_patterns_cmd - WoWLAN wakeup patterns command
322 * @n_patterns: number of patterns
337 * @patterns: the patterns, array length in @n_patterns
339 struct iwl_wowlan_pattern_v2 patterns[]; member
801 * @pattern_number: number of the matched patterns
[all …]
/linux-6.15/Documentation/leds/
Dleds-lp55xx.rst15 Program memory for running LED patterns
55 - Program memory address access for running patterns
61 various LED patterns.
109 To start blinking patterns in engine #2 and #3 simultaneously::
187 To use the predefined pattern concept, 'patterns' and 'num_patterns' should be
213 .patterns = board_led_patterns,
Dleds-st1202.rst13 different patterns. Each pattern is a particular output configuration
33 When the 255 value is written to it, all patterns will repeat
/linux-6.15/tools/testing/selftests/x86/bugs/
Dits_permutations.py54 # Define patterns and their corresponding colors
55 patterns = {
66 # Apply colors based on patterns
67 for pattern, color in patterns.items():
/linux-6.15/mm/
Dmemtest.c11 static u64 patterns[] __initdata = { variable
100 memtest_pattern = ARRAY_SIZE(patterns); in parse_memtest()
117 idx = i % ARRAY_SIZE(patterns); in early_memtest()
118 do_one_pass(patterns[idx], start, end); in early_memtest()
DKconfig.debug29 fill the pages with poison patterns after free_pages() and verify
30 the patterns before alloc_pages(). Additionally, this option cannot
150 Fill the pages with poison patterns after free_pages() and verify
151 the patterns before alloc_pages. The filling of the memory helps
/linux-6.15/tools/perf/tests/shell/base_probe/
Dtest_line_semantics.sh2 # perf_probe :: Check patterns for line semantics (exclusive)
32 # testing acceptance of valid patterns for the '--line' option
45 # testing handling of invalid patterns for the '--line' option
/linux-6.15/Documentation/devicetree/bindings/w1/
Dw1-uart.yaml14 to create the 1-Wire timing patterns.
17 mode. The timing patterns are generated by a specific combination of
24 to generate the 1-Wire timing patterns.
/linux-6.15/drivers/net/wireless/ath/ath9k/
Dwow.c142 struct cfg80211_pkt_pattern *patterns = wowlan->patterns; in ath9k_wow_add_pattern() local
149 mask_len = DIV_ROUND_UP(patterns[i].pattern_len, 8); in ath9k_wow_add_pattern()
152 memcpy(wow_pattern, patterns[i].pattern, patterns[i].pattern_len); in ath9k_wow_add_pattern()
153 memcpy(wow_mask, patterns[i].mask, mask_len); in ath9k_wow_add_pattern()
159 patterns[i].pattern_len); in ath9k_wow_add_pattern()
/linux-6.15/drivers/gpu/drm/amd/display/include/
Dlink_service_types.h117 /* Test patterns*/
123 /* phy test patterns*/
148 /* Link Training Patterns */
157 /* link test patterns*/
164 /* audio test patterns*/
/linux-6.15/include/linux/platform_data/
Dleds-lp55xx.h62 * @patterns : Predefined pattern data for RGB channels
63 * @num_patterns : Number of patterns
83 struct lp55xx_predef_pattern *patterns; member
/linux-6.15/Documentation/w1/masters/
Dw1-uart.rst14 Serial Device Bus to create the 1-Wire timing patterns as described in
20 open-drain mode. The timing patterns are generated by a specific
39 to generate the 1-Wire timing patterns.
/linux-6.15/scripts/lib/abi/
Dabi_regex.py33 # Temporarily change [0-9]+ type of patterns
36 # Temporarily change [\d+-\d+] type of patterns
41 # Temporarily change [0-9] type of patterns
44 # Handle multiple option patterns
60 # Recover [0-9] type of patterns
/linux-6.15/Documentation/driver-api/driver-model/
Ddesign-patterns.rst2 Device Driver Design Patterns
5 This document describes a few common design patterns found in device drivers.
7 conform to these design patterns.
/linux-6.15/drivers/staging/media/atomisp/pci/isp/kernels/fpn/fpn_1.0/
Dia_css_fpn_types.h16 * This contains the fixed patterns noise values
28 s16 *data; /** Table content (fixed patterns noise).
/linux-6.15/drivers/net/ethernet/intel/i40e/
Di40e_diag.c16 static const u32 patterns[] = { in i40e_diag_reg_pattern_test() local
23 for (i = 0; i < ARRAY_SIZE(patterns); i++) { in i40e_diag_reg_pattern_test()
24 pat = patterns[i]; in i40e_diag_reg_pattern_test()
/linux-6.15/tools/testing/selftests/bpf/
Dtest_loader.c72 struct expect_msg *patterns; member
126 if (msgs->patterns[i].is_regex) in free_msgs()
127 regfree(&msgs->patterns[i].regex); in free_msgs()
128 free(msgs->patterns); in free_msgs()
129 msgs->patterns = NULL; in free_msgs()
215 tmp = realloc(msgs->patterns, in __push_msg()
221 msgs->patterns = tmp; in __push_msg()
222 msg = &msgs->patterns[msgs->cnt]; in __push_msg()
242 msg = &from->patterns[i]; in clone_msgs()
729 struct expect_msg *msg = &msgs->patterns[i]; in validate_msgs()
[all …]
/linux-6.15/drivers/net/wireless/ath/ath10k/
Dwow.c272 const struct cfg80211_pkt_pattern *patterns = wowlan->patterns; in ath10k_vif_wow_set_wakeups() local
329 struct cfg80211_pkt_pattern old_pattern = patterns[i]; in ath10k_vif_wow_set_wakeups()
334 if (patterns[i].pattern_len > WOW_MAX_PATTERN_SIZE) in ath10k_vif_wow_set_wakeups()
337 for (j = 0; j < patterns[i].pattern_len; j++) in ath10k_vif_wow_set_wakeups()
338 if (patterns[i].mask[j / 8] & BIT(j % 8)) in ath10k_vif_wow_set_wakeups()
343 if (patterns[i].pkt_offset < ETH_HLEN) { in ath10k_vif_wow_set_wakeups()
/linux-6.15/Documentation/devicetree/bindings/leds/
Dleds-el15203000.txt6 The board manages 3 LEDs and supports predefined blinking patterns
17 Supports next patterns:
/linux-6.15/scripts/mod/
Dmodpost.c706 * Check whether the 'string' argument matches one of the 'patterns',
707 * an array of shell wildcard patterns (glob).
711 static bool match(const char *string, const char *const patterns[]) in match() argument
715 while ((pattern = *patterns++)) { in match()
723 /* useful to pass patterns to match() directly */
724 #define PATTERNS(...) \ macro
726 static const char *const patterns[] = {__VA_ARGS__, NULL}; \
727 patterns; \
940 if (match(tosec, PATTERNS(ALL_INIT_DATA_SECTIONS)) && in secref_whitelist()
941 match(fromsec, PATTERNS(DATA_SECTIONS)) && in secref_whitelist()
[all …]
/linux-6.15/Documentation/admin-guide/mm/damon/
Dstart.rst37 Snapshot Data Access Patterns
89 Recording Data Access Patterns
92 The commands below record the memory access patterns of a program and save the
105 Visualizing Recorded Patterns

12345678910>>...15