Lines Matching refs:gen_count
228 u_int gen_count);
818 EcWaitEvent(struct acpi_ec_softc *sc, EC_EVENT Event, u_int gen_count)
857 if (gen_count == sc->ec_gencount)
867 if (gen_count == sc->ec_gencount)
873 gen_count = sc->ec_gencount;
900 u_int gen_count;
934 gen_count = sc->ec_gencount;
936 status = EcWaitEvent(sc, event, gen_count);
953 u_int gen_count;
964 gen_count = sc->ec_gencount;
966 status = EcWaitEvent(sc, EC_EVENT_OUTPUT_BUFFER_FULL, gen_count);
983 u_int gen_count;
992 gen_count = sc->ec_gencount;
994 status = EcWaitEvent(sc, EC_EVENT_INPUT_BUFFER_EMPTY, gen_count);
1000 gen_count = sc->ec_gencount;
1002 status = EcWaitEvent(sc, EC_EVENT_INPUT_BUFFER_EMPTY, gen_count);