Home
last modified time | relevance | path

Searched refs:box_offset (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/x86/events/intel/
H A Duncore_discovery.c128 unsigned int *box_offset, *ids; in uncore_insert_box_info() local
156 box_offset = kcalloc(type->num_boxes + 1, sizeof(unsigned int), GFP_KERNEL); in uncore_insert_box_info()
157 if (!box_offset) in uncore_insert_box_info()
178 box_offset[i] = type->box_offset[i]; in uncore_insert_box_info()
188 box_offset[i] = unit->ctl - type->box_ctrl; in uncore_insert_box_info()
190 kfree(type->box_offset); in uncore_insert_box_info()
193 type->box_offset = box_offset; in uncore_insert_box_info()
201 kfree(box_offset); in uncore_insert_box_info()
573 uncore->msr_offsets = type->box_offset; in uncore_update_uncore_type()
581 uncore->pci_offsets = type->box_offset; in uncore_update_uncore_type()
[all …]
H A Duncore_discovery.h128 unsigned int *box_offset; /* Box offset */ member
H A Duncore.h178 unsigned int box_offset; member
386 pmu->type->freerunning[type].box_offset * pmu->pmu_idx); in uncore_freerunning_counter()