| /linux/tools/testing/selftests/alsa/ |
| H A 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/drivers/leds/trigger/ |
| H A 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/lib/tests/ |
| H A D | ffs_kunit.c | 32 /* Single bit patterns - powers of 2 */ 50 /* Multiple bit patterns */ 58 /* Sparse patterns */ 72 /* Single bit patterns */ 88 /* Cross 32-bit boundary patterns */ 94 /* Mixed patterns */ 324 /* Cross-boundary patterns */ in ffs64_edge_cases_test() 362 /* Multiple zero patterns */ 372 /* Complex patterns */ 445 /* Multiple patterns */ in ffz_mathematical_relationships_test() [all …]
|
| /linux/mm/ |
| H A 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()
|
| H A 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/tools/testing/selftests/x86/bugs/ |
| H A D | its_permutations.py | 54 # Define patterns and their corresponding colors 55 patterns = { 66 # Apply colors based on patterns 67 for pattern, color in patterns.items():
|
| /linux/Documentation/leds/ |
| H A 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,
|
| H A D | leds-lm3556.rst | 78 and 4 patterns are pre-defined in indicator_pattern array. 81 be generated.If you want new patterns for your own device, change
|
| /linux/Documentation/devicetree/bindings/w1/ |
| H A 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/tools/perf/tests/shell/base_probe/ |
| H A D | test_line_semantics.sh | 2 # perf_probe :: Check patterns for line semantics (exclusive) 33 # testing acceptance of valid patterns for the '--line' option 46 # testing handling of invalid patterns for the '--line' option
|
| /linux/include/linux/platform_data/ |
| H A 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/Documentation/w1/masters/ |
| H A 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/Documentation/ |
| H A D | conf.py | 32 # Include patterns that don't contain directory names, in glob format 38 # Exclude of patterns that don't contain directory names, in glob format. 41 # List of patterns that contain directory names in glob format. 46 # Prefer using include patterns if available, as it is faster 54 # Properly handle directory patterns and LaTeX docs 62 SOURCEDIR parameter for sphinx-build. Due to that, all patterns 66 As Sphinx doesn't include any patterns outside SOURCEDIR, we should 67 exclude relative patterns that start with "../". 589 """Patterns need to be updated at init time on older Sphinx versions"""
|
| /linux/tools/lib/python/abi/ |
| H A D | abi_regex.py | 33 # 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/Documentation/driver-api/driver-model/ |
| H A 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/drivers/net/ethernet/intel/i40e/ |
| H A 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/tools/testing/selftests/bpf/ |
| H A D | test_loader.c | 123 if (msgs->patterns[i].is_regex) in free_msgs() 124 regfree(&msgs->patterns[i].regex); in free_msgs() 125 free(msgs->patterns); in free_msgs() 126 msgs->patterns = NULL; in free_msgs() 217 tmp = realloc(msgs->patterns, in __push_msg() 223 msgs->patterns = tmp; in __push_msg() 224 msg = &msgs->patterns[msgs->cnt]; in __push_msg() 245 msg = &from->patterns[i]; in clone_msgs() 834 struct expect_msg *msg = &msgs->patterns[i]; in is_unpriv_capable_map() 863 struct expect_msg *msg = &msgs->patterns[ in do_prog_test_run() 72 struct expect_msg *patterns; global() member [all...] |
| /linux/Documentation/devicetree/bindings/leds/ |
| H A D | leds-el15203000.txt | 6 The board manages 3 LEDs and supports predefined blinking patterns 17 Supports next patterns:
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A 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/drivers/gpu/nova-core/gsp/ |
| H A D | fw.rs | 140 // SAFETY: This struct only contains integer types for which all bit patterns 402 // SAFETY: This struct only contains integer types for which all bit patterns are valid. 430 // SAFETY: This struct only contains integer types for which all bit patterns are valid. 463 // SAFETY: This struct only contains integer types for which all bit patterns are valid. 481 // SAFETY: This struct only contains integer types for which all bit patterns are valid. 505 // SAFETY: This struct only contains integer types for which all bit patterns are valid. 607 // SAFETY: This struct only contains integer types for which all bit patterns are valid. 624 // SAFETY: This struct only contains integer types for which all bit patterns are valid. 650 // SAFETY: This struct only contains integer types for which all bit patterns 885 // SAFETY: This struct only contains integer types for which all bit patterns [all …]
|
| /linux/Documentation/admin-guide/mm/damon/ |
| H A 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/include/linux/mtd/ |
| H A D | rawnand.h | 146 * patterns. 959 * Controller drivers should declare as many patterns as they support and pass 960 * this list of patterns (created with the help of the following macro) to 979 * @patterns: array of supported patterns 980 * @npatterns: length of the @patterns array 982 * The parser descriptor is just an array of supported patterns which will be 986 * It is worth mentioning that patterns will be tested in their declaration 987 * order, and the first match will be taken, so it's important to order patterns 988 * appropriately so that simple/inefficient patterns are placed at the end of 989 * the list. Usually, this is where you put single instruction patterns. [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | lib.c | 1007 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwlagn_send_patterns() 1016 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwlagn_send_patterns() 1018 memcpy(&pattern_cmd->patterns[i].mask, in iwlagn_send_patterns() 1019 wowlan->patterns[i].mask, mask_len); in iwlagn_send_patterns() 1020 memcpy(&pattern_cmd->patterns[i].pattern, in iwlagn_send_patterns() 1021 wowlan->patterns[i].pattern, in iwlagn_send_patterns() 1022 wowlan->patterns[i].pattern_len); in iwlagn_send_patterns() 1023 pattern_cmd->patterns[i].mask_size = mask_len; in iwlagn_send_patterns() 1024 pattern_cmd->patterns[i].pattern_size = in iwlagn_send_patterns() 1025 wowlan->patterns[i].pattern_len; in iwlagn_send_patterns()
|
| /linux/lib/ |
| H A D | glob.c | 24 * where a string is matched against a number of patterns. Thus, it 25 * does not preprocess the patterns. It is non-recursive, and run-time
|
| /linux/tools/perf/util/ |
| H A D | setup.py | 55 if not clang_has_option("-ftree-loop-distribute-patterns"): 56 vars[var] = sub("-ftree-loop-distribute-patterns", "", vars[var])
|