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

/netbsd-current/sys/dev/nor/
H A Dnor.c165 chip->nc_page_cache = kmem_alloc(chip->nc_page_size, KM_SLEEP);
194 kmem_free(chip->nc_page_cache, chip->nc_page_size);
253 kmem_free(chip->nc_page_cache, chip->nc_page_size);
628 error = nor_read_page(self, addr, chip->nc_page_cache);
633 memcpy(chip->nc_page_cache + firstoff, buf, len);
635 error = nor_program_page(self, addr, chip->nc_page_cache);
659 error = nor_read_page(self, addr, chip->nc_page_cache);
664 memcpy(chip->nc_page_cache + firstoff,
669 chip->nc_page_cache);
679 error = nor_read_page(self, addr, chip->nc_page_cache);
[all...]
H A Dnor.h62 uint8_t *nc_page_cache; /* buffer for page cache */ member in struct:nor_chip
/netbsd-current/sys/dev/nand/
H A Dnand.c155 chip->nc_page_cache = kmem_alloc(chip->nc_page_size, KM_SLEEP);
181 kmem_free(chip->nc_page_cache, chip->nc_page_size);
252 kmem_free(chip->nc_page_cache, chip->nc_page_size);
1102 error = nand_read_page(self, addr, chip->nc_page_cache);
1107 memcpy(chip->nc_page_cache + firstoff, buf, len);
1109 error = nand_program_page(self, addr, chip->nc_page_cache);
1132 addr, chip->nc_page_cache);
1137 memcpy(chip->nc_page_cache + firstoff,
1142 addr, chip->nc_page_cache);
1153 addr, chip->nc_page_cache);
[all...]
H A Dnand_bbt.c121 uint8_t *bbtp, *buf = chip->nc_page_cache;
H A Dnand.h116 uint8_t *nc_page_cache; /* buffer for page cache */ member in struct:nand_chip

Completed in 176 milliseconds