Home
last modified time | relevance | path

Searched refs:state (Results 8776 - 8800 of 20585) sorted by relevance

1...<<351352353354355356357358359360>>...824

/foundation/communication/dsoftbus/tests/core/connection/ble/
H A Dble_service_connection_test.cpp281 connection->state = BLE_CONNECTION_STATE_CONNECTING; in HWTEST_F()
285 connection->state = BLE_CONNECTION_STATE_SERVICE_SEARCHING; in HWTEST_F()
290 connection->state = BLE_CONNECTION_STATE_CONNECTED; in HWTEST_F()
326 connection->state = BLE_CONNECTION_STATE_EXCHANGING_BASIC_INFO; in HWTEST_F()
357 connection->state = BLE_CONNECTION_STATE_EXCHANGING_BASIC_INFO; in HWTEST_F()
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/
H A Dcloud_sync_common_test.cpp148 downloadProgressObj.state = downloadProgressObj.RUNNING; in HWTEST_F()
155 downloadProgressObj.state = downloadProgressObj.RUNNING; in HWTEST_F()
162 downloadProgressObj.state = downloadProgressObj.RUNNING; in HWTEST_F()
169 downloadProgressObj.state = downloadProgressObj.STOPPED; in HWTEST_F()
176 downloadProgressObj.state = downloadProgressObj.STOPPED; in HWTEST_F()
537 "DownloadProgressObj [path: ******** state: 0 downloaded: 0 total: 0 downloadErrorType: 0 " in HWTEST_F()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/utils/
H A Ddh_context.cpp51 DHLOGE("DHFWK subscribe create power state callback Create Error"); in RegisterPowerStateLinstener()
57 DHLOGE("DHFWK register power state callback failed"); in RegisterPowerStateLinstener()
59 DHLOGI("DHFWK register power state callback success"); in RegisterPowerStateLinstener()
65 void DHContext::DHFWKPowerStateCallback::OnPowerStateChanged(PowerMgr::PowerState state) in OnPowerStateChanged() argument
67 DHLOGI("DHFWK OnPowerStateChanged state: %{public}u", static_cast<uint32_t>(state)); in OnPowerStateChanged()
68 if (state == PowerMgr::PowerState::SLEEP || state == PowerMgr::PowerState::HIBERNATE || in OnPowerStateChanged()
69 state == PowerMgr::PowerState::SHUTDOWN) { in OnPowerStateChanged()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/
H A Dl2cap_inst.c235 if ((conn->state == L2CAP_CONNECTION_CONNECTED) && (ListGetFirstNode(conn->chanList) == NULL)) { in L2capNewChannel()
237 conn->state = L2CAP_CONNECTION_DISCONNECTING; in L2capNewChannel()
245 chan->state = L2CAP_CHANNEL_IDLE; in L2capNewChannel()
397 conn->state = L2CAP_CONNECTION_IDLE; in L2capNewConnection()
398 conn->info.state = L2CAP_INFO_STATE_NONE; in L2capNewConnection()
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-xlp.c106 static void xlp_gpio_set_reg(void __iomem *addr, unsigned gpio, int state) in xlp_gpio_set_reg() argument
114 if (state) in xlp_gpio_set_reg()
225 static int xlp_gpio_dir_output(struct gpio_chip *gc, unsigned gpio, int state) in xlp_gpio_dir_output() argument
253 static void xlp_gpio_set(struct gpio_chip *gc, unsigned gpio, int state) in xlp_gpio_set() argument
258 xlp_gpio_set_reg(priv->gpio_paddrv, gpio, state); in xlp_gpio_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atpx_handler.c294 * @state: discrete GPU state (0 = power down, 1 = power up)
300 static int amdgpu_atpx_set_discrete_state(struct amdgpu_atpx *atpx, u8 state) in amdgpu_atpx_set_discrete_state() argument
308 input.dgpu_state = state; in amdgpu_atpx_set_discrete_state()
319 if (state == 0) in amdgpu_atpx_set_discrete_state()
329 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
361 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
393 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
425 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
483 * @state
489 amdgpu_atpx_power_state(enum vga_switcheroo_client_id id, enum vga_switcheroo_state state) amdgpu_atpx_power_state() argument
[all...]
H A Duvd_v4_2.c48 enum amd_clockgating_state state);
345 /* force RBC into idle state */ in uvd_v4_2_start()
662 enum amdgpu_interrupt_state state) in uvd_v4_2_set_interrupt_state()
678 enum amd_clockgating_state state) in uvd_v4_2_set_clockgating_state()
684 enum amd_powergating_state state) in uvd_v4_2_set_powergating_state()
695 if (state == AMD_PG_STATE_GATE) { in uvd_v4_2_set_powergating_state()
659 uvd_v4_2_set_interrupt_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned type, enum amdgpu_interrupt_state state) uvd_v4_2_set_interrupt_state() argument
677 uvd_v4_2_set_clockgating_state(void *handle, enum amd_clockgating_state state) uvd_v4_2_set_clockgating_state() argument
683 uvd_v4_2_set_powergating_state(void *handle, enum amd_powergating_state state) uvd_v4_2_set_powergating_state() argument
/kernel/linux/linux-5.10/arch/arm/mach-imx/
H A Dpm-imx6.c381 static int imx6q_pm_enter(suspend_state_t state) in imx6q_pm_enter() argument
383 switch (state) { in imx6q_pm_enter()
427 static int imx6q_pm_valid(suspend_state_t state) in imx6q_pm_valid() argument
429 return (state == PM_SUSPEND_STANDBY || state == PM_SUSPEND_MEM); in imx6q_pm_valid()
/kernel/linux/linux-5.10/arch/x86/include/asm/fpu/
H A Dinternal.h6 * General FPU state handling cleanups
27 * High level FPU state handling functions:
83 extern void fpstate_init(union fpregs_state *state);
203 asm volatile( "fxsave %[fx]" : [fx] "=m" (fpu->state.fxsave)); in copy_fxregs_to_kernel()
205 asm volatile("fxsaveq %[fx]" : [fx] "=m" (fpu->state.fxsave)); in copy_fxregs_to_kernel()
304 * state we set at boot time should be valid. in copy_kernel_to_xregs_booting()
423 * pending. Clear the x87 state here by setting it to fixed values. in copy_kernel_to_fpregs()
446 * The in-register FPU state for an FPU context on a CPU is assumed to be
450 * If the FPU register state is valid, the kernel can skip restoring the
451 * FPU state fro
[all...]
/kernel/linux/linux-5.10/arch/x86/events/amd/
H A Duncore.c108 hwc->state = 0; in amd_uncore_start()
118 hwc->state |= PERF_HES_STOPPED; in amd_uncore_stop()
120 if ((flags & PERF_EF_UPDATE) && !(hwc->state & PERF_HES_UPTODATE)) { in amd_uncore_stop()
122 hwc->state |= PERF_HES_UPTODATE; in amd_uncore_stop()
159 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in amd_uncore_add()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Ddswexec.c48 * PARAMETERS: walk_state - Current state of the parse tree walk
67 walk_state->control_state->common.state = 0; in acpi_ds_get_predicate_value()
163 walk_state->control_state->common.state = ACPI_CONTROL_NORMAL; in acpi_ds_get_predicate_value()
171 * PARAMETERS: walk_state - Current state of the parse tree walk
234 (walk_state->control_state->common.state == in acpi_ds_exec_begin_op()
240 walk_state->control_state->common.state = in acpi_ds_exec_begin_op()
317 * PARAMETERS: walk_state - Current state of the parse tree walk
354 /* Init the walk state */ in acpi_ds_exec_end_op()
717 (walk_state->control_state->common.state == in acpi_ds_exec_end_op()
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
H A Ddprc.c188 * dprc_set_irq_enable() - Set overall interrupt state.
193 * @en: Interrupt state - enable = 1, disable = 0
197 * overall interrupt state. if the interrupt is disabled no causes will cause
449 obj_desc->state = le32_to_cpu(rsp_params->state); in dprc_get_obj()
659 * @state: Returned link state:
671 int *state) in dprc_get_connection()
697 *state = le32_to_cpu(rsp_params->state); in dprc_get_connection()
666 dprc_get_connection(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dprc_endpoint *endpoint1, struct dprc_endpoint *endpoint2, int *state) dprc_get_connection() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/alchemy/common/
H A Dplatform.c31 static void alchemy_8250_pm(struct uart_port *port, unsigned int state, in alchemy_8250_pm() argument
35 switch (state) { in alchemy_8250_pm()
38 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
41 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
45 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.c150 set_bit(HCLGE_STATE_CMD_DISABLE, &hdev->state); in hclge_cmd_csq_clean()
269 if (test_bit(HCLGE_STATE_CMD_DISABLE, &hdev->state)) { in hclge_cmd_send()
459 clear_bit(HCLGE_STATE_CMD_DISABLE, &hdev->state); in hclge_cmd_init()
503 set_bit(HCLGE_STATE_CMD_DISABLE, &hdev->state); in hclge_cmd_init()
524 set_bit(HCLGE_STATE_CMD_DISABLE, &hdev->state); in hclge_cmd_uninit()
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
H A Dchip.h146 u8 state; member
158 u8 state[DSA_MAX_PORTS]; member
174 /* state flags for mv88e6xxx_port_hwtstamp::state */
184 /* Timestamping state */
185 unsigned long state; member
414 /* Port's MAC link state
517 u8 lane, struct phylink_link_state *state);
572 struct phylink_link_state *state);
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_cmd.c54 set_bit(HCLGEVF_STATE_CMD_DISABLE, &hdev->state); in hclgevf_cmd_csq_clean()
234 if (test_bit(HCLGEVF_STATE_CMD_DISABLE, &hdev->state)) { in hclgevf_cmd_send()
423 clear_bit(HCLGEVF_STATE_CMD_DISABLE, &hdev->state); in hclgevf_cmd_init()
454 set_bit(HCLGEVF_STATE_CMD_DISABLE, &hdev->state); in hclgevf_cmd_init()
475 set_bit(HCLGEVF_STATE_CMD_DISABLE, &hdev->state); in hclgevf_cmd_uninit()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_mgmt.c93 mgmt_cb->state = HINIC_MGMT_CB_ENABLED; in hinic_register_mgmt_msg_cb()
106 mgmt_cb->state &= ~HINIC_MGMT_CB_ENABLED; in hinic_unregister_mgmt_msg_cb()
108 while (mgmt_cb->state & HINIC_MGMT_CB_RUNNING) in hinic_unregister_mgmt_msg_cb()
410 cb_state = cmpxchg(&mgmt_cb->state, in recv_mgmt_msg_work_handler()
422 mgmt_cb->state &= ~HINIC_MGMT_CB_RUNNING; in recv_mgmt_msg_work_handler()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
H A Dfm10k.h56 test_bit(__FM10K_TX_DETECT_HANG, (ring)->state)
58 set_bit(__FM10K_TX_DETECT_HANG, (ring)->state)
60 clear_bit(__FM10K_TX_DETECT_HANG, (ring)->state)
114 DECLARE_BITMAP(state, __FM10K_TX_STATE_SIZE__);
289 DECLARE_BITMAP(state, __FM10K_STATE_SIZE__);
/kernel/linux/linux-6.6/arch/mips/alchemy/common/
H A Dplatform.c31 static void alchemy_8250_pm(struct uart_port *port, unsigned int state, in alchemy_8250_pm() argument
35 switch (state) { in alchemy_8250_pm()
38 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
41 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
45 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
/kernel/linux/linux-5.10/tools/testing/vsock/
H A Dvsock_diag_test.c47 static const char *sock_state_str(int state) in sock_state_str() argument
49 switch (state) { in sock_state_str()
155 static void check_socket_state(struct vsock_stat *st, __u8 state) in check_socket_state() argument
157 if (st->msg.vdiag_state != state) { in check_socket_state()
158 fprintf(stderr, "expected socket state %#x, got %#x\n", in check_socket_state()
159 state, st->msg.vdiag_state); in check_socket_state()
/kernel/linux/linux-5.10/tools/virtio/
H A Dvirtio_test.c70 struct vhost_vring_state state = { .index = info->idx }; in vhost_vq_setup() local
82 state.num = info->vring.num; in vhost_vq_setup()
83 r = ioctl(dev->control, VHOST_SET_VRING_NUM, &state); in vhost_vq_setup()
85 state.num = 0; in vhost_vq_setup()
86 r = ioctl(dev->control, VHOST_SET_VRING_BASE, &state); in vhost_vq_setup()
157 * current state. */
/kernel/linux/linux-6.6/arch/arm/mach-imx/
H A Dpm-imx6.c383 static int imx6q_pm_enter(suspend_state_t state) in imx6q_pm_enter() argument
385 switch (state) { in imx6q_pm_enter()
429 static int imx6q_pm_valid(suspend_state_t state) in imx6q_pm_valid() argument
431 return (state == PM_SUSPEND_STANDBY || state == PM_SUSPEND_MEM); in imx6q_pm_valid()
/kernel/linux/linux-5.10/drivers/mfd/
H A Dt7l66xb.c124 static void t7l66xb_mmc_pwr(struct platform_device *mmc, int state) in t7l66xb_mmc_pwr() argument
128 tmio_core_mmc_pwr(t7l66xb->scr + 0x200, 0, state); in t7l66xb_mmc_pwr()
131 static void t7l66xb_mmc_clk_div(struct platform_device *mmc, int state) in t7l66xb_mmc_clk_div() argument
135 tmio_core_mmc_clk_div(t7l66xb->scr + 0x200, 0, state); in t7l66xb_mmc_clk_div()
269 static int t7l66xb_suspend(struct platform_device *dev, pm_message_t state) in t7l66xb_suspend() argument
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-roccat-arvo.c45 return snprintf(buf, PAGE_SIZE, "%d\n", temp_buf.state); in arvo_sysfs_show_mode_key()
56 unsigned long state; in arvo_sysfs_set_mode_key() local
59 retval = kstrtoul(buf, 10, &state); in arvo_sysfs_set_mode_key()
64 temp_buf.state = state; in arvo_sysfs_set_mode_key()
/kernel/linux/linux-5.10/drivers/media/cec/platform/tegra/
H A Dtegra_cec.c253 u32 state = cec_read(cec, TEGRA_CEC_HW_CONTROL); in tegra_cec_adap_log_addr() local
256 state &= ~TEGRA_CEC_HWCTRL_RX_LADDR_MASK; in tegra_cec_adap_log_addr()
258 state |= TEGRA_CEC_HWCTRL_RX_LADDR((1 << logical_addr)); in tegra_cec_adap_log_addr()
260 cec_write(cec, TEGRA_CEC_HW_CONTROL, state); in tegra_cec_adap_log_addr()
437 static int tegra_cec_suspend(struct platform_device *pdev, pm_message_t state) in tegra_cec_suspend() argument

Completed in 30 milliseconds

1...<<351352353354355356357358359360>>...824