Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_netvf_main.c204 u32 bar_off, bar_sz; in nfp_netvf_pci_probe() local
209 bar_off = tx_bar_off; in nfp_netvf_pci_probe()
211 bar_off = rx_bar_off; in nfp_netvf_pci_probe()
214 bar_sz = (tx_bar_off + tx_bar_sz) - bar_off; in nfp_netvf_pci_probe()
216 bar_sz = (rx_bar_off + rx_bar_sz) - bar_off; in nfp_netvf_pci_probe()
218 map_addr = pci_resource_start(pdev, tx_bar_no) + bar_off; in nfp_netvf_pci_probe()
227 nn->tx_bar = vf->q_bar + (tx_bar_off - bar_off); in nfp_netvf_pci_probe()
229 nn->rx_bar = vf->q_bar + (rx_bar_off - bar_off); in nfp_netvf_pci_probe()
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c312 u64 bar_off = (uintptr_t)iwdev->rf->sc_dev.hw_regs[IRDMA_DB_ADDR_OFFSET]; in irdma_alloc_ucontext() local
315 irdma_user_mmap_entry_insert(ucontext, bar_off, in irdma_alloc_ucontext()
485 u64 rsvd, bar_off; in irdma_setup_push_mmap_entries() local
488 bar_off = (uintptr_t)iwdev->rf->sc_dev.hw_regs[IRDMA_DB_ADDR_OFFSET]; in irdma_setup_push_mmap_entries()
490 bar_off += IRDMA_HW_PAGE_SIZE; in irdma_setup_push_mmap_entries()
492 bar_off += rsvd + iwqp->sc_qp.push_idx * IRDMA_HW_PAGE_SIZE; in irdma_setup_push_mmap_entries()
494 bar_off, IRDMA_MMAP_IO_WC, in irdma_setup_push_mmap_entries()
500 bar_off += IRDMA_HW_PAGE_SIZE; in irdma_setup_push_mmap_entries()
502 bar_off, IRDMA_MMAP_IO_NC, in irdma_setup_push_mmap_entries()