Home
last modified time | relevance | path

Searched refs:cfg_region (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/misc/habanalabs/common/
Ddevice.c231 struct pci_mem_region *cfg_region = &hdev->pci_mem_region[PCI_REGION_CFG]; in hl_access_cfg_region() local
241 *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()
/Linux-v6.1/drivers/perf/
Darm-cmn.c1988 void __iomem *cfg_region; in arm_cmn_discover() local
2001 cfg_region = cmn->base + rgn_offset; in arm_cmn_discover()
2002 reg = readl_relaxed(cfg_region + CMN_CFGM_PERIPH_ID_2); in arm_cmn_discover()
2005 reg = readq_relaxed(cfg_region + CMN_CFGM_INFO_GLOBAL); in arm_cmn_discover()
2010 reg = readq_relaxed(cfg_region + CMN_CFGM_INFO_GLOBAL_1); in arm_cmn_discover()
2014 reg = readq_relaxed(cfg_region + CMN_CHILD_INFO); in arm_cmn_discover()
2023 reg = readq_relaxed(cfg_region + child_poff + i * 8); in arm_cmn_discover()