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

/linux-4.4.14/drivers/char/
H A Dnwflash.c57 static int gbFlashSize = KFLASH_SIZE; variable
90 gbFlashSize = KFLASH_SIZE4; get_flash_id()
136 ret = simple_read_from_buffer(buf, size, ppos, (void *)FLASH_BASE, gbFlashSize); flash_read()
164 if (p >= gbFlashSize) flash_write()
167 if (count > gbFlashSize - p) flash_write()
168 count = gbFlashSize - p; flash_write()
287 if ((unsigned int) offset > gbFlashSize) { flash_llseek()
296 if ((file->f_pos + offset) > gbFlashSize) { flash_llseek()
632 NWFLASH_VERSION, id, gbFlashSize / (1024 * 1024)); nwflash_init()

Completed in 76 milliseconds