Searched refs:cfg_region (Results 1 – 2 of 2) sorted by relevance
231 struct pci_mem_region *cfg_region = &hdev->pci_mem_region[PCI_REGION_CFG]; in hl_access_cfg_region() local241 *val = RREG32(addr - cfg_region->region_base); in hl_access_cfg_region()244 WREG32(addr - cfg_region->region_base, *val); in hl_access_cfg_region()247 val_l = RREG32(addr - cfg_region->region_base); in hl_access_cfg_region()248 val_h = RREG32(addr + sizeof(u32) - cfg_region->region_base); in hl_access_cfg_region()253 WREG32(addr - cfg_region->region_base, lower_32_bits(*val)); in hl_access_cfg_region()254 WREG32(addr + sizeof(u32) - cfg_region->region_base, upper_32_bits(*val)); in hl_access_cfg_region()
2157 void __iomem *cfg_region; in arm_cmn_discover() local2171 cfg_region = cmn->base + rgn_offset; in arm_cmn_discover()2173 reg = readq_relaxed(cfg_region + CMN_CFGM_PERIPH_ID_01); in arm_cmn_discover()2184 reg = readl_relaxed(cfg_region + CMN_CFGM_PERIPH_ID_23); in arm_cmn_discover()2187 reg = readq_relaxed(cfg_region + CMN_CFGM_INFO_GLOBAL); in arm_cmn_discover()2192 reg = readq_relaxed(cfg_region + CMN_CFGM_INFO_GLOBAL_1); in arm_cmn_discover()2196 reg = readq_relaxed(cfg_region + CMN_CHILD_INFO); in arm_cmn_discover()2205 reg = readq_relaxed(cfg_region + child_poff + i * 8); in arm_cmn_discover()