Home
last modified time | relevance | path

Searched refs:state (Results 2601 - 2625 of 20422) sorted by relevance

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

/third_party/python/Python/
H A DPython-tokenize.c132 tokenize_state *state = get_tokenize_state(m); in tokenizemodule_exec() local
133 if (state == NULL) { in tokenizemodule_exec()
137 state->TokenizerIter = (PyTypeObject *)PyType_FromModuleAndSpec(m, &tokenizeriter_spec, NULL); in tokenizemodule_exec()
138 if (state->TokenizerIter == NULL) { in tokenizemodule_exec()
141 if (PyModule_AddType(m, state->TokenizerIter) < 0) { in tokenizemodule_exec()
160 tokenize_state *state = get_tokenize_state(m); in tokenizemodule_traverse() local
161 Py_VISIT(state->TokenizerIter); in tokenizemodule_traverse()
168 tokenize_state *state = get_tokenize_state(m); in tokenizemodule_clear() local
169 Py_CLEAR(state->TokenizerIter); in tokenizemodule_clear()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dranden_benchmarks.cc43 // Local state parameters.
50 mutable uint64_t state[kStateSizeT] = {}; member
57 this->Absorb(seed, state); in operator ()()
59 return state[0]; in operator ()()
65 mutable uint64_t state[kStateSizeT]; member
66 GenerateFn() { std::memset(state, 0, sizeof(state)); } in GenerateFn()
68 static constexpr size_t bytes() { return sizeof(state); } in bytes()
73 this->Generate(keys, state); in operator ()()
75 return state[ in operator ()()
[all...]
/third_party/spirv-tools/utils/
H A Dcheck_copyright.py150 state = 0
154 if state == 0:
156 state = 1
164 state = 1
165 elif state == 1:
167 state = 2
172 state = 9
173 elif state == 2:
177 state = 9
/third_party/python/Modules/
H A D_ssl.c294 /* Cached module state, also used in SSLSocket and SSLSession code. */
295 _sslmodulestate *state; member
442 fill_and_set_sslerror(_sslmodulestate *state, in fill_and_set_sslerror() argument
458 reason_obj = PyDict_GetItemWithError(state->err_codes_to_names, key); in fill_and_set_sslerror()
466 lib_obj = PyDict_GetItemWithError(state->lib_codes_to_names, key); in fill_and_set_sslerror()
478 if ((sslsock != NULL) && (type == state->PySSLCertVerificationErrorObject)) { in fill_and_set_sslerror()
542 if (PyObject_SetAttr(err_value, state->str_reason, reason_obj)) in fill_and_set_sslerror()
547 if (PyObject_SetAttr(err_value, state->str_library, lib_obj)) in fill_and_set_sslerror()
550 if ((sslsock != NULL) && (type == state->PySSLCertVerificationErrorObject)) { in fill_and_set_sslerror()
552 if (PyObject_SetAttr(err_value, state in fill_and_set_sslerror()
589 _sslmodulestate *state = get_state_sock(sslsock); PySSL_SetError() local
692 _setSSLError(_sslmodulestate *state, const char *errstr, int errcode, const char *filename, int lineno) _setSSLError() argument
1013 _asn1obj2py(_sslmodulestate *state, const ASN1_OBJECT *name, int no_name) _asn1obj2py() argument
1057 _create_tuple_for_attribute(_sslmodulestate *state, ASN1_OBJECT *name, ASN1_STRING *value) _create_tuple_for_attribute() argument
1087 _create_tuple_for_X509_NAME(_sslmodulestate *state, X509_NAME *xname) _create_tuple_for_X509_NAME() argument
1186 _get_peer_alt_names(_sslmodulestate *state, X509 *certificate) _get_peer_alt_names() argument
1565 _decode_certificate(_sslmodulestate *state, X509 *certificate) _decode_certificate() argument
1736 _certificate_to_der(_sslmodulestate *state, X509 *certificate) _certificate_to_der() argument
1771 _sslmodulestate *state = get_ssl_state(module); _ssl__test_decode_cert_impl() local
4880 _sslmodulestate *state = get_state_mbio(self); _ssl_MemoryBIO_read_impl() local
4927 _sslmodulestate *state = get_state_mbio(self); _ssl_MemoryBIO_write_impl() local
5329 asn1obj2py(_sslmodulestate *state, ASN1_OBJECT *obj) asn1obj2py() argument
5745 _sslmodulestate *state = get_ssl_state(module); sslmodule_init_exceptions() local
5822 _sslmodulestate *state = get_ssl_state(module); sslmodule_init_socketapi() local
6092 _sslmodulestate *state = get_ssl_state(module); sslmodule_init_errorcodes() local
6202 _sslmodulestate *state = get_ssl_state(module); sslmodule_init_types() local
6250 _sslmodulestate *state = get_ssl_state(module); sslmodule_init_strings() local
6284 _sslmodulestate *state = get_ssl_state(m); sslmodule_traverse() local
6309 _sslmodulestate *state = get_ssl_state(m); sslmodule_clear() local
[all...]
/kernel/linux/linux-6.6/arch/riscv/kvm/
H A Daia_aplic.c20 u32 state; member
122 ret = (irqd->state & APLIC_IRQ_STATE_PENDING) ? true : false; in aplic_read_pending()
146 irqd->state |= APLIC_IRQ_STATE_PENDING; in aplic_write_pending()
148 irqd->state &= ~APLIC_IRQ_STATE_PENDING; in aplic_write_pending()
165 ret = (irqd->state & APLIC_IRQ_STATE_ENABLED) ? true : false; in aplic_read_enabled()
182 irqd->state |= APLIC_IRQ_STATE_ENABLED; in aplic_write_enabled()
184 irqd->state &= ~APLIC_IRQ_STATE_ENABLED; in aplic_write_enabled()
199 ret = (irqd->state & APLIC_IRQ_STATE_INPUT) ? true : false; in aplic_read_input()
237 if ((irqd->state & APLIC_IRQ_STATE_ENPEND) == in aplic_update_irq_range()
239 irqd->state in aplic_update_irq_range()
[all...]
/kernel/linux/linux-5.10/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c230 pmc_usb_mux_dp(struct pmc_usb_port *port, struct typec_mux_state *state) in pmc_usb_mux_dp() argument
232 struct typec_displayport_data *data = state->data; in pmc_usb_mux_dp()
243 return pmc_usb_mux_dp_hpd(port, state->data); in pmc_usb_mux_dp()
253 req.mode_data |= (state->mode - TYPEC_STATE_MODAL) << in pmc_usb_mux_dp()
261 return pmc_usb_mux_dp_hpd(port, state->data); in pmc_usb_mux_dp()
267 pmc_usb_mux_tbt(struct pmc_usb_port *port, struct typec_mux_state *state) in pmc_usb_mux_tbt() argument
269 struct typec_thunderbolt_data *data = state->data; in pmc_usb_mux_tbt()
302 pmc_usb_mux_usb4(struct pmc_usb_port *port, struct typec_mux_state *state) in pmc_usb_mux_usb4() argument
304 struct enter_usb_data *data = state->data; in pmc_usb_mux_usb4()
343 struct typec_mux_state *state) in pmc_usb_mux_safe_state()
342 pmc_usb_mux_safe_state(struct pmc_usb_port *port, struct typec_mux_state *state) pmc_usb_mux_safe_state() argument
417 pmc_usb_mux_set(struct typec_mux *mux, struct typec_mux_state *state) pmc_usb_mux_set() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dcrc.c234 void nv50_crc_atomic_stop_reporting(struct drm_atomic_state *state) in nv50_crc_atomic_stop_reporting() argument
240 for_each_new_crtc_in_state(state, crtc, crtc_state, i) { in nv50_crc_atomic_stop_reporting()
266 void nv50_crc_atomic_init_notifier_contexts(struct drm_atomic_state *state) in nv50_crc_atomic_init_notifier_contexts() argument
272 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in nv50_crc_atomic_init_notifier_contexts()
288 void nv50_crc_atomic_release_notifier_contexts(struct drm_atomic_state *state) in nv50_crc_atomic_release_notifier_contexts() argument
291 nv50_disp(state->dev)->core->func->crc; in nv50_crc_atomic_release_notifier_contexts()
296 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in nv50_crc_atomic_release_notifier_contexts()
313 void nv50_crc_atomic_start_reporting(struct drm_atomic_state *state) in nv50_crc_atomic_start_reporting() argument
319 for_each_new_crtc_in_state(state, crtc, crtc_state, i) { in nv50_crc_atomic_start_reporting()
349 struct nv50_atom *atom = nv50_atom(asyh->state in nv50_crc_atomic_check_head()
563 struct drm_atomic_state *state; nv50_crc_set_source() local
[all...]
/kernel/linux/linux-6.6/fs/btrfs/tests/
H A Dextent-io-tests.c63 #define PRINT_ONE_FLAG(state, dest, cur, name) \
65 if (state->state & EXTENT_##name) \
70 static void extent_flag_to_str(const struct extent_state *state, char *dest) in extent_flag_to_str() argument
75 PRINT_ONE_FLAG(state, dest, cur, DIRTY); in extent_flag_to_str()
76 PRINT_ONE_FLAG(state, dest, cur, UPTODATE); in extent_flag_to_str()
77 PRINT_ONE_FLAG(state, dest, cur, LOCKED); in extent_flag_to_str()
78 PRINT_ONE_FLAG(state, dest, cur, NEW); in extent_flag_to_str()
79 PRINT_ONE_FLAG(state, dest, cur, DELALLOC); in extent_flag_to_str()
80 PRINT_ONE_FLAG(state, des in extent_flag_to_str()
98 struct extent_state *state; dump_extent_io_tree() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c270 pmc_usb_mux_dp(struct pmc_usb_port *port, struct typec_mux_state *state) in pmc_usb_mux_dp() argument
272 struct typec_displayport_data *data = state->data; in pmc_usb_mux_dp()
283 return pmc_usb_mux_dp_hpd(port, state->data); in pmc_usb_mux_dp()
293 req.mode_data |= (state->mode - TYPEC_STATE_MODAL) << in pmc_usb_mux_dp()
301 return pmc_usb_mux_dp_hpd(port, state->data); in pmc_usb_mux_dp()
307 pmc_usb_mux_tbt(struct pmc_usb_port *port, struct typec_mux_state *state) in pmc_usb_mux_tbt() argument
309 struct typec_thunderbolt_data *data = state->data; in pmc_usb_mux_tbt()
355 pmc_usb_mux_usb4(struct pmc_usb_port *port, struct typec_mux_state *state) in pmc_usb_mux_usb4() argument
357 struct enter_usb_data *data = state->data; in pmc_usb_mux_usb4()
410 struct typec_mux_state *state) in pmc_usb_mux_safe_state()
409 pmc_usb_mux_safe_state(struct pmc_usb_port *port, struct typec_mux_state *state) pmc_usb_mux_safe_state() argument
484 pmc_usb_mux_set(struct typec_mux_dev *mux, struct typec_mux_state *state) pmc_usb_mux_set() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/mxsfb/
H A Dmxsfb_kms.c55 const u32 format = mxsfb->crtc.primary->state->fb->format->format; in mxsfb_set_formats()
102 struct drm_display_mode *m = &mxsfb->crtc.state->adjusted_mode; in mxsfb_set_mode()
283 struct drm_display_mode *m = &mxsfb->crtc.state->adjusted_mode; in mxsfb_crtc_mode_set_nofb()
312 struct drm_atomic_state *state) in mxsfb_crtc_atomic_check()
314 struct drm_crtc_state *crtc_state = drm_atomic_get_new_crtc_state(state, in mxsfb_crtc_atomic_check()
324 return drm_atomic_add_affected_planes(state, crtc); in mxsfb_crtc_atomic_check()
328 struct drm_atomic_state *state) in mxsfb_crtc_atomic_flush()
332 event = crtc->state->event; in mxsfb_crtc_atomic_flush()
333 crtc->state->event = NULL; in mxsfb_crtc_atomic_flush()
347 struct drm_atomic_state *state) in mxsfb_crtc_atomic_enable()
311 mxsfb_crtc_atomic_check(struct drm_crtc *crtc, struct drm_atomic_state *state) mxsfb_crtc_atomic_check() argument
327 mxsfb_crtc_atomic_flush(struct drm_crtc *crtc, struct drm_atomic_state *state) mxsfb_crtc_atomic_flush() argument
346 mxsfb_crtc_atomic_enable(struct drm_crtc *crtc, struct drm_atomic_state *state) mxsfb_crtc_atomic_enable() argument
400 mxsfb_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_atomic_state *state) mxsfb_crtc_atomic_disable() argument
521 mxsfb_plane_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state) mxsfb_plane_atomic_check() argument
538 mxsfb_plane_primary_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) mxsfb_plane_primary_atomic_update() argument
551 mxsfb_plane_overlay_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) mxsfb_plane_overlay_atomic_update() argument
614 mxsfb_plane_overlay_atomic_disable(struct drm_plane *plane, struct drm_atomic_state *state) mxsfb_plane_overlay_atomic_disable() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Dcrc.c238 void nv50_crc_atomic_stop_reporting(struct drm_atomic_state *state) in nv50_crc_atomic_stop_reporting() argument
244 for_each_new_crtc_in_state(state, crtc, crtc_state, i) { in nv50_crc_atomic_stop_reporting()
270 void nv50_crc_atomic_init_notifier_contexts(struct drm_atomic_state *state) in nv50_crc_atomic_init_notifier_contexts() argument
276 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in nv50_crc_atomic_init_notifier_contexts()
292 void nv50_crc_atomic_release_notifier_contexts(struct drm_atomic_state *state) in nv50_crc_atomic_release_notifier_contexts() argument
295 nv50_disp(state->dev)->core->func->crc; in nv50_crc_atomic_release_notifier_contexts()
300 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in nv50_crc_atomic_release_notifier_contexts()
317 void nv50_crc_atomic_start_reporting(struct drm_atomic_state *state) in nv50_crc_atomic_start_reporting() argument
323 for_each_new_crtc_in_state(state, crtc, crtc_state, i) { in nv50_crc_atomic_start_reporting()
353 struct nv50_atom *atom = nv50_atom(asyh->state in nv50_crc_atomic_check_head()
541 struct drm_atomic_state *state; nv50_crc_set_source() local
[all...]
H A Dhead.c58 asyh->state.gamma_lut, in nv50_head_flush_set_wndw()
125 struct drm_connector *connector = asyc->state.connector; in nv50_head_atomic_check_view()
126 struct drm_display_mode *omode = &asyh->state.adjusted_mode; in nv50_head_atomic_check_view()
127 struct drm_display_mode *umode = &asyh->state.mode; in nv50_head_atomic_check_view()
232 struct drm_property_blob *olut = asyh->state.gamma_lut, in nv50_head_atomic_check_lut()
233 *ilut = asyh->state.degamma_lut; in nv50_head_atomic_check_lut()
285 struct drm_display_mode *mode = &asyh->state.adjusted_mode; in nv50_head_atomic_check_mode()
333 nv50_head_atomic_check(struct drm_crtc *crtc, struct drm_atomic_state *state) in nv50_head_atomic_check() argument
335 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, in nv50_head_atomic_check()
337 struct drm_crtc_state *crtc_state = drm_atomic_get_new_crtc_state(state, in nv50_head_atomic_check()
460 nv50_head_atomic_destroy_state(struct drm_crtc *crtc, struct drm_crtc_state *state) nv50_head_atomic_destroy_state() argument
[all...]
/kernel/linux/linux-6.6/sound/soc/sof/intel/
H A Dhda-dsp.c126 /* set reset state */ in hda_dsp_core_stall_reset()
159 /* leave reset state */ in hda_dsp_core_run()
310 /* make sure we are in OFF state */ in hda_dsp_core_reset_power_down()
416 /* Confirm d0i3 state changed with paranoia check */ in hda_dsp_update_d0i3c_register()
429 * work in d0i3 state and playback is enabled
463 * Sanity check for illegal state transitions in hda_dsp_set_D0_state()
469 switch (sdev->dsp_power_state.state) { in hda_dsp_set_D0_state()
478 sdev->dsp_power_state.state, target_state->state); in hda_dsp_set_D0_state()
510 * Notify the DSP of the state chang in hda_dsp_set_D0_state()
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_dsnoop.c157 dsnoop->state = SND_PCM_STATE_XRUN; in snd_pcm_dsnoop_sync_ptr()
173 snd_pcm_state_t state; in snd_pcm_dsnoop_status() local
175 switch(dsnoop->state) { in snd_pcm_dsnoop_status()
185 state = snd_pcm_state(dsnoop->spcm); in snd_pcm_dsnoop_status()
186 status->state = state == SND_PCM_STATE_RUNNING ? dsnoop->state : state; in snd_pcm_dsnoop_status()
202 return dsnoop->state; in snd_pcm_dsnoop_state()
210 switch(dsnoop->state) { in snd_pcm_dsnoop_delay()
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djdhuff.c16 * up to the start of the current MCU. To do this, we copy state variables
50 savable_state saved; /* Other state at start of MCU */
52 /* These fields are NOT loaded into local working state. */
123 /* Initialize bitread state variables */ in start_pass_huff_decoder()
266 * but are returned in the corresponding fields of the state struct.
285 jpeg_fill_bit_buffer(bitread_working_state *state, in GLOBAL()
290 /* Copy heavily used state fields into locals (hopefully registers) */ in GLOBAL()
291 register const JOCTET *next_input_byte = state->next_input_byte; in GLOBAL()
292 register size_t bytes_in_buffer = state->bytes_in_buffer; in GLOBAL()
293 j_decompress_ptr cinfo = state in GLOBAL()
434 jpeg_huff_decode(bitread_working_state *state, register bit_buf_type get_buffer, register int bits_left, d_derived_tbl *htbl, int min_bits) jpeg_huff_decode() argument
555 savable_state state; LOCAL() local
661 savable_state state; LOCAL() local
[all...]
/third_party/pulseaudio/src/modules/
H A Dmodule-virtual-source.c116 static int sink_set_state_in_main_thread_cb(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state_in_main_thread_cb() argument
122 if (!PA_SINK_IS_LINKED(state)) { in sink_set_state_in_main_thread_cb()
126 if (state == PA_SINK_RUNNING) { in sink_set_state_in_main_thread_cb()
165 if (!PA_SOURCE_IS_LINKED(u->source->thread_info.state) || in source_process_msg_cb()
166 !PA_SOURCE_OUTPUT_IS_LINKED(u->source_output->thread_info.state)) { in source_process_msg_cb()
190 static int source_set_state_in_main_thread_cb(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause) { in source_set_state_in_main_thread_cb() argument
196 if (!PA_SOURCE_IS_LINKED(state) || in source_set_state_in_main_thread_cb()
197 !PA_SOURCE_OUTPUT_IS_LINKED(u->source_output->state)) in source_set_state_in_main_thread_cb()
200 pa_source_output_cork(u->source_output, state == PA_SOURCE_SUSPENDED); in source_set_state_in_main_thread_cb()
211 if (!PA_SOURCE_IS_LINKED(u->source->thread_info.state) || in source_update_requested_latency_cb()
406 source_output_state_change_cb(pa_source_output *o, pa_source_output_state_t state) source_output_state_change_cb() argument
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fBooleanStateQueryTests.cpp96 const GLboolean state = glIsEnabled(name); in verifyBoolean() local
99 if (state != expectedGLState) in verifyBoolean()
144 StateQueryMemoryWriteGuard<GLboolean> state; in verifyBoolean()
145 glGetBooleanv(name, &state); in verifyBoolean()
147 if (!state.verifyValidity(testCtx)) in verifyBoolean()
152 if (state != expectedGLState) in verifyBoolean()
198 StateQueryMemoryWriteGuard<GLboolean> state; in verifyBooleanAnything()
199 glGetBooleanv(name, &state); in verifyBooleanAnything()
201 state.verifyValidity(testCtx); in verifyBooleanAnything()
225 StateQueryMemoryWriteGuard<GLint> state; in verifyBoolean()
[all...]
/third_party/skia/tests/
H A DGrClipStackTest.cpp90 // The input shapes+state to ClipStack
104 // Update the default matrix, aa, and op state for elements that are added.
112 // matrix, aa, and op state.
178 TestCaseBuilder& state(ClipStack::ClipState state) { in state() argument
179 fExpectedState = state; in state()
342 "%s, clip state expected %d, actual %d", in run()
390 "%s, restoring an empty save record should not change clip state: " in run()
397 // Should be wide open if everything is restored to base state in run()
500 // Tests that the initialized state o
1644 ClipStack::ClipState state = ClipStack::ClipState::kComplex; DEF_TEST() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_gem.c56 vc4_free_hang_state(struct drm_device *dev, struct vc4_hang_state *state) in vc4_free_hang_state() argument
60 for (i = 0; i < state->user_state.bo_count; i++) in vc4_free_hang_state()
61 drm_gem_object_put(state->bo[i]); in vc4_free_hang_state()
63 kfree(state); in vc4_free_hang_state()
73 struct drm_vc4_get_hang_state *state; in vc4_get_hang_state_ioctl() local
90 state = &kernel_state->user_state; in vc4_get_hang_state_ioctl()
95 if (get_state->bo_count < state->bo_count) { in vc4_get_hang_state_ioctl()
96 get_state->bo_count = state->bo_count; in vc4_get_hang_state_ioctl()
105 state->bo = get_state->bo; in vc4_get_hang_state_ioctl()
106 memcpy(get_state, state, sizeo in vc4_get_hang_state_ioctl()
152 struct drm_vc4_get_hang_state *state; vc4_save_hang_state() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
H A Dvc4_gem.c56 vc4_free_hang_state(struct drm_device *dev, struct vc4_hang_state *state) in vc4_free_hang_state() argument
60 for (i = 0; i < state->user_state.bo_count; i++) in vc4_free_hang_state()
61 drm_gem_object_put(state->bo[i]); in vc4_free_hang_state()
63 kfree(state); in vc4_free_hang_state()
73 struct drm_vc4_get_hang_state *state; in vc4_get_hang_state_ioctl() local
93 state = &kernel_state->user_state; in vc4_get_hang_state_ioctl()
98 if (get_state->bo_count < state->bo_count) { in vc4_get_hang_state_ioctl()
99 get_state->bo_count = state->bo_count; in vc4_get_hang_state_ioctl()
108 state->bo = get_state->bo; in vc4_get_hang_state_ioctl()
109 memcpy(get_state, state, sizeo in vc4_get_hang_state_ioctl()
155 struct drm_vc4_get_hang_state *state; vc4_save_hang_state() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c393 * Sets the segment register pointed to by @segp to an unusable state.
603 /* Setup the MP state */ in vm_arch_vcpu_add()
939 struct kvm_x86_state *state) in vcpu_save_xsave_state()
944 state->xsave = malloc(size); in vcpu_save_xsave_state()
945 vcpu_xsave2_get(vcpu, state->xsave); in vcpu_save_xsave_state()
947 state->xsave = malloc(sizeof(struct kvm_xsave)); in vcpu_save_xsave_state()
948 vcpu_xsave_get(vcpu, state->xsave); in vcpu_save_xsave_state()
955 struct kvm_x86_state *state; in vcpu_save_state() local
962 TEST_ASSERT(nested_size <= sizeof(state->nested_), in vcpu_save_state()
963 "Nested state siz in vcpu_save_state()
938 vcpu_save_xsave_state(struct kvm_vcpu *vcpu, struct kvm_x86_state *state) vcpu_save_xsave_state() argument
1009 vcpu_load_state(struct kvm_vcpu *vcpu, struct kvm_x86_state *state) vcpu_load_state() argument
1027 kvm_x86_state_cleanup(struct kvm_x86_state *state) kvm_x86_state_cleanup() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_vbo.c84 so->element[i].state = nvc0_vertex_format[fmt].vtx; in nvc0_vertex_state_create()
86 if (!so->element[i].state) { in nvc0_vertex_state_create()
97 so->element[i].state = nvc0_vertex_format[fmt].vtx; in nvc0_vertex_state_create()
136 so->element[i].state_alt = so->element[i].state; in nvc0_vertex_state_create()
140 so->element[i].state |= i << NVC0_3D_VERTEX_ATTRIB_FORMAT_BUFFER__SHIFT; in nvc0_vertex_state_create()
154 so->element[i].state &= ~NVC0_3D_VERTEX_ATTRIB_FORMAT_BUFFER__MASK; in nvc0_vertex_state_create()
155 so->element[i].state |= b << NVC0_3D_VERTEX_ATTRIB_FORMAT_BUFFER__SHIFT; in nvc0_vertex_state_create()
156 so->element[i].state |= s << NVC0_3D_VERTEX_ATTRIB_FORMAT_OFFSET__SHIFT; in nvc0_vertex_state_create()
306 mask = nvc0->state.constant_elts; in nvc0_update_user_vbufs_shared()
330 if (nvc0->state in nvc0_validate_vertex_buffers()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dnv50.c83 const u32 state = 0x80000000 | (0x00000001 * !!pu) << shift; in nv50_pior_power() local
87 nvkm_mask(device, 0x61e004 + poff, field, state); in nv50_pior_power()
92 nv50_pior_depth(struct nvkm_ior *ior, struct nvkm_ior_state *state, u32 ctrl) in nv50_pior_depth() argument
97 if (state->head && state == &ior->asy) { in nv50_pior_depth()
98 struct nvkm_head *head = nvkm_head_find(ior->disp, __ffs(state->head)); in nv50_pior_depth()
101 struct nvkm_head_state *state = &head->asy; in nv50_pior_depth() local
103 case 6: state->or.depth = 30; break; in nv50_pior_depth()
104 case 5: state->or.depth = 24; break; in nv50_pior_depth()
105 case 2: state in nv50_pior_depth()
117 nv50_pior_state(struct nvkm_ior *pior, struct nvkm_ior_state *state) nv50_pior_state() argument
184 const u32 state = 0x80000000 | (0x00000001 * !!pu) << shift; nv50_sor_power() local
198 nv50_sor_state(struct nvkm_ior *sor, struct nvkm_ior_state *state) nv50_sor_state() argument
284 const u32 state = 0x80000000 | (0x00000040 * ! pu | nv50_dac_power() local
296 nv50_dac_state(struct nvkm_ior *dac, struct nvkm_ior_state *state) nv50_dac_state() argument
372 nv50_head_state(struct nvkm_head *head, struct nvkm_head_state *state) nv50_head_state() argument
[all...]
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dtraps.c60 struct unwind_state state; in show_backtrace() local
67 for (unwind_start(&state, task, pregs); in show_backtrace()
68 !unwind_done(&state); unwind_next_frame(&state)) { in show_backtrace()
69 addr = unwind_get_return_address(&state); in show_backtrace()
485 irqentry_state_t state = irqentry_enter(regs); in do_fpe() local
505 irqentry_exit(regs, state); in do_fpe()
510 irqentry_state_t state = irqentry_enter(regs); in do_ade() local
515 irqentry_exit(regs, state); in do_ade()
524 irqentry_state_t state in do_ale() local
589 irqentry_state_t state = irqentry_enter(regs); do_bce() local
677 irqentry_state_t state = irqentry_enter(regs); do_bp() local
758 irqentry_state_t state = irqentry_enter(regs); do_watch() local
814 irqentry_state_t state = irqentry_enter(regs); do_ri() local
906 irqentry_state_t state = irqentry_enter(regs); do_fpu() local
923 irqentry_state_t state = irqentry_enter(regs); do_lsx() local
945 irqentry_state_t state = irqentry_enter(regs); do_lasx() local
980 irqentry_state_t state = irqentry_enter(regs); do_lbt() local
1011 irqentry_state_t state = irqentry_enter(regs); do_reserved() local
1052 irqentry_state_t state = irqentry_enter(regs); do_vint() local
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A Dgfx8_cmd_buffer.c38 if (cmd_buffer->state.pma_fix_enabled == enable) in cmd_buffer_enable_pma_fix()
41 cmd_buffer->state.pma_fix_enabled = enable; in cmd_buffer_enable_pma_fix()
157 if (!cmd_buffer->state.hiz_enabled) in want_depth_pma_fix()
161 struct anv_graphics_pipeline *pipeline = cmd_buffer->state.gfx.pipeline; in want_depth_pma_fix()
260 if (!cmd_buffer->state.hiz_enabled) in want_stencil_pma_fix()
265 cmd_buffer->state.gfx.depth_att.iview; in want_stencil_pma_fix()
269 struct anv_graphics_pipeline *pipeline = cmd_buffer->state.gfx.pipeline; in want_stencil_pma_fix()
318 struct anv_graphics_pipeline *pipeline = cmd_buffer->state.gfx.pipeline; in cmd_buffer_flush_dynamic_state()
328 if ((cmd_buffer->state.gfx.dirty & ANV_CMD_DIRTY_PIPELINE) || in cmd_buffer_flush_dynamic_state()
347 if ((cmd_buffer->state in cmd_buffer_flush_dynamic_state()
643 const struct anv_cmd_graphics_state *state = &cmd_buffer->state.gfx; cmd_buffer_flush_dynamic_state() local
[all...]

Completed in 28 milliseconds

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