Home
last modified time | relevance | path

Searched refs:FLASH_BASE (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/drivers/char/
Dnwflash.c56 static volatile unsigned char *FLASH_BASE; variable
69 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x90; in get_flash_id()
71 c1 = *(volatile unsigned char *) FLASH_BASE; in get_flash_id()
78 c2 = *(volatile unsigned char *) (FLASH_BASE + 2); in get_flash_id()
80 c2 = *(volatile unsigned char *) (FLASH_BASE + 1); in get_flash_id()
87 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0xFF; in get_flash_id()
136 ret = simple_read_from_buffer(buf, size, ppos, (void *)FLASH_BASE, gbFlashSize); in flash_read()
306 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in erase_block()
312 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x50; in erase_block()
318 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + 0x8000 + (nBlock << 16))); in erase_block()
[all …]