/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | usb_main.c | 20 set_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x2u_start() 29 clear_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x2u_stop() 44 set_bit(MT76_RESET, &dev->mphy.state); in mt76x2u_set_channel() 55 clear_bit(MT76_RESET, &dev->mphy.state); in mt76x2u_set_channel() 90 if (test_bit(MT76_STATE_RUNNING, &mphy->state)) in mt76x2u_config()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | aegis.h | 32 void crypto_aegis128_update_simd(struct aegis_state *state, const void *msg); 33 void crypto_aegis128_init_simd(struct aegis_state *state, 36 void crypto_aegis128_encrypt_chunk_simd(struct aegis_state *state, u8 *dst, 38 void crypto_aegis128_decrypt_chunk_simd(struct aegis_state *state, u8 *dst, 40 int crypto_aegis128_final_simd(struct aegis_state *state,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_modeset_helper.c | 192 struct drm_atomic_state *state; in drm_mode_config_helper_suspend() local 199 state = drm_atomic_helper_suspend(dev); in drm_mode_config_helper_suspend() 200 if (IS_ERR(state)) { in drm_mode_config_helper_suspend() 203 return PTR_ERR(state); in drm_mode_config_helper_suspend() 206 dev->mode_config.suspend_state = state; in drm_mode_config_helper_suspend()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | crc.h | 118 nv50_crc_atomic_stop_reporting(struct drm_atomic_state *state) {} in nv50_crc_atomic_stop_reporting() argument 120 nv50_crc_atomic_init_notifier_contexts(struct drm_atomic_state *state) {} in nv50_crc_atomic_init_notifier_contexts() argument 122 nv50_crc_atomic_release_notifier_contexts(struct drm_atomic_state *state) {} in nv50_crc_atomic_release_notifier_contexts() argument 124 nv50_crc_atomic_start_reporting(struct drm_atomic_state *state) {} in nv50_crc_atomic_start_reporting() argument 126 nv50_crc_atomic_set(struct nv50_head *head, struct nv50_head_atom *state) {} in nv50_crc_atomic_set() argument
|
/kernel/linux/linux-6.6/drivers/iio/chemical/ |
H A D | scd30_i2c.c | 38 static int scd30_i2c_xfer(struct scd30_state *state, char *txbuf, int txsize, in scd30_i2c_xfer() argument 41 struct i2c_client *client = to_i2c_client(state->dev); in scd30_i2c_xfer() 66 static int scd30_i2c_command(struct scd30_state *state, enum scd30_cmd cmd, u16 arg, in scd30_i2c_command() argument 92 ret = scd30_i2c_xfer(state, buf, i, buf, size); in scd30_i2c_command() 100 dev_err(state->dev, "data integrity check failed\n"); in scd30_i2c_command()
|
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-spi-byte.c | 87 const char *state; in spi_byte_probe() local 110 state = of_get_property(child, "default-state", NULL); in spi_byte_probe() 111 if (state) { in spi_byte_probe() 112 if (!strcmp(state, "on")) { in spi_byte_probe() 114 } else if (strcmp(state, "off")) { in spi_byte_probe() 116 dev_err(dev, "default-state can only be 'on' or 'off'"); in spi_byte_probe()
|
/kernel/linux/linux-6.6/sound/firewire/motu/ |
H A D | motu-command-dsp-message-parser.c | 15 // Isochronous packets from the above models includes messages to report state of hardware meter. 27 enum msg_parser_state state; member 53 parser->state = INITIALIZED; in snd_motu_command_dsp_message_parser_init() 106 switch (parser->state) { in snd_motu_command_dsp_message_parser_parse() 114 parser->state = FRAGMENT_DETECTED; in snd_motu_command_dsp_message_parser_parse() 127 parser->state = AVAILABLE; in snd_motu_command_dsp_message_parser_parse()
|
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | swait.c | 91 void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_exclusive() argument 97 set_current_state(state); in prepare_to_swait_exclusive() 102 long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_event() argument 108 if (signal_pending_state(state, current)) { in prepare_to_swait_event() 117 set_current_state(state); in prepare_to_swait_event()
|
/kernel/linux/linux-6.6/lib/ |
H A D | ts_kmp.c | 16 * "on the fly" as needed. Roughly speaking, for any state 42 static unsigned int kmp_find(struct ts_config *conf, struct ts_state *state) in kmp_find() argument 45 unsigned int i, q = 0, text_len, consumed = state->offset; in kmp_find() 50 text_len = conf->get_next_block(consumed, &text, conf, state); in kmp_find() 63 state->offset = consumed + i + 1; in kmp_find() 64 return state->offset - kmp->pattern_len; in kmp_find()
|
/kernel/linux/linux-6.6/mm/kasan/ |
H A D | sw_tags.c | 65 u32 state = this_cpu_read(prng_state); in kasan_random_tag() local 67 state = 1664525 * state + 1013904223; in kasan_random_tag() 68 this_cpu_write(prng_state, state); in kasan_random_tag() 70 return (u8)(state % (KASAN_TAG_MAX + 1)); in kasan_random_tag()
|
/test/testfwk/xdevice/src/xdevice/_core/environment/ |
H A D | device_monitor.py | 45 Provides facilities for monitoring the state of a Device. 55 def wait_for_device_state(self, state, wait_time): 56 listener = DeviceStateListener(state) 57 if self.device_state == state: 61 state)) 70 return self.device_state == state
|
/third_party/curl/tests/libtest/ |
H A D | lib677.c | 40 int state = 0; in test() local 73 waitfd.events = state ? CURL_WAIT_POLLIN : CURL_WAIT_POLLOUT; in test() 83 if(!state) { in test() 97 state++; in test() 118 if(state) { in test()
|
/third_party/ffmpeg/libavutil/tests/ |
H A D | lfg.c | 106 AVLFG state; in main() local 107 av_lfg_init(&state, 0xdeadbeef); in main() 110 //av_log(NULL, AV_LOG_ERROR, "%X\n", av_lfg_get(&state)); in main() 111 x += av_lfg_get(&state); in main() 129 av_lfg_init(&state, 42); in main() 132 av_bmg_get(&state, bmg_out); in main()
|
/third_party/mesa3d/docs/_exts/ |
H A D | nir.py | 72 def parse_rst(state, parent, rst): 74 state.nested_parse(vl, 0, parent) 82 def build_alu_op_desc(state, env, op): 105 parse_rst(state, content, OP_DESC_TEMPLATE.render(op=op, textwrap=textwrap)) 111 return [build_alu_op_desc(self.state, self.env, op)
|
/third_party/libwebsockets/lib/secure-streams/cpp/ |
H A D | lss.cxx | 51 lws_sscb_rx rx, lws_sscb_tx tx, lws_sscb_state state) in lss() 77 ssi.state = state; in lss() 144 int lss::call_completion(lws_ss_constate_t state) in call_completion() argument 153 return comp(this, state, NULL); in call_completion() 50 lss(lws_ctx_t _ctx, std::string _uri, lsscomp_t _comp, bool _psh, lws_sscb_rx rx, lws_sscb_tx tx, lws_sscb_state state) lss() argument
|
/third_party/node/test/parallel/ |
H A D | test-http-upgrade-server.js | 85 let state = 0; 97 state++; 101 if (state === 1) { 105 } else if (state === 2) { 112 assert.strictEqual(state, 2);
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_predicated_break.cpp | 105 struct loop_continue_tracking state = { {0, }, 0 }; in opt_predicated_break() local 119 enter_loop(&state); in opt_predicated_break() 122 set_continue(&state); in opt_predicated_break() 124 exit_loop(&state); in opt_predicated_break() 185 * lead to the while, the flags may be in an unknown state, and the loop in opt_predicated_break() 195 !has_continue(&state)) { in opt_predicated_break()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_linear_fastpath.c | 60 lp_linear_blit_rgba_blit(const struct lp_rast_state *state, in lp_linear_blit_rgba_blit() argument 69 const struct lp_jit_context *context = &state->jit_context; in lp_linear_blit_rgba_blit() 109 lp_linear_blit_rgb1_blit(const struct lp_rast_state *state, in lp_linear_blit_rgb1_blit() argument 118 const struct lp_jit_context *context = &state->jit_context; in lp_linear_blit_rgb1_blit() 165 lp_linear_purple(const struct lp_rast_state *state, in lp_linear_purple() argument
|
/third_party/libinput/src/ |
H A D | util-strings.c | 30 * Return the next word in a string pointed to by state before the first 33 * @param state Current state 37 * @return The first word in *state, NOT null-terminated 40 next_word(const char **state, size_t *len, const char *separators) in next_word() argument 42 assert(state != NULL); in next_word() 44 const char *next = *state; in next_word() 52 *state = next; in next_word() 57 *state = next + l; in next_word()
|
/third_party/lzma/C/ |
H A D | Bra86.c | 47 Byte *Z7_BRANCH_CONV_ST(X86)(Byte *p, SizeT size, UInt32 pc, UInt32 *state, int encoding)
in X86() argument 54 unsigned mask = (unsigned)*state; // & 7;
in X86() 172 *state = (UInt32)mask;
in X86() 181 Byte *m(name)(Byte *data, SizeT size, UInt32 pc, UInt32 *state) \
182 { return Z7_BRANCH_CONV_ST(name)(data, size, pc, state, encoding); }
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_job.h | 36 /* Simple tri-state data structure. In the default "don't care" state, the value 54 pan_tristate_set(struct pan_tristate *state, bool value) in pan_tristate_set() argument 56 switch (state->v) { in pan_tristate_set() 58 state->v = value ? PAN_TRISTATE_TRUE : PAN_TRISTATE_FALSE; in pan_tristate_set() 74 * care state. 77 pan_tristate_get(struct pan_tristate state) in pan_tristate_get() argument 79 return (state.v == PAN_TRISTATE_TRUE); in pan_tristate_get() 140 /* Job scoreboarding state */
|
/third_party/pulseaudio/src/pulsecore/resampler/ |
H A D | ffmpeg.c | 30 struct AVResampleContext *state; member 70 used_frames = (unsigned) av_resample(ffmpeg_data->state, in ffmpeg_resample() 106 if (ffmpeg_data->state) in ffmpeg_free() 107 av_resample_close(ffmpeg_data->state); in ffmpeg_free() 122 if (!(ffmpeg_data->state = av_resample_init((int) r->o_ss.rate, (int) r->i_ss.rate, 16, 10, 0, 0.8))) { in pa_resampler_ffmpeg_init()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | decoratorOnClassMethod19(target=es2015).js | 32 var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
34 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
35 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
H A D | privateNameFieldDestructuredBinding(target=es2015).js | 28 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
31 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
32 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
H A D | privateNameStaticFieldDestructuredBinding(target=es2015).js | 28 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
31 if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
32 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|