Home
last modified time | relevance | path

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

/f-stack/freebsd/mips/nlm/hal/
H A Diomap.h48 #define XLP_HDR_OFFSET(node, bus, dev, fn) (((bus) << 20) | \ macro
53 #define XLP_IO_CIC0_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 1)
54 #define XLP_IO_CIC1_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 2)
55 #define XLP_IO_CIC2_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 3)
56 #define XLP_IO_PIC_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 4)
72 #define XLP_IO_NAE_OFFSET(node) XLP_HDR_OFFSET(node, 0, 3, 0)
73 #define XLP_IO_POE_OFFSET(node) XLP_HDR_OFFSET(node, 0, 3, 1)
74 #define XLP_IO_SATA_OFFSET(node) XLP_HDR_OFFSET(node, 0, 3, 2)
76 #define XLP_IO_CMS_OFFSET(node) XLP_HDR_OFFSET(node, 0, 4, 0)
78 #define XLP_IO_DMA_OFFSET(node) XLP_HDR_OFFSET(node, 0, 5, 0)
[all …]
/f-stack/freebsd/mips/nlm/
H A Dxlp_pci.c108 devoffset = XLP_HDR_OFFSET(node, 0, s % 8, f); in xlp_pci_attach()
221 cfgaddr = nlm_pcicfg_base(XLP_HDR_OFFSET(0, b, s, f)); in xlp_pcib_read_config()
252 cfgaddr = nlm_pcicfg_base(XLP_HDR_OFFSET(0, b, s, f)); in xlp_pcib_write_config()
H A Dcms.c134 devoffset = XLP_HDR_OFFSET(i, 0, dev, fn); in xlp_cms_credit_setup()