Home
last modified time | relevance | path

Searched refs:unit_mask (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/arch/powerpc/oprofile/
Dop_model_cell.c282 static void set_pm_event(u32 ctr, int event, u32 unit_mask) in set_pm_event() argument
302 bus_word = GET_BUS_WORD(unit_mask); in set_pm_event()
303 bus_type = GET_BUS_TYPE(unit_mask); in set_pm_event()
304 count_cycles = GET_COUNT_CYCLES(unit_mask); in set_pm_event()
305 polarity = GET_POLARITY(unit_mask); in set_pm_event()
306 input_control = GET_INPUT_CONTROL(unit_mask); in set_pm_event()
313 p->sub_unit = GET_SUB_UNIT(unit_mask); in set_pm_event()
736 set_pm_event(0, ctr[0].event, ctr[0].unit_mask); in cell_reg_setup_spu_events()
772 pmc_cntrl[0][i].masks = ctr[i].unit_mask; in cell_reg_setup_ppu()
794 pmc_cntrl[1][i].masks = ctr[i].unit_mask; in cell_reg_setup_ppu()
Dcommon.c175 oprofilefs_create_ulong(dir, "unit_mask", &ctr[i].unit_mask); in op_powerpc_create_files()
/Linux-v5.10/arch/x86/kvm/svm/
Dpmu.c131 u8 unit_mask) in amd_find_arch_event() argument
137 && amd_event_mapping[i].unit_mask == unit_mask) in amd_find_arch_event()
/Linux-v5.10/arch/x86/oprofile/
Dop_counter.h24 unsigned long unit_mask; member
Dnmi_int.c51 val |= (counter_config->unit_mask & 0xFF) << 8; in op_x86_get_ctrl()
434 oprofilefs_create_ulong(dir, "unit_mask", &counter_config[i].unit_mask); in nmi_create_files()
Dop_model_p4.c544 ESCR_SET_EVENT_MASK(escr, counter_config[ctr].unit_mask); in pmc_setup_one_p4_counter()
/Linux-v5.10/arch/mips/oprofile/
Dop_impl.h24 unsigned long unit_mask; member
Dcommon.c56 oprofilefs_create_ulong(dir, "unit_mask", &ctr[i].unit_mask); in op_mips_create_files()
/Linux-v5.10/arch/alpha/oprofile/
Dop_impl.h21 unsigned long unit_mask; member
Dcommon.c126 oprofilefs_create_ulong(dir, "unit_mask", &ctr[i].unit_mask); in op_axp_create_files()
/Linux-v5.10/arch/x86/kvm/
Dpmu.h22 u8 unit_mask; member
28 u8 unit_mask);
Dpmu.c174 u8 event_select, unit_mask; in reprogram_gp_counter() local
207 unit_mask = (eventsel & ARCH_PERFMON_EVENTSEL_UMASK) >> 8; in reprogram_gp_counter()
216 unit_mask); in reprogram_gp_counter()
/Linux-v5.10/drivers/oprofile/
Doprofile_perf.c20 unsigned long unit_mask; member
155 oprofilefs_create_ulong(dir, "unit_mask", &counter_config[i].unit_mask); in oprofile_perf_create_files()
/Linux-v5.10/arch/powerpc/include/asm/
Doprofile_impl.h22 unsigned long unit_mask; member
/Linux-v5.10/arch/x86/kvm/vmx/
Dpmu_intel.c73 u8 unit_mask) in intel_find_arch_event() argument
79 && intel_arch_events[i].unit_mask == unit_mask in intel_find_arch_event()