/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-i2c.c | 37 d->state |= DVB_USB_STATE_I2C; in dvb_usb_i2c_init() 45 if (d->state & DVB_USB_STATE_I2C) in dvb_usb_i2c_exit() 47 d->state &= ~DVB_USB_STATE_I2C; in dvb_usb_i2c_exit()
|
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-i2c.c | 37 d->state |= DVB_USB_STATE_I2C; in dvb_usb_i2c_init() 45 if (d->state & DVB_USB_STATE_I2C) in dvb_usb_i2c_exit() 47 d->state &= ~DVB_USB_STATE_I2C; in dvb_usb_i2c_exit()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | channels.c | 23 return test_bit(MLX5E_CHANNEL_STATE_XSK, c->state); in mlx5e_channels_is_xsk() 37 WARN_ON_ONCE(!test_bit(MLX5E_CHANNEL_STATE_XSK, c->state)); in mlx5e_channels_get_xsk_rqn() 46 if (!c || !test_bit(MLX5E_PTP_STATE_RX, c->state)) in mlx5e_channels_get_ptp_rqn()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt7601u/ |
H A D | core.c | 15 if (test_bit(MT7601U_STATE_REMOVED, &dev->state)) in mt7601u_wait_asic_ready() 35 if (test_bit(MT7601U_STATE_REMOVED, &dev->state)) in mt76_poll() 57 if (test_bit(MT7601U_STATE_REMOVED, &dev->state)) in mt76_poll_msec()
|
/kernel/linux/linux-6.6/drivers/leds/trigger/ |
H A D | ledtrig-audio.c | 42 void ledtrig_audio_set(enum led_audio type, enum led_brightness state) in ledtrig_audio_set() argument 44 audio_state[type] = state; in ledtrig_audio_set() 45 led_trigger_event(&ledtrig_audio[type], state); in ledtrig_audio_set()
|
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A D | qeth_l2.h | 16 enum qeth_sbp_states *state); 20 int qeth_l2_vnicc_set_state(struct qeth_card *card, u32 vnicc, bool state); 21 int qeth_l2_vnicc_get_state(struct qeth_card *card, u32 vnicc, bool *state);
|
/third_party/ffmpeg/libavcodec/ |
H A D | iirfilter.h | 56 * @param state pointer to filter state 64 struct FFIIRFilterState *state, int size, 95 * Create new filter state. 99 * @return pointer to new filter state or NULL if state creation fails 111 * Free and zero filter state. 113 * @param state pointer to pointer allocated with ff_iir_filter_init_state() 115 void ff_iir_filter_free_statep(struct FFIIRFilterState **state); 121 * @param state pointe [all...] |
/third_party/benchmark/test/ |
H A D | memory_manager_test.cc | 15 void BM_empty(benchmark::State& state) { in BM_empty() argument 16 for (auto _ : state) { in BM_empty() 17 auto iterations = state.iterations(); in BM_empty()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_stipple.c | 29 * \brief polygon stipple state 68 const GLuint sz = sizeof(st->state.poly_stipple); in st_update_polygon_stipple() 71 if (memcmp(st->state.poly_stipple, ctx->PolygonStipple, sz)) { in st_update_polygon_stipple() 72 /* state has changed */ in st_update_polygon_stipple() 75 memcpy(st->state.poly_stipple, ctx->PolygonStipple, sz); in st_update_polygon_stipple()
|
/third_party/ltp/testcases/open_posix_testsuite/include/ |
H A D | proc.h | 22 int tst_process_state_wait3(pid_t pid, const char state, in tst_process_state_wait3() argument 52 if (state == cur_state) in tst_process_state_wait3() 62 const char state PTS_ATTRIBUTE_UNUSED, long maxwait_s) in tst_process_state_wait3()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_fs.h | 64 struct pipe_shader_state state; member 80 struct r300_fragment_program_external_state *state); 82 struct r300_fragment_program_external_state *state);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/mac/ |
H A D | DisplayVkMac.h | 21 DisplayVkMac(const egl::DisplayState &state); 25 SurfaceImpl *createWindowSurfaceVk(const egl::SurfaceState &state, 28 SurfaceImpl *createPbufferFromClientBuffer(const egl::SurfaceState &state,
|
/third_party/typescript/tests/baselines/reference/ |
H A D | inheritedConstructorPropertyContextualType.js | 6 state: S 11 this.state = { version: 2 } 35 _this.state = { version: 2 };
|
/foundation/multimedia/player_framework/services/services/screen_capture/server/ |
H A D | screen_capture_server.cpp | 399 "SetCaptureMode failed, capture is not CREATED, state:%{public}d, mode:%{public}d", captureState_, captureMode); in SetCaptureMode() 413 "SetDataType failed, capture is not CREATED, state:%{public}d, dataType:%{public}d", captureState_, dataType); in SetDataType() 426 "SetRecorderInfo failed, capture is not CREATED, state:%{public}d", captureState_); in SetRecorderInfo() 449 "SetOutputFile failed, capture is not CREATED, state:%{public}d", captureState_); in SetOutputFile() 484 "SetScreenCaptureCallback failed, capture is not CREATED, state:%{public}d", captureState_); in SetScreenCaptureCallback() 486 "SetScreenCaptureCallback failed, callback is nullptr, state:%{public}d", captureState_); in SetScreenCaptureCallback() 497 "InitAudioEncInfo failed, capture is not CREATED, state:%{public}d", captureState_); in InitAudioEncInfo() 511 "InitVideoEncInfo failed, capture is not CREATED, state:%{public}d", captureState_); in InitVideoEncInfo() 574 MEDIA_LOGD("CheckAudioCapParam sampleRate:%{public}d, channels:%{public}d, source:%{public}d, state:%{public}d", in CheckAudioCapParam() 575 audioCapInfo.audioSampleRate, audioCapInfo.audioChannels, audioCapInfo.audioSource, audioCapInfo.state); in CheckAudioCapParam() 1349 UpdatePrivacyUsingPermissionState(VideoPermissionState state) UpdatePrivacyUsingPermissionState() argument 2710 StopAndRelease(AVScreenCaptureStateCode state) StopAndRelease() argument [all...] |
/third_party/mesa3d/src/amd/common/ |
H A D | ac_nir_lower_ngg.c | 505 remove_culling_shader_output(nir_builder *b, nir_instr *instr, void *state) in remove_culling_shader_output() argument 507 remove_culling_shader_outputs_state *s = (remove_culling_shader_outputs_state *) state; in remove_culling_shader_output() 586 remove_extra_pos_output(nir_builder *b, nir_instr *instr, void *state) in remove_extra_pos_output() argument 588 remove_extra_position_output_state *s = (remove_extra_position_output_state *) state; in remove_extra_pos_output() 665 remove_compacted_arg(lower_ngg_nogs_state *state, nir_builder *b, unsigned idx) in remove_compacted_arg() argument 667 nir_instr *store_instr = state->compact_arg_stores[idx]; in remove_compacted_arg() 678 b->cursor = nir_before_instr(&state->overwrite_args->instr); in remove_compacted_arg() 680 nir_ssa_def_rewrite_uses(state->overwrite_args->src[idx].ssa, undef_arg); in remove_compacted_arg() 682 state->compact_arg_stores[idx] = NULL; in remove_compacted_arg() 689 lower_ngg_nogs_state *state) in cleanup_culling_shader_after_dce() 687 cleanup_culling_shader_after_dce(nir_shader *shader, nir_function_impl *function_impl, lower_ngg_nogs_state *state) cleanup_culling_shader_after_dce() argument 1387 lower_ngg_nogs_state state = { ac_nir_lower_ngg_nogs() local 1812 lower_ngg_gs_intrinsic(nir_builder *b, nir_instr *instr, void *state) lower_ngg_gs_intrinsic() argument 2041 lower_ngg_gs_state state = { ac_nir_lower_ngg_gs() local 2504 lower_ms_intrinsic(nir_builder *b, nir_instr *instr, void *state) lower_ms_intrinsic() argument 3039 lower_ngg_ms_state state = { ac_nir_lower_ngg_ms() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop2.c | 758 struct rockchip_crtc_state *vcstate = to_rockchip_crtc_state(vp->crtc.state); in vop2_setup_csc_mode() 882 struct drm_atomic_state *state) in vop2_crtc_atomic_disable() 891 old_crtc_state = drm_atomic_get_old_crtc_state(state, crtc); in vop2_crtc_atomic_disable() 925 if (crtc->state->event && !crtc->state->active) { in vop2_crtc_atomic_disable() 927 drm_crtc_send_vblank_event(crtc, crtc->state->event); in vop2_crtc_atomic_disable() 930 crtc->state->event = NULL; in vop2_crtc_atomic_disable() 958 cstate = drm_atomic_get_existing_crtc_state(pstate->state, crtc); in vop2_plane_atomic_check() 1007 struct drm_atomic_state *state) in vop2_plane_atomic_disable() 1015 if (state) in vop2_plane_atomic_disable() 881 vop2_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_atomic_state *state) vop2_crtc_atomic_disable() argument 1006 vop2_plane_atomic_disable(struct drm_plane *plane, struct drm_atomic_state *state) vop2_plane_atomic_disable() argument 1074 vop2_plane_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) vop2_plane_atomic_update() argument 1509 vop2_crtc_atomic_enable(struct drm_crtc *crtc, struct drm_atomic_state *state) vop2_crtc_atomic_enable() argument 1640 vop2_crtc_atomic_check(struct drm_crtc *crtc, struct drm_atomic_state *state) vop2_crtc_atomic_check() argument 2025 vop2_crtc_atomic_begin(struct drm_crtc *crtc, struct drm_atomic_state *state) vop2_crtc_atomic_begin() argument 2053 vop2_crtc_atomic_flush(struct drm_crtc *crtc, struct drm_atomic_state *state) vop2_crtc_atomic_flush() argument 2099 vop2_crtc_destroy_state(struct drm_crtc *crtc, struct drm_crtc_state *state) vop2_crtc_destroy_state() argument [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_spill.c | 214 struct ra_spill_block_state *state = &ctx->blocks[block->index]; in compute_block_next_distance() local 215 memcpy(tmp_next_use, state->next_use_end, in compute_block_next_distance() 218 unsigned cycle = state->cycles; in compute_block_next_distance() 251 memcpy(state->next_use_start, tmp_next_use, in compute_block_next_distance() 268 if (state->next_use_start[j] < UINT_MAX && in compute_block_next_distance() 269 state->next_use_start[j] + block_distance < in compute_block_next_distance() 271 pred_state->next_use_end[j] = state->next_use_start[j] + in compute_block_next_distance() 312 struct ra_spill_block_state *state = &ctx->blocks[block->index]; in compute_next_distance() local 313 state->cycles = 0; in compute_next_distance() 315 state in compute_next_distance() 1336 struct ra_spill_block_state *state = &ctx->blocks[pred->index]; is_live_in_pred() local 1361 struct ra_spill_block_state *state = &ctx->blocks[pred->index]; read_live_in() local 1394 struct ra_spill_block_state *state = &ctx->blocks[pred->index]; spill_live_in() local 1412 struct ra_spill_block_state *state = &ctx->blocks[pred->index]; spill_live_ins() local 1464 struct ra_spill_block_state *state = &ctx->blocks[pred->index]; live_in_rewrite() local 1495 struct ra_spill_block_state *state = &ctx->blocks[pred->index]; reload_live_in() local 1537 struct ra_spill_block_state *state = &ctx->blocks[pred->index]; add_live_in_phi() local 1577 struct ra_spill_block_state *state = &ctx->blocks[pred->index]; add_live_in_phi() local 1633 struct ra_spill_block_state *state = &ctx->blocks[pred->index]; rewrite_phi() local 1665 struct ra_spill_block_state *state = &ctx->blocks[block->index]; spill_live_outs() local 1687 struct ra_spill_block_state *state = &ctx->blocks[block->index]; reload_live_outs() local 1725 struct ra_spill_block_state *state = &ctx->blocks[pred->index]; record_pred_live_out() local 1744 struct ra_spill_block_state *state = &ctx->blocks[pred->index]; record_pred_live_outs() local 1760 record_live_out(struct ra_spill_ctx *ctx, struct ra_spill_block_state *state, struct ra_spill_interval *interval) record_live_out() argument 1779 struct ra_spill_block_state *state = &ctx->blocks[block->index]; record_live_outs() local 1848 struct ra_spill_block_state *state = handle_block() local [all...] |
/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/capturer/ |
H A D | module_inner_capturer_sink.c | 119 if (s->thread_info.state == PA_SINK_SUSPENDED || s->thread_info.state == PA_SINK_INIT) { in SinkSetStateInIoThreadCb() 181 if (!PA_SINK_IS_OPENED(u->sink->thread_info.state) || rewindNbytes <= 0) { in ProcessRewind() 222 void *state = NULL; in SetSinkVolumeBySinkName() local 224 while ((input = pa_hashmap_iterate(s->thread_info.inputs, &state, NULL))) { in SetSinkVolumeBySinkName() 226 if (input->thread_info.state != PA_SINK_INPUT_RUNNING) { in SetSinkVolumeBySinkName() 241 void *state = NULL; in UnsetSinkVolume() local 243 while ((input = pa_hashmap_iterate(s->thread_info.inputs, &state, NULL))) { in UnsetSinkVolume() 245 if (input->thread_info.state != PA_SINK_INPUT_RUNNING) { in UnsetSinkVolume() 310 if (PA_SINK_IS_OPENED(u->sink->thread_info.state)) { in ThreadFunc() [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-rpc/ |
H A D | dma.c | 29 unsigned int state; member 99 unsigned int state = idma->state; in iomd_dma_handle() local 107 if ((state ^ status) & DMA_ST_AB) in iomd_dma_handle() 110 // This efficiently implements state = OFL != AB ? AB : 0 in iomd_dma_handle() 111 state = ((status >> 2) ^ status) & DMA_ST_AB; in iomd_dma_handle() 112 if (state) { in iomd_dma_handle() 127 state = ~DMA_ST_AB; in iomd_dma_handle() 130 idma->state = state; in iomd_dma_handle() [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-rpc/ |
H A D | dma.c | 29 unsigned int state; member 99 unsigned int state = idma->state; in iomd_dma_handle() local 107 if ((state ^ status) & DMA_ST_AB) in iomd_dma_handle() 110 // This efficiently implements state = OFL != AB ? AB : 0 in iomd_dma_handle() 111 state = ((status >> 2) ^ status) & DMA_ST_AB; in iomd_dma_handle() 112 if (state) { in iomd_dma_handle() 127 state = ~DMA_ST_AB; in iomd_dma_handle() 130 idma->state = state; in iomd_dma_handle() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | mobility.c | 37 __be32 state; member 425 unsigned long state; in wait_for_vasi_session_suspending() local 433 ret = poll_vasi_state(handle, &state); in wait_for_vasi_session_suspending() 435 if (ret != 0 || state == H_VASI_SUSPENDING) { in wait_for_vasi_session_suspending() 437 } else if (state == H_VASI_ENABLED) { in wait_for_vasi_session_suspending() 440 pr_err("unexpected H_VASI_STATE result %lu\n", state); in wait_for_vasi_session_suspending() 458 unsigned long state = 0; in wait_for_vasi_session_completed() local 467 ret = poll_vasi_state(handle, &state); in wait_for_vasi_session_completed() 474 if (ret == -EINVAL || (!ret && state == H_VASI_COMPLETED)) { in wait_for_vasi_session_completed() 484 if (state ! in wait_for_vasi_session_completed() [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-core/ |
H A D | dvb_vb2.c | 187 ctx->state = DVB_VB2_STATE_NONE; in dvb_vb2_init() 198 ctx->state = DVB_VB2_STATE_INIT; in dvb_vb2_init() 209 if (ctx->state & DVB_VB2_STATE_INIT) in dvb_vb2_release() 212 ctx->state = DVB_VB2_STATE_NONE; in dvb_vb2_release() 225 ctx->state = DVB_VB2_STATE_NONE; in dvb_vb2_stream_on() 229 ctx->state |= DVB_VB2_STATE_STREAMON; in dvb_vb2_stream_on() 240 ctx->state &= ~DVB_VB2_STATE_STREAMON; in dvb_vb2_stream_off() 243 ctx->state = DVB_VB2_STATE_NONE; in dvb_vb2_stream_off() 254 return (ctx->state & DVB_VB2_STATE_STREAMON); in dvb_vb2_is_streaming() 347 ctx->state in dvb_vb2_reqbufs() [all...] |
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 46 int state) in gpio_keys_button_event() 52 if (state) { in gpio_keys_button_event() 57 if (state) { in gpio_keys_button_event() 62 input_event(input, type, button->code, state); in gpio_keys_button_event() 71 int state; in gpio_keys_polled_check_state() local 73 state = gpiod_get_value_cansleep(bdata->gpiod); in gpio_keys_polled_check_state() 74 if (state < 0) { in gpio_keys_polled_check_state() 76 "failed to get gpio state: %d\n", state); in gpio_keys_polled_check_state() 78 gpio_keys_button_event(input, button, state); in gpio_keys_polled_check_state() 44 gpio_keys_button_event(struct input_dev *input, const struct gpio_keys_button *button, int state) gpio_keys_button_event() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/ |
H A D | libcxgbi.h | 146 unsigned int state; member 280 csk, csk->state, csk->flags, flag); in cxgbi_sock_set_flag() 289 csk, csk->state, csk->flags, flag); in cxgbi_sock_clear_flag() 300 static inline void cxgbi_sock_set_state(struct cxgbi_sock *csk, int state) in cxgbi_sock_set_state() argument 303 "csk 0x%p,%u,0x%lx, state -> %u.\n", in cxgbi_sock_set_state() 304 csk, csk->state, csk->flags, state); in cxgbi_sock_set_state() 305 csk->state = state; in cxgbi_sock_set_state() 315 "free csk 0x%p, state in cxgbi_sock_free() [all...] |
/kernel/linux/linux-5.10/drivers/nfc/nfcmrvl/ |
H A D | fw_dnld.c | 138 priv->fw_dnld.state = STATE_RESET; in fw_dnld_timeout() 152 /* Start FW download state machine */ in process_state_reset() 153 priv->fw_dnld.state = STATE_INIT; in process_state_reset() 176 priv->fw_dnld.state = STATE_SET_REF_CLOCK; in process_state_init() 184 priv->fw_dnld.state = STATE_OPEN_LC; in create_lc() 228 priv->fw_dnld.state = STATE_SET_HI_CONFIG; in process_state_set_ref_clock() 253 priv->fw_dnld.state = STATE_FW_DNLD; in process_state_open_lc() 320 priv->fw_dnld.state = STATE_CLOSE_LC; in process_state_fw_dnld() 367 priv->fw_dnld.state = STATE_BOOT; in process_state_close_lc() 391 priv->fw_dnld.state in process_state_boot() [all...] |