Home
last modified time | relevance | path

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

/linux/drivers/char/
H A Dnwflash.c295 volatile unsigned char *pWritePtr; in erase_block() local
319 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + 0x8000 + (nBlock << 16))); in erase_block()
323 c1 = *pWritePtr; in erase_block()
329 *(volatile unsigned char *) pWritePtr = 0x20; in erase_block()
334 *(volatile unsigned char *) pWritePtr = 0xD0; in erase_block()
351 c1 = *(volatile unsigned char *) (pWritePtr); in erase_block()
360 *(volatile unsigned char *) pWritePtr = 0xFF; //back to normal operation in erase_block()
366 printk(KERN_ERR "flash_erase: err at %p\n", pWritePtr); in erase_block()
380 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + (nBlock << 16))); in erase_block()
382 for (temp = 0; temp < 16 * 1024; temp++, pWritePtr += 4) { in erase_block()
[all …]