Lines Matching refs:oobsize
413 u8 oobsize; in hynix_nand_extract_oobsize() local
417 oobsize = ((chip->id.data[3] >> 2) & 0x3) | in hynix_nand_extract_oobsize()
421 switch (oobsize) { in hynix_nand_extract_oobsize()
423 memorg->oobsize = 2048; in hynix_nand_extract_oobsize()
426 memorg->oobsize = 1664; in hynix_nand_extract_oobsize()
429 memorg->oobsize = 1024; in hynix_nand_extract_oobsize()
432 memorg->oobsize = 640; in hynix_nand_extract_oobsize()
445 switch (oobsize) { in hynix_nand_extract_oobsize()
447 memorg->oobsize = 128; in hynix_nand_extract_oobsize()
450 memorg->oobsize = 224; in hynix_nand_extract_oobsize()
453 memorg->oobsize = 448; in hynix_nand_extract_oobsize()
456 memorg->oobsize = 64; in hynix_nand_extract_oobsize()
459 memorg->oobsize = 32; in hynix_nand_extract_oobsize()
462 memorg->oobsize = 16; in hynix_nand_extract_oobsize()
465 memorg->oobsize = 640; in hynix_nand_extract_oobsize()
489 memorg->oobsize *= memorg->pagesize / SZ_8K; in hynix_nand_extract_oobsize()
492 mtd->oobsize = memorg->oobsize; in hynix_nand_extract_oobsize()