Home
last modified time | relevance | path

Searched refs:PORT_BASE (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/sys/dev/mvs/
H A Dmvs_soc.c147 if (ATA_INL(ctlr->r_mem, PORT_BASE(0) + SATA_PHYCFG_OFS) != 0) in mvs_attach()
346 int offset = PORT_BASE(unit & 0x03); in mvs_alloc_resource()
H A Dmvs.h103 #define PORT_BASE(hc) ((hc) * PORT_SIZE + PORT_OFFSET) macro
H A Dmvs_pci.c400 int offset = HC_BASE(unit >> 2) + PORT_BASE(unit & 0x03); in mvs_alloc_resource()
/freebsd-12.1/contrib/ofed/libcxgb4/
H A Dt4_regs.h55 #define PORT_BASE(idx) (PORT0_BASE + (idx) * PORT_STRIDE) macro
56 #define PORT_REG(idx, reg) (PORT_BASE(idx) + (reg))
/freebsd-12.1/sys/dev/cxgbe/common/
H A Dt4_hw.c10413 port_base_addr = PORT_BASE(idx); in t4_clr_port_stats()
H A Dt4_regs.h100 #define PORT_BASE(idx) (PORT0_BASE + (idx) * PORT_STRIDE) macro
101 #define PORT_REG(idx, reg) (PORT_BASE(idx) + (reg))