Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/char/
H A Dnwflash.c58 static int gbFlashSize = KFLASH_SIZE; variable
91 gbFlashSize = KFLASH_SIZE4; in get_flash_id()
137 ret = simple_read_from_buffer(buf, size, ppos, (void *)FLASH_BASE, gbFlashSize); in flash_read()
165 if (p >= gbFlashSize) in flash_write()
168 if (count > gbFlashSize - p) in flash_write()
169 count = gbFlashSize - p; in flash_write()
281 ret = no_seek_end_llseek_size(file, offset, orig, gbFlashSize); in flash_llseek()
604 NWFLASH_VERSION, id, gbFlashSize / (1024 * 1024)); in nwflash_init()
/kernel/linux/linux-6.6/drivers/char/
H A Dnwflash.c58 static int gbFlashSize = KFLASH_SIZE; variable
91 gbFlashSize = KFLASH_SIZE4; in get_flash_id()
137 ret = simple_read_from_buffer(buf, size, ppos, (void *)FLASH_BASE, gbFlashSize); in flash_read()
165 if (p >= gbFlashSize) in flash_write()
168 if (count > gbFlashSize - p) in flash_write()
169 count = gbFlashSize - p; in flash_write()
281 ret = no_seek_end_llseek_size(file, offset, orig, gbFlashSize); in flash_llseek()
604 NWFLASH_VERSION, id, gbFlashSize / (1024 * 1024)); in nwflash_init()

Completed in 3 milliseconds