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()
626 u32 node_xp, type, event_id; in arm_ccn_pmu_event_alloc() local
630 node_xp = CCN_CONFIG_NODE(event->attr.config); in arm_ccn_pmu_event_alloc()
655 source = &ccn->xp[node_xp]; in arm_ccn_pmu_event_alloc()
657 source = &ccn->node[node_xp]; in arm_ccn_pmu_event_alloc()
669 node_xp); in arm_ccn_pmu_event_alloc()
708 u32 node_xp, type, event_id; in arm_ccn_pmu_event_init() local
743 node_xp = CCN_CONFIG_NODE(event->attr.config); in arm_ccn_pmu_event_init()
750 if (node_xp != ccn->mn_id) { in arm_ccn_pmu_event_init()
751 dev_dbg(ccn->dev, "Invalid MN ID %d!\n", node_xp); in arm_ccn_pmu_event_init()
756 if (node_xp >= ccn->num_xps) { in arm_ccn_pmu_event_init()
757 dev_dbg(ccn->dev, "Invalid XP ID %d!\n", node_xp); in arm_ccn_pmu_event_init()
764 if (node_xp >= ccn->num_nodes) { in arm_ccn_pmu_event_init()
765 dev_dbg(ccn->dev, "Invalid node ID %d!\n", node_xp); in arm_ccn_pmu_event_init()
768 if (!arm_ccn_pmu_type_eq(type, ccn->node[node_xp].type)) { in arm_ccn_pmu_event_init()
770 type, node_xp); in arm_ccn_pmu_event_init()
789 port, node_xp); in arm_ccn_pmu_event_init()
794 vc, node_xp); in arm_ccn_pmu_event_init()
801 event_id, node_xp); in arm_ccn_pmu_event_init()
810 port = arm_ccn_node_to_xp_port(node_xp); in arm_ccn_pmu_event_init()
811 node_xp = arm_ccn_node_to_xp(node_xp); in arm_ccn_pmu_event_init()
814 node_xp, type, port); in arm_ccn_pmu_event_init()