Lines Matching refs:gdrom
1 /* $NetBSD: gdrom.c,v 1.42 2016/03/13 17:59:20 christos Exp $ */
36 __KERNEL_RCSID(0, "$NetBSD: gdrom.c,v 1.42 2016/03/13 17:59:20 christos Exp $");
110 CFATTACH_DECL_NEW(gdrom, sizeof(struct gdrom_softc),
135 #define GDROM(o) (*(volatile uint8_t *)(0xa05f7000U + (o)))
140 #define GDROM_BUSY GDROM(0x18)
141 #define GDROM_DATA (*(volatile uint16_t *)(&GDROM(0x80)))
142 #define GDROM_REGX GDROM(0x84)
143 #define GDROM_STAT GDROM(0x8c)
144 #define GDROM_CNTLO GDROM(0x90)
145 #define GDROM_CNTHI GDROM(0x94)
146 #define GDROM_COND GDROM(0x9c)
193 DPRINTF(("GDROM: cond = %x\n", cond));
195 DPRINTF(("GDROM: inactive IRQ!?\n"));
202 DPRINTF(("GDROM: cnt = %d\n", cnt));
269 tsleep(&sc->cmd_active, PRIBIO, "gdrom", 0);
299 DPRINTF(("GDROM: not ready (2:58)\n"));
304 DPRINTF(("GDROM: no sense. 0:0\n"));
318 DPRINTF(("GDROM: aborted (ignored). 0:0\n"));
322 DPRINTF(("GDROM: SENSE %d:", sense_key));
323 DPRINTF(("GDROM: %d\n", sense_specific));
448 DPRINTF(("GDROM: open\n"));
481 DPRINTF(("GDROM: open OK\n"));
491 DPRINTF(("GDROM: close\n"));
507 DPRINTF(("GDROM: strategy\n"));
517 DPRINTF(("GDROM: read_sectors(%p, %lld, %d) [%d bytes]\n",
581 DPRINTF(("GDROM: ioctl %lx\n", cmd));
608 { /* Dump the GDROM TOC */
612 printf("gdrom: TOC\n");
633 printf("gdrom: Using track %d, LBA %u\n", track,
656 DPRINTF(("GDROM: read\n"));