Lines Matching refs:extid
3411 int extid, id_len; in nand_decode_ext_id() local
3415 extid = id_data[3]; in nand_decode_ext_id()
3431 mtd->writesize = 2048 << (extid & 0x03); in nand_decode_ext_id()
3432 extid >>= 2; in nand_decode_ext_id()
3434 switch (((extid >> 2) & 0x04) | (extid & 0x03)) { in nand_decode_ext_id()
3458 extid >>= 2; in nand_decode_ext_id()
3461 (((extid >> 1) & 0x04) | (extid & 0x03)); in nand_decode_ext_id()
3468 mtd->writesize = 2048 << (extid & 0x03); in nand_decode_ext_id()
3469 extid >>= 2; in nand_decode_ext_id()
3471 switch (((extid >> 2) & 0x04) | (extid & 0x03)) { in nand_decode_ext_id()
3494 extid >>= 2; in nand_decode_ext_id()
3496 tmp = ((extid >> 1) & 0x04) | (extid & 0x03); in nand_decode_ext_id()
3506 mtd->writesize = 1024 << (extid & 0x03); in nand_decode_ext_id()
3507 extid >>= 2; in nand_decode_ext_id()
3509 mtd->oobsize = (8 << (extid & 0x01)) * in nand_decode_ext_id()
3511 extid >>= 2; in nand_decode_ext_id()
3513 mtd->erasesize = (64 * 1024) << (extid & 0x03); in nand_decode_ext_id()
3514 extid >>= 2; in nand_decode_ext_id()
3516 *busw = (extid & 0x01) ? NAND_BUSWIDTH_16 : 0; in nand_decode_ext_id()