/linux-5.10/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}$" 37 … - pattern: "^(atmel|catalyst|microchip|nxp|ramtron|renesas|rohm|st),(24(c|cs|lc|mac)[0-9]+|spd)$" 38 - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$" 41 pattern: c00$ 43 pattern: c01$ 45 pattern: cs01$ 47 pattern: c02$ 49 pattern: cs02$ 51 pattern: mac402$ [all …]
|
/linux-5.10/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 | 14 * match_one: - Determines if a string matches a simple pattern 15 * @s: the string to examine for presence of the pattern 16 * @p: the string containing the pattern 20 * Description: Determines if the pattern @p is present in string @s. Can only 21 * match extremely simple token=arg style patterns. If the pattern is found, 96 * &struct match_token whose pattern is set to the NULL pointer. 109 for (p = table; !match_one(s, p->pattern, args) ; p++) in match_token() 239 * match_wildcard: - parse if a string matches given wildcard pattern 240 * @pattern: wildcard pattern 244 * pattern @pattern. The pattern may contain two type wildcardes: [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-5.10/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-5.10/security/tomoyo/ |
D | util.c | 624 * tomoyo_const_part_length - Evaluate the initial length without a pattern in a token. 628 * Returns the initial length without a pattern in @filename. 684 * tomoyo_file_matches_pattern2 - Pattern matching without '/' character and "\-" pattern. 688 * @pattern: The start of pattern to compare. 689 * @pattern_end: The end of pattern to compare. 691 * Returns true if @filename matches @pattern, false otherwise. 695 const char *pattern, in tomoyo_file_matches_pattern2() argument 698 while (filename < filename_end && pattern < pattern_end) { in tomoyo_file_matches_pattern2() 703 if (*pattern != '\\') { in tomoyo_file_matches_pattern2() 704 if (*filename++ != *pattern++) in tomoyo_file_matches_pattern2() [all …]
|
/linux-5.10/Documentation/devicetree/bindings/dma/ |
D | renesas,rcar-dmac.yaml | 55 - pattern: "^ch([0-9]|1[0-5])$" 56 - pattern: "^ch([0-9]|1[0-5])$" 57 - pattern: "^ch([0-9]|1[0-5])$" 58 - pattern: "^ch([0-9]|1[0-5])$" 59 - pattern: "^ch([0-9]|1[0-5])$" 60 - pattern: "^ch([0-9]|1[0-5])$" 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])$" [all …]
|
/linux-5.10/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-5.10/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-5.10/Documentation/leds/ |
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 …]
|
D | leds-lm3556.rst | 77 Indicator pattern can be set through sys/class/leds/indicator/pattern file, 80 According to N-lank, Pulse time and N Period values, different pattern wiill 86 Indicator pattern example: 88 pattern 0:: 90 #echo 0 > sys/class/leds/indicator/pattern 94 pattern 3:: 96 #echo 3 > sys/class/leds/indicator/pattern
|
/linux-5.10/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-5.10/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-5.10/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-5.10/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
|
D | leds-el15203000.txt | 10 Doesn't have any hardware blinking pattern. 13 encoded with symbol 'S' (hex code 0x53). Supports blinking breathing pattern. 18 - cascade pattern 19 - inversed cascade pattern 20 - bounce pattern 21 - inversed bounce pattern
|
/linux-5.10/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-5.10/drivers/mtd/nand/onenand/ |
D | onenand_bbt.c | 20 * check_short_pattern - [GENERIC] check if a pattern is in the buffer 24 * @param 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 * @param bd descriptor for the good/bad block search pattern 54 * for the given good/bad block identify pattern 126 * @param bd descriptor for the good/bad block search pattern 170 * @param bd descriptor for the good/bad block search pattern [all …]
|
/linux-5.10/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'");
|
/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_link_encoder.c | 171 /* Disable PHY Bypass mode to setup the test pattern */ in set_dp_phy_pattern_d102() 194 /* Enable phy bypass mode to enable the test pattern */ in set_dp_phy_pattern_d102() 215 /* Write Training Pattern */ in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() 223 /* Disable PHY Bypass mode to output Training Pattern */ in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() 260 /* Disable PHY Bypass mode to setup the test pattern */ in set_dp_phy_pattern_symbol_error() 266 /* A PRBS23 pattern is used for most DP electrical measurements. */ in set_dp_phy_pattern_symbol_error() 276 /* Enable phy bypass mode to enable the test pattern */ in set_dp_phy_pattern_symbol_error() 283 /* Disable PHY Bypass mode to setup the test pattern */ in set_dp_phy_pattern_prbs7() 286 /* A PRBS7 pattern is used for most DP electrical measurements. */ in set_dp_phy_pattern_prbs7() 296 /* Enable phy bypass mode to enable the test pattern */ in set_dp_phy_pattern_prbs7() [all …]
|
/linux-5.10/drivers/leds/ |
D | leds-el15203000.c | 139 struct led_pattern *pattern, in el15203000_pattern_set_S() argument 147 pattern[0].delta_t != 4000 || pattern[0].brightness != 0 || in el15203000_pattern_set_S() 148 pattern[1].delta_t != 4000 || pattern[1].brightness != 1) in el15203000_pattern_set_S() 157 static bool is_cascade(const struct led_pattern *pattern, u32 len, in is_cascade() argument 171 if (pattern[i].delta_t != EL_PATTERN_DELAY_MSEC || in is_cascade() 172 pattern[i].brightness != t) in is_cascade() 181 static bool is_bounce(const struct led_pattern *pattern, u32 len, bool inv) in is_bounce() argument 186 return is_cascade(pattern, EL_PATTERN_HALF_LEN, inv, false) && in is_bounce() 187 is_cascade(pattern + EL_PATTERN_HALF_LEN, in is_bounce() 192 struct led_pattern *pattern, in el15203000_pattern_set_P() argument [all …]
|
/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_link_encoder.c | 199 /* Disable PHY Bypass mode to setup the test pattern */ in set_dp_phy_pattern_d102() 222 /* Enable phy bypass mode to enable the test pattern */ in set_dp_phy_pattern_d102() 243 /* Write Training Pattern */ in dce110_link_encoder_set_dp_phy_pattern_training_pattern() 251 /* Disable PHY Bypass mode to output Training Pattern */ in dce110_link_encoder_set_dp_phy_pattern_training_pattern() 291 /* Disable PHY Bypass mode to setup the test pattern */ in set_dp_phy_pattern_symbol_error() 297 /* A PRBS23 pattern is used for most DP electrical measurements. */ in set_dp_phy_pattern_symbol_error() 307 /* Enable phy bypass mode to enable the test pattern */ in set_dp_phy_pattern_symbol_error() 314 /* Disable PHY Bypass mode to setup the test pattern */ in set_dp_phy_pattern_prbs7() 317 /* A PRBS7 pattern is used for most DP electrical measurements. */ in set_dp_phy_pattern_prbs7() 327 /* Enable phy bypass mode to enable the test pattern */ in set_dp_phy_pattern_prbs7() [all …]
|
/linux-5.10/drivers/leds/trigger/ |
D | ledtrig-timer.c | 80 u32 *pattern; in pattern_init() local 83 pattern = led_get_default_pattern(led_cdev, &size); in pattern_init() 84 if (!pattern) in pattern_init() 89 "Expected 2 but got %u values for delays pattern\n", in pattern_init() 94 led_cdev->blink_delay_on = pattern[0]; in pattern_init() 95 led_cdev->blink_delay_off = pattern[1]; in pattern_init() 99 kfree(pattern); in pattern_init()
|
D | ledtrig-oneshot.c | 132 u32 *pattern; in pattern_init() local 135 pattern = led_get_default_pattern(led_cdev, &size); in pattern_init() 136 if (!pattern) in pattern_init() 141 "Expected 2 but got %u values for delays pattern\n", in pattern_init() 146 led_cdev->blink_delay_on = pattern[0]; in pattern_init() 147 led_cdev->blink_delay_off = pattern[1]; in pattern_init() 148 kfree(pattern); in pattern_init() 153 kfree(pattern); in pattern_init()
|