Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/dev/qlnx/qlnxe/
HDecore_hw.c259 u32 bar_addr; in ecore_is_reg_fifo_empty() local
265 bar_addr = ecore_set_ptt(p_hwfn, p_ptt, GRC_REG_TRACE_FIFO_VALID_DATA); in ecore_is_reg_fifo_empty()
266 is_empty = REG_RD(p_hwfn, bar_addr) == 0; in ecore_is_reg_fifo_empty()
281 u32 bar_addr; in ecore_wr() local
285 bar_addr = ecore_set_ptt(p_hwfn, p_ptt, hw_addr); in ecore_wr()
286 REG_WR(p_hwfn, bar_addr, val); in ecore_wr()
289 bar_addr, hw_addr, val); in ecore_wr()
304 u32 bar_addr, val; in ecore_rd() local
308 bar_addr = ecore_set_ptt(p_hwfn, p_ptt, hw_addr); in ecore_rd()
309 val = REG_RD(p_hwfn, bar_addr); in ecore_rd()
[all …]
/freebsd-11-stable/sys/dev/ntb/ntb_hw/
HDntb_hw_intel.c1687 xeon_set_sbar_base_and_limit(struct ntb_softc *ntb, uint64_t bar_addr, in xeon_set_sbar_base_and_limit() argument
1696 bar_addr += ntb->b2b_off; in xeon_set_sbar_base_and_limit()
1698 bar_addr = 0; in xeon_set_sbar_base_and_limit()
1702 intel_ntb_reg_write(4, base_reg, bar_addr); in xeon_set_sbar_base_and_limit()
1706 intel_ntb_reg_write(4, lmt_reg, bar_addr); in xeon_set_sbar_base_and_limit()
1710 intel_ntb_reg_write(8, base_reg, bar_addr); in xeon_set_sbar_base_and_limit()
1714 intel_ntb_reg_write(8, lmt_reg, bar_addr); in xeon_set_sbar_base_and_limit()
1742 uint64_t bar_addr; in xeon_setup_b2b_mw() local
1776 bar_addr = 0; in xeon_setup_b2b_mw()
1778 bar_addr = addr->bar0_addr; in xeon_setup_b2b_mw()
[all …]
/freebsd-11-stable/sys/contrib/alpine-hal/
HDal_hal_pcie.c710 …uint32_t __iomem *bar_addr = &regs->core_space[pf_num].config_header[(AL_PCI_BASE_ADDRESS_0 >> 2) … in al_pcie_port_pf_params_config() local
779 al_reg_write32_dbi_cs2(pcie_port, bar_addr + 1, 0); in al_pcie_port_pf_params_config()
784 al_reg_write32_dbi_cs2(pcie_port, bar_addr , mask); in al_pcie_port_pf_params_config()
792 al_reg_write32(bar_addr, ctrl); in al_pcie_port_pf_params_config()
796 al_reg_write32_dbi_cs2(pcie_port, bar_addr + 1, mask); in al_pcie_port_pf_params_config()
800 al_reg_write32_dbi_cs2(pcie_port, bar_addr , mask); in al_pcie_port_pf_params_config()