Lines Matching refs:cfip

339 static void print_cfi_ident(struct cfi_ident *cfip)  in print_cfi_ident()  argument
342 if (cfip->qry[0] != 'Q' || cfip->qry[1] != 'R' || cfip->qry[2] != 'Y') { in print_cfi_ident()
347 printk("Primary Vendor Command Set: %4.4X (%s)\n", cfip->P_ID, vendorname(cfip->P_ID)); in print_cfi_ident()
348 if (cfip->P_ADR) in print_cfi_ident()
349 printk("Primary Algorithm Table at %4.4X\n", cfip->P_ADR); in print_cfi_ident()
353 printk("Alternative Vendor Command Set: %4.4X (%s)\n", cfip->A_ID, vendorname(cfip->A_ID)); in print_cfi_ident()
354 if (cfip->A_ADR) in print_cfi_ident()
355 printk("Alternate Algorithm Table at %4.4X\n", cfip->A_ADR); in print_cfi_ident()
360 printk("Vcc Minimum: %2d.%d V\n", cfip->VccMin >> 4, cfip->VccMin & 0xf); in print_cfi_ident()
361 printk("Vcc Maximum: %2d.%d V\n", cfip->VccMax >> 4, cfip->VccMax & 0xf); in print_cfi_ident()
362 if (cfip->VppMin) { in print_cfi_ident()
363 printk("Vpp Minimum: %2d.%d V\n", cfip->VppMin >> 4, cfip->VppMin & 0xf); in print_cfi_ident()
364 printk("Vpp Maximum: %2d.%d V\n", cfip->VppMax >> 4, cfip->VppMax & 0xf); in print_cfi_ident()
369 printk("Typical byte/word write timeout: %d µs\n", 1<<cfip->WordWriteTimeoutTyp); in print_cfi_ident()
370 …printk("Maximum byte/word write timeout: %d µs\n", (1<<cfip->WordWriteTimeoutMax) * (1<<cfip->Word… in print_cfi_ident()
372 if (cfip->BufWriteTimeoutTyp || cfip->BufWriteTimeoutMax) { in print_cfi_ident()
373 printk("Typical full buffer write timeout: %d µs\n", 1<<cfip->BufWriteTimeoutTyp); in print_cfi_ident()
374 …printk("Maximum full buffer write timeout: %d µs\n", (1<<cfip->BufWriteTimeoutMax) * (1<<cfip->Buf… in print_cfi_ident()
379 printk("Typical block erase timeout: %d ms\n", 1<<cfip->BlockEraseTimeoutTyp); in print_cfi_ident()
380 …printk("Maximum block erase timeout: %d ms\n", (1<<cfip->BlockEraseTimeoutMax) * (1<<cfip->BlockEr… in print_cfi_ident()
381 if (cfip->ChipEraseTimeoutTyp || cfip->ChipEraseTimeoutMax) { in print_cfi_ident()
382 printk("Typical chip erase timeout: %d ms\n", 1<<cfip->ChipEraseTimeoutTyp); in print_cfi_ident()
383 …printk("Maximum chip erase timeout: %d ms\n", (1<<cfip->ChipEraseTimeoutMax) * (1<<cfip->ChipErase… in print_cfi_ident()
388 printk("Device size: 0x%X bytes (%d MiB)\n", 1 << cfip->DevSize, 1<< (cfip->DevSize - 20)); in print_cfi_ident()
389 printk("Flash Device Interface description: 0x%4.4X\n", cfip->InterfaceDesc); in print_cfi_ident()
390 switch(cfip->InterfaceDesc) { in print_cfi_ident()
420 printk("Max. bytes in buffer write: 0x%x\n", 1<< cfip->MaxBufWriteSize); in print_cfi_ident()
421 printk("Number of Erase Block Regions: %d\n", cfip->NumEraseRegions); in print_cfi_ident()