Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev.c2782 u32 db_bar_size, n_cpus = 1; in qed_hw_init_pf_doorbell_bar() local
2788 db_bar_size = qed_hw_bar_size(p_hwfn, p_ptt, BAR_ID_1); in qed_hw_init_pf_doorbell_bar()
2790 db_bar_size /= 2; in qed_hw_init_pf_doorbell_bar()
2800 pwm_regsize = db_bar_size - norm_regsize; in qed_hw_init_pf_doorbell_bar()
2803 if (db_bar_size < norm_regsize) { in qed_hw_init_pf_doorbell_bar()
2806 db_bar_size, norm_regsize); in qed_hw_init_pf_doorbell_bar()
2814 QED_MIN_PWM_REGION, db_bar_size, norm_regsize); in qed_hw_init_pf_doorbell_bar()
/linux/drivers/nvme/host/
H A Dpci.c1827 static unsigned long db_bar_size(struct nvme_dev *dev, unsigned nr_io_queues) in db_bar_size() function
1859 result = nvme_remap_bar(dev, db_bar_size(dev, 0)); in nvme_pci_configure_admin_queue()
2494 size = db_bar_size(dev, nr_io_queues); in nvme_setup_io_queues()