Home
last modified time | relevance | path

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

/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_pcie.c635 int bar_idx; in al_pcie_port_pf_params_config() local
668 for (bar_idx = 0; bar_idx < 6;){ /* bar_idx will be incremented depending on bar type */ in al_pcie_port_pf_params_config()
669 const struct al_pcie_ep_bar_params *params = pf_params->bar_params + bar_idx; in al_pcie_port_pf_params_config()
672 …_iomem *bar_addr = &regs->core_space[pf_num].config_header[(AL_PCI_BASE_ADDRESS_0 >> 2) + bar_idx]; in al_pcie_port_pf_params_config()
680 if (bar_idx & 1) { in al_pcie_port_pf_params_config()
709 pcie_port->port_id, bar_idx, in al_pcie_port_pf_params_config()
723 pcie_port->port_id, bar_idx, in al_pcie_port_pf_params_config()
734 pcie_port->port_id, bar_idx, (uintmax_t)size); in al_pcie_port_pf_params_config()
767 bar_idx += 2; in al_pcie_port_pf_params_config()
769 bar_idx += 1; in al_pcie_port_pf_params_config()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dmain.c158 u32 readl_fbsd(struct bnxt_softc *bp, u32 reg_off, u8 bar_idx) in readl_fbsd() argument
161 if (bar_idx) in readl_fbsd()
167 void writel_fbsd(struct bnxt_softc *bp, u32 reg_off, u8 bar_idx, u32 val) in writel_fbsd() argument
169 if (bar_idx) in writel_fbsd()
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dif_bnxt.c281 u32 readl_fbsd(struct bnxt_softc *bp, u32 reg_off, u8 bar_idx) in readl_fbsd() argument
284 if (!bar_idx) in readl_fbsd()
290 void writel_fbsd(struct bnxt_softc *bp, u32 reg_off, u8 bar_idx, u32 val) in writel_fbsd() argument
293 if (!bar_idx) in writel_fbsd()