• Home
  • Raw
  • Download

Lines Matching refs:options

114 	if (td->options & NAND_BBT_NO_OOB)  in check_pattern()
151 if (!(td->options & NAND_BBT_NO_OOB)) in add_marker_len()
155 if (td->options & NAND_BBT_VERSION) in add_marker_len()
178 int bits = td->options & NAND_BBT_NRBITS_MSK; in read_bbt()
269 if (td->options & NAND_BBT_PERCHIP) { in read_abs_bbt()
297 if (td->options & NAND_BBT_VERSION) in scan_read_data()
347 if (td->options & NAND_BBT_NO_OOB) in scan_read()
373 if (!(td->options & NAND_BBT_NO_OOB)) in bbt_get_ver_offs()
394 if (td->options & NAND_BBT_VERSION) { in read_abs_bbts()
403 if (md && (md->options & NAND_BBT_VERSION)) { in read_abs_bbts()
464 if (bd->options & NAND_BBT_SCAN2NDPAGE) in create_bbt()
491 BUG_ON(bd->options & NAND_BBT_NO_OOB); in create_bbt()
534 if (td->options & NAND_BBT_LASTBLOCK) { in search_bbt()
543 if (td->options & NAND_BBT_PERCHIP) { in search_bbt()
566 if (td->options & NAND_BBT_VERSION) { in search_bbt()
640 if (td->options & NAND_BBT_PERCHIP) { in write_bbt()
670 if (td->options & NAND_BBT_LASTBLOCK) { in write_bbt()
697 bits = td->options & NAND_BBT_NRBITS_MSK; in write_bbt()
718 if (td->options & NAND_BBT_SAVECONTENT) { in write_bbt()
744 } else if (td->options & NAND_BBT_NO_OOB) { in write_bbt()
748 if (td->options & NAND_BBT_VERSION) in write_bbt()
773 if (td->options & NAND_BBT_VERSION) in write_bbt()
794 td->options & NAND_BBT_NO_OOB ? NULL : in write_bbt()
847 if (td->options & NAND_BBT_PERCHIP) in check_create()
859 chipsel = (td->options & NAND_BBT_PERCHIP) ? i : -1; in check_create()
873 if (!(td->options & NAND_BBT_VERSION)) in check_create()
893 if (!(td->options & NAND_BBT_CREATE)) in check_create()
939 if ((writeops & 0x01) && (td->options & NAND_BBT_WRITE)) { in check_create()
946 if ((writeops & 0x02) && md && (md->options & NAND_BBT_WRITE)) { in check_create()
970 if (td->options & NAND_BBT_PERCHIP) { in mark_bbt_region()
979 if ((td->options & NAND_BBT_ABSPAGE) || in mark_bbt_region()
980 !(td->options & NAND_BBT_WRITE)) { in mark_bbt_region()
993 if (td->options & NAND_BBT_LASTBLOCK) in mark_bbt_region()
1034 bits = bd->options & NAND_BBT_NRBITS_MSK; in verify_bbt_descr()
1040 if (bd->options & NAND_BBT_VERSION) in verify_bbt_descr()
1043 if (bd->options & NAND_BBT_NO_OOB) { in verify_bbt_descr()
1047 if (bd->options & NAND_BBT_VERSION) in verify_bbt_descr()
1049 BUG_ON(bd->options & NAND_BBT_SAVECONTENT); in verify_bbt_descr()
1052 if (bd->options & NAND_BBT_PERCHIP) in verify_bbt_descr()
1058 if (bd->options & NAND_BBT_NO_OOB) in verify_bbt_descr()
1116 if (td->options & NAND_BBT_ABSPAGE) { in nand_scan_bbt()
1168 if (td->options & NAND_BBT_PERCHIP) { in nand_update_bbt()
1181 if (td->options & NAND_BBT_WRITE) { in nand_update_bbt()
1187 if (md && (md->options & NAND_BBT_WRITE)) { in nand_update_bbt()
1207 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1217 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1227 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1237 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1266 bd->options = this->bbt_options & BADBLOCK_SCAN_MASK; in nand_create_badblock_pattern()
1268 bd->len = (this->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_create_badblock_pattern()
1270 bd->options |= NAND_BBT_DYNAMICSTRUCT; in nand_create_badblock_pattern()