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()
293 volatile unsigned int c1; in erase_block() local
306 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in erase_block()
322 c1 = *pWritePtr; in erase_block()
344 c1 = 0; in erase_block()
345 while (!(c1 & 0x80) && time_before(jiffies, timeout)) { in erase_block()
350 c1 = *(volatile unsigned char *) (pWritePtr); in erase_block()
364 if (c1 & 0x20) { in erase_block()
398 volatile unsigned int c1; in write_block() local
431 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in write_block()
458 c1 = 0; in write_block()
468 while (!(c1 & 0x80) && time_before(jiffies, timeout1)) in write_block()
469 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in write_block()
496 if (c1 & 0x10) { in write_block()
534 char c, c1; in write_block() local
538 if ((c1 = *pWritePtr++) != c) { in write_block()
540 pWritePtr - FLASH_BASE, c1, c); in write_block()