Lines Matching refs:node_xp
219 static void arm_ccn_pmu_config_set(u64 *config, u32 node_xp, u32 type, u32 port) in arm_ccn_pmu_config_set() argument
222 *config |= (node_xp << 0) | (type << 8) | (port << 24); in arm_ccn_pmu_config_set()
647 u32 node_xp, type, event_id; in arm_ccn_pmu_event_alloc() local
651 node_xp = CCN_CONFIG_NODE(event->attr.config); in arm_ccn_pmu_event_alloc()
676 source = &ccn->xp[node_xp]; in arm_ccn_pmu_event_alloc()
678 source = &ccn->node[node_xp]; in arm_ccn_pmu_event_alloc()
690 node_xp); in arm_ccn_pmu_event_alloc()
729 u32 node_xp, type, event_id; in arm_ccn_pmu_event_init() local
767 node_xp = CCN_CONFIG_NODE(event->attr.config); in arm_ccn_pmu_event_init()
774 if (node_xp != ccn->mn_id) { in arm_ccn_pmu_event_init()
775 dev_dbg(ccn->dev, "Invalid MN ID %d!\n", node_xp); in arm_ccn_pmu_event_init()
780 if (node_xp >= ccn->num_xps) { in arm_ccn_pmu_event_init()
781 dev_dbg(ccn->dev, "Invalid XP ID %d!\n", node_xp); in arm_ccn_pmu_event_init()
788 if (node_xp >= ccn->num_nodes) { in arm_ccn_pmu_event_init()
789 dev_dbg(ccn->dev, "Invalid node ID %d!\n", node_xp); in arm_ccn_pmu_event_init()
792 if (!arm_ccn_pmu_type_eq(type, ccn->node[node_xp].type)) { in arm_ccn_pmu_event_init()
794 type, node_xp); in arm_ccn_pmu_event_init()
813 port, node_xp); in arm_ccn_pmu_event_init()
818 vc, node_xp); in arm_ccn_pmu_event_init()
825 event_id, node_xp); in arm_ccn_pmu_event_init()
834 port = arm_ccn_node_to_xp_port(node_xp); in arm_ccn_pmu_event_init()
835 node_xp = arm_ccn_node_to_xp(node_xp); in arm_ccn_pmu_event_init()
838 node_xp, type, port); in arm_ccn_pmu_event_init()