• Home
  • Raw
  • Download

Lines Matching refs:options

109 	if (td->options & NAND_BBT_NO_OOB)  in check_pattern()
146 if (!(td->options & NAND_BBT_NO_OOB)) in add_marker_len()
150 if (td->options & NAND_BBT_VERSION) in add_marker_len()
173 int bits = td->options & NAND_BBT_NRBITS_MSK; in read_bbt()
266 if (td->options & NAND_BBT_PERCHIP) { in read_abs_bbt()
295 if (td->options & NAND_BBT_VERSION) in scan_read_data()
346 if (td->options & NAND_BBT_NO_OOB) in scan_read()
374 if (!(td->options & NAND_BBT_NO_OOB)) in bbt_get_ver_offs()
395 if (td->options & NAND_BBT_VERSION) { in read_abs_bbts()
404 if (md && (md->options & NAND_BBT_VERSION)) { in read_abs_bbts()
461 if (!(td->options & NAND_BBT_NO_OOB) && in bbt_block_checkbad()
470 this->options & NAND_NO_BBM_QUIRK) in bbt_block_checkbad()
519 BUG_ON(bd->options & NAND_BBT_NO_OOB); in create_bbt()
564 if (td->options & NAND_BBT_LASTBLOCK) { in search_bbt()
573 if (td->options & NAND_BBT_PERCHIP) { in search_bbt()
600 if (td->options & NAND_BBT_VERSION) { in search_bbt()
670 if (!(td->options & NAND_BBT_PERCHIP)) in get_bbt_block()
677 if (td->options & NAND_BBT_LASTBLOCK) { in get_bbt_block()
769 if (td->options & NAND_BBT_PERCHIP) { in write_bbt()
801 bits = td->options & NAND_BBT_NRBITS_MSK; in write_bbt()
822 if (td->options & NAND_BBT_SAVECONTENT) { in write_bbt()
848 } else if (td->options & NAND_BBT_NO_OOB) { in write_bbt()
852 if (td->options & NAND_BBT_VERSION) in write_bbt()
877 if (td->options & NAND_BBT_VERSION) in write_bbt()
901 td->options & NAND_BBT_NO_OOB ? in write_bbt()
959 if (td->options & NAND_BBT_PERCHIP) in check_create()
971 chipsel = (td->options & NAND_BBT_PERCHIP) ? i : -1; in check_create()
985 if (!(td->options & NAND_BBT_VERSION)) in check_create()
1005 if (!(td->options & NAND_BBT_CREATE)) in check_create()
1051 if ((writeops & 0x01) && (td->options & NAND_BBT_WRITE)) { in check_create()
1058 if ((writeops & 0x02) && md && (md->options & NAND_BBT_WRITE)) { in check_create()
1094 if (td->options & NAND_BBT_PERCHIP) { in nand_update_bbt()
1107 if (td->options & NAND_BBT_WRITE) { in nand_update_bbt()
1113 if (md && (md->options & NAND_BBT_WRITE)) { in nand_update_bbt()
1138 if (td->options & NAND_BBT_PERCHIP) { in mark_bbt_region()
1147 if ((td->options & NAND_BBT_ABSPAGE) || in mark_bbt_region()
1148 !(td->options & NAND_BBT_WRITE)) { in mark_bbt_region()
1161 if (td->options & NAND_BBT_LASTBLOCK) in mark_bbt_region()
1203 bits = bd->options & NAND_BBT_NRBITS_MSK; in verify_bbt_descr()
1209 if (bd->options & NAND_BBT_VERSION) in verify_bbt_descr()
1212 if (bd->options & NAND_BBT_NO_OOB) { in verify_bbt_descr()
1216 if (bd->options & NAND_BBT_VERSION) in verify_bbt_descr()
1218 BUG_ON(bd->options & NAND_BBT_SAVECONTENT); in verify_bbt_descr()
1221 if (bd->options & NAND_BBT_PERCHIP) in verify_bbt_descr()
1227 if (bd->options & NAND_BBT_NO_OOB) in verify_bbt_descr()
1285 if (td->options & NAND_BBT_ABSPAGE) { in nand_scan_bbt()
1323 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1333 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1343 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1353 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1382 bd->options = this->bbt_options & BADBLOCK_SCAN_MASK; in nand_create_badblock_pattern()
1384 bd->len = (this->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_create_badblock_pattern()
1386 bd->options |= NAND_BBT_DYNAMICSTRUCT; in nand_create_badblock_pattern()