Lines Matching refs:node_xp
212 static void arm_ccn_pmu_config_set(u64 *config, u32 node_xp, u32 type, u32 port) in arm_ccn_pmu_config_set() argument
215 *config |= (node_xp << 0) | (type << 8) | (port << 24); in arm_ccn_pmu_config_set()
635 u32 node_xp, type, event_id; in arm_ccn_pmu_event_alloc() local
639 node_xp = CCN_CONFIG_NODE(event->attr.config); in arm_ccn_pmu_event_alloc()
664 source = &ccn->xp[node_xp]; in arm_ccn_pmu_event_alloc()
666 source = &ccn->node[node_xp]; in arm_ccn_pmu_event_alloc()
678 node_xp); in arm_ccn_pmu_event_alloc()
717 u32 node_xp, type, event_id; in arm_ccn_pmu_event_init() local
752 node_xp = CCN_CONFIG_NODE(event->attr.config); in arm_ccn_pmu_event_init()
759 if (node_xp != ccn->mn_id) { in arm_ccn_pmu_event_init()
760 dev_dbg(ccn->dev, "Invalid MN ID %d!\n", node_xp); in arm_ccn_pmu_event_init()
765 if (node_xp >= ccn->num_xps) { in arm_ccn_pmu_event_init()
766 dev_dbg(ccn->dev, "Invalid XP ID %d!\n", node_xp); in arm_ccn_pmu_event_init()
773 if (node_xp >= ccn->num_nodes) { in arm_ccn_pmu_event_init()
774 dev_dbg(ccn->dev, "Invalid node ID %d!\n", node_xp); in arm_ccn_pmu_event_init()
777 if (!arm_ccn_pmu_type_eq(type, ccn->node[node_xp].type)) { in arm_ccn_pmu_event_init()
779 type, node_xp); in arm_ccn_pmu_event_init()
798 port, node_xp); in arm_ccn_pmu_event_init()
803 vc, node_xp); in arm_ccn_pmu_event_init()
810 event_id, node_xp); in arm_ccn_pmu_event_init()
819 port = arm_ccn_node_to_xp_port(node_xp); in arm_ccn_pmu_event_init()
820 node_xp = arm_ccn_node_to_xp(node_xp); in arm_ccn_pmu_event_init()
823 node_xp, type, port); in arm_ccn_pmu_event_init()