Home
last modified time | relevance | path

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

12

/netbsd/external/gpl2/xcvs/dist/lib/
H A Dregex_internal.c1486 newstate->hash = hash; in register_state()
1487 err = re_node_set_alloc (&newstate->non_eps_nodes, newstate->nodes.nelem); in register_state()
1538 newstate->entrance_nodes = &newstate->nodes; in create_ci_newstate()
1551 newstate->halt = 1; in create_ci_newstate()
1561 newstate = NULL; in create_ci_newstate()
1563 return newstate; in create_ci_newstate()
1589 newstate->entrance_nodes = &newstate->nodes; in create_cd_newstate()
1607 newstate->halt = 1; in create_cd_newstate()
1615 if (newstate->entrance_nodes == &newstate->nodes) in create_cd_newstate()
1639 newstate = NULL; in create_cd_newstate()
[all …]
/netbsd/sys/dev/wscons/
H A 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()
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()
492 u_int newstate; in wsemul_sun_output() local
[all …]
/netbsd/sys/dev/acpi/
H A 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/sys/dev/i2c/
H A 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()
H A 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/usr.sbin/apmd/
H A 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()
H A Dapm-proto.h52 enum apm_state newstate; member
/netbsd/external/bsd/tradcpp/dist/
H A Ddirective.c157 struct ifstate *newstate; in ifstate_push() local
159 newstate = ifstate_create(ifstate, p, startstate); in ifstate_push()
161 newstate->curtrue = false; in ifstate_push()
162 newstate->evertrue = true; in ifstate_push()
164 ifstate = newstate; in ifstate_push()
/netbsd/crypto/external/bsd/openssl/dist/util/
H A Dmkerr.pl290 my $newstate = 0;
296 $newstate = 1;
668 if ( $newstate ) {
/netbsd/sys/dev/ic/
H A Dbwfmvar.h203 struct bwfm_cmd_newstate newstate; member
207 #define t_newstate t_u.newstate
/netbsd/external/gpl2/rcs/dist/src/
H A Drlog.c821 struct stateattri *newstate; local
832 newstate = talloc(struct stateattri);
833 newstate->nextstate = statelist;
834 newstate->status = argv;
835 statelist = newstate;
/netbsd/crypto/external/bsd/openssl.old/dist/util/
H A Dmkerr.pl418 my $newstate = 0;
425 $newstate = 1;
717 if ( $newstate ) {
/netbsd/games/atc/
H A 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/sys/netinet6/
H A Dnd6.c1344 int newstate = 0; in nd6_cache_lladdr() local
1415 newstate = ND_LLINFO_STALE; in nd6_cache_lladdr()
1421 newstate = ND_LLINFO_NOSTATE; in nd6_cache_lladdr()
1423 newstate = ND_LLINFO_STALE; in nd6_cache_lladdr()
1430 ln->ln_state = newstate; in nd6_cache_lladdr()
/netbsd/sys/dev/sdmmc/
H A 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/sys/external/bsd/vchiq/dist/interface/vchiq_arm/
H A 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()
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()
2853 newstate = VCHIQ_SRVSTATE_CLOSED; in close_service_complete()
[all …]
H A 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/external/mpl/dhcp/dist/common/
H A Dcomapi.c446 unsigned long newstate; in dhcp_control_set_value() local
453 status = omapi_get_int_value (&newstate, value); in dhcp_control_set_value()
457 (control -> state, newstate); in dhcp_control_set_value()
/netbsd/external/mpl/dhcp/dist/dhcpctl/
H A Dcltest.c78 control_object_state_t newstate) in dhcp_set_control_state() argument
H A Dcltest2.c311 control_object_state_t newstate) in dhcp_set_control_state() argument
H A Domshell.c826 control_object_state_t newstate) in dhcp_set_control_state() argument
828 if (newstate != server_shutdown) in dhcp_set_control_state()
/netbsd/sys/dev/isa/
H A 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/external/bsd/nsd/dist/
H A Dremote.c1764 uint8_t newstate = 0; in repat_patterns() local
1766 newstate = REPAT_SLAVE; in repat_patterns()
1768 newstate = REPAT_MASTER; in repat_patterns()
1771 if (p->implicit && newstate) { in repat_patterns()
1775 if (newstate == REPAT_SLAVE) { in repat_patterns()
1783 } else if (newstate == REPAT_MASTER) { in repat_patterns()
1791 } else if(!p->implicit && newstate) { in repat_patterns()
1794 origp->xfrd_flags = newstate; in repat_patterns()
/netbsd/sys/arch/sun3/dev/
H A 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()
/netbsd/usr.sbin/apm/
H A Dapm.c322 switch (reply.newstate) { in main()

12