Searched defs:state (Results 251 - 275 of 1373) sorted by relevance

<<11121314151617181920>>

/freebsd-head/sys/dev/sound/pcm/
H A Dfeeder_volume.c101 int state; member in struct:feed_volume_info
165 info->state = FEEDVOLUME_ENABLE;
226 info->state = value;
250 if (info->state == FEEDVOLUME_BYPASS)
/freebsd-head/usr.sbin/mfiutil/
H A Dmfi_volume.c48 mfi_ldstate(enum mfi_ld_state state) argument
52 switch (state) {
62 sprintf(buf, "LSTATE 0x%02x", state);
/freebsd-head/usr.sbin/ppp/
H A Dchat.h44 int state; /* Our CHAT_* status */ member in struct:chat
H A Dtimer.c57 tState2Nam(u_int state) argument
61 if (state >= sizeof StateNames / sizeof StateNames[0])
63 return StateNames[state];
90 if (tp->state != TIMER_STOPPED)
114 tp->state = TIMER_RUNNING;
149 if (tp->state == TIMER_STOPPED)
183 } else if (tp->state == TIMER_RUNNING)
188 tp->state = TIMER_STOPPED;
212 tp->state = TIMER_EXPIRED;
258 "%s timer[%p]: freq = %ld.%02lds, next = %lu.%02lus, state
[all...]
/freebsd-head/stand/common/
H A Dinterp_parse.c94 enum { STR, VAR, WHITE } state; local
101 /* Initialize vector and state */
103 state = STR;
109 switch (state) {
130 state = WHITE;
143 state = VAR;
154 state = STR;
175 state = STR;
182 if (i && state == STR) {
/freebsd-head/sys/dev/ocs_fc/
H A Docs_cam.h90 ocs_cam_io_state_t state; member in struct:__anon1758
/freebsd-head/sys/arm/ti/
H A Dti_pinmux.c118 * ti_pinmux_padconf_set_internal - sets the muxmode and state for a pad/pin
121 * @state: the state to put the pad/pin in, i.e. PADCONF_PIN_???
134 const char *muxmode, unsigned int state)
140 reg_val = (uint16_t)(state & ti_pinmux_dev->padconf_sate_mask);
169 * ti_pinmux_padconf_set - sets the muxmode and state for a pad/pin
172 * @state: the state to put the pad/pin in, i.e. PADCONF_PIN_???
183 ti_pinmux_padconf_set(const char *padname, const char *muxmode, unsigned int state) argument
195 return (ti_pinmux_padconf_set_internal(ti_pinmux_sc, padconf, muxmode, state));
132 ti_pinmux_padconf_set_internal(struct ti_pinmux_softc *sc, const struct ti_pinmux_padconf *padconf, const char *muxmode, unsigned int state) argument
213 ti_pinmux_padconf_get(const char *padname, const char **muxmode, unsigned int *state) argument
256 ti_pinmux_padconf_set_gpiomode(uint32_t gpio, unsigned int state) argument
301 ti_pinmux_padconf_get_gpiomode(uint32_t gpio, unsigned int *state) argument
[all...]
/freebsd-head/sys/dev/gpio/
H A Dgpioled_fdt.c85 int state, err; local
90 state = 0;
91 if (OF_getprop_alloc(node, "default-state",
94 state = 1;
96 state = 0;
98 state = -1;
100 state = -1;
102 "unknown value for default-state in FDT\n");
127 state);
/freebsd-head/usr.sbin/bluetooth/bthidd/
H A Dbthidd.h66 void *ctx; /* product specific dev state */
72 uint16_t state; /* session state */ member in struct:bthid_session
/freebsd-head/sys/arm64/arm64/
H A Dvfp.c49 "Kernel contexts for VFP state");
56 struct vfpstate state; member in struct:fpu_kern_ctx
82 * Called when the thread is dying or when discarding the kernel VFP state.
84 * the kernel the fp state is unowned. Ensure the VFP unit is off so we get
102 vfp_store(struct vfpstate *state) argument
107 vfp_state = state->vfp_regs;
129 state->vfp_fpcr = fpcr;
130 state->vfp_fpsr = fpsr;
134 vfp_restore(struct vfpstate *state) argument
139 vfp_state = state
[all...]
/freebsd-head/sys/arm/freescale/imx/
H A Dimx6_ahci.c77 bool state; local
89 state = (v & SATA_P0PHYSR_CR_ACK) == SATA_P0PHYSR_CR_ACK;
90 if(state == on) {
/freebsd-head/contrib/wpa/src/eap_peer/
H A Deap_vendor_test.c25 enum { INIT, CONFIRM, SUCCESS } state; member in struct:eap_vendor_test_data
40 data->state = INIT;
82 if (data->state == INIT && *pos != 1) {
84 "%d in INIT state", *pos);
89 if (data->state == CONFIRM && *pos != 3) {
91 "%d in CONFIRM state", *pos);
96 if (data->state == SUCCESS) {
98 "in SUCCESS state");
103 if (data->state == CONFIRM) {
125 if (data->state
[all...]
/freebsd-head/contrib/wpa/src/eap_server/
H A Deap_server_vendor_test.c20 enum { INIT, CONFIRM, SUCCESS, FAILURE } state; member in struct:eap_vendor_test_data
24 static const char * eap_vendor_test_state_txt(int state) argument
26 switch (state) {
42 int state)
45 eap_vendor_test_state_txt(data->state),
46 eap_vendor_test_state_txt(state));
47 data->state = state;
58 data->state = INIT;
85 wpabuf_put_u8(req, data->state
41 eap_vendor_test_state(struct eap_vendor_test_data *data, int state) argument
[all...]
/freebsd-head/sys/crypto/sha2/
H A Dsha256c.c118 /* Adjusted round function for rotating state */
131 * SHA256 block compression function. The 256-bit state is transformed via
132 * the 512-bit input block to produce a new state.
135 SHA256_Transform(uint32_t * state, const unsigned char block[64]) argument
145 memcpy(S, state, 32);
186 /* 4. Mix local working variables into global state */
188 state[i] += S[i];
214 SHA256_Transform(ctx->state, ctx->buf);
224 SHA256_Transform(ctx->state, ctx->buf);
236 ctx->state[
[all...]
/freebsd-head/sys/contrib/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/
H A Daead_chacha20poly1305.c31 crypto_onetimeauth_poly1305_state state; local
37 crypto_onetimeauth_poly1305_init(&state, block0);
40 crypto_onetimeauth_poly1305_update(&state, ad, adlen);
42 crypto_onetimeauth_poly1305_update(&state, slen, sizeof slen);
46 crypto_onetimeauth_poly1305_update(&state, c, mlen);
48 crypto_onetimeauth_poly1305_update(&state, slen, sizeof slen);
50 crypto_onetimeauth_poly1305_final(&state, mac);
51 sodium_memzero(&state, sizeof state);
102 crypto_onetimeauth_poly1305_state state; local
176 crypto_onetimeauth_poly1305_state state; local
256 crypto_onetimeauth_poly1305_state state; local
[all...]
/freebsd-head/sys/contrib/libsodium/src/libsodium/crypto_hash/sha256/cp/
H A Dhash_sha256_cp.c98 SHA256_Transform(uint32_t state[8], const uint8_t block[64], uint32_t W[64], argument
104 memcpy(S, state, 32);
143 state[i] += S[i];
154 SHA256_Pad(crypto_hash_sha256_state *state, uint32_t tmp32[64 + 8]) argument
159 r = (unsigned int) ((state->count >> 3) & 0x3f);
162 state->buf[r + i] = PAD[i];
166 state->buf[r + i] = PAD[i];
168 SHA256_Transform(state->state, state
176 crypto_hash_sha256_init(crypto_hash_sha256_state *state) argument
190 crypto_hash_sha256_update(crypto_hash_sha256_state *state, const unsigned char *in, unsigned long long inlen) argument
231 crypto_hash_sha256_final(crypto_hash_sha256_state *state, unsigned char *out) argument
247 crypto_hash_sha256_state state; local
[all...]
/freebsd-head/sys/contrib/libsodium/src/libsodium/crypto_hash/sha512/cp/
H A Dhash_sha512_cp.c114 SHA512_Transform(uint64_t *state, const uint8_t block[128], uint64_t W[80], argument
120 memcpy(S, state, 64);
159 state[i] += S[i];
173 SHA512_Pad(crypto_hash_sha512_state *state, uint64_t tmp64[80 + 8]) argument
178 r = (unsigned int) ((state->count[1] >> 3) & 0x7f);
181 state->buf[r + i] = PAD[i];
185 state->buf[r + i] = PAD[i];
187 SHA512_Transform(state->state, state
195 crypto_hash_sha512_init(crypto_hash_sha512_state *state) argument
210 crypto_hash_sha512_update(crypto_hash_sha512_state *state, const unsigned char *in, unsigned long long inlen) argument
259 crypto_hash_sha512_final(crypto_hash_sha512_state *state, unsigned char *out) argument
275 crypto_hash_sha512_state state; local
[all...]
/freebsd-head/sys/contrib/libsodium/src/libsodium/crypto_sign/
H A Dcrypto_sign.c91 crypto_sign_init(crypto_sign_state *state) argument
93 return crypto_sign_ed25519ph_init(state);
97 crypto_sign_update(crypto_sign_state *state, const unsigned char *m, argument
100 return crypto_sign_ed25519ph_update(state, m, mlen);
104 crypto_sign_final_create(crypto_sign_state *state, unsigned char *sig, argument
107 return crypto_sign_ed25519ph_final_create(state, sig, siglen_p, sk);
111 crypto_sign_final_verify(crypto_sign_state *state, unsigned char *sig, argument
114 return crypto_sign_ed25519ph_final_verify(state, sig, pk);
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dbcrypt_pbkdf.c51 * 4. The hash function is defined to perform 64 rounds of initial state
72 blf_ctx state; local
81 Blowfish_initstate(&state);
82 Blowfish_expandstate(&state, sha2salt, shalen, sha2pass, shalen);
84 Blowfish_expand0state(&state, sha2salt, shalen);
85 Blowfish_expand0state(&state, sha2pass, shalen);
94 blf_enc(&state, cdata, sizeof(cdata) / sizeof(uint64_t));
107 explicit_bzero(&state, sizeof(state));
/freebsd-head/contrib/dma/
H A Dmail.c152 } state; member in struct:parse_state
171 switch (ps->state) {
183 ps->state = MAIN;
199 ps->state = QUIT;
327 ps->state = EOL;
331 ps->state = QUIT;
389 parse_state.state = NONE;
433 if (parse_state.state != NONE) {
444 parse_state.state = START;
/freebsd-head/contrib/serf/buckets/
H A Dchunk_buckets.c33 } state; member in struct:__anon16
50 ctx->state = STATE_FETCH;
69 if (ctx->state != STATE_FETCH) {
119 ctx->state = STATE_EOF;
123 ctx->state = STATE_CHUNK;
139 if (ctx->state == STATE_FETCH) {
149 if (APR_STATUS_IS_EOF(status) && ctx->state == STATE_CHUNK) {
151 ctx->state = STATE_FETCH;
167 if (APR_STATUS_IS_EOF(status) && ctx->state == STATE_CHUNK) {
169 ctx->state
[all...]
/freebsd-head/contrib/dialog/
H A Dinputbox.c76 int state; local
105 state = dialog_vars.default_button >= 0 ? dlg_default_button() : sTEXT;
106 first = (state == sTEXT);
169 dlg_draw_buttons(dialog, height - 2, 0, buttons, state, FALSE, width);
180 key = dlg_mouse_wgetch((state == sTEXT) ? editor : dialog, &fkey);
196 if (state == sTEXT) { /* Input box selected */
224 state = 0;
228 state = dlg_prev_ok_buttonindex(state, sTEXT);
232 state
[all...]
H A Dtrace.c136 mbstate_t state; local
139 memset(&state, 0, sizeof(state));
140 wcsrtombs(buffer, &ucp, sizeof(buffer), &state);
/freebsd-head/bin/sh/
H A Dmain.c93 * exception occurs. When an exception occurs the variable "state"
101 volatile int state; local
106 state = 0;
108 if (state == 0 || iflag == 0 || ! rootshell ||
116 if (state == 1)
118 else if (state == 2)
120 else if (state == 3)
142 state = 1;
145 state = 2;
152 state
[all...]
/freebsd-head/sys/dev/sfxge/common/
H A Defx_tunnel.c279 efsys_lock_state_t state; local
296 EFSYS_LOCK(enp->en_eslp, state);
316 EFSYS_UNLOCK(enp->en_eslp, state);
325 EFSYS_UNLOCK(enp->en_eslp, state);
343 efsys_lock_state_t state; local
349 EFSYS_LOCK(enp->en_eslp, state);
373 EFSYS_UNLOCK(enp->en_eslp, state);
382 EFSYS_UNLOCK(enp->en_eslp, state);
392 efsys_lock_state_t state; local
396 EFSYS_LOCK(enp->en_eslp, state);
454 efsys_lock_state_t state; local
[all...]

Completed in 90 milliseconds

<<11121314151617181920>>