Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/char/
H A 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 in erase_block()
[all...]
/kernel/linux/linux-6.6/drivers/char/
H A 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 in erase_block()
[all...]
/kernel/linux/linux-5.10/drivers/atm/
H A Dambassador.h242 #define FLASH_BASE 0xa0c00000 macro
244 #define BIA_BASE (FLASH_BASE+0x0001c000) /* Flash Sector 7 */

Completed in 3 milliseconds