Home
last modified time | relevance | path

Searched refs:XLP_HDR_OFFSET (Results 1 – 3 of 3) sorted by relevance

/freebsd-11-stable/sys/mips/nlm/hal/
HDiomap.h46 #define XLP_HDR_OFFSET(node, bus, dev, fn) (((bus) << 20) | \ macro
49 #define XLP_IO_BRIDGE_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 0)
51 #define XLP_IO_CIC0_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 1)
52 #define XLP_IO_CIC1_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 2)
53 #define XLP_IO_CIC2_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 3)
54 #define XLP_IO_PIC_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 4)
56 #define XLP_IO_PCIE_OFFSET(node, i) XLP_HDR_OFFSET(node, 0, 1, i)
57 #define XLP_IO_PCIE0_OFFSET(node) XLP_HDR_OFFSET(node, 0, 1, 0)
58 #define XLP_IO_PCIE1_OFFSET(node) XLP_HDR_OFFSET(node, 0, 1, 1)
59 #define XLP_IO_PCIE2_OFFSET(node) XLP_HDR_OFFSET(node, 0, 1, 2)
[all …]
/freebsd-11-stable/sys/mips/nlm/
HDxlp_pci.c105 devoffset = XLP_HDR_OFFSET(node, 0, s % 8, f); in xlp_pci_attach()
218 cfgaddr = nlm_pcicfg_base(XLP_HDR_OFFSET(0, b, s, f)); in xlp_pcib_read_config()
249 cfgaddr = nlm_pcicfg_base(XLP_HDR_OFFSET(0, b, s, f)); in xlp_pcib_write_config()
HDcms.c132 devoffset = XLP_HDR_OFFSET(i, 0, dev, fn); in xlp_cms_credit_setup()