/Linux-v6.1/Documentation/devicetree/bindings/eeprom/ |
D | at24.yaml | 17 pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$" 23 pattern: "^eeprom@[0-9a-f]{1,2}$" 36 … - pattern: "^(atmel|catalyst|microchip|nxp|ramtron|renesas|rohm|st),(24(c|cs|lc|mac)[0-9]+|spd)$" 37 - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$" 40 pattern: c00$ 42 pattern: c01$ 44 pattern: cs01$ 46 pattern: c02$ 48 pattern: cs02$ 50 pattern: mac402$ [all …]
|
/Linux-v6.1/Documentation/leds/ |
D | leds-qcom-lpg.rst | 11 number of PWM channels, a programmable pattern lookup table and a RGB LED 23 deeper idle states the LPG provides pattern support. This consists of a shared 25 range within the table to use, the rate and if the pattern should repeat. 27 The pattern for a channel can be programmed using the "pattern" trigger, using 33 Specify a hardware pattern for a Qualcomm LPG LED. 35 The pattern is a series of brightness and hold-time pairs, with the hold-time 36 expressed in milliseconds. The hold time is a property of the pattern and must 37 therefor be identical for each element in the pattern (except for the pauses 39 transitions expected by the leds-trigger-pattern format, each entry in the 40 pattern must be followed a zero-length entry of the same brightness. [all …]
|
D | leds-lp55xx.rst | 63 This pattern data is saved as a file in the user-land or 70 To load and run the pattern, the programming sequence is following. 74 (3) Write pattern data into selected area 90 For example, run blinking pattern in engine #1 of LP5521:: 98 For example, run blinking pattern in engine #3 of LP55231 100 Two LEDs are configured as pattern output channels:: 134 To run programmed pattern, 'run_engine' attribute should be enabled. 136 The pattern sequence of LP8501 is similar to LP5523. 138 However pattern data is specific. 179 ( Predefined pattern data ) [all …]
|
/Linux-v6.1/lib/ |
D | ts_kmp.c | 13 * auxiliary function PI[1..m], for m being length(pattern), 14 * precomputed from the pattern in time O(m). The array PI allows 37 u8 * pattern; member 56 while (q > 0 && kmp->pattern[q] in kmp_find() 59 if (kmp->pattern[q] in kmp_find() 74 static inline void compute_prefix_tbl(const u8 *pattern, unsigned int len, in compute_prefix_tbl() argument 81 while (k > 0 && (icase ? toupper(pattern[k]) : pattern[k]) in compute_prefix_tbl() 82 != (icase ? toupper(pattern[q]) : pattern[q])) in compute_prefix_tbl() 84 if ((icase ? toupper(pattern[k]) : pattern[k]) in compute_prefix_tbl() 85 == (icase ? toupper(pattern[q]) : pattern[q])) in compute_prefix_tbl() [all …]
|
D | ts_bm.c | 52 u8 * pattern; member 78 != bm->pattern[bm->patlen-1-i]) in bm_find() 96 static int subpattern(u8 *pattern, int i, int j, int g) in subpattern() argument 100 while(pattern[x--] == pattern[y--]) { in subpattern() 106 ret = pattern[i-1] != pattern[j-1]; in subpattern() 121 bm->bad_shift[bm->pattern[i]] = bm->patlen - 1 - i; in compute_prefix_tbl() 123 bm->bad_shift[tolower(bm->pattern[i])] in compute_prefix_tbl() 134 if (subpattern(bm->pattern, i, j, g)) { in compute_prefix_tbl() 141 static struct ts_config *bm_init(const void *pattern, unsigned int len, in bm_init() argument 157 bm->pattern = (u8 *) bm->good_shift + prefix_tbl_len; in bm_init() [all …]
|
D | parser.c | 15 * match_one - Determines if a string matches a simple pattern 16 * @s: the string to examine for presence of the pattern 17 * @p: the string containing the pattern 21 * Description: Determines if the pattern @p is present in string @s. Can only 22 * match extremely simple token=arg style patterns. If the pattern is found, 97 * &struct match_token whose pattern is set to the NULL pointer. 110 for (p = table; !match_one(s, p->pattern, args) ; p++) in match_token() 271 * match_wildcard - parse if a string matches given wildcard pattern 272 * @pattern: wildcard pattern 276 * pattern @pattern. The pattern may contain two types of wildcards: [all …]
|
D | textsearch.c | 39 * the search parameters such as the pattern and algorithm name. 59 * the pattern to look for and flags. As a flag, you can set TS_IGNORECASE 70 * the position of the first occurrence of the pattern or UINT_MAX if 82 * const char *pattern = "chicken"; 85 * conf = textsearch_prepare("kmp", pattern, strlen(pattern), 219 * textsearch_find_continuous - search a pattern in continuous/linear data 228 * Returns the position of first occurrence of the pattern or 248 * @pattern: pattern data 249 * @len: length of pattern 254 * configuration for the specified pattern. [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath9k/ |
D | reg_wow.h | 31 * bit 31:24 pattern 0 length 32 * bit 23:16 pattern 1 length 33 * bit 15:8 pattern 2 length 34 * bit 7:0 pattern 3 length 37 * bit 31:24 pattern 4 length 38 * bit 23:16 pattern 5 length 39 * bit 15:8 pattern 6 length 40 * bit 7:0 pattern 7 length 43 * bit 31:24 pattern 8 length 44 * bit 23:16 pattern 9 length [all …]
|
/Linux-v6.1/security/tomoyo/ |
D | util.c | 629 * tomoyo_const_part_length - Evaluate the initial length without a pattern in a token. 633 * Returns the initial length without a pattern in @filename. 689 * tomoyo_file_matches_pattern2 - Pattern matching without '/' character and "\-" pattern. 693 * @pattern: The start of pattern to compare. 694 * @pattern_end: The end of pattern to compare. 696 * Returns true if @filename matches @pattern, false otherwise. 700 const char *pattern, in tomoyo_file_matches_pattern2() argument 703 while (filename < filename_end && pattern < pattern_end) { in tomoyo_file_matches_pattern2() 708 if (*pattern != '\\') { in tomoyo_file_matches_pattern2() 709 if (*filename++ != *pattern++) in tomoyo_file_matches_pattern2() [all …]
|
/Linux-v6.1/mm/ |
D | memtest.c | 28 static void __init reserve_bad_mem(u64 pattern, phys_addr_t start_bad, phys_addr_t end_bad) in reserve_bad_mem() argument 31 cpu_to_be64(pattern), &start_bad, &end_bad); in reserve_bad_mem() 35 static void __init memtest(u64 pattern, phys_addr_t start_phys, phys_addr_t size) in memtest() argument 40 const size_t incr = sizeof(pattern); in memtest() 49 *p = pattern; in memtest() 52 if (*p == pattern) in memtest() 59 reserve_bad_mem(pattern, start_bad, last_bad + incr); in memtest() 63 reserve_bad_mem(pattern, start_bad, last_bad + incr); in memtest() 66 static void __init do_one_pass(u64 pattern, phys_addr_t start, phys_addr_t end) in do_one_pass() argument 76 pr_info(" %pa - %pa pattern %016llx\n", in do_one_pass() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/dma/ |
D | renesas,rcar-dmac.yaml | 61 - pattern: "^ch([0-9]|1[0-5])$" 62 - pattern: "^ch([0-9]|1[0-5])$" 63 - pattern: "^ch([0-9]|1[0-5])$" 64 - pattern: "^ch([0-9]|1[0-5])$" 65 - pattern: "^ch([0-9]|1[0-5])$" 66 - pattern: "^ch([0-9]|1[0-5])$" 67 - pattern: "^ch([0-9]|1[0-5])$" 68 - pattern: "^ch([0-9]|1[0-5])$" 69 - pattern: "^ch([0-9]|1[0-5])$" 70 - pattern: "^ch([0-9]|1[0-5])$" [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mailbox/ |
D | nvidia,tegra186-hsp.yaml | 63 pattern: "^hsp@[0-9a-f]+$" 88 - pattern: "^shared[0-7]$" 89 - pattern: "^shared[0-7]$" 90 - pattern: "^shared[0-7]$" 91 - pattern: "^shared[0-7]$" 92 - pattern: "^shared[0-7]$" 93 - pattern: "^shared[0-7]$" 94 - pattern: "^shared[0-7]$" 95 - pattern: "^shared[0-7]$" 98 - pattern: "^shared[0-7]$" [all …]
|
/Linux-v6.1/drivers/tc/ |
D | tc.c | 44 u8 pattern[4]; in tc_bus_add_devices() local 56 err |= tc_preadb(pattern + 0, module + offset + TC_PATTERN0); in tc_bus_add_devices() 57 err |= tc_preadb(pattern + 1, module + offset + TC_PATTERN1); in tc_bus_add_devices() 58 err |= tc_preadb(pattern + 2, module + offset + TC_PATTERN2); in tc_bus_add_devices() 59 err |= tc_preadb(pattern + 3, module + offset + TC_PATTERN3); in tc_bus_add_devices() 63 if (pattern[0] != 0x55 || pattern[1] != 0x00 || in tc_bus_add_devices() 64 pattern[2] != 0xaa || pattern[3] != 0xff) { in tc_bus_add_devices() 68 err |= tc_preadb(pattern + 0, in tc_bus_add_devices() 70 err |= tc_preadb(pattern + 1, in tc_bus_add_devices() 72 err |= tc_preadb(pattern + 2, in tc_bus_add_devices() [all …]
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-class-led-trigger-pattern | 1 What: /sys/class/leds/<led>/pattern 5 Specify a software pattern for the LED, that supports altering 9 The pattern is given by a series of tuples, of brightness and 13 Documentation/devicetree/bindings/leds/leds-trigger-pattern.txt 19 Specify a hardware pattern for the LED, for LED hardware that 22 software pattern. 33 Specify a pattern repeat number. -1 means repeat indefinitely,
|
/Linux-v6.1/Documentation/devicetree/bindings/display/ |
D | renesas,du.yaml | 121 - pattern: '^dclkin\.[01]$' 122 - pattern: '^dclkin\.[01]$' 171 - pattern: '^dclkin\.[01]$' 172 - pattern: '^dclkin\.[01]$' 226 - pattern: '^dclkin\.[01]$' 227 - pattern: '^dclkin\.[01]$' 279 - pattern: '^dclkin\.[01]$' 280 - pattern: '^dclkin\.[01]$' 333 - pattern: '^dclkin\.[01]$' 334 - pattern: '^dclkin\.[01]$' [all …]
|
/Linux-v6.1/drivers/media/platform/xilinx/ |
D | xilinx-tpg.c | 3 * Xilinx Test Pattern Generator 71 * struct xtpg_device - Xilinx Test Pattern Generator device structure 83 * @pattern: test pattern control 103 struct v4l2_ctrl *pattern; member 132 bool passthrough, bool pattern) in __xtpg_update_pattern_control() argument 134 u32 pattern_mask = (1 << (xtpg->pattern->maximum + 1)) - 1; in __xtpg_update_pattern_control() 147 /* If test pattern mode is allowed unmask all other bits. */ in __xtpg_update_pattern_control() 148 if (pattern) in __xtpg_update_pattern_control() 151 __v4l2_ctrl_modify_range(xtpg->pattern, 0, xtpg->pattern->maximum, in __xtpg_update_pattern_control() 152 pattern_mask, pattern ? 9 : 0); in __xtpg_update_pattern_control() [all …]
|
/Linux-v6.1/tools/testing/selftests/bpf/ |
D | test_bpftool_synctypes.py | 42 def parse(self, pattern, end_marker): argument 46 @pattern: pattern used to identify the values to extract 54 capture = pattern.search(line) 55 if capture and pattern.groups >= 1: 83 pattern = re.compile('\[(BPF_\w*)\]\s*= (true|false),?$') 89 capture = pattern.search(line) 98 def parse(self, pattern, end_marker): argument 102 @pattern: pattern used to identify the values to extract 110 entries.update(pattern.findall(line)) 181 pattern = re.compile('^\s*(BPF_\w+),?(\s+/\*.*\*/)?$') [all …]
|
/Linux-v6.1/drivers/leds/rgb/ |
D | leds-qcom-lpg.c | 97 * @lut_mask: mask in LUT to start pattern generator for this channel 110 * @ramp_ping_pong: reverse through pattern, rather than wrapping to start 111 * @ramp_oneshot: perform only a single pass over the pattern 112 * @ramp_reverse: iterate over pattern backwards 113 * @ramp_tick_ms: length (in milliseconds) of one step in the pattern 114 * @ramp_lo_pause_ms: pause (in milliseconds) before iterating over pattern 115 * @ramp_hi_pause_ms: pause (in milliseconds) after iterating over pattern 116 * @pattern_lo_idx: start index of associated pattern 117 * @pattern_hi_idx: last index of associated pattern 212 static int lpg_lut_store(struct lpg *lpg, struct led_pattern *pattern, in lpg_lut_store() argument [all …]
|
/Linux-v6.1/include/linux/mtd/ |
D | bbm.h | 24 * @offs: offset of the pattern in the oob area of the page 27 * @len: length of the pattern, if 0 no pattern check is performed 31 * @reserved_block_code: if non-0, this pattern denotes a reserved (rather than 33 * @pattern: pattern to identify bad block table or factory marked good / 37 * pattern which identifies good and bad blocks. The assumption is made 38 * that the pattern and the version count are always located in the oob area 50 uint8_t *pattern; member 122 * @badblock_pattern: [REPLACEABLE] bad block scan pattern used for
|
/Linux-v6.1/Documentation/devicetree/bindings/leds/ |
D | leds-trigger-pattern.txt | 1 * Pattern format for LED pattern trigger 3 The pattern is given by a series of tuples, of brightness and duration (ms). 6 new value, and writing malformed pattern deactivates any active one. 13 The gradual dimming format of the software pattern values should be: 17 echo 0 1000 255 2000 > pattern 37 echo 0 1000 0 0 255 2000 255 0 > pattern
|
/Linux-v6.1/include/linux/ |
D | textsearch.h | 33 * @find: find the next occurrence of the pattern 35 * @get_pattern: return head of pattern 36 * @get_pattern_len: return length of pattern 94 * textsearch_next - continue searching for a pattern 98 * Continues a search looking for more occurrences of the pattern. 102 * Returns the position of the next occurrence of the pattern or 117 * textsearch_find - start searching for a pattern 121 * Returns the position of first occurrence of the pattern or 132 * textsearch_get_pattern - return head of the pattern 141 * textsearch_get_pattern_len - return length of the pattern
|
/Linux-v6.1/tools/testing/selftests/vm/ |
D | vm_util.c | 45 bool check_for_pattern(FILE *fp, const char *pattern, char *buf, size_t len) in check_for_pattern() argument 48 if (!strncmp(buf, pattern, strlen(pattern))) in check_for_pattern() 75 bool __check_huge(void *addr, char *pattern, int nr_hpages, in __check_huge() argument 87 ksft_exit_fail_msg("%s: Pattern is too long\n", __func__); in __check_huge() 97 * Fetch the pattern in the same block and check the number of in __check_huge() 100 if (!check_for_pattern(fp, pattern, buffer, sizeof(buffer))) in __check_huge() 103 snprintf(addr_pattern, MAX_LINE_LENGTH, "%s%%9ld kB", pattern); in __check_huge()
|
/Linux-v6.1/drivers/mtd/nand/onenand/ |
D | onenand_bbt.c | 20 * check_short_pattern - [GENERIC] check if a pattern is in the buffer 24 * @td: search pattern descriptor 26 * Check for a pattern at the given place. Used to search bad block 28 * no optional empty check and the pattern is expected to start 37 /* Compare the pattern */ in check_short_pattern() 39 if (p[i] != td->pattern[i]) in check_short_pattern() 49 * @bd: descriptor for the good/bad block search pattern 54 * for the given good/bad block identify pattern 126 * @bd: descriptor for the good/bad block search pattern 170 * @bd: descriptor for the good/bad block search pattern [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_link_encoder.c | 168 /* Disable PHY Bypass mode to setup the test pattern */ in set_dp_phy_pattern_d102() 191 /* Enable phy bypass mode to enable the test pattern */ in set_dp_phy_pattern_d102() 212 /* Write Training Pattern */ in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() 220 /* Disable PHY Bypass mode to output Training Pattern */ in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() 257 /* Disable PHY Bypass mode to setup the test pattern */ in set_dp_phy_pattern_symbol_error() 263 /* A PRBS23 pattern is used for most DP electrical measurements. */ in set_dp_phy_pattern_symbol_error() 273 /* Enable phy bypass mode to enable the test pattern */ in set_dp_phy_pattern_symbol_error() 280 /* Disable PHY Bypass mode to setup the test pattern */ in set_dp_phy_pattern_prbs7() 283 /* A PRBS7 pattern is used for most DP electrical measurements. */ in set_dp_phy_pattern_prbs7() 293 /* Enable phy bypass mode to enable the test pattern */ in set_dp_phy_pattern_prbs7() [all …]
|
/Linux-v6.1/scripts/ |
D | parse-maintainers.pl | 31 usage: $P [options] <pattern matching regexes> 48 F: File and directory pattern 49 X: File and directory exclusion pattern 53 If <pattern match regexes> exist, then the sections that match the 126 foreach my $pattern (sort by_pattern split('\n', %$hashref{$key})) { 127 print $file ($pattern . "\n"); 130 foreach my $pattern (split('\n', %$hashref{$key})) { 131 print $file ($pattern . "\n"); 151 # Pattern line? 170 trim($lastline) eq "" or die ("Odd non-pattern line '$lastline' for '$case'");
|