Lines Matching refs:evtsel
1903 printk(KERN_INFO "CNT[%d] evtsel=0x%08x\n",
2727 unsigned long flags, ien, evtsel;
2730 evtsel = xscale2pmu_read_event_select();
2738 evtsel &= ~XSCALE2_COUNT0_EVT_MASK;
2739 evtsel |= hwc->config_base << XSCALE2_COUNT0_EVT_SHFT;
2743 evtsel &= ~XSCALE2_COUNT1_EVT_MASK;
2744 evtsel |= hwc->config_base << XSCALE2_COUNT1_EVT_SHFT;
2748 evtsel &= ~XSCALE2_COUNT2_EVT_MASK;
2749 evtsel |= hwc->config_base << XSCALE2_COUNT2_EVT_SHFT;
2753 evtsel &= ~XSCALE2_COUNT3_EVT_MASK;
2754 evtsel |= hwc->config_base << XSCALE2_COUNT3_EVT_SHFT;
2762 xscale2pmu_write_event_select(evtsel);
2770 unsigned long flags, ien, evtsel;
2773 evtsel = xscale2pmu_read_event_select();
2781 evtsel &= ~XSCALE2_COUNT0_EVT_MASK;
2782 evtsel |= XSCALE_PERFCTR_UNUSED << XSCALE2_COUNT0_EVT_SHFT;
2786 evtsel &= ~XSCALE2_COUNT1_EVT_MASK;
2787 evtsel |= XSCALE_PERFCTR_UNUSED << XSCALE2_COUNT1_EVT_SHFT;
2791 evtsel &= ~XSCALE2_COUNT2_EVT_MASK;
2792 evtsel |= XSCALE_PERFCTR_UNUSED << XSCALE2_COUNT2_EVT_SHFT;
2796 evtsel &= ~XSCALE2_COUNT3_EVT_MASK;
2797 evtsel |= XSCALE_PERFCTR_UNUSED << XSCALE2_COUNT3_EVT_SHFT;
2805 xscale2pmu_write_event_select(evtsel);