Home
last modified time | relevance | path

Searched refs:bar_base (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dqplib_rcfw.c737 mbox->reg.bar_base = pci_resource_start(pdev, mbox->reg.bar_id); in bnxt_qplib_map_cmdq_mbox()
738 if (!mbox->reg.bar_base) { in bnxt_qplib_map_cmdq_mbox()
745 bar_reg = mbox->reg.bar_base + RCFW_COMM_BASE_OFFSET; in bnxt_qplib_map_cmdq_mbox()
772 creq_db->reg.bar_base = pci_resource_start(pdev, creq_db->reg.bar_id); in bnxt_qplib_map_creq_db()
778 bar_reg = creq_db->reg.bar_base + reg_offt; in bnxt_qplib_map_creq_db()
H A Dqplib_res.h117 resource_size_t bar_base; member
H A Dqplib_fp.c497 nq_db->reg.bar_base = pci_resource_start(pdev, nq_db->reg.bar_id); in bnxt_qplib_map_nq_db()
498 if (!nq_db->reg.bar_base) { in bnxt_qplib_map_nq_db()
505 reg_base = nq_db->reg.bar_base + reg_offt; in bnxt_qplib_map_nq_db()
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.c738 umaddr = reg->bar_base + reg->offset + bit_num * PAGE_SIZE; in bnxt_qplib_alloc_dpi()
744 dpi->umdbr = dpit->ucreg.bar_base + in bnxt_qplib_alloc_dpi()
925 reg->bar_base = 0; in bnxt_qplib_unmap_db_bar()
937 wcreg->bar_base = pci_resource_start(res->pdev, wcreg->bar_id); in bnxt_qplib_map_db_bar()
941 ucreg->bar_base = pci_resource_start(res->pdev, ucreg->bar_id); in bnxt_qplib_map_db_bar()
948 ucreg->bar_reg = ioremap(ucreg->bar_base, ucreg->len); in bnxt_qplib_map_db_bar()
H A Dqplib_rcfw.c1083 mbox->reg.bar_base = pci_resource_start(pdev, mbox->reg.bar_id); in bnxt_qplib_map_cmdq_mbox()
1084 if (!mbox->reg.bar_base) { in bnxt_qplib_map_cmdq_mbox()
1091 bar_reg = mbox->reg.bar_base + RCFW_COMM_BASE_OFFSET; in bnxt_qplib_map_cmdq_mbox()
1117 creq_db->reg.bar_base = pci_resource_start(pdev, creq_db->reg.bar_id); in bnxt_qplib_map_creq_db()
1123 bar_reg = creq_db->reg.bar_base + reg_offt; in bnxt_qplib_map_creq_db()
H A Dqplib_res.h128 resource_size_t bar_base; member
H A Dqplib_fp.c509 nq_db->reg.bar_base = pci_resource_start(pdev, nq_db->reg.bar_id); in bnxt_qplib_map_nq_db()
510 if (!nq_db->reg.bar_base) { in bnxt_qplib_map_nq_db()
516 reg_base = nq_db->reg.bar_base + reg_offt; in bnxt_qplib_map_nq_db()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp6000_pcie.c197 u32 *bar_config, u64 *bar_base, in compute_bar()
260 if (bar_base) in compute_bar()
261 *bar_base = offset; in compute_bar()
196 compute_bar(const struct nfp6000_pcie *nfp, const struct nfp_bar *bar, u32 *bar_config, u64 *bar_base, int tgt, int act, int tok, u64 offset, size_t size, int width) compute_bar() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp6000_pcie.c195 u32 *bar_config, u64 *bar_base, in compute_bar()
258 if (bar_base) in compute_bar()
259 *bar_base = offset; in compute_bar()
194 compute_bar(const struct nfp6000_pcie *nfp, const struct nfp_bar *bar, u32 *bar_config, u64 *bar_base, int tgt, int act, int tok, u64 offset, size_t size, int width) compute_bar() argument
/kernel/linux/linux-5.10/drivers/rapidio/devices/
H A Dtsi721.c860 u64 bar_base; in tsi721_obw_alloc() local
868 bar_base = pbar->base; in tsi721_obw_alloc()
869 bar_end = bar_base + pbar->size; in tsi721_obw_alloc()
870 win_base = bar_base; in tsi721_obw_alloc()
889 if (win->base >= bar_base && win->base < bar_end) { in tsi721_obw_alloc()
/kernel/linux/linux-6.6/drivers/rapidio/devices/
H A Dtsi721.c860 u64 bar_base; in tsi721_obw_alloc() local
868 bar_base = pbar->base; in tsi721_obw_alloc()
869 bar_end = bar_base + pbar->size; in tsi721_obw_alloc()
870 win_base = bar_base; in tsi721_obw_alloc()
889 if (win->base >= bar_base && win->base < bar_end) { in tsi721_obw_alloc()

Completed in 23 milliseconds