extp 119 drivers/mtd/chips/cfi_cmdset_0001.c static void cfi_tell_features(struct cfi_pri_intelext *extp) extp 122 drivers/mtd/chips/cfi_cmdset_0001.c printk(" Extended Query version %c.%c\n", extp->MajorVersion, extp->MinorVersion); extp 123 drivers/mtd/chips/cfi_cmdset_0001.c printk(" Feature/Command Support: %4.4X\n", extp->FeatureSupport); extp 124 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Chip Erase: %s\n", extp->FeatureSupport&1?"supported":"unsupported"); extp 125 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Suspend Erase: %s\n", extp->FeatureSupport&2?"supported":"unsupported"); extp 126 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Suspend Program: %s\n", extp->FeatureSupport&4?"supported":"unsupported"); extp 127 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Legacy Lock/Unlock: %s\n", extp->FeatureSupport&8?"supported":"unsupported"); extp 128 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Queued Erase: %s\n", extp->FeatureSupport&16?"supported":"unsupported"); extp 129 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Instant block lock: %s\n", extp->FeatureSupport&32?"supported":"unsupported"); extp 130 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Protection Bits: %s\n", extp->FeatureSupport&64?"supported":"unsupported"); extp 131 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Page-mode read: %s\n", extp->FeatureSupport&128?"supported":"unsupported"); extp 132 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Synchronous read: %s\n", extp->FeatureSupport&256?"supported":"unsupported"); extp 133 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Simultaneous operations: %s\n", extp->FeatureSupport&512?"supported":"unsupported"); extp 134 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Extended Flash Array: %s\n", extp->FeatureSupport&1024?"supported":"unsupported"); extp 136 drivers/mtd/chips/cfi_cmdset_0001.c if (extp->FeatureSupport & (1<<i)) extp 140 drivers/mtd/chips/cfi_cmdset_0001.c printk(" Supported functions after Suspend: %2.2X\n", extp->SuspendCmdSupport); extp 141 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Program after Erase Suspend: %s\n", extp->SuspendCmdSupport&1?"supported":"unsupported"); extp 143 drivers/mtd/chips/cfi_cmdset_0001.c if (extp->SuspendCmdSupport & (1<<i)) extp 147 drivers/mtd/chips/cfi_cmdset_0001.c printk(" Block Status Register Mask: %4.4X\n", extp->BlkStatusRegMask); extp 148 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Lock Bit Active: %s\n", extp->BlkStatusRegMask&1?"yes":"no"); extp 149 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - Lock-Down Bit Active: %s\n", extp->BlkStatusRegMask&2?"yes":"no"); extp 151 drivers/mtd/chips/cfi_cmdset_0001.c if (extp->BlkStatusRegMask & (1<<i)) extp 154 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - EFA Lock Bit: %s\n", extp->BlkStatusRegMask&16?"yes":"no"); extp 155 drivers/mtd/chips/cfi_cmdset_0001.c printk(" - EFA Lock-Down Bit: %s\n", extp->BlkStatusRegMask&32?"yes":"no"); extp 157 drivers/mtd/chips/cfi_cmdset_0001.c if (extp->BlkStatusRegMask & (1<<i)) extp 162 drivers/mtd/chips/cfi_cmdset_0001.c extp->VccOptimal >> 4, extp->VccOptimal & 0xf); extp 163 drivers/mtd/chips/cfi_cmdset_0001.c if (extp->VppOptimal) extp 165 drivers/mtd/chips/cfi_cmdset_0001.c extp->VppOptimal >> 4, extp->VppOptimal & 0xf); extp 174 drivers/mtd/chips/cfi_cmdset_0001.c struct cfi_pri_intelext *extp = cfi->cmdset_priv; extp 179 drivers/mtd/chips/cfi_cmdset_0001.c extp->FeatureSupport = cpu_to_le32(extp->FeatureSupport); extp 180 drivers/mtd/chips/cfi_cmdset_0001.c extp->BlkStatusRegMask = cpu_to_le16(extp->BlkStatusRegMask); extp 181 drivers/mtd/chips/cfi_cmdset_0001.c extp->ProtRegAddr = cpu_to_le16(extp->ProtRegAddr); extp 183 drivers/mtd/chips/cfi_cmdset_0001.c memcpy(&atmel_pri, extp, sizeof(atmel_pri)); extp 184 drivers/mtd/chips/cfi_cmdset_0001.c memset((char *)extp + 5, 0, sizeof(*extp) - 5); extp 203 drivers/mtd/chips/cfi_cmdset_0001.c extp->FeatureSupport = features; extp 226 drivers/mtd/chips/cfi_cmdset_0001.c struct cfi_pri_intelext *extp = cfi->cmdset_priv; extp 230 drivers/mtd/chips/cfi_cmdset_0001.c extp->SuspendCmdSupport &= ~1; extp 281 drivers/mtd/chips/cfi_cmdset_0001.c struct cfi_pri_intelext *extp = cfi->cmdset_priv; extp 293 drivers/mtd/chips/cfi_cmdset_0001.c extp->FeatureSupport &= ~512; extp 372 drivers/mtd/chips/cfi_cmdset_0001.c struct cfi_pri_intelext *extp) extp 375 drivers/mtd/chips/cfi_cmdset_0001.c cfi->id == PF38F4476 && extp->MinorVersion == '3') extp 376 drivers/mtd/chips/cfi_cmdset_0001.c extp->MinorVersion = '1'; extp 394 drivers/mtd/chips/cfi_cmdset_0001.c struct cfi_pri_intelext *extp; extp 396 drivers/mtd/chips/cfi_cmdset_0001.c unsigned int extp_size = sizeof(*extp); extp 399 drivers/mtd/chips/cfi_cmdset_0001.c extp = (struct cfi_pri_intelext *)cfi_read_pri(map, adr, extp_size, "Intel/Sharp"); extp 400 drivers/mtd/chips/cfi_cmdset_0001.c if (!extp) extp 403 drivers/mtd/chips/cfi_cmdset_0001.c cfi_fixup_major_minor(cfi, extp); extp 405 drivers/mtd/chips/cfi_cmdset_0001.c if (extp->MajorVersion != '1' || extp 406 drivers/mtd/chips/cfi_cmdset_0001.c (extp->MinorVersion < '0' || extp->MinorVersion > '5')) { extp 408 drivers/mtd/chips/cfi_cmdset_0001.c "version %c.%c.\n", extp->MajorVersion, extp 409 drivers/mtd/chips/cfi_cmdset_0001.c extp->MinorVersion); extp 410 drivers/mtd/chips/cfi_cmdset_0001.c kfree(extp); extp 415 drivers/mtd/chips/cfi_cmdset_0001.c extp->FeatureSupport = le32_to_cpu(extp->FeatureSupport); extp 416 drivers/mtd/chips/cfi_cmdset_0001.c extp->BlkStatusRegMask = le16_to_cpu(extp->BlkStatusRegMask); extp 417 drivers/mtd/chips/cfi_cmdset_0001.c extp->ProtRegAddr = le16_to_cpu(extp->ProtRegAddr); extp 419 drivers/mtd/chips/cfi_cmdset_0001.c if (extp->MinorVersion >= '0') { extp 423 drivers/mtd/chips/cfi_cmdset_0001.c extra_size += (extp->NumProtectionFields - 1) * extp 427 drivers/mtd/chips/cfi_cmdset_0001.c if (extp->MinorVersion >= '1') { extp 430 drivers/mtd/chips/cfi_cmdset_0001.c if (extp_size < sizeof(*extp) + extra_size) extp 432 drivers/mtd/chips/cfi_cmdset_0001.c extra_size += extp->extra[extra_size - 1]; extp 435 drivers/mtd/chips/cfi_cmdset_0001.c if (extp->MinorVersion >= '3') { extp 440 drivers/mtd/chips/cfi_cmdset_0001.c if (extp_size < sizeof(*extp) + extra_size) extp 442 drivers/mtd/chips/cfi_cmdset_0001.c nb_parts = extp->extra[extra_size - 1]; extp 445 drivers/mtd/chips/cfi_cmdset_0001.c if (extp->MinorVersion >= '4') extp 450 drivers/mtd/chips/cfi_cmdset_0001.c rinfo = (struct cfi_intelext_regioninfo *)&extp->extra[extra_size]; extp 452 drivers/mtd/chips/cfi_cmdset_0001.c if (extp_size < sizeof(*extp) + extra_size) extp 459 drivers/mtd/chips/cfi_cmdset_0001.c if (extp->MinorVersion >= '4') extp 462 drivers/mtd/chips/cfi_cmdset_0001.c if (extp_size < sizeof(*extp) + extra_size) { extp 464 drivers/mtd/chips/cfi_cmdset_0001.c extp_size = sizeof(*extp) + extra_size; extp 465 drivers/mtd/chips/cfi_cmdset_0001.c kfree(extp); extp 476 drivers/mtd/chips/cfi_cmdset_0001.c return extp; extp 515 drivers/mtd/chips/cfi_cmdset_0001.c struct cfi_pri_intelext *extp; extp 517 drivers/mtd/chips/cfi_cmdset_0001.c extp = read_pri_intelext(map, adr); extp 518 drivers/mtd/chips/cfi_cmdset_0001.c if (!extp) { extp 524 drivers/mtd/chips/cfi_cmdset_0001.c cfi->cmdset_priv = extp; extp 530 drivers/mtd/chips/cfi_cmdset_0001.c cfi_tell_features(extp); extp 533 drivers/mtd/chips/cfi_cmdset_0001.c if(extp->SuspendCmdSupport & 1) { extp 683 drivers/mtd/chips/cfi_cmdset_0001.c struct cfi_pri_intelext *extp = cfi->cmdset_priv; extp 696 drivers/mtd/chips/cfi_cmdset_0001.c if (extp && extp->MajorVersion == '1' && extp->MinorVersion >= '3' extp 697 drivers/mtd/chips/cfi_cmdset_0001.c && extp->FeatureSupport & (1 << 9)) { extp 704 drivers/mtd/chips/cfi_cmdset_0001.c offs = (extp->NumProtectionFields - 1) * extp 708 drivers/mtd/chips/cfi_cmdset_0001.c offs += extp->extra[offs+1]+2; extp 711 drivers/mtd/chips/cfi_cmdset_0001.c numregions = extp->extra[offs]; extp 715 drivers/mtd/chips/cfi_cmdset_0001.c if (extp->MinorVersion >= '4') extp 722 drivers/mtd/chips/cfi_cmdset_0001.c rinfo = (struct cfi_intelext_regioninfo *)&extp->extra[offs]; extp 733 drivers/mtd/chips/cfi_cmdset_0001.c if (extp->MinorVersion >= '4') { extp 735 drivers/mtd/chips/cfi_cmdset_0001.c prinfo = (struct cfi_intelext_programming_regioninfo *)&extp->extra[offs]; extp 2104 drivers/mtd/chips/cfi_cmdset_0001.c struct cfi_pri_intelext *extp = cfi->cmdset_priv; extp 2142 drivers/mtd/chips/cfi_cmdset_0001.c mdelay = (!extp || !(extp->FeatureSupport & (1 << 5))) ? 1500 : 0; extp 2301 drivers/mtd/chips/cfi_cmdset_0001.c struct cfi_pri_intelext *extp = cfi->cmdset_priv; extp 2312 drivers/mtd/chips/cfi_cmdset_0001.c if (!extp || !(extp->FeatureSupport & 64) || !extp->NumProtectionFields) extp 2333 drivers/mtd/chips/cfi_cmdset_0001.c otp = (struct cfi_intelext_otpinfo *)&extp->extra[0]; extp 2337 drivers/mtd/chips/cfi_cmdset_0001.c reg_prot_offset = extp->ProtRegAddr; extp 2339 drivers/mtd/chips/cfi_cmdset_0001.c reg_fact_size = 1 << extp->FactProtRegSize; extp 2341 drivers/mtd/chips/cfi_cmdset_0001.c reg_user_size = 1 << extp->UserProtRegSize; extp 2415 drivers/mtd/chips/cfi_cmdset_0001.c if (++field == extp->NumProtectionFields) extp 2508 drivers/mtd/chips/cfi_cmdset_0001.c struct cfi_pri_intelext *extp = cfi->cmdset_priv; extp 2514 drivers/mtd/chips/cfi_cmdset_0001.c && extp && (extp->FeatureSupport & (1 << 5))) extp 2602 drivers/mtd/chips/cfi_cmdset_0001.c struct cfi_pri_intelext *extp = cfi->cmdset_priv; extp 2625 drivers/mtd/chips/cfi_cmdset_0001.c && extp && (extp->FeatureSupport & (1 << 5))) extp 119 drivers/mtd/chips/cfi_cmdset_0002.c struct cfi_pri_amdstd *extp = cfi->cmdset_priv; extp 122 drivers/mtd/chips/cfi_cmdset_0002.c return extp->MinorVersion >= '5' && extp 123 drivers/mtd/chips/cfi_cmdset_0002.c (extp->SoftwareFeatures & poll_mask) == CFI_POLL_STATUS_REG; extp 170 drivers/mtd/chips/cfi_cmdset_0002.c static void cfi_tell_features(struct cfi_pri_amdstd *extp) extp 181 drivers/mtd/chips/cfi_cmdset_0002.c printk(" Silicon revision: %d\n", extp->SiliconRevision >> 1); extp 183 drivers/mtd/chips/cfi_cmdset_0002.c (extp->SiliconRevision & 1) ? "Not required" : "Required"); extp 185 drivers/mtd/chips/cfi_cmdset_0002.c if (extp->EraseSuspend < ARRAY_SIZE(erase_suspend)) extp 186 drivers/mtd/chips/cfi_cmdset_0002.c printk(" Erase Suspend: %s\n", erase_suspend[extp->EraseSuspend]); extp 188 drivers/mtd/chips/cfi_cmdset_0002.c printk(" Erase Suspend: Unknown value %d\n", extp->EraseSuspend); extp 190 drivers/mtd/chips/cfi_cmdset_0002.c if (extp->BlkProt == 0) extp 193 drivers/mtd/chips/cfi_cmdset_0002.c printk(" Block protection: %d sectors per group\n", extp->BlkProt); extp 197 drivers/mtd/chips/cfi_cmdset_0002.c extp->TmpBlkUnprotect ? "Supported" : "Not supported"); extp 198 drivers/mtd/chips/cfi_cmdset_0002.c printk(" Block protect/unprotect scheme: %d\n", extp->BlkProtUnprot); extp 199 drivers/mtd/chips/cfi_cmdset_0002.c printk(" Number of simultaneous operations: %d\n", extp->SimultaneousOps); extp 201 drivers/mtd/chips/cfi_cmdset_0002.c extp->BurstMode ? "Supported" : "Not supported"); extp 202 drivers/mtd/chips/cfi_cmdset_0002.c if (extp->PageMode == 0) extp 205 drivers/mtd/chips/cfi_cmdset_0002.c printk(" Page mode: %d word page\n", extp->PageMode << 2); extp 208 drivers/mtd/chips/cfi_cmdset_0002.c extp->VppMin >> 4, extp->VppMin & 0xf); extp 210 drivers/mtd/chips/cfi_cmdset_0002.c extp->VppMax >> 4, extp->VppMax & 0xf); extp 212 drivers/mtd/chips/cfi_cmdset_0002.c if (extp->TopBottom < ARRAY_SIZE(top_bottom)) extp 213 drivers/mtd/chips/cfi_cmdset_0002.c printk(" Top/Bottom Boot Block: %s\n", top_bottom[extp->TopBottom]); extp 215 drivers/mtd/chips/cfi_cmdset_0002.c printk(" Top/Bottom Boot Block: Unknown value %d\n", extp->TopBottom); extp 225 drivers/mtd/chips/cfi_cmdset_0002.c struct cfi_pri_amdstd *extp = cfi->cmdset_priv; extp 226 drivers/mtd/chips/cfi_cmdset_0002.c __u8 major = extp->MajorVersion; extp 227 drivers/mtd/chips/cfi_cmdset_0002.c __u8 minor = extp->MinorVersion; extp 254 drivers/mtd/chips/cfi_cmdset_0002.c extp->TopBottom = 2; /* bottom boot */ extp 258 drivers/mtd/chips/cfi_cmdset_0002.c extp->TopBottom = 3; /* top boot */ extp 260 drivers/mtd/chips/cfi_cmdset_0002.c extp->TopBottom = 2; /* bottom boot */ extp 265 drivers/mtd/chips/cfi_cmdset_0002.c extp->TopBottom == 2 ? "bottom" : "top"); extp 287 drivers/mtd/chips/cfi_cmdset_0002.c struct cfi_pri_amdstd *extp = cfi->cmdset_priv; extp 290 drivers/mtd/chips/cfi_cmdset_0002.c memcpy(&atmel_pri, extp, sizeof(atmel_pri)); extp 291 drivers/mtd/chips/cfi_cmdset_0002.c memset((char *)extp + 5, 0, sizeof(*extp) - 5); extp 294 drivers/mtd/chips/cfi_cmdset_0002.c extp->EraseSuspend = 2; extp 299 drivers/mtd/chips/cfi_cmdset_0002.c extp->TopBottom = 3; extp 301 drivers/mtd/chips/cfi_cmdset_0002.c extp->TopBottom = 2; extp 304 drivers/mtd/chips/cfi_cmdset_0002.c extp->TopBottom = 2; extp 306 drivers/mtd/chips/cfi_cmdset_0002.c extp->TopBottom = 3; extp 495 drivers/mtd/chips/cfi_cmdset_0002.c struct cfi_pri_amdstd *extp) extp 498 drivers/mtd/chips/cfi_cmdset_0002.c if ((extp->MajorVersion == '0' && extp->MinorVersion == '0') || extp 499 drivers/mtd/chips/cfi_cmdset_0002.c (extp->MajorVersion == '3' && extp->MinorVersion == '3')) { extp 507 drivers/mtd/chips/cfi_cmdset_0002.c extp->MinorVersion); extp 508 drivers/mtd/chips/cfi_cmdset_0002.c extp->MajorVersion = '1'; extp 516 drivers/mtd/chips/cfi_cmdset_0002.c extp->MajorVersion = '1'; extp 517 drivers/mtd/chips/cfi_cmdset_0002.c extp->MinorVersion = '0'; extp 623 drivers/mtd/chips/cfi_cmdset_0002.c struct cfi_pri_amdstd *extp; extp 625 drivers/mtd/chips/cfi_cmdset_0002.c extp = (struct cfi_pri_amdstd*)cfi_read_pri(map, adr, sizeof(*extp), "Amd/Fujitsu"); extp 626 drivers/mtd/chips/cfi_cmdset_0002.c if (extp) { extp 631 drivers/mtd/chips/cfi_cmdset_0002.c cfi_fixup_major_minor(cfi, extp); extp 640 drivers/mtd/chips/cfi_cmdset_0002.c if (extp->MajorVersion != '1' || extp 641 drivers/mtd/chips/cfi_cmdset_0002.c (extp->MajorVersion == '1' && (extp->MinorVersion < '0' || extp->MinorVersion > '5'))) { extp 644 drivers/mtd/chips/cfi_cmdset_0002.c extp->MajorVersion, extp->MinorVersion, extp 645 drivers/mtd/chips/cfi_cmdset_0002.c extp->MajorVersion, extp->MinorVersion); extp 646 drivers/mtd/chips/cfi_cmdset_0002.c kfree(extp); extp 652 drivers/mtd/chips/cfi_cmdset_0002.c extp->MajorVersion, extp->MinorVersion); extp 655 drivers/mtd/chips/cfi_cmdset_0002.c cfi->cmdset_priv = extp; extp 662 drivers/mtd/chips/cfi_cmdset_0002.c cfi_tell_features(extp); extp 668 drivers/mtd/chips/cfi_cmdset_0002.c && extp->BlkProtUnprot == 8) { extp 676 drivers/mtd/chips/cfi_cmdset_0002.c bootloc = extp->TopBottom; extp 1065 drivers/mtd/chips/cfi_cmdset_0002.c struct cfi_pri_amdstd *extp = cfi->cmdset_priv; extp 1072 drivers/mtd/chips/cfi_cmdset_0002.c if (xip_irqpending() && extp && extp 1073 drivers/mtd/chips/cfi_cmdset_0002.c ((chip->state == FL_ERASING && (extp->EraseSuspend & 2))) && extp 65 drivers/mtd/chips/cfi_cmdset_0020.c static void cfi_tell_features(struct cfi_pri_intelext *extp) extp 68 drivers/mtd/chips/cfi_cmdset_0020.c printk(" Feature/Command Support: %4.4X\n", extp->FeatureSupport); extp 69 drivers/mtd/chips/cfi_cmdset_0020.c printk(" - Chip Erase: %s\n", extp->FeatureSupport&1?"supported":"unsupported"); extp 70 drivers/mtd/chips/cfi_cmdset_0020.c printk(" - Suspend Erase: %s\n", extp->FeatureSupport&2?"supported":"unsupported"); extp 71 drivers/mtd/chips/cfi_cmdset_0020.c printk(" - Suspend Program: %s\n", extp->FeatureSupport&4?"supported":"unsupported"); extp 72 drivers/mtd/chips/cfi_cmdset_0020.c printk(" - Legacy Lock/Unlock: %s\n", extp->FeatureSupport&8?"supported":"unsupported"); extp 73 drivers/mtd/chips/cfi_cmdset_0020.c printk(" - Queued Erase: %s\n", extp->FeatureSupport&16?"supported":"unsupported"); extp 74 drivers/mtd/chips/cfi_cmdset_0020.c printk(" - Instant block lock: %s\n", extp->FeatureSupport&32?"supported":"unsupported"); extp 75 drivers/mtd/chips/cfi_cmdset_0020.c printk(" - Protection Bits: %s\n", extp->FeatureSupport&64?"supported":"unsupported"); extp 76 drivers/mtd/chips/cfi_cmdset_0020.c printk(" - Page-mode read: %s\n", extp->FeatureSupport&128?"supported":"unsupported"); extp 77 drivers/mtd/chips/cfi_cmdset_0020.c printk(" - Synchronous read: %s\n", extp->FeatureSupport&256?"supported":"unsupported"); extp 79 drivers/mtd/chips/cfi_cmdset_0020.c if (extp->FeatureSupport & (1<<i)) extp 83 drivers/mtd/chips/cfi_cmdset_0020.c printk(" Supported functions after Suspend: %2.2X\n", extp->SuspendCmdSupport); extp 84 drivers/mtd/chips/cfi_cmdset_0020.c printk(" - Program after Erase Suspend: %s\n", extp->SuspendCmdSupport&1?"supported":"unsupported"); extp 86 drivers/mtd/chips/cfi_cmdset_0020.c if (extp->SuspendCmdSupport & (1<<i)) extp 90 drivers/mtd/chips/cfi_cmdset_0020.c printk(" Block Status Register Mask: %4.4X\n", extp->BlkStatusRegMask); extp 91 drivers/mtd/chips/cfi_cmdset_0020.c printk(" - Lock Bit Active: %s\n", extp->BlkStatusRegMask&1?"yes":"no"); extp 92 drivers/mtd/chips/cfi_cmdset_0020.c printk(" - Valid Bit Active: %s\n", extp->BlkStatusRegMask&2?"yes":"no"); extp 94 drivers/mtd/chips/cfi_cmdset_0020.c if (extp->BlkStatusRegMask & (1<<i)) extp 99 drivers/mtd/chips/cfi_cmdset_0020.c extp->VccOptimal >> 8, extp->VccOptimal & 0xf); extp 100 drivers/mtd/chips/cfi_cmdset_0020.c if (extp->VppOptimal) extp 102 drivers/mtd/chips/cfi_cmdset_0020.c extp->VppOptimal >> 8, extp->VppOptimal & 0xf); extp 125 drivers/mtd/chips/cfi_cmdset_0020.c struct cfi_pri_intelext *extp; extp 127 drivers/mtd/chips/cfi_cmdset_0020.c extp = (struct cfi_pri_intelext*)cfi_read_pri(map, adr, sizeof(*extp), "ST Microelectronics"); extp 128 drivers/mtd/chips/cfi_cmdset_0020.c if (!extp) extp 131 drivers/mtd/chips/cfi_cmdset_0020.c if (extp->MajorVersion != '1' || extp 132 drivers/mtd/chips/cfi_cmdset_0020.c (extp->MinorVersion < '0' || extp->MinorVersion > '3')) { extp 135 drivers/mtd/chips/cfi_cmdset_0020.c extp->MajorVersion, extp->MinorVersion); extp 136 drivers/mtd/chips/cfi_cmdset_0020.c kfree(extp); extp 141 drivers/mtd/chips/cfi_cmdset_0020.c extp->FeatureSupport = cfi32_to_cpu(map, extp->FeatureSupport); extp 142 drivers/mtd/chips/cfi_cmdset_0020.c extp->BlkStatusRegMask = cfi32_to_cpu(map, extp 143 drivers/mtd/chips/cfi_cmdset_0020.c extp->BlkStatusRegMask); extp 147 drivers/mtd/chips/cfi_cmdset_0020.c cfi_tell_features(extp); extp 151 drivers/mtd/chips/cfi_cmdset_0020.c cfi->cmdset_priv = extp; extp 305 drivers/mtd/chips/cfi_util.c struct cfi_extquery *extp = NULL; extp 312 drivers/mtd/chips/cfi_util.c extp = kmalloc(size, GFP_KERNEL); extp 313 drivers/mtd/chips/cfi_util.c if (!extp) extp 324 drivers/mtd/chips/cfi_util.c ((unsigned char *)extp)[i] = extp 337 drivers/mtd/chips/cfi_util.c out: return extp; extp 366 fs/xfs/xfs_extfree_item.c struct xfs_extent *extp; extp 389 fs/xfs/xfs_extfree_item.c extp = &(efdp->efd_format.efd_extents[next_extent]); extp 390 fs/xfs/xfs_extfree_item.c extp->ext_start = start_block; extp 391 fs/xfs/xfs_extfree_item.c extp->ext_len = ext_len; extp 445 fs/xfs/xfs_extfree_item.c struct xfs_extent *extp; extp 459 fs/xfs/xfs_extfree_item.c extp = &efip->efi_format.efi_extents[next_extent]; extp 460 fs/xfs/xfs_extfree_item.c extp->ext_start = free->xefi_startblock; extp 461 fs/xfs/xfs_extfree_item.c extp->ext_len = free->xefi_blockcount; extp 538 fs/xfs/xfs_extfree_item.c struct xfs_extent *extp; extp 569 fs/xfs/xfs_extfree_item.c extp = &(efdp->efd_format.efd_extents[next_extent]); extp 570 fs/xfs/xfs_extfree_item.c extp->ext_start = free->xefi_startblock; extp 571 fs/xfs/xfs_extfree_item.c extp->ext_len = free->xefi_blockcount; extp 603 fs/xfs/xfs_extfree_item.c xfs_extent_t *extp; extp 614 fs/xfs/xfs_extfree_item.c extp = &efip->efi_format.efi_extents[i]; extp 616 fs/xfs/xfs_extfree_item.c XFS_FSB_TO_DADDR(mp, extp->ext_start)); extp 618 fs/xfs/xfs_extfree_item.c extp->ext_len == 0 || extp 620 fs/xfs/xfs_extfree_item.c extp->ext_len >= mp->m_sb.sb_agblocks) { extp 637 fs/xfs/xfs_extfree_item.c extp = &efip->efi_format.efi_extents[i]; extp 638 fs/xfs/xfs_extfree_item.c error = xfs_trans_free_extent(tp, efdp, extp->ext_start, extp 639 fs/xfs/xfs_extfree_item.c extp->ext_len,