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()
490 BUG_ON(bd->options & NAND_BBT_NO_OOB); in create_bbt()
535 if (td->options & NAND_BBT_LASTBLOCK) { in search_bbt()
544 if (td->options & NAND_BBT_PERCHIP) { in search_bbt()
567 if (td->options & NAND_BBT_VERSION) { in search_bbt()
637 if (!(td->options & NAND_BBT_PERCHIP)) in get_bbt_block()
644 if (td->options & NAND_BBT_LASTBLOCK) { in get_bbt_block()
736 if (td->options & NAND_BBT_PERCHIP) { in write_bbt()
768 bits = td->options & NAND_BBT_NRBITS_MSK; in write_bbt()
789 if (td->options & NAND_BBT_SAVECONTENT) { in write_bbt()
815 } else if (td->options & NAND_BBT_NO_OOB) { in write_bbt()
819 if (td->options & NAND_BBT_VERSION) in write_bbt()
844 if (td->options & NAND_BBT_VERSION) in write_bbt()
868 td->options & NAND_BBT_NO_OOB ? in write_bbt()
926 if (td->options & NAND_BBT_PERCHIP) in check_create()
938 chipsel = (td->options & NAND_BBT_PERCHIP) ? i : -1; in check_create()
952 if (!(td->options & NAND_BBT_VERSION)) in check_create()
972 if (!(td->options & NAND_BBT_CREATE)) in check_create()
1018 if ((writeops & 0x01) && (td->options & NAND_BBT_WRITE)) { in check_create()
1025 if ((writeops & 0x02) && md && (md->options & NAND_BBT_WRITE)) { in check_create()
1061 if (td->options & NAND_BBT_PERCHIP) { in nand_update_bbt()
1074 if (td->options & NAND_BBT_WRITE) { in nand_update_bbt()
1080 if (md && (md->options & NAND_BBT_WRITE)) { in nand_update_bbt()
1105 if (td->options & NAND_BBT_PERCHIP) { in mark_bbt_region()
1114 if ((td->options & NAND_BBT_ABSPAGE) || in mark_bbt_region()
1115 !(td->options & NAND_BBT_WRITE)) { in mark_bbt_region()
1128 if (td->options & NAND_BBT_LASTBLOCK) in mark_bbt_region()
1170 bits = bd->options & NAND_BBT_NRBITS_MSK; in verify_bbt_descr()
1176 if (bd->options & NAND_BBT_VERSION) in verify_bbt_descr()
1179 if (bd->options & NAND_BBT_NO_OOB) { in verify_bbt_descr()
1183 if (bd->options & NAND_BBT_VERSION) in verify_bbt_descr()
1185 BUG_ON(bd->options & NAND_BBT_SAVECONTENT); in verify_bbt_descr()
1188 if (bd->options & NAND_BBT_PERCHIP) in verify_bbt_descr()
1194 if (bd->options & NAND_BBT_NO_OOB) in verify_bbt_descr()
1252 if (td->options & NAND_BBT_ABSPAGE) { in nand_scan_bbt()
1290 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1300 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1310 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1320 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1349 bd->options = this->bbt_options & BADBLOCK_SCAN_MASK; in nand_create_badblock_pattern()
1351 bd->len = (this->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_create_badblock_pattern()
1353 bd->options |= NAND_BBT_DYNAMICSTRUCT; in nand_create_badblock_pattern()