Lines Matching refs:c1
62 volatile unsigned int c1, c2; in get_flash_id() local
71 c1 = *(volatile unsigned char *) FLASH_BASE; in get_flash_id()
77 if (c1 == 0xB0) in get_flash_id()
82 c2 += (c1 << 8); in get_flash_id()
322 volatile unsigned int c1; in erase_block() local
335 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in erase_block()
351 c1 = *pWritePtr; in erase_block()
373 c1 = 0; in erase_block()
374 while (!(c1 & 0x80) && time_before(jiffies, timeout)) { in erase_block()
379 c1 = *(volatile unsigned char *) (pWritePtr); in erase_block()
393 if (c1 & 0x20) { in erase_block()
427 volatile unsigned int c1; in write_block() local
460 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in write_block()
487 c1 = 0; in write_block()
497 while (!(c1 & 0x80) && time_before(jiffies, timeout1)) in write_block()
498 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in write_block()
525 if (c1 & 0x10) { in write_block()
563 char c, c1; in write_block() local
567 if ((c1 = *pWritePtr++) != c) { in write_block()
569 pWritePtr - FLASH_BASE, c1, c); in write_block()