Searched refs:r_res1 (Results 1 – 6 of 6) sorted by relevance
| /src/sys/dev/ata/chipsets/ |
| H A D | ata-promise.c | 224 ATA_OUTB(ctlr->r_res1, 0x11, ATA_INB(ctlr->r_res1, 0x11) | 0x0a); in ata_promise_chipinit() 229 ATA_OUTB(ctlr->r_res1, 0x1f, ATA_INB(ctlr->r_res1, 0x1f) | 0x01); in ata_promise_chipinit() 244 if (!(ctlr->r_res1 = bus_alloc_resource_any(dev, ctlr->r_type1, in ata_promise_chipinit() 350 if (ctlr->r_res1) in ata_promise_chipinit() 351 bus_release_resource(dev, ctlr->r_type1, ctlr->r_rid1, ctlr->r_res1); in ata_promise_chipinit() 382 if (ATA_INL(ctlr->r_res1, 0x1c) & (ch->unit ? 0x00004000 : 0x00000400)) { in ata_promise_status() 395 ATA_OUTB(ctlr->r_res1, 0x11, in ata_promise_dmastart() 396 ATA_INB(ctlr->r_res1, 0x11) | (ch->unit ? 0x08 : 0x02)); in ata_promise_dmastart() 397 ATA_OUTL(ctlr->r_res1, ch->unit ? 0x24 : 0x20, in ata_promise_dmastart() 419 ATA_OUTB(ctlr->r_res1, 0x11, in ata_promise_dmastop() [all …]
|
| H A D | ata-cyrix.c | 111 if (ctlr->r_res1) { in ata_cyrix_setmode()
|
| H A D | ata-acerlabs.c | 243 if (ctlr->r_res1) { in ata_ali_sata_ch_attach() 245 ch->r_io[i].res = ctlr->r_res1; in ata_ali_sata_ch_attach()
|
| H A D | ata-via.c | 234 ch->r_io[i].res = ctlr->r_res1; in ata_via_ch_attach()
|
| /src/sys/dev/ata/ |
| H A D | ata-pci.c | 109 ctlr->r_res1 = bus_alloc_resource_any(dev, ctlr->r_type1, &ctlr->r_rid1, in ata_pci_attach() 114 if (ctlr->r_res1) in ata_pci_attach() 116 ctlr->r_res1); in ata_pci_attach() 158 if (ctlr->r_res1) { in ata_pci_detach() 159 bus_release_resource(dev, ctlr->r_type1, ctlr->r_rid1, ctlr->r_res1); in ata_pci_detach() 417 if (ctlr->r_res1) { in ata_pci_ch_attach() 419 ch->r_io[i].res = ctlr->r_res1; in ata_pci_ch_attach()
|
| H A D | ata-pci.h | 46 struct resource *r_res1; member
|