Lines Matching refs:r_res1
227 ATA_OUTB(ctlr->r_res1, 0x11, ATA_INB(ctlr->r_res1, 0x11) | 0x0a);
232 ATA_OUTB(ctlr->r_res1, 0x1f, ATA_INB(ctlr->r_res1, 0x1f) | 0x01);
247 if (!(ctlr->r_res1 = bus_alloc_resource_any(dev, ctlr->r_type1,
253 !bus_space_map(rman_get_bustag(ctlr->r_res1),
254 rman_get_bushandle(ctlr->r_res1), rman_get_size(ctlr->r_res1),
361 if (ctlr->r_res1)
362 bus_release_resource(dev, ctlr->r_type1, ctlr->r_rid1, ctlr->r_res1);
393 if (ATA_INL(ctlr->r_res1, 0x1c) & (ch->unit ? 0x00004000 : 0x00000400)) {
406 ATA_OUTB(ctlr->r_res1, 0x11,
407 ATA_INB(ctlr->r_res1, 0x11) | (ch->unit ? 0x08 : 0x02));
408 ATA_OUTL(ctlr->r_res1, ch->unit ? 0x24 : 0x20,
430 ATA_OUTB(ctlr->r_res1, 0x11,
431 ATA_INB(ctlr->r_res1, 0x11) & ~(ch->unit ? 0x08 : 0x02));
432 ATA_OUTL(ctlr->r_res1, ch->unit ? 0x24 : 0x20, 0);
1097 caddr_t window = rman_get_virtual(ctlr->r_res1);