Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/char/
Dnwflash.c294 volatile unsigned char *pWritePtr; in erase_block() local
318 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + 0x8000 + (nBlock << 16))); in erase_block()
322 c1 = *pWritePtr; in erase_block()
328 *(volatile unsigned char *) pWritePtr = 0x20; in erase_block()
333 *(volatile unsigned char *) pWritePtr = 0xD0; in erase_block()
350 c1 = *(volatile unsigned char *) (pWritePtr); in erase_block()
359 *(volatile unsigned char *) pWritePtr = 0xFF; //back to normal operation in erase_block()
365 printk(KERN_ERR "flash_erase: err at %p\n", pWritePtr); in erase_block()
379 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + (nBlock << 16))); in erase_block()
381 for (temp = 0; temp < 16 * 1024; temp++, pWritePtr += 4) { in erase_block()
[all …]