Home
last modified time | relevance | path

Searched refs:nae_pcibase (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/mips/nlm/
H A Dboard.c381 uint64_t cpldbase, nae_pcibase; in nlm_setup_xlp_board() local
407 nae_pcibase = nlm_get_nae_pcibase(node); in nlm_setup_xlp_board()
425 naep->nblocks = nae_num_complex(nae_pcibase); in nlm_setup_xlp_board()
/f-stack/freebsd/mips/nlm/hal/
H A Dnae.h546 nae_num_complex(uint64_t nae_pcibase) in nae_num_complex() argument
548 return (nlm_read_reg(nae_pcibase, XLP_PCI_DEVINFO_REG0) & 0xff); in nae_num_complex()
552 nae_num_context(uint64_t nae_pcibase) in nae_num_context() argument
554 return (nlm_read_reg(nae_pcibase, XLP_PCI_DEVINFO_REG5)); in nae_num_context()
/f-stack/freebsd/mips/nlm/dev/net/
H A Dxlpge.c553 uint64_t poe_pcibase, nae_pcibase; in nlm_xlpnae_attach() local
580 nae_pcibase = nlm_get_nae_pcibase(sc->node); in nlm_xlpnae_attach()
581 sc->ncontexts = nlm_read_reg(nae_pcibase, XLP_PCI_DEVINFO_REG5); in nlm_xlpnae_attach()
582 sc->nucores = nlm_num_uengines(nae_pcibase); in nlm_xlpnae_attach()
607 txq_base = nlm_qidstart(nae_pcibase); in nlm_xlpnae_attach()
642 qstart = nlm_qidstart(nae_pcibase); in nlm_xlpnae_attach()
643 qnum = nlm_qnum(nae_pcibase); in nlm_xlpnae_attach()
H A Dnae.c172 uint64_t nae_pcibase; in nlm_reset_nae() local
179 nae_pcibase = nlm_get_nae_pcibase(node); in nlm_reset_nae()
181 bar0 = nlm_read_pci_reg(nae_pcibase, XLP_PCI_CFGREG4); in nlm_reset_nae()
206 nlm_write_pci_reg(nae_pcibase, XLP_PCI_CFGREG4, bar0); in nlm_reset_nae()