Searched refs:cfip (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/mtd/chips/ |
H A D | cfi_probe.c | 340 static void print_cfi_ident(struct cfi_ident *cfip) in print_cfi_ident() argument 343 if (cfip->qry[0] != 'Q' || cfip->qry[1] != 'R' || cfip->qry[2] != 'Y') { in print_cfi_ident() 348 printk("Primary Vendor Command Set: %4.4X (%s)\n", cfip->P_ID, vendorname(cfip->P_ID)); in print_cfi_ident() 349 if (cfip->P_ADR) in print_cfi_ident() 350 printk("Primary Algorithm Table at %4.4X\n", cfip->P_ADR); in print_cfi_ident() 354 printk("Alternative Vendor Command Set: %4.4X (%s)\n", cfip->A_ID, vendorname(cfip->A_ID)); in print_cfi_ident() 355 if (cfip->A_ADR) in print_cfi_ident() 356 printk("Alternate Algorithm Table at %4.4X\n", cfip->A_ADR); in print_cfi_ident() 361 printk("Vcc Minimum: %2d.%d V\n", cfip->VccMin >> 4, cfip->VccMin & 0xf); in print_cfi_ident() 362 printk("Vcc Maximum: %2d.%d V\n", cfip->VccMax >> 4, cfip->VccMax & 0xf); in print_cfi_ident() [all …]
|
H A D | cfi_cmdset_0001.c | 216 struct cfi_pri_intelext *cfip = cfi->cmdset_priv; in fixup_at49bv640dx_lock() local 218 cfip->FeatureSupport |= (1 << 5); in fixup_at49bv640dx_lock() 241 struct cfi_pri_intelext *cfip = cfi->cmdset_priv; in fixup_no_write_suspend() local 243 if (cfip && (cfip->FeatureSupport&4)) { in fixup_no_write_suspend() 244 cfip->FeatureSupport &= ~4; in fixup_no_write_suspend() 326 struct cfi_pri_intelext *cfip = cfi->cmdset_priv; in fixup_unlock_powerup_lock() local 328 if (cfip->FeatureSupport&32) { in fixup_unlock_powerup_lock() 832 struct cfi_pri_intelext *cfip = cfi->cmdset_priv; in chip_ready() local 865 if (!cfip || in chip_ready() 866 !(cfip->FeatureSupport & 2) || in chip_ready() [all …]
|
H A D | cfi_cmdset_0002.c | 879 struct cfi_pri_amdstd *cfip = (struct cfi_pri_amdstd *)cfi->cmdset_priv; in get_chip() local 909 if (!cfip || !(cfip->EraseSuspend & (0x1|0x2)) || in get_chip() 911 (mode == FL_WRITING && (cfip->EraseSuspend & 0x2)))) in get_chip() 952 (!cfip || !(cfip->EraseSuspend&2))) in get_chip()
|