Home
last modified time | relevance | path

Searched refs:HC_BASE (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/mvs/
H A Dmvs_pci.c232 ATA_OUTL(ctlr->r_mem, HC_BASE(i) + HC_ICT, cccc); in mvs_ctlr_setup()
233 ATA_OUTL(ctlr->r_mem, HC_BASE(i) + HC_ITT, ccc); in mvs_ctlr_setup()
237 ATA_OUTL(ctlr->r_mem, HC_BASE(i) + HC_IC, 0x00000000); in mvs_ctlr_setup()
371 ATA_OUTL(ctlr->r_mem, HC_BASE(p == 4) + HC_IC, ~aic); in mvs_intr()
399 int offset = HC_BASE(unit >> 2) + PORT_BASE(unit & 0x03); in mvs_alloc_resource()
H A Dmvs.h78 #define HC_BASE(hc) ((hc) * HC_SIZE + HC_OFFSET) macro