Lines Matching refs:cfip
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()
363 if (cfip->VppMin) { in print_cfi_ident()
364 printk("Vpp Minimum: %2d.%d V\n", cfip->VppMin >> 4, cfip->VppMin & 0xf); in print_cfi_ident()
365 printk("Vpp Maximum: %2d.%d V\n", cfip->VppMax >> 4, cfip->VppMax & 0xf); in print_cfi_ident()
370 printk("Typical byte/word write timeout: %d µs\n", 1<<cfip->WordWriteTimeoutTyp); in print_cfi_ident()
371 …printk("Maximum byte/word write timeout: %d µs\n", (1<<cfip->WordWriteTimeoutMax) * (1<<cfip->Word… in print_cfi_ident()
373 if (cfip->BufWriteTimeoutTyp || cfip->BufWriteTimeoutMax) { in print_cfi_ident()
374 printk("Typical full buffer write timeout: %d µs\n", 1<<cfip->BufWriteTimeoutTyp); in print_cfi_ident()
375 …printk("Maximum full buffer write timeout: %d µs\n", (1<<cfip->BufWriteTimeoutMax) * (1<<cfip->Buf… in print_cfi_ident()
380 printk("Typical block erase timeout: %d ms\n", 1<<cfip->BlockEraseTimeoutTyp); in print_cfi_ident()
381 …printk("Maximum block erase timeout: %d ms\n", (1<<cfip->BlockEraseTimeoutMax) * (1<<cfip->BlockEr… in print_cfi_ident()
382 if (cfip->ChipEraseTimeoutTyp || cfip->ChipEraseTimeoutMax) { in print_cfi_ident()
383 printk("Typical chip erase timeout: %d ms\n", 1<<cfip->ChipEraseTimeoutTyp); in print_cfi_ident()
384 …printk("Maximum chip erase timeout: %d ms\n", (1<<cfip->ChipEraseTimeoutMax) * (1<<cfip->ChipErase… in print_cfi_ident()
389 printk("Device size: 0x%X bytes (%d MiB)\n", 1 << cfip->DevSize, 1<< (cfip->DevSize - 20)); in print_cfi_ident()
390 printk("Flash Device Interface description: 0x%4.4X\n", cfip->InterfaceDesc); in print_cfi_ident()
391 switch(cfip->InterfaceDesc) { in print_cfi_ident()
421 printk("Max. bytes in buffer write: 0x%x\n", 1<< cfip->MaxBufWriteSize); in print_cfi_ident()
422 printk("Number of Erase Block Regions: %d\n", cfip->NumEraseRegions); in print_cfi_ident()