/linux-6.14.4/tools/testing/selftests/alsa/ |
D | test-pcmtest-driver.c | 19 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.14.4/drivers/leds/trigger/ |
D | ledtrig-pattern.c | 33 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.14.4/Documentation/ABI/testing/ |
D | sysfs-class-led-trigger-pattern | 31 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.14.4/rust/kernel/ |
D | transmute.rs | 14 /// 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.14.4/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | d3.h | 198 * 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.14.4/Documentation/leds/ |
D | leds-lp55xx.rst | 15 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,
|
D | leds-st1202.rst | 13 different patterns. Each pattern is a particular output configuration 33 When the 255 value is written to it, all patterns will repeat
|
D | leds-lp5521.rst | 22 LP5521 has the internal program memory for running various LED patterns. 23 There are two ways to run LED patterns.
|
/linux-6.14.4/mm/ |
D | memtest.c | 11 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()
|
D | Kconfig.debug | 29 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.14.4/tools/perf/tests/shell/base_probe/ |
D | test_line_semantics.sh | 2 # 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.14.4/Documentation/devicetree/bindings/w1/ |
D | w1-uart.yaml | 14 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.14.4/drivers/net/wireless/ath/ath9k/ |
D | wow.c | 142 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.14.4/drivers/gpu/drm/amd/display/include/ |
D | link_service_types.h | 117 /* Test patterns*/ 123 /* phy test patterns*/ 148 /* Link Training Patterns */ 157 /* link test patterns*/ 164 /* audio test patterns*/
|
/linux-6.14.4/include/linux/platform_data/ |
D | leds-lp55xx.h | 62 * @patterns : Predefined pattern data for RGB channels 63 * @num_patterns : Number of patterns 83 struct lp55xx_predef_pattern *patterns; member
|
/linux-6.14.4/Documentation/w1/masters/ |
D | w1-uart.rst | 14 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.14.4/Documentation/driver-api/driver-model/ |
D | design-patterns.rst | 2 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.14.4/drivers/staging/media/atomisp/pci/isp/kernels/fpn/fpn_1.0/ |
D | ia_css_fpn_types.h | 16 * This contains the fixed patterns noise values 28 s16 *data; /** Table content (fixed patterns noise).
|
/linux-6.14.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_diag.c | 16 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.14.4/tools/testing/selftests/bpf/ |
D | test_loader.c | 66 struct expect_msg *patterns; member 119 if (msgs->patterns[i].is_regex) in free_msgs() 120 regfree(&msgs->patterns[i].regex); in free_msgs() 121 free(msgs->patterns); in free_msgs() 122 msgs->patterns = NULL; in free_msgs() 208 tmp = realloc(msgs->patterns, in __push_msg() 214 msgs->patterns = tmp; in __push_msg() 215 msg = &msgs->patterns[msgs->cnt]; in __push_msg() 235 msg = &from->patterns[i]; in clone_msgs() 709 struct expect_msg *msg = &msgs->patterns[i]; in validate_msgs() [all …]
|
/linux-6.14.4/drivers/net/wireless/ath/ath10k/ |
D | wow.c | 272 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.14.4/Documentation/devicetree/bindings/leds/ |
D | leds-el15203000.txt | 6 The board manages 3 LEDs and supports predefined blinking patterns 17 Supports next patterns:
|
/linux-6.14.4/scripts/mod/ |
D | modpost.c | 694 * Check whether the 'string' argument matches one of the 'patterns', 695 * an array of shell wildcard patterns (glob). 699 static bool match(const char *string, const char *const patterns[]) in match() argument 703 while ((pattern = *patterns++)) { in match() 711 /* useful to pass patterns to match() directly */ 712 #define PATTERNS(...) \ macro 714 static const char *const patterns[] = {__VA_ARGS__, NULL}; \ 715 patterns; \ 928 if (match(tosec, PATTERNS(ALL_INIT_DATA_SECTIONS)) && in secref_whitelist() 929 match(fromsec, PATTERNS(DATA_SECTIONS)) && in secref_whitelist() [all …]
|
/linux-6.14.4/Documentation/admin-guide/mm/damon/ |
D | start.rst | 37 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
|
/linux-6.14.4/drivers/net/wireless/ath/ath11k/ |
D | wow.c | 352 const struct cfg80211_pkt_pattern *patterns = wowlan->patterns; in ath11k_vif_wow_set_wakeups() local 411 if (patterns[i].pattern_len > WOW_MAX_PATTERN_SIZE) in ath11k_vif_wow_set_wakeups() 416 if (patterns[i].pkt_offset < ETH_HLEN) { in ath11k_vif_wow_set_wakeups() 418 &patterns[i]); in ath11k_vif_wow_set_wakeups() 422 new_pattern = patterns[i]; in ath11k_vif_wow_set_wakeups() 426 for (j = 0; j < patterns[i].pattern_len; j++) in ath11k_vif_wow_set_wakeups() 427 if (patterns[i].mask[j / 8] & BIT(j % 8)) in ath11k_vif_wow_set_wakeups()
|