Searched refs:reg_bar (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/contrib/ena-com/ |
H A D | ena_com.c | 197 ENA_REG_WRITE32(ena_dev->bus, addr_low, ena_dev->reg_bar + ENA_REGS_AENQ_BASE_LO_OFF); in ena_com_admin_init_aenq() 198 ENA_REG_WRITE32(ena_dev->bus, addr_high, ena_dev->reg_bar + ENA_REGS_AENQ_BASE_HI_OFF); in ena_com_admin_init_aenq() 205 ENA_REG_WRITE32(ena_dev->bus, aenq_caps, ena_dev->reg_bar + ENA_REGS_AENQ_CAPS_OFF); in ena_com_admin_init_aenq() 902 return ENA_REG_READ32(ena_dev->bus, ena_dev->reg_bar + offset); in ena_com_reg_bar_read32() 914 ena_dev->reg_bar + ENA_REGS_MMIO_REG_READ_OFF); in ena_com_reg_bar_read32() 1358 io_sq->db_addr = (u32 __iomem *)((uintptr_t)ena_dev->reg_bar + in ena_com_create_io_sq() 1501 io_cq->unmask_reg = (u32 __iomem *)((uintptr_t)ena_dev->reg_bar + in ena_com_create_io_cq() 1506 (u32 __iomem *)((uintptr_t)ena_dev->reg_bar + in ena_com_create_io_cq() 1614 ENA_REG_WRITE32(ena_dev->bus, depth, ena_dev->reg_bar + ENA_REGS_AENQ_HEAD_DB_OFF); in ena_com_admin_aenq_enable() 1784 ena_dev->reg_bar + ENA_REGS_INTR_MASK_OFF); in ena_com_set_admin_polling_mode() [all …]
|
H A D | ena_com.h | 397 u8 __iomem *reg_bar; member
|
/freebsd/sys/dev/gve/ |
H A D | gve_main.c | 771 if (priv->reg_bar != NULL) in gve_free_sys_res_mem() 773 rman_get_rid(priv->reg_bar), priv->reg_bar); in gve_free_sys_res_mem() 793 priv->reg_bar = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in gve_attach() 795 if (priv->reg_bar == NULL) { in gve_attach() 835 bus_write_multi_1(priv->reg_bar, DRIVER_VERSION, GVE_DRIVER_VERSION, in gve_attach()
|
H A D | gve_utils.c | 37 return (be32toh(bus_read_4(priv->reg_bar, offset))); in gve_reg_bar_read_4() 43 bus_write_4(priv->reg_bar, offset, htobe32(val)); in gve_reg_bar_write_4()
|
H A D | gve.h | 522 struct resource *reg_bar; /* BAR0 */ member
|