Lines Matching refs:r_res1
229 ATA_OUTB(ctlr->r_res1, 0x11, ATA_INB(ctlr->r_res1, 0x11) | 0x0a);
234 ATA_OUTB(ctlr->r_res1, 0x1f, ATA_INB(ctlr->r_res1, 0x1f) | 0x01);
249 if (!(ctlr->r_res1 = bus_alloc_resource_any(dev, ctlr->r_type1,
255 !bus_space_map(rman_get_bustag(ctlr->r_res1),
256 rman_get_bushandle(ctlr->r_res1), rman_get_size(ctlr->r_res1),
363 if (ctlr->r_res1)
364 bus_release_resource(dev, ctlr->r_type1, ctlr->r_rid1, ctlr->r_res1);
395 if (ATA_INL(ctlr->r_res1, 0x1c) & (ch->unit ? 0x00004000 : 0x00000400)) {
408 ATA_OUTB(ctlr->r_res1, 0x11,
409 ATA_INB(ctlr->r_res1, 0x11) | (ch->unit ? 0x08 : 0x02));
410 ATA_OUTL(ctlr->r_res1, ch->unit ? 0x24 : 0x20,
432 ATA_OUTB(ctlr->r_res1, 0x11,
433 ATA_INB(ctlr->r_res1, 0x11) & ~(ch->unit ? 0x08 : 0x02));
434 ATA_OUTL(ctlr->r_res1, ch->unit ? 0x24 : 0x20, 0);
1099 caddr_t window = rman_get_virtual(ctlr->r_res1);