/linux-6.3-rc2/Documentation/devicetree/bindings/eeprom/ |
A D | at24.yaml | 43 pattern: c00$ 45 pattern: c01$ 47 pattern: cs01$ 49 pattern: c02$ 51 pattern: cs02$ 57 pattern: c04$ 59 pattern: cs04$ 61 pattern: c08$ 65 pattern: c16$ 69 pattern: c32$ [all …]
|
/linux-6.3-rc2/lib/ |
A D | ts_kmp.c | 37 u8 * pattern; member 56 while (q > 0 && kmp->pattern[q] in kmp_find() 59 if (kmp->pattern[q] in kmp_find() 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() 108 kmp->pattern = (u8 *) kmp->prefix_tbl + prefix_tbl_len; in kmp_init() 111 kmp->pattern[i] = toupper(((u8 *)pattern)[i]); in kmp_init() 113 memcpy(kmp->pattern, pattern, len); in kmp_init() [all …]
|
A D | ts_bm.c | 52 u8 * pattern; member 78 != bm->pattern[bm->patlen-1-i]) in bm_find() 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() 157 bm->pattern = (u8 *) bm->good_shift + prefix_tbl_len; in bm_init() 160 bm->pattern[i] = toupper(((u8 *)pattern)[i]); in bm_init() 162 memcpy(bm->pattern, pattern, len); in bm_init() [all …]
|
/linux-6.3-rc2/Documentation/leds/ |
A 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. 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. 42 Simple pattern:: 55 in the pattern, the so called "low pause" and "high pause". 57 Low-pause pattern:: [all …]
|
A D | leds-lp55xx.rst | 63 This pattern data is saved as a file in the user-land or 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:: 136 The pattern sequence of LP8501 is similar to LP5523. 138 However pattern data is specific. 179 ( Predefined pattern data ) 182 loading a LED pattern. That is 'predefined' pattern. 190 Example of predefined pattern data:: [all …]
|
/linux-6.3-rc2/drivers/tc/ |
A 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() 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() 74 err |= tc_preadb(pattern + 3, in tc_bus_add_devices() 80 if (pattern[0] != 0x55 || pattern[1] != 0x00 || in tc_bus_add_devices() [all …]
|
/linux-6.3-rc2/mm/ |
A 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 77 &this_start, &this_end, cpu_to_be64(pattern)); in do_one_pass() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/thermal/ |
A D | qcom-tsens.yaml | 113 - pattern: '^s[0-9]+_p1$' 114 - pattern: '^s[0-9]+_p2$' 115 - pattern: '^s[0-9]+_p1$' 116 - pattern: '^s[0-9]+_p2$' 117 - pattern: '^s[0-9]+_p1$' 118 - pattern: '^s[0-9]+_p2$' 119 - pattern: '^s[0-9]+_p1$' 120 - pattern: '^s[0-9]+_p2$' 121 - pattern: '^s[0-9]+_p1$' 122 - pattern: '^s[0-9]+_p2$' [all …]
|
/linux-6.3-rc2/security/tomoyo/ |
A D | util.c | 708 if (*pattern != '\\') { in tomoyo_file_matches_pattern2() 714 pattern++; in tomoyo_file_matches_pattern2() 715 switch (*pattern) { in tomoyo_file_matches_pattern2() 753 pattern += 2; in tomoyo_file_matches_pattern2() 779 c = *pattern; in tomoyo_file_matches_pattern2() 799 pattern++; in tomoyo_file_matches_pattern2() 802 (*(pattern + 1) == '*' || *(pattern + 1) == '@')) in tomoyo_file_matches_pattern2() 803 pattern += 2; in tomoyo_file_matches_pattern2() 819 const char *pattern, in tomoyo_file_matches_pattern() argument 828 if (*pattern++ != '\\' || *pattern++ != '-') in tomoyo_file_matches_pattern() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/dma/ |
A 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-6.3-rc2/drivers/leds/ |
A D | leds-el15203000.c | 140 struct led_pattern *pattern, in el15203000_pattern_set_S() argument 146 pattern[0].delta_t != 4000 || pattern[0].brightness != 0 || in el15203000_pattern_set_S() 147 pattern[1].delta_t != 4000 || pattern[1].brightness != 1) in el15203000_pattern_set_S() 170 if (pattern[i].delta_t != EL_PATTERN_DELAY_MSEC || in is_cascade() 171 pattern[i].brightness != t) in is_cascade() 186 is_cascade(pattern + EL_PATTERN_HALF_LEN, in is_bounce() 191 struct led_pattern *pattern, in el15203000_pattern_set_P() argument 200 if (is_cascade(pattern, len, false, false)) { in el15203000_pattern_set_P() 205 } else if (is_cascade(pattern, len, true, false)) { in el15203000_pattern_set_P() 210 } else if (is_bounce(pattern, len, false)) { in el15203000_pattern_set_P() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | test_bpftool_synctypes.py | 42 def parse(self, pattern, end_marker): argument 54 capture = pattern.search(line) 55 if capture and pattern.groups >= 1: 89 capture = pattern.search(line) 98 def parse(self, pattern, end_marker): argument 110 entries.update(pattern.findall(line)) 185 return parser.parse(pattern, end_marker) 211 return parser.parse(pattern, end_marker) 249 pattern = re.compile('([\w/]+) [|}]') 324 return parser.parse(pattern, end_marker) [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/mailbox/ |
A 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-6.3-rc2/scripts/ |
A D | list-gitignored.c | 195 const uchar *pattern = p; in dowild() local 455 const char *p = *pattern; in parse_path_pattern() 484 *pattern = p; in parse_path_pattern() 544 if (*pattern == '/') { in match_pathname() 545 pattern++; in match_pathname() 573 pattern += prefix; in match_pathname() 597 struct pattern { struct 602 char pattern[]; member 687 p->pattern, in is_ignored() 695 p->pattern, in is_ignored() [all …]
|
/linux-6.3-rc2/mm/damon/ |
A D | lru_sort.c | 149 struct damos_access_pattern *pattern, enum damos_action action) in damon_lru_sort_new_scheme() argument 158 pattern, in damon_lru_sort_new_scheme() 170 struct damos_access_pattern pattern = damon_lru_sort_stub_pattern; in damon_lru_sort_new_hot_scheme() local 172 pattern.min_nr_accesses = hot_thres; in damon_lru_sort_new_hot_scheme() 173 return damon_lru_sort_new_scheme(&pattern, DAMOS_LRU_PRIO); in damon_lru_sort_new_hot_scheme() 179 struct damos_access_pattern pattern = damon_lru_sort_stub_pattern; in damon_lru_sort_new_cold_scheme() local 181 pattern.max_nr_accesses = 0; in damon_lru_sort_new_cold_scheme() 182 pattern.min_age_region = cold_thres; in damon_lru_sort_new_cold_scheme() 183 return damon_lru_sort_new_scheme(&pattern, DAMOS_LRU_DEPRIO); in damon_lru_sort_new_cold_scheme()
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A 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-6.3-rc2/Documentation/devicetree/bindings/arm/ |
A D | qcom-soc.yaml | 26 pattern: "^qcom,.*(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$" 34 - pattern: "^qcom,(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+-.*$" 35 - pattern: "^qcom,(sa|sc)8[0-9]+[a-z][a-z]?-.*$" 39 - pattern: "^qcom,[ak]pss-wdt-(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$" 40 - pattern: "^qcom,gcc-(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$" 41 - pattern: "^qcom,mmcc-(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$" 42 - pattern: "^qcom,pcie-(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$" 43 - pattern: "^qcom,rpm-(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$" 44 - pattern: "^qcom,scm-(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$"
|
/linux-6.3-rc2/Documentation/devicetree/bindings/misc/ |
A D | idt,89hpesx.yaml | 16 pattern: '^idt,89hpes' 23 - pattern: '^idt,89hpes(8nt2|12nt3|12n3a?|24n3a?|(12|24)t3g2|4t4g2|10t4g2|[56]t5|8t5a?)$' 24 - pattern: '^idt,89hpes(6t6g2|16t7|(24t6|32t8|48t12|16t4a?)(g2)?)$' 25 - pattern: '^idt,89hpes(24nt6a|32nt8[ab]|12nt12|16nt16|24nt24|32nt24[ab])g2$' 26 - pattern: '^idt,89hpes((32h8|48h12a?|22h16|34h16|64h16a?)(g2)?|16h16)$' 45 pattern: ',24c(32|64|128|256|512)$'
|
/linux-6.3-rc2/drivers/leds/trigger/ |
A 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() 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()
|
A 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() 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()
|
/linux-6.3-rc2/tools/testing/selftests/mm/ |
A D | vm_util.c | 70 bool check_for_pattern(FILE *fp, const char *pattern, char *buf, size_t len) in check_for_pattern() argument 73 if (!strncmp(buf, pattern, strlen(pattern))) in check_for_pattern() 100 bool __check_huge(void *addr, char *pattern, int nr_hpages, in __check_huge() argument 125 if (!check_for_pattern(fp, pattern, buffer, sizeof(buffer))) in __check_huge() 128 snprintf(addr_pattern, MAX_LINE_LENGTH, "%s%%9ld kB", pattern); in __check_huge()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/leds/ |
A 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
|
A 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-6.3-rc2/Documentation/devicetree/bindings/display/ |
A D | renesas,du.yaml | 122 - pattern: '^dclkin\.[01]$' 123 - pattern: '^dclkin\.[01]$' 172 - pattern: '^dclkin\.[01]$' 173 - pattern: '^dclkin\.[01]$' 227 - pattern: '^dclkin\.[01]$' 228 - pattern: '^dclkin\.[01]$' 280 - pattern: '^dclkin\.[01]$' 281 - pattern: '^dclkin\.[01]$' 334 - pattern: '^dclkin\.[01]$' 335 - pattern: '^dclkin\.[01]$' [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/accessories/ |
A D | link_dp_cts.c | 668 enum dpcd_phy_test_patterns pattern; in dc_link_dp_set_test_pattern() local 748 pattern = PHY_TEST_PATTERN_NONE; in dc_link_dp_set_test_pattern() 751 pattern = PHY_TEST_PATTERN_D10_2; in dc_link_dp_set_test_pattern() 757 pattern = PHY_TEST_PATTERN_PRBS7; in dc_link_dp_set_test_pattern() 778 pattern = PHY_TEST_PATTERN_PRBS9; in dc_link_dp_set_test_pattern() 781 pattern = PHY_TEST_PATTERN_PRBS11; in dc_link_dp_set_test_pattern() 784 pattern = PHY_TEST_PATTERN_PRBS15; in dc_link_dp_set_test_pattern() 787 pattern = PHY_TEST_PATTERN_PRBS23; in dc_link_dp_set_test_pattern() 790 pattern = PHY_TEST_PATTERN_PRBS31; in dc_link_dp_set_test_pattern() 796 pattern = PHY_TEST_PATTERN_SQUARE; in dc_link_dp_set_test_pattern() [all …]
|