Lines Matching refs:extid
4170 int extid, id_len; in nand_decode_ext_id() local
4174 extid = id_data[3]; in nand_decode_ext_id()
4190 mtd->writesize = 2048 << (extid & 0x03); in nand_decode_ext_id()
4191 extid >>= 2; in nand_decode_ext_id()
4193 switch (((extid >> 2) & 0x04) | (extid & 0x03)) { in nand_decode_ext_id()
4217 extid >>= 2; in nand_decode_ext_id()
4220 (((extid >> 1) & 0x04) | (extid & 0x03)); in nand_decode_ext_id()
4227 mtd->writesize = 2048 << (extid & 0x03); in nand_decode_ext_id()
4228 extid >>= 2; in nand_decode_ext_id()
4230 switch (((extid >> 2) & 0x04) | (extid & 0x03)) { in nand_decode_ext_id()
4253 extid >>= 2; in nand_decode_ext_id()
4255 tmp = ((extid >> 1) & 0x04) | (extid & 0x03); in nand_decode_ext_id()
4265 mtd->writesize = 1024 << (extid & 0x03); in nand_decode_ext_id()
4266 extid >>= 2; in nand_decode_ext_id()
4268 mtd->oobsize = (8 << (extid & 0x01)) * in nand_decode_ext_id()
4270 extid >>= 2; in nand_decode_ext_id()
4272 mtd->erasesize = (64 * 1024) << (extid & 0x03); in nand_decode_ext_id()
4273 extid >>= 2; in nand_decode_ext_id()
4275 *busw = (extid & 0x01) ? NAND_BUSWIDTH_16 : 0; in nand_decode_ext_id()