Searched refs:pmu_ev (Results 1 – 1 of 1) sorted by relevance
152 struct cxl_pmu_ev_cap *pmu_ev; in cxl_pmu_parse_caps() local171 pmu_ev = devm_kzalloc(dev, sizeof(*pmu_ev), GFP_KERNEL); in cxl_pmu_parse_caps()172 if (!pmu_ev) in cxl_pmu_parse_caps()175 pmu_ev->vid = FIELD_GET(CXL_PMU_EVENT_CAP_VENDOR_ID_MSK, eval); in cxl_pmu_parse_caps()176 pmu_ev->gid = FIELD_GET(CXL_PMU_EVENT_CAP_GROUP_ID_MSK, eval); in cxl_pmu_parse_caps()178 pmu_ev->msk = events_msk; in cxl_pmu_parse_caps()179 pmu_ev->counter_idx = i; in cxl_pmu_parse_caps()181 list_add(&pmu_ev->node, &info->event_caps_fixed); in cxl_pmu_parse_caps()190 struct cxl_pmu_ev_cap *pmu_ev; in cxl_pmu_parse_caps() local195 pmu_ev = devm_kzalloc(dev, sizeof(*pmu_ev), GFP_KERNEL); in cxl_pmu_parse_caps()[all …]