Home
last modified time | relevance | path

Searched refs:prev_state (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/sys/dev/i2c/
H A Dpcf8574.c349 u_int8_t prev_state = sc->sc_state; in pcf8574_refresh() local
359 if (sc->sc_state != prev_state) { in pcf8574_refresh()
361 device_xname(sc->sc_dev), prev_state, sc->sc_state); in pcf8574_refresh()
362 pcf8574_check_alert(sc, prev_state, sc->sc_state); in pcf8574_refresh()
406 uint8_t prev_state = sc->sc_state; in pcf8574_check() local
409 if (sc->sc_state != prev_state) { in pcf8574_check()
411 device_xname(sc->sc_dev), prev_state, sc->sc_state); in pcf8574_check()
412 pcf8574_check_alert(sc, prev_state, sc->sc_state); in pcf8574_check()
418 pcf8574_check_alert(struct pcf8574_softc *sc, uint8_t prev_state, in pcf8574_check_alert() argument
425 pin_chg = (sc->sc_state & 1 << i) ^ (prev_state & 1 << i); in pcf8574_check_alert()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/
H A Dnouveau_nvkm_subdev_therm_g84.c107 enum nvkm_therm_thrs_state prev_state, new_state; in g84_therm_threshold_hyst_emulation() local
110 prev_state = nvkm_therm_sensor_get_threshold_state(therm, thrs_name); in g84_therm_threshold_hyst_emulation()
132 if (prev_state < new_state) in g84_therm_threshold_hyst_emulation()
134 else if (prev_state > new_state) in g84_therm_threshold_hyst_emulation()
H A Dnouveau_nvkm_subdev_therm_temp.c147 enum nvkm_therm_thrs_state prev_state, new_state; in nvkm_therm_threshold_hyst_polling() local
150 prev_state = nvkm_therm_sensor_get_threshold_state(therm, thrs_name); in nvkm_therm_threshold_hyst_polling()
152 if (temp >= thrs->temp && prev_state == NVKM_THERM_THRS_LOWER) { in nvkm_therm_threshold_hyst_polling()
156 prev_state == NVKM_THERM_THRS_HIGHER) { in nvkm_therm_threshold_hyst_polling()
/netbsd-src/external/gpl2/texinfo/dist/makeinfo/
H A Dhtml.c81 = null_state, prev_state; in process_css_file() local
83 prev_state = null_state; in process_css_file()
144 prev_state = null_state; in process_css_file()
149 state = prev_state; /* end of comment */ in process_css_file()
158 prev_state = import_state; in process_css_file()
/netbsd-src/sys/arch/arm/gemini/
H A Dgemini_wdt.c142 int prev_state = geminiwdt_sc->sc_armed; in geminiwdt_enable() local
163 return prev_state; in geminiwdt_enable()
/netbsd-src/sys/arch/amiga/pci/
H A Dp5pb.c598 int i, state, prev_state; in p5pb_badaddr_range() local
603 prev_state = -1; in p5pb_badaddr_range()
617 if(state != prev_state) { in p5pb_badaddr_range()
622 prev_state = state; in p5pb_badaddr_range()
/netbsd-src/sys/dev/ic/
H A Dmfireg.h606 uint32_t prev_state; member
685 uint32_t prev_state; member
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgenautomata.cc6046 state_t prev_state; in partition_equiv_class() local
6058 for (prev_state = first_state, in partition_equiv_class()
6068 prev_state->next_equiv_class_state = next_state; in partition_equiv_class()
6081 prev_state = curr_state; in partition_equiv_class()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgenautomata.c6046 state_t prev_state; in partition_equiv_class() local
6058 for (prev_state = first_state, in partition_equiv_class()
6068 prev_state->next_equiv_class_state = next_state; in partition_equiv_class()
6081 prev_state = curr_state; in partition_equiv_class()
/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Dtc-xtensa.c11367 emit_state prev_state; in xtensa_move_literals() local
11370 xtensa_switch_section_emit_state (&prev_state, pool_seg, 0); in xtensa_move_literals()
11381 xtensa_restore_emit_state (&prev_state); in xtensa_move_literals()
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-xtensa.c11381 emit_state prev_state; in xtensa_move_literals() local
11384 xtensa_switch_section_emit_state (&prev_state, pool_seg, 0); in xtensa_move_literals()
11395 xtensa_restore_emit_state (&prev_state); in xtensa_move_literals()