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()
640 u32 node_xp, type, event_id; in arm_ccn_pmu_event_alloc() local
644 node_xp = CCN_CONFIG_NODE(event->attr.config); in arm_ccn_pmu_event_alloc()
669 source = &ccn->xp[node_xp]; in arm_ccn_pmu_event_alloc()
671 source = &ccn->node[node_xp]; in arm_ccn_pmu_event_alloc()
683 node_xp); in arm_ccn_pmu_event_alloc()
722 u32 node_xp, type, event_id; in arm_ccn_pmu_event_init() local
757 node_xp = CCN_CONFIG_NODE(event->attr.config); in arm_ccn_pmu_event_init()
764 if (node_xp != ccn->mn_id) { in arm_ccn_pmu_event_init()
765 dev_dbg(ccn->dev, "Invalid MN ID %d!\n", node_xp); in arm_ccn_pmu_event_init()
770 if (node_xp >= ccn->num_xps) { in arm_ccn_pmu_event_init()
771 dev_dbg(ccn->dev, "Invalid XP ID %d!\n", node_xp); in arm_ccn_pmu_event_init()
778 if (node_xp >= ccn->num_nodes) { in arm_ccn_pmu_event_init()
779 dev_dbg(ccn->dev, "Invalid node ID %d!\n", node_xp); in arm_ccn_pmu_event_init()
782 if (!arm_ccn_pmu_type_eq(type, ccn->node[node_xp].type)) { in arm_ccn_pmu_event_init()
784 type, node_xp); in arm_ccn_pmu_event_init()
803 port, node_xp); in arm_ccn_pmu_event_init()
808 vc, node_xp); in arm_ccn_pmu_event_init()
815 event_id, node_xp); in arm_ccn_pmu_event_init()
824 port = arm_ccn_node_to_xp_port(node_xp); in arm_ccn_pmu_event_init()
825 node_xp = arm_ccn_node_to_xp(node_xp); in arm_ccn_pmu_event_init()
828 node_xp, type, port); in arm_ccn_pmu_event_init()