HomeSort by: relevance | last modified time | path
    Searched refs:newstate (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/usr.sbin/apmd/
apm-proto.h 52 enum apm_state newstate; member in struct:apm_reply
apmd.c 206 reply.newstate = NORMAL;
209 reply.newstate = SUSPENDING;
212 reply.newstate = STANDING_BY;
220 return reply.newstate;
  /src/sys/dev/wscons/
wsemul_sun.c 223 u_int newstate = SUN_EMUL_STATE_NORMAL; local
268 newstate = SUN_EMUL_STATE_HAVEESC;
316 return (newstate);
322 u_int newstate; local
327 newstate = SUN_EMUL_STATE_CONTROL;
333 newstate = wsemul_sun_output_normal(edp, c, 0);
337 return (newstate);
465 u_int newstate = SUN_EMUL_STATE_CONTROL; local
482 newstate = SUN_EMUL_STATE_NORMAL;
485 return (newstate);
492 u_int newstate; local
    [all...]
  /src/sys/dev/acpi/
acpi_apm.c 150 int newstate, error, *ref, cap, oldcap; local
161 newstate = *ref;
163 node.sysctl_data = &newstate;
168 if (newstate < ACPI_APM_STATE_MIN || newstate > ACPI_APM_STATE_MAX)
171 *ref = newstate;
173 capabilities = newstate != 0 ? oldcap | cap : oldcap & ~cap;
  /src/sys/dev/i2c/
pcagpio.c 295 uint32_t newstate; local
297 newstate = sc->sc_state & ~l->mask;
298 newstate |= val ? l->v_on : l->v_off;
300 sc->sc_state, newstate, l->mask, l->v_on, l->v_off);
301 if (newstate != sc->sc_state)
302 pcagpio_writereg(sc, PCAGPIO_OUTPUT, newstate);
pcf8574.c 380 uint32_t newstate; local
382 newstate = sc->sc_state & ~l->mask;
383 newstate |= val ? l->v_on : l->v_off;
385 device_xname(sc->sc_dev), sc->sc_state, newstate, l->mask, l->v_on, l->v_off);
386 if (newstate != sc->sc_state) {
387 pcf8574_write(sc, newstate | sc->sc_mask);
  /src/sys/dev/ic/
bwfmvar.h 203 struct bwfm_cmd_newstate newstate; member in union:bwfm_task::__anon2755
207 #define t_newstate t_u.newstate
interwave.c 994 iw_speaker_ctl(void *addr, int newstate)
1000 if (newstate == SPKR_ON) {
  /src/games/atc/
input.c 251 int newstate, newpos; local
258 newstate = st[T_STATE].rule[ruleno].to_state;
266 T_STATE = newstate;
  /src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/
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);
vchiq_core.c 167 vchiq_set_service_state(VCHIQ_SERVICE_T *service, int newstate)
172 srvstate_names[newstate]);
173 service->srvstate = newstate;
417 vchiq_set_conn_state(VCHIQ_STATE_T *state, VCHIQ_CONNSTATE_T newstate)
423 conn_state_names[newstate]);
424 state->conn_state = newstate;
425 vchiq_platform_conn_state_changed(state, oldstate, newstate);
2846 int newstate; local
2856 newstate = VCHIQ_SRVSTATE_LISTENING;
2858 newstate = VCHIQ_SRVSTATE_CLOSEWAIT
    [all...]
vchiq_arm.c 2799 VCHIQ_CONNSTATE_T oldstate, VCHIQ_CONNSTATE_T newstate)
2803 get_conn_state_name(oldstate), get_conn_state_name(newstate));
  /src/usr.sbin/apm/
apm.c 322 switch (reply.newstate) {
  /src/sys/dev/sdmmc/
if_bwfm_sdio.c 1240 bwfm_sdio_clkctl(struct bwfm_sdio_softc *sc, enum bwfm_sdio_clkstate newstate,
1246 if (oldstate == newstate)
1249 switch (newstate) {
1257 sc->sc_clkstate = newstate;
1262 sc->sc_clkstate, newstate);
1267 sc->sc_clkstate = newstate;
1273 DPRINTF(("%s: %d -> %d = %d\n", DEVNAME(sc), oldstate, newstate,
  /src/sys/netinet6/
nd6.c 1337 int newstate = 0; local
1408 newstate = ND_LLINFO_STALE;
1414 newstate = ND_LLINFO_NOSTATE;
1416 newstate = ND_LLINFO_STALE;
1423 ln->ln_state = newstate;
  /src/sys/arch/sun3/dev/
xd.c 604 int rqno, err, spt, mb, blk, lcv, fullmode, newstate; local
608 newstate = XD_DRIVE_UNKNOWN;
684 newstate = XD_DRIVE_NOLABEL;
710 newstate = XD_DRIVE_ONLINE;
749 xd->state = newstate;
xy.c 542 int err, spt, mb, blk, lcv, fullmode, newstate; local
546 newstate = XY_DRIVE_UNKNOWN;
598 newstate = XY_DRIVE_NOLABEL;
656 newstate = XY_DRIVE_ONLINE;
696 xy->state = newstate;
  /src/sys/dev/vme/
xy.c 613 int spt, mb, blk, lcv, fmode, s = 0, newstate; local
664 newstate = XY_DRIVE_UNKNOWN;
720 newstate = XY_DRIVE_NOLABEL;
775 newstate = XY_DRIVE_ONLINE;
820 xy->state = newstate;
xd.c 714 int rqno, spt = 0, mb, blk, lcv, fmode, s = 0, newstate; local
759 newstate = XD_DRIVE_UNKNOWN;
836 newstate = XD_DRIVE_NOLABEL;
863 newstate = XD_DRIVE_ONLINE;
906 xd->state = newstate;
  /src/sys/dev/isa/
gus.c 2535 gusmax_speaker_ctl(void *addr, int newstate)
2540 return gus_speaker_ctl(sc->sc_ad1848.parent, newstate);
2544 gus_speaker_ctl(void *addr, int newstate)
2554 if ((newstate == SPKR_ON) &&
2559 if ((newstate == SPKR_OFF) &&
2569 gus_linein_ctl(void *addr, int newstate)
2579 if ((newstate == SPKR_ON) &&
2584 if ((newstate == SPKR_OFF) &&
2594 gus_mic_ctl(void *addr, int newstate)
2604 if ((newstate == SPKR_ON) &
    [all...]
ess.c 1099 ess_speaker_ctl(void *addr, int newstate)
1104 if ((newstate == SPKR_ON) && (sc->spkr_state == SPKR_OFF)) {
1108 if ((newstate == SPKR_OFF) && (sc->spkr_state == SPKR_ON)) {
sbdsp.c 971 sbdsp_speaker_ctl(void *addr, int newstate)
979 if ((newstate == SPKR_ON) &&
984 if ((newstate == SPKR_OFF) &&
  /src/sys/fs/nfs/nlm/
nlm_prot_impl.c 761 * shutting down, this function is called with newstate set to zero
766 nlm_host_notify(struct nlm_host *host, int newstate)
770 if (newstate) {
773 host->nh_sysid, newstate);
794 host->nh_state = newstate;
801 if (newstate != 0
  /src/sys/dev/usb/
if_umb.c 987 umb_newstate(struct umb_softc *sc, enum umb_state newstate, int flags)
991 if (newstate == sc->sc_state)
993 if (((flags & UMB_NS_DONT_DROP) && newstate < sc->sc_state) ||
994 ((flags & UMB_NS_DONT_RAISE) && newstate > sc->sc_state))
998 DEVNAM(sc), newstate > sc->sc_state ? "up" : "down",
999 umb_istate(sc->sc_state), umb_istate(newstate));
1000 sc->sc_state = newstate;
  /src/sys/external/bsd/drm2/dist/drm/i915/
intel_pm.c 3223 static int ilk_compute_intermediate_wm(struct intel_crtc_state *newstate)
3225 struct intel_crtc *intel_crtc = to_intel_crtc(newstate->uapi.crtc);
3227 struct intel_pipe_wm *a = &newstate->wm.ilk.intermediate;
3229 to_intel_atomic_state(newstate->uapi.state);
3240 *a = newstate->wm.ilk.optimal;
3241 if (!newstate->hw.active || drm_atomic_crtc_needs_modeset(&newstate->uapi) ||
3273 if (memcmp(a, &newstate->wm.ilk.optimal, sizeof(*a)) != 0)
3274 newstate->wm.need_postvbl_update = true;

Completed in 62 milliseconds

1 2