Home
last modified time | relevance | path

Searched refs:state (Results 3751 - 3775 of 17969) sorted by relevance

1...<<151152153154155156157158159160>>...719

/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Dclps711x-keypad.c50 bool state, state1; in clps711x_keypad_poll() local
54 state = gpiod_get_value_cansleep(data->desc); in clps711x_keypad_poll()
57 } while (state != state1); in clps711x_keypad_poll()
59 if (test_bit(col, data->last_state) != state) { in clps711x_keypad_poll()
63 if (state) { in clps711x_keypad_poll()
73 keycodes[code], state); in clps711x_keypad_poll()
/kernel/linux/linux-6.6/sound/core/
H A Ddevice.c43 dev->state = SNDRV_DEV_BUILD; in snd_device_new()
61 if (dev->state == SNDRV_DEV_REGISTERED) { in __snd_device_disconnect()
65 dev->state = SNDRV_DEV_DISCONNECTED; in __snd_device_disconnect()
98 * Turns the device into the disconnection state, invoking
127 * callbacks, dev_disconnect and dev_free, corresponding to the state.
147 if (dev->state == SNDRV_DEV_BUILD) { in __snd_device_register()
153 dev->state = SNDRV_DEV_REGISTERED; in __snd_device_register()
242 * snd_device_get_state - Get the current state of the given device
246 * Returns the current state of the given device object. For the valid
251 * Return: the current state, o
[all...]
/kernel/linux/linux-6.6/lib/crypto/
H A Dchacha.c68 * @state: input state matrix (16 32-bit words)
76 void chacha_block_generic(u32 *state, u8 *stream, int nrounds) in chacha_block_generic() argument
81 memcpy(x, state, 64); in chacha_block_generic()
86 put_unaligned_le32(x[i] + state[i], &stream[i * sizeof(u32)]); in chacha_block_generic()
88 state[12]++; in chacha_block_generic()
94 * @state: input state matrix (16 32-bit words)
100 * skips the final addition of the initial state, and outputs only certain words
101 * of the state
103 hchacha_block_generic(const u32 *state, u32 *stream, int nrounds) hchacha_block_generic() argument
[all...]
/kernel/linux/linux-6.6/net/lapb/
H A Dlapb_timer.c105 switch (lapb->state) { in lapb_t1timer_expiry()
117 lapb->state = LAPB_STATE_1; in lapb_t1timer_expiry()
123 * Awaiting connection state, send SABM(E), up to N2 times. in lapb_t1timer_expiry()
128 lapb->state = LAPB_STATE_0; in lapb_t1timer_expiry()
148 * Awaiting disconnection state, send DISC, up to N2 times. in lapb_t1timer_expiry()
153 lapb->state = LAPB_STATE_0; in lapb_t1timer_expiry()
166 * Data transfer state, restransmit I frames, up to N2 times. in lapb_t1timer_expiry()
171 lapb->state = LAPB_STATE_0; in lapb_t1timer_expiry()
185 * Frame reject state, restransmit FRMR frames, up to N2 times. in lapb_t1timer_expiry()
190 lapb->state in lapb_t1timer_expiry()
[all...]
/test/xts/hats/hdf/audio/idl/benchmarktest/render/
H A Daudio_render_offload_benchmarktest.cpp51 virtual void SetUp(const ::benchmark::State &state);
52 virtual void TearDown(const ::benchmark::State &state);
123 void AudioRenderOffloadBenchmarkTest::SetUp(const ::benchmark::State &state) in SetUp() argument
140 void AudioRenderOffloadBenchmarkTest::TearDown(const ::benchmark::State &state) in TearDown() argument
159 BENCHMARK_F(AudioRenderOffloadBenchmarkTest, SetBufferSize)(benchmark::State &state) in BENCHMARK_F()
163 for (auto _ : state) { in BENCHMARK_F()
/third_party/ffmpeg/tools/
H A Dprobetest.c98 AVLFG state; in main() local
129 av_lfg_init(&state, 0xdeadbeef); in main()
154 put_bits(&pb, 1, (av_lfg_get(&state) & 0xFFFFFFFF) > p << 20); in main()
159 unsigned int v = (av_lfg_get(&state) & 0xFFFFFFFF) > p2 << 26; in main()
167 unsigned int v = (av_lfg_get(&state) & 0xFFFFFFFF) > p2 << 29; in main()
176 c = (av_lfg_get(&state) & 0xFFFFFFFF) >> 24; in main()
/third_party/libuv/test/
H A Dbenchmark-ping-pongs.c34 int state; member
147 ASSERT_EQ(buf->base[i], PING[pinger->state]); in pinger_read_cb()
148 pinger->state = (pinger->state + 1) % (sizeof(PING) - 1); in pinger_read_cb()
149 if (pinger->state == 0) { in pinger_read_cb()
188 pinger->state = 0; in pinger_new()
/third_party/ntfs-3g/include/ntfs-3g/
H A Dinode.h40 * Defined bits for the state field in the ntfs_inode structure.
57 #define test_nino_flag(ni, flag) test_bit(NI_##flag, (ni)->state)
58 #define set_nino_flag(ni, flag) set_bit(NI_##flag, (ni)->state)
59 #define clear_nino_flag(ni, flag) clear_bit(NI_##flag, (ni)->state)
62 test_and_set_bit(NI_##flag, (ni)->state)
64 test_and_clear_bit(NI_##flag, (ni)->state)
110 unsigned long state; /* NTFS specific flags describing this inode. member
117 * Only valid if NI_AttrList is set in state.
162 /* only if NI_v3_Extensions is set in state */
/third_party/mesa3d/src/intel/vulkan/
H A Danv_bo_sync.c43 sync->state = initial_value ? ANV_BO_SYNC_STATE_SIGNALED : in anv_bo_sync_init()
69 sync->state = ANV_BO_SYNC_STATE_RESET; in anv_bo_sync_reset()
115 switch (sync->state) { in anv_bo_sync_wait()
145 sync->state = ANV_BO_SYNC_STATE_SIGNALED; in anv_bo_sync_wait()
153 unreachable("Invalid BO sync state"); in anv_bo_sync_wait()
165 /* It's possible that some of the fences have changed state since the in anv_bo_sync_wait()
172 if (sync->state == ANV_BO_SYNC_STATE_RESET) in anv_bo_sync_wait()
230 bo_sync->state = signal_memory ? ANV_BO_SYNC_STATE_RESET : in anv_create_sync_for_memory()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atom_framebuffer.c107 * Update framebuffer state (color, depth, stencil, etc. buffers)
121 st->state.fb_orientation = _mesa_fb_orientation(fb); in st_update_framebuffer_state()
139 /* Examine Mesa's ctx->DrawBuffer->_ColorDrawBuffers state in st_update_framebuffer_state()
217 st->state.fb_width = framebuffer.width; in st_update_framebuffer_state()
218 st->state.fb_height = framebuffer.height; in st_update_framebuffer_state()
219 st->state.fb_num_samples = util_framebuffer_get_num_samples(&framebuffer); in st_update_framebuffer_state()
220 st->state.fb_num_layers = util_framebuffer_get_num_layers(&framebuffer); in st_update_framebuffer_state()
221 st->state.fb_num_cb = framebuffer.nr_cbufs; in st_update_framebuffer_state()
/third_party/libinput/src/
H A Devdev-fallback.h78 enum mt_slot_state state; member
114 enum wheel_state state; member
126 int state; member
148 enum debounce_state state; member
166 /* pen/touch arbitration has a delayed state,
170 enum evdev_arbitration_state state; member
271 enum libinput_button_state state);
/third_party/lwip/src/include/netif/ppp/
H A Dmppe.h169 void mppe_set_key(ppp_pcb *pcb, ppp_mppe_state *state, u8_t *key);
170 void mppe_init(ppp_pcb *pcb, ppp_mppe_state *state, u8_t options);
171 void mppe_comp_reset(ppp_pcb *pcb, ppp_mppe_state *state);
172 err_t mppe_compress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb, u16_t protocol);
173 void mppe_decomp_reset(ppp_pcb *pcb, ppp_mppe_state *state);
174 err_t mppe_decompress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb);
/third_party/lz4/lib/
H A Dlz4hc.h75 * Same as LZ4_compress_HC(), but using an externally allocated memory segment for `state`.
76 * `state` size is provided by LZ4_sizeofStateHC().
104 * These functions create and release memory for LZ4 HC streaming state.
106 * A same state can be used multiple times consecutively,
119 Before starting compression, state must be allocated and properly initialized.
125 which is automatically the case when state is created using LZ4_createStreamHC().
141 so the state _must_ be reset.
151 it's possible to start a new stream of blocks, using the same LZ4_streamHC_t state,
229 * This structure allows static allocation of LZ4 HC streaming state.
232 * Such state **mus
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dmemory-lowering.h32 // An allocation state is propagated on the effect paths through the graph.
93 AllocationState const** state);
98 AllocationState const* state = nullptr);
100 AllocationState const* state = nullptr);
102 AllocationState const* state = nullptr);
103 Reduction ReduceStore(Node* node, AllocationState const* state = nullptr);
109 AllocationState const* state,
/third_party/python/Lib/
H A Dcopyreg.py47 def _reconstructor(cls, base, state):
51 obj = base.__new__(cls, state)
53 base.__init__(obj, state)
73 state = None
77 state = base(self)
78 args = (cls, base, state)
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/
H A DDisplayCGL.h42 DisplayCGL(const egl::DisplayState &state);
55 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state,
58 SurfaceImpl *createPbufferSurface(const egl::SurfaceState &state,
60 SurfaceImpl *createPbufferFromClientBuffer(const egl::SurfaceState &state,
64 SurfaceImpl *createPixmapSurface(const egl::SurfaceState &state,
68 ContextImpl *createContext(const gl::State &state,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
H A DDisplayGLX.h32 DisplayGLX(const egl::DisplayState &state);
43 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state,
46 SurfaceImpl *createPbufferSurface(const egl::SurfaceState &state,
48 SurfaceImpl *createPbufferFromClientBuffer(const egl::SurfaceState &state,
52 SurfaceImpl *createPixmapSurface(const egl::SurfaceState &state,
60 ContextImpl *createContext(const gl::State &state,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
H A DDisplayWGL.h29 DisplayWGL(const egl::DisplayState &state);
36 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state,
39 SurfaceImpl *createPbufferSurface(const egl::SurfaceState &state,
41 SurfaceImpl *createPbufferFromClientBuffer(const egl::SurfaceState &state,
45 SurfaceImpl *createPixmapSurface(const egl::SurfaceState &state,
49 ContextImpl *createContext(const gl::State &state,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/win32/
H A DDisplayVkWin32.cpp23 DisplayVkWin32::DisplayVkWin32(const egl::DisplayState &state) in DisplayVkWin32() argument
24 : DisplayVk(state), mWindowClass(NULL), mMockWindow(nullptr) in DisplayVkWin32()
54 SurfaceImpl *DisplayVkWin32::createWindowSurfaceVk(const egl::SurfaceState &state, in createWindowSurfaceVk() argument
57 return new WindowSurfaceVkWin32(state, window); in createWindowSurfaceVk()
186 DisplayImpl *CreateVulkanWin32Display(const egl::DisplayState &state) in CreateVulkanWin32Display() argument
188 return new DisplayVkWin32(state); in CreateVulkanWin32Display()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dnonsecure_base_test.cc221 result_type operator()() { return state[0]; } in operator ()()
225 std::fill(std::begin(state), std::end(state), T(0)); in seed()
226 seq.generate(std::begin(state), std::end(state)); in seed()
229 T state[2]; member
/kernel/linux/linux-6.6/drivers/scsi/
H A Dlibiscsi.c432 task->state = ISCSI_TASK_RUNNING; in iscsi_prep_scsi_cmd_pdu()
459 int oldstate = task->state; in iscsi_free_task()
461 ISCSI_DBG_SESSION(session, "freeing task itt 0x%x state %d sc %p\n", in iscsi_free_task()
462 task->itt, task->state, task->sc); in iscsi_free_task()
465 task->state = ISCSI_TASK_FREE; in iscsi_free_task()
521 * @state: state to complete task with
525 static void iscsi_complete_task(struct iscsi_task *task, int state) in iscsi_complete_task() argument
530 "complete task itt 0x%x state %d sc %p\n", in iscsi_complete_task()
531 task->itt, task->state, tas in iscsi_complete_task()
619 int state; __fail_scsi_task() local
3358 int i, state; fail_mgmt_tasks() local
[all...]
/kernel/linux/linux-5.10/drivers/net/plip/
H A Dplip.c181 enum plip_packet_state state; member
422 dev->name, snd->state, c0); in plip_bh_timeout_error()
428 if (rcv->state == PLIP_PK_TRIGGER) { in plip_bh_timeout_error()
441 dev->name, rcv->state, c0); in plip_bh_timeout_error()
445 rcv->state = PLIP_PK_DONE; in plip_bh_timeout_error()
450 snd->state = PLIP_PK_DONE; in plip_bh_timeout_error()
587 switch (rcv->state) { in plip_receive_packet()
595 rcv->state = PLIP_PK_LENGTH_LSB; in plip_receive_packet()
600 if (snd->state != PLIP_PK_DONE) { in plip_receive_packet()
604 rcv->state in plip_receive_packet()
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_nat_proto.c626 const struct nf_hook_state *state) in nf_nat_ipv4_fn()
638 state->hook)) in nf_nat_ipv4_fn()
645 return nf_nat_inet_fn(priv, skb, state); in nf_nat_ipv4_fn()
650 const struct nf_hook_state *state) in nf_nat_ipv4_pre_routing()
655 ret = nf_nat_ipv4_fn(priv, skb, state); in nf_nat_ipv4_pre_routing()
664 const struct nf_hook_state *state) in nf_nat_ipv4_local_in()
670 ret = nf_nat_ipv4_fn(priv, skb, state); in nf_nat_ipv4_local_in()
681 const struct nf_hook_state *state) in nf_nat_ipv4_out()
690 ret = nf_nat_ipv4_fn(priv, skb, state); in nf_nat_ipv4_out()
707 err = nf_xfrm_me_harder(state in nf_nat_ipv4_out()
625 nf_nat_ipv4_fn(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) nf_nat_ipv4_fn() argument
649 nf_nat_ipv4_pre_routing(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) nf_nat_ipv4_pre_routing() argument
663 nf_nat_ipv4_local_in(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) nf_nat_ipv4_local_in() argument
680 nf_nat_ipv4_out(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) nf_nat_ipv4_out() argument
717 nf_nat_ipv4_local_fn(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) nf_nat_ipv4_local_fn() argument
866 nf_nat_ipv6_fn(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) nf_nat_ipv6_fn() argument
903 nf_nat_ipv6_in(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) nf_nat_ipv6_in() argument
918 nf_nat_ipv6_out(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) nf_nat_ipv6_out() argument
955 nf_nat_ipv6_local_fn(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) nf_nat_ipv6_local_fn() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
H A Ddp_display.c42 /* event thread connection state */
83 /* state variables */
556 u32 state; in dp_hpd_plug_handle() local
565 state = dp->hpd_state; in dp_hpd_plug_handle()
566 if (state == ST_DISPLAY_OFF || state == ST_SUSPENDED) { in dp_hpd_plug_handle()
571 if (state == ST_CONNECT_PENDING || state == ST_CONNECTED) { in dp_hpd_plug_handle()
576 if (state == ST_DISCONNECT_PENDING) { in dp_hpd_plug_handle()
612 u32 state; in dp_connect_pending_timeout() local
644 u32 state; dp_hpd_unplug_handle() local
694 u32 state; dp_disconnect_pending_timeout() local
711 u32 state; dp_irq_hpd_handle() local
1449 u32 state; msm_dp_display_enable() local
1516 u32 state; msm_dp_display_disable() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/
H A Dzynqmp_disp.c893 * Enable the audio mixer by de-asserting the soft reset. The audio state is set to
1057 * @state: The plane state
1059 * Set the format for @layer based on @state->fb->format. The layer must be
1063 struct drm_plane_state *state) in zynqmp_disp_layer_set_format()
1065 const struct drm_format_info *info = state->fb->format; in zynqmp_disp_layer_set_format()
1092 * @state: The plane state
1100 struct drm_plane_state *state) in zynqmp_disp_layer_update()
1106 unsigned int width = state in zynqmp_disp_layer_update()
1062 zynqmp_disp_layer_set_format(struct zynqmp_disp_layer *layer, struct drm_plane_state *state) zynqmp_disp_layer_set_format() argument
1099 zynqmp_disp_layer_update(struct zynqmp_disp_layer *layer, struct drm_plane_state *state) zynqmp_disp_layer_update() argument
1146 zynqmp_disp_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *state) zynqmp_disp_plane_atomic_check() argument
1506 zynqmp_disp_crtc_atomic_check(struct drm_crtc *crtc, struct drm_crtc_state *state) zynqmp_disp_crtc_atomic_check() argument
[all...]

Completed in 25 milliseconds

1...<<151152153154155156157158159160>>...719