/linux-4.4.14/mm/ |
H A D | memtest.c | 27 static void __init reserve_bad_mem(u64 pattern, phys_addr_t start_bad, phys_addr_t end_bad) reserve_bad_mem() argument 30 cpu_to_be64(pattern), &start_bad, &end_bad); reserve_bad_mem() 34 static void __init memtest(u64 pattern, phys_addr_t start_phys, phys_addr_t size) memtest() argument 39 const size_t incr = sizeof(pattern); memtest() 48 *p = pattern; memtest() 51 if (*p == pattern) memtest() 58 reserve_bad_mem(pattern, start_bad, last_bad + incr); memtest() 62 reserve_bad_mem(pattern, start_bad, last_bad + incr); memtest() 65 static void __init do_one_pass(u64 pattern, phys_addr_t start, phys_addr_t end) do_one_pass() argument 75 pr_info(" %pa - %pa pattern %016llx\n", do_one_pass() 76 &this_start, &this_end, cpu_to_be64(pattern)); do_one_pass() 77 memtest(pattern, this_start, this_end - this_start); do_one_pass()
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
H A 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 45 * bit 15:8 pattern 10 length 46 * bit 7:0 pattern 11 length 49 * bit 31:24 pattern 12 length 50 * bit 23:16 pattern 13 length 51 * bit 15:8 pattern 14 length 52 * bit 7:0 pattern 15 length
|
H A D | wow.c | 71 * deauthenticate pattern, from this we need to match the first byte ath9k_wow_add_disassoc_deauth_pattern() 75 * Disassociate pattern ath9k_wow_add_disassoc_deauth_pattern() 82 * Deauthenticate pattern ath9k_wow_add_disassoc_deauth_pattern() 115 /* Create Disassociate pattern mask */ ath9k_wow_add_disassoc_deauth_pattern() 127 * for de-authenticate pattern, only the first byte of the frame ath9k_wow_add_disassoc_deauth_pattern() 152 memcpy(wow_pattern, patterns[i].pattern, patterns[i].pattern_len); ath9k_wow_add_pattern() 234 "Unable to add disassoc/deauth pattern: %d\n", ret); ath9k_suspend() 242 "Unable to add user pattern: %d\n", ret); ath9k_suspend()
|
H A D | dfs.h | 35 * the DFS detector for pattern detection.
|
H A D | htc_hst.h | 81 __be32 pattern; member in struct:htc_panic_bad_vaddr 88 __be32 pattern; member in struct:htc_panic_bad_epid
|
H A D | dfs_debug.h | 51 /* pattern detection stats */
|
H A D | htc_hst.c | 363 uint32_t *pattern = (uint32_t *)skb->data; ath9k_htc_fw_panic_report() local 365 switch (*pattern) { ath9k_htc_fw_panic_report() 385 dev_err(htc_handle->dev, "ath: uknown panic pattern!\n"); ath9k_htc_fw_panic_report() 430 /* Move past the Watchdog pattern */ ath9k_htc_rx_msg()
|
H A D | ar9003_wow.c | 357 * Create keep alive pattern to respond to beacons. ath9k_hw_wow_enable() 408 * Enable pattern matching for packets which are less ath9k_hw_wow_enable()
|
H A D | hw.h | 282 * an exact user defined pattern or de-authentication/disassoc pattern. 284 * bytes of the pattern for user defined pattern, de-authentication and
|
/linux-4.4.14/lib/ |
H A D | ts_kmp.c | 17 * auxiliary function PI[1..m], for m being length(pattern), 18 * precomputed from the pattern in time O(m). The array PI allows 41 u8 * pattern; member in struct:ts_kmp 60 while (q > 0 && kmp->pattern[q] kmp_find() 63 if (kmp->pattern[q] kmp_find() 78 static inline void compute_prefix_tbl(const u8 *pattern, unsigned int len, compute_prefix_tbl() argument 85 while (k > 0 && (icase ? toupper(pattern[k]) : pattern[k]) compute_prefix_tbl() 86 != (icase ? toupper(pattern[q]) : pattern[q])) compute_prefix_tbl() 88 if ((icase ? toupper(pattern[k]) : pattern[k]) compute_prefix_tbl() 89 == (icase ? toupper(pattern[q]) : pattern[q])) compute_prefix_tbl() 95 static struct ts_config *kmp_init(const void *pattern, unsigned int len, kmp_init() argument 111 compute_prefix_tbl(pattern, len, kmp->prefix_tbl, flags); kmp_init() 112 kmp->pattern = (u8 *) kmp->prefix_tbl + prefix_tbl_len; kmp_init() 115 kmp->pattern[i] = toupper(((u8 *)pattern)[i]); kmp_init() 117 memcpy(kmp->pattern, pattern, len); kmp_init() 125 return kmp->pattern; kmp_get_pattern()
|
H A D | ts_bm.c | 56 u8 * pattern; member in struct:ts_bm 82 != bm->pattern[bm->patlen-1-i]) bm_find() 100 static int subpattern(u8 *pattern, int i, int j, int g) subpattern() argument 104 while(pattern[x--] == pattern[y--]) { subpattern() 110 ret = pattern[i-1] != pattern[j-1]; subpattern() 125 bm->bad_shift[bm->pattern[i]] = bm->patlen - 1 - i; compute_prefix_tbl() 127 bm->bad_shift[tolower(bm->pattern[i])] compute_prefix_tbl() 138 if (subpattern(bm->pattern, i, j, g)) { compute_prefix_tbl() 145 static struct ts_config *bm_init(const void *pattern, unsigned int len, bm_init() argument 161 bm->pattern = (u8 *) bm->good_shift + prefix_tbl_len; bm_init() 164 bm->pattern[i] = toupper(((u8 *)pattern)[i]); bm_init() 166 memcpy(bm->pattern, pattern, len); bm_init() 175 return bm->pattern; bm_get_pattern()
|
H A D | parser.c | 16 * match_one: - Determines if a string matches a simple pattern 17 * @s: the string to examine for presence of the pattern 18 * @p: the string containing the pattern 22 * Description: Determines if the pattern @p is present in string @s. Can only 23 * match extremely simple token=arg style patterns. If the pattern is found, 98 * &struct match_token whose pattern is set to the NULL pointer. 111 for (p = table; !match_one(s, p->pattern, args) ; p++) match_token() 200 * match_wildcard: - parse if a string matches given wildcard pattern 201 * @pattern: wildcard pattern 205 * pattern @pattern. The pattern may contain two type wildcardes: 210 bool match_wildcard(const char *pattern, const char *str) match_wildcard() argument 213 const char *p = pattern; match_wildcard() 227 pattern = p; match_wildcard() 238 p = pattern; match_wildcard()
|
H A D | textsearch.c | 38 * search parameters such as the pattern and algorithm name. 58 * the pattern to look for and flags. As a flag, you can set TS_IGNORECASE 68 * the position of the first occurrence of the pattern or UINT_MAX if 80 * const char *pattern = "chicken"; 83 * conf = textsearch_prepare("kmp", pattern, strlen(pattern), 217 * textsearch_find_continuous - search a pattern in continuous/linear data 226 * Returns the position of first occurrence of the pattern or 246 * @pattern: pattern data 247 * @len: length of pattern 252 * configuration for the specified pattern. 254 * Note: The format of the pattern may not be compatible between 258 * parameters or a ERR_PTR(). If a zero length pattern is passed, this 261 struct ts_config *textsearch_prepare(const char *algo, const void *pattern, textsearch_prepare() argument 287 conf = ops->init(pattern, len, gfp_mask, flags); textsearch_prepare()
|
H A D | glob.c | 13 * glob_match - Shell-style pattern matching, like !fnmatch(pat, str, 0) 14 * @pat: Shell-style pattern to match, e.g. "*.[ch]". 15 * @str: String to match. The pattern must match the entire string. 29 * it takes 6 passes over the pattern before matching the string. 262 * pattern and the string to match it against. glob_init()
|
H A D | ts_fsm.c | 14 * representing the pattern as a finite automation. The data is read 21 * whether the pattern has to start at the first octet. Strict mode 259 static struct ts_config *fsm_init(const void *pattern, unsigned int len, fsm_init() argument 265 struct ts_fsm_token *tokens = (struct ts_fsm_token *) pattern; fsm_init() 293 memcpy(fsm->tokens, pattern, len); fsm_init()
|
H A D | asn1_decoder.c | 144 * asn1_ber_decoder - Decoder BER/DER/CER ASN.1 according to pattern 150 * Decode BER/DER/CER encoded ASN.1 data according to a bytecode pattern
|
H A D | list_sort.c | 155 * The pattern of set bits in the list length determines which cases
|
/linux-4.4.14/drivers/tc/ |
H A D | tc.c | 43 u8 pattern[4]; tc_bus_add_devices() local 55 err |= tc_preadb(pattern + 0, module + offset + TC_PATTERN0); tc_bus_add_devices() 56 err |= tc_preadb(pattern + 1, module + offset + TC_PATTERN1); tc_bus_add_devices() 57 err |= tc_preadb(pattern + 2, module + offset + TC_PATTERN2); tc_bus_add_devices() 58 err |= tc_preadb(pattern + 3, module + offset + TC_PATTERN3); tc_bus_add_devices() 62 if (pattern[0] != 0x55 || pattern[1] != 0x00 || tc_bus_add_devices() 63 pattern[2] != 0xaa || pattern[3] != 0xff) { tc_bus_add_devices() 67 err |= tc_preadb(pattern + 0, tc_bus_add_devices() 69 err |= tc_preadb(pattern + 1, tc_bus_add_devices() 71 err |= tc_preadb(pattern + 2, tc_bus_add_devices() 73 err |= tc_preadb(pattern + 3, tc_bus_add_devices() 79 if (pattern[0] != 0x55 || pattern[1] != 0x00 || tc_bus_add_devices() 80 pattern[2] != 0xaa || pattern[3] != 0xff) tc_bus_add_devices()
|
/linux-4.4.14/include/linux/ |
H A D | parser.h | 11 /* associates an integer enumerator with a pattern string. */ 14 const char *pattern; member in struct:match_token 19 /* Maximum number of arguments that match_token will find in a pattern */ 32 bool match_wildcard(const char *pattern, const char *str);
|
H A D | textsearch.h | 32 * @find: find the next occurrence of the pattern 34 * @get_pattern: return head of pattern 35 * @get_pattern_len: return length of pattern 93 * textsearch_next - continue searching for a pattern 97 * Continues a search looking for more occurrences of the pattern. 101 * Returns the position of the next occurrence of the pattern or 116 * textsearch_find - start searching for a pattern 120 * Returns the position of first occurrence of the pattern or 131 * textsearch_get_pattern - return head of the pattern 140 * textsearch_get_pattern_len - return length of the pattern
|
H A D | crc8.h | 27 * whole received bitstream is _table[x], where x is the bit pattern
|
/linux-4.4.14/security/tomoyo/ |
H A D | util.c | 613 * tomoyo_const_part_length - Evaluate the initial length without a pattern in a token. 617 * Returns the initial length without a pattern in @filename. 673 * tomoyo_file_matches_pattern2 - Pattern matching without '/' character and "\-" pattern. 677 * @pattern: The start of pattern to compare. 678 * @pattern_end: The end of pattern to compare. 680 * Returns true if @filename matches @pattern, false otherwise. 684 const char *pattern, tomoyo_file_matches_pattern2() 687 while (filename < filename_end && pattern < pattern_end) { tomoyo_file_matches_pattern2() 689 if (*pattern != '\\') { tomoyo_file_matches_pattern2() 690 if (*filename++ != *pattern++) tomoyo_file_matches_pattern2() 695 pattern++; tomoyo_file_matches_pattern2() 696 switch (*pattern) { tomoyo_file_matches_pattern2() 734 && strncmp(filename + 1, pattern, 3) == 0) { tomoyo_file_matches_pattern2() 736 pattern += 2; tomoyo_file_matches_pattern2() 745 pattern + 1, pattern_end)) tomoyo_file_matches_pattern2() 748 if (c == '.' && *pattern == '@') tomoyo_file_matches_pattern2() 757 break; /* Bad pattern. */ tomoyo_file_matches_pattern2() 762 c = *pattern; tomoyo_file_matches_pattern2() 776 pattern + 1, pattern_end)) tomoyo_file_matches_pattern2() 779 return false; /* Not matched or bad pattern. */ tomoyo_file_matches_pattern2() 782 pattern++; tomoyo_file_matches_pattern2() 784 while (*pattern == '\\' && tomoyo_file_matches_pattern2() 785 (*(pattern + 1) == '*' || *(pattern + 1) == '@')) tomoyo_file_matches_pattern2() 786 pattern += 2; tomoyo_file_matches_pattern2() 787 return filename == filename_end && pattern == pattern_end; tomoyo_file_matches_pattern2() 795 * @pattern: The start of pattern to compare. 796 * @pattern_end: The end of pattern to compare. 798 * Returns true if @filename matches @pattern, false otherwise. 802 const char *pattern, tomoyo_file_matches_pattern() 805 const char *pattern_start = pattern; tomoyo_file_matches_pattern() 809 while (pattern < pattern_end - 1) { tomoyo_file_matches_pattern() 810 /* Split at "\-" pattern. */ tomoyo_file_matches_pattern() 811 if (*pattern++ != '\\' || *pattern++ != '-') tomoyo_file_matches_pattern() 816 pattern - 2); tomoyo_file_matches_pattern() 822 pattern_start = pattern; tomoyo_file_matches_pattern() 830 * tomoyo_path_matches_pattern2 - Do pathname pattern matching. 833 * @p: The start of pattern to compare. 861 /* Ignore trailing "\*" and "\@" in @pattern. */ tomoyo_path_matches_pattern2() 868 * The "\{" pattern is permitted only after '/' character. tomoyo_path_matches_pattern2() 870 * Also, the "\}" pattern is permitted only before '/' character tomoyo_path_matches_pattern2() 875 return false; /* Bad pattern. */ tomoyo_path_matches_pattern2() 877 /* Compare current component with pattern. */ tomoyo_path_matches_pattern2() 895 * tomoyo_path_matches_pattern - Check whether the given filename matches the given pattern. 898 * @pattern: The pattern to compare. 921 const struct tomoyo_path_info *pattern) tomoyo_path_matches_pattern() 924 const char *p = pattern->name; tomoyo_path_matches_pattern() 925 const int len = pattern->const_len; tomoyo_path_matches_pattern() 927 /* If @pattern doesn't contain pattern, I can use strcmp(). */ tomoyo_path_matches_pattern() 928 if (!pattern->is_patterned) tomoyo_path_matches_pattern() 929 return !tomoyo_pathcmp(filename, pattern); tomoyo_path_matches_pattern() 931 if (filename->is_dir != pattern->is_dir) tomoyo_path_matches_pattern() 682 tomoyo_file_matches_pattern2(const char *filename, const char *filename_end, const char *pattern, const char *pattern_end) tomoyo_file_matches_pattern2() argument 800 tomoyo_file_matches_pattern(const char *filename, const char *filename_end, const char *pattern, const char *pattern_end) tomoyo_file_matches_pattern() argument 920 tomoyo_path_matches_pattern(const struct tomoyo_path_info *filename, const struct tomoyo_path_info *pattern) tomoyo_path_matches_pattern() argument
|
/linux-4.4.14/include/uapi/linux/netfilter/ |
H A D | xt_string.h | 18 char pattern[XT_STRING_MAX_PATTERN_SIZE]; member in struct:xt_string_info
|
/linux-4.4.14/tools/testing/selftests/powerpc/switch_endian/ |
H A D | switch_endian_test.S | 10 pattern: label 15 /* Load the pattern */ 16 ld r15, pattern@TOC(%r2) 23 /* Load the pattern slightly modified into the registers */
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | stackprotector.h | 6 * Stack protector works by putting predefined pattern at the start of 8 * returning from the function. The pattern is called stack canary
|
/linux-4.4.14/arch/arm64/include/asm/ |
H A D | stackprotector.h | 4 * Stack protector works by putting predefined pattern at the start of 6 * returning from the function. The pattern is called stack canary
|
/linux-4.4.14/arch/arm/include/asm/ |
H A D | stackprotector.h | 4 * Stack protector works by putting predefined pattern at the start of 6 * returning from the function. The pattern is called stack canary
|
/linux-4.4.14/drivers/atm/ |
H A D | tonga.h | 14 #define SEPROM_MAGIC 0x0c /* obscure required pattern (ASIC only) */
|
H A D | suni.h | 205 pattern */ 207 pattern */ 210 pattern */ 226 #define SUNI_IDLE_PATTERN 0x6a /* idle pattern */
|
H A D | uPD98401.h | 215 #define uPD98401_TXPD_PTI 0x07000000 /* PTI pattern */ 217 #define uPD98401_TXPD_GFC 0x00f00000 /* GFC pattern */
|
/linux-4.4.14/drivers/mtd/onenand/ |
H A D | onenand_bbt.c | 21 * check_short_pattern - [GENERIC] check if a pattern is in the buffer 25 * @param td search pattern descriptor 27 * Check for a pattern at the given place. Used to search bad block 29 * no optional empty check and the pattern is expected to start 38 /* Compare the pattern */ check_short_pattern() 40 if (p[i] != td->pattern[i]) check_short_pattern() 50 * @param bd descriptor for the good/bad block search pattern 55 * for the given good/bad block identify pattern 127 * @param bd descriptor for the good/bad block search pattern 171 * @param bd descriptor for the good/bad block search pattern 214 * Define some generic bad / good block scan pattern which are used 223 .pattern = scan_ff_pattern,
|
/linux-4.4.14/include/linux/mtd/ |
H A D | bbm.h | 40 * @offs: offset of the pattern in the oob area of the page 43 * @len: length of the pattern, if 0 no pattern check is performed 47 * @reserved_block_code: if non-0, this pattern denotes a reserved (rather than 49 * @pattern: pattern to identify bad block table or factory marked good / 53 * pattern which identifies good and bad blocks. The assumption is made 54 * that the pattern and the version count are always located in the oob area 66 uint8_t *pattern; member in struct:nand_bbt_descr 98 /* Search good / bad pattern on the first and the second page */ 100 /* Search good / bad pattern on the last page of the eraseblock */ 149 * @badblock_pattern: [REPLACEABLE] bad block scan pattern used for
|
/linux-4.4.14/drivers/staging/iio/adc/ |
H A D | ad7780.c | 39 unsigned int pattern; member in struct:ad7780_chip_info 116 ((raw_sample & chip_info->pattern_mask) != chip_info->pattern)) ad7780_postprocess_sample() 139 .pattern = 0x5, 144 .pattern = 0x5, 149 .pattern = 0x1, 154 .pattern = 0x1,
|
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/ |
H A D | brw_test.c | 151 brw_fill_page(struct page *pg, int pattern, __u64 magic) brw_fill_page() argument 158 if (pattern == LST_BRW_CHECK_NONE) brw_fill_page() 164 if (pattern == LST_BRW_CHECK_SIMPLE) { brw_fill_page() 171 if (pattern == LST_BRW_CHECK_FULL) { brw_fill_page() 181 brw_check_page(struct page *pg, int pattern, __u64 magic) brw_check_page() argument 189 if (pattern == LST_BRW_CHECK_NONE) brw_check_page() 192 if (pattern == LST_BRW_CHECK_SIMPLE) { brw_check_page() 205 if (pattern == LST_BRW_CHECK_FULL) { brw_check_page() 224 brw_fill_bulk(srpc_bulk_t *bk, int pattern, __u64 magic) brw_fill_bulk() argument 231 brw_fill_page(pg, pattern, magic); brw_fill_bulk() 236 brw_check_bulk(srpc_bulk_t *bk, int pattern, __u64 magic) brw_check_bulk() argument 243 if (brw_check_page(pg, pattern, magic) != 0) { brw_check_bulk()
|
/linux-4.4.14/drivers/video/fbdev/core/ |
H A D | cfbfillrect.c | 31 * Aligned pattern fill using 32/64-bit memory accesses 85 * Unaligned generic pattern fill using 32/64-bit memory accesses 86 * The pattern must have been expanded to a full 32/64-bit value 87 * Left/right are the appropriate shifts to convert to the pattern to be 143 * Aligned pattern invert using 32/64-bit memory accesses 210 * Unaligned generic pattern invert using 32/64-bit memory accesses 211 * The pattern must have been expanded to a full 32/64-bit value 212 * Left/right are the appropriate shifts to convert to the pattern to be 358 /* rotate pattern to the correct start position */ cfb_fillrect()
|
H A D | sysfillrect.c | 21 * Aligned pattern fill using 32/64-bit memory accesses 74 * Unaligned generic pattern fill using 32/64-bit memory accesses 75 * The pattern must have been expanded to a full 32/64-bit value 76 * Left/right are the appropriate shifts to convert to the pattern to be 132 * Aligned pattern invert using 32/64-bit memory accesses 184 * Unaligned generic pattern invert using 32/64-bit memory accesses 185 * The pattern must have been expanded to a full 32/64-bit value 186 * Left/right are the appropriate shifts to convert to the pattern to be 322 /* rotate pattern to the correct start position */ sys_fillrect()
|
H A D | fb_draw.h | 20 * Create a pattern with the given pixel's color
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | string_32.h | 254 * as we by now know that both pattern and count is constant.. 257 void *__constant_c_and_count_memset(void *s, unsigned long pattern, __constant_c_and_count_memset() argument 264 *(unsigned char *)s = pattern & 0xff; __constant_c_and_count_memset() 267 *(unsigned short *)s = pattern & 0xffff; __constant_c_and_count_memset() 270 *(unsigned short *)s = pattern & 0xffff; __constant_c_and_count_memset() 271 *((unsigned char *)s + 2) = pattern & 0xff; __constant_c_and_count_memset() 274 *(unsigned long *)s = pattern; __constant_c_and_count_memset() 289 register unsigned long eax asm("%eax") = pattern; __constant_c_and_count_memset() 291 unsigned long eax = pattern; __constant_c_and_count_memset()
|
H A D | stackprotector.h | 4 * Stack protector works by putting predefined pattern at the start of 6 * returning from the function. The pattern is called stack canary
|
/linux-4.4.14/drivers/usb/gadget/function/ |
H A D | g_zero.h | 15 unsigned pattern; member in struct:usb_zero_options 26 unsigned pattern; member in struct:f_ss_opts
|
H A D | f_sourcesink.c | 54 unsigned pattern; member in struct:f_sourcesink 487 if (ss->pattern == 2) check_read_data() 491 switch (ss->pattern) { check_read_data() 525 switch (ss->pattern) { reinit_write_data() 555 if (ss->pattern != 2) source_sink_complete() 629 else if (ss->pattern != 2) source_sink_start_ep() 866 ss->pattern = ss_opts->pattern; source_sink_alloc_func() 909 result = sprintf(page, "%u\n", opts->pattern); f_ss_opts_pattern_show() 937 opts->pattern = num; f_ss_opts_pattern_store() 944 CONFIGFS_ATTR(f_ss_opts_, pattern);
|
/linux-4.4.14/arch/x86/realmode/rm/ |
H A D | wakemain.c | 39 static void send_morse(const char *pattern) send_morse() argument 43 while ((s = *pattern++)) { send_morse()
|
/linux-4.4.14/net/sched/ |
H A D | em_nbyte.c | 23 char pattern[0]; member in struct:nbyte_data 54 return !memcmp(ptr + nbyte->hdr.off, nbyte->pattern, nbyte->hdr.len); em_nbyte_match()
|
/linux-4.4.14/include/linux/platform_data/ |
H A D | leds-lp55xx.h | 56 * @patterns : Predefined pattern data for RGB channels 73 /* Predefined pattern data */
|
/linux-4.4.14/drivers/net/wireless/ath/ |
H A D | dfs_pattern_detector.h | 59 * struct radar_detector_specs - detector specs for a radar pattern type 60 * @type_id: pattern type, as defined by regulatory 69 * @chirp: chirp required for the radar pattern 85 * struct dfs_pattern_detector - DFS pattern detector 114 * dfs_pattern_detector_init() - constructor for pattern detector class
|
H A D | dfs_pri_detector.h | 49 * @add_pulse(): add pulse event, returns pri_sequence if pattern was detected
|
H A D | dfs_pattern_detector.c | 157 * to support off-channel scanning. A pattern detector has a list of channels 292 /* do type individual pattern matching */ dpd_add_pulse()
|
/linux-4.4.14/drivers/isdn/mISDN/ |
H A D | dsp_tones.c | 235 static struct pattern { struct 240 } pattern[] = { variable in typeref:struct:pattern 363 * the count will be changed and may begin from 0 each pattern period. 367 * pattern - the type of the pattern 368 * count - the sample from the beginning of the pattern (phase) 378 struct pattern *pat; dsp_tone_copy() 387 /* process pattern */ dsp_tone_copy() 388 pat = (struct pattern *)tone->pattern; dsp_tone_copy() 389 /* points to the current pattern */ dsp_tone_copy() 464 struct pattern *pat = (struct pattern *)tone->pattern; dsp_tone_timeout() 499 struct pattern *pat; dsp_tone() 518 while (pattern[i].tone) { dsp_tone() 519 if (pattern[i].tone == tone) { dsp_tone() 520 pat = &pattern[i]; dsp_tone() 533 tonet->pattern = pat; dsp_tone()
|
H A D | dsp.h | 151 void *pattern; member in struct:dsp_tone
|
/linux-4.4.14/drivers/media/platform/xilinx/ |
H A D | xilinx-tpg.c | 86 * @pattern: test pattern control 106 struct v4l2_ctrl *pattern; member in struct:xtpg_device 135 bool passthrough, bool pattern) __xtpg_update_pattern_control() 137 u32 pattern_mask = (1 << (xtpg->pattern->maximum + 1)) - 1; __xtpg_update_pattern_control() 150 /* If test pattern mode is allowed unmask all other bits. */ __xtpg_update_pattern_control() 151 if (pattern) __xtpg_update_pattern_control() 154 __v4l2_ctrl_modify_range(xtpg->pattern, 0, xtpg->pattern->maximum, __xtpg_update_pattern_control() 155 pattern_mask, pattern ? 9 : 0); __xtpg_update_pattern_control() 159 bool passthrough, bool pattern) xtpg_update_pattern_control() 162 __xtpg_update_pattern_control(xtpg, passthrough, pattern); xtpg_update_pattern_control() 215 * operation mode (passthrough or test pattern generation). The test xtpg_s_stream() 216 * pattern can be modified by the control set handler, we thus need to xtpg_s_stream() 222 XTPG_PATTERN_MASK, xtpg->pattern->cur.val); xtpg_s_stream() 225 * Switching between passthrough and test pattern generation modes isn't xtpg_s_stream() 228 passthrough = xtpg->pattern->cur.val == 0; xtpg_s_stream() 851 xtpg->pattern = v4l2_ctrl_new_std_menu_items(&xtpg->ctrl_handler, xtpg_probe() 134 __xtpg_update_pattern_control(struct xtpg_device *xtpg, bool passthrough, bool pattern) __xtpg_update_pattern_control() argument 158 xtpg_update_pattern_control(struct xtpg_device *xtpg, bool passthrough, bool pattern) xtpg_update_pattern_control() argument
|
H A D | xilinx-vip.c | 98 * Read the xlnx,video-format, xlnx,video-width and xlnx,cfa-pattern properties 107 const char *pattern = "mono"; xvip_of_get_format() local 122 of_property_read_string(node, "xlnx,cfa-pattern", &pattern); xvip_of_get_format() 131 strcmp(pattern, format->pattern)) xvip_of_get_format()
|
H A D | xilinx-vip.h | 110 * @pattern: CFA pattern for Mono/Sensor formats 119 const char *pattern; member in struct:xvip_video_format
|
/linux-4.4.14/drivers/regulator/ |
H A D | max8997.c | 184 int *reg, int *mask, int *pattern) max8997_get_enable_register() 192 *pattern = 0xC0; max8997_get_enable_register() 197 *pattern = 0x01; max8997_get_enable_register() 202 *pattern = 0x01; max8997_get_enable_register() 207 *pattern = 0x01; max8997_get_enable_register() 212 *pattern = 0x01; max8997_get_enable_register() 217 *pattern = 0x01; max8997_get_enable_register() 222 *pattern = 0x01; max8997_get_enable_register() 227 *pattern = 0x01; max8997_get_enable_register() 232 *pattern = 0x01 << (rid - MAX8997_EN32KHZ_AP); max8997_get_enable_register() 237 *pattern = 0x80; max8997_get_enable_register() 242 *pattern = 0x40 << (rid - MAX8997_ESAFEOUT1); max8997_get_enable_register() 247 *pattern = 0x40; max8997_get_enable_register() 261 int ret, reg, mask, pattern; max8997_reg_is_enabled() local 264 ret = max8997_get_enable_register(rdev, ®, &mask, &pattern); max8997_reg_is_enabled() 272 return (val & mask) == pattern; max8997_reg_is_enabled() 279 int ret, reg, mask, pattern; max8997_reg_enable() local 281 ret = max8997_get_enable_register(rdev, ®, &mask, &pattern); max8997_reg_enable() 285 return max8997_update_reg(i2c, reg, pattern, mask); max8997_reg_enable() 292 int ret, reg, mask, pattern; max8997_reg_disable() local 294 ret = max8997_get_enable_register(rdev, ®, &mask, &pattern); max8997_reg_disable() 298 return max8997_update_reg(i2c, reg, ~pattern, mask); max8997_reg_disable() 730 int ret, reg, mask, pattern; max8997_reg_disable_suspend() local 733 ret = max8997_get_enable_register(rdev, ®, &mask, &pattern); max8997_reg_disable_suspend() 749 (~pattern) & mask); max8997_reg_disable_suspend() 750 return max8997_update_reg(i2c, reg, ~pattern, mask); max8997_reg_disable_suspend() 183 max8997_get_enable_register(struct regulator_dev *rdev, int *reg, int *mask, int *pattern) max8997_get_enable_register() argument
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
H A D | fimc-is-sensor.h | 45 * @test_pattern: true to enable video test pattern
|
H A D | fimc-lite-reg.c | 101 * Test pattern (color bars) enable/disable. External sensor 102 * pixel clock must be active for the test pattern to work.
|
H A D | fimc-isp.h | 154 * @test_pattern: test pattern controls
|
H A D | fimc-lite.h | 122 * @test_pattern: test pattern controls
|
/linux-4.4.14/include/linux/mfd/ |
H A D | max8997.h | 135 * @internal_mode_pattern: internal mode pattern for internal mode 136 * [0 - 3]: valid pattern number 138 * for the internal mode pattern 140 * @pattern_signal_period: period of the waveform for the internal mode pattern
|
/linux-4.4.14/tools/perf/util/ |
H A D | string.c | 195 /* Glob/lazy pattern matching */ __match_glob() 239 * strglobmatch - glob expression pattern matching 241 * @pat: the pattern string to match 256 * strlazymatch - matching pattern strings lazily with glob pattern 258 * @pat: the pattern string to match
|
H A D | dwarf-aux.h | 50 /* Matching diename with glob pattern */
|
H A D | probe-event.h | 60 char *lazy_line; /* Lazy matching pattern */
|
H A D | strfilter.c | 50 /* Escape and special case: '!' is also used in glob pattern */ get_token()
|
/linux-4.4.14/drivers/mtd/nand/ |
H A D | nand_bbt.c | 34 * The table is marked in the OOB area with an ident pattern and a version 38 * course): it moves the ident pattern and the version byte into the data area 97 if (memcmp(buf, td->pattern, td->len)) check_pattern_no_oob() 103 * check_pattern - [GENERIC] check if a pattern is in the buffer 107 * @td: search pattern descriptor 109 * Check for a pattern at the given place. Used to search bad block tables and 117 /* Compare the pattern */ check_pattern() 118 if (memcmp(buf + paglen + td->offs, td->pattern, td->len)) check_pattern() 125 * check_short_pattern - [GENERIC] check if a pattern is in the buffer 127 * @td: search pattern descriptor 129 * Check for a pattern at the given place. Used to search bad block tables and 135 /* Compare the pattern */ check_short_pattern() 136 if (memcmp(buf + td->offs, td->pattern, td->len)) check_short_pattern() 447 * @bd: descriptor for the good/bad block search pattern 452 * identify pattern. 515 * Read the bad block table by searching for a given ident pattern. Search is 522 * The bbt ident pattern resides in the oob area of the first page in a block. 758 memcpy(buf, td->pattern, td->len); write_bbt() 770 memcpy(&buf[ooboffs + td->offs], td->pattern, td->len); write_bbt() 815 * @bd: descriptor for the good/bad block search pattern 831 * @bd: descriptor for the good/bad block search pattern 1066 * @bd: descriptor for the good/bad block search pattern 1119 /* Search the bad block table using a pattern in oob */ nand_scan_bbt() 1197 * Define some generic bad / good block scan pattern which are used 1213 .pattern = bbt_pattern 1223 .pattern = mirror_pattern 1233 .pattern = bbt_pattern 1243 .pattern = mirror_pattern 1260 pr_warn("Bad block pattern already allocated; not replacing\n"); nand_create_badblock_pattern() 1269 bd->pattern = scan_ff_pattern; nand_create_badblock_pattern() 1289 /* Use the default pattern descriptors */ nand_default_bbt()
|
H A D | cafe_nand.c | 477 .pattern = cafe_bbt_pattern_2048 487 .pattern = cafe_mirror_pattern_2048 503 .pattern = cafe_bbt_pattern_512 513 .pattern = cafe_mirror_pattern_512
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | fwil_types.h | 111 /* Wakeup if received matched secured pattern: */ 204 * start matching, the pattern to match, the size of the pattern, and a bitmask 205 * that indicates which bits within the pattern should be matched. 209 * Offset within received packet to start pattern matching. 213 /* Size of the pattern. Bitmask must be the same size.*/ 216 * Variable length mask and pattern data. mask starts at offset 0. 228 struct brcmf_pkt_filter_pattern_le pattern; /* Filter pattern */ member in union:brcmf_pkt_filter_le::__anon8284 542 * struct brcmf_fil_wowl_pattern_le - wowl pattern configuration struct. 547 * @patternoffset: Offset of start of pattern. Starting from field masksize. 548 * @patternsize: Size of the pattern itself in #of bytes 551 * @type: Type of pattern (enum brcmf_wowl_pattern_type) 563 /* u8 pattern[] - Pattern follows the mask is at 'patternoffset' */
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-cpu.c | 66 MODULE_PARM_DESC(cpu_pattern, "CPU partitions pattern"); 748 CERROR("CPU number %d is not multiple of cpu_npartition %d, please try different cpu_npartitions value or set pattern string by cpu_pattern=STRING\n", cfs_cpt_table_create() 822 cfs_cpt_table_create_pattern(char *pattern) cfs_cpt_table_create_pattern() argument 825 char *str = pattern; cfs_cpt_table_create_pattern() 838 str = cfs_trimwhite(pattern); cfs_cpt_table_create_pattern() 840 pattern = str + 1; cfs_cpt_table_create_pattern() 847 CERROR("Invalid pattern %s, or too many partitions %d\n", cfs_cpt_table_create_pattern() 848 pattern, ncpt); cfs_cpt_table_create_pattern() 860 for (str = cfs_trimwhite(pattern), c = 0;; c++) { cfs_cpt_table_create_pattern() 871 CERROR("Invalid pattern %s\n", str); cfs_cpt_table_create_pattern() 882 CERROR("Invalid cpu pattern %s\n", str); cfs_cpt_table_create_pattern() 899 CERROR("Invalid pattern %s\n", str); cfs_cpt_table_create_pattern() 1026 CERROR("Failed to create cptab from pattern %s\n", cfs_cpu_init()
|
/linux-4.4.14/net/netfilter/ |
H A D | nf_conntrack_ftp.c | 68 const char *pattern; member in struct:ftp_search 77 .pattern = "PORT", 85 .pattern = "EPRT", 95 .pattern = "227 ", 101 .pattern = "229 ", 290 const char *pattern, size_t plen, find_pattern() 301 pr_debug("find_pattern `%s': dlen = %Zu\n", pattern, dlen); find_pattern() 307 if (strncasecmp(data, pattern, dlen) == 0) find_pattern() 312 if (strncasecmp(data, pattern, plen) != 0) { find_pattern() 320 pattern[i], pattern[i]); find_pattern() 460 search[dir][i].pattern, help() 475 search[dir][i].pattern); help() 289 find_pattern(const char *data, size_t dlen, const char *pattern, size_t plen, char skip, char term, unsigned int *numoff, unsigned int *numlen, struct nf_conntrack_man *cmd, int (*getnum)(const char *, size_t, struct nf_conntrack_man *, char, unsigned int *)) find_pattern() argument
|
H A D | xt_string.c | 58 ts_conf = textsearch_prepare(conf->algo, conf->pattern, conf->patlen, string_mt_check()
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
H A D | amplc_dio200_pci.c | 141 * 8. "Pattern present" signal, HIGH while pattern present. 142 * 9. "Pattern occurred" latched signal, latches HIGH when pattern 144 * 10. "Pattern gone away" latched signal, latches LOW when pattern 146 * 11. Negated "pattern present" signal, LOW while pattern present 148 * 12. Negated "pattern occurred" latched signal, latches LOW when 149 * pattern occurs (negated version of gate source 9). 150 * 13. Negated "pattern gone away" latched signal, latches LOW when 151 * pattern goes away after it occurred (negated version of gate
|
H A D | addi_apci_1500.c | 278 /* Disable pattern interrupts */ apci1500_di_cancel() 307 /* Set Port A for selected trigger pattern */ apci1500_di_inttrig_start() 312 /* Set Port B for selected trigger pattern */ apci1500_di_inttrig_start() 332 "Port A configured for %s mode pattern detection\n", apci1500_di_inttrig_start() 351 "Port B configured for %s mode pattern detection\n", apci1500_di_inttrig_start() 435 * The pattern-recognition logic must be configured before the digital
|
H A D | adv_pci_dio.c | 171 #define CMD_EnableIDIPatternMatch 0x21 /* Enable IDI pattern match based on 173 #define CMD_SetIDIPatternMatch 0x22 /* Enable IDI pattern match based on 401 unsigned char IDIPatMatchEn; /* IDI's pattern match enable status */ 402 unsigned char IDIPatMatchValue; /* IDI's pattern match value */ 718 omb[2] = CMD_EnableIDIPatternMatch; /* disable pattern matching */ pci1760_reset() 723 omb[2] = CMD_SetIDIPatternMatch; /* set pattern match value */ pci1760_reset()
|
H A D | jr3_pci.h | 82 * pattern would be 0x002b. Vector 1 defaults to a force vector and 103 /* The warning_bits structure shows the bit pattern for the warning 126 /* The error_bits structure shows the bit pattern for the error word. 217 * 1. latch_bits is a bit pattern that show which bits the user wants to latch.
|
/linux-4.4.14/drivers/media/platform/vivid/ |
H A D | vivid-tpg.h | 55 /* Must be the last pattern */ 165 enum tpg_pattern pattern; member in struct:tpg_data 175 /* Test pattern movement */ 217 static inline void tpg_s_pattern(struct tpg_data *tpg, enum tpg_pattern pattern) tpg_s_pattern() argument 219 if (tpg->pattern == pattern) tpg_s_pattern() 221 tpg->pattern = pattern; tpg_s_pattern() 591 return tpg->pattern != TPG_PAT_NOISE && tpg_pattern_is_static()
|
H A D | vivid-tpg-colors.h | 2 * vivid-color.h - Color definitions for the test pattern generator
|
H A D | vivid-tpg.c | 430 switch (tpg->pattern) { tpg_get_textbg_color() 442 switch (tpg->pattern) { tpg_get_textfg_color() 719 } else if (tpg->pattern == TPG_PAT_NOISE) { precalculate_color() 727 if (tpg->pattern == TPG_PAT_CSC_COLORBAR && col <= TPG_COLOR_CSC_BLACK) { precalculate_color() 1222 /* Return how many pattern lines are used by the current pattern. */ tpg_get_pat_lines() 1225 switch (tpg->pattern) { tpg_get_pat_lines() 1244 /* Which pattern line should be used for the given frame line. */ tpg_get_pat_line() 1247 switch (tpg->pattern) { tpg_get_pat_line() 1272 * Which color should be used for the given pattern line and X coordinate. 1298 switch (tpg->pattern) { tpg_get_color() 1302 return bars[tpg->pattern][((x * 8) / tpg->src_width) % 8]; tpg_get_color() 1449 switch (tpg->pattern) { tpg_precalculate_line() 1865 * test pattern and the drawing of the extras (borders, square, etc.) 1878 /* test pattern */ 2087 } else if (tpg->pattern == TPG_PAT_NOISE || tpg->qual == TPG_QUAL_NOISE) { tpg_fill_plane_pattern()
|
/linux-4.4.14/drivers/video/fbdev/via/ |
H A D | accel.h | 133 /* pattern is mono */ 139 /* pattern is in frame buffer */ 141 /* pattern is from reg setting */ 153 /* mono pattern is opaque */ 155 /* mono pattern is transparent */
|
H A D | accel.c | 82 case 0x5A: /* pattern inversion */ hw_bitblt_1() 83 case 0xF0: /* pattern copy */ hw_bitblt_1() 215 case 0x5A: /* pattern inversion */ hw_bitblt_2() 216 case 0xF0: /* pattern copy */ hw_bitblt_2()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | sorg94.c | 73 g94_sor_dp_pattern(struct nvkm_output_dp *outp, int pattern) g94_sor_dp_pattern() argument 77 nvkm_mask(device, 0x61c10c + loff, 0x0f000000, pattern << 24); g94_sor_dp_pattern() 157 .pattern = g94_sor_dp_pattern,
|
H A D | sorgf119.c | 40 gf119_sor_dp_pattern(struct nvkm_output_dp *outp, int pattern) gf119_sor_dp_pattern() argument 44 nvkm_mask(device, 0x61c110 + loff, 0x0f0f0f0f, 0x01010101 * pattern); gf119_sor_dp_pattern() 106 .pattern = gf119_sor_dp_pattern,
|
H A D | sorgm204.c | 60 gm204_sor_dp_pattern(struct nvkm_output_dp *outp, int pattern) gm204_sor_dp_pattern() argument 64 const u32 data = 0x01010101 * pattern; gm204_sor_dp_pattern() 132 .pattern = gm204_sor_dp_pattern,
|
H A D | dport.c | 105 dp_set_training_pattern(struct dp_state *dp, u8 pattern) dp_set_training_pattern() argument 110 OUTP_DBG(&outp->base, "training pattern %d", pattern); dp_set_training_pattern() 111 outp->func->pattern(outp, pattern); dp_set_training_pattern() 115 sink_tp |= pattern; dp_set_training_pattern()
|
H A D | piornv50.c | 88 nv50_pior_output_dp_pattern(struct nvkm_output_dp *outp, int pattern) nv50_pior_output_dp_pattern() argument 111 .pattern = nv50_pior_output_dp_pattern,
|
H A D | outpdp.h | 40 int (*pattern)(struct nvkm_output_dp *, int); member in struct:nvkm_output_dp_func
|
/linux-4.4.14/scripts/ |
H A D | kernel-doc-xml-ref | 72 foreach my $pattern (keys %highlights) { 73 $dohighlight .= "\$line =~ s:$pattern:$highlights{$pattern}:eg;\n";
|
H A D | extract-ikconfig | 8 # "grep" that report the byte offset of the line instead of the pattern.
|
H A D | extract-vmlinux | 27 # "grep" that report the byte offset of the line instead of the pattern.
|
H A D | get_maintainer.pl | 240 'pattern-depth=i' => \$pattern_depth, 312 ##Filename pattern matching 317 ##if pattern is a directory and it lacks a trailing slash, add one 750 my ($file, $pattern) = @_; 751 if (substr($pattern, -1) eq "/") { 752 if ($file =~ m@^$pattern@) { 756 if ($file =~ m@^$pattern@) { 758 my $s2 = ($pattern =~ tr@/@@); 778 --git-fallback => use git when no exact MAINTAINERS pattern (default: $email_git_fallback) 808 --pattern-depth => Number of pattern directory traversals (default: 0 (all)) 810 --sections => print all of the subsystem sections with pattern matches 816 [--email --nogit --git-fallback --m --r --n --l --multiline --pattern-depth=0 823 Any specified X: (exclude) pattern matches are _not_ ignored. 824 Used with "--nogit", directory is used as a pattern match, 1343 my $pattern = $VCS_cmds{"commit_pattern"}; 1349 $commits = grep(/$pattern/, @lines); # of commits 1586 p# pattern match depth [$pattern_depth]
|
H A D | show_delta | 120 print ('Couldn\'t find line matching base pattern "%s"' % base_str)
|
H A D | checkkconfigsymbols.py | 70 help="Ignore files matching this pattern. Note that " 71 "the pattern needs to be a Python regex. To "
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
H A D | extint.c | 190 u32 pattern; eic_probe() local 219 pattern = eic_readl(eic, MODE); eic_probe() 220 nr_of_irqs = fls(pattern); eic_probe()
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
H A D | cimax2.c | 432 0x00, /* auto select pattern high A */ netup_ci_init() 433 0x00, /* auto select pattern low A */ netup_ci_init() 441 0x00, /* auto select pattern high B */ netup_ci_init() 442 0x00, /* auto select pattern low B */ netup_ci_init() 449 0x00, /* auto select pattern high Ext */ netup_ci_init() 450 0x00, /* auto select pattern low Ext */ netup_ci_init()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | sp2.c | 280 0x00, /* auto select pattern high A */ sp2_init() 281 0x00, /* auto select pattern low A */ sp2_init() 289 0x00, /* auto select pattern high B */ sp2_init() 290 0x00, /* auto select pattern low B */ sp2_init() 297 0x00, /* auto select pattern high Ext */ sp2_init() 298 0x00, /* auto select pattern low Ext */ sp2_init()
|
/linux-4.4.14/scripts/kconfig/ |
H A D | nconf.c | 1012 char pattern[256]; member in struct:match_state 1029 bzero(state->pattern, sizeof(state->pattern)); do_match() 1036 state->pattern[strlen(state->pattern)] = c; do_match() 1037 state->pattern[strlen(state->pattern)] = '\0'; do_match() 1039 *ans = get_mext_match(state->pattern, do_match() 1043 *ans = get_mext_match(state->pattern, do_match() 1047 *ans = get_mext_match(state->pattern, do_match() 1050 state->pattern[strlen(state->pattern)-1] = '\0'; do_match() 1057 bzero(state->pattern, sizeof(state->pattern)); do_match() 1077 .pattern = "", conf() 1094 "searching: %s", match_state.pattern); conf() 1243 .pattern = "", conf_choice() 1278 match_state.pattern); conf_choice()
|
/linux-4.4.14/drivers/leds/ |
H A D | leds-lp8501.c | 211 u8 pattern[LP8501_PROGRAM_LENGTH] = {0}; lp8501_update_program_memory() local 235 pattern[i] = (u8)cmd; lp8501_update_program_memory() 246 lp55xx_write(chip, LP8501_REG_PROG_MEM + i, pattern[i]); lp8501_update_program_memory() 251 dev_err(&chip->cl->dev, "wrong pattern format\n"); lp8501_update_program_memory()
|
H A D | leds-lp55xx-common.h | 101 * @run_engine : Run internal engine for pattern 147 * @fw : Firmware data for running a LED pattern
|
H A D | leds-lm355x.c | 135 /* indicator pattern data only for lm3556 */ 381 /* indicator pattern only for lm3556*/ lm3556_indicator_pattern_store() 414 static DEVICE_ATTR(pattern, S_IWUSR, NULL, lm3556_indicator_pattern_store); 510 /* indicator pattern control only for LM3556 */ lm355x_probe()
|
H A D | leds-lp5562.c | 213 u8 pattern[LP5562_PROGRAM_LENGTH] = {0}; lp5562_update_firmware() local 242 pattern[i] = (u8)cmd; lp5562_update_firmware() 253 lp55xx_write(chip, addr[idx] + i, pattern[i]); lp5562_update_firmware() 258 dev_err(&chip->cl->dev, "wrong pattern format\n"); lp5562_update_firmware() 366 dev_err(&chip->cl->dev, "invalid pattern data\n"); lp5562_run_predef_led_pattern()
|
H A D | leds-lp5523.c | 284 /* one pattern per engine setting LED MUX start and stop addresses */ lp5523_init_program_engine() 285 static const u8 pattern[][LP5523_PROGRAM_LENGTH] = { lp5523_init_program_engine() local 311 pattern[i - 1][j]); lp5523_init_program_engine() 339 u8 pattern[LP5523_PROGRAM_LENGTH] = {0}; lp5523_update_program_memory() local 357 pattern[i] = (u8)cmd; lp5523_update_program_memory() 367 ret = lp55xx_write(chip, LP5523_REG_PROG_MEM + i, pattern[i]); lp5523_update_program_memory() 375 dev_err(&chip->cl->dev, "wrong pattern format\n"); lp5523_update_program_memory()
|
H A D | leds-lp3944.c | 20 * The DIM modes are used to set _blink_ patterns for leds, the pattern is 242 * friendly blink pattern for the LED. Let's blink the led lp3944_led_set_blink() 261 * will have the same blinking pattern. lp3944_led_set_blink()
|
H A D | leds-lp5521.c | 228 u8 pattern[LP5521_PROGRAM_LENGTH] = {0}; lp5521_update_program_memory() local 251 pattern[i] = (u8)cmd; lp5521_update_program_memory() 261 ret = lp55xx_write(chip, addr[idx] + i, pattern[i]); lp5521_update_program_memory() 269 dev_err(&chip->cl->dev, "wrong pattern format\n"); lp5521_update_program_memory()
|
H A D | leds-lm3533.c | 92 int pattern; lm3533_led_pattern_enable() local 104 pattern = lm3533_led_get_pattern(led); lm3533_led_pattern_enable() 105 mask = 1 << (2 * pattern); lm3533_led_pattern_enable() 114 dev_err(led->cdev.dev, "failed to enable pattern %d (%d)\n", lm3533_led_pattern_enable() 115 pattern, enable); lm3533_led_pattern_enable()
|
/linux-4.4.14/fs/cifs/ |
H A D | smb2glob.h | 35 * Identifiers for functions that use the open, operation, close pattern
|
/linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
H A D | lov_pack.c | 59 CDEBUG(level, "objid "DOSTID", magic 0x%08x, pattern %#x\n", lov_dump_lmm_common() 285 int pattern, int magic) lov_alloc_memmd() 302 (*lsmp)->lsm_pattern = pattern; lov_alloc_memmd() 340 __u32 pattern; lov_unpackmd() local 348 pattern = le32_to_cpu(lmm->lmm_pattern); lov_unpackmd() 352 pattern = LOV_PATTERN_RAID0; lov_unpackmd() 367 lsm_size = lov_alloc_memmd(lsmp, stripe_count, pattern, magic); lov_unpackmd() 284 lov_alloc_memmd(struct lov_stripe_md **lsmp, __u16 stripe_count, int pattern, int magic) lov_alloc_memmd() argument
|
/linux-4.4.14/include/media/davinci/ |
H A D | isif.h | 392 /* Horizontal Cull pattern for odd lines */ 394 /* Horizontal Cull pattern for even lines */ 396 /* Vertical Cull pattern */ 436 /* color pattern for field 0 */ 438 /* color pattern for field 1 */ 449 /* enable input test pattern generation */ 508 /* cfa pattern */
|
/linux-4.4.14/include/uapi/linux/ |
H A D | omap3isp.h | 201 /* CFA pattern */ 241 OMAP3ISP_AF_GR_GB_BAYER = 0, /* GR and GB as Bayer pattern */ 242 OMAP3ISP_AF_RG_GB_BAYER = 1, /* RG and GB as Bayer pattern */ 243 OMAP3ISP_AF_GR_BG_BAYER = 2, /* GR and BG as Bayer pattern */ 244 OMAP3ISP_AF_RG_BG_BAYER = 3, /* RG and BG as Bayer pattern */ 245 OMAP3ISP_AF_GG_RB_CUSTOM = 4, /* GG and RB as custom pattern */ 246 OMAP3ISP_AF_RB_GG_CUSTOM = 5 /* RB and GG as custom pattern */ 386 * @v_pattern: Vertical culling pattern. 387 * @h_odd: Horizontal Culling pattern for odd lines. 388 * @h_even: Horizontal Culling pattern for even lines.
|
H A D | scc.h | 169 unsigned char pattern; member in struct:scc_calibrate
|
H A D | nl80211.h | 170 * c) Condition for coalescence. pattern 'match' or 'no match' 3691 * enum nl80211_packet_pattern_attr - packet pattern attribute 3693 * @NL80211_PKTPAT_PATTERN: the pattern, values where the mask has 3695 * @NL80211_PKTPAT_MASK: pattern mask, must be long enough to have 3696 * a bit for each byte in the pattern. The lowest-order bit corresponds 3697 * to the first byte of the pattern, but the bytes of the pattern are 3698 * in a little-endian-like format, i.e. the 9th byte of the pattern 3701 * xx indicates "don't care") would be represented by a pattern of 3703 * Note that the pattern matching is done as though frames were not 3706 * @NL80211_PKTPAT_OFFSET: packet offset, pattern is matched after 3722 * struct nl80211_pattern_support - packet pattern support information 3724 * @min_pattern_len: minimum length of each pattern 3725 * @max_pattern_len: maximum length of each pattern 3765 * Each pattern defines a wakeup packet. Packet offset is associated with 3766 * each pattern which is used while matching the pattern. The matching is 3768 * pattern matching is done after the packet is converted to the MSDU. 3774 * index of the pattern that caused the wakeup, in the patterns passed 3880 * client. When receiving data, it is compared against the wakeup pattern 3979 * @pat: packet pattern support information 3997 * @NL80211_ATTR_COALESCE_RULE_PKT_PATTERN: packet offset, pattern is matched 4510 * @NL80211_RADAR_DETECTED: A radar pattern has been detected. The channel is
|
/linux-4.4.14/drivers/usb/gadget/legacy/ |
H A D | zero.c | 234 module_param_named(pattern, gzero_options.pattern, uint, S_IRUGO|S_IWUSR); 235 MODULE_PARM_DESC(pattern, "0 = all zeroes, 1 = mod63, 2 = none"); 282 ss_opts->pattern = gzero_options.pattern; zero_bind()
|
/linux-4.4.14/drivers/mtd/ubi/ |
H A D | misc.c | 139 * ubi_check_pattern - check if buffer contains only a certain byte pattern. 141 * @patt: the pattern to check
|
/linux-4.4.14/arch/arm/mach-footbridge/ |
H A D | isa-irq.c | 132 outb(0xf5, PIC_MASK_LO); /* pattern: 11110101 */ isa_init_irq() 138 outb(0xfa, PIC_MASK_HI); /* pattern: 11111010 */ isa_init_irq()
|
/linux-4.4.14/drivers/video/fbdev/sis/ |
H A D | sis_accel.h | 79 #define PATPATREG 0x00000040 /* pattern in pattern buffer (0x8300) */ 80 #define PATMONO 0x00000080 /* mono pattern */ 131 #define PATTERN_REG 0x8300 /* 384 bytes pattern buffer */
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv15.c | 38 { -1, -1, 0x0044, &nv04_gr_object }, /* pattern */
|
H A D | nv17.c | 38 { -1, -1, 0x0044, &nv04_gr_object }, /* pattern */
|
H A D | nv04.c | 411 * - bit 27: pattern valid 486 /* ROP_AND: requires pattern and rop */ nv04_gr_set_ctx_val() 1372 { -1, -1, 0x0018, &nv04_gr_object }, /* pattern (nv01) */ 1386 { -1, -1, 0x0044, &nv04_gr_object }, /* pattern */
|
/linux-4.4.14/include/media/ |
H A D | smiapp.h | 45 * FIXME: rotation also changes the bayer pattern.
|
/linux-4.4.14/arch/sh/include/asm/ |
H A D | syscall_32.h | 61 /* Argument pattern is: R4, R5, R6, R7, R0, R1 */ syscall_get_arguments()
|
/linux-4.4.14/arch/sh/lib64/ |
H A D | memset.S | 32 mperm.w r3, r63, r3 // Fill pattern now in every byte of r3
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_events.h | 41 * For the sake of easy memset-ing, this must be a byte pattern.
|
H A D | kfd_device_queue_manager_cik.c | 53 * following pattern: compute_sh_mem_bases_64bit()
|
H A D | kfd_device_queue_manager_vi.c | 55 * following pattern: compute_sh_mem_bases_64bit()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
H A D | wow.c | 51 ath10k_warn(ar, "failed to delete wow pattern %d for vdev %i: %d\n", ath10k_wow_vif_cleanup() 131 patterns[i].pattern, ath10k_vif_wow_set_wakeups() 136 ath10k_warn(ar, "failed to add pattern %i to vdev %i: %d\n", ath10k_vif_wow_set_wakeups()
|
/linux-4.4.14/arch/frv/lib/ |
H A D | memset.S | 47 slli.p gr9,#8,gr12 ; need to double up the pattern 62 slli.p gr12,#16,gr13 ; need to quadruple-up the pattern 72 or.p gr12,gr12,gr13 ; need to octuple-up the pattern
|
/linux-4.4.14/drivers/mtd/tests/ |
H A D | torturetest.c | 71 /* This buffer contains 0x555555...0xAAAAAA... pattern */ 73 /* This buffer contains 0xAAAAAA...0x555555... pattern */ 280 " for 0xFF... pattern\n"); tort_init() 290 /* Write the pattern */ tort_init() 319 " pattern\n", tort_init()
|
/linux-4.4.14/tools/usb/ |
H A D | ffs-test.c | 449 enum pattern { PAT_ZERO, PAT_SEQ, PAT_PIPE }; enum 450 static enum pattern pattern; variable in typeref:enum:pattern 460 switch (pattern) { fill_in_buf() 487 switch (pattern) { empty_out_buf()
|
/linux-4.4.14/drivers/isdn/hardware/eicon/ |
H A D | os_pri.c | 914 word pattern; dsp_check_presence() local 920 pattern = READ_WORD(data); dsp_check_presence() 922 if (pattern != DSP_SIGNATURE_PROBE_WORD) { dsp_check_presence() 924 dsp, pattern, DSP_SIGNATURE_PROBE_WORD)) dsp_check_presence() 932 pattern = READ_WORD(data); dsp_check_presence() 934 if (pattern != (word)~DSP_SIGNATURE_PROBE_WORD) { dsp_check_presence() 936 dsp, pattern, (word)~DSP_SIGNATURE_PROBE_WORD)) dsp_check_presence()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
H A D | atombios_dp.c | 598 /* set training pattern on the source */ radeon_dp_set_tp() 625 /* enable training pattern on the sink */ radeon_dp_set_tp() 667 /* disable the training pattern on the sink */ radeon_dp_link_train_init() 679 /* disable the training pattern on the sink */ radeon_dp_link_train_finish() 684 /* disable the training pattern on the source */ radeon_dp_link_train_finish() 840 * training pattern. When facing such version use the radeon_dp_link_train()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
H A D | vsc7326_reg.h | 116 #define REG_TPGEN_UP0 CRA(0x5,0x0,0x21) /* Test Pattern generator user pattern 0 */ 117 #define REG_TPGEN_UP1 CRA(0x5,0x0,0x22) /* Test Pattern generator user pattern 1 */ 118 #define REG_TPCHK_UP0 CRA(0x5,0x0,0x23) /* Test Pattern checker user pattern 0 */ 119 #define REG_TPCHK_UP1 CRA(0x5,0x0,0x24) /* Test Pattern checker user pattern 1 */ 120 #define REG_TPSAM_P0 CRA(0x5,0x0,0x25) /* Sampled pattern 0 */ 121 #define REG_TPSAM_P1 CRA(0x5,0x0,0x26) /* Sampled pattern 1 */
|
/linux-4.4.14/arch/blackfin/mm/ |
H A D | isram-driver.c | 267 _isram_memcpy_test(char pattern, void *sdram, void *l1inst, const char *smemcpy, _isram_memcpy_test() argument 270 memset(sdram, pattern, test_len); _isram_memcpy_test() 275 smemcpy, l1inst, sdram, test_len, pattern); _isram_memcpy_test()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | fsl_lbc.h | 112 #define MxMR_OP_RP (3 << 28) /**< run pattern */ 261 * @pat_offset: UPM pattern offset for the command to be executed 264 * will trigger pattern execution, starting at pat_offset.
|
/linux-4.4.14/arch/powerpc/sysdev/ |
H A D | fsl_lbc.c | 146 * fsl_upm_run_pattern - actually run an UPM pattern 149 * @mar: MAR register content during pattern execution 152 * thus UPM pattern actually executed. Note that mar usage depends on the
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | raw_io.h | 71 * (meaning the bit pattern on A1-A8 can be read back as byte). 82 * NetUSBee buffer by a read from the _read_ window (with the data pattern 83 * asserted as A1-A8 address pattern). The high byte is then written to the
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
H A D | dpaux.c | 567 u8 pattern) tegra_dpaux_train() 569 u8 tp = pattern & DP_TRAINING_PATTERN_MASK; tegra_dpaux_train() 574 err = drm_dp_dpcd_writeb(&dpaux->aux, DP_TRAINING_PATTERN_SET, pattern); tegra_dpaux_train() 612 dev_err(dpaux->dev, "unsupported training pattern %u\n", tp); tegra_dpaux_train() 566 tegra_dpaux_train(struct tegra_dpaux *dpaux, struct drm_dp_link *link, u8 pattern) tegra_dpaux_train() argument
|
H A D | sor.c | 232 u8 pattern; tegra_sor_dp_train_fast() local 289 pattern = DP_TRAINING_PATTERN_1; tegra_sor_dp_train_fast() 291 err = tegra_dpaux_train(sor->dpaux, link, pattern); tegra_sor_dp_train_fast() 310 pattern = DP_LINK_SCRAMBLING_DISABLE | DP_TRAINING_PATTERN_2; tegra_sor_dp_train_fast() 312 err = tegra_dpaux_train(sor->dpaux, link, pattern); tegra_sor_dp_train_fast() 325 pattern = DP_TRAINING_PATTERN_DISABLE; tegra_sor_dp_train_fast() 327 err = tegra_dpaux_train(sor->dpaux, link, pattern); tegra_sor_dp_train_fast() 1472 /* disable training pattern generator */ tegra_sor_edp_enable()
|
H A D | drm.h | 261 u8 pattern);
|
/linux-4.4.14/drivers/media/platform/s3c-camif/ |
H A D | camif-regs.c | 49 * Sets video test pattern (off, color bar, horizontal or vertical gradient). 50 * External sensor pixel clock must be active for the test pattern to work. 52 void camif_hw_set_test_pattern(struct camif_dev *camif, unsigned int pattern) camif_hw_set_test_pattern() argument 56 cfg |= (pattern << 27); camif_hw_set_test_pattern()
|
H A D | camif-regs.h | 256 void camif_hw_set_test_pattern(struct camif_dev *camif, unsigned int pattern);
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_diag.c | 50 "%s: reg pattern test failed - reg 0x%08x pat 0x%08x val 0x%08x\n", i40e_diag_reg_pattern_test()
|
/linux-4.4.14/drivers/net/ethernet/qualcomm/ |
H A D | qca_framing.c | 93 /* 4 bytes header pattern */ qcafrm_fsm_decode()
|
/linux-4.4.14/drivers/dma/ |
H A D | dmatest.c | 264 static void dmatest_mismatch(u8 actual, u8 pattern, unsigned int index, dmatest_mismatch() argument 267 u8 diff = actual ^ pattern; dmatest_mismatch() 268 u8 expected = pattern | (~counter & PATTERN_COUNT_MASK); dmatest_mismatch() 274 else if ((pattern & PATTERN_COPY) dmatest_mismatch() 287 unsigned int end, unsigned int counter, u8 pattern, dmatest_verify() 301 expected = pattern | (~counter & PATTERN_COUNT_MASK); dmatest_verify() 304 dmatest_mismatch(actual, pattern, i, dmatest_verify() 393 * with a known pattern. This pattern is different depending on 286 dmatest_verify(u8 **bufs, unsigned int start, unsigned int end, unsigned int counter, u8 pattern, bool is_srcbuf) dmatest_verify() argument
|
/linux-4.4.14/arch/unicore32/kernel/ |
H A D | fpu-ucf64.c | 27 * A bit pattern used to indicate the initial (unset) value of the
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | check.c | 13 * pattern.
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | r2300_switch.S | 88 * Load the FPU with signalling NANS. This bit pattern we're using has
|
/linux-4.4.14/arch/microblaze/ |
H A D | Makefile | 37 CPUFLAGS-$(CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR) += -mxl-pattern-compare
|
/linux-4.4.14/arch/frv/include/asm/ |
H A D | syscall.h | 85 /* Argument pattern is: GR8, GR9, GR10, GR11, GR12, GR13 */ syscall_get_arguments()
|
/linux-4.4.14/net/netfilter/ipvs/ |
H A D | ip_vs_ftp.c | 83 * with the "pattern", ignoring before "skip" and terminated with 88 const char *pattern, size_t plen, ip_vs_ftp_get_addrport() 99 if (strncasecmp(data, pattern, data_limit - data) == 0) ip_vs_ftp_get_addrport() 105 if (strncasecmp(data, pattern, plen) != 0) { ip_vs_ftp_get_addrport() 87 ip_vs_ftp_get_addrport(char *data, char *data_limit, const char *pattern, size_t plen, char skip, char term, __be32 *addr, __be16 *port, char **start, char **end) ip_vs_ftp_get_addrport() argument
|
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_core.c | 234 * the LPI pattern. sxgbe_set_eee_timer() 236 * after it has stopped transmitting the LPI pattern. sxgbe_set_eee_timer()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_dp.c | 524 /* set training pattern on the source */ amdgpu_atombios_dp_set_tp() 538 /* enable training pattern on the sink */ amdgpu_atombios_dp_set_tp() 577 /* disable the training pattern on the sink */ amdgpu_atombios_dp_link_train_init() 590 /* disable the training pattern on the sink */ amdgpu_atombios_dp_link_train_finish() 595 /* disable the training pattern on the source */ amdgpu_atombios_dp_link_train_finish()
|
/linux-4.4.14/scripts/mod/ |
H A D | modpost.c | 776 /* The pattern is an array of simple patterns. 1113 * this pattern. 1114 * The pattern is identified by: 1121 * The pattern is identified by: 1129 * the pattern is identified by: 1144 * This pattern is identified by 1153 * This pattern is identified by 1163 /* Check for pattern 1 */ secref_whitelist() 1169 /* Check for pattern 1a */ secref_whitelist() 1175 /* Check for pattern 2 */ secref_whitelist() 1181 /* Check for pattern 3 */ secref_whitelist() 1186 /* Check for pattern 4 */ secref_whitelist() 1190 /* Check for pattern 5 */ secref_whitelist()
|
/linux-4.4.14/drivers/staging/comedi/ |
H A D | comedi.h | 885 AMPLC_DIO_CLK_PAT_PRESENT, /* "pattern present" signal */ 918 AMPLC_DIO_GAT_PAT_PRESENT, /* "pattern present" signal */ 919 AMPLC_DIO_GAT_PAT_OCCURRED, /* "pattern occurred" latched */ 920 AMPLC_DIO_GAT_PAT_GONE, /* "pattern gone away" latched */ 921 AMPLC_DIO_GAT_NPAT_PRESENT, /* negated "pattern present" */ 922 AMPLC_DIO_GAT_NPAT_OCCURRED, /* negated "pattern occurred" */ 923 AMPLC_DIO_GAT_NPAT_GONE /* negated "pattern gone away" */
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramgt215.c | 273 static const u32 pattern[16] = { gt215_link_train_init() local 291 * XXX: training pattern table appears to be unused for this routine */ gt215_link_train_init() 313 nvkm_wr32(device, 0x10f900, pattern[i % 16]); gt215_link_train_init() 318 nvkm_wr32(device, 0x10f920, pattern[i % 16]); gt215_link_train_init() 321 /* And upload the pattern */ gt215_link_train_init() 325 nvkm_wr32(device, 0x700000 + (i << 2), pattern[i]); gt215_link_train_init() 327 nvkm_wr32(device, 0x700100 + (i << 2), pattern[i]); gt215_link_train_init()
|
/linux-4.4.14/drivers/mmc/host/ |
H A D | mmc_spi.c | 677 u32 pattern; mmc_spi_writeblock() local 711 pattern = get_unaligned_be32(scratch->status); mmc_spi_writeblock() 713 /* First 3 bit of pattern are undefined */ mmc_spi_writeblock() 714 pattern |= 0xE0000000; mmc_spi_writeblock() 717 while (pattern & 0x80000000) mmc_spi_writeblock() 718 pattern <<= 1; mmc_spi_writeblock() 719 /* right-adjust for pattern matching. Code is in bit 4..0 now. */ mmc_spi_writeblock() 720 pattern >>= 27; mmc_spi_writeblock() 722 switch (pattern) { mmc_spi_writeblock()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
H A D | b44.c | 88 /* b44 internal pattern match filter info */ 1512 u32 *pattern = (u32 *) pp; bwfilter_table() local 1516 bw32(bp, B44_FILT_DATA, pattern[i / sizeof(u32)]); bwfilter_table() 1547 * pattern matching filter. 1561 /* Ipv4 magic packet pattern - pattern 0.*/ b44_setup_pseudo_magicp() 1569 /* Raw ethernet II magic packet pattern - pattern 1 */ b44_setup_pseudo_magicp() 1580 /* Ipv6 magic packet pattern - pattern 2 */ b44_setup_pseudo_magicp() 1593 /* set these pattern's lengths: one less than each real length */ b44_setup_pseudo_magicp() 1597 /* enable wakeup pattern matching */ b44_setup_pseudo_magicp()
|
/linux-4.4.14/kernel/trace/ |
H A D | trace_events_filter.c | 308 * @r: the regex structure containing the pattern string 318 if (strncmp(str, r->pattern, len) == 0) regex_match_full() 325 if (strncmp(str, r->pattern, r->len) == 0) regex_match_front() 332 if (strnstr(str, r->pattern, len)) regex_match_middle() 342 memcmp(str + strlen - r->len, r->pattern, r->len) == 0) regex_match_end() 405 type = filter_parse_regex(r->pattern, r->len, &search, ¬); filter_build_regex() 407 memmove(r->pattern, search, r->len+1); filter_build_regex() 1067 ret = kstrtoll(pred->regex.pattern, 0, &val); init_pred() 1069 ret = kstrtoull(pred->regex.pattern, 0, &val); init_pred() 1419 strcpy(pred.regex.pattern, operand2); create_pred() 1420 pred.regex.len = strlen(pred.regex.pattern); create_pred() 2247 pred->regex.pattern, ftrace_function_set_filter_cb()
|
/linux-4.4.14/drivers/staging/media/davinci_vpfe/ |
H A D | dm365_isif.h | 131 /* cfa pattern */
|
/linux-4.4.14/drivers/video/fbdev/aty/ |
H A D | mach64_cursor.c | 180 * we must pad it with transparent pattern (0xaaaa). atyfb_cursor()
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | n411.c | 197 MODULE_PARM_DESC(splashval, "Splash pattern: 0x00 is black, 0x01 is white");
|
H A D | tdfxfb.c | 1101 * Each pattern is a bitmap of 64 bit wide and 64 bit high tdfxfb_cursor() 1103 * stored in such a way that pattern 0 always resides in the tdfxfb_cursor() 1105 * and pattern 1 the upper half. If you examine the data of tdfxfb_cursor() 1107 * beginning you see line one of pattern 0, line one of tdfxfb_cursor() 1108 * pattern 1, line two of pattern 0, line two of pattern 1, tdfxfb_cursor()
|
/linux-4.4.14/drivers/mtd/maps/ |
H A D | dc21285.c | 38 * we want to write a bit pattern XXX1 to Xilinx to enable nw_en_write()
|
/linux-4.4.14/drivers/media/i2c/smiapp/ |
H A D | smiapp.h | 247 /* test pattern colour components */
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
H A D | led.c | 115 /* Set led pattern command */ iwl_led_cmd()
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 1926 0 /* pattern offset */, ath6kl_wow_usr() 1927 wow->patterns[i].pattern, mask); ath6kl_wow_usr() 1982 /* Setup unicast IP, EAPOL-like and ARP pkt pattern */ ath6kl_wow_ap() 1988 ath6kl_err("failed to add WOW unicast IP pattern\n"); ath6kl_wow_ap() 1992 /* Setup all ARP pkt pattern */ ath6kl_wow_ap() 1998 ath6kl_err("failed to add WOW ARP pattern\n"); ath6kl_wow_ap() 2003 * Setup multicast pattern for mDNS 224.0.0.251, ath6kl_wow_ap() 2011 ath6kl_err("failed to add WOW mDNS/SSDP/LLMNR pattern\n"); ath6kl_wow_ap() 2015 /* Setup all DHCP broadcast pkt pattern */ ath6kl_wow_ap() 2021 ath6kl_err("failed to add WOW DHCP broadcast pattern\n"); ath6kl_wow_ap() 2037 /* Setup unicast pkt pattern */ ath6kl_wow_sta() 2044 ath6kl_err("failed to add WOW unicast pattern\n"); ath6kl_wow_sta() 2049 * Setup multicast pattern for mDNS 224.0.0.251, ath6kl_wow_sta() 2059 ath6kl_err("failed to add WOW mDNS/SSDP/LLMNR pattern\n"); ath6kl_wow_sta() 2142 * Skip the default WOW pattern configuration ath6kl_wow_suspend_vif() 2557 * wake up the host when WOW pattern matches. This causes sdio irq handler
|
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/ |
H A D | vxge-traffic.h | 454 * characters that match a pattern that is programmable through 455 * register XMAC_STATS_TX_XGMII_CHAR_PORTn. By default, the pattern 459 * characters that match a pattern that is programmable through 460 * register XMAC_STATS_TX_XGMII_CHAR_PORTn. By default, the pattern 465 * columns that match a pattern that is programmable through register 466 * XMAC_STATS_TX_XGMII_COLUMN2_PORTn. By default, the pattern is set 475 * columns that match a pattern that is programmable through register 476 * XMAC_STATS_TX_XGMII_COLUMN1_PORTn. By default, the pattern is set 700 * that match a pattern that is programmable through register 701 * XMAC_STATS_RX_XGMII_CHAR_PORTn. By default, the pattern is set 710 * that match a pattern that is programmable through register 711 * XMAC_STATS_RX_XGMII_COLUMN1_PORTn. By default, the pattern is set 716 * that match a pattern that is programmable through register 717 * XMAC_STATS_RX_XGMII_CHAR_PORTn. By default, the pattern is set 723 * that match a pattern that is programmable through register 724 * XMAC_STATS_RX_XGMII_COLUMN2_PORTn. By default, the pattern is set
|
/linux-4.4.14/arch/unicore32/include/mach/ |
H A D | regs-unigfx.h | 144 * pattern 0 UGE_P0
|
/linux-4.4.14/include/net/caif/ |
H A D | caif_hsi.h | 27 * Decides if HSI buffers should be prefilled with 0xFF pattern for easier
|
H A D | caif_spi.h | 49 /* Decides if SPI buffers should be prefilled with 0xFF pattern for easier
|
/linux-4.4.14/drivers/vme/ |
H A D | vme_bridge.h | 38 u32 pattern; member in struct:vme_dma_pattern
|
/linux-4.4.14/drivers/mtd/ |
H A D | ssfdc.c | 129 /* CIS pattern match on the sector buffer */ get_valid_cis_sector() 209 * Valid address has fixed pattern on most significant bits and get_logical_address()
|
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac1000_core.c | 359 * the LPI pattern. dwmac1000_set_eee_timer() 361 * after it has stopped transmitting the LPI pattern. dwmac1000_set_eee_timer()
|
/linux-4.4.14/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_dp.c | 1282 "pattern 1", "pattern 2", "idle", "off" 1401 DRM_DEBUG_KMS("Failure in setting link pattern %x\n", cdv_intel_dp_set_link_train() 1496 /* Enable corresponding port and start training pattern 1 */ 1542 DRM_DEBUG_KMS("Failure in aux-transfer setting pattern 1\n"); cdv_intel_dp_start_link_train() 1545 /* Set training pattern 1 */ cdv_intel_dp_start_link_train() 1615 /* channel eq pattern */ cdv_intel_dp_complete_link_train() 1619 DRM_DEBUG_KMS("Failure in aux-transfer setting pattern 2\n"); cdv_intel_dp_complete_link_train()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | i915_gem_tiling.c | 48 * - On gen3 and gen4 platforms have a swizzling pattern for tiled objects which 52 * asymmetric memory channel population the swizzling pattern changes in an
|
/linux-4.4.14/drivers/md/ |
H A D | dm-cache-policy-mq.c | 49 enum io_pattern pattern; member in struct:io_tracker 61 t->pattern = PATTERN_RANDOM; iot_init() 71 return t->pattern; iot_pattern() 96 switch (t->pattern) { iot_check_for_pattern_switch() 99 t->pattern = PATTERN_RANDOM; iot_check_for_pattern_switch() 106 t->pattern = PATTERN_SEQUENTIAL; iot_check_for_pattern_switch()
|
H A D | dm-switch.c | 9 * address regions but there is no simple pattern to allow for a compact 190 * Fill the region table with an initial round robin pattern.
|
/linux-4.4.14/drivers/media/platform/davinci/ |
H A D | isif.c | 214 /* Horizontal pattern */ isif_config_culling() 218 /* vertical pattern */ isif_config_culling() 596 * CFA pattern setting isif_config_raw() 619 /* Configure Color pattern */ isif_config_raw() 690 /* Setup test pattern if enabled */ isif_config_raw() 983 /* Setup test pattern if enabled */ isif_config_ycbcr()
|
/linux-4.4.14/drivers/scsi/ |
H A D | scsi_transport_spi.c | 642 unsigned int pattern = 0x0000ffff; spi_dv_device_echo_buffer() local 652 /* set up the pattern buffer. Doesn't matter if we spill spi_dv_device_echo_buffer() 679 u32 roll = (pattern & 0x80000000) ? 1 : 0; spi_dv_device_echo_buffer() 681 *word = pattern; spi_dv_device_echo_buffer() 682 pattern = (pattern << 1) | roll; spi_dv_device_echo_buffer() 970 * the SPI pattern write tests. Because of some broken spi_dv_device_internal()
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | pgtable.h | 238 * pte_none is true for the bit pattern .10.00000000, pte == 0x400 239 * pte_swap is true for the bit pattern .11..ooooo.0, (pte & 0x201) == 0x200 240 * pte_present is true for the bit pattern .xx.xxxxxx.1, (pte & 0x001) == 0x001 563 /* Bit pattern: (pte & 0x001) == 0x001 */ pte_present() 569 /* Bit pattern: pte == 0x400 */ pte_none() 575 /* Bit pattern: (pte & 0x201) == 0x200 */ pte_swap() 1648 * A swap pte is indicated by bit pattern (pte & 0x201) == 0x200
|
/linux-4.4.14/drivers/gpu/drm/msm/edp/ |
H A D | edp_ctrl.c | 506 static int edp_train_pattern_set_write(struct edp_ctrl *ctrl, u8 pattern) edp_train_pattern_set_write() argument 508 u8 p = pattern; edp_train_pattern_set_write() 510 DBG("pattern=%x", p); edp_train_pattern_set_write() 513 pr_err("%s: Set training pattern to panel failed\n", __func__); edp_train_pattern_set_write() 1023 DBG("%s: idle pattern timedout\n", __func__); edp_ctrl_off_worker()
|
/linux-4.4.14/drivers/media/usb/gspca/ |
H A D | etoms.c | 122 #define ET_REG74 0x74 /* test pattern */ 123 #define ET_REG75 0x75 /* test pattern */ 288 reg_w_val(gspca_dev, ET_ClCK, 0x14); /* 0x14 // 0x16 enabled pattern */ Et_init2()
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-x1205.c | 446 "%s: register=%02x, zero pattern=%d, value=%x\n", x1205_validate_client() 487 "%s: register=%x, lim pattern=%d, value=%d\n", x1205_validate_client()
|
/linux-4.4.14/drivers/mtd/chips/ |
H A D | cfi_util.c | 89 /* First, determine what the bit-pattern should be for a single cfi_build_cmd() 173 /* Last, determine what the bit-pattern should be for a single cfi_merge_status()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/ |
H A D | core.c | 419 static u16 _calculate_wol_pattern_crc(u8 *pattern, u16 len) _calculate_wol_pattern_crc() argument 425 crc = crc16_ccitt(pattern[i], crc); _calculate_wol_pattern_crc() 456 pattern_os = patterns[i].pattern; _rtl_add_wowlan_patterns() 460 "pattern content\n", pattern_os, _rtl_add_wowlan_patterns() 478 * pattern from OS uses 'ethenet frame', like this: _rtl_add_wowlan_patterns() 516 /* To get the wake up pattern from the mask. _rtl_add_wowlan_patterns() 518 * DA[6] and SA[6] in the pattern to match HW design. _rtl_add_wowlan_patterns() 529 "pattern to hw\n", content, len); _rtl_add_wowlan_patterns()
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
H A D | wlcore_i.h | 318 u8 *pattern; member in struct:wl12xx_rx_filter_field 534 const u8 *pattern, u8 len);
|
/linux-4.4.14/drivers/net/ethernet/amd/ |
H A D | amd8111e.h | 90 #define PMAT0 0x190 /* OnNow pattern register0 */ 91 #define PMAT1 0x194 /* OnNow pattern register1 */
|
/linux-4.4.14/net/bluetooth/cmtp/ |
H A D | capi.c | 100 static struct cmtp_application *cmtp_application_get(struct cmtp_session *session, int pattern, __u16 value) cmtp_application_get() argument 107 switch (pattern) { cmtp_application_get()
|
/linux-4.4.14/arch/arm/mach-davinci/ |
H A D | board-da830-evm.c | 339 .pattern = da830_evm_nand_bbt_pattern 350 .pattern = da830_evm_nand_mirror_pattern
|
/linux-4.4.14/tools/thermal/tmon/ |
H A D | tui.c | 59 unsigned long pattern, bool end); 532 /* draw a horizontal bar in given pattern */ draw_hbar()
|
/linux-4.4.14/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 3537 * @frame: The pattern frame bit. 3555 * hw_set_wol_frame - program Wake-on-LAN pattern 3559 * @mask: Mask to ignore certain bytes in the pattern. 3561 * @pattern: The frame data. 3563 * This routine is used to program Wake-on-LAN pattern. 3566 const u8 *mask, uint frame_size, const u8 *pattern) hw_set_wol_frame() 3589 data[to++] = pattern[from]; hw_set_wol_frame() 3616 * hw_add_wol_arp - add ARP pattern 3620 * This routine is used to add ARP pattern for waking up the host. 3625 u8 pattern[42] = { hw_add_wol_arp() local 3635 memcpy(&pattern[38], ip_addr, 4); hw_add_wol_arp() 3636 hw_set_wol_frame(hw, 3, 6, mask, 42, pattern); hw_add_wol_arp() 3640 * hw_add_wol_bcast - add broadcast pattern 3643 * This routine is used to add broadcast pattern for waking up the host. 3648 static const u8 pattern[] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; hw_add_wol_bcast() local 3650 hw_set_wol_frame(hw, 2, 1, mask, ETH_ALEN, pattern); hw_add_wol_bcast() 3654 * hw_add_wol_mcast - add multicast pattern 3657 * This routine is used to add multicast pattern for waking up the host. 3666 u8 pattern[] = { 0x33, 0x33, 0xFF, 0x00, 0x00, 0x00 }; hw_add_wol_mcast() local 3668 memcpy(&pattern[3], &hw->override_addr[3], 3); hw_add_wol_mcast() 3669 hw_set_wol_frame(hw, 1, 1, mask, 6, pattern); hw_add_wol_mcast() 3673 * hw_add_wol_ucast - add unicast pattern 3676 * This routine is used to add unicast pattern to wakeup the host. 3565 hw_set_wol_frame(struct ksz_hw *hw, int i, uint mask_size, const u8 *mask, uint frame_size, const u8 *pattern) hw_set_wol_frame() argument
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_debugfs.c | 1227 dev_err(adap->pdev_dev, "illegal trace pattern skip offset\n"); mps_trc_show() 1248 seq_puts(seq, "filter pattern: "); mps_trc_show() 1257 seq_puts(seq, "filter pattern: "); mps_trc_show() 1287 * interface qid=<qid no> [snaplen=<val>] [minlen=<val>] [not] [<pattern>]... 1290 * of the NIC's response qid obtained from sge_qinfo and pattern has the form 1292 * <pattern data>[/<pattern mask>][@<anchor>] 1342 i = 0; /* counts pattern nibbles */ mps_trc_write() 1427 /* we have found a trace pattern */ mps_trc_write() 1428 if (i) { /* split pattern */ mps_trc_write() 1472 if (j < tp.skip_ofst) /* overlaps earlier pattern */ mps_trc_write()
|
/linux-4.4.14/drivers/usb/serial/ |
H A D | whiteheat.h | 163 __u8 what; /* bit pattern of what to purge */
|
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/ |
H A D | libcfs_cpu.h | 55 * . User can also specify CPU partitions by string pattern
|
/linux-4.4.14/drivers/media/i2c/ |
H A D | mt9p031.c | 610 * pixels to ensure a GRBG Bayer pattern. mt9p031_set_selection() 743 * be disabled when generating a test pattern to avoid artifacts mt9p031_s_ctrl() 745 * when the test pattern is enabled (disabled). mt9p031_s_ctrl() 770 /* Disable digital BLC when generating a test pattern. */ mt9p031_s_ctrl()
|
/linux-4.4.14/drivers/media/pci/saa7164/ |
H A D | saa7164-buffer.c | 132 /* init the buffers to a known pattern, easier during debugging */ saa7164_buffer_alloc()
|
/linux-4.4.14/drivers/media/rc/ |
H A D | ene_ir.h | 44 #define ENE_FW1_WPATTERN 0x20 /* enable wake pattern */
|
/linux-4.4.14/drivers/net/wan/ |
H A D | hd64570.h | 213 #define CTL_IDLE 0x10 /* Transmit an idle pattern */
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
H A D | fwcmd.h | 200 u8 pattern[32]; member in struct:carl9170_wol_cmd
|
/linux-4.4.14/drivers/net/ethernet/ezchip/ |
H A D | nps_enet.h | 114 * tx_ifg_nib: Tx idle pattern
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | sa1110-cpufreq.c | 131 * Create the MDCAS register bit pattern.
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
H A D | adf_pf2vf_msg.h | 96 * IN_USE_BY pattern as part of a collision control scheme (see adf_iov_putmsg).
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
H A D | exynos_dp_core.c | 333 /* Set training pattern 1 */ exynos_dp_link_start() 336 /* Set RX training pattern */ exynos_dp_link_start() 513 /* set training pattern 2 for EQ */ exynos_dp_process_clock_recovery() 600 /* traing pattern Set to Normal */ exynos_dp_process_equalizer_training()
|
H A D | exynos_dp_core.h | 225 enum pattern_set pattern);
|
/linux-4.4.14/drivers/char/xilinx_hwicap/ |
H A D | xilinx_hwicap.h | 72 /* Get the status register, bit pattern given by:
|