Home
last modified time | relevance | path

Searched refs:newstate (Results 1 – 25 of 34) sorted by relevance

12

/netbsd/src/external/gpl2/xcvs/dist/lib/
Dregex_internal.c1480 register_state (const re_dfa_t *dfa, re_dfastate_t *newstate, re_hashval_t hash) in register_state() argument
1486 newstate->hash = hash; in register_state()
1487 err = re_node_set_alloc (&newstate->non_eps_nodes, newstate->nodes.nelem); in register_state()
1490 for (i = 0; i < newstate->nodes.nelem; i++) in register_state()
1492 Idx elem = newstate->nodes.elems[i]; in register_state()
1495 bool ok = re_node_set_insert_last (&newstate->non_eps_nodes, elem); in register_state()
1512 spot->array[spot->num++] = newstate; in register_state()
1526 re_dfastate_t *newstate; in create_ci_newstate() local
1528 newstate = re_calloc (re_dfastate_t, 1); in create_ci_newstate()
1529 if (BE (newstate == NULL, 0)) in create_ci_newstate()
[all …]
/netbsd/src/sys/dev/wscons/
Dwsemul_sun.c223 u_int newstate = SUN_EMUL_STATE_NORMAL; in wsemul_sun_output_normal() local
268 newstate = SUN_EMUL_STATE_HAVEESC; in wsemul_sun_output_normal()
316 return (newstate); in wsemul_sun_output_normal()
322 u_int newstate; in wsemul_sun_output_haveesc() local
327 newstate = SUN_EMUL_STATE_CONTROL; in wsemul_sun_output_haveesc()
333 newstate = wsemul_sun_output_normal(edp, c, 0); in wsemul_sun_output_haveesc()
337 return (newstate); in wsemul_sun_output_haveesc()
465 u_int newstate = SUN_EMUL_STATE_CONTROL; in wsemul_sun_output_control() local
482 newstate = SUN_EMUL_STATE_NORMAL; in wsemul_sun_output_control()
485 return (newstate); in wsemul_sun_output_control()
[all …]
/netbsd/src/sys/dev/acpi/
Dacpi_apm.c150 int newstate, error, *ref, cap, oldcap; in sysctl_state() local
161 newstate = *ref; in sysctl_state()
163 node.sysctl_data = &newstate; in sysctl_state()
168 if (newstate < ACPI_APM_STATE_MIN || newstate > ACPI_APM_STATE_MAX) in sysctl_state()
171 *ref = newstate; in sysctl_state()
173 capabilities = newstate != 0 ? oldcap | cap : oldcap & ~cap; in sysctl_state()
/netbsd/src/sys/dev/i2c/
Dpcagpio.c340 uint32_t newstate; in pcagpio_set() local
342 newstate = sc->sc_state & ~l->mask; in pcagpio_set()
343 newstate |= val ? l->v_on : l->v_off; in pcagpio_set()
345 sc->sc_state, newstate, l->mask, l->v_on, l->v_off); in pcagpio_set()
346 if (newstate != sc->sc_state) in pcagpio_set()
347 pcagpio_writereg(sc, PCAGPIO_OUTPUT, newstate); in pcagpio_set()
Dpcf8574.c380 uint32_t newstate; in pcf8574_set_led() local
382 newstate = sc->sc_state & ~l->mask; in pcf8574_set_led()
383 newstate |= val ? l->v_on : l->v_off; in pcf8574_set_led()
385 device_xname(sc->sc_dev), sc->sc_state, newstate, l->mask, l->v_on, l->v_off); in pcf8574_set_led()
386 if (newstate != sc->sc_state) { in pcf8574_set_led()
387 pcf8574_write(sc, newstate | sc->sc_mask); in pcf8574_set_led()
/netbsd/src/usr.sbin/apmd/
Dapmd.c206 reply.newstate = NORMAL; in handle_client()
209 reply.newstate = SUSPENDING; in handle_client()
212 reply.newstate = STANDING_BY; in handle_client()
220 return reply.newstate; in handle_client()
Dapm-proto.h52 enum apm_state newstate; member
/netbsd/src/crypto/external/bsd/openssl/dist/util/
Dmkerr.pl290 my $newstate = 0;
296 $newstate = 1;
668 if ( $newstate ) {
/netbsd/src/sys/dev/ic/
Dbwfmvar.h203 struct bwfm_cmd_newstate newstate; member
207 #define t_newstate t_u.newstate
Dinterwave.c994 iw_speaker_ctl(void *addr, int newstate) in iw_speaker_ctl() argument
1000 if (newstate == SPKR_ON) { in iw_speaker_ctl()
/netbsd/src/games/atc/
Dinput.c251 int newstate, newpos; in push() local
258 newstate = st[T_STATE].rule[ruleno].to_state; in push()
266 T_STATE = newstate; in push()
/netbsd/src/sys/netinet6/
Dnd6.c1343 int newstate = 0; in nd6_cache_lladdr() local
1414 newstate = ND_LLINFO_STALE; in nd6_cache_lladdr()
1420 newstate = ND_LLINFO_NOSTATE; in nd6_cache_lladdr()
1422 newstate = ND_LLINFO_STALE; in nd6_cache_lladdr()
1429 ln->ln_state = newstate; in nd6_cache_lladdr()
/netbsd/src/sys/dev/sdmmc/
Dif_bwfm_sdio.c1216 bwfm_sdio_clkctl(struct bwfm_sdio_softc *sc, enum bwfm_sdio_clkstate newstate, in bwfm_sdio_clkctl() argument
1222 if (oldstate == newstate) in bwfm_sdio_clkctl()
1225 switch (newstate) { in bwfm_sdio_clkctl()
1233 sc->sc_clkstate = newstate; in bwfm_sdio_clkctl()
1238 sc->sc_clkstate, newstate); in bwfm_sdio_clkctl()
1243 sc->sc_clkstate = newstate; in bwfm_sdio_clkctl()
1249 DPRINTF(("%s: %d -> %d = %d\n", DEVNAME(sc), oldstate, newstate, in bwfm_sdio_clkctl()
/netbsd/src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/
Dvchiq_core.c167 vchiq_set_service_state(VCHIQ_SERVICE_T *service, int newstate) in vchiq_set_service_state() argument
172 srvstate_names[newstate]); in vchiq_set_service_state()
173 service->srvstate = newstate; in vchiq_set_service_state()
417 vchiq_set_conn_state(VCHIQ_STATE_T *state, VCHIQ_CONNSTATE_T newstate) in vchiq_set_conn_state() argument
423 conn_state_names[newstate]); in vchiq_set_conn_state()
424 state->conn_state = newstate; in vchiq_set_conn_state()
425 vchiq_platform_conn_state_changed(state, oldstate, newstate); in vchiq_set_conn_state()
2839 int newstate; in close_service_complete() local
2849 newstate = VCHIQ_SRVSTATE_LISTENING; in close_service_complete()
2851 newstate = VCHIQ_SRVSTATE_CLOSEWAIT; in close_service_complete()
[all …]
Dvchiq_core.h703 VCHIQ_CONNSTATE_T oldstate, VCHIQ_CONNSTATE_T newstate);
709 vchiq_set_conn_state(VCHIQ_STATE_T *state, VCHIQ_CONNSTATE_T newstate);
/netbsd/src/external/gpl3/gdb/dist/gdb/python/
Dpy-disasm.c640 PyObject *newstate; in disasmpy_set_enabled() local
643 &newstate)) in disasmpy_set_enabled()
646 if (!PyBool_Check (newstate)) in disasmpy_set_enabled()
653 python_print_insn_enabled = PyObject_IsTrue (newstate); in disasmpy_set_enabled()
/netbsd/src/sys/dev/isa/
Dgus.c2535 gusmax_speaker_ctl(void *addr, int newstate) in gusmax_speaker_ctl() argument
2540 return gus_speaker_ctl(sc->sc_ad1848.parent, newstate); in gusmax_speaker_ctl()
2544 gus_speaker_ctl(void *addr, int newstate) in gus_speaker_ctl() argument
2554 if ((newstate == SPKR_ON) && in gus_speaker_ctl()
2559 if ((newstate == SPKR_OFF) && in gus_speaker_ctl()
2569 gus_linein_ctl(void *addr, int newstate) in gus_linein_ctl() argument
2579 if ((newstate == SPKR_ON) && in gus_linein_ctl()
2584 if ((newstate == SPKR_OFF) && in gus_linein_ctl()
2594 gus_mic_ctl(void *addr, int newstate) in gus_mic_ctl() argument
2604 if ((newstate == SPKR_ON) && in gus_mic_ctl()
[all …]
/netbsd/src/sys/arch/sun3/dev/
Dxy.c542 int err, spt, mb, blk, lcv, fullmode, newstate; in xy_init() local
546 newstate = XY_DRIVE_UNKNOWN; in xy_init()
598 newstate = XY_DRIVE_NOLABEL; in xy_init()
656 newstate = XY_DRIVE_ONLINE; in xy_init()
696 xy->state = newstate; in xy_init()
Dxd.c604 int rqno, err, spt, mb, blk, lcv, fullmode, newstate; in xd_init() local
608 newstate = XD_DRIVE_UNKNOWN; in xd_init()
684 newstate = XD_DRIVE_NOLABEL; in xd_init()
710 newstate = XD_DRIVE_ONLINE; in xd_init()
749 xd->state = newstate; in xd_init()
/netbsd/src/usr.sbin/apm/
Dapm.c322 switch (reply.newstate) { in main()
/netbsd/src/sys/fs/nfs/nlm/
Dnlm_prot_impl.c766 nlm_host_notify(struct nlm_host *host, int newstate) in nlm_host_notify() argument
770 if (newstate) { in nlm_host_notify()
773 host->nh_sysid, newstate); in nlm_host_notify()
794 host->nh_state = newstate; in nlm_host_notify()
801 if (newstate != 0 in nlm_host_notify()
/netbsd/src/sys/dev/vme/
Dxy.c613 int spt, mb, blk, lcv, fmode, s = 0, newstate; in xyattach() local
664 newstate = XY_DRIVE_UNKNOWN; in xyattach()
720 newstate = XY_DRIVE_NOLABEL; in xyattach()
775 newstate = XY_DRIVE_ONLINE; in xyattach()
820 xy->state = newstate; in xyattach()
Dxd.c714 int rqno, spt = 0, mb, blk, lcv, fmode, s = 0, newstate; in xdattach() local
759 newstate = XD_DRIVE_UNKNOWN; in xdattach()
836 newstate = XD_DRIVE_NOLABEL; in xdattach()
863 newstate = XD_DRIVE_ONLINE; in xdattach()
906 xd->state = newstate; in xdattach()
/netbsd/src/sys/dev/usb/
Dif_umb.c987 umb_newstate(struct umb_softc *sc, enum umb_state newstate, int flags) in umb_newstate() argument
991 if (newstate == sc->sc_state) in umb_newstate()
993 if (((flags & UMB_NS_DONT_DROP) && newstate < sc->sc_state) || in umb_newstate()
994 ((flags & UMB_NS_DONT_RAISE) && newstate > sc->sc_state)) in umb_newstate()
998 DEVNAM(sc), newstate > sc->sc_state ? "up" : "down", in umb_newstate()
999 umb_istate(sc->sc_state), umb_istate(newstate)); in umb_newstate()
1000 sc->sc_state = newstate; in umb_newstate()
/netbsd/src/sys/external/bsd/drm2/dist/drm/i915/
Dintel_pm.c3223 static int ilk_compute_intermediate_wm(struct intel_crtc_state *newstate) in ilk_compute_intermediate_wm() argument
3225 struct intel_crtc *intel_crtc = to_intel_crtc(newstate->uapi.crtc); in ilk_compute_intermediate_wm()
3227 struct intel_pipe_wm *a = &newstate->wm.ilk.intermediate; in ilk_compute_intermediate_wm()
3229 to_intel_atomic_state(newstate->uapi.state); in ilk_compute_intermediate_wm()
3240 *a = newstate->wm.ilk.optimal; in ilk_compute_intermediate_wm()
3241 if (!newstate->hw.active || drm_atomic_crtc_needs_modeset(&newstate->uapi) || in ilk_compute_intermediate_wm()
3273 if (memcmp(a, &newstate->wm.ilk.optimal, sizeof(*a)) != 0) in ilk_compute_intermediate_wm()
3274 newstate->wm.need_postvbl_update = true; in ilk_compute_intermediate_wm()

12