Home
last modified time | relevance | path

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

/freebsd/sys/dev/mvs/
H A Dmvs_soc.c143 if (ATA_INL(ctlr->r_mem, PORT_BASE(0) + SATA_PHYCFG_OFS) != 0) in mvs_attach()
343 int offset = PORT_BASE(unit & 0x03); in mvs_alloc_resource()
H A Dmvs.h101 #define PORT_BASE(hc) ((hc) * PORT_SIZE + PORT_OFFSET) macro
H A Dmvs_pci.c399 int offset = HC_BASE(unit >> 2) + PORT_BASE(unit & 0x03); in mvs_alloc_resource()
/freebsd/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/sys/dev/cxgbe/common/
H A Dt4_hw.c10944 port_base_addr = PORT_BASE(idx); in t4_clr_port_stats()
H A Dt4_regs.h98 #define PORT_BASE(idx) (PORT0_BASE + (idx) * PORT_STRIDE) macro
99 #define PORT_REG(idx, reg) (PORT_BASE(idx) + (reg))