Lines Matching refs:extid
4165 int extid, id_len; in nand_decode_ext_id() local
4169 extid = id_data[3]; in nand_decode_ext_id()
4185 mtd->writesize = 2048 << (extid & 0x03); in nand_decode_ext_id()
4186 extid >>= 2; in nand_decode_ext_id()
4188 switch (((extid >> 2) & 0x04) | (extid & 0x03)) { in nand_decode_ext_id()
4212 extid >>= 2; in nand_decode_ext_id()
4215 (((extid >> 1) & 0x04) | (extid & 0x03)); in nand_decode_ext_id()
4222 mtd->writesize = 2048 << (extid & 0x03); in nand_decode_ext_id()
4223 extid >>= 2; in nand_decode_ext_id()
4225 switch (((extid >> 2) & 0x04) | (extid & 0x03)) { in nand_decode_ext_id()
4248 extid >>= 2; in nand_decode_ext_id()
4250 tmp = ((extid >> 1) & 0x04) | (extid & 0x03); in nand_decode_ext_id()
4260 mtd->writesize = 1024 << (extid & 0x03); in nand_decode_ext_id()
4261 extid >>= 2; in nand_decode_ext_id()
4263 mtd->oobsize = (8 << (extid & 0x01)) * in nand_decode_ext_id()
4265 extid >>= 2; in nand_decode_ext_id()
4267 mtd->erasesize = (64 * 1024) << (extid & 0x03); in nand_decode_ext_id()
4268 extid >>= 2; in nand_decode_ext_id()
4270 *busw = (extid & 0x01) ? NAND_BUSWIDTH_16 : 0; in nand_decode_ext_id()