Searched refs:db_bar_size (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/qlogic/qed/ |
D | qed_dev.c | 2782 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()
|
/drivers/nvme/host/ |
D | pci.c | 1782 static unsigned long db_bar_size(struct nvme_dev *dev, unsigned nr_io_queues) in db_bar_size() function 1814 result = nvme_remap_bar(dev, db_bar_size(dev, 0)); in nvme_pci_configure_admin_queue() 2391 size = db_bar_size(dev, nr_io_queues); in nvme_setup_io_queues()
|