/freebsd/sys/dev/mthca/ |
H A D | mthca_catas.c | 158 ((pci_resource_len(dev->pdev, 0) - 1) & in mthca_start_catas_poll()
|
H A D | mthca_eq.c | 665 if (mthca_map_reg(dev, (pci_resource_len(dev->pdev, 0) - 1) & in mthca_map_eq_regs() 677 if (mthca_map_reg(dev, ((pci_resource_len(dev->pdev, 0) - 1) & in mthca_map_eq_regs() 685 if (mthca_map_reg(dev, (pci_resource_len(dev->pdev, 0) - 1) & in mthca_map_eq_regs()
|
H A D | mthca_main.c | 189 if (dev_lim->uar_size > pci_resource_len(mdev->pdev, 2)) { in mthca_dev_lim() 193 (unsigned long long)pci_resource_len(mdev->pdev, 2)); in mthca_dev_lim() 921 pci_resource_len(pdev, 0) != 1 << 20) { in __mthca_init_one()
|
H A D | mthca_mr.c | 872 ((pci_resource_len(dev->pdev, 4) - 1) & in mthca_init_mr_table() 885 ((pci_resource_len(dev->pdev, 4) - 1) & in mthca_init_mr_table()
|
H A D | mthca_cmd.c | 767 ((pci_resource_len(dev->pdev, 2) - 1) & base); in mthca_setup_cmd_doorbells()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_aperture.c | 372 size = pci_resource_len(pdev, bar); in aperture_remove_conflicting_pci_devices()
|
H A D | linux_pci.c | 1074 pci_resource_len(struct pci_dev *pdev, int bar) in pci_resource_len() function
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_pd.c | 154 offset = uar->index % ((int)pci_resource_len(dev->persist->pdev, in mlx4_uar_alloc()
|
H A D | mlx4_main.c | 368 if (dev_cap->uar_size > pci_resource_len(dev->persist->pdev, 2)) { in mlx4_dev_cap() 372 pci_resource_len(dev->persist->pdev, 2)); in mlx4_dev_cap() 950 pci_resource_len(dev->persist->pdev, in mlx4_slave_cap() 955 pci_resource_len(dev->persist->pdev, 2)); in mlx4_slave_cap() 1813 bf_len = pci_resource_len(dev->persist->pdev, 2) - in map_bf_area()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | pci.c | 571 ab->mem_len = pci_resource_len(pdev, ATH11K_PCI_BAR_NUM); in ath11k_pci_claim()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | mmio.c | 727 pci_resource_len(pci_dev, 0)); in mt7915_mmio_wed_init()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | pci.c | 765 ab->mem_len = pci_resource_len(pdev, ATH12K_PCI_BAR_NUM); in ath12k_pci_claim()
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | qplib_res.c | 969 bar_len = pci_resource_len(res->pdev, reg->bar_id); in bnxt_qplib_alloc_dpi_tbl()
|
H A D | main.c | 1426 barlen = pci_resource_len(res->pdev, RCFW_DBR_PCI_BAR_REGION); in bnxt_re_set_db_offset()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | pci.h | 577 unsigned long pci_resource_len(struct pci_dev *pdev, int bar);
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt_hwrm.c | 1254 if (!softc->db_size || softc->db_size > pci_resource_len(softc->pdev, 2) || in bnxt_hwrm_func_qcfg() 1256 softc->db_size = pci_resource_len(softc->pdev, 2); in bnxt_hwrm_func_qcfg()
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | pci.c | 1283 len = pci_resource_len(pdev, bar_id); in rtw_pci_io_mapping()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | pci.c | 3505 ar_pci->mem_len = pci_resource_len(pdev, BAR_NUM); in ath10k_pci_claim()
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | pci.c | 3152 resource_len = pci_resource_len(pdev, bar_id); in rtw89_pci_alloc_rx_ring()
|