/kernel/linux/linux-6.6/drivers/media/pci/netup_unidvb/ |
H A D | netup_unidvb_i2c.c | 79 i2c->state = STATE_DONE; in netup_i2c_interrupt() 85 i2c->state = STATE_ERROR; in netup_i2c_interrupt() 91 i2c->state = STATE_ERROR; in netup_i2c_interrupt() 97 i2c->state = STATE_WANT_READ; in netup_i2c_interrupt() 105 i2c->state = STATE_WANT_WRITE; in netup_i2c_interrupt() 122 i2c->state = STATE_DONE; in netup_i2c_reset() 191 i2c->state = STATE_WAIT; in netup_i2c_start_xfer() 209 if (i2c->state != STATE_DONE) { in netup_i2c_xfer() 211 "%s(): i2c->state == %d, resetting I2C\n", in netup_i2c_xfer() 212 __func__, i2c->state); in netup_i2c_xfer() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | debugfs.c | 293 struct iwl_dbgfs_fw_info_state *state = v; in iwl_dbgfs_fw_info_seq_next() local 297 *pos = ++state->pos; in iwl_dbgfs_fw_info_seq_next() 299 kfree(state); in iwl_dbgfs_fw_info_seq_next() 303 return state; in iwl_dbgfs_fw_info_seq_next() 316 struct iwl_dbgfs_fw_info_state *state; in iwl_dbgfs_fw_info_seq_start() local 321 state = kzalloc(sizeof(*state), GFP_KERNEL); in iwl_dbgfs_fw_info_seq_start() 322 if (!state) in iwl_dbgfs_fw_info_seq_start() 324 state->pos = *pos; in iwl_dbgfs_fw_info_seq_start() 325 return state; in iwl_dbgfs_fw_info_seq_start() 330 struct iwl_dbgfs_fw_info_state *state = v; iwl_dbgfs_fw_info_seq_show() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
H A D | sar.c | 208 switch (tas->state) { in rtw89_query_sar() 360 enum rtw89_tas_state state = tas->state; in rtw89_tas_state_update() local 379 state = RTW89_TAS_STATE_DPR_FORBID; in rtw89_tas_state_update() 390 state = RTW89_TAS_STATE_DPR_ON; in rtw89_tas_state_update() 392 state = RTW89_TAS_STATE_DPR_OFF; in rtw89_tas_state_update() 395 if (tas->state == state) in rtw89_tas_state_update() 399 "TAS old state: %d, new state in rtw89_tas_state_update() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/hisilicon/hibmc/ |
H A D | hibmc_drm_de.c | 56 struct drm_atomic_state *state) in hibmc_plane_atomic_check() 58 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in hibmc_plane_atomic_check() 69 crtc_state = drm_atomic_get_crtc_state(state, crtc); in hibmc_plane_atomic_check() 79 drm_dbg_atomic(plane->dev, "crtc_x/y of drm_plane state is invalid\n"); in hibmc_plane_atomic_check() 102 struct drm_atomic_state *state) in hibmc_plane_atomic_update() 104 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in hibmc_plane_atomic_update() 175 struct drm_atomic_state *state) in hibmc_crtc_atomic_enable() 194 struct drm_atomic_state *state) in hibmc_crtc_atomic_disable() 363 struct drm_display_mode *mode = &crtc->state->mode; in hibmc_crtc_mode_set_nofb() 395 struct drm_atomic_state *state) in hibmc_crtc_atomic_begin() 55 hibmc_plane_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state) hibmc_plane_atomic_check() argument 101 hibmc_plane_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) hibmc_plane_atomic_update() argument 174 hibmc_crtc_atomic_enable(struct drm_crtc *crtc, struct drm_atomic_state *state) hibmc_crtc_atomic_enable() argument 193 hibmc_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_atomic_state *state) hibmc_crtc_atomic_disable() argument 394 hibmc_crtc_atomic_begin(struct drm_crtc *crtc, struct drm_atomic_state *state) hibmc_crtc_atomic_begin() argument 414 hibmc_crtc_atomic_flush(struct drm_crtc *crtc, struct drm_atomic_state *state) hibmc_crtc_atomic_flush() argument [all...] |
/kernel/linux/linux-6.6/drivers/iio/buffer/ |
H A D | industrialio-buffer-dma.c | 39 * * Owned by the application. In this state the application can read data from 98 WARN_ON(block->state != IIO_BLOCK_STATE_DEAD); in iio_buffer_block_release() 182 block->state = IIO_BLOCK_STATE_DEQUEUED; in iio_dma_buffer_alloc_block() 200 if (block->state != IIO_BLOCK_STATE_DEAD) { in _iio_dma_buffer_block_done() 201 block->state = IIO_BLOCK_STATE_DONE; in _iio_dma_buffer_block_done() 263 switch (block->state) { in iio_dma_block_reusable() 312 block->state = IIO_BLOCK_STATE_DEAD; in iio_dma_buffer_request_update() 328 if (block->state == IIO_BLOCK_STATE_DEAD) { in iio_dma_buffer_request_update() 348 block->state = IIO_BLOCK_STATE_QUEUED; in iio_dma_buffer_request_update() 372 block->state in iio_dma_buffer_submit_block() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma.h | 196 u8 state; member 198 struct mutex mutex; /* QP state mutex. */ 336 enum ib_port_state state) in ib_port_state_to_pvrdma() 338 return (enum pvrdma_port_state)state; in ib_port_state_to_pvrdma() 342 enum pvrdma_port_state state) in pvrdma_port_state_to_ib() 344 return (enum ib_port_state)state; in pvrdma_port_state_to_ib() 382 enum ib_mig_state state) in ib_mig_state_to_pvrdma() 384 return (enum pvrdma_mig_state)state; in ib_mig_state_to_pvrdma() 388 enum pvrdma_mig_state state) in pvrdma_mig_state_to_ib() 390 return (enum ib_mig_state)state; in pvrdma_mig_state_to_ib() 335 ib_port_state_to_pvrdma( enum ib_port_state state) ib_port_state_to_pvrdma() argument 341 pvrdma_port_state_to_ib( enum pvrdma_port_state state) pvrdma_port_state_to_ib() argument 381 ib_mig_state_to_pvrdma( enum ib_mig_state state) ib_mig_state_to_pvrdma() argument 387 pvrdma_mig_state_to_ib( enum pvrdma_mig_state state) pvrdma_mig_state_to_ib() argument 408 ib_qp_state_to_pvrdma(enum ib_qp_state state) ib_qp_state_to_pvrdma() argument 413 pvrdma_qp_state_to_ib(enum pvrdma_qp_state state) pvrdma_qp_state_to_ib() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | conntrack_icmp_related.sh | 4 # state 138 meta l4proto icmpv6 icmpv6 type "packet-too-big" ct state "related" counter name "related" accept 139 meta l4proto icmp icmp type "destination-unreachable" ct state "related" counter name "related" accept 140 meta l4proto { icmp, icmpv6 } ct state new,established accept 156 icmp type "redirect" ct state "related" counter name "redir4" accept 157 icmpv6 type "nd-redirect" ct state "related" counter name "redir6" accept 159 meta l4proto { icmp, icmpv6 } ct state established,untracked accept 160 meta l4proto { icmp, icmpv6 } ct state "related" counter name "related" accept 175 meta l4proto { icmp, icmpv6 } ct state established,untracked accept 177 meta l4proto { icmp, icmpv6 } ct state "ne [all...] |
/third_party/f2fs-tools/tools/ |
H A D | sha512.c | 124 __u64 length, state[8]; member 139 /* copy state into S */ in sha512_compress() 141 S[i] = md->sha512.state[i]; in sha512_compress() 144 /* copy the state into 1024-bits into W[0..15] */ in sha512_compress() 168 md->sha512.state[i] = md->sha512.state[i] + S[i]; in sha512_compress() 176 md->sha512.state[0] = CONST64(0x6a09e667f3bcc908); in sha512_init() 177 md->sha512.state[1] = CONST64(0xbb67ae8584caa73b); in sha512_init() 178 md->sha512.state[2] = CONST64(0x3c6ef372fe94f82b); in sha512_init() 179 md->sha512.state[ in sha512_init() [all...] |
/third_party/curl/lib/ |
H A D | sha256.c | 311 unsigned long state[8], curlen; member 353 /* Copy state into S */ in sha256_compress() 355 S[i] = md->state[i]; in sha256_compress() 357 /* copy the state into 512-bits into W[0..15] */ in sha256_compress() 384 md->state[i] = md->state[i] + S[i]; in sha256_compress() 390 /* Initialize the hash state */ 395 md->state[0] = 0x6A09E667UL; in my_sha256_init() 396 md->state[1] = 0xBB67AE85UL; in my_sha256_init() 397 md->state[ in my_sha256_init() [all...] |
/third_party/PyYAML/lib/yaml/ |
H A D | representer.py | 225 state = data.__getstate__() 227 state = data.__dict__.copy() 228 return self.represent_mapping(tag, state, flow_style=flow_style) 299 # (function, args, state, listitems, dictitems) 301 # For reconstructing, we calls function(*args), then set its state, 323 function, args, state, listitems, dictitems = reduce 325 if state is None: 326 state = {} 341 and isinstance(state, dict) and newobj: 343 'tag:yaml.org,2002:python/object:'+function_name, state) [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_buffer.c | 159 struct radv_meta_state *state = &device->meta_state; in radv_device_finish_meta_buffer_state() local 161 radv_DestroyPipeline(radv_device_to_handle(device), state->buffer.copy_pipeline, &state->alloc); in radv_device_finish_meta_buffer_state() 162 radv_DestroyPipeline(radv_device_to_handle(device), state->buffer.fill_pipeline, &state->alloc); in radv_device_finish_meta_buffer_state() 163 radv_DestroyPipelineLayout(radv_device_to_handle(device), state->buffer.copy_p_layout, in radv_device_finish_meta_buffer_state() 164 &state->alloc); in radv_device_finish_meta_buffer_state() 165 radv_DestroyPipelineLayout(radv_device_to_handle(device), state->buffer.fill_p_layout, in radv_device_finish_meta_buffer_state() 166 &state->alloc); in radv_device_finish_meta_buffer_state() 262 cmd_buffer->state in radv_fill_buffer() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_query_hw.c | 52 if (hq->state == NV50_HW_QUERY_STATE_READY) in nv50_hw_query_allocate() 100 hq->state = NV50_HW_QUERY_STATE_READY; in nv50_hw_query_update() 103 hq->state = NV50_HW_QUERY_STATE_READY; in nv50_hw_query_update() 193 hq->state = NV50_HW_QUERY_STATE_ACTIVE; in nv50_hw_begin_query() 208 hq->state = NV50_HW_QUERY_STATE_ENDED; in nv50_hw_end_query() 261 hq->state = NV50_HW_QUERY_STATE_READY; in nv50_hw_end_query() 285 if (hq->state != NV50_HW_QUERY_STATE_READY) in nv50_hw_get_query_result() 288 if (hq->state != NV50_HW_QUERY_STATE_READY) { in nv50_hw_get_query_result() 291 if (hq->state != NV50_HW_QUERY_STATE_FLUSHED) { in nv50_hw_get_query_result() 292 hq->state in nv50_hw_get_query_result() [all...] |
/third_party/libinput/src/ |
H A D | evdev-wheel.c | 44 wheel_state_to_str(enum wheel_state state) in wheel_state_to_str() argument 46 switch(state) { in wheel_state_to_str() 70 "invalid wheel event %s in state %s\n", in log_wheel_bug() 72 wheel_state_to_str(dispatch->wheel.state)); in log_wheel_bug() 95 dispatch->wheel.state = WHEEL_STATE_ACCUMULATING_SCROLL; in wheel_handle_event_on_state_none() 113 dispatch->wheel.state = WHEEL_STATE_SCROLLING; in wheel_handle_event_on_state_accumulating_scroll() 120 dispatch->wheel.state = WHEEL_STATE_NONE; in wheel_handle_event_on_state_accumulating_scroll() 139 dispatch->wheel.state = WHEEL_STATE_NONE; in wheel_handle_event_on_state_scrolling() 143 dispatch->wheel.state = WHEEL_STATE_NONE; in wheel_handle_event_on_state_scrolling() 156 enum wheel_state oldstate = dispatch->wheel.state; in wheel_handle_event() [all...] |
H A D | evdev-middle-button.c | 33 * BEFORE YOU EDIT THIS FILE, look at the state diagram in 34 * doc/middle-button-emulation-state-machine.svg (generated with 39 * Note in regards to the state machine: it only handles left, right and 41 * through. When in the PASSTHROUGH state, all events are passed through 46 middlebutton_state_to_str(enum evdev_middlebutton_state state) in middlebutton_state_to_str() argument 48 switch (state) { in middlebutton_state_to_str() 85 "Invalid event %s in middle btn state %s\n", in middlebutton_state_error() 87 middlebutton_state_to_str(device->middlebutton.state)); in middlebutton_state_error() 105 enum evdev_middlebutton_state state, in middlebutton_set_state() 108 switch (state) { in middlebutton_set_state() 104 middlebutton_set_state(struct evdev_device *device, enum evdev_middlebutton_state state, uint64_t now) middlebutton_set_state() argument 130 middlebutton_post_event(struct evdev_device *device, uint64_t now, int button, enum libinput_button_state state) middlebutton_post_event() argument 578 evdev_middlebutton_filter_button(struct evdev_device *device, uint64_t time, int button, enum libinput_button_state state) evdev_middlebutton_filter_button() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | DisplayD3D.cpp | 164 DisplayD3D::DisplayD3D(const egl::DisplayState &state) : DisplayImpl(state), mRenderer(nullptr) {} in DisplayD3D() argument 166 SurfaceImpl *DisplayD3D::createWindowSurface(const egl::SurfaceState &state, in createWindowSurface() argument 171 return new WindowSurfaceD3D(state, mRenderer, mDisplay, window, attribs); in createWindowSurface() 174 SurfaceImpl *DisplayD3D::createPbufferSurface(const egl::SurfaceState &state, in createPbufferSurface() argument 178 return new PbufferSurfaceD3D(state, mRenderer, mDisplay, 0, nullptr, attribs); in createPbufferSurface() 181 SurfaceImpl *DisplayD3D::createPbufferFromClientBuffer(const egl::SurfaceState &state, in createPbufferFromClientBuffer() argument 187 return new PbufferSurfaceD3D(state, mRenderer, mDisplay, buftype, clientBuffer, attribs); in createPbufferFromClientBuffer() 190 SurfaceImpl *DisplayD3D::createPixmapSurface(const egl::SurfaceState &state, in createPixmapSurface() argument 198 ImageImpl *DisplayD3D::createImage(const egl::ImageState &state, in createImage() argument 211 createContext(const gl::State &state, gl::ErrorSet *errorSet, const egl::Config *configuration, const gl::Context *shareContext, const egl::AttributeMap &attribs) createContext() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_wsc.c | 20 enum { WAIT_START, MESG, WAIT_FRAG_ACK, FAIL } state; member 32 static const char * eap_wsc_state_txt(int state) in eap_wsc_state_txt() argument 34 switch (state) { in eap_wsc_state_txt() 49 static void eap_wsc_state(struct eap_wsc_data *data, int state) in eap_wsc_state() argument 52 eap_wsc_state_txt(data->state), in eap_wsc_state() 53 eap_wsc_state_txt(state)); in eap_wsc_state() 54 data->state = state; in eap_wsc_state() 176 data->state = registrar ? MESG : WAIT_START; in eap_wsc_init() 348 if ((data->state in eap_wsc_build_msg() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_wsc.c | 20 enum { START, MESG, FRAG_ACK, WAIT_FRAG_ACK, DONE, FAIL } state; member 33 static const char * eap_wsc_state_txt(int state) in eap_wsc_state_txt() argument 35 switch (state) { in eap_wsc_state_txt() 55 static void eap_wsc_state(struct eap_wsc_data *data, int state) in eap_wsc_state() argument 58 eap_wsc_state_txt(data->state), in eap_wsc_state() 59 eap_wsc_state_txt(state)); in eap_wsc_state() 60 data->state = state; in eap_wsc_state() 102 data->state = registrar ? START : MESG; in eap_wsc_init() 246 switch (data->state) { in eap_wsc_buildReq() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_wsc.c | 22 enum { WAIT_START, MESG, WAIT_FRAG_ACK, FAIL } state; member 34 static const char * eap_wsc_state_txt(int state) in eap_wsc_state_txt() argument 36 switch (state) { in eap_wsc_state_txt() 51 static void eap_wsc_state(struct eap_wsc_data *data, int state) in eap_wsc_state() argument 54 eap_wsc_state_txt(data->state), in eap_wsc_state() 55 eap_wsc_state_txt(state)); in eap_wsc_state() 56 data->state = state; in eap_wsc_state() 178 data->state = registrar ? MESG : WAIT_START; in eap_wsc_init() 350 if ((data->state in eap_wsc_build_msg() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_wsc.c | 20 enum { START, MESG, FRAG_ACK, WAIT_FRAG_ACK, DONE, FAIL } state; member 33 static const char * eap_wsc_state_txt(int state) in eap_wsc_state_txt() argument 35 switch (state) { in eap_wsc_state_txt() 55 static void eap_wsc_state(struct eap_wsc_data *data, int state) in eap_wsc_state() argument 58 eap_wsc_state_txt(data->state), in eap_wsc_state() 59 eap_wsc_state_txt(state)); in eap_wsc_state() 60 data->state = state; in eap_wsc_state() 102 data->state = registrar ? START : MESG; in eap_wsc_init() 248 switch (data->state) { in eap_wsc_buildReq() [all...] |
/foundation/ability/ability_lite/frameworks/ability_lite/src/ |
H A D | ability_scheduler.cpp | 73 int state = 0; in AmsCallback() local 74 ReadInt32(data, &state); in AmsCallback() 84 scheduler->PerformTransactAbilityState(want, state, token, abilityType); in AmsCallback() 141 void AbilityScheduler::PerformTransactAbilityState(const Want &want, int state, uint64_t token, int abilityType) in PerformTransactAbilityState() argument 143 auto task = [this, want, state, token, abilityType] { in PerformTransactAbilityState() 144 scheduler_.PerformTransactAbilityState(want, state, token, abilityType); in PerformTransactAbilityState()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | input_event.h | 73 void operator()(bool state, HoverInfo& info) const in operator ()() argument 76 onHoverEventCallback_(state, info); in operator ()() 79 void operator()(bool state) const in operator ()() 82 onHoverCallback_(state); in operator ()() 93 void operator()(bool state, AccessibilityHoverInfo& info) const in operator ()() argument 96 onAccessibilityHoverFunc_(state, info); in operator ()()
|
/foundation/barrierfree/accessibility/services/aams/test/mock/include/ |
H A D | mock_accessible_ability_manager_service.h | 46 MOCK_METHOD1(SetCaptionState, RetError(const bool state)); 47 MOCK_METHOD1(SetEnabled, bool(const bool state)); 91 MOCK_METHOD1(GetCaptionState, RetError(bool &state)); 95 MOCK_METHOD1(SetTouchGuideState, bool(const bool state)); 96 MOCK_METHOD1(SetGestureState, bool(const bool state)); 97 MOCK_METHOD1(SetKeyEventObserverState, bool(const bool state));
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_drawable.cpp | 70 Global::Resource::RState state = resourceManager->GetThemeIcons(iconId, foregroundInfo, backgroundInfo, density, in GetIconResourceByTheme() local 72 if (state == Global::Resource::SUCCESS) { in GetIconResourceByTheme() 111 Global::Resource::RState state = Global::Resource::SUCCESS; in GetIconResourceByHap() local 113 iconId, resourceManager, state, drawableType, density); in GetIconResourceByHap() 114 if ((drawableDescriptor == nullptr) || (state != Global::Resource::SUCCESS)) { in GetIconResourceByHap() 116 resourceInfo.bundleName_.c_str(), static_cast<int32_t>(state)); in GetIconResourceByHap()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/ |
H A D | wifi_device_callback_proxy.cpp | 29 void WifiDeviceCallBackProxy::OnWifiStateChanged(int state) in OnWifiStateChanged() argument 40 data.WriteInt32(state); in OnWifiStateChanged() 51 void WifiDeviceCallBackProxy::OnWifiConnectionChanged(int state, const WifiLinkedInfo &info) in OnWifiConnectionChanged() argument 62 data.WriteInt32(state); in OnWifiConnectionChanged() 115 void WifiDeviceCallBackProxy::OnWifiWpsStateChanged(int state, const std::string &pinCode) in OnWifiWpsStateChanged() argument 126 data.WriteInt32(state); in OnWifiWpsStateChanged()
|
/foundation/communication/bluetooth_service/test/unittest/pan/ |
H A D | pan_test.cpp | 31 virtual void OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) {} in OnConnectionStateChanged() argument 124 int32_t state = static_cast<int32_t>(BTConnectState::DISCONNECTED); in HWTEST_F() local 125 profile_->GetDeviceState(device, state); in HWTEST_F() 126 EXPECT_EQ(sucess, state); in HWTEST_F() 195 int state = static_cast<int>(BTConnectState::DISCONNECTED); in HWTEST_F() local 196 panObserverTest->OnConnectionStateChanged(device, state, 0); in HWTEST_F()
|