Lines Matching refs:dev_state
85 u64 dev_state; /* For /dev/hwctr */ member
682 err = lcctl(cpuhw->state | cpuhw->dev_state); in cpumf_pmu_enable()
704 inactive |= cpuhw->dev_state; in cpumf_pmu_disable()
1318 ctr_set_disable(&cpuhw->dev_state, in cfset_ioctl_off()
1320 ctr_set_stop(&cpuhw->dev_state, in cfset_ioctl_off()
1325 rc = lcctl(cpuhw->dev_state | cpuhw->state); in cfset_ioctl_off()
1329 if (!cpuhw->dev_state) in cfset_ioctl_off()
1341 ctr_set_enable(&cpuhw->dev_state, p->sets); in cfset_ioctl_on()
1342 ctr_set_start(&cpuhw->dev_state, p->sets); in cfset_ioctl_on()
1346 rc = lcctl(cpuhw->dev_state | cpuhw->state); /* Start counter sets */ in cfset_ioctl_on()
1351 cpuhw->dev_state | cpuhw->state, S390_HWCTR_DEVICE, rc); in cfset_ioctl_on()
1359 cpuhw->dev_state = 0; in cfset_release_cpu()