Home
last modified time | relevance | path

Searched refs:state (Results 2551 - 2575 of 20422) sorted by relevance

1...<<101102103104105106107108109110>>...817

/kernel/linux/linux-5.10/arch/x86/kernel/fpu/
H A Dsignal.c21 * Check for the presence of extended state information in the
45 * fpstate layout with out copying the extended state information in check_for_xstate()
61 struct xregs_state *xsave = &tsk->thread.fpu.state.xsave; in save_fsave_header()
105 * from the state in task struct) to the user buffers. in save_xstate_epilog()
111 * vector while saving the state to the user context. This will in save_xstate_epilog()
144 * Save the fpu, extended register state to the user signal frame.
147 * state is copied.
154 * If this fails then do the slow path where the FPU state is first saved to
155 * task's fpu->state and then copy it to the user frame pointed to by the
159 * the aligned state a
215 sanitize_restored_user_xstate(union fpregs_state *state, struct user_i387_ia32_struct *ia32_env, u64 user_xfeatures, int fx_only) sanitize_restored_user_xstate() argument
[all...]
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dia64-acpi-cpufreq.c3 * This file provides the ACPI based P-state support. This
38 unsigned int state; member
135 int ret, state = req->state; in processor_set_freq() local
142 if (state == data->acpi_data.state) { in processor_set_freq()
144 pr_debug("Called after resume, resetting to P%d\n", state); in processor_set_freq()
147 pr_debug("Already at target state (P%d)\n", state); in processor_set_freq()
153 data->acpi_data.state, stat in processor_set_freq()
[all...]
/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-bcm-iproc.c82 struct pwm_state *state) in iproc_pwmc_get_state()
91 state->enabled = true; in iproc_pwmc_get_state()
93 state->enabled = false; in iproc_pwmc_get_state()
96 state->polarity = PWM_POLARITY_NORMAL; in iproc_pwmc_get_state()
98 state->polarity = PWM_POLARITY_INVERSED; in iproc_pwmc_get_state()
102 state->period = 0; in iproc_pwmc_get_state()
103 state->duty_cycle = 0; in iproc_pwmc_get_state()
115 state->period = div64_u64(tmp, rate); in iproc_pwmc_get_state()
119 state->duty_cycle = div64_u64(tmp, rate); in iproc_pwmc_get_state()
123 const struct pwm_state *state) in iproc_pwmc_apply()
81 iproc_pwmc_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) iproc_pwmc_get_state() argument
122 iproc_pwmc_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) iproc_pwmc_apply() argument
[all...]
H A Dpwm-imx27.c122 struct pwm_device *pwm, struct pwm_state *state) in pwm_imx27_get_state()
136 state->enabled = true; in pwm_imx27_get_state()
138 state->enabled = false; in pwm_imx27_get_state()
142 state->polarity = PWM_POLARITY_NORMAL; in pwm_imx27_get_state()
145 state->polarity = PWM_POLARITY_INVERSED; in pwm_imx27_get_state()
158 state->period = DIV_ROUND_UP_ULL(tmp, pwm_clk); in pwm_imx27_get_state()
164 if (state->enabled) in pwm_imx27_get_state()
170 state->duty_cycle = DIV_ROUND_UP_ULL(tmp, pwm_clk); in pwm_imx27_get_state()
216 const struct pwm_state *state) in pwm_imx27_apply()
229 c = clkrate * state in pwm_imx27_apply()
121 pwm_imx27_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) pwm_imx27_get_state() argument
215 pwm_imx27_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) pwm_imx27_apply() argument
[all...]
H A Dpwm-lpss.c125 const struct pwm_state *state) in pwm_lpss_prepare_enable()
133 pwm_lpss_prepare(lpwm, pwm, state->duty_cycle, state->period); in pwm_lpss_prepare_enable()
144 const struct pwm_state *state) in pwm_lpss_apply()
149 if (state->enabled) { in pwm_lpss_apply()
152 ret = pwm_lpss_prepare_enable(lpwm, pwm, state); in pwm_lpss_apply()
156 ret = pwm_lpss_prepare_enable(lpwm, pwm, state); in pwm_lpss_apply()
167 struct pwm_state *state) in pwm_lpss_get_state()
185 state->period = NSEC_PER_SEC; in pwm_lpss_get_state()
187 state in pwm_lpss_get_state()
123 pwm_lpss_prepare_enable(struct pwm_lpss_chip *lpwm, struct pwm_device *pwm, const struct pwm_state *state) pwm_lpss_prepare_enable() argument
143 pwm_lpss_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) pwm_lpss_apply() argument
166 pwm_lpss_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) pwm_lpss_get_state() argument
[all...]
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-falcon.c114 } state = state_init; in falcon_sflash_xfer() local
117 switch (state) { in falcon_sflash_xfer()
146 state = state_command_prepare; in falcon_sflash_xfer()
155 state = state_write; in falcon_sflash_xfer()
160 state = state_read; in falcon_sflash_xfer()
165 state = state_disable_cs; in falcon_sflash_xfer()
167 state = state_end; in falcon_sflash_xfer()
205 state = state_write; in falcon_sflash_xfer()
208 state = state_disable_cs; in falcon_sflash_xfer()
214 state in falcon_sflash_xfer()
[all...]
/kernel/linux/linux-6.6/fs/fscache/
H A Dio.c18 * @want_state: The minimum state the object must be at
20 * See if the target cache object is at the specified minimum state of
27 enum fscache_cookie_state state; in fscache_wait_for_operation() local
35 state = fscache_cookie_state(cookie); in fscache_wait_for_operation()
36 _enter("c=%08x{%u},%x", cookie->debug_id, state, want_state); in fscache_wait_for_operation()
38 switch (state) { in fscache_wait_for_operation()
46 wait_var_event(&cookie->state, in fscache_wait_for_operation()
47 fscache_cookie_state(cookie) != state); in fscache_wait_for_operation()
67 * Begin an I/O operation on the cache, waiting till we reach the right state.
76 enum fscache_cookie_state state; in fscache_begin_operation() local
[all...]
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-falcon.c114 } state = state_init; in falcon_sflash_xfer() local
117 switch (state) { in falcon_sflash_xfer()
146 state = state_command_prepare; in falcon_sflash_xfer()
155 state = state_write; in falcon_sflash_xfer()
160 state = state_read; in falcon_sflash_xfer()
165 state = state_disable_cs; in falcon_sflash_xfer()
167 state = state_end; in falcon_sflash_xfer()
205 state = state_write; in falcon_sflash_xfer()
208 state = state_disable_cs; in falcon_sflash_xfer()
214 state in falcon_sflash_xfer()
[all...]
/kernel/linux/linux-6.6/drivers/pwm/
H A Dpwm-bcm-iproc.c72 struct pwm_state *state) in iproc_pwmc_get_state()
81 state->enabled = true; in iproc_pwmc_get_state()
83 state->enabled = false; in iproc_pwmc_get_state()
86 state->polarity = PWM_POLARITY_NORMAL; in iproc_pwmc_get_state()
88 state->polarity = PWM_POLARITY_INVERSED; in iproc_pwmc_get_state()
92 state->period = 0; in iproc_pwmc_get_state()
93 state->duty_cycle = 0; in iproc_pwmc_get_state()
105 state->period = div64_u64(tmp, rate); in iproc_pwmc_get_state()
109 state->duty_cycle = div64_u64(tmp, rate); in iproc_pwmc_get_state()
115 const struct pwm_state *state) in iproc_pwmc_apply()
71 iproc_pwmc_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) iproc_pwmc_get_state() argument
114 iproc_pwmc_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) iproc_pwmc_apply() argument
[all...]
H A Dpwm-lpss.c167 const struct pwm_state *state) in pwm_lpss_prepare_enable()
175 pwm_lpss_prepare(lpwm, pwm, state->duty_cycle, state->period); in pwm_lpss_prepare_enable()
186 const struct pwm_state *state) in pwm_lpss_apply()
191 if (state->enabled) { in pwm_lpss_apply()
194 ret = pwm_lpss_prepare_enable(lpwm, pwm, state); in pwm_lpss_apply()
198 ret = pwm_lpss_prepare_enable(lpwm, pwm, state); in pwm_lpss_apply()
209 struct pwm_state *state) in pwm_lpss_get_state()
227 state->period = NSEC_PER_SEC; in pwm_lpss_get_state()
229 state in pwm_lpss_get_state()
165 pwm_lpss_prepare_enable(struct pwm_lpss_chip *lpwm, struct pwm_device *pwm, const struct pwm_state *state) pwm_lpss_prepare_enable() argument
185 pwm_lpss_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) pwm_lpss_apply() argument
208 pwm_lpss_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) pwm_lpss_get_state() argument
[all...]
H A Dpwm-imx27.c122 struct pwm_device *pwm, struct pwm_state *state) in pwm_imx27_get_state()
136 state->enabled = true; in pwm_imx27_get_state()
138 state->enabled = false; in pwm_imx27_get_state()
142 state->polarity = PWM_POLARITY_NORMAL; in pwm_imx27_get_state()
145 state->polarity = PWM_POLARITY_INVERSED; in pwm_imx27_get_state()
158 state->period = DIV_ROUND_UP_ULL(tmp, pwm_clk); in pwm_imx27_get_state()
164 if (state->enabled) in pwm_imx27_get_state()
170 state->duty_cycle = DIV_ROUND_UP_ULL(tmp, pwm_clk); in pwm_imx27_get_state()
218 const struct pwm_state *state) in pwm_imx27_apply()
231 c = clkrate * state in pwm_imx27_apply()
121 pwm_imx27_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) pwm_imx27_get_state() argument
217 pwm_imx27_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) pwm_imx27_apply() argument
[all...]
H A Dpwm-twl.c283 const struct pwm_state *state) in twl4030_pwm_apply()
287 if (state->polarity != PWM_POLARITY_NORMAL) in twl4030_pwm_apply()
290 if (!state->enabled) { in twl4030_pwm_apply()
291 if (pwm->state.enabled) in twl4030_pwm_apply()
297 err = twl_pwm_config(pwm->chip, pwm, state->duty_cycle, state->period); in twl4030_pwm_apply()
301 if (!pwm->state.enabled) in twl4030_pwm_apply()
308 const struct pwm_state *state) in twl6030_pwm_apply()
312 if (state->polarity != PWM_POLARITY_NORMAL) in twl6030_pwm_apply()
315 if (!state in twl6030_pwm_apply()
282 twl4030_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) twl4030_pwm_apply() argument
307 twl6030_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) twl6030_pwm_apply() argument
[all...]
/kernel/linux/linux-6.6/drivers/clk/mediatek/
H A Dclk-fhctl.c118 struct fh_pll_state *state, unsigned int new_dds) in hopping_hw_flow()
125 if (state->ssc_rate) in hopping_hw_flow()
155 if (state->ssc_rate) in hopping_hw_flow()
156 fhctl_set_ssc_regs(pll, regs, data, state->ssc_rate); in hopping_hw_flow()
185 struct fh_pll_state *state = &fh->pllfh_data->state; in fhctl_hopping() local
202 ret = hopping_hw_flow(pll, regs, data, state, new_dds); in fhctl_hopping()
215 struct fh_pll_state *state = &fh->pllfh_data->state; in fhctl_ssc_enable() local
224 state in fhctl_ssc_enable()
116 hopping_hw_flow(struct mtk_clk_pll *pll, struct fh_pll_regs *regs, const struct fh_pll_data *data, struct fh_pll_state *state, unsigned int new_dds) hopping_hw_flow() argument
244 struct fh_pll_state state = fh->pllfh_data->state; fhctl_hw_init() local
[all...]
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dia64-acpi-cpufreq.c3 * This file provides the ACPI based P-state support. This
38 unsigned int state; member
135 int ret, state = req->state; in processor_set_freq() local
142 if (state == data->acpi_data.state) { in processor_set_freq()
144 pr_debug("Called after resume, resetting to P%d\n", state); in processor_set_freq()
147 pr_debug("Already at target state (P%d)\n", state); in processor_set_freq()
153 data->acpi_data.state, stat in processor_set_freq()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_kms.c69 static void komeda_kms_atomic_commit_hw_done(struct drm_atomic_state *state) in komeda_kms_atomic_commit_hw_done() argument
71 struct drm_device *dev = state->dev; in komeda_kms_atomic_commit_hw_done()
78 if (kcrtc->base.state->active) { in komeda_kms_atomic_commit_hw_done()
80 if (kcrtc->base.state->event) in komeda_kms_atomic_commit_hw_done()
81 flip_done = kcrtc->base.state->event->base.completion; in komeda_kms_atomic_commit_hw_done()
85 drm_atomic_helper_commit_hw_done(state); in komeda_kms_atomic_commit_hw_done()
155 struct drm_atomic_state *state = crtc_st->state; in komeda_crtc_normalize_zpos() local
169 /* This loop also added all effected planes into the new state */ in komeda_crtc_normalize_zpos()
171 plane_st = drm_atomic_get_plane_state(state, plan in komeda_crtc_normalize_zpos()
213 komeda_kms_check(struct drm_device *dev, struct drm_atomic_state *state) komeda_kms_check() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dcbs_sei_syntax_template.c21 SEIRawFillerPayload *current, SEIMessageState *state) in filler_payload()
28 current->payload_size = state->payload_size; in filler_payload()
39 SEIRawUserDataRegistered *current, SEIMessageState *state) in user_data_registered()
54 if (state->payload_size < i) { in user_data_registered()
59 current->data_length = state->payload_size - i; in user_data_registered()
71 SEIRawUserDataUnregistered *current, SEIMessageState *state) in user_data_unregistered()
78 if (state->payload_size < 16) { in user_data_unregistered()
83 current->data_length = state->payload_size - 16; in user_data_unregistered()
99 SEIRawMasteringDisplayColourVolume *current, SEIMessageState *state) in mastering_display_colour_volume()
121 SEIRawContentLightLevelInfo *current, SEIMessageState *state) in content_light_level_info()
19 filler_payload(CodedBitstreamContext *ctx, RWContext *rw, SEIRawFillerPayload *current, SEIMessageState *state) filler_payload() argument
37 user_data_registered(CodedBitstreamContext *ctx, RWContext *rw, SEIRawUserDataRegistered *current, SEIMessageState *state) user_data_registered() argument
69 user_data_unregistered(CodedBitstreamContext *ctx, RWContext *rw, SEIRawUserDataUnregistered *current, SEIMessageState *state) user_data_unregistered() argument
97 mastering_display_colour_volume(CodedBitstreamContext *ctx, RWContext *rw, SEIRawMasteringDisplayColourVolume *current, SEIMessageState *state) mastering_display_colour_volume() argument
119 content_light_level_info(CodedBitstreamContext *ctx, RWContext *rw, SEIRawContentLightLevelInfo *current, SEIMessageState *state) content_light_level_info() argument
133 alternative_transfer_characteristics(CodedBitstreamContext *ctx, RWContext *rw, SEIRawAlternativeTransferCharacteristics *current, SEIMessageState *state) alternative_transfer_characteristics() argument
155 SEIMessageState state = { message() local
[all...]
/third_party/eudev/src/collect/
H A Dcollect.c54 enum collect_state state; member
188 him->state = STATE_OLD; in checkout()
225 him->state = STATE_CONFIRMED; in invite()
253 him->state = STATE_NONE; in reject()
275 if (him->state == STATE_OLD) { in kickout()
301 if (him->state == STATE_NONE) { in missing()
335 const char *state = ""; in everybody() local
340 switch (him->state) { in everybody()
342 state = "none"; in everybody()
345 state in everybody()
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_qir_live_variables.c75 struct partial_update_state *state = in get_partial_update_state() local
78 _mesa_hash_table_insert(partial_update_ht, &inst->dst.index, state); in get_partial_update_state()
80 return state; in get_partial_update_state()
137 struct partial_update_state *state = in qir_setup_def() local
142 state->channels |= mask; in qir_setup_def()
148 if (state->insts[i] && in qir_setup_def()
149 state->insts[i]->cond == in qir_setup_def()
151 state->channels |= 1 << i; in qir_setup_def()
153 state->insts[i] = inst; in qir_setup_def()
157 if (state in qir_setup_def()
165 struct partial_update_state *state = entry->data; sf_state_clear() local
[all...]
/third_party/ltp/tools/sparse/sparse-src/Documentation/sphinx/
H A Dcdoc.py115 state = 'START'
129 #print('state %d: %4d: %s' % (state, n, l))
138 if state == 'START': ## one-line short description
140 state = 'PRE-TAGS'
141 elif state == 'PRE-TAGS': ## ignore empty line
144 state = 'TAGS'
145 elif state == 'TAGS': ## match the '@tagnames'
156 state = 'PRE-DESC'
157 elif state
[all...]
/third_party/lzma/C/
H A DBcj2Enc.c25 p->state = BCJ2_ENC_STATE_ORIG; in Bcj2Enc_Init()
66 p->state = BCJ2_STREAM_RC; in Bcj2_RangeEnc_ShiftLow()
127 if (Bcj2Enc_Encode_2() exits with (p->state == BCJ2_ENC_STATE_ORIG))
160 const unsigned state = p->state; in Bcj2Enc_Encode_2() local
161 if (BCJ2_IS_32BIT_STREAM(state)) in Bcj2Enc_Encode_2()
163 Byte *cur = p->bufs[state]; in Bcj2Enc_Encode_2()
164 if (cur == p->lims[state]) in Bcj2Enc_Encode_2()
167 p->bufs[state] = cur + 4; in Bcj2Enc_Encode_2()
170 p->state in Bcj2Enc_Encode_2()
[all...]
/third_party/python/Modules/_blake2/
H A Dblake2s_impl.c44 blake2s_state state; member
200 /* Initialize hash state. */ in py_blake2s_new_impl()
201 if (blake2s_init_param(&self->state, &self->param) < 0) { in py_blake2s_new_impl()
203 "error initializing hash state"); in py_blake2s_new_impl()
208 self->state.last_node = last_node; in py_blake2s_new_impl()
215 blake2s_update(&self->state, block, sizeof(block)); in py_blake2s_new_impl()
225 blake2s_update(&self->state, buf.buf, buf.len); in py_blake2s_new_impl()
228 blake2s_update(&self->state, buf.buf, buf.len); in py_blake2s_new_impl()
259 cpy->state = self->state; in _blake2_blake2s_copy_impl()
[all...]
H A Dblake2b_impl.c44 blake2b_state state; member
200 /* Initialize hash state. */ in py_blake2b_new_impl()
201 if (blake2b_init_param(&self->state, &self->param) < 0) { in py_blake2b_new_impl()
203 "error initializing hash state"); in py_blake2b_new_impl()
208 self->state.last_node = last_node; in py_blake2b_new_impl()
215 blake2b_update(&self->state, block, sizeof(block)); in py_blake2b_new_impl()
225 blake2b_update(&self->state, buf.buf, buf.len); in py_blake2b_new_impl()
228 blake2b_update(&self->state, buf.buf, buf.len); in py_blake2b_new_impl()
259 cpy->state = self->state; in _blake2_blake2b_copy_impl()
[all...]
/third_party/pulseaudio/src/modules/
H A Dmodule-augment-properties.c77 static int parse_properties(pa_config_parser_state *state) { in parse_properties() argument
81 pa_assert(state); in parse_properties()
83 r = state->userdata; in parse_properties()
85 if (!(n = pa_proplist_from_string(state->rvalue))) in parse_properties()
97 static int parse_categories(pa_config_parser_state *state) { in parse_categories() argument
102 pa_assert(state); in parse_categories()
104 r = state->userdata; in parse_categories()
106 while ((c = pa_split(state->rvalue, ";", &split_state))) { in parse_categories()
122 static int check_type(pa_config_parser_state *state) { in check_type() argument
123 pa_assert(state); in check_type()
128 catch_all(pa_config_parser_state *state) catch_all() argument
185 const char *state = NULL; update_rule() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/
H A Dhash_benchmark.cc34 void RunBenchmark(benchmark::State& state, T value) { in RunBenchmark() argument
36 for (auto _ : state) { in RunBenchmark()
52 friend H AbslHashValue(H state, const TypeErasedInterface& wrapper) { in AbslHashValue() argument
53 state = H::combine(std::move(state), std::type_index(typeid(wrapper))); in AbslHashValue()
54 wrapper.HashValue(absl::HashState::Create(&state)); in AbslHashValue()
55 return state; in AbslHashValue()
59 virtual void HashValue(absl::HashState state) const = 0;
69 void HashValue(absl::HashState state) const override {
70 absl::HashState::combine(std::move(state), value
[all...]
/kernel/linux/linux-5.10/drivers/soc/ti/
H A Dk3-ringacc.c113 * struct k3_ring_state - Internal state tracking structure
158 struct k3_ring_state state; member
392 memset(&ring->state, 0, sizeof(ring->state)); in k3_ringacc_ring_reset()
448 * This will wrap the internal UDMAP ring state occupancy in k3_ringacc_ring_reset_dma()
642 memset(&ring->state, 0, sizeof(ring->state)); in k3_ringacc_ring_cfg()
713 if (!ring->state.free) in k3_ringacc_ring_get_free()
714 ring->state.free = ring->size - readl(&ring->rt->occ); in k3_ringacc_ring_get_free()
716 return ring->state in k3_ringacc_ring_get_free()
[all...]

Completed in 17 milliseconds

1...<<101102103104105106107108109110>>...817