Searched refs:bar_off (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_netvf_main.c | 188 u32 bar_off, bar_sz; in nfp_netvf_pci_probe() local 193 bar_off = tx_bar_off; in nfp_netvf_pci_probe() 195 bar_off = rx_bar_off; in nfp_netvf_pci_probe() 198 bar_sz = (tx_bar_off + tx_bar_sz) - bar_off; in nfp_netvf_pci_probe() 200 bar_sz = (rx_bar_off + rx_bar_sz) - bar_off; in nfp_netvf_pci_probe() 202 map_addr = pci_resource_start(pdev, tx_bar_no) + bar_off; in nfp_netvf_pci_probe() 211 nn->tx_bar = vf->q_bar + (tx_bar_off - bar_off); in nfp_netvf_pci_probe() 213 nn->rx_bar = vf->q_bar + (rx_bar_off - bar_off); in nfp_netvf_pci_probe()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_netvf_main.c | 204 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()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | verbs.c | 312 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()
|
Completed in 7 milliseconds