Lines Matching refs:extid
3553 int extid, id_len; in nand_decode_ext_id() local
3557 extid = id_data[3]; in nand_decode_ext_id()
3573 mtd->writesize = 2048 << (extid & 0x03); in nand_decode_ext_id()
3574 extid >>= 2; in nand_decode_ext_id()
3576 switch (((extid >> 2) & 0x04) | (extid & 0x03)) { in nand_decode_ext_id()
3600 extid >>= 2; in nand_decode_ext_id()
3603 (((extid >> 1) & 0x04) | (extid & 0x03)); in nand_decode_ext_id()
3610 mtd->writesize = 2048 << (extid & 0x03); in nand_decode_ext_id()
3611 extid >>= 2; in nand_decode_ext_id()
3613 switch (((extid >> 2) & 0x04) | (extid & 0x03)) { in nand_decode_ext_id()
3636 extid >>= 2; in nand_decode_ext_id()
3638 tmp = ((extid >> 1) & 0x04) | (extid & 0x03); in nand_decode_ext_id()
3648 mtd->writesize = 1024 << (extid & 0x03); in nand_decode_ext_id()
3649 extid >>= 2; in nand_decode_ext_id()
3651 mtd->oobsize = (8 << (extid & 0x01)) * in nand_decode_ext_id()
3653 extid >>= 2; in nand_decode_ext_id()
3655 mtd->erasesize = (64 * 1024) << (extid & 0x03); in nand_decode_ext_id()
3656 extid >>= 2; in nand_decode_ext_id()
3658 *busw = (extid & 0x01) ? NAND_BUSWIDTH_16 : 0; in nand_decode_ext_id()