Lines Matching refs:xp
138 } xp; member
181 struct arm_ccn_component *xp; member
233 static CCN_FORMAT_ATTR(xp, "config:0-7");
664 source = &ccn->xp[node_xp]; in arm_ccn_pmu_event_alloc()
671 bit = arm_ccn_pmu_alloc_bit(source->xp.dt_cmp_mask, in arm_ccn_pmu_event_alloc()
703 clear_bit(hw->config_base, source->xp.dt_cmp_mask); in arm_ccn_pmu_event_release()
888 struct arm_ccn_component *xp; in arm_ccn_pmu_xp_dt_config() local
896 xp = &ccn->xp[CCN_CONFIG_XP(event->attr.config)]; in arm_ccn_pmu_xp_dt_config()
898 xp = &ccn->xp[arm_ccn_node_to_xp( in arm_ccn_pmu_xp_dt_config()
908 val = readl(xp->base + CCN_XP_DT_CONFIG); in arm_ccn_pmu_xp_dt_config()
912 writel(val, xp->base + CCN_XP_DT_CONFIG); in arm_ccn_pmu_xp_dt_config()
1053 u32 xp, offset, val; in arm_ccn_pmu_event_config() local
1060 xp = CCN_CONFIG_XP(event->attr.config); in arm_ccn_pmu_event_config()
1062 xp = arm_ccn_node_to_xp(CCN_CONFIG_NODE(event->attr.config)); in arm_ccn_pmu_event_config()
1071 val |= xp << CCN_DT_ACTIVE_DSM__DSM_ID__SHIFT(hw->idx % 4); in arm_ccn_pmu_event_config()
1235 writel(0, ccn->xp[i].base + CCN_XP_DT_CONFIG); in arm_ccn_pmu_init()
1241 ccn->xp[i].base + CCN_XP_DT_CONTROL); in arm_ccn_pmu_init()
1317 writel(0, ccn->xp[i].base + CCN_XP_DT_CONTROL); in arm_ccn_pmu_init()
1329 writel(0, ccn->xp[i].base + CCN_XP_DT_CONTROL); in arm_ccn_pmu_cleanup()
1392 component = &ccn->xp[id]; in arm_ccn_init_nodes()
1508 ccn->xp = devm_kcalloc(ccn->dev, ccn->num_xps, sizeof(*ccn->node), in arm_ccn_probe()
1510 if (!ccn->node || !ccn->xp) in arm_ccn_probe()