Lines Matching refs:dev_state
85 u64 dev_state; /* For /dev/hwctr */
682 err = lcctl(cpuhw->state | cpuhw->dev_state);
704 inactive |= cpuhw->dev_state;
1280 * The cpu_cf_events::dev_state is used to denote counter sets in use by this
1318 ctr_set_disable(&cpuhw->dev_state,
1320 ctr_set_stop(&cpuhw->dev_state,
1325 rc = lcctl(cpuhw->dev_state | cpuhw->state);
1329 if (!cpuhw->dev_state)
1341 ctr_set_enable(&cpuhw->dev_state, p->sets);
1342 ctr_set_start(&cpuhw->dev_state, p->sets);
1346 rc = lcctl(cpuhw->dev_state | cpuhw->state); /* Start counter sets */
1351 cpuhw->dev_state | cpuhw->state, S390_HWCTR_DEVICE, rc);
1359 cpuhw->dev_state = 0;