Lines Matching refs:options

117 	if (td->options & NAND_BBT_NO_OOB)  in check_pattern()
154 if (!(td->options & NAND_BBT_NO_OOB)) in add_marker_len()
158 if (td->options & NAND_BBT_VERSION) in add_marker_len()
181 int bits = td->options & NAND_BBT_NRBITS_MSK; in read_bbt()
272 if (td->options & NAND_BBT_PERCHIP) { in read_abs_bbt()
300 if (td->options & NAND_BBT_VERSION) in scan_read_data()
350 if (td->options & NAND_BBT_NO_OOB) in scan_read()
376 if (!(td->options & NAND_BBT_NO_OOB)) in bbt_get_ver_offs()
397 if (td->options & NAND_BBT_VERSION) { in read_abs_bbts()
406 if (md && (md->options & NAND_BBT_VERSION)) { in read_abs_bbts()
467 if (bd->options & NAND_BBT_SCAN2NDPAGE) in create_bbt()
494 BUG_ON(bd->options & NAND_BBT_NO_OOB); in create_bbt()
537 if (td->options & NAND_BBT_LASTBLOCK) { in search_bbt()
546 if (td->options & NAND_BBT_PERCHIP) { in search_bbt()
569 if (td->options & NAND_BBT_VERSION) { in search_bbt()
643 if (td->options & NAND_BBT_PERCHIP) { in write_bbt()
673 if (td->options & NAND_BBT_LASTBLOCK) { in write_bbt()
700 bits = td->options & NAND_BBT_NRBITS_MSK; in write_bbt()
721 if (td->options & NAND_BBT_SAVECONTENT) { in write_bbt()
747 } else if (td->options & NAND_BBT_NO_OOB) { in write_bbt()
751 if (td->options & NAND_BBT_VERSION) in write_bbt()
776 if (td->options & NAND_BBT_VERSION) in write_bbt()
797 td->options & NAND_BBT_NO_OOB ? NULL : in write_bbt()
850 if (td->options & NAND_BBT_PERCHIP) in check_create()
862 chipsel = (td->options & NAND_BBT_PERCHIP) ? i : -1; in check_create()
876 if (!(td->options & NAND_BBT_VERSION)) in check_create()
896 if (!(td->options & NAND_BBT_CREATE)) in check_create()
942 if ((writeops & 0x01) && (td->options & NAND_BBT_WRITE)) { in check_create()
949 if ((writeops & 0x02) && md && (md->options & NAND_BBT_WRITE)) { in check_create()
973 if (td->options & NAND_BBT_PERCHIP) { in mark_bbt_region()
982 if ((td->options & NAND_BBT_ABSPAGE) || in mark_bbt_region()
983 !(td->options & NAND_BBT_WRITE)) { in mark_bbt_region()
996 if (td->options & NAND_BBT_LASTBLOCK) in mark_bbt_region()
1037 bits = bd->options & NAND_BBT_NRBITS_MSK; in verify_bbt_descr()
1043 if (bd->options & NAND_BBT_VERSION) in verify_bbt_descr()
1046 if (bd->options & NAND_BBT_NO_OOB) { in verify_bbt_descr()
1050 if (bd->options & NAND_BBT_VERSION) in verify_bbt_descr()
1052 BUG_ON(bd->options & NAND_BBT_SAVECONTENT); in verify_bbt_descr()
1055 if (bd->options & NAND_BBT_PERCHIP) in verify_bbt_descr()
1061 if (bd->options & NAND_BBT_NO_OOB) in verify_bbt_descr()
1121 if (td->options & NAND_BBT_ABSPAGE) { in nand_scan_bbt()
1166 if (td->options & NAND_BBT_PERCHIP) { in nand_update_bbt()
1179 if (td->options & NAND_BBT_WRITE) { in nand_update_bbt()
1185 if (md && (md->options & NAND_BBT_WRITE)) { in nand_update_bbt()
1205 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1215 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1225 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1235 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1264 bd->options = this->bbt_options & BADBLOCK_SCAN_MASK; in nand_create_badblock_pattern()
1266 bd->len = (this->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_create_badblock_pattern()
1268 bd->options |= NAND_BBT_DYNAMICSTRUCT; in nand_create_badblock_pattern()