| /include/crypto/ |
| D | chacha.h | 33 void chacha_block_generic(u32 *state, u8 *stream, int nrounds); 34 static inline void chacha20_block(u32 *state, u8 *stream) in chacha20_block() argument 36 chacha_block_generic(state, stream, 20); in chacha20_block() 39 void hchacha_block_arch(const u32 *state, u32 *out, int nrounds); 40 void hchacha_block_generic(const u32 *state, u32 *out, int nrounds); 42 static inline void hchacha_block(const u32 *state, u32 *out, int nrounds) in hchacha_block() argument 45 hchacha_block_arch(state, out, nrounds); in hchacha_block() 47 hchacha_block_generic(state, out, nrounds); in hchacha_block() 57 static inline void chacha_init_consts(u32 *state) in chacha_init_consts() argument 59 state[0] = CHACHA_CONSTANT_EXPA; in chacha_init_consts() [all …]
|
| D | blake2s.h | 46 static inline void __blake2s_init(struct blake2s_state *state, size_t outlen, in __blake2s_init() argument 49 state->h[0] = BLAKE2S_IV0 ^ (0x01010000 | keylen << 8 | outlen); in __blake2s_init() 50 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() 55 state->h[6] = BLAKE2S_IV6; in __blake2s_init() 56 state->h[7] = BLAKE2S_IV7; in __blake2s_init() 57 state->t[0] = 0; in __blake2s_init() [all …]
|
| D | blake2b.h | 42 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 …]
|
| D | sha2.h | 68 u32 state[SHA256_DIGEST_SIZE / 4]; member 74 u64 state[SHA512_DIGEST_SIZE / 8]; member 105 sctx->state[0] = SHA256_H0; in sha256_init() 106 sctx->state[1] = SHA256_H1; in sha256_init() 107 sctx->state[2] = SHA256_H2; in sha256_init() 108 sctx->state[3] = SHA256_H3; in sha256_init() 109 sctx->state[4] = SHA256_H4; in sha256_init() 110 sctx->state[5] = SHA256_H5; in sha256_init() 111 sctx->state[6] = SHA256_H6; in sha256_init() 112 sctx->state[7] = SHA256_H7; in sha256_init() [all …]
|
| D | sm3.h | 33 u32 state[SM3_DIGEST_SIZE / 4]; member 50 sctx->state[0] = SM3_IVA; in sm3_init() 51 sctx->state[1] = SM3_IVB; in sm3_init() 52 sctx->state[2] = SM3_IVC; in sm3_init() 53 sctx->state[3] = SM3_IVD; in sm3_init() 54 sctx->state[4] = SM3_IVE; in sm3_init() 55 sctx->state[5] = SM3_IVF; in sm3_init() 56 sctx->state[6] = SM3_IVG; in sm3_init() 57 sctx->state[7] = SM3_IVH; in sm3_init()
|
| D | sha512_base.h | 26 sctx->state[0] = SHA384_H0; in sha384_base_init() 27 sctx->state[1] = SHA384_H1; in sha384_base_init() 28 sctx->state[2] = SHA384_H2; in sha384_base_init() 29 sctx->state[3] = SHA384_H3; in sha384_base_init() 30 sctx->state[4] = SHA384_H4; in sha384_base_init() 31 sctx->state[5] = SHA384_H5; in sha384_base_init() 32 sctx->state[6] = SHA384_H6; in sha384_base_init() 33 sctx->state[7] = SHA384_H7; in sha384_base_init() 43 sctx->state[0] = SHA512_H0; in sha512_base_init() 44 sctx->state[1] = SHA512_H1; in sha512_base_init() [all …]
|
| /include/crypto/internal/ |
| D | blake2b.h | 14 void blake2b_compress_generic(struct blake2b_state *state, 17 static inline void blake2b_set_lastblock(struct blake2b_state *state) in blake2b_set_lastblock() argument 19 state->f[0] = -1; in blake2b_set_lastblock() 22 typedef void (*blake2b_compress_t)(struct blake2b_state *state, 25 static inline void __blake2b_update(struct blake2b_state *state, in __blake2b_update() argument 29 const size_t fill = BLAKE2B_BLOCK_SIZE - state->buflen; in __blake2b_update() 34 memcpy(state->buf + state->buflen, in, fill); in __blake2b_update() 35 (*compress)(state, state->buf, 1, BLAKE2B_BLOCK_SIZE); in __blake2b_update() 36 state->buflen = 0; in __blake2b_update() 43 (*compress)(state, in, nblocks - 1, BLAKE2B_BLOCK_SIZE); in __blake2b_update() [all …]
|
| /include/trace/events/ |
| D | rv.h | 14 TP_PROTO(char *state, char *event, char *next_state, bool final_state), 16 TP_ARGS(state, event, next_state, final_state), 19 __array( char, state, MAX_DA_NAME_LEN ) 26 memcpy(__entry->state, state, MAX_DA_NAME_LEN); 33 __entry->state, 41 TP_PROTO(char *state, char *event), 43 TP_ARGS(state, event), 46 __array( char, state, MAX_DA_NAME_LEN ) 51 memcpy(__entry->state, state, MAX_DA_NAME_LEN); 57 __entry->state) [all …]
|
| D | pwm.h | 13 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state, int err), 15 TP_ARGS(pwm, state, err), 30 __entry->period = state->period; 31 __entry->duty_cycle = state->duty_cycle; 32 __entry->polarity = state->polarity; 33 __entry->enabled = state->enabled; 45 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state, int err), 47 TP_ARGS(pwm, state, err) 52 TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state, int err), 54 TP_ARGS(pwm, state, err)
|
| D | power.h | 18 TP_PROTO(unsigned int state, unsigned int cpu_id), 20 TP_ARGS(state, cpu_id), 23 __field( u32, state ) 28 __entry->state = state; 32 TP_printk("state=%lu cpu_id=%lu", (unsigned long)__entry->state, 38 TP_PROTO(unsigned int state, unsigned int cpu_id), 40 TP_ARGS(state, cpu_id) 45 TP_PROTO(unsigned int cpu_id, unsigned int state, bool below), 47 TP_ARGS(cpu_id, state, below), 51 __field(u32, state) [all …]
|
| /include/linux/ |
| D | pwm.h | 89 struct pwm_state state; member 106 struct pwm_state *state) in pwm_get_state() argument 108 *state = pwm->state; in pwm_get_state() 113 struct pwm_state state; in pwm_is_enabled() local 115 pwm_get_state(pwm, &state); in pwm_is_enabled() 117 return state.enabled; in pwm_is_enabled() 122 struct pwm_state state; in pwm_get_period() local 124 pwm_get_state(pwm, &state); in pwm_get_period() 126 return state.period; in pwm_get_period() 131 struct pwm_state state; in pwm_get_duty_cycle() local [all …]
|
| D | cpuhotplug.h | 251 int __cpuhp_setup_state(enum cpuhp_state state, const char *name, bool invoke, 255 int __cpuhp_setup_state_cpuslocked(enum cpuhp_state state, const char *name, 271 static inline int cpuhp_setup_state(enum cpuhp_state state, in cpuhp_setup_state() argument 276 return __cpuhp_setup_state(state, name, true, startup, teardown, false); in cpuhp_setup_state() 291 static inline int cpuhp_setup_state_cpuslocked(enum cpuhp_state state, in cpuhp_setup_state_cpuslocked() argument 296 return __cpuhp_setup_state_cpuslocked(state, name, true, startup, in cpuhp_setup_state_cpuslocked() 311 static inline int cpuhp_setup_state_nocalls(enum cpuhp_state state, in cpuhp_setup_state_nocalls() argument 316 return __cpuhp_setup_state(state, name, false, startup, teardown, in cpuhp_setup_state_nocalls() 333 static inline int cpuhp_setup_state_nocalls_cpuslocked(enum cpuhp_state state, in cpuhp_setup_state_nocalls_cpuslocked() argument 338 return __cpuhp_setup_state_cpuslocked(state, name, false, startup, in cpuhp_setup_state_nocalls_cpuslocked() [all …]
|
| D | ppp-comp.h | 40 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 …]
|
| D | call_once.h | 12 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()
|
| D | rcuwait.h | 41 #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); \
|
| D | prandom.h | 19 u32 prandom_u32_state(struct rnd_state *state); 20 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t nbytes); 39 static inline void prandom_seed_state(struct rnd_state *state, u64 seed) in prandom_seed_state() argument 43 state->s1 = __seed(i, 2U); in prandom_seed_state() 44 state->s2 = __seed(i, 8U); in prandom_seed_state() 45 state->s3 = __seed(i, 16U); in prandom_seed_state() 46 state->s4 = __seed(i, 128U); in prandom_seed_state()
|
| /include/drm/ |
| D | drm_atomic_state_helper.h | 43 void __drm_atomic_helper_crtc_state_reset(struct drm_crtc_state *state, 46 struct drm_crtc_state *state); 49 struct drm_crtc_state *state); 52 void __drm_atomic_helper_crtc_destroy_state(struct drm_crtc_state *state); 54 struct drm_crtc_state *state); 56 void __drm_atomic_helper_plane_state_reset(struct drm_plane_state *state, 59 struct drm_plane_state *state); 62 struct drm_plane_state *state); 65 void __drm_atomic_helper_plane_destroy_state(struct drm_plane_state *state); 67 struct drm_plane_state *state); [all …]
|
| D | drm_atomic.h | 162 struct drm_plane_state *state, *old_state, *new_state; member 167 struct drm_crtc_state *state, *old_state, *new_state; member 185 struct drm_connector_state *state, *old_state, *new_state; member 229 struct drm_private_state *state); 241 const struct drm_private_state *state); 301 struct drm_private_state *state; member 335 struct drm_atomic_state *state; member 345 struct drm_private_state *state, *old_state, *new_state; member 531 void drm_atomic_state_clear(struct drm_atomic_state *state); 540 drm_atomic_state_get(struct drm_atomic_state *state) in drm_atomic_state_get() argument [all …]
|
| D | drm_atomic_helper.h | 51 struct drm_atomic_state *state); 53 struct drm_atomic_state *state); 61 struct drm_atomic_state *state); 64 struct drm_atomic_state *state); 65 void drm_atomic_helper_commit_tail(struct drm_atomic_state *state); 66 void drm_atomic_helper_commit_tail_rpm(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, [all …]
|
| D | drm_format_helper.h | 63 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); 82 const struct drm_rect *clip, struct drm_format_conv_state *state); 85 const struct drm_rect *clip, struct drm_format_conv_state *state, 89 const struct drm_rect *clip, struct drm_format_conv_state *state); 92 const struct drm_rect *clip, struct drm_format_conv_state *state); 95 const struct drm_rect *clip, struct drm_format_conv_state *state); [all …]
|
| D | drm_modeset_helper_vtables.h | 358 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); 727 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); [all …]
|
| /include/rv/ |
| D | automata.h | 21 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/linux/pinctrl/ |
| D | machine.h | 80 #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) 108 #define PIN_MAP_CONFIGS_PIN(dev, state, pinctrl, pin, cfgs) \ argument 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) [all …]
|
| /include/media/ |
| D | v4l2-subdev.h | 846 struct v4l2_subdev_state *state, 849 struct v4l2_subdev_state *state, 852 struct v4l2_subdev_state *state, 855 struct v4l2_subdev_state *state, 858 struct v4l2_subdev_state *state, 861 struct v4l2_subdev_state *state, 864 struct v4l2_subdev_state *state, 867 struct v4l2_subdev_state *state, 870 struct v4l2_subdev_state *state, 896 struct v4l2_subdev_state *state, [all …]
|
| /include/soc/qcom/ |
| D | rpmh.h | 14 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
|