Home
last modified time | relevance | path

Searched refs:state (Results 701 - 725 of 21865) sorted by relevance

1...<<21222324252627282930>>...875

/third_party/ffmpeg/libavutil/
H A Dsha512.c39 uint64_t state[8]; ///< current hash value member
120 static void sha512_transform(uint64_t *state, const uint8_t buffer[128]) in sha512_transform() argument
127 a = state[0]; in sha512_transform()
128 b = state[1]; in sha512_transform()
129 c = state[2]; in sha512_transform()
130 d = state[3]; in sha512_transform()
131 e = state[4]; in sha512_transform()
132 f = state[5]; in sha512_transform()
133 g = state[6]; in sha512_transform()
134 h = state[ in sha512_transform()
[all...]
/third_party/python/Modules/
H A D_gdbmmodule.c28 void *state = PyModule_GetState(module); in get_gdbm_state() local
29 assert(state != NULL); in get_gdbm_state()
30 return (_gdbm_state *)state; in get_gdbm_state()
76 newgdbmobject(_gdbm_state *state, const char *file, int flags, int mode) in newgdbmobject() argument
78 gdbmobject *dp = PyObject_GC_New(gdbmobject, state->gdbm_type); in newgdbmobject()
88 PyErr_SetFromErrnoWithFilename(state->gdbm_error, file); in newgdbmobject()
91 PyErr_SetString(state->gdbm_error, gdbm_strerror(gdbm_errno)); in newgdbmobject()
122 _gdbm_state *state = PyType_GetModuleState(Py_TYPE(dp)); in gdbm_length() local
124 PyErr_SetString(state->gdbm_error, "GDBM object has already been closed"); in gdbm_length()
133 PyErr_SetFromErrno(state in gdbm_length()
191 _gdbm_state *state = PyType_GetModuleState(Py_TYPE(dp)); gdbm_subscript() local
241 _gdbm_state *state = PyType_GetModuleState(Py_TYPE(dp)); gdbm_ass_sub() local
341 _gdbm_state *state = PyType_GetModuleState(cls); _gdbm_gdbm_keys_impl() local
382 _gdbm_state *state = PyType_GetModuleState(Py_TYPE(dp)); gdbm_contains() local
426 _gdbm_state *state = PyType_GetModuleState(cls); _gdbm_gdbm_firstkey_impl() local
466 _gdbm_state *state = PyType_GetModuleState(cls); _gdbm_gdbm_nextkey_impl() local
501 _gdbm_state *state = PyType_GetModuleState(cls); _gdbm_gdbm_reorganize_impl() local
530 _gdbm_state *state = PyType_GetModuleState(cls); _gdbm_gdbm_sync_impl() local
628 _gdbm_state *state = get_gdbm_state(module); dbmopen_impl() local
711 _gdbm_state *state = get_gdbm_state(module); _gdbm_exec() local
747 _gdbm_state *state = get_gdbm_state(module); _gdbm_module_traverse() local
756 _gdbm_state *state = get_gdbm_state(module); _gdbm_module_clear() local
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/qcom/
H A Dpinctrl-spmi-gpio.c132 * @is_enabled: Set to false when GPIO should be put in high Z state.
215 static int pmic_gpio_read(struct pmic_gpio_state *state, in pmic_gpio_read() argument
221 ret = regmap_read(state->map, pad->base + addr, &val); in pmic_gpio_read()
223 dev_err(state->dev, "read 0x%x failed\n", addr); in pmic_gpio_read()
230 static int pmic_gpio_write(struct pmic_gpio_state *state, in pmic_gpio_write() argument
236 ret = regmap_write(state->map, pad->base + addr, val); in pmic_gpio_write()
238 dev_err(state->dev, "write 0x%x failed\n", addr); in pmic_gpio_write()
295 struct pmic_gpio_state *state = pinctrl_dev_get_drvdata(pctldev); in pmic_gpio_set_mux() local
333 ret = pmic_gpio_write(state, pad, in pmic_gpio_set_mux()
339 ret = pmic_gpio_write(state, pa in pmic_gpio_set_mux()
456 struct pmic_gpio_state *state = pinctrl_dev_get_drvdata(pctldev); pmic_gpio_config_set() local
622 struct pmic_gpio_state *state = pinctrl_dev_get_drvdata(pctldev); pmic_gpio_config_dbg_show() local
689 struct pmic_gpio_state *state = gpiochip_get_data(chip); pmic_gpio_direction_input() local
700 struct pmic_gpio_state *state = gpiochip_get_data(chip); pmic_gpio_direction_output() local
710 struct pmic_gpio_state *state = gpiochip_get_data(chip); pmic_gpio_get() local
732 struct pmic_gpio_state *state = gpiochip_get_data(chip); pmic_gpio_set() local
755 struct pmic_gpio_state *state = gpiochip_get_data(chip); pmic_gpio_dbg_show() local
775 pmic_gpio_populate(struct pmic_gpio_state *state, struct pmic_gpio_pad *pad) pmic_gpio_populate() argument
926 struct pmic_gpio_state *state = container_of(domain->host_data, pmic_gpio_domain_translate() local
966 struct pmic_gpio_state *state; pmic_gpio_probe() local
1100 struct pmic_gpio_state *state = platform_get_drvdata(pdev); pmic_gpio_remove() local
[all...]
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_cmd_buffer.c52 cmdbuf->state.vb.bufs[firstBinding + i].address = in panvk_CmdBindVertexBuffers()
54 cmdbuf->state.vb.bufs[firstBinding + i].size = in panvk_CmdBindVertexBuffers()
58 cmdbuf->state.vb.count = MAX2(cmdbuf->state.vb.count, firstBinding + bindingCount); in panvk_CmdBindVertexBuffers()
71 cmdbuf->state.ib.buffer = buf; in panvk_CmdBindIndexBuffer()
72 cmdbuf->state.ib.offset = offset; in panvk_CmdBindIndexBuffer()
75 cmdbuf->state.ib.index_size = 16; in panvk_CmdBindIndexBuffer()
78 cmdbuf->state.ib.index_size = 32; in panvk_CmdBindIndexBuffer()
81 cmdbuf->state.ib.index_size = 0; in panvk_CmdBindIndexBuffer()
84 cmdbuf->state in panvk_CmdBindIndexBuffer()
[all...]
/third_party/libwebsockets/lib/roles/http/
H A Dminilex.c4 * High efficiency lexical state parser
195 struct state { struct
197 int state[PARALLEL]; member
206 struct state state[1000]; variable
290 for (y = 0; y < state[walk].count; y++) in issue()
291 if (state[walk].c[y] == rset[n][m]) { in issue()
293 walk = state[walk].state[y]; in issue()
303 state[wal in issue()
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dtc358743.c115 struct tc358743_state *state = to_state(sd); in i2c_rd() local
116 struct i2c_client *client = state->i2c_client; in i2c_rd()
143 struct tc358743_state *state = to_state(sd); in i2c_wr() local
144 struct i2c_client *client = state->i2c_client; in i2c_wr()
359 struct tc358743_state *state = container_of(dwork, in tc358743_delayed_work_enable_hotplug() local
361 struct v4l2_subdev *sd = &state->sd; in tc358743_delayed_work_enable_hotplug()
392 struct tc358743_state *state = to_state(sd); in tc358743_disable_edid() local
396 cancel_delayed_work_sync(&state->delayed_work_enable_hotplug); in tc358743_disable_edid()
405 struct tc358743_state *state = to_state(sd); in tc358743_enable_edid() local
407 if (state in tc358743_enable_edid()
459 struct tc358743_state *state = to_state(sd); tc358743_s_ctrl_detect_tx_5v() local
467 struct tc358743_state *state = to_state(sd); tc358743_s_ctrl_audio_sampling_rate() local
475 struct tc358743_state *state = to_state(sd); tc358743_s_ctrl_audio_present() local
518 struct tc358743_state *state = to_state(sd); enable_stream() local
546 struct tc358743_state *state = to_state(sd); tc358743_set_pll() local
585 struct tc358743_state *state = to_state(sd); tc358743_set_ref_clk() local
634 struct tc358743_state *state = to_state(sd); tc358743_set_csi_color_space() local
668 struct tc358743_state *state = to_state(sd); tc358743_num_csi_lanes_needed() local
681 struct tc358743_state *state = to_state(sd); tc358743_set_csi() local
745 struct tc358743_state *state = to_state(sd); tc358743_set_hdmi_phy() local
775 struct tc358743_state *state = to_state(sd); tc358743_set_hdmi_audio() local
815 struct tc358743_state *state = to_state(sd); tc358743_initial_setup() local
857 struct tc358743_state *state = adap->priv; tc358743_cec_adap_enable() local
871 struct tc358743_state *state = adap->priv; tc358743_cec_adap_monitor_all_enable() local
886 struct tc358743_state *state = adap->priv; tc358743_cec_adap_log_addr() local
901 struct tc358743_state *state = adap->priv; tc358743_cec_adap_transmit() local
925 struct tc358743_state *state = to_state(sd); tc358743_cec_handler() local
985 struct tc358743_state *state = to_state(sd); tc358743_format_change() local
1173 struct tc358743_state *state = to_state(sd); tc358743_hdmi_sys_int_handler() local
1241 struct tc358743_state *state = to_state(sd); tc358743_log_status() local
1465 struct tc358743_state *state = dev_id; tc358743_irq_handler() local
1475 struct tc358743_state *state = from_timer(state, t, timer); tc358743_irq_poll_timer() local
1489 struct tc358743_state *state = container_of(work, tc358743_work_i2c_poll() local
1525 struct tc358743_state *state = to_state(sd); tc358743_s_dv_timings() local
1557 struct tc358743_state *state = to_state(sd); tc358743_g_dv_timings() local
1611 struct tc358743_state *state = to_state(sd); tc358743_get_mbus_config() local
1672 struct tc358743_state *state = to_state(sd); tc358743_get_fmt() local
1708 struct tc358743_state *state = to_state(sd); tc358743_set_fmt() local
1742 struct tc358743_state *state = to_state(sd); tc358743_g_edid() local
1773 struct tc358743_state *state = to_state(sd); tc358743_s_edid() local
1889 tc358743_gpio_reset(struct tc358743_state *state) tc358743_gpio_reset() argument
1898 tc358743_probe_of(struct tc358743_state *state) tc358743_probe_of() argument
2027 tc358743_probe_of(struct tc358743_state *state) tc358743_probe_of() argument
2037 struct tc358743_state *state; tc358743_probe() local
2191 struct tc358743_state *state = to_state(sd); tc358743_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
H A Daf9015.c21 struct af9015_state *state = d_to_priv(d); in af9015_ctrl_msg() local
28 state->buf[0] = req->cmd; in af9015_ctrl_msg()
29 state->buf[1] = state->seq++; in af9015_ctrl_msg()
30 state->buf[2] = req->i2c_addr << 1; in af9015_ctrl_msg()
31 state->buf[3] = req->addr >> 8; in af9015_ctrl_msg()
32 state->buf[4] = req->addr & 0xff; in af9015_ctrl_msg()
33 state->buf[5] = req->mbox; in af9015_ctrl_msg()
34 state->buf[6] = req->addr_len; in af9015_ctrl_msg()
35 state in af9015_ctrl_msg()
115 struct af9015_state *state = d_to_priv(d); af9015_write_reg_i2c() local
128 struct af9015_state *state = d_to_priv(d); af9015_read_reg_i2c() local
142 struct af9015_state *state = d_to_priv(d); af9015_i2c_xfer() local
291 struct af9015_state *state = d_to_priv(d); af9015_download_firmware() local
340 struct af9015_state *state = d_to_priv(d); af9015_eeprom_hash() local
373 struct af9015_state *state = d_to_priv(d); af9015_read_config() local
554 struct af9015_state *state = d_to_priv(d); af9015_streaming_ctrl() local
660 struct af9015_state *state = d_to_priv(d); af9015_get_adapter_count() local
669 struct af9015_state *state = fe_to_priv(fe); af9015_af9013_set_frontend() local
686 struct af9015_state *state = fe_to_priv(fe); af9015_af9013_read_status() local
702 struct af9015_state *state = fe_to_priv(fe); af9015_af9013_init() local
718 struct af9015_state *state = fe_to_priv(fe); af9015_af9013_sleep() local
734 struct af9015_state *state = fe_to_priv(fe); af9015_tuner_init() local
750 struct af9015_state *state = fe_to_priv(fe); af9015_tuner_sleep() local
764 struct af9015_state *state = d_to_priv(d); af9015_copy_firmware() local
845 struct af9015_state *state = adap_to_priv(adap); af9015_af9013_frontend_attach() local
920 struct af9015_state *state = adap_to_priv(adap); af9015_frontend_detach() local
1000 struct af9015_state *state = d_to_priv(d); af9015_tuner_attach() local
1076 struct af9015_state *state = adap_to_priv(adap); af9015_pid_filter_ctrl() local
1090 struct af9015_state *state = adap_to_priv(adap); af9015_pid_filter() local
1103 struct af9015_state *state = d_to_priv(d); af9015_init() local
1154 struct af9015_state *state = d_to_priv(d); af9015_rc_query() local
1240 struct af9015_state *state = d_to_priv(d); af9015_get_rc_config() local
1337 struct af9015_state *state = d_to_priv(d); af9015_probe() local
1396 struct af9015_state *state = d_to_priv(d); af9015_disconnect() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb-v2/
H A Daf9015.c21 struct af9015_state *state = d_to_priv(d); in af9015_ctrl_msg() local
28 state->buf[0] = req->cmd; in af9015_ctrl_msg()
29 state->buf[1] = state->seq++; in af9015_ctrl_msg()
30 state->buf[2] = req->i2c_addr << 1; in af9015_ctrl_msg()
31 state->buf[3] = req->addr >> 8; in af9015_ctrl_msg()
32 state->buf[4] = req->addr & 0xff; in af9015_ctrl_msg()
33 state->buf[5] = req->mbox; in af9015_ctrl_msg()
34 state->buf[6] = req->addr_len; in af9015_ctrl_msg()
35 state in af9015_ctrl_msg()
116 struct af9015_state *state = d_to_priv(d); af9015_write_reg_i2c() local
129 struct af9015_state *state = d_to_priv(d); af9015_read_reg_i2c() local
143 struct af9015_state *state = d_to_priv(d); af9015_i2c_xfer() local
292 struct af9015_state *state = d_to_priv(d); af9015_download_firmware() local
341 struct af9015_state *state = d_to_priv(d); af9015_eeprom_hash() local
374 struct af9015_state *state = d_to_priv(d); af9015_read_config() local
555 struct af9015_state *state = d_to_priv(d); af9015_streaming_ctrl() local
661 struct af9015_state *state = d_to_priv(d); af9015_get_adapter_count() local
670 struct af9015_state *state = fe_to_priv(fe); af9015_af9013_set_frontend() local
687 struct af9015_state *state = fe_to_priv(fe); af9015_af9013_read_status() local
703 struct af9015_state *state = fe_to_priv(fe); af9015_af9013_init() local
719 struct af9015_state *state = fe_to_priv(fe); af9015_af9013_sleep() local
735 struct af9015_state *state = fe_to_priv(fe); af9015_tuner_init() local
751 struct af9015_state *state = fe_to_priv(fe); af9015_tuner_sleep() local
765 struct af9015_state *state = d_to_priv(d); af9015_copy_firmware() local
846 struct af9015_state *state = adap_to_priv(adap); af9015_af9013_frontend_attach() local
921 struct af9015_state *state = adap_to_priv(adap); af9015_frontend_detach() local
1001 struct af9015_state *state = d_to_priv(d); af9015_tuner_attach() local
1077 struct af9015_state *state = adap_to_priv(adap); af9015_pid_filter_ctrl() local
1091 struct af9015_state *state = adap_to_priv(adap); af9015_pid_filter() local
1104 struct af9015_state *state = d_to_priv(d); af9015_init() local
1155 struct af9015_state *state = d_to_priv(d); af9015_rc_query() local
1241 struct af9015_state *state = d_to_priv(d); af9015_get_rc_config() local
1338 struct af9015_state *state = d_to_priv(d); af9015_probe() local
1397 struct af9015_state *state = d_to_priv(d); af9015_disconnect() local
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dtc358743.c115 struct tc358743_state *state = to_state(sd); in i2c_rd() local
116 struct i2c_client *client = state->i2c_client; in i2c_rd()
143 struct tc358743_state *state = to_state(sd); in i2c_wr() local
144 struct i2c_client *client = state->i2c_client; in i2c_wr()
359 struct tc358743_state *state = container_of(dwork, in tc358743_delayed_work_enable_hotplug() local
361 struct v4l2_subdev *sd = &state->sd; in tc358743_delayed_work_enable_hotplug()
392 struct tc358743_state *state = to_state(sd); in tc358743_disable_edid() local
396 cancel_delayed_work_sync(&state->delayed_work_enable_hotplug); in tc358743_disable_edid()
405 struct tc358743_state *state = to_state(sd); in tc358743_enable_edid() local
407 if (state in tc358743_enable_edid()
459 struct tc358743_state *state = to_state(sd); tc358743_s_ctrl_detect_tx_5v() local
467 struct tc358743_state *state = to_state(sd); tc358743_s_ctrl_audio_sampling_rate() local
475 struct tc358743_state *state = to_state(sd); tc358743_s_ctrl_audio_present() local
518 struct tc358743_state *state = to_state(sd); enable_stream() local
546 struct tc358743_state *state = to_state(sd); tc358743_set_pll() local
585 struct tc358743_state *state = to_state(sd); tc358743_set_ref_clk() local
634 struct tc358743_state *state = to_state(sd); tc358743_set_csi_color_space() local
668 struct tc358743_state *state = to_state(sd); tc358743_num_csi_lanes_needed() local
681 struct tc358743_state *state = to_state(sd); tc358743_set_csi() local
745 struct tc358743_state *state = to_state(sd); tc358743_set_hdmi_phy() local
775 struct tc358743_state *state = to_state(sd); tc358743_set_hdmi_audio() local
815 struct tc358743_state *state = to_state(sd); tc358743_initial_setup() local
857 struct tc358743_state *state = adap->priv; tc358743_cec_adap_enable() local
871 struct tc358743_state *state = adap->priv; tc358743_cec_adap_monitor_all_enable() local
886 struct tc358743_state *state = adap->priv; tc358743_cec_adap_log_addr() local
901 struct tc358743_state *state = adap->priv; tc358743_cec_adap_transmit() local
925 struct tc358743_state *state = to_state(sd); tc358743_cec_handler() local
987 struct tc358743_state *state = to_state(sd); tc358743_format_change() local
1175 struct tc358743_state *state = to_state(sd); tc358743_hdmi_sys_int_handler() local
1243 struct tc358743_state *state = to_state(sd); tc358743_log_status() local
1467 struct tc358743_state *state = dev_id; tc358743_irq_handler() local
1477 struct tc358743_state *state = from_timer(state, t, timer); tc358743_irq_poll_timer() local
1491 struct tc358743_state *state = container_of(work, tc358743_work_i2c_poll() local
1527 struct tc358743_state *state = to_state(sd); tc358743_s_dv_timings() local
1559 struct tc358743_state *state = to_state(sd); tc358743_g_dv_timings() local
1613 struct tc358743_state *state = to_state(sd); tc358743_get_mbus_config() local
1658 struct tc358743_state *state = to_state(sd); tc358743_get_fmt() local
1694 struct tc358743_state *state = to_state(sd); tc358743_set_fmt() local
1728 struct tc358743_state *state = to_state(sd); tc358743_g_edid() local
1759 struct tc358743_state *state = to_state(sd); tc358743_s_edid() local
1875 tc358743_gpio_reset(struct tc358743_state *state) tc358743_gpio_reset() argument
1884 tc358743_probe_of(struct tc358743_state *state) tc358743_probe_of() argument
2010 tc358743_probe_of(struct tc358743_state *state) tc358743_probe_of() argument
2020 struct tc358743_state *state; tc358743_probe() local
2175 struct tc358743_state *state = to_state(sd); tc358743_remove() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_xive.c393 struct kvmppc_xive_irq_state *state) in xive_lock_and_mask()
406 old_prio = state->guest_priority; in xive_lock_and_mask()
407 state->guest_priority = MASKED; in xive_lock_and_mask()
409 if (!state->in_eoi) in xive_lock_and_mask()
411 state->guest_priority = old_prio; in xive_lock_and_mask()
420 kvmppc_xive_select_irq(state, &hw_num, &xd); in xive_lock_and_mask()
426 * and won't set the interrupt to a state where it will in xive_lock_and_mask()
436 kvmppc_xive_vp(xive, state->act_server), in xive_lock_and_mask()
437 MASKED, state->number); in xive_lock_and_mask()
439 state in xive_lock_and_mask()
391 xive_lock_and_mask(struct kvmppc_xive *xive, struct kvmppc_xive_src_block *sb, struct kvmppc_xive_irq_state *state) xive_lock_and_mask() argument
457 xive_lock_for_unmask(struct kvmppc_xive_src_block *sb, struct kvmppc_xive_irq_state *state) xive_lock_for_unmask() argument
471 xive_finish_unmask(struct kvmppc_xive *xive, struct kvmppc_xive_src_block *sb, struct kvmppc_xive_irq_state *state, u8 prio) xive_finish_unmask() argument
528 xive_target_interrupt(struct kvm *kvm, struct kvmppc_xive_irq_state *state, u32 server, u8 prio) xive_target_interrupt() argument
618 struct kvmppc_xive_irq_state *state; kvmppc_xive_set_xive() local
719 struct kvmppc_xive_irq_state *state; kvmppc_xive_get_xive() local
741 struct kvmppc_xive_irq_state *state; kvmppc_xive_int_on() local
780 struct kvmppc_xive_irq_state *state; kvmppc_xive_int_off() local
805 struct kvmppc_xive_irq_state *state; xive_restore_pending_irq() local
901 struct kvmppc_xive_irq_state *state; kvmppc_xive_set_mapped() local
998 struct kvmppc_xive_irq_state *state; kvmppc_xive_clr_mapped() local
1087 struct kvmppc_xive_irq_state *state = &sb->irq_state[j]; kvmppc_xive_disable_vcpu_interrupts() local
1381 struct kvmppc_xive_irq_state *state; xive_pre_save_set_queued() local
1412 struct kvmppc_xive_irq_state *state = &sb->irq_state[irq]; xive_pre_save_mask_irq() local
1432 struct kvmppc_xive_irq_state *state = &sb->irq_state[irq]; xive_pre_save_unmask_irq() local
1526 struct kvmppc_xive_irq_state *state; xive_get_source() local
1669 struct kvmppc_xive_irq_state *state; xive_set_source() local
1834 struct kvmppc_xive_irq_state *state; kvmppc_xive_set_irq() local
1961 struct kvmppc_xive_irq_state *state = &sb->irq_state[i]; kvmppc_xive_free_sources() local
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dvx_cmd_buffer.c71 * any prefix state data before the binning list proper starts." in job_emit_binning_prolog()
79 assert(cmd_buffer->state.job); in cmd_buffer_end_render_pass_secondary()
80 v3dv_cl_ensure_space_with_branch(&cmd_buffer->state.job->bcl, in cmd_buffer_end_render_pass_secondary()
83 cl_emit(&cmd_buffer->state.job->bcl, RETURN_FROM_SUB_LIST, ret); in cmd_buffer_end_render_pass_secondary()
155 check_needs_load(const struct v3dv_cmd_buffer_state *state, in check_needs_load() argument
169 if (state->job->first_subpass > first_subpass_idx) in check_needs_load()
175 if (state->job->is_subpass_continue) in check_needs_load()
179 if (!state->tile_aligned_render_area) in check_needs_load()
203 const struct v3dv_cmd_buffer_state *state = &cmd_buffer->state; in cmd_buffer_render_pass_emit_loads() local
359 check_needs_clear(const struct v3dv_cmd_buffer_state *state, VkImageAspectFlags aspect, uint32_t first_subpass_idx, VkAttachmentLoadOp load_op, bool do_clear_with_draw) check_needs_clear() argument
401 check_needs_store(const struct v3dv_cmd_buffer_state *state, VkImageAspectFlags aspect, uint32_t last_subpass_idx, VkAttachmentStoreOp store_op) check_needs_store() argument
435 struct v3dv_cmd_buffer_state *state = &cmd_buffer->state; cmd_buffer_render_pass_emit_stores() local
708 const struct v3dv_cmd_buffer_state *state = &cmd_buffer->state; cmd_buffer_emit_render_pass_layer_rcl() local
786 const struct v3dv_cmd_buffer_state *state = &cmd_buffer->state; cmd_buffer_emit_render_pass_rcl() local
1440 struct v3dv_cmd_buffer_state *state = &cmd_buffer->state; job_update_ez_state() local
1883 struct v3dv_cmd_buffer_state *state = &cmd_buffer->state; cmd_buffer_emit_gl_shader_state() local
2129 struct v3dv_cmd_buffer_state *state = &cmd_buffer->state; cmd_buffer_emit_draw() local
2314 const struct v3dv_cmd_buffer_state *state = &cmd_buffer->state; cmd_buffer_render_pass_setup_render_target() local
[all...]
/kernel/linux/linux-5.10/drivers/leds/trigger/
H A Dledtrig-transient.c25 int state; member
57 unsigned long state; in transient_activate_store() local
60 ret = kstrtoul(buf, 10, &state); in transient_activate_store()
64 if (state != 1 && state != 0) in transient_activate_store()
68 if (state == 0 && transient_data->activate == 1) { in transient_activate_store()
70 transient_data->activate = state; in transient_activate_store()
77 if (state == 1 && transient_data->activate == 0 && in transient_activate_store()
79 transient_data->activate = state; in transient_activate_store()
80 led_set_brightness_nosleep(led_cdev, transient_data->state); in transient_activate_store()
108 unsigned long state; transient_duration_store() local
124 int state; transient_state_show() local
135 unsigned long state; transient_state_store() local
[all...]
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_atomic_helper.h42 struct drm_atomic_state *state);
50 struct drm_atomic_state *state);
52 struct drm_atomic_state *state);
53 void drm_atomic_helper_commit_tail(struct drm_atomic_state *state);
54 void drm_atomic_helper_commit_tail_rpm(struct drm_atomic_state *state);
56 struct drm_atomic_state *state,
59 struct drm_atomic_state *state);
61 struct drm_atomic_state *state);
64 struct drm_atomic_state *state,
78 drm_atomic_helper_calc_timestamping_constants(struct drm_atomic_state *state);
[all...]
/kernel/linux/linux-6.6/drivers/leds/trigger/
H A Dledtrig-transient.c25 int state; member
57 unsigned long state; in transient_activate_store() local
60 ret = kstrtoul(buf, 10, &state); in transient_activate_store()
64 if (state != 1 && state != 0) in transient_activate_store()
68 if (state == 0 && transient_data->activate == 1) { in transient_activate_store()
70 transient_data->activate = state; in transient_activate_store()
77 if (state == 1 && transient_data->activate == 0 && in transient_activate_store()
79 transient_data->activate = state; in transient_activate_store()
80 led_set_brightness_nosleep(led_cdev, transient_data->state); in transient_activate_store()
108 unsigned long state; transient_duration_store() local
124 int state; transient_state_show() local
135 unsigned long state; transient_state_store() local
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_repair_ssa.c38 prep_build_phi(struct repair_ssa_state *state) in prep_build_phi() argument
40 const unsigned num_words = BITSET_WORDS(state->impl->num_blocks); in prep_build_phi()
43 if (state->phi_builder == NULL) { in prep_build_phi()
44 state->phi_builder = nir_phi_builder_create(state->impl); in prep_build_phi()
45 state->def_set = ralloc_array(NULL, BITSET_WORD, num_words); in prep_build_phi()
49 state->progress = true; in prep_build_phi()
52 memset(state->def_set, 0, num_words * sizeof(*state->def_set)); in prep_build_phi()
54 return state in prep_build_phi()
70 struct repair_ssa_state *state = void_state; repair_ssa_def() local
165 struct repair_ssa_state state; nir_repair_ssa_impl() local
[all...]
H A Dnir_lower_wpos_ytransform.c30 * gl_FbWposYTransform uniform is inserted (with the specified state-slots)
48 get_transform(lower_wpos_ytransform_state *state) in get_transform() argument
50 if (state->transform == NULL) { in get_transform()
54 nir_variable *var = nir_variable_create(state->shader, in get_transform()
62 memcpy(var->state_slots[0].tokens, state->options->state_tokens, in get_transform()
65 state->transform = var; in get_transform()
67 return nir_load_var(&state->b, state->transform); in get_transform()
79 emit_wpos_adjustment(lower_wpos_ytransform_state *state, in emit_wpos_adjustment() argument
83 nir_builder *b = &state in emit_wpos_adjustment()
148 lower_fragcoord(lower_wpos_ytransform_state *state, nir_intrinsic_instr *intr) lower_fragcoord() argument
237 lower_fddy(lower_wpos_ytransform_state *state, nir_alu_instr *fddy) lower_fddy() argument
261 lower_interp_deref_at_offset(lower_wpos_ytransform_state *state, nir_intrinsic_instr *interp) lower_interp_deref_at_offset() argument
279 lower_load_sample_pos(lower_wpos_ytransform_state *state, nir_intrinsic_instr *intr) lower_load_sample_pos() argument
299 lower_wpos_ytransform_block(lower_wpos_ytransform_state *state, nir_block *block) lower_wpos_ytransform_block() argument
336 lower_wpos_ytransform_impl(lower_wpos_ytransform_state *state, nir_function_impl *impl) lower_wpos_ytransform_impl() argument
351 lower_wpos_ytransform_state state = { nir_lower_wpos_ytransform() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderControlFlow.cpp219 RValue<SIMD::Int> SpirvShader::GetActiveLaneMaskEdge(EmitState *state, Block::ID from, Block::ID to) const in GetActiveLaneMaskEdge() argument
222 auto it = state->edgeActiveLaneMasks.find(edge); in GetActiveLaneMaskEdge()
223 ASSERT_MSG(it != state->edgeActiveLaneMasks.end(), "Could not find edge %d -> %d", from.value(), to.value()); in GetActiveLaneMaskEdge()
227 void SpirvShader::EmitBlocks(Block::ID id, EmitState *state, Block::ID ignore /* = 0 */) const in EmitBlocks() argument
229 auto oldPending = state->pending; in EmitBlocks()
230 auto &function = getFunction(state->function); in EmitBlocks()
233 state->pending = &pending; in EmitBlocks()
249 if(state->visited.count(dep) == 0) in EmitBlocks()
251 state->pending->push_front(dep); in EmitBlocks()
263 state in EmitBlocks()
679 StorePhi(Block::ID currentBlock, InsnIterator insn, EmitState *state, std::unordered_set<SpirvShader::Block::ID> const &filter) const StorePhi() argument
[all...]
/third_party/json/tests/benchmarks/src/
H A Dbenchmarks.cpp22 static void ParseFile(benchmark::State& state, const char* filename) in ParseFile() argument
24 while (state.KeepRunning()) in ParseFile()
26 state.PauseTiming(); in ParseFile()
29 state.ResumeTiming(); in ParseFile()
33 state.PauseTiming(); in ParseFile()
36 state.ResumeTiming(); in ParseFile()
40 state.SetBytesProcessed(state.iterations() * file.tellg()); in ParseFile()
55 static void ParseString(benchmark::State& state, const char* filename) in ParseString() argument
60 while (state in ParseString()
89 Dump(benchmark::State& state, const char* filename, int indent) Dump() argument
123 ToCbor(benchmark::State& state, const char* filename) ToCbor() argument
148 BinaryToCbor(benchmark::State& state) BinaryToCbor() argument
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstr_split_benchmark.cc38 void BM_Split2StringView(benchmark::State& state) { in BM_Split2StringView() argument
39 std::string test = MakeTestString(state.range(0)); in BM_Split2StringView()
40 for (auto _ : state) { in BM_Split2StringView()
60 void BM_Split2StringViewByAnyChar(benchmark::State& state) { in BM_Split2StringViewByAnyChar() argument
61 std::string test = MakeMultiDelimiterTestString(state.range(0)); in BM_Split2StringViewByAnyChar()
62 for (auto _ : state) { in BM_Split2StringViewByAnyChar()
70 void BM_Split2StringViewLifted(benchmark::State& state) { in BM_Split2StringViewLifted() argument
71 std::string test = MakeTestString(state.range(0)); in BM_Split2StringViewLifted()
73 for (auto _ : state) { in BM_Split2StringViewLifted()
80 void BM_Split2String(benchmark::State& state) { in BM_Split2String() argument
92 BM_Split2SplitStringUsing(benchmark::State& state) BM_Split2SplitStringUsing() argument
102 BM_SplitStringToUnorderedSet(benchmark::State& state) BM_SplitStringToUnorderedSet() argument
116 BM_SplitStringToUnorderedMap(benchmark::State& state) BM_SplitStringToUnorderedMap() argument
130 BM_SplitStringAllowEmpty(benchmark::State& state) BM_SplitStringAllowEmpty() argument
152 BM_SplitStringWithOneChar(benchmark::State& state) BM_SplitStringWithOneChar() argument
167 BM_SplitStringWithOneCharNoVector(benchmark::State& state) BM_SplitStringWithOneCharNoVector() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dmax31760.c80 struct max31760_state *state = dev_get_drvdata(dev); in max31760_read() local
91 ret = regmap_read(state->regmap, REG_STATUS, &regval); in max31760_read()
99 ret = regmap_read(state->regmap, REG_STATUS, &regval); in max31760_read()
110 ret = regmap_read(state->regmap, REG_STATUS, &regval); in max31760_read()
133 ret = regmap_bulk_read(state->regmap, reg_temp, reg, 2); in max31760_read()
145 ret = regmap_bulk_read(state->regmap, REG_TACH(channel), reg, 2); in max31760_read()
153 ret = regmap_read(state->regmap, REG_STATUS, &regval); in max31760_read()
164 ret = regmap_read(state->regmap, REG_CR3, &regval); in max31760_read()
180 ret = regmap_read(state->regmap, REG_PWMV, &regval); in max31760_read()
188 ret = regmap_read(state in max31760_read()
239 struct max31760_state *state = dev_get_drvdata(dev); max31760_write() local
415 struct max31760_state *state = dev_get_drvdata(dev); lut_show() local
431 struct max31760_state *state = dev_get_drvdata(dev); lut_store() local
450 struct max31760_state *state = dev_get_drvdata(dev); pwm1_auto_point_temp_hyst_show() local
466 struct max31760_state *state = dev_get_drvdata(dev); pwm1_auto_point_temp_hyst_store() local
487 max31760_create_lut_nodes(struct max31760_state *state) max31760_create_lut_nodes() argument
520 struct max31760_state *state; max31760_probe() local
565 struct max31760_state *state = dev_get_drvdata(dev); max31760_suspend() local
572 struct max31760_state *state = dev_get_drvdata(dev); max31760_resume() local
[all...]
/third_party/ffmpeg/libavresample/
H A Ddither.c66 DitherState *state; // dither states for each channel member
142 static int generate_dither_noise(DitherContext *c, DitherState *state, in generate_dither_noise() argument
151 av_freep(&state->noise_buf); in generate_dither_noise()
152 state->noise_buf_size = state->noise_buf_ptr = 0; in generate_dither_noise()
154 state->noise_buf = av_malloc(buf_samples * sizeof(*state->noise_buf)); in generate_dither_noise()
155 if (!state->noise_buf) in generate_dither_noise()
157 state->noise_buf_size = FFALIGN(min_samples, 16); in generate_dither_noise()
158 noise_buf_ui = (unsigned int *)state in generate_dither_noise()
172 quantize_triangular_ns(DitherContext *c, DitherState *state, int16_t *dst, const float *src, int nb_samples) quantize_triangular_ns() argument
218 DitherState *state = &c->state[ch]; convert_samples() local
429 DitherState *state = &c->state[ch]; ff_dither_alloc() local
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_context.c64 /* free depthstencil_disable state */ in svga_destroy()
70 for (shader = 0; shader < ARRAY_SIZE(svga->state.hw_draw.constbuf); shader++) { in svga_destroy()
71 for (i = 0; i < ARRAY_SIZE(svga->state.hw_draw.constbuf[0]); i++) { in svga_destroy()
72 pipe_resource_reference(&svga->state.hw_draw.constbuf[shader][i], NULL); in svga_destroy()
202 /* init misc state */ in svga_context_create()
275 /* Avoid shortcircuiting state with initial value of zero. in svga_context_create()
277 memset(&svga->state.hw_clear, 0xcd, sizeof(svga->state.hw_clear)); in svga_context_create()
278 memset(&svga->state.hw_clear.framebuffer, 0x0, in svga_context_create()
279 sizeof(svga->state in svga_context_create()
[all...]
/kernel/linux/linux-5.10/arch/arc/kernel/
H A Dunwind.c664 static int advance_loc(unsigned long delta, struct unwind_state *state) in advance_loc() argument
666 state->loc += delta * state->codeAlign; in advance_loc()
671 unw_debug("delta %3lu => loc 0x%lx: ", delta, state->loc); in advance_loc()
676 struct unwind_state *state) in set_rule()
678 if (reg < ARRAY_SIZE(state->regs)) { in set_rule()
679 state->regs[reg].where = where; in set_rule()
680 state->regs[reg].value = value; in set_rule()
705 signed ptrType, struct unwind_state *state) in processCFI()
715 if (start != state in processCFI()
675 set_rule(uleb128_t reg, enum item_location where, uleb128_t value, struct unwind_state *state) set_rule() argument
704 processCFI(const u8 *start, const u8 *end, unsigned long targetLoc, signed ptrType, struct unwind_state *state) processCFI() argument
787 state); processCFI() local
910 struct unwind_state state; arc_unwind() local
[all...]
/kernel/linux/linux-6.6/arch/arc/kernel/
H A Dunwind.c662 static int advance_loc(unsigned long delta, struct unwind_state *state) in advance_loc() argument
664 state->loc += delta * state->codeAlign; in advance_loc()
669 unw_debug("delta %3lu => loc 0x%lx: ", delta, state->loc); in advance_loc()
674 struct unwind_state *state) in set_rule()
676 if (reg < ARRAY_SIZE(state->regs)) { in set_rule()
677 state->regs[reg].where = where; in set_rule()
678 state->regs[reg].value = value; in set_rule()
703 signed ptrType, struct unwind_state *state) in processCFI()
713 if (start != state in processCFI()
673 set_rule(uleb128_t reg, enum item_location where, uleb128_t value, struct unwind_state *state) set_rule() argument
702 processCFI(const u8 *start, const u8 *end, unsigned long targetLoc, signed ptrType, struct unwind_state *state) processCFI() argument
785 state); processCFI() local
908 struct unwind_state state; arc_unwind() local
[all...]
/third_party/elfutils/libdwfl/
H A Dargp-std.c92 /* Structure held at state->HOOK. */
103 failure (Dwfl *dwfl, int errnum, const char *msg, struct argp_state *state) in failure() argument
108 argp_failure (state, EXIT_FAILURE, 0, "%s: %s", in failure()
111 argp_failure (state, EXIT_FAILURE, errnum, "%s", msg); in failure()
115 fail (Dwfl *dwfl, int errnum, const char *msg, struct argp_state *state) in fail() argument
117 failure (dwfl, errnum, msg, state); in fail()
122 parse_opt (int key, char *arg, struct argp_state *state) in parse_opt() argument
128 assert (state->hook == NULL); in parse_opt()
131 failure (NULL, DWFL_E_ERRNO, "calloc", state); in parse_opt()
132 state in parse_opt()
[all...]

Completed in 26 milliseconds

1...<<21222324252627282930>>...875