Home
last modified time | relevance | path

Searched refs:state (Results 1 – 25 of 406) sorted by relevance

12345678910>>...17

/include/crypto/
A Dchacha.h45 chacha_block_generic(state, out, 20); in chacha20_block()
81 chacha_init_consts(state); in chacha_init()
82 state->x[4] = key[0]; in chacha_init()
83 state->x[5] = key[1]; in chacha_init()
84 state->x[6] = key[2]; in chacha_init()
85 state->x[7] = key[3]; in chacha_init()
86 state->x[8] = key[4]; in chacha_init()
87 state->x[9] = key[5]; in chacha_init()
88 state->x[10] = key[6]; in chacha_init()
89 state->x[11] = key[7]; in chacha_init()
[all …]
A Dblake2s.h50 state->h[1] = BLAKE2S_IV1; in __blake2s_init()
51 state->h[2] = BLAKE2S_IV2; in __blake2s_init()
52 state->h[3] = BLAKE2S_IV3; in __blake2s_init()
53 state->h[4] = BLAKE2S_IV4; in __blake2s_init()
54 state->h[5] = BLAKE2S_IV5; in __blake2s_init()
57 state->t[0] = 0; in __blake2s_init()
58 state->t[1] = 0; in __blake2s_init()
59 state->f[0] = 0; in __blake2s_init()
60 state->f[1] = 0; in __blake2s_init()
61 state->buflen = 0; in __blake2s_init()
[all …]
A Dblake2b.h42 static inline void __blake2b_init(struct blake2b_state *state, size_t outlen, in __blake2b_init() argument
45 state->h[0] = BLAKE2B_IV0 ^ (0x01010000 | keylen << 8 | outlen); in __blake2b_init()
46 state->h[1] = BLAKE2B_IV1; in __blake2b_init()
47 state->h[2] = BLAKE2B_IV2; in __blake2b_init()
48 state->h[3] = BLAKE2B_IV3; in __blake2b_init()
49 state->h[4] = BLAKE2B_IV4; in __blake2b_init()
50 state->h[5] = BLAKE2B_IV5; in __blake2b_init()
51 state->h[6] = BLAKE2B_IV6; in __blake2b_init()
52 state->h[7] = BLAKE2B_IV7; in __blake2b_init()
53 state->t[0] = 0; in __blake2b_init()
[all …]
A Dsm3.h34 u32 state[SM3_DIGEST_SIZE / 4]; member
51 sctx->state[0] = SM3_IVA; in sm3_init()
52 sctx->state[1] = SM3_IVB; in sm3_init()
53 sctx->state[2] = SM3_IVC; in sm3_init()
54 sctx->state[3] = SM3_IVD; in sm3_init()
55 sctx->state[4] = SM3_IVE; in sm3_init()
56 sctx->state[5] = SM3_IVF; in sm3_init()
57 sctx->state[6] = SM3_IVG; in sm3_init()
58 sctx->state[7] = SM3_IVH; in sm3_init()
/include/linux/
A Dpwm.h114 struct pwm_state state; member
131 *state = pwm->state; in pwm_get_state()
140 return state.enabled; in pwm_is_enabled()
149 return state.period; in pwm_get_period()
167 return state.polarity; in pwm_get_polarity()
206 state->duty_cycle = 0; in pwm_init_state()
228 if (!state->period) in pwm_get_relative_duty_cycle()
261 state->period, in pwm_set_relative_duty_cycle()
420 if (state.duty_cycle == duty_ns && state.period == period_ns) in pwm_config()
442 if (state.enabled) in pwm_enable()
[all …]
A Dcpuhotplug.h271 static inline int cpuhp_setup_state(enum cpuhp_state state, in cpuhp_setup_state() argument
361 return __cpuhp_setup_state(state, name, false, in cpuhp_setup_state_multi()
385 return __cpuhp_state_add_instance(state, node, true); in cpuhp_state_add_instance()
401 return __cpuhp_state_add_instance(state, node, false); in cpuhp_state_add_instance_nocalls()
434 __cpuhp_remove_state(state, true); in cpuhp_remove_state()
444 __cpuhp_remove_state(state, false); in cpuhp_remove_state_nocalls()
457 __cpuhp_remove_state_cpuslocked(state, false); in cpuhp_remove_state_nocalls_cpuslocked()
470 __cpuhp_remove_state(state, false); in cpuhp_remove_multi_state()
473 int __cpuhp_state_remove_instance(enum cpuhp_state state,
488 return __cpuhp_state_remove_instance(state, node, true); in cpuhp_state_remove_instance()
[all …]
A Dppp-comp.h40 void (*comp_free) (void *state);
43 int (*comp_init) (void *state, unsigned char *options,
47 void (*comp_reset) (void *state);
50 int (*compress) (void *state, unsigned char *rptr,
54 void (*comp_stat) (void *state, struct compstat *stats);
60 void (*decomp_free) (void *state);
63 int (*decomp_init) (void *state, unsigned char *options,
68 void (*decomp_reset) (void *state);
71 int (*decompress) (void *state, unsigned char *ibuf, int isize,
75 void (*incomp) (void *state, unsigned char *ibuf, int icnt);
[all …]
A Dcall_once.h12 atomic_t state; member
19 atomic_set(&once->state, ONCE_NOT_STARTED); in __once_init()
46 int r, state; in call_once() local
49 if (atomic_read_acquire(&once->state) == ONCE_COMPLETED) in call_once()
53 state = atomic_read(&once->state); in call_once()
54 if (unlikely(state != ONCE_NOT_STARTED)) in call_once()
55 return WARN_ON_ONCE(state != ONCE_COMPLETED) ? -EINVAL : 0; in call_once()
57 atomic_set(&once->state, ONCE_RUNNING); in call_once()
60 atomic_set(&once->state, ONCE_NOT_STARTED); in call_once()
62 atomic_set_release(&once->state, ONCE_COMPLETED); in call_once()
A Drcuwait.h41 #define ___rcuwait_wait_event(w, condition, state, ret, cmd) \ argument
50 set_current_state(state); \
54 if (signal_pending_state(state, current)) { \
65 #define rcuwait_wait_event(w, condition, state) \ argument
66 ___rcuwait_wait_event(w, condition, state, 0, schedule())
68 #define __rcuwait_wait_event_timeout(w, condition, state, timeout) \ argument
70 state, timeout, \
73 #define rcuwait_wait_event_timeout(w, condition, state, timeout) \ argument
78 state, timeout); \
A Dblk-mq-dma.h22 struct dma_iova_state *state, struct blk_dma_iter *iter);
24 struct dma_iova_state *state, struct blk_dma_iter *iter);
33 static inline bool blk_rq_dma_map_coalesce(struct dma_iova_state *state) in blk_rq_dma_map_coalesce() argument
35 return dma_use_iova(state); in blk_rq_dma_map_coalesce()
49 struct dma_iova_state *state, size_t mapped_len) in blk_rq_dma_unmap() argument
54 if (dma_use_iova(state)) { in blk_rq_dma_unmap()
55 dma_iova_destroy(dma_dev, state, mapped_len, rq_dma_dir(req), in blk_rq_dma_unmap()
A Dprandom.h20 u32 prandom_u32_state(struct rnd_state *state);
21 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t nbytes);
40 static inline void prandom_seed_state(struct rnd_state *state, u64 seed) in prandom_seed_state() argument
44 state->s1 = __seed(i, 2U); in prandom_seed_state()
45 state->s2 = __seed(i, 8U); in prandom_seed_state()
46 state->s3 = __seed(i, 16U); in prandom_seed_state()
47 state->s4 = __seed(i, 128U); in prandom_seed_state()
/include/drm/
A Ddrm_atomic_state_helper.h46 struct drm_crtc_state *state);
49 struct drm_crtc_state *state);
54 struct drm_crtc_state *state);
59 struct drm_plane_state *state);
62 struct drm_plane_state *state);
67 struct drm_plane_state *state);
76 struct drm_atomic_state *state);
86 struct drm_connector_state *state);
91 struct drm_bridge_state *state);
95 struct drm_bridge_state *state);
[all …]
A Ddrm_atomic.h335 struct drm_atomic_state *state; member
573 kref_get(&state->ref); in drm_atomic_state_get()
574 return state; in drm_atomic_state_get()
654 return state->crtcs[drm_crtc_index(crtc)].state; in drm_atomic_get_existing_crtc_state()
701 return state->planes[drm_plane_index(plane)].state; in drm_atomic_get_existing_plane_state()
754 return state->connectors[index].state; in drm_atomic_get_existing_connector_state()
827 if (state->planes[drm_plane_index(plane)].state) in __drm_atomic_get_current_plane_state()
828 return state->planes[drm_plane_index(plane)].state; in __drm_atomic_get_current_plane_state()
830 return plane->state; in __drm_atomic_get_current_plane_state()
1159 return state->mode_changed || state->active_changed || in drm_atomic_crtc_needs_modeset()
[all …]
A Ddrm_atomic_helper.h51 struct drm_atomic_state *state);
61 struct drm_atomic_state *state);
64 struct drm_atomic_state *state);
68 struct drm_atomic_state *state,
71 struct drm_atomic_state *state);
73 struct drm_atomic_state *state);
76 struct drm_atomic_state *state,
98 struct drm_atomic_state *state);
100 struct drm_atomic_state *state);
106 struct drm_atomic_state *state,
[all …]
A Ddrm_format_helper.h63 void drm_format_conv_state_init(struct drm_format_conv_state *state);
64 void drm_format_conv_state_copy(struct drm_format_conv_state *state,
66 void *drm_format_conv_state_reserve(struct drm_format_conv_state *state,
68 void drm_format_conv_state_release(struct drm_format_conv_state *state);
79 struct drm_format_conv_state *state);
88 const struct drm_rect *clip, struct drm_format_conv_state *state);
91 const struct drm_rect *clip, struct drm_format_conv_state *state);
94 const struct drm_rect *clip, struct drm_format_conv_state *state);
119 struct drm_format_conv_state *state);
123 struct drm_format_conv_state *state);
[all …]
A Ddrm_modeset_helper_vtables.h358 struct drm_atomic_state *state);
379 struct drm_atomic_state *state);
403 struct drm_atomic_state *state);
425 struct drm_atomic_state *state);
445 struct drm_atomic_state *state);
750 struct drm_atomic_state *state);
1068 struct drm_atomic_state *state);
1102 struct drm_atomic_state *state);
1117 struct drm_atomic_state *state);
1323 struct drm_atomic_state *state);
[all …]
A Ddrm_plane.h255 struct drm_atomic_state *state; member
269 .x1 = state->src_x, in drm_plane_state_src()
270 .y1 = state->src_y, in drm_plane_state_src()
271 .x2 = state->src_x + state->src_w, in drm_plane_state_src()
272 .y2 = state->src_y + state->src_h, in drm_plane_state_src()
281 .x1 = state->crtc_x, in drm_plane_state_dest()
282 .y1 = state->crtc_y, in drm_plane_state_dest()
283 .x2 = state->crtc_x + state->crtc_w, in drm_plane_state_dest()
284 .y2 = state->crtc_y + state->crtc_h, in drm_plane_state_dest()
470 struct drm_plane_state *state,
[all …]
/include/crypto/internal/
A Dpoly1305.h22 static inline void poly1305_core_init(struct poly1305_state *state) in poly1305_core_init() argument
24 *state = (struct poly1305_state){}; in poly1305_core_init()
27 void poly1305_core_blocks(struct poly1305_state *state,
30 void poly1305_core_emit(const struct poly1305_state *state, const u32 nonce[4],
33 void poly1305_block_init_arch(struct poly1305_block_state *state,
35 void poly1305_block_init_generic(struct poly1305_block_state *state,
37 void poly1305_blocks_arch(struct poly1305_block_state *state, const u8 *src,
44 poly1305_core_blocks(&state->h, &state->core_r, src, in poly1305_blocks_generic()
48 void poly1305_emit_arch(const struct poly1305_state *state,
51 static inline void poly1305_emit_generic(const struct poly1305_state *state, in poly1305_emit_generic() argument
[all …]
A Dblake2b.h23 state->f[0] = -1; in blake2b_set_lastblock()
24 state->f[1] = 0; in blake2b_set_lastblock()
29 state->f[0] = 0; in blake2b_set_nonlast()
30 state->f[1] = 0; in blake2b_set_nonlast()
63 struct blake2b_state *state = shash_desc_ctx(desc); in crypto_blake2b_init() local
66 __blake2b_init(state, outlen, tctx->keylen); in crypto_blake2b_init()
77 blake2b_set_nonlast(state); in crypto_blake2b_update_bo()
92 blake2b_set_lastblock(state); in crypto_blake2b_finup()
93 compress(state, buf, 1, inlen); in crypto_blake2b_finup()
94 for (i = 0; i < ARRAY_SIZE(state->h); i++) in crypto_blake2b_finup()
[all …]
/include/rv/
A Dautomata.h21 static char *model_get_state_name_##name(enum states_##name state) \
23 if ((state < 0) || (state >= state_max_##name)) \
26 return automaton_##name.state_names[state]; \
69 static inline bool model_is_final_state_##name(enum states_##name state) \
71 if ((state < 0) || (state >= state_max_##name)) \
74 return automaton_##name.final_states[state]; \
/include/trace/events/
A Dpower.h20 TP_ARGS(state, cpu_id),
23 __field( u32, state )
28 __entry->state = state;
40 TP_ARGS(state, cpu_id)
51 __field(u32, state)
57 __entry->state = state;
74 __field(u32, state)
80 __entry->state = state;
301 __entry->state = state;
312 TP_ARGS(name, state)
[all …]
/include/media/
A Dv4l2-subdev.h873 struct v4l2_subdev_state *state,
876 struct v4l2_subdev_state *state,
902 struct v4l2_subdev_state *state,
967 struct v4l2_subdev_state *state);
1154 struct v4l2_subdev_state *state; member
1359 _Generic(state, \
1762 mutex_lock(state->lock); in v4l2_subdev_lock_state()
1773 mutex_unlock(state->lock); in v4l2_subdev_unlock_state()
1938 if (state) \
1939 v4l2_subdev_lock_state(state); \
[all …]
/include/linux/pinctrl/
A Dmachine.h80 #define PIN_MAP_DUMMY_STATE(dev, state) \ argument
83 .name = state, \
87 #define PIN_MAP_MUX_GROUP(dev, state, pinctrl, grp, func) \ argument
90 .name = state, \
102 #define PIN_MAP_MUX_GROUP_HOG(dev, state, grp, func) \ argument
103 PIN_MAP_MUX_GROUP(dev, state, dev, grp, func)
111 .name = state, \
124 #define PIN_MAP_CONFIGS_PIN_HOG(dev, state, pin, cfgs) \ argument
125 PIN_MAP_CONFIGS_PIN(dev, state, dev, pin, cfgs)
133 .name = state, \
[all …]
/include/soc/qcom/
A Drpmh.h14 int rpmh_write(const struct device *dev, enum rpmh_state state,
17 int rpmh_write_async(const struct device *dev, enum rpmh_state state,
20 int rpmh_write_batch(const struct device *dev, enum rpmh_state state,
27 static inline int rpmh_write(const struct device *dev, enum rpmh_state state, in rpmh_write() argument
32 enum rpmh_state state, in rpmh_write_async() argument
37 enum rpmh_state state, in rpmh_write_batch() argument
/include/linux/regulator/
A Dcoupler.h51 suspend_state_t state);
58 suspend_state_t state);
64 suspend_state_t state);
66 suspend_state_t state, bool skip_coupled);
74 suspend_state_t state) in regulator_check_consumers() argument
89 suspend_state_t state) in regulator_set_voltage_rdev() argument
94 suspend_state_t state, in regulator_do_balance_voltage() argument

Completed in 68 milliseconds

12345678910>>...17