/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_self_refresh_helper.c | 37 * on/off request with &drm_crtc_state.self_refresh_active set in crtc state 75 struct drm_atomic_state *state; in drm_self_refresh_helper_entry_work() local 83 state = drm_atomic_state_alloc(dev); in drm_self_refresh_helper_entry_work() 84 if (!state) { in drm_self_refresh_helper_entry_work() 90 state->acquire_ctx = &ctx; in drm_self_refresh_helper_entry_work() 92 crtc_state = drm_atomic_get_crtc_state(state, crtc); in drm_self_refresh_helper_entry_work() 101 ret = drm_atomic_add_affected_connectors(state, crtc); in drm_self_refresh_helper_entry_work() 105 for_each_new_connector_in_state(state, conn, conn_state, i) { in drm_self_refresh_helper_entry_work() 113 ret = drm_atomic_commit(state); in drm_self_refresh_helper_entry_work() 119 drm_atomic_state_clear(state); in drm_self_refresh_helper_entry_work() 145 drm_self_refresh_helper_update_avg_times(struct drm_atomic_state *state, unsigned int commit_time_ms, unsigned int new_self_refresh_mask) drm_self_refresh_helper_update_avg_times() argument 187 drm_self_refresh_helper_alter_state(struct drm_atomic_state *state) drm_self_refresh_helper_alter_state() argument [all...] |
/kernel/linux/linux-5.10/include/crypto/ |
H A D | sha.h | 79 u32 state[SHA1_DIGEST_SIZE / 4]; member 85 u32 state[SHA256_DIGEST_SIZE / 4]; member 91 u64 state[SHA512_DIGEST_SIZE / 8]; member 138 sctx->state[0] = SHA256_H0; in sha256_init() 139 sctx->state[1] = SHA256_H1; in sha256_init() 140 sctx->state[2] = SHA256_H2; in sha256_init() 141 sctx->state[3] = SHA256_H3; in sha256_init() 142 sctx->state[4] = SHA256_H4; in sha256_init() 143 sctx->state[5] = SHA256_H5; in sha256_init() 144 sctx->state[ in sha256_init() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_self_refresh_helper.c | 37 * on/off request with &drm_crtc_state.self_refresh_active set in crtc state 75 struct drm_atomic_state *state; in drm_self_refresh_helper_entry_work() local 83 state = drm_atomic_state_alloc(dev); in drm_self_refresh_helper_entry_work() 84 if (!state) { in drm_self_refresh_helper_entry_work() 90 state->acquire_ctx = &ctx; in drm_self_refresh_helper_entry_work() 92 crtc_state = drm_atomic_get_crtc_state(state, crtc); in drm_self_refresh_helper_entry_work() 101 ret = drm_atomic_add_affected_connectors(state, crtc); in drm_self_refresh_helper_entry_work() 105 for_each_new_connector_in_state(state, conn, conn_state, i) { in drm_self_refresh_helper_entry_work() 113 ret = drm_atomic_commit(state); in drm_self_refresh_helper_entry_work() 119 drm_atomic_state_clear(state); in drm_self_refresh_helper_entry_work() 145 drm_self_refresh_helper_update_avg_times(struct drm_atomic_state *state, unsigned int commit_time_ms, unsigned int new_self_refresh_mask) drm_self_refresh_helper_update_avg_times() argument 187 drm_self_refresh_helper_alter_state(struct drm_atomic_state *state) drm_self_refresh_helper_alter_state() argument [all...] |
/third_party/benchmark/test/ |
H A D | complexity_test.cc | 70 void BM_Complexity_O1(benchmark::State &state) { in BM_Complexity_O1() argument 71 for (auto _ : state) { in BM_Complexity_O1() 76 state.SetComplexityN(state.range(0)); in BM_Complexity_O1() 119 void BM_Complexity_O_N(benchmark::State &state) { in BM_Complexity_O_N() argument 120 auto v = ConstructRandomVector(state.range(0)); in BM_Complexity_O_N() 122 const int64_t item_not_in_vector = state.range(0) * 2; in BM_Complexity_O_N() 123 for (auto _ : state) { in BM_Complexity_O_N() 127 state.SetComplexityN(state in BM_Complexity_O_N() 162 BM_Complexity_O_N_log_N(benchmark::State &state) BM_Complexity_O_N_log_N() argument 205 BM_ComplexityCaptureArgs(benchmark::State &state, int n) BM_ComplexityCaptureArgs() argument [all...] |
/third_party/libwebsockets/lib/abstract/ |
H A D | test-sequencer.c | 47 int state; member 114 s->args.tests[s->state].expect_array; in test_sequencer_cb() 121 s->state = 0; /* first thing we'll do is the first url */ in test_sequencer_cb() 138 __func__, s->state); in test_sequencer_cb() 142 lwsl_user("%s: seq timed out at step %d\n", __func__, s->state); in test_sequencer_cb() 144 s->args.results[s->state] = LPE_FAILED_UNEXPECTED_TIMEOUT; in test_sequencer_cb() 153 __func__, s->state); in test_sequencer_cb() 158 lwsl_user("%s: seq failed at step %d\n", __func__, s->state); in test_sequencer_cb() 160 s->args.results[s->state] = LPE_FAILED; in test_sequencer_cb() 171 s->state); in test_sequencer_cb() [all...] |
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_binder.c | 67 struct iris_binder *binder = &ice->state.binder; in binder_realloc() 91 ice->state.dirty |= IRIS_DIRTY_RENDER_BUFFER; in binder_realloc() 92 ice->state.stage_dirty |= IRIS_ALL_STAGE_DIRTY_BINDINGS; in binder_realloc() 113 struct iris_binder *binder = &ice->state.binder; in iris_binder_reserve() 132 struct iris_binder *binder = &ice->state.binder; in iris_binder_reserve_3d() 137 if (!(ice->state.dirty & IRIS_DIRTY_RENDER_BUFFER) && in iris_binder_reserve_3d() 138 !(ice->state.stage_dirty & IRIS_ALL_STAGE_DIRTY_BINDINGS_FOR_RENDER)) in iris_binder_reserve_3d() 154 if (ice->state.stage_dirty & (IRIS_STAGE_DIRTY_BINDINGS_VS << stage)) in iris_binder_reserve_3d() 177 if (ice->state.stage_dirty & (IRIS_STAGE_DIRTY_BINDINGS_VS << stage)) { in iris_binder_reserve_3d() 179 iris_record_state_size(ice->state in iris_binder_reserve_3d() [all...] |
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/ |
H A D | aarch64.rs | 73 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 74 self.gp_x.hash(state); in hash() 75 self.gp_lr.hash(state); in hash() 76 self.gp_sp.hash(state); in hash() 77 self.gp_elr.hash(state); in hash() 78 self.gp_spsr.hash(state); in hash() 79 self.gp_pad.hash(state); in hash() 104 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 105 self.fp_q.hash(state); in hash() 106 self.fp_sr.hash(state); in hash() [all...] |
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | page_ability_impl_test.cpp | 262 * @tc.desc: Handle transactions in the Initial state 282 AAFwk::LifeCycleStateInfo state; in HWTEST_F() local 283 state.state = ABILITY_STATE_INITIAL; in HWTEST_F() 285 pageAbilityImpl_->HandleAbilityTransaction(want, state); in HWTEST_F() 295 * @tc.desc: Handle transactions in the Inactive state 315 AAFwk::LifeCycleStateInfo state; in HWTEST_F() local 316 state.state = ABILITY_STATE_INACTIVE; in HWTEST_F() 317 pageAbilityImpl_->HandleAbilityTransaction(want, state); in HWTEST_F() 345 AAFwk::LifeCycleStateInfo state; HWTEST_F() local 375 AAFwk::LifeCycleStateInfo state; HWTEST_F() local 405 AAFwk::LifeCycleStateInfo state; HWTEST_F() local 438 AAFwk::LifeCycleStateInfo state; HWTEST_F() local 470 AAFwk::LifeCycleStateInfo state; HWTEST_F() local 505 AAFwk::LifeCycleStateInfo state; HWTEST_F() local 539 AAFwk::LifeCycleStateInfo state; HWTEST_F() local 686 AAFwk::LifeCycleStateInfo state; HWTEST_F() local 717 AAFwk::LifeCycleStateInfo state; HWTEST_F() local 748 AAFwk::LifeCycleStateInfo state; HWTEST_F() local 779 AAFwk::LifeCycleStateInfo state; HWTEST_F() local 810 AAFwk::LifeCycleStateInfo state; HWTEST_F() local 841 AAFwk::LifeCycleStateInfo state; HWTEST_F() local 873 AAFwk::LifeCycleStateInfo state; HWTEST_F() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_crtc.c | 95 struct dpu_crtc_state *crtc_state = to_dpu_crtc_state(crtc->state); in dpu_crtc_verify_crc_source() 109 drm_for_each_encoder_mask(drm_enc, crtc->dev, crtc->state->encoder_mask) in dpu_crtc_verify_crc_source() 136 drm_for_each_encoder_mask(drm_enc, crtc->dev, crtc->state->encoder_mask) in dpu_crtc_setup_encoder_misr() 162 crtc_state = to_dpu_crtc_state(crtc->state); in dpu_crtc_set_crc_source() 247 drm_for_each_encoder_mask(drm_enc, crtc->dev, crtc->state->encoder_mask) { in dpu_crtc_get_encoder_crc() 265 struct dpu_crtc_state *crtc_state = to_dpu_crtc_state(crtc->state); in dpu_crtc_get_crc() 385 crtc_state = to_dpu_crtc_state(crtc->state); in _dpu_crtc_program_lm_output_roi() 418 struct drm_plane_state *state; in _dpu_crtc_blend_setup_pipe() local 422 state = plane->state; in _dpu_crtc_blend_setup_pipe() 425 state, to_dpu_plane_state(state), stage_idx, _dpu_crtc_blend_setup_pipe() local 451 struct drm_plane_state *state; _dpu_crtc_blend_setup_mixer() local 725 _dpu_crtc_setup_lm_bounds(struct drm_crtc *crtc, struct drm_crtc_state *state) _dpu_crtc_setup_lm_bounds() argument 744 _dpu_crtc_get_pcc_coeff(struct drm_crtc_state *state, struct dpu_hw_pcc_cfg *cfg) _dpu_crtc_get_pcc_coeff() argument 771 struct drm_crtc_state *state = crtc->state; _dpu_crtc_setup_cp_blocks() local 803 dpu_crtc_atomic_begin(struct drm_crtc *crtc, struct drm_atomic_state *state) dpu_crtc_atomic_begin() argument 844 dpu_crtc_atomic_flush(struct drm_crtc *crtc, struct drm_atomic_state *state) dpu_crtc_atomic_flush() argument 908 dpu_crtc_destroy_state(struct drm_crtc *crtc, struct drm_crtc_state *state) dpu_crtc_destroy_state() argument 1026 dpu_crtc_atomic_print_state(struct drm_printer *p, const struct drm_crtc_state *state) dpu_crtc_atomic_print_state() argument 1040 dpu_crtc_disable(struct drm_crtc *crtc, struct drm_atomic_state *state) dpu_crtc_disable() argument 1125 dpu_crtc_enable(struct drm_crtc *crtc, struct drm_atomic_state *state) dpu_crtc_enable() argument 1182 dpu_crtc_atomic_check(struct drm_crtc *crtc, struct drm_atomic_state *state) dpu_crtc_atomic_check() argument 1286 struct drm_plane_state *state; _dpu_debugfs_status_show() local [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/ |
H A D | adv748x-afe.c | 42 static int adv748x_afe_read_ro_map(struct adv748x_state *state, u8 reg) in adv748x_afe_read_ro_map() argument 47 ret = sdp_write(state, ADV748X_SDP_MAP_SEL, in adv748x_afe_read_ro_map() 52 return sdp_read(state, reg); in adv748x_afe_read_ro_map() 58 struct adv748x_state *state = adv748x_afe_to_state(afe); in adv748x_afe_status() local 62 info = adv748x_afe_read_ro_map(state, ADV748X_SDP_RO_10); in adv748x_afe_status() 150 static void adv748x_afe_set_video_standard(struct adv748x_state *state, in adv748x_afe_set_video_standard() argument 153 sdp_clrset(state, ADV748X_SDP_VID_SEL, ADV748X_SDP_VID_SEL_MASK, in adv748x_afe_set_video_standard() 159 struct adv748x_state *state = adv748x_afe_to_state(afe); in adv748x_afe_s_input() local 161 return sdp_write(state, ADV748X_SDP_INSEL, input); in adv748x_afe_s_input() 196 struct adv748x_state *state in adv748x_afe_s_std() local 215 struct adv748x_state *state = adv748x_afe_to_state(afe); adv748x_afe_querystd() local 258 struct adv748x_state *state = adv748x_afe_to_state(afe); adv748x_afe_g_input_status() local 273 struct adv748x_state *state = adv748x_afe_to_state(afe); adv748x_afe_s_stream() local 418 struct adv748x_state *state = adv748x_afe_to_state(afe); adv748x_afe_s_ctrl() local 467 struct adv748x_state *state = adv748x_afe_to_state(afe); adv748x_afe_init_controls() local 503 struct adv748x_state *state = adv748x_afe_to_state(afe); adv748x_afe_init() local [all...] |
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/ |
H A D | isdnhdlc.c | 43 hdlc->state = HDLC_GET_DATA; in isdnhdlc_rcv_init() 56 hdlc->state = HDLC_SEND_FIRST_FLAG; in isdnhdlc_out_init() 59 hdlc->state = HDLC_SEND_FAST_FLAG; in isdnhdlc_out_init() 65 hdlc->state = HDLC_SENDFLAG_B0; in isdnhdlc_out_init() 139 h->state = HDLC_FAST_FLAG; \ in isdnhdlc_decode() 143 h->state = HDLC_GET_DATA; \ in isdnhdlc_decode() 155 h->state = HDLC_GET_DATA; \ in isdnhdlc_decode() 174 switch (hdlc->state) { in isdnhdlc_decode() 182 hdlc->state = HDLC_GET_FLAG_B0; in isdnhdlc_decode() 188 hdlc->state in isdnhdlc_decode() [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/adv748x/ |
H A D | adv748x-afe.c | 42 static int adv748x_afe_read_ro_map(struct adv748x_state *state, u8 reg) in adv748x_afe_read_ro_map() argument 47 ret = sdp_write(state, ADV748X_SDP_MAP_SEL, in adv748x_afe_read_ro_map() 52 return sdp_read(state, reg); in adv748x_afe_read_ro_map() 58 struct adv748x_state *state = adv748x_afe_to_state(afe); in adv748x_afe_status() local 62 info = adv748x_afe_read_ro_map(state, ADV748X_SDP_RO_10); in adv748x_afe_status() 150 static void adv748x_afe_set_video_standard(struct adv748x_state *state, in adv748x_afe_set_video_standard() argument 153 sdp_clrset(state, ADV748X_SDP_VID_SEL, ADV748X_SDP_VID_SEL_MASK, in adv748x_afe_set_video_standard() 159 struct adv748x_state *state = adv748x_afe_to_state(afe); in adv748x_afe_s_input() local 161 return sdp_write(state, ADV748X_SDP_INSEL, input); in adv748x_afe_s_input() 196 struct adv748x_state *state in adv748x_afe_s_std() local 215 struct adv748x_state *state = adv748x_afe_to_state(afe); adv748x_afe_querystd() local 258 struct adv748x_state *state = adv748x_afe_to_state(afe); adv748x_afe_g_input_status() local 273 struct adv748x_state *state = adv748x_afe_to_state(afe); adv748x_afe_s_stream() local 419 struct adv748x_state *state = adv748x_afe_to_state(afe); adv748x_afe_s_ctrl() local 468 struct adv748x_state *state = adv748x_afe_to_state(afe); adv748x_afe_init_controls() local 504 struct adv748x_state *state = adv748x_afe_to_state(afe); adv748x_afe_init() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dmub_psr.c | 40 * Convert dmcub psr state to dmcu psr state. 44 enum dc_psr_state state = PSR_STATE0; in convert_psr_state() local 47 state = PSR_STATE0; in convert_psr_state() 49 state = PSR_STATE1; in convert_psr_state() 51 state = PSR_STATE1a; in convert_psr_state() 53 state = PSR_STATE2; in convert_psr_state() 55 state = PSR_STATE2a; in convert_psr_state() 57 state = PSR_STATE2b; in convert_psr_state() 59 state in convert_psr_state() 105 dmub_psr_get_state(struct dmub_psr *dmub, enum dc_psr_state *state, uint8_t panel_inst) dmub_psr_get_state() argument 186 enum dc_psr_state state = PSR_STATE0; dmub_psr_enable() local 235 enum dc_psr_state state = PSR_STATE0; dmub_psr_set_level() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_crtc.c | 67 return acrtc->dm_irq_params.freesync_config.state == in amdgpu_dm_crtc_vrr_active_irq() 69 acrtc->dm_irq_params.freesync_config.state == in amdgpu_dm_crtc_vrr_active_irq() 94 return dm_state->freesync_config.state == VRR_STATE_ACTIVE_VARIABLE || in amdgpu_dm_crtc_vrr_active() 95 dm_state->freesync_config.state == VRR_STATE_ACTIVE_FIXED; in amdgpu_dm_crtc_vrr_active() 151 struct dm_crtc_state *acrtc_state = to_dm_crtc_state(crtc->state); in dm_set_vblank() 214 struct drm_crtc_state *state) in dm_crtc_destroy_state() 216 struct dm_crtc_state *cur = to_dm_crtc_state(state); in dm_crtc_destroy_state() 223 __drm_atomic_helper_crtc_destroy_state(state); in dm_crtc_destroy_state() 226 kfree(state); in dm_crtc_destroy_state() 231 struct dm_crtc_state *state, *cu in dm_crtc_duplicate_state() local 213 dm_crtc_destroy_state(struct drm_crtc *crtc, struct drm_crtc_state *state) dm_crtc_destroy_state() argument 271 struct dm_crtc_state *state; dm_crtc_reset_state() local 318 struct drm_atomic_state *state = new_crtc_state->state; count_crtc_active_planes() local 370 dm_crtc_helper_atomic_check(struct drm_crtc *crtc, struct drm_atomic_state *state) dm_crtc_helper_atomic_check() argument [all...] |
/kernel/linux/linux-6.6/drivers/isdn/hardware/mISDN/ |
H A D | isdnhdlc.c | 43 hdlc->state = HDLC_GET_DATA; in isdnhdlc_rcv_init() 56 hdlc->state = HDLC_SEND_FIRST_FLAG; in isdnhdlc_out_init() 59 hdlc->state = HDLC_SEND_FAST_FLAG; in isdnhdlc_out_init() 65 hdlc->state = HDLC_SENDFLAG_B0; in isdnhdlc_out_init() 139 h->state = HDLC_FAST_FLAG; \ in isdnhdlc_decode() 143 h->state = HDLC_GET_DATA; \ in isdnhdlc_decode() 155 h->state = HDLC_GET_DATA; \ in isdnhdlc_decode() 174 switch (hdlc->state) { in isdnhdlc_decode() 182 hdlc->state = HDLC_GET_FLAG_B0; in isdnhdlc_decode() 188 hdlc->state in isdnhdlc_decode() [all...] |
/third_party/libinput/src/ |
H A D | evdev-mt-touchpad-thumb.c | 34 thumb_state_to_str(enum tp_thumb_state state) in thumb_state_to_str() argument 36 switch(state){ in thumb_state_to_str() 52 enum tp_thumb_state state) in tp_thumb_set_state() 56 if (tp->thumb.state == state && tp->thumb.index == index) in tp_thumb_set_state() 62 thumb_state_to_str(tp->thumb.state), in tp_thumb_set_state() 63 thumb_state_to_str(state)); in tp_thumb_set_state() 65 tp->thumb.state = state; in tp_thumb_set_state() 72 tp->thumb.state in tp_thumb_reset() 50 tp_thumb_set_state(struct tp_dispatch *tp, struct tp_touch *t, enum tp_thumb_state state) tp_thumb_set_state() argument [all...] |
/third_party/python/Modules/ |
H A D | _curses_panel.c | 27 void *state = PyModule_GetState(module); in get_curses_panel_state() local 28 assert(state != NULL); in get_curses_panel_state() 29 return (_curses_panel_state *)state; in get_curses_panel_state() 35 _curses_panel_state *state = get_curses_panel_state(mod); in _curses_panel_clear() local 36 Py_CLEAR(state->PyCursesError); in _curses_panel_clear() 37 Py_CLEAR(state->PyCursesPanel_Type); in _curses_panel_clear() 45 _curses_panel_state *state = get_curses_panel_state(mod); in _curses_panel_traverse() local 46 Py_VISIT(state->PyCursesError); in _curses_panel_traverse() 47 Py_VISIT(state->PyCursesPanel_Type); in _curses_panel_traverse() 65 PyCursesCheckERR(_curses_panel_state *state, in argument 192 _curses_panel_state *state = PyType_GetModuleState(cls); _curses_panel_panel_bottom_impl() local 210 _curses_panel_state *state = PyType_GetModuleState(cls); _curses_panel_panel_hide_impl() local 226 _curses_panel_state *state = PyType_GetModuleState(cls); _curses_panel_panel_show_impl() local 242 _curses_panel_state *state = PyType_GetModuleState(cls); _curses_panel_panel_top_impl() local 249 PyCursesPanel_New(_curses_panel_state *state, PANEL *pan, PyCursesWindowObject *wo) PyCursesPanel_New() argument 383 _curses_panel_state *state = PyType_GetModuleState(cls); _curses_panel_panel_move_impl() local 417 _curses_panel_state *state = PyType_GetModuleState(cls); _curses_panel_panel_replace_impl() local 463 _curses_panel_state *state = PyType_GetModuleState(cls); _curses_panel_panel_set_userptr_impl() local 480 _curses_panel_state *state = PyType_GetModuleState(cls); _curses_panel_panel_userptr_impl() local 575 _curses_panel_state *state = get_curses_panel_state(module); _curses_panel_new_panel_impl() local 652 _curses_panel_state *state = get_curses_panel_state(mod); _curses_panel_exec() local [all...] |
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | resource_adapter_impl_standard.cpp | 218 auto state = resourceManager_->GetColorById(resId, result); in GetColor() local 219 if (state != Global::Resource::SUCCESS) { in GetColor() 232 auto state = resourceManager_->GetColorByName(actualResName.c_str(), result); in GetColorByName() local 233 if (state != Global::Resource::SUCCESS) { in GetColorByName() 245 auto state = resourceManager_->GetFloatById(resId, dimensionFloat, unit); in GetDimension() local 246 if (state != Global::Resource::SUCCESS) { in GetDimension() 260 auto state = resourceManager_->GetFloatByName(actualResName.c_str(), dimensionFloat, unit); in GetDimensionByName() local 261 if (state != Global::Resource::SUCCESS) { in GetDimensionByName() 272 auto state = resourceManager_->GetStringById(resId, strResult); in GetString() local 273 if (state ! in GetString() 285 auto state = resourceManager_->GetStringByName(actualResName.c_str(), strResult); GetStringByName() local 298 auto state = resourceManager_->GetPluralStringById(resId, quantity, strResult); GetPluralString() local 311 auto state = resourceManager_->GetPluralStringByName(actualResName.c_str(), quantity, strResult); GetPluralStringByName() local 324 auto state = resourceManager_->GetStringArrayById(resId, strResults); GetStringArray() local 337 auto state = resourceManager_->GetStringArrayByName(actualResName.c_str(), strResults); GetStringArrayByName() local 350 auto state = resourceManager_->GetFloatById(resId, result); GetDouble() local 363 auto state = resourceManager_->GetFloatByName(actualResName.c_str(), result); GetDoubleByName() local 376 auto state = resourceManager_->GetIntegerById(resId, result); GetInt() local 389 auto state = resourceManager_->GetIntegerByName(actualResName.c_str(), result); GetIntByName() local 402 auto state = resourceManager_->GetIntArrayById(resId, intVectorResult); GetIntArray() local 418 auto state = resourceManager_->GetIntArrayByName(actualResName.c_str(), intVectorResult); GetIntArrayByName() local 435 auto state = resourceManager_->GetBooleanById(resId, result); GetBoolean() local 448 auto state = resourceManager_->GetBooleanByName(actualResName.c_str(), result); GetBooleanByName() local 461 auto state = resourceManager_->GetMediaById(resId, mediaPath); GetMediaPath() local 477 auto state = resourceManager_->GetMediaByName(actualResName.c_str(), mediaPath); GetMediaPathByName() local 537 auto state = resourceManager_->GetSymbolByName(actualResName.c_str(), result); GetSymbolByName() local [all...] |
/kernel/linux/linux-5.10/drivers/iio/common/cros_ec_sensors/ |
H A D | cros_ec_sensors_core.c | 255 struct cros_ec_sensors_core_state *state = iio_priv(indio_dev); in cros_ec_sensors_core_init() local 260 int frequencies[ARRAY_SIZE(state->frequencies) / 2] = { 0 }; in cros_ec_sensors_core_init() 265 state->ec = ec->ec_dev; in cros_ec_sensors_core_init() 266 state->msg = devm_kzalloc(&pdev->dev, sizeof(*state->msg) + in cros_ec_sensors_core_init() 268 state->ec->max_response), GFP_KERNEL); in cros_ec_sensors_core_init() 269 if (!state->msg) in cros_ec_sensors_core_init() 272 state->resp = (struct ec_response_motion_sense *)state->msg->data; in cros_ec_sensors_core_init() 274 mutex_init(&state in cros_ec_sensors_core_init() 392 cros_ec_motion_send_host_cmd(struct cros_ec_sensors_core_state *state, u16 opt_length) cros_ec_motion_send_host_cmd() argument 791 struct cros_ec_sensors_core_state *state = iio_priv(indio_dev); cros_ec_sensors_core_read_avail() local [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/go7007/ |
H A D | s2250-board.c | 322 struct s2250 *state = to_state(sd); in s2250_s_video_routing() local 326 vidsys = (state->std == V4L2_STD_NTSC) ? 0x01 : 0x00; in s2250_s_video_routing() 340 state->input = input; in s2250_s_video_routing() 346 struct s2250 *state = to_state(sd); in s2250_s_std() local 350 vidsource = (state->input == 1) ? 0x040 : 0x020; in s2250_s_std() 359 state->std = norm; in s2250_s_std() 365 struct s2250 *state = container_of(ctrl->handler, struct s2250, hdl); in s2250_s_ctrl() local 366 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in s2250_s_ctrl() 405 struct s2250 *state = to_state(sd); in s2250_set_fmt() local 415 write_reg_fp(client, 0x12b, state in s2250_set_fmt() 427 struct s2250 *state = to_state(sd); s2250_s_audio_routing() local 449 struct s2250 *state = to_state(sd); s2250_log_status() local 502 struct s2250 *state; s2250_probe() local 606 struct s2250 *state = to_state(i2c_get_clientdata(client)); s2250_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/go7007/ |
H A D | s2250-board.c | 322 struct s2250 *state = to_state(sd); in s2250_s_video_routing() local 326 vidsys = (state->std == V4L2_STD_NTSC) ? 0x01 : 0x00; in s2250_s_video_routing() 340 state->input = input; in s2250_s_video_routing() 346 struct s2250 *state = to_state(sd); in s2250_s_std() local 350 vidsource = (state->input == 1) ? 0x040 : 0x020; in s2250_s_std() 359 state->std = norm; in s2250_s_std() 365 struct s2250 *state = container_of(ctrl->handler, struct s2250, hdl); in s2250_s_ctrl() local 366 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in s2250_s_ctrl() 405 struct s2250 *state = to_state(sd); in s2250_set_fmt() local 415 write_reg_fp(client, 0x12b, state in s2250_set_fmt() 427 struct s2250 *state = to_state(sd); s2250_s_audio_routing() local 449 struct s2250 *state = to_state(sd); s2250_log_status() local 501 struct s2250 *state; s2250_probe() local 605 struct s2250 *state = to_state(i2c_get_clientdata(client)); s2250_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
H A D | lsdc_plane.c | 32 struct drm_plane_state *state) in lsdc_get_fb_offset() 36 offset += fb->format->cpp[0] * (state->src_x >> 16); in lsdc_get_fb_offset() 37 offset += fb->pitches[0] * (state->src_y >> 16); in lsdc_get_fb_offset() 51 struct drm_atomic_state *state) in lsdc_primary_atomic_check() 53 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, plane); in lsdc_primary_atomic_check() 60 new_crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in lsdc_primary_atomic_check() 70 struct drm_atomic_state *state) in lsdc_primary_atomic_update() 74 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in lsdc_primary_atomic_update() 75 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, plane); in lsdc_primary_atomic_update() 90 struct drm_atomic_state *state) in lsdc_primary_atomic_disable() 31 lsdc_get_fb_offset(struct drm_framebuffer *fb, struct drm_plane_state *state) lsdc_get_fb_offset() argument 50 lsdc_primary_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state) lsdc_primary_atomic_check() argument 69 lsdc_primary_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) lsdc_primary_atomic_update() argument 89 lsdc_primary_atomic_disable(struct drm_plane *plane, struct drm_atomic_state *state) lsdc_primary_atomic_disable() argument 174 lsdc_cursor_plane_atomic_async_check(struct drm_plane *plane, struct drm_atomic_state *state) lsdc_cursor_plane_atomic_async_check() argument 220 lsdc_cursor_plane_atomic_async_update(struct drm_plane *plane, struct drm_atomic_state *state) lsdc_cursor_plane_atomic_async_update() argument 269 ls7a1000_cursor_plane_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state) ls7a1000_cursor_plane_atomic_check() argument 299 ls7a1000_cursor_plane_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) ls7a1000_cursor_plane_atomic_update() argument 321 ls7a1000_cursor_plane_atomic_disable(struct drm_plane *plane, struct drm_atomic_state *state) ls7a1000_cursor_plane_atomic_disable() argument 342 ls7a2000_cursor_plane_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state) ls7a2000_cursor_plane_atomic_check() argument 380 ls7a2000_cursor_plane_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) ls7a2000_cursor_plane_atomic_update() argument 417 ls7a2000_cursor_plane_atomic_disable(struct drm_plane *plane, struct drm_atomic_state *state) ls7a2000_cursor_plane_atomic_disable() argument 436 lsdc_plane_atomic_print_state(struct drm_printer *p, const struct drm_plane_state *state) lsdc_plane_atomic_print_state() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
H A D | caamhash.c | 107 /* ahash state */ 140 /* Map state->caam_ctx, and append seq_out_ptr command that points to it */ 142 struct caam_hash_state *state, in map_seq_out_ptr_ctx() 145 state->ctx_dma_len = ctx_len; in map_seq_out_ptr_ctx() 146 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, in map_seq_out_ptr_ctx() 148 if (dma_mapping_error(jrdev, state->ctx_dma)) { in map_seq_out_ptr_ctx() 150 state->ctx_dma = 0; in map_seq_out_ptr_ctx() 154 append_seq_out_ptr(desc, state->ctx_dma, ctx_len, 0); in map_seq_out_ptr_ctx() 159 /* Map current buffer in state (i 141 map_seq_out_ptr_ctx(u32 *desc, struct device *jrdev, struct caam_hash_state *state, int ctx_len) map_seq_out_ptr_ctx() argument 160 buf_map_to_sec4_sg(struct device *jrdev, struct sec4_sg_entry *sec4_sg, struct caam_hash_state *state) buf_map_to_sec4_sg() argument 183 ctx_map_to_sec4_sg(struct device *jrdev, struct caam_hash_state *state, int ctx_len, struct sec4_sg_entry *sec4_sg, u32 flag) ctx_map_to_sec4_sg() argument 546 struct caam_hash_state *state = ahash_request_ctx(req); ahash_unmap() local 566 struct caam_hash_state *state = ahash_request_ctx(req); ahash_unmap_ctx() local 583 struct caam_hash_state *state = ahash_request_ctx(req); ahash_done_cpy() local 634 struct caam_hash_state *state = ahash_request_ctx(req); ahash_done_switch() local 699 struct caam_hash_state *state = ahash_request_ctx(req); ahash_edesc_alloc() local 759 struct caam_hash_state *state = ahash_request_ctx(req); ahash_do_one_req() local 785 struct caam_hash_state *state = ahash_request_ctx(req); ahash_enqueue_req() local 816 struct caam_hash_state *state = ahash_request_ctx(req); ahash_update_ctx() local 941 struct caam_hash_state *state = ahash_request_ctx(req); ahash_final_ctx() local 1002 struct caam_hash_state *state = ahash_request_ctx(req); ahash_finup_ctx() local 1076 struct caam_hash_state *state = ahash_request_ctx(req); ahash_digest() local 1143 struct caam_hash_state *state = ahash_request_ctx(req); ahash_final_no_ctx() local 1192 struct caam_hash_state *state = ahash_request_ctx(req); ahash_update_no_ctx() local 1313 struct caam_hash_state *state = ahash_request_ctx(req); ahash_finup_no_ctx() local 1389 struct caam_hash_state *state = ahash_request_ctx(req); ahash_update_first() local 1498 struct caam_hash_state *state = ahash_request_ctx(req); ahash_init() local 1515 struct caam_hash_state *state = ahash_request_ctx(req); ahash_update() local 1522 struct caam_hash_state *state = ahash_request_ctx(req); ahash_finup() local 1529 struct caam_hash_state *state = ahash_request_ctx(req); ahash_final() local 1536 struct caam_hash_state *state = ahash_request_ctx(req); ahash_export() local 1553 struct caam_hash_state *state = ahash_request_ctx(req); ahash_import() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/caam/ |
H A D | caamhash.c | 112 /* ahash state */ 145 /* Map state->caam_ctx, and append seq_out_ptr command that points to it */ 147 struct caam_hash_state *state, in map_seq_out_ptr_ctx() 150 state->ctx_dma_len = ctx_len; in map_seq_out_ptr_ctx() 151 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, in map_seq_out_ptr_ctx() 153 if (dma_mapping_error(jrdev, state->ctx_dma)) { in map_seq_out_ptr_ctx() 155 state->ctx_dma = 0; in map_seq_out_ptr_ctx() 159 append_seq_out_ptr(desc, state->ctx_dma, ctx_len, 0); in map_seq_out_ptr_ctx() 164 /* Map current buffer in state (i 146 map_seq_out_ptr_ctx(u32 *desc, struct device *jrdev, struct caam_hash_state *state, int ctx_len) map_seq_out_ptr_ctx() argument 165 buf_map_to_sec4_sg(struct device *jrdev, struct sec4_sg_entry *sec4_sg, struct caam_hash_state *state) buf_map_to_sec4_sg() argument 188 ctx_map_to_sec4_sg(struct device *jrdev, struct caam_hash_state *state, int ctx_len, struct sec4_sg_entry *sec4_sg, u32 flag) ctx_map_to_sec4_sg() argument 555 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_unmap() local 575 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_unmap_ctx() local 592 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_done_cpy() local 643 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_done_switch() local 706 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_edesc_alloc() local 763 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_do_one_req() local 792 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_enqueue_req() local 823 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_update_ctx() local 948 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_final_ctx() local 1009 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_finup_ctx() local 1083 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_digest() local 1150 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_final_no_ctx() local 1199 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_update_no_ctx() local 1320 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_finup_no_ctx() local 1396 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_update_first() local 1505 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_init() local 1522 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_update() local 1529 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_finup() local 1536 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_final() local 1543 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_export() local 1560 struct caam_hash_state *state = ahash_request_ctx_dma(req); ahash_import() local [all...] |
/kernel/linux/linux-5.10/block/partitions/ |
H A D | ibm.c | 64 static int find_label(struct parsed_partitions *state, in find_label() argument 102 data = read_part_sector(state, testsect[i], §); in find_label() 133 static int find_vol1_partitions(struct parsed_partitions *state, in find_vol1_partitions() argument 149 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_vol1_partitions() 157 data = read_part_sector(state, blk * secperblk, §); in find_vol1_partitions() 167 data = read_part_sector(state, blk * secperblk, §); in find_vol1_partitions() 180 if (counter >= state->limit) in find_vol1_partitions() 182 put_partition(state, counter + 1, offset, size); in find_vol1_partitions() 185 data = read_part_sector(state, blk * secperblk, §); in find_vol1_partitions() 187 strlcat(state in find_vol1_partitions() 195 find_lnx1_partitions(struct parsed_partitions *state, struct hd_geometry *geo, int blocksize, char name[], union label_t *label, sector_t labelsect, loff_t i_size, dasd_information2_t *info) find_lnx1_partitions() argument 242 find_cms1_partitions(struct parsed_partitions *state, struct hd_geometry *geo, int blocksize, char name[], union label_t *label, sector_t labelsect) find_cms1_partitions() argument 290 ibm_partition(struct parsed_partitions *state) ibm_partition() argument [all...] |