Lines Matching refs:FLASH_BASE
58 static volatile unsigned char *FLASH_BASE;
71 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x90;
73 c1 = *(volatile unsigned char *) FLASH_BASE;
80 c2 = *(volatile unsigned char *) (FLASH_BASE + 2);
82 c2 = *(volatile unsigned char *) (FLASH_BASE + 1);
89 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0xFF;
138 ret = simple_read_from_buffer(buf, size, ppos, (void *)FLASH_BASE, gbFlashSize);
350 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000);
356 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x50;
362 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + 0x8000 + (nBlock << 16)));
402 // *(volatile unsigned char*)(FLASH_BASE+0x8000) = 0xFF;
414 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x50;
423 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + (nBlock << 16)));
456 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + p));
481 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000);
506 *(volatile unsigned char *) (FLASH_BASE + 0x10000) = 0x70;
519 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000);
529 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x50;
540 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0xFF;
551 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x50;
559 pWritePtr - FLASH_BASE);
577 pWritePtr - FLASH_BASE);
595 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + p));
604 pWritePtr - FLASH_BASE, c1, c);
654 FLASH_BASE = ioremap(DC21285_FLASH, KFLASH_SIZE4);
655 if (!FLASH_BASE)
661 iounmap((void *)FLASH_BASE);
671 iounmap((void *)FLASH_BASE);
681 iounmap((void *)FLASH_BASE);