Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/char/
Dnwflash.c332 volatile unsigned char *pWritePtr; in erase_block() local
361 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + 0x8000 + (nBlock << 16))); in erase_block()
365 c1 = *pWritePtr; in erase_block()
371 *(volatile unsigned char *) pWritePtr = 0x20; in erase_block()
376 *(volatile unsigned char *) pWritePtr = 0xD0; in erase_block()
393 c1 = *(volatile unsigned char *) (pWritePtr); in erase_block()
402 *(volatile unsigned char *) pWritePtr = 0xFF; //back to normal operation in erase_block()
408 printk(KERN_ERR "flash_erase: err at %p\n", pWritePtr); in erase_block()
422 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + (nBlock << 16))); in erase_block()
424 for (temp = 0; temp < 16 * 1024; temp++, pWritePtr += 4) { in erase_block()
[all …]