| /netbsd/src/external/gpl2/xcvs/dist/lib/ |
| D | regex_internal.c | 1480 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/ |
| D | wsemul_sun.c | 223 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/ |
| D | acpi_apm.c | 150 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/ |
| D | pcagpio.c | 340 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()
|
| D | pcf8574.c | 380 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/ |
| D | apmd.c | 206 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()
|
| D | apm-proto.h | 52 enum apm_state newstate; member
|
| /netbsd/src/crypto/external/bsd/openssl/dist/util/ |
| D | mkerr.pl | 290 my $newstate = 0; 296 $newstate = 1; 668 if ( $newstate ) {
|
| /netbsd/src/sys/dev/ic/ |
| D | bwfmvar.h | 203 struct bwfm_cmd_newstate newstate; member 207 #define t_newstate t_u.newstate
|
| D | interwave.c | 994 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/ |
| D | input.c | 251 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/ |
| D | nd6.c | 1343 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/ |
| D | if_bwfm_sdio.c | 1216 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/ |
| D | vchiq_core.c | 167 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 …]
|
| D | vchiq_core.h | 703 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/ |
| D | py-disasm.c | 640 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/ |
| D | gus.c | 2535 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/ |
| D | xy.c | 542 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()
|
| D | xd.c | 604 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/ |
| D | apm.c | 322 switch (reply.newstate) { in main()
|
| /netbsd/src/sys/fs/nfs/nlm/ |
| D | nlm_prot_impl.c | 766 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/ |
| D | xy.c | 613 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()
|
| D | xd.c | 714 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/ |
| D | if_umb.c | 987 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/ |
| D | intel_pm.c | 3223 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()
|