Lines Matching refs:c1
63 volatile unsigned int c1, c2; in get_flash_id() local
72 c1 = *(volatile unsigned char *) FLASH_BASE; in get_flash_id()
78 if (c1 == 0xB0) in get_flash_id()
83 c2 += (c1 << 8); in get_flash_id()
294 volatile unsigned int c1; in erase_block() local
307 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in erase_block()
323 c1 = *pWritePtr; in erase_block()
345 c1 = 0; in erase_block()
346 while (!(c1 & 0x80) && time_before(jiffies, timeout)) { in erase_block()
351 c1 = *(volatile unsigned char *) (pWritePtr); in erase_block()
365 if (c1 & 0x20) { in erase_block()
399 volatile unsigned int c1; in write_block() local
432 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in write_block()
459 c1 = 0; in write_block()
469 while (!(c1 & 0x80) && time_before(jiffies, timeout1)) in write_block()
470 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in write_block()
497 if (c1 & 0x10) { in write_block()
535 char c, c1; in write_block() local
539 if ((c1 = *pWritePtr++) != c) { in write_block()
541 pWritePtr - FLASH_BASE, c1, c); in write_block()