Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/char/
Dnwflash.c57 static volatile unsigned char *FLASH_BASE; variable
70 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x90; in get_flash_id()
72 c1 = *(volatile unsigned char *) FLASH_BASE; in get_flash_id()
79 c2 = *(volatile unsigned char *) (FLASH_BASE + 2); in get_flash_id()
81 c2 = *(volatile unsigned char *) (FLASH_BASE + 1); in get_flash_id()
88 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0xFF; in get_flash_id()
137 ret = simple_read_from_buffer(buf, size, ppos, (void *)FLASH_BASE, gbFlashSize); in flash_read()
307 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in erase_block()
313 *(volatile unsigned char *) (FLASH_BASE + 0x8000) = 0x50; in erase_block()
319 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + 0x8000 + (nBlock << 16))); in erase_block()
[all …]