Lines Matching refs:xp

138 		} xp;  member
181 struct arm_ccn_component *xp; member
224 static CCN_FORMAT_ATTR(xp, "config:0-7");
655 source = &ccn->xp[node_xp]; in arm_ccn_pmu_event_alloc()
662 bit = arm_ccn_pmu_alloc_bit(source->xp.dt_cmp_mask, in arm_ccn_pmu_event_alloc()
694 clear_bit(hw->config_base, source->xp.dt_cmp_mask); in arm_ccn_pmu_event_release()
879 struct arm_ccn_component *xp; in arm_ccn_pmu_xp_dt_config() local
887 xp = &ccn->xp[CCN_CONFIG_XP(event->attr.config)]; in arm_ccn_pmu_xp_dt_config()
889 xp = &ccn->xp[arm_ccn_node_to_xp( in arm_ccn_pmu_xp_dt_config()
899 val = readl(xp->base + CCN_XP_DT_CONFIG); in arm_ccn_pmu_xp_dt_config()
903 writel(val, xp->base + CCN_XP_DT_CONFIG); in arm_ccn_pmu_xp_dt_config()
1044 u32 xp, offset, val; in arm_ccn_pmu_event_config() local
1051 xp = CCN_CONFIG_XP(event->attr.config); in arm_ccn_pmu_event_config()
1053 xp = arm_ccn_node_to_xp(CCN_CONFIG_NODE(event->attr.config)); in arm_ccn_pmu_event_config()
1062 val |= xp << CCN_DT_ACTIVE_DSM__DSM_ID__SHIFT(hw->idx % 4); in arm_ccn_pmu_event_config()
1226 writel(0, ccn->xp[i].base + CCN_XP_DT_CONFIG); in arm_ccn_pmu_init()
1232 ccn->xp[i].base + CCN_XP_DT_CONTROL); in arm_ccn_pmu_init()
1309 writel(0, ccn->xp[i].base + CCN_XP_DT_CONTROL); in arm_ccn_pmu_init()
1321 writel(0, ccn->xp[i].base + CCN_XP_DT_CONTROL); in arm_ccn_pmu_cleanup()
1384 component = &ccn->xp[id]; in arm_ccn_init_nodes()
1498 ccn->xp = devm_kcalloc(ccn->dev, ccn->num_xps, sizeof(*ccn->node), in arm_ccn_probe()
1500 if (!ccn->node || !ccn->xp) in arm_ccn_probe()