Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Derst-test.c40 QPCIBar reg_bar, mem_bar; member
65 res = qpci_io_readl(s->dev, s->reg_bar, reg); in in_reg32()
76 res = qpci_io_readq(s->dev, s->reg_bar, reg); in in_reg64()
87 qpci_io_writel(s->dev, s->reg_bar, reg, v); in out_reg32()
108 s->reg_bar = qpci_iomap(s->dev, 0, &s->reg_barsize); in setup_vm_cmd()
143 g_assert_cmpuint(log_address_range, !=, state.reg_bar.addr); in test_acpi_erst_basic()
H A Divshmem-test.c44 QPCIBar reg_bar, mem_bar; member
75 res = qpci_io_readl(s->dev, s->reg_bar, reg); in in_reg()
86 qpci_io_writel(s->dev, s->reg_bar, reg, v); in out_reg()
121 s->reg_bar = qpci_iomap(s->dev, 0, &barsize); in setup_vm_cmd()
/openbmc/linux/drivers/infiniband/hw/efa/
H A Defa_com.c149 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()
232 writel(aenq_caps, edev->reg_bar + EFA_REGS_AENQ_CAPS_OFF); in efa_com_admin_init_aenq()
1068 writel(reset_val, edev->reg_bar + EFA_REGS_DEV_CTL_OFF); in efa_com_dev_reset()
1080 writel(0, edev->reg_bar + EFA_REGS_DEV_CTL_OFF); in efa_com_dev_reset()
[all …]
H A 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()
H A Defa_com.h109 u8 __iomem *reg_bar; member
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_com.c150 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()
813 return readl(ena_dev->reg_bar + offset); in ena_com_reg_bar_read32()
1383 (u32 __iomem *)((uintptr_t)ena_dev->reg_bar + in ena_com_create_io_cq()
1388 (u32 __iomem *)((uintptr_t)ena_dev->reg_bar + in ena_com_create_io_cq()
1701 writel(0x0, ena_dev->reg_bar + ENA_REGS_MMIO_RESP_LO_OFF); in ena_com_mmio_reg_read_request_destroy()
1702 writel(0x0, ena_dev->reg_bar + ENA_REGS_MMIO_RESP_HI_OFF); in ena_com_mmio_reg_read_request_destroy()
1790 writel(aq_caps, ena_dev->reg_bar + ENA_REGS_AQ_CAPS_OFF); in ena_com_admin_init()
1791 writel(acq_caps, ena_dev->reg_bar + ENA_REGS_ACQ_CAPS_OFF); in ena_com_admin_init()
[all …]
H A Dena_com.h303 u8 __iomem *reg_bar; member
H A Dena_netdev.c3809 ena_dev->reg_bar = devm_ioremap(&pdev->dev, in ena_probe()
3812 if (!ena_dev->reg_bar) { in ena_probe()
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_main.c2210 struct gve_registers __iomem *reg_bar; in gve_probe() local
2230 reg_bar = pci_iomap(pdev, GVE_REGISTER_BAR, 0); in gve_probe()
2231 if (!reg_bar) { in gve_probe()
2244 gve_write_version(&reg_bar->driver_version); in gve_probe()
2246 max_tx_queues = ioread32be(&reg_bar->max_tx_queues); in gve_probe()
2247 max_rx_queues = ioread32be(&reg_bar->max_rx_queues); in gve_probe()
2282 priv->reg_bar0 = reg_bar; in gve_probe()
2327 pci_iounmap(pdev, reg_bar); in gve_probe()
2342 void __iomem *reg_bar = priv->reg_bar0; in gve_remove() local
2349 pci_iounmap(pdev, reg_bar); in gve_remove()