Lines Matching refs:r_res2
230 if (!(ctlr->r_res2 = bus_alloc_resource_any(dev, ctlr->r_type2, in ata_intel_chipinit()
270 ctlr->r_res2 = bus_alloc_resource_any(dev, ctlr->r_type2, in ata_intel_chipinit()
272 if (ctlr->r_res2 != NULL) { in ata_intel_chipinit()
277 ATA_OUTL(ctlr->r_res2, 0x0C, in ata_intel_chipinit()
278 ATA_INL(ctlr->r_res2, 0x0C) | 0xf); in ata_intel_chipinit()
285 ctlr->r_res2 = bus_alloc_resource_any(dev, ctlr->r_type2, in ata_intel_chipinit()
288 if (ctlr->r_res2 != NULL || in ata_intel_chipinit()
325 if (ctlr->r_res2) { in ata_intel_ch_attach()
326 ch->r_io[ATA_IDX_ADDR].res = ctlr->r_res2; in ata_intel_ch_attach()
328 ch->r_io[ATA_IDX_DATA].res = ctlr->r_res2; in ata_intel_ch_attach()
377 } else if (ctlr->r_res2) { in ata_intel_ch_attach()
627 *result = ATA_INL(ctlr->r_res2, offset + reg); in ata_intel_sata_ahci_read()
724 ATA_OUTL(ctlr->r_res2, offset + reg, value); in ata_intel_sata_ahci_write()
832 ch->r_io[i].res = ctlr->r_res2; in ata_intel_31244_ch_attach()
865 ATA_OUTL(ctlr->r_res2, 0x4, in ata_intel_31244_ch_attach()
866 ATA_INL(ctlr->r_res2, 0x04) | (0x01 << (ch->unit << 3))); in ata_intel_31244_ch_attach()