Home
last modified time | relevance | path

Searched refs:state (Results 8701 - 8725 of 20529) sorted by relevance

1...<<341342343344345346347348349350>>...822

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
H A Deap_aka.c47 } state; member
65 static const char * eap_aka_state_txt(int state) in eap_aka_state_txt() argument
67 switch (state) { in eap_aka_state_txt()
83 static void eap_aka_state(struct eap_aka_data *data, int state) in eap_aka_state() argument
86 eap_aka_state_txt(data->state), in eap_aka_state()
87 eap_aka_state_txt(state)); in eap_aka_state()
88 data->state = state; in eap_aka_state()
1118 if (data->state != FAILURE) { in eap_aka_process_challenge()
1224 data->state in eap_aka_process_notification()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_service.cpp35 void AvrcpTgService::ObserverImpl::OnConnectionStateChanged(const std::string &addr, int state) in OnConnectionStateChanged() argument
37 HILOGI("addr: %{public}s, state: %{public}d", GetEncryptAddr(addr).c_str(), state); in OnConnectionStateChanged()
379 void AvrcpTgService::AVControllerObserverImpl::OnPlaybackStateChange(const OHOS::AVSession::AVPlaybackState &state) in OnPlaybackStateChange() argument
381 HILOGI("state:%{public}d", state.GetState()); in OnPlaybackStateChange()
385 service->OnPlaybackStateChange(state.GetState()); in OnPlaybackStateChange()
737 void AvrcpTgService::SetServiceState(uint8_t state) in SetServiceState() argument
739 HILOGI("state:%{public}d", state); in SetServiceState()
901 OnConnectionStateChanged(const RawAddress &rawAddr, int state) OnConnectionStateChanged() argument
1590 OHOS::AVSession::AVPlaybackState state; GetPlayStatus() local
2585 OnPlaybackStateChange(const int32_t state) GetPlayStatus() argument
2598 OnPlaybackStateChangeNative(int32_t state) GetPlayStatus() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/cadence/
H A Dcdns-mhdp8546-core.c362 /* read the firmware state */ in cdns_mhdp_set_firmware_active()
578 * power saving state within 1 ms" (Section 2.5.3.1, Table 5-52, "Sink in cdns_mhdp_link_power_up()
1455 dev_dbg(mhdp->dev, "Set sink device power state via DPCD\n"); in cdns_mhdp_link_up()
1637 struct drm_atomic_state *state) in cdns_mhdp_connector_atomic_check()
1647 old_state = drm_atomic_get_old_connector_state(state, conn); in cdns_mhdp_connector_atomic_check()
1648 new_state = drm_atomic_get_new_connector_state(state, conn); in cdns_mhdp_connector_atomic_check()
1670 crtc_state = drm_atomic_get_new_crtc_state(state, new_state->crtc); in cdns_mhdp_connector_atomic_check()
1988 struct drm_atomic_state *state = bridge_state->base.state; in cdns_mhdp_atomic_enable() local
2021 connector = drm_atomic_get_new_connector_for_encoder(state, in cdns_mhdp_atomic_enable()
1636 cdns_mhdp_connector_atomic_check(struct drm_connector *conn, struct drm_atomic_state *state) cdns_mhdp_connector_atomic_check() argument
2124 struct cdns_mhdp_bridge_state *state; cdns_mhdp_bridge_atomic_duplicate_state() local
2136 cdns_mhdp_bridge_atomic_destroy_state(struct drm_bridge *bridge, struct drm_bridge_state *state) cdns_mhdp_bridge_atomic_destroy_state() argument
2280 struct drm_bridge_state *state; cdns_mhdp_update_link_status() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt.c59 if (READ_ONCE(clt_path->state) == RTRS_CLT_CONNECTED) { in rtrs_clt_is_connected()
192 * rtrs_clt_change_state() - change the session state through session state
195 * @clt_path: client path to change the state of.
196 * @new_state: state to change to.
198 * returns true if sess's state is changed to new state, otherwise return false.
211 old_state = clt_path->state; in rtrs_clt_change_state()
285 clt_path->state = new_state; in rtrs_clt_change_state()
299 if (clt_path->state in rtrs_clt_change_state_from_to()
2467 enum rtrs_clt_state state; rtrs_clt_info_rsp_done() local
[all...]
/third_party/pulseaudio/src/modules/
H A Dmodule-tunnel.c587 /* First, change the state, because otherwise pa_sink_render() would fail */ in sink_process_msg()
590 stream_cork_within_thread(u, u->sink->thread_info.state == PA_SINK_SUSPENDED); in sink_process_msg()
592 if (PA_SINK_IS_OPENED(u->sink->thread_info.state)) in sink_process_msg()
627 if (PA_SINK_IS_OPENED(u->sink->thread_info.state)) in sink_process_msg()
691 static int sink_set_state_in_main_thread_cb(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state_in_main_thread_cb() argument
698 if (state == s->state) in sink_set_state_in_main_thread_cb()
701 switch ((pa_sink_state_t) state) { in sink_set_state_in_main_thread_cb()
704 pa_assert(PA_SINK_IS_OPENED(s->state)); in sink_set_state_in_main_thread_cb()
710 if (s->state in sink_set_state_in_main_thread_cb()
820 source_set_state_in_main_thread_cb(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause) source_set_state_in_main_thread_cb() argument
1289 uint32_t state, n_volume_steps, card; sink_info_cb() local
1488 uint32_t state, n_volume_steps, card; source_info_cb() local
[all...]
/kernel/linux/linux-6.6/kernel/events/
H A Dcore.c194 * pending task ctx state.
592 * The basic idea is to use event->state to determine which (if any) time
594 * update timestamps when we change state or when they are explicitly requested
616 if (leader->state <= PERF_EVENT_STATE_OFF) in __perf_effective_state()
617 return leader->state; in __perf_effective_state()
619 return event->state; in __perf_effective_state()
625 enum perf_event_state state = __perf_effective_state(event); in __perf_update_times() local
629 if (state >= PERF_EVENT_STATE_INACTIVE) in __perf_update_times()
633 if (state >= PERF_EVENT_STATE_ACTIVE) in __perf_update_times()
655 perf_event_set_state(struct perf_event *event, enum perf_event_state state) in perf_event_set_state() argument
2258 enum perf_event_state state = PERF_EVENT_STATE_INACTIVE; event_sched_out() local
4625 enum perf_event_state state = READ_ONCE(event->state); perf_event_read() local
10796 int state = IF_STATE_ACTION, token; perf_event_parse_addr_filter() local
[all...]
/kernel/linux/linux-5.10/kernel/events/
H A Dcore.c187 * pending task ctx state.
597 * The basic idea is to use event->state to determine which (if any) time
599 * update timestamps when we change state or when they are explicitly requested
621 if (leader->state <= PERF_EVENT_STATE_OFF) in __perf_effective_state()
622 return leader->state; in __perf_effective_state()
624 return event->state; in __perf_effective_state()
630 enum perf_event_state state = __perf_effective_state(event); in __perf_update_times() local
634 if (state >= PERF_EVENT_STATE_INACTIVE) in __perf_update_times()
638 if (state >= PERF_EVENT_STATE_ACTIVE) in __perf_update_times()
660 perf_event_set_state(struct perf_event *event, enum perf_event_state state) in perf_event_set_state() argument
2359 enum perf_event_state state = PERF_EVENT_STATE_INACTIVE; event_sched_out() local
4499 enum perf_event_state state = READ_ONCE(event->state); perf_event_read() local
10217 int state = IF_STATE_ACTION, token; perf_event_parse_addr_filter() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dni_dpm.c822 /* adjust low state */ in ni_apply_state_adjust_rules()
1385 struct ni_ps *state = ni_get_ps(radeon_state); in ni_calculate_power_boost_limit() local
1398 if (state->performance_level_count < 3) in ni_calculate_power_boost_limit()
1402 state->performance_levels[state->performance_level_count - 2].vddc, in ni_calculate_power_boost_limit()
1412 state->performance_levels[state->performance_level_count - 1].vddc, in ni_calculate_power_boost_limit()
1642 struct ni_ps *state = ni_get_ps(radeon_state); in ni_do_program_memory_timing_parameters() local
1646 for (i = 0; i < state->performance_level_count; i++) { in ni_do_program_memory_timing_parameters()
1647 ret = ni_populate_memory_timing_parameters(rdev, &state in ni_do_program_memory_timing_parameters()
2399 struct ni_ps *state = ni_get_ps(radeon_state); ni_populate_smc_t() local
2460 struct ni_ps *state = ni_get_ps(radeon_state); ni_populate_power_containment_values() local
2544 struct ni_ps *state = ni_get_ps(radeon_state); ni_populate_sq_ramping_values() local
2633 struct ni_ps *state = ni_get_ps(radeon_state); ni_convert_power_state_to_smc() local
2984 struct ni_ps *state = ni_get_ps(radeon_state); ni_convert_mc_reg_table_to_smc() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci.c105 * Force HC into halt state.
154 /* clear state flags. Including dying, halted or removing */ in xhci_start()
165 * This resets pipelines, timers, counters, state machines, etc.
172 u32 state; in xhci_reset() local
175 state = readl(&xhci->op_regs->status); in xhci_reset()
177 if (state == ~(u32)0) { in xhci_reset()
182 if ((state & STS_HALT) == 0) { in xhci_reset()
236 * Some Renesas controllers get into a weird state if they are in xhci_zero_64b_regs()
508 if (hcd->state == HC_STATE_SUSPENDED) in compliance_mode_recovery()
523 * The quirk creates a timer that polls every 2 seconds the link state o
3968 u32 state; xhci_disable_slot() local
4625 xhci_get_timeout_no_hub_lpm(struct usb_device *udev, enum usb3_link_state state) xhci_get_timeout_no_hub_lpm() argument
4808 xhci_call_host_update_timeout_for_endpoint(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_endpoint_descriptor *desc, enum usb3_link_state state, u16 *timeout) xhci_call_host_update_timeout_for_endpoint() argument
4822 xhci_update_timeout_for_endpoint(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_endpoint_descriptor *desc, enum usb3_link_state state, u16 *timeout) xhci_update_timeout_for_endpoint() argument
4847 xhci_update_timeout_for_interface(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_interface *alt, enum usb3_link_state state, u16 *timeout) xhci_update_timeout_for_interface() argument
4864 xhci_check_intel_tier_policy(struct usb_device *udev, enum usb3_link_state state) xhci_check_intel_tier_policy() argument
4888 xhci_check_tier_policy(struct xhci_hcd *xhci, struct usb_device *udev, enum usb3_link_state state) xhci_check_tier_policy() argument
4903 xhci_calculate_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_calculate_lpm_timeout() argument
5016 xhci_enable_usb3_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_enable_usb3_lpm_timeout() argument
5055 xhci_disable_usb3_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_disable_usb3_lpm_timeout() argument
5082 xhci_enable_usb3_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_enable_usb3_lpm_timeout() argument
5088 xhci_disable_usb3_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_disable_usb3_lpm_timeout() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dni_dpm.c821 /* adjust low state */ in ni_apply_state_adjust_rules()
1384 struct ni_ps *state = ni_get_ps(radeon_state); in ni_calculate_power_boost_limit() local
1397 if (state->performance_level_count < 3) in ni_calculate_power_boost_limit()
1401 state->performance_levels[state->performance_level_count - 2].vddc, in ni_calculate_power_boost_limit()
1411 state->performance_levels[state->performance_level_count - 1].vddc, in ni_calculate_power_boost_limit()
1641 struct ni_ps *state = ni_get_ps(radeon_state); in ni_do_program_memory_timing_parameters() local
1645 for (i = 0; i < state->performance_level_count; i++) { in ni_do_program_memory_timing_parameters()
1646 ret = ni_populate_memory_timing_parameters(rdev, &state in ni_do_program_memory_timing_parameters()
2400 struct ni_ps *state = ni_get_ps(radeon_state); ni_populate_smc_t() local
2461 struct ni_ps *state = ni_get_ps(radeon_state); ni_populate_power_containment_values() local
2545 struct ni_ps *state = ni_get_ps(radeon_state); ni_populate_sq_ramping_values() local
2634 struct ni_ps *state = ni_get_ps(radeon_state); ni_convert_power_state_to_smc() local
2985 struct ni_ps *state = ni_get_ps(radeon_state); ni_convert_mc_reg_table_to_smc() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_hdmi.c1485 struct drm_crtc *crtc = connector->base.state->crtc; in kbl_repositioning_enc_en_signal()
1928 static void g4x_enable_hdmi(struct intel_atomic_state *state, in g4x_enable_hdmi() argument
1951 static void ibx_enable_hdmi(struct intel_atomic_state *state, in ibx_enable_hdmi() argument
2003 static void cpt_enable_hdmi(struct intel_atomic_state *state, in cpt_enable_hdmi() argument
2057 static void vlv_enable_hdmi(struct intel_atomic_state *state, in vlv_enable_hdmi() argument
2064 static void intel_disable_hdmi(struct intel_atomic_state *state, in intel_disable_hdmi() argument
2123 static void g4x_disable_hdmi(struct intel_atomic_state *state, in g4x_disable_hdmi() argument
2132 intel_disable_hdmi(state, encoder, old_crtc_state, old_conn_state); in g4x_disable_hdmi()
2135 static void pch_disable_hdmi(struct intel_atomic_state *state, in pch_disable_hdmi() argument
2145 static void pch_post_disable_hdmi(struct intel_atomic_state *state, in pch_post_disable_hdmi() argument
2287 struct drm_atomic_state *state = crtc_state->uapi.state; intel_hdmi_deep_color_possible() local
2756 intel_hdmi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_hdmi_pre_enable() argument
2771 vlv_hdmi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_hdmi_pre_enable() argument
2794 vlv_hdmi_pre_pll_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_hdmi_pre_pll_enable() argument
2804 chv_hdmi_pre_pll_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) chv_hdmi_pre_pll_enable() argument
2814 chv_hdmi_post_pll_disable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) chv_hdmi_post_pll_disable() argument
2822 vlv_hdmi_post_disable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) vlv_hdmi_post_disable() argument
2831 chv_hdmi_post_disable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) chv_hdmi_post_disable() argument
2847 chv_hdmi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) chv_hdmi_pre_enable() argument
3329 enum intel_hotplug_state state; intel_hdmi_hotplug() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c68 dim->state = DIM_START_MEASURE; in ionic_dim_work()
131 if (!test_bit(IONIC_LIF_F_LINK_CHECK_REQUESTED, lif->state)) in ionic_link_status_check()
166 clear_bit(IONIC_LIF_F_LINK_CHECK_REQUESTED, lif->state); in ionic_link_status_check()
174 if (test_and_set_bit(IONIC_LIF_F_LINK_CHECK_REQUESTED, lif->state)) in ionic_link_status_check_request()
180 clear_bit(IONIC_LIF_F_LINK_CHECK_REQUESTED, lif->state); in ionic_link_status_check_request()
761 if (test_bit(IONIC_LIF_F_SPLIT_INTR, lif->state)) in ionic_lif_txq_init()
816 if (test_bit(IONIC_LIF_F_SPLIT_INTR, lif->state)) in ionic_lif_rxq_init()
1166 * next check to see if we're in an overflow state in ionic_set_rx_mode()
1712 if (test_bit(IONIC_LIF_F_SPLIT_INTR, lif->state)) in ionic_txrx_alloc()
1728 if (test_bit(IONIC_LIF_F_TX_DIM_INTR, lif->state)) in ionic_txrx_alloc()
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dds90ub960.c2294 struct v4l2_subdev_state *state, u8 *vc) in ub960_get_vc_maps()
2300 for_each_active_route(&state->routing, route) { in ub960_get_vc_maps()
2404 struct v4l2_subdev_state *state) in ub960_configure_ports_for_streaming()
2423 ub960_get_vc_maps(priv, state, vc_map); in ub960_configure_ports_for_streaming()
2425 for_each_active_route(&state->routing, route) { in ub960_configure_ports_for_streaming()
2454 fmt = v4l2_subdev_state_get_stream_format(state, in ub960_configure_ports_for_streaming()
2557 struct v4l2_subdev_state *state, u32 source_pad, in ub960_enable_streams()
2570 ret = ub960_configure_ports_for_streaming(priv, state); in ub960_enable_streams()
2586 for_each_active_route(&state->routing, route) { in ub960_enable_streams()
2669 struct v4l2_subdev_state *state, in ub960_disable_streams()
2293 ub960_get_vc_maps(struct ub960_data *priv, struct v4l2_subdev_state *state, u8 *vc) ub960_get_vc_maps() argument
2403 ub960_configure_ports_for_streaming(struct ub960_data *priv, struct v4l2_subdev_state *state) ub960_configure_ports_for_streaming() argument
2556 ub960_enable_streams(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, u32 source_pad, u64 source_streams_mask) ub960_enable_streams() argument
2668 ub960_disable_streams(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, u32 source_pad, u64 source_streams_mask) ub960_disable_streams() argument
2726 _ub960_set_routing(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_krouting *routing) _ub960_set_routing() argument
2763 ub960_set_routing(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, enum v4l2_subdev_format_whence which, struct v4l2_subdev_krouting *routing) ub960_set_routing() argument
2781 struct v4l2_subdev_state *state; ub960_get_frame_desc() local
2875 ub960_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) ub960_set_fmt() argument
2913 ub960_init_cfg(struct v4l2_subdev *sd, struct v4l2_subdev_state *state) ub960_init_cfg() argument
2953 struct v4l2_subdev_state *state; ub960_log_status() local
[all...]
/kernel/linux/linux-6.6/security/selinux/ss/
H A Dservices.c2150 struct selinux_state *state = &selinux_state; in selinux_policy_cancel() local
2153 oldpolicy = rcu_dereference_protected(state->policy, in selinux_policy_cancel()
2154 lockdep_is_held(&state->policy_mutex)); in selinux_policy_cancel()
2174 struct selinux_state *state = &selinux_state; in selinux_policy_commit() local
2179 oldpolicy = rcu_dereference_protected(state->policy, in selinux_policy_commit()
2180 lockdep_is_held(&state->policy_mutex)); in selinux_policy_commit()
2200 rcu_assign_pointer(state->policy, newpolicy); in selinux_policy_commit()
2203 rcu_assign_pointer(state->policy, newpolicy); in selinux_policy_commit()
2232 * @load_state: policy load state
2242 struct selinux_state *state in security_load_policy() local
3017 struct selinux_state *state = &selinux_state; security_set_bools() local
3502 struct selinux_state *state = &selinux_state; selinux_audit_rule_init() local
3627 struct selinux_state *state = &selinux_state; selinux_audit_rule_match() local
3948 struct selinux_state *state = &selinux_state; security_read_policy() local
3978 struct selinux_state *state = &selinux_state; security_read_state_kernel() local
[all...]
/third_party/libinput/test/
H A Dlitest.c698 else if (strstr(format, "thumb state:")) in litest_log_handler()
700 else if (strstr(format, "button state:")) in litest_log_handler()
2827 enum libinput_switch_state state) in litest_switch_action()
2842 litest_event(dev, EV_SW, code, state); in litest_switch_action()
3258 "button %d state %d", in litest_print_event()
3288 fprintf(stderr, "button %d state %d", in litest_print_event()
3294 fprintf(stderr, "button %d state %d", in litest_print_event()
3582 enum libinput_button_state state) in litest_is_button_event()
3593 state); in litest_is_button_event() local
3661 enum libinput_key_state state) in litest_assert_key_event()
2825 litest_switch_action(struct litest_device *dev, enum libinput_switch sw, enum libinput_switch_state state) litest_switch_action() argument
3580 litest_is_button_event(struct libinput_event *event, unsigned int button, enum libinput_button_state state) litest_is_button_event() argument
3660 litest_assert_key_event(struct libinput *li, unsigned int key, enum libinput_key_state state) litest_assert_key_event() argument
3674 litest_assert_button_event(struct libinput *li, unsigned int button, enum libinput_button_state state) litest_assert_button_event() argument
3716 litest_is_keyboard_event(struct libinput_event *event, unsigned int key, enum libinput_key_state state) litest_is_keyboard_event() argument
3731 state); litest_is_keyboard_event() local
3784 litest_assert_tablet_button_event(struct libinput *li, unsigned int button, enum libinput_button_state state) litest_assert_tablet_button_event() argument
3800 state); litest_assert_tablet_button_event() local
3806 litest_is_proximity_event(struct libinput_event *event, enum libinput_tablet_tool_proximity_state state) litest_is_proximity_event() argument
3816 state); litest_is_proximity_event() local
3867 litest_assert_tablet_proximity_event(struct libinput *li, enum libinput_tablet_tool_proximity_state state) litest_assert_tablet_proximity_event() argument
3878 litest_assert_tablet_tip_event(struct libinput *li, enum libinput_tablet_tool_tip_state state) litest_assert_tablet_tip_event() argument
3892 state); litest_assert_tablet_tip_event() local
3897 litest_is_pad_button_event(struct libinput_event *event, unsigned int button, enum libinput_button_state state) litest_is_pad_button_event() argument
3913 state); litest_is_pad_button_event() local
3959 litest_is_pad_key_event(struct libinput_event *event, unsigned int key, enum libinput_key_state state) litest_is_pad_key_event() argument
3974 state); litest_is_pad_key_event() local
3980 litest_is_switch_event(struct libinput_event *event, enum libinput_switch sw, enum libinput_switch_state state) litest_is_switch_event() argument
3993 state); litest_is_switch_event() local
3999 litest_assert_switch_event(struct libinput *li, enum libinput_switch sw, enum libinput_switch_state state) litest_assert_switch_event() argument
4014 litest_assert_pad_button_event(struct libinput *li, unsigned int button, enum libinput_button_state state) litest_assert_pad_button_event() argument
4028 litest_assert_pad_key_event(struct libinput *li, unsigned int key, enum libinput_key_state state) litest_assert_pad_key_event() argument
[all...]
/kernel/linux/linux-5.10/drivers/crypto/axis/
H A Dartpec6_crypto.c2435 struct artpec6_hash_export_state *state = out; in artpec6_crypto_hash_export() local
2439 BUILD_BUG_ON(sizeof(state->partial_buffer) != in artpec6_crypto_hash_export()
2441 BUILD_BUG_ON(sizeof(state->digeststate) != sizeof(ctx->digeststate)); in artpec6_crypto_hash_export()
2443 state->digcnt = ctx->digcnt; in artpec6_crypto_hash_export()
2444 state->partial_bytes = ctx->partial_bytes; in artpec6_crypto_hash_export()
2445 state->hash_flags = ctx->hash_flags; in artpec6_crypto_hash_export()
2448 state->oper = FIELD_GET(A6_CRY_MD_OPER, ctx->hash_md); in artpec6_crypto_hash_export()
2450 state->oper = FIELD_GET(A7_CRY_MD_OPER, ctx->hash_md); in artpec6_crypto_hash_export()
2452 memcpy(state->partial_buffer, ctx->partial_buffer, in artpec6_crypto_hash_export()
2453 sizeof(state in artpec6_crypto_hash_export()
2463 const struct artpec6_hash_export_state *state = in; artpec6_crypto_hash_import() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c842 !(test_bit(__IGBVF_DOWN, &adapter->state))) { in igbvf_clean_tx_irq()
862 if (!test_bit(__IGBVF_DOWN, &adapter->state)) in igbvf_msix_other()
1207 if (!test_bit(__IGBVF_DOWN, &adapter->state)) in igbvf_poll()
1509 /* igbvf_reset - bring the hardware into a known good state
1550 clear_bit(__IGBVF_DOWN, &adapter->state); in igbvf_up()
1576 set_bit(__IGBVF_DOWN, &adapter->state); in igbvf_down()
1613 while (test_and_set_bit(__IGBVF_RESETTING, &adapter->state)) in igbvf_reinit_locked()
1617 clear_bit(__IGBVF_RESETTING, &adapter->state); in igbvf_reinit_locked()
1663 /* Explicitly disable IRQ since the NIC can be in any state. */ in igbvf_sw_init()
1669 set_bit(__IGBVF_DOWN, &adapter->state); in igbvf_sw_init()
2542 igbvf_io_error_detected(struct pci_dev *pdev, pci_channel_state_t state) igbvf_io_error_detected() argument
[all...]
/kernel/linux/linux-6.6/fs/gfs2/
H A Dglock.c65 static void handle_callback(struct gfs2_glock *gl, unsigned int state,
520 * state_change - record that the glock is now in a different state
522 * @new_state: the new state
575 unsigned state = ret & LM_OUT_ST_MASK; in finish_xmote() local
578 trace_gfs2_glock_state_change(gl, state); in finish_xmote()
579 state_change(gl, state); in finish_xmote()
584 state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED) in finish_xmote()
587 /* Check for state != intended state */ in finish_xmote()
588 if (unlikely(state ! in finish_xmote()
1249 __gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, u16 flags, struct gfs2_holder *gh, unsigned long ip) __gfs2_holder_init() argument
1271 gfs2_holder_reinit(unsigned int state, u16 flags, struct gfs2_holder *gh) gfs2_holder_reinit() argument
1417 handle_callback(struct gfs2_glock *gl, unsigned int state, unsigned long delay, bool remote) handle_callback() argument
1725 gfs2_glock_nq_num(struct gfs2_sbd *sdp, u64 number, const struct gfs2_glock_operations *glops, unsigned int state, u16 flags, struct gfs2_holder *gh) gfs2_glock_nq_num() argument
1846 gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state) gfs2_glock_cb() argument
2199 state2str(unsigned state) state2str() argument
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_rmap.c1099 int state = 0; in xfs_rmap_convert() local
1138 state |= RMAP_LEFT_FILLING; in xfs_rmap_convert()
1140 state |= RMAP_RIGHT_FILLING; in xfs_rmap_convert()
1151 state |= RMAP_LEFT_VALID; in xfs_rmap_convert()
1172 state |= RMAP_LEFT_CONTIG; in xfs_rmap_convert()
1191 state |= RMAP_RIGHT_VALID; in xfs_rmap_convert()
1210 state |= RMAP_RIGHT_CONTIG; in xfs_rmap_convert()
1214 if ((state & (RMAP_LEFT_FILLING | RMAP_LEFT_CONTIG | in xfs_rmap_convert()
1220 state &= ~RMAP_RIGHT_CONTIG; in xfs_rmap_convert()
1222 trace_xfs_rmap_convert_state(mp, cur->bc_ag.pag->pag_agno, state, in xfs_rmap_convert()
1588 int state = 0; xfs_rmap_convert_shared() local
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/8250/
H A D8250_port.c578 * serial8250_em485_destroy() - put uart_8250_port into normal state
828 * preserve the device state across this.
1115 * OK it's in a known zero state, try writing and reading in autoconfig_16550a()
1116 * without disturbing the current state of the other bits. in autoconfig_16550a()
1645 if (!port->x_char && uart_circ_empty(&port->state->xmit)) in serial8250_start_tx()
1785 tty_flip_buffer_push(&port->state->port); in serial8250_rx_chars()
1793 struct circ_buf *xmit = &port->state->xmit; in serial8250_tx_chars()
1858 port->state != NULL) { in serial8250_modem_status()
1868 wake_up_interruptible(&port->state->port.delta_msr_wait); in serial8250_modem_status()
1907 struct tty_port *tport = &port->state in serial8250_handle_irq()
2944 serial8250_do_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) serial8250_do_pm() argument
2954 serial8250_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) serial8250_pm() argument
3090 struct uart_state *state = container_of(port, struct uart_state, port); do_get_rxtrig() local
3126 struct uart_state *state = container_of(port, struct uart_state, port); do_set_rxtrig() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/axis/
H A Dartpec6_crypto.c2436 struct artpec6_hash_export_state *state = out; in artpec6_crypto_hash_export() local
2440 BUILD_BUG_ON(sizeof(state->partial_buffer) != in artpec6_crypto_hash_export()
2442 BUILD_BUG_ON(sizeof(state->digeststate) != sizeof(ctx->digeststate)); in artpec6_crypto_hash_export()
2444 state->digcnt = ctx->digcnt; in artpec6_crypto_hash_export()
2445 state->partial_bytes = ctx->partial_bytes; in artpec6_crypto_hash_export()
2446 state->hash_flags = ctx->hash_flags; in artpec6_crypto_hash_export()
2449 state->oper = FIELD_GET(A6_CRY_MD_OPER, ctx->hash_md); in artpec6_crypto_hash_export()
2451 state->oper = FIELD_GET(A7_CRY_MD_OPER, ctx->hash_md); in artpec6_crypto_hash_export()
2453 memcpy(state->partial_buffer, ctx->partial_buffer, in artpec6_crypto_hash_export()
2454 sizeof(state in artpec6_crypto_hash_export()
2464 const struct artpec6_hash_export_state *state = in; artpec6_crypto_hash_import() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c27 * This file owns the programming sequence of stream's dpms state associated
29 * dpms state change.
34 * stream state programming sequence. This creates a gray area where the
148 struct dc_state *state = link->dc->current_state; in link_set_all_streams_dpms_off_for_link() local
158 link_get_master_pipes_with_dpms_on(link, state, &count, pipes); in link_set_all_streams_dpms_off_for_link()
164 state); in link_set_all_streams_dpms_off_for_link()
191 * on in given dc state.
194 struct dc_state *state, in link_get_master_pipes_with_dpms_on()
203 pipe = &state->res_ctx.pipe_ctx[i]; in link_get_master_pipes_with_dpms_on()
1412 /* update mst stream allocation table hardware state */ in deallocate_mst_payload()
193 link_get_master_pipes_with_dpms_on(const struct dc_link *link, struct dc_state *state, uint8_t *count, struct pipe_ctx *pipes[MAX_PIPES]) link_get_master_pipes_with_dpms_on() argument
2043 enable_link_dp(struct dc_state *state, struct pipe_ctx *pipe_ctx) enable_link_dp() argument
2153 enable_link_edp( struct dc_state *state, struct pipe_ctx *pipe_ctx) enable_link_edp() argument
2179 enable_link_dp_mst( struct dc_state *state, struct pipe_ctx *pipe_ctx) enable_link_dp_mst() argument
2208 enable_link( struct dc_state *state, struct pipe_ctx *pipe_ctx) enable_link() argument
2386 link_set_dpms_on( struct dc_state *state, struct pipe_ctx *pipe_ctx) link_set_dpms_on() argument
[all...]
/third_party/mbedtls/library/
H A Dssl_tls12_client.c1164 ssl->state = MBEDTLS_SSL_CLIENT_HELLO; in ssl_parse_hello_verify_request()
1373 ssl->state++; in ssl_parse_server_hello()
1382 ssl->state = MBEDTLS_SSL_SERVER_CHANGE_CIPHER_SPEC; in ssl_parse_server_hello()
2092 ssl->state++; in ssl_parse_server_key_exchange()
2113 ssl->state++; in ssl_parse_server_key_exchange()
2455 ssl->state++; in ssl_parse_server_key_exchange()
2473 ssl->state++; in ssl_parse_certificate_request()
2500 ssl->state++; in ssl_parse_certificate_request()
2518 ssl->state++; in ssl_parse_certificate_request()
2689 ssl->state in ssl_parse_server_hello_done()
[all...]
/third_party/mesa3d/src/intel/blorp/
H A Dblorp_genX_exec.h172 #define blorp_emit_dynamic(batch, state, name, align, offset) \
173 for (struct state name = STRUCT_ZERO(state), \
175 _blorp_cmd_length(state) * 4, \
178 _blorp_cmd_pack(state)(batch, (void *)_dst, &name), \
179 blorp_flush_range(batch, _dst, _blorp_cmd_length(state) * 4), \
206 * programmed in order for the programming of this state to be
502 * 3DSTATE_VF_SGVS (System Generated Value Setup) state packet for it. in blorp_emit_vertex_elements()
837 * configure the WM state whether or not there is a WM program. in blorp_emit_ps_config()
1109 uint32_t *state in blorp_emit_blend_state() local
1233 void *state = blorp_alloc_dynamic_state(batch, blorp_emit_depth_stencil_state() local
1462 blorp_emit_surface_state(struct blorp_batch *batch, const struct brw_blorp_surface_info *surface, UNUSED enum isl_aux_op aux_op, void *state, uint32_t state_offset, uint8_t color_write_disable, bool is_render_target) blorp_emit_surface_state() argument
1561 blorp_emit_null_surface_state(struct blorp_batch *batch, const struct brw_blorp_surface_info *surface, uint32_t *state) blorp_emit_null_surface_state() argument
2277 void *state = blorp_alloc_dynamic_state(batch, size, 64, &idd_offset); blorp_exec_compute() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dtid_rdma.c1417 * @ss: sge state, maintains state across successive segments of a sge
1505 * Setup the flow state with relevant information.
1800 if (req->state == TID_REQUEST_SYNC) {
1806 req->state = TID_REQUEST_ACTIVE;
1816 if (req->state == TID_REQUEST_RESEND) {
1825 req->state = TID_REQUEST_ACTIVE;
1833 req->state = TID_REQUEST_SYNC;
1846 req->state = TID_REQUEST_QUEUED;
1963 req->state in tid_rdma_rcv_read_request()
[all...]

Completed in 94 milliseconds

1...<<341342343344345346347348349350>>...822