Home
last modified time | relevance | path

Searched refs:reg_bar (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/efa/
Defa_com.c91 writel(mmio_read_reg, edev->reg_bar + EFA_REGS_MMIO_REG_READ_OFF); in efa_com_reg_read32()
144 sq->db_addr = (u32 __iomem *)(edev->reg_bar + EFA_REGS_AQ_PROD_DB_OFF); in efa_com_admin_init_sq()
149 writel(addr_low, edev->reg_bar + EFA_REGS_AQ_BASE_LO_OFF); in efa_com_admin_init_sq()
150 writel(addr_high, edev->reg_bar + EFA_REGS_AQ_BASE_HI_OFF); in efa_com_admin_init_sq()
156 writel(aq_caps, edev->reg_bar + EFA_REGS_AQ_CAPS_OFF); in efa_com_admin_init_sq()
183 writel(addr_low, edev->reg_bar + EFA_REGS_ACQ_BASE_LO_OFF); in efa_com_admin_init_cq()
184 writel(addr_high, edev->reg_bar + EFA_REGS_ACQ_BASE_HI_OFF); in efa_com_admin_init_cq()
192 writel(acq_caps, edev->reg_bar + EFA_REGS_ACQ_CAPS_OFF); in efa_com_admin_init_cq()
224 writel(addr_low, edev->reg_bar + EFA_REGS_AENQ_BASE_LO_OFF); in efa_com_admin_init_aenq()
225 writel(addr_high, edev->reg_bar + EFA_REGS_AENQ_BASE_HI_OFF); in efa_com_admin_init_aenq()
[all …]
Defa_main.c569 edev->reg_bar = devm_ioremap(&pdev->dev, in efa_probe_device()
572 if (!edev->reg_bar) { in efa_probe_device()
616 devm_iounmap(&pdev->dev, edev->reg_bar); in efa_probe_device()
636 devm_iounmap(&pdev->dev, edev->reg_bar); in efa_remove_device()
Defa_com.h109 u8 __iomem *reg_bar; member
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_com.c151 writel(addr_low, ena_dev->reg_bar + ENA_REGS_AENQ_BASE_LO_OFF); in ena_com_admin_init_aenq()
152 writel(addr_high, ena_dev->reg_bar + ENA_REGS_AENQ_BASE_HI_OFF); in ena_com_admin_init_aenq()
159 writel(aenq_caps, ena_dev->reg_bar + ENA_REGS_AENQ_CAPS_OFF); in ena_com_admin_init_aenq()
844 return readl(ena_dev->reg_bar + offset); in ena_com_reg_bar_read32()
855 writel(mmio_read_reg, ena_dev->reg_bar + ENA_REGS_MMIO_REG_READ_OFF); in ena_com_reg_bar_read32()
1280 io_sq->db_addr = (u32 __iomem *)((uintptr_t)ena_dev->reg_bar + in ena_com_create_io_sq()
1427 io_cq->unmask_reg = (u32 __iomem *)((uintptr_t)ena_dev->reg_bar + in ena_com_create_io_cq()
1432 (u32 __iomem *)((uintptr_t)ena_dev->reg_bar + in ena_com_create_io_cq()
1437 (u32 __iomem *)((uintptr_t)ena_dev->reg_bar + in ena_com_create_io_cq()
1549 writel(depth, ena_dev->reg_bar + ENA_REGS_AENQ_HEAD_DB_OFF); in ena_com_admin_aenq_enable()
[all …]
Dena_com.h303 u8 __iomem *reg_bar; member
Dena_netdev.c4280 ena_dev->reg_bar = devm_ioremap(&pdev->dev, in ena_probe()
4283 if (!ena_dev->reg_bar) { in ena_probe()
/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_main.c1535 struct gve_registers __iomem *reg_bar; in gve_probe() local
1555 reg_bar = pci_iomap(pdev, GVE_REGISTER_BAR, 0); in gve_probe()
1556 if (!reg_bar) { in gve_probe()
1569 gve_write_version(&reg_bar->driver_version); in gve_probe()
1571 max_tx_queues = ioread32be(&reg_bar->max_tx_queues); in gve_probe()
1572 max_rx_queues = ioread32be(&reg_bar->max_rx_queues); in gve_probe()
1607 priv->reg_bar0 = reg_bar; in gve_probe()
1652 pci_iounmap(pdev, reg_bar); in gve_probe()
1667 void __iomem *reg_bar = priv->reg_bar0; in gve_remove() local
1674 pci_iounmap(pdev, reg_bar); in gve_remove()