Home
last modified time | relevance | path

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

/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_pcie.c2691 uint32_t msix_reg0; in al_pcie_msix_config() local
2695 msix_reg0 = al_reg_read32(regs->core_space[pf_num].msix_cap_base); in al_pcie_msix_config()
2697 msix_reg0 &= ~(AL_PCI_MSIX_MSGCTRL_TBL_SIZE << AL_PCI_MSIX_MSGCTRL_TBL_SIZE_SHIFT); in al_pcie_msix_config()
2698 msix_reg0 |= ((msix_params->table_size - 1) & AL_PCI_MSIX_MSGCTRL_TBL_SIZE) << in al_pcie_msix_config()
2700 al_reg_write32(regs->core_space[pf_num].msix_cap_base, msix_reg0); in al_pcie_msix_config()
2721 uint32_t msix_reg0 = al_reg_read32(regs->core_space[pcie_pf->pf_num].msix_cap_base); in al_pcie_msix_enabled() local
2723 if (msix_reg0 & AL_PCI_MSIX_MSGCTRL_EN) in al_pcie_msix_enabled()
2733 uint32_t msix_reg0 = al_reg_read32(regs->core_space[pcie_pf->pf_num].msix_cap_base); in al_pcie_msix_masked() local
2735 if (msix_reg0 & AL_PCI_MSIX_MSGCTRL_MASK) in al_pcie_msix_masked()