Home
last modified time | relevance | path

Searched refs:db_bar (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/efa/
Defa_main.c193 u8 db_bar_idx = dev->dev_attr.db_bar; in efa_request_doorbell_bar()
196 int db_bar; in efa_request_doorbell_bar() local
199 db_bar = BIT(db_bar_idx); in efa_request_doorbell_bar()
200 if (!(db_bar & EFA_BASE_BAR_MASK)) { in efa_request_doorbell_bar()
202 if (db_bar & ~pci_mem_bars) { in efa_request_doorbell_bar()
205 db_bar, pci_mem_bars); in efa_request_doorbell_bar()
209 err = pci_request_selected_regions(pdev, db_bar, DRV_MODULE_NAME); in efa_request_doorbell_bar()
226 if (!(BIT(dev->dev_attr.db_bar) & EFA_BASE_BAR_MASK)) in efa_release_doorbell_bar()
227 efa_release_bars(dev, BIT(dev->dev_attr.db_bar)); in efa_release_doorbell_bar()
421 dev_dbg(&dev->pdev->dev, "Doorbells bar (%d)\n", dev->dev_attr.db_bar); in efa_ib_device_add()
Defa_com_cmd.h144 u8 db_bar; member
Defa_admin_cmds_defs.h652 u16 db_bar; member
Defa_com_cmd.c465 result->db_bar = resp.u.device_attr.db_bar; in efa_com_get_device_attr()
/linux-6.12.1/drivers/net/ethernet/google/gve/
Dgve_main.c2551 __be32 __iomem *db_bar; in gve_probe() local
2579 db_bar = pci_iomap(pdev, GVE_DOORBELL_BAR, 0); in gve_probe()
2580 if (!db_bar) { in gve_probe()
2626 priv->db_bar2 = db_bar; in gve_probe()
2669 pci_iounmap(pdev, db_bar); in gve_probe()
2686 __be32 __iomem *db_bar = priv->db_bar2; in gve_remove() local
2693 pci_iounmap(pdev, db_bar); in gve_remove()
/linux-6.12.1/drivers/net/ethernet/emulex/benet/
Dbe_main.c5543 static int db_bar(struct be_adapter *adapter) in db_bar() function
5556 db_bar(adapter)); in be_roce_map_pci_bars()
5558 db_bar(adapter)); in be_roce_map_pci_bars()
5580 addr = pci_iomap(pdev, db_bar(adapter), 0); in be_map_pci_bars()