Searched refs:patterns (Results 1 - 7 of 7) sorted by relevance

/drivers/net/wireless/iwlwifi/
H A Diwl-agn-lib.c1107 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8);
1109 memcpy(&pattern_cmd->patterns[i].mask,
1110 wowlan->patterns[i].mask, mask_len);
1111 memcpy(&pattern_cmd->patterns[i].pattern,
1112 wowlan->patterns[i].pattern,
1113 wowlan->patterns[i].pattern_len);
1114 pattern_cmd->patterns[i].mask_size = mask_len;
1115 pattern_cmd->patterns[i].pattern_size =
1116 wowlan->patterns[i].pattern_len;
H A Diwl-commands.h1981 * if configure the following patterns
1992 * if configure the following patterns
3808 struct iwlagn_wowlan_pattern patterns[]; member in struct:iwlagn_wowlan_patterns_cmd
/drivers/mtd/ubi/
H A Dio.c408 static uint8_t patterns[] = {0xa5, 0x5a, 0x0}; variable
424 patt_count = ARRAY_SIZE(patterns);
447 memset(ubi->peb_buf1, patterns[i], ubi->peb_size);
452 memset(ubi->peb_buf1, ~patterns[i], ubi->peb_size);
457 err = ubi_check_pattern(ubi->peb_buf1, patterns[i],
461 patterns[i], pnum);
578 * different patterns to it and reading them back. If the torturing is enabled,
/drivers/net/wireless/ath/ath6kl/
H A Dcfg80211.c1749 /* Clear existing WOW patterns */
1753 /* Configure new WOW patterns */
1759 * with patterns. For example, If the mask value defined in
1765 for (pos = 0; pos < wow->patterns[i].pattern_len; pos++) {
1766 if (wow->patterns[i].mask[pos / 8] & (0x1 << (pos % 8)))
1772 * to the firmware. It means, given WOW patterns are always
1777 wow->patterns[i].pattern_len,
1779 wow->patterns[i].pattern, mask);
/drivers/char/pcmcia/
H A Dsynclink_cs.c3729 static unsigned char patterns[] = local
3731 static unsigned int count = ARRAY_SIZE(patterns);
3740 write_reg(info, XAD1, patterns[i]);
3741 write_reg(info, XAD2, patterns[(i + 1) % count]);
3742 if ((read_reg(info, XAD1) != patterns[i]) ||
3743 (read_reg(info, XAD2) != patterns[(i + 1) % count])) {
/drivers/tty/
H A Dsynclink_gt.c4514 /* standard 8 bit idle patterns */
4962 static unsigned short patterns[] = local
4964 static unsigned int count = ARRAY_SIZE(patterns);
4969 wr_reg16(info, TIR, patterns[i]);
4970 wr_reg16(info, BDR, patterns[(i+1)%count]);
4971 if ((rd_reg16(info, TIR) != patterns[i]) ||
4972 (rd_reg16(info, BDR) != patterns[(i+1)%count])) {
/drivers/tty/vt/
H A Dkeyboard.c943 pr_warning("keyboard mode must be unicode for braille patterns\n");

Completed in 195 milliseconds