Searched refs:extid (Results 1 – 4 of 4) sorted by relevance
29 u8 extid = chip->id.data[3]; in samsung_nand_decode_id() local32 mtd->writesize = 2048 << (extid & 0x03); in samsung_nand_decode_id()34 extid >>= 2; in samsung_nand_decode_id()37 switch (((extid >> 2) & 0x4) | (extid & 0x3)) { in samsung_nand_decode_id()64 extid >>= 2; in samsung_nand_decode_id()66 (((extid >> 1) & 0x04) | (extid & 0x03)); in samsung_nand_decode_id()69 extid = (chip->id.data[4] >> 4) & 0x07; in samsung_nand_decode_id()70 if (extid < 5) { in samsung_nand_decode_id()72 chip->ecc_strength_ds = 1 << extid; in samsung_nand_decode_id()75 switch (extid) { in samsung_nand_decode_id()
27 u8 tmp, extid = chip->id.data[3]; in hynix_nand_decode_id() local30 mtd->writesize = 2048 << (extid & 0x03); in hynix_nand_decode_id()31 extid >>= 2; in hynix_nand_decode_id()34 switch (((extid >> 2) & 0x4) | (extid & 0x3)) { in hynix_nand_decode_id()59 extid >>= 2; in hynix_nand_decode_id()60 tmp = ((extid >> 1) & 0x04) | (extid & 0x03); in hynix_nand_decode_id()
4155 int extid; in nand_decode_ext_id() local4159 extid = chip->id.data[3]; in nand_decode_ext_id()4162 mtd->writesize = 1024 << (extid & 0x03); in nand_decode_ext_id()4163 extid >>= 2; in nand_decode_ext_id()4165 mtd->oobsize = (8 << (extid & 0x01)) * in nand_decode_ext_id()4167 extid >>= 2; in nand_decode_ext_id()4169 mtd->erasesize = (64 * 1024) << (extid & 0x03); in nand_decode_ext_id()4170 extid >>= 2; in nand_decode_ext_id()4173 if (extid & 0x1) in nand_decode_ext_id()
117 int sbi_probe_extension(int extid) in sbi_probe_extension() argument121 ret = sbi_ecall(SBI_EXT_BASE, SBI_EXT_BASE_PROBE_EXT, extid, in sbi_probe_extension()
Completed in 16 milliseconds