Lines Matching defs:FLASH_BASE
57 static volatile unsigned char *FLASH_BASE;
70 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x90;
72 c1 = *(volatile unsigned char *) FLASH_BASE;
79 c2 = *(volatile unsigned char *) (FLASH_BASE + 2);
81 c2 = *(volatile unsigned char *) (FLASH_BASE + 1);
88 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0xFF;
137 ret = simple_read_from_buffer(buf, size, ppos, (void *)FLASH_BASE, gbFlashSize);
307 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000);
313 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x50;
319 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + 0x8000 + (nBlock << 16)));
359 // *(volatile unsigned char*)(FLASH_BASE+0x8000) = 0xFF;
371 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x50;
380 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + (nBlock << 16)));
407 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + p));
432 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000);
457 *(volatile unsigned char *) (FLASH_BASE + 0x10000) = 0x70;
470 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000);
480 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x50;
491 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0xFF;
502 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x50;
510 pWritePtr - FLASH_BASE);
520 pWritePtr - FLASH_BASE);
532 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + p));
541 pWritePtr - FLASH_BASE, c1, c);
591 FLASH_BASE = ioremap(DC21285_FLASH, KFLASH_SIZE4);
592 if (!FLASH_BASE)
598 iounmap((void *)FLASH_BASE);
608 iounmap((void *)FLASH_BASE);
618 iounmap((void *)FLASH_BASE);