Lines Matching refs:evtsel
537 unsigned long ien, evtsel;
542 evtsel = xscale2pmu_read_event_select();
550 evtsel &= ~XSCALE2_COUNT0_EVT_MASK;
551 evtsel |= hwc->config_base << XSCALE2_COUNT0_EVT_SHFT;
555 evtsel &= ~XSCALE2_COUNT1_EVT_MASK;
556 evtsel |= hwc->config_base << XSCALE2_COUNT1_EVT_SHFT;
560 evtsel &= ~XSCALE2_COUNT2_EVT_MASK;
561 evtsel |= hwc->config_base << XSCALE2_COUNT2_EVT_SHFT;
565 evtsel &= ~XSCALE2_COUNT3_EVT_MASK;
566 evtsel |= hwc->config_base << XSCALE2_COUNT3_EVT_SHFT;
573 xscale2pmu_write_event_select(evtsel);
579 unsigned long ien, evtsel, of_flags;
584 evtsel = xscale2pmu_read_event_select();
593 evtsel &= ~XSCALE2_COUNT0_EVT_MASK;
594 evtsel |= XSCALE_PERFCTR_UNUSED << XSCALE2_COUNT0_EVT_SHFT;
599 evtsel &= ~XSCALE2_COUNT1_EVT_MASK;
600 evtsel |= XSCALE_PERFCTR_UNUSED << XSCALE2_COUNT1_EVT_SHFT;
605 evtsel &= ~XSCALE2_COUNT2_EVT_MASK;
606 evtsel |= XSCALE_PERFCTR_UNUSED << XSCALE2_COUNT2_EVT_SHFT;
611 evtsel &= ~XSCALE2_COUNT3_EVT_MASK;
612 evtsel |= XSCALE_PERFCTR_UNUSED << XSCALE2_COUNT3_EVT_SHFT;
620 xscale2pmu_write_event_select(evtsel);