Lines Matching refs:pmu_state
115 static volatile enum pmu_state {
122 } pmu_state;
359 pmu_state = idle;
454 } while (pmu_state != idle);
556 while (interrupt_data[0][0] || pmu_state != idle) {
561 if (pmu_state == idle)
1131 if (pmu_state == idle)
1197 /* assert pmu_state == idle */
1200 if (req == 0 || pmu_state != idle
1204 pmu_state = sending;
1237 } while (pmu_suspended && (adb_int_pending || pmu_state != idle
1246 while((pmu_state != idle && pmu_state != locked) || !req->complete)
1278 if (!adb_int_pending && pmu_state == idle && !req_awaiting_reply) {
1448 if (pmu_state == reading || pmu_state == reading_intr)
1455 switch (pmu_state) {
1470 pmu_state = idle;
1477 pmu_state = reading;
1487 pmu_state = reading_intr;
1510 if (pmu_state == reading_intr) {
1511 pmu_state = idle;
1524 pmu_state = locked;
1526 pmu_state = idle;
1533 pmu_state);
1559 "intr=%x, ier=%x pmu_state=%d\n",
1560 intr, in_8(&via[IER]), pmu_state);
1576 if (pmu_state == idle) {
1584 pmu_state = intack;
1632 if (pmu_state == locked)
1633 pmu_state = idle;
2717 while (pmu_state != idle)