• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/nand/

Lines Matching refs:pattern

31  * The table is marked in the oob area with an ident pattern and a version
63 * check_pattern - [GENERIC] check if a pattern is in the buffer
67 * @td: search pattern descriptor
69 * Check for a pattern at the given place. Used to search bad block
72 * pattern area contain 0xff
89 /* Compare the pattern */
91 if (p[i] != td->pattern[i])
95 /* Check both positions 1 and 6 for pattern? */
110 /* Compare the pattern */
112 if (p[i] != td->pattern[i])
129 * check_short_pattern - [GENERIC] check if a pattern is in the buffer
131 * @td: search pattern descriptor
133 * Check for a pattern at the given place. Used to search bad block
143 /* Compare the pattern */
145 if (p[td->offs + i] != td->pattern[i])
151 if (p[NAND_SMALL_BADBLOCK_POS + i] != td->pattern[i])
408 * @bd: descriptor for the good/bad block search pattern
413 * for the given good/bad block identify pattern
495 * Read the bad block table by searching for a given ident pattern.
503 * The bbt ident pattern resides in the oob area of the first page
748 memcpy(&buf[ooboffs + td->offs], td->pattern, td->len);
796 * @bd: descriptor for the good/bad block search pattern
813 * @bd: descriptor for the good/bad block search pattern
988 * @bd: descriptor for the good/bad block search pattern
1042 /* Search the bad block table using a pattern in oob */
1117 /* Define some generic bad / good block scan pattern which are used
1125 .pattern = scan_ff_pattern
1132 .pattern = scan_ff_pattern
1141 .pattern = scan_agand_pattern
1156 .pattern = bbt_pattern
1166 .pattern = mirror_pattern
1200 bd->pattern = scan_ff_pattern;
1226 /* Use the default pattern descriptors */
1237 /* Use the default pattern descriptors */