Lines Matching refs:sram
1 /* $NetBSD: sram.c,v 1.23 2025/01/27 21:20:25 andvar Exp $ */
34 __KERNEL_RCSID(0, "$NetBSD: sram.c,v 1.23 2025/01/27 21:20:25 andvar Exp $");
45 #include <machine/sram.h>
74 CFATTACH_DECL_NEW(sram, sizeof(struct sram_softc),
148 DPRINTF(SRAM_DEBUG_OPEN, ("Sram open\n"));
172 DPRINTF(SRAM_DEBUG_CLOSE, ("Sram close\n"));
194 DPRINTF(SRAM_DEBUG_IOCTL, ("Sram ioctl cmd=%lx\n", cmd));
209 ("Sram ioctl SIOGSRAM address=%p\n", data));
211 ("Sram ioctl SIOGSRAM offset=%x\n", sram_io->offset));
215 (uint8_t *)&sram_io->sram, SRAM_IO_SIZE);
221 ("Sram ioctl SIOPSRAM address=%p\n", data));
223 ("Sram ioctl SIOPSRAM offset=%x\n", sram_io->offset));
228 printf("Sram ioctl SIOPSRAM: skipping actual write\n");
234 sram_io->offset, (uint8_t *)&sram_io->sram,