Searched refs:reg_bar (Results 1 – 7 of 7) sorted by relevance
/drivers/infiniband/hw/efa/ |
D | efa_com.c | 88 writel(mmio_read_reg, edev->reg_bar + EFA_REGS_MMIO_REG_READ_OFF); in efa_com_reg_read32() 141 sq->db_addr = (u32 __iomem *)(edev->reg_bar + EFA_REGS_AQ_PROD_DB_OFF); in efa_com_admin_init_sq() 146 writel(addr_low, edev->reg_bar + EFA_REGS_AQ_BASE_LO_OFF); in efa_com_admin_init_sq() 147 writel(addr_high, edev->reg_bar + EFA_REGS_AQ_BASE_HI_OFF); in efa_com_admin_init_sq() 153 writel(aq_caps, edev->reg_bar + EFA_REGS_AQ_CAPS_OFF); in efa_com_admin_init_sq() 180 writel(addr_low, edev->reg_bar + EFA_REGS_ACQ_BASE_LO_OFF); in efa_com_admin_init_cq() 181 writel(addr_high, edev->reg_bar + EFA_REGS_ACQ_BASE_HI_OFF); in efa_com_admin_init_cq() 189 writel(acq_caps, edev->reg_bar + EFA_REGS_ACQ_CAPS_OFF); in efa_com_admin_init_cq() 221 writel(addr_low, edev->reg_bar + EFA_REGS_AENQ_BASE_LO_OFF); in efa_com_admin_init_aenq() 222 writel(addr_high, edev->reg_bar + EFA_REGS_AENQ_BASE_HI_OFF); in efa_com_admin_init_aenq() [all …]
|
D | efa_main.c | 464 edev->reg_bar = devm_ioremap(&pdev->dev, in efa_probe_device() 467 if (!edev->reg_bar) { in efa_probe_device() 511 devm_iounmap(&pdev->dev, edev->reg_bar); in efa_probe_device() 531 devm_iounmap(&pdev->dev, edev->reg_bar); in efa_remove_device()
|
D | efa_com.h | 106 u8 __iomem *reg_bar; member
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_com.c | 150 writel(addr_low, ena_dev->reg_bar + ENA_REGS_AENQ_BASE_LO_OFF); in ena_com_admin_init_aenq() 151 writel(addr_high, ena_dev->reg_bar + ENA_REGS_AENQ_BASE_HI_OFF); in ena_com_admin_init_aenq() 158 writel(aenq_caps, ena_dev->reg_bar + ENA_REGS_AENQ_CAPS_OFF); in ena_com_admin_init_aenq() 819 return readl(ena_dev->reg_bar + offset); in ena_com_reg_bar_read32() 830 writel(mmio_read_reg, ena_dev->reg_bar + ENA_REGS_MMIO_REG_READ_OFF); in ena_com_reg_bar_read32() 1246 io_sq->db_addr = (u32 __iomem *)((uintptr_t)ena_dev->reg_bar + in ena_com_create_io_sq() 1387 io_cq->unmask_reg = (u32 __iomem *)((uintptr_t)ena_dev->reg_bar + in ena_com_create_io_cq() 1392 (u32 __iomem *)((uintptr_t)ena_dev->reg_bar + in ena_com_create_io_cq() 1397 (u32 __iomem *)((uintptr_t)ena_dev->reg_bar + in ena_com_create_io_cq() 1506 writel(depth, ena_dev->reg_bar + ENA_REGS_AENQ_HEAD_DB_OFF); in ena_com_admin_aenq_enable() [all …]
|
D | ena_com.h | 303 u8 __iomem *reg_bar; member
|
D | ena_netdev.c | 4169 ena_dev->reg_bar = devm_ioremap(&pdev->dev, in ena_probe() 4172 if (!ena_dev->reg_bar) { in ena_probe()
|
/drivers/net/ethernet/google/gve/ |
D | gve_main.c | 1305 struct gve_registers __iomem *reg_bar; in gve_probe() local 1332 reg_bar = pci_iomap(pdev, GVE_REGISTER_BAR, 0); in gve_probe() 1333 if (!reg_bar) { in gve_probe() 1346 gve_write_version(®_bar->driver_version); in gve_probe() 1348 max_tx_queues = ioread32be(®_bar->max_tx_queues); in gve_probe() 1349 max_rx_queues = ioread32be(®_bar->max_rx_queues); in gve_probe() 1378 priv->reg_bar0 = reg_bar; in gve_probe() 1422 pci_iounmap(pdev, reg_bar); in gve_probe() 1437 void __iomem *reg_bar = priv->reg_bar0; in gve_remove() local 1444 pci_iounmap(pdev, reg_bar); in gve_remove()
|