Lines Matching refs:dev_state
86 u64 dev_state; /* For /dev/hwctr */ member
683 err = lcctl(cpuhw->state | cpuhw->dev_state); in cpumf_pmu_enable()
705 inactive |= cpuhw->dev_state; in cpumf_pmu_disable()
1326 ctr_set_disable(&cpuhw->dev_state, in cfset_ioctl_off()
1328 ctr_set_stop(&cpuhw->dev_state, in cfset_ioctl_off()
1333 rc = lcctl(cpuhw->dev_state | cpuhw->state); in cfset_ioctl_off()
1337 if (!cpuhw->dev_state) in cfset_ioctl_off()
1349 ctr_set_enable(&cpuhw->dev_state, p->sets); in cfset_ioctl_on()
1350 ctr_set_start(&cpuhw->dev_state, p->sets); in cfset_ioctl_on()
1354 rc = lcctl(cpuhw->dev_state | cpuhw->state); /* Start counter sets */ in cfset_ioctl_on()
1359 cpuhw->dev_state | cpuhw->state, S390_HWCTR_DEVICE, rc); in cfset_ioctl_on()
1367 cpuhw->dev_state = 0; in cfset_release_cpu()