Home
last modified time | relevance | path

Searched refs:state (Results 8276 - 8300 of 20831) sorted by relevance

1...<<331332333334335336337338339340>>...834

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/
H A Ddrv_hash_v200.c678 hi_s32 drv_hash_cfg(hi_u32 chn_num, hash_mode mode, const hi_u32 state[HASH_RESULT_MAX_SIZE_IN_WORD]) in drv_hash_cfg() argument
697 /* Write last state. */ in drv_hash_cfg()
700 hash_write(chann_hash_state_val(chn_num), state[i]); in drv_hash_cfg() local
702 hi_log_info("state[0]: 0x%x\n", state[0]); in drv_hash_cfg()
749 hi_s32 drv_hash_wait_done(hi_u32 chn_num, hi_u32 *state) in drv_hash_wait_done() argument
756 hi_log_chk_param_return(state == HI_NULL); in drv_hash_wait_done()
769 state[i] = hash_read(chann_hash_state_val(chn_num)); in drv_hash_wait_done()
771 hi_log_debug("digest[0]: 0x%x\n", state[0]); in drv_hash_wait_done()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
H A Dispp.c81 if (ispp_sdev->state & ISPP_START) { in rkispp_subdev_link_setup()
276 ispp_sdev->state = ISPP_START; in rkispp_sd_s_stream()
279 rkispp_event_handle(dev, CMD_STREAM, &ispp_sdev->state); in rkispp_sd_s_stream()
287 ispp_sdev->state = ISPP_STOP; in rkispp_sd_s_stream()
303 rkispp_event_handle(dev, CMD_STREAM, &ispp_sdev->state); in rkispp_sd_s_stream()
319 if (ispp_sdev->state == ISPP_START) { in rkispp_sd_s_rx_buffer()
545 ispp_sdev->state = ISPP_STOP; in rkispp_register_subdev()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
H A Dispp.c82 if (ispp_sdev->state & ISPP_START) in rkispp_subdev_link_setup()
277 ispp_sdev->state = ISPP_START; in rkispp_sd_s_stream()
280 rkispp_event_handle(dev, CMD_STREAM, &ispp_sdev->state); in rkispp_sd_s_stream()
287 ispp_sdev->state = ISPP_STOP; in rkispp_sd_s_stream()
299 rkispp_event_handle(dev, CMD_STREAM, &ispp_sdev->state); in rkispp_sd_s_stream()
315 if (ispp_sdev->state == ISPP_START) { in rkispp_sd_s_rx_buffer()
549 ispp_sdev->state = ISPP_STOP; in rkispp_register_subdev()
/foundation/ability/ability_runtime/services/abilitymgr/src/mission/
H A Dmission_info_mgr.cpp341 int MissionInfoMgr::UpdateMissionContinueState(int32_t missionId, const AAFwk::ContinueState &state) in UpdateMissionContinueState() argument
343 TAG_LOGI(AAFwkTag::ABILITYMGR, "start. Mission id: %{public}d, state: %{public}d", in UpdateMissionContinueState()
344 missionId, state); in UpdateMissionContinueState()
357 "%{public}d fail, missionId %{public}d not exists", state, missionId); in UpdateMissionContinueState()
361 it->missionInfo.continueState = state; in UpdateMissionContinueState()
365 state); in UpdateMissionContinueState()
392 void MissionInfoMgr::SetMissionAbilityState(int32_t missionId, AbilityState state) in SetMissionAbilityState() argument
405 it->missionInfo.abilityState = state; in SetMissionAbilityState()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/fontcollection_napi/
H A Djs_fontcollection.cpp281 int32_t state = 0; in ParseResourcePath() local
291 state = resourceManager->GetStringById(info.resId, rPath); in ParseResourcePath()
292 if (state >= GLOBAL_ERROR || state < 0) { in ParseResourcePath()
307 state = resourceManager->GetRawFileFromHap(info.params[0], dataLen, rawData); in ParseResourcePath()
308 if (state >= GLOBAL_ERROR || state < 0) { in ParseResourcePath()
/foundation/multimodalinput/input/util/common/src/
H A Dinput_event_data_transformation.cpp120 bool state = false; in ReadFunctionKeys() local
121 pkt >> state; in ReadFunctionKeys() local
122 key->SetFunctionKey(KeyEvent::NUM_LOCK_FUNCTION_KEY, state); in ReadFunctionKeys()
123 pkt >> state; in ReadFunctionKeys() local
124 key->SetFunctionKey(KeyEvent::CAPS_LOCK_FUNCTION_KEY, state); in ReadFunctionKeys()
125 pkt >> state; in ReadFunctionKeys() local
126 key->SetFunctionKey(KeyEvent::SCROLL_LOCK_FUNCTION_KEY, state); in ReadFunctionKeys()
/foundation/multimodalinput/input/intention/cooperate/plugin/src/input_event_transmission/
H A Dinput_event_serialization.cpp118 bool state = false; in ReadFunctionKeys() local
119 pkt >> state; in ReadFunctionKeys() local
120 key->SetFunctionKey(MMI::KeyEvent::NUM_LOCK_FUNCTION_KEY, state); in ReadFunctionKeys()
121 pkt >> state; in ReadFunctionKeys() local
122 key->SetFunctionKey(MMI::KeyEvent::CAPS_LOCK_FUNCTION_KEY, state); in ReadFunctionKeys()
123 pkt >> state; in ReadFunctionKeys() local
124 key->SetFunctionKey(MMI::KeyEvent::SCROLL_LOCK_FUNCTION_KEY, state); in ReadFunctionKeys()
/foundation/multimodalinput/input/service/module_loader/include/
H A Dmmi_service.h65 int32_t SetHoverScrollState(bool state) override;
66 int32_t GetHoverScrollState(bool &state) override;
112 int32_t GetFunctionKeyState(int32_t funcKey, bool &state) override;
122 int32_t SetTouchpadScrollDirection(bool state) override;
123 int32_t GetTouchpadScrollDirection(bool &state) override;
205 int32_t ReadHoverScrollState(bool &state);
208 int32_t ReadTouchpadScrollDirection(bool &state);
/kernel/linux/linux-5.10/drivers/char/hw_random/
H A Dn2-drv.c84 * And then the fourth value sets the final chip state and enables
112 unsigned long hv_err, state, ticks, watchdog_delta, watchdog_status; in n2rng_generic_read_control_v2() local
116 hv_err = sun4v_rng_ctl_read_v2(ra, unit, &state, in n2rng_generic_read_control_v2()
155 unsigned long state, in n2rng_write_ctl_one()
163 hv_err = sun4v_rng_ctl_write_v1(control_ra, state, in n2rng_write_ctl_one()
166 hv_err = sun4v_rng_ctl_write_v2(control_ra, state, in n2rng_write_ctl_one()
252 unsigned long state) in n2rng_generic_write_control()
258 hv_err = n2rng_write_ctl_one(np, unit, state, control_ra, in n2rng_generic_write_control()
154 n2rng_write_ctl_one(struct n2rng *np, int unit, unsigned long state, unsigned long control_ra, unsigned long watchdog_timeout, unsigned long *ticks) n2rng_write_ctl_one() argument
249 n2rng_generic_write_control(struct n2rng *np, unsigned long control_ra, unsigned long unit, unsigned long state) n2rng_generic_write_control() argument
/kernel/linux/linux-5.10/arch/arc/kernel/
H A Dperf_event.c298 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in arc_pmu_start()
300 hwc->state = 0; in arc_pmu_start()
330 if (!(event->hw.state & PERF_HES_STOPPED)) { in arc_pmu_stop()
337 event->hw.state |= PERF_HES_STOPPED; in arc_pmu_stop()
341 !(event->hw.state & PERF_HES_UPTODATE)) { in arc_pmu_stop()
343 event->hw.state |= PERF_HES_UPTODATE; in arc_pmu_stop()
390 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in arc_pmu_add()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.h169 u8 state; member
178 u8 state; member
224 u8 state; member
652 u8 state; member
776 enum hinic_port_state state);
779 enum hinic_func_port_state state);
786 int hinic_port_set_tso(struct hinic_dev *nic_dev, enum hinic_tso_state state);
/kernel/linux/linux-5.10/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c99 priv->can.state = CAN_STATE_ERROR_ACTIVE; in pucan_set_normal_mode()
111 priv->can.state = CAN_STATE_ERROR_ACTIVE; in pucan_set_listen_only_mode()
362 /* test state error bits according to their priority */ in pucan_handle_status()
365 priv->can.state = CAN_STATE_BUS_OFF; in pucan_handle_status()
373 priv->can.state = CAN_STATE_ERROR_PASSIVE; in pucan_handle_status()
386 priv->can.state = CAN_STATE_ERROR_WARNING; in pucan_handle_status()
397 } else if (priv->can.state != CAN_STATE_ERROR_ACTIVE) { in pucan_handle_status()
774 priv->can.state = CAN_STATE_STOPPED; in alloc_peak_canfd_dev()
/kernel/linux/linux-5.10/drivers/net/dsa/qca/
H A Dar9331.c359 struct phylink_link_state *state) in ar9331_sw_phylink_validate()
365 if (state->interface != PHY_INTERFACE_MODE_GMII) in ar9331_sw_phylink_validate()
376 if (state->interface != PHY_INTERFACE_MODE_INTERNAL) in ar9331_sw_phylink_validate()
396 bitmap_and(state->advertising, state->advertising, mask, in ar9331_sw_phylink_validate()
404 state->interface, port); in ar9331_sw_phylink_validate()
409 const struct phylink_link_state *state) in ar9331_sw_phylink_mac_config()
357 ar9331_sw_phylink_validate(struct dsa_switch *ds, int port, unsigned long *supported, struct phylink_link_state *state) ar9331_sw_phylink_validate() argument
407 ar9331_sw_phylink_mac_config(struct dsa_switch *ds, int port, unsigned int mode, const struct phylink_link_state *state) ar9331_sw_phylink_mac_config() argument
/kernel/linux/linux-6.6/arch/arc/kernel/
H A Dperf_event.c460 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in arc_pmu_start()
462 hwc->state = 0; in arc_pmu_start()
492 if (!(event->hw.state & PERF_HES_STOPPED)) { in arc_pmu_stop()
499 event->hw.state |= PERF_HES_STOPPED; in arc_pmu_stop()
503 !(event->hw.state & PERF_HES_UPTODATE)) { in arc_pmu_stop()
505 event->hw.state |= PERF_HES_UPTODATE; in arc_pmu_stop()
552 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in arc_pmu_add()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dintel_gt.c396 * register state on the GPU should reflect its defaults values. in __engines_record_defaults()
398 * over to a second context to save that default register state. We in __engines_record_defaults()
399 * can then prime every new context with that state so they all start in __engines_record_defaults()
455 struct file *state; in __engines_record_defaults() local
467 if (!rq->context->state) in __engines_record_defaults()
470 /* Keep a copy of the state's backing pages; free the obj */ in __engines_record_defaults()
471 state = shmem_create_from_object(rq->context->state->obj); in __engines_record_defaults()
472 if (IS_ERR(state)) { in __engines_record_defaults()
473 err = PTR_ERR(state); in __engines_record_defaults()
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-roccat-kone.c478 unsigned long state; in kone_sysfs_set_tcu() local
484 retval = kstrtoul(buf, 10, &state); in kone_sysfs_set_tcu()
488 if (state != 0 && state != 1) in kone_sysfs_set_tcu()
493 if (state == 1) { /* state activate */ in kone_sysfs_set_tcu()
524 /* only write settings back if activation state is different */ in kone_sysfs_set_tcu()
525 if (kone->settings.tcu != state) { in kone_sysfs_set_tcu()
526 kone->settings.tcu = state; in kone_sysfs_set_tcu()
531 dev_err(&usb_dev->dev, "couldn't set tcu state\ in kone_sysfs_set_tcu()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
H A Dusnic_ib_qp_grp.c49 const char *usnic_ib_qp_grp_state_to_string(enum ib_qp_state state) in usnic_ib_qp_grp_state_to_string() argument
51 switch (state) { in usnic_ib_qp_grp_state_to_string()
87 qp_grp->state), in usnic_ib_qp_grp_dump_rows()
400 old_state = qp_grp->state; in usnic_ib_qp_grp_modify()
451 * Doesn't make sense to go into INIT state in usnic_ib_qp_grp_modify()
452 * from INIT state w/o adding filters. in usnic_ib_qp_grp_modify()
517 qp_grp->state = new_state; in usnic_ib_qp_grp_modify()
709 qp_grp->state = IB_QPS_RESET; in usnic_ib_qp_grp_create()
744 WARN_ON(qp_grp->state != IB_QPS_RESET); in usnic_ib_qp_grp_destroy()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
H A Discsi_iser.c179 * state mutex to avoid dereferencing the IB device which
196 if (unlikely(iser_conn->state != ISER_CONN_UP)) { in iser_initialize_task_headers()
454 * state is not UP (teardown already started).
482 if (iser_conn->state != ISER_CONN_UP) { in iscsi_iser_conn_bind()
484 iser_err("iser_conn %p state is %d, teardown started\n", in iscsi_iser_conn_bind()
485 iser_conn, iser_conn->state); in iscsi_iser_conn_bind()
535 * handle, so we call it under iser the state lock to protect against
638 if (iser_conn->state != ISER_CONN_UP) { in iscsi_iser_session_create()
843 * or more likely iser connection state transitioned to TEMINATING or
857 if (iser_conn->state in iscsi_iser_ep_poll()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dtransobj.c150 int mlx5_core_query_sq_state(struct mlx5_core_dev *dev, u32 sqn, u8 *state) in mlx5_core_query_sq_state() argument
167 *state = MLX5_GET(sqc, sqc, state); in mlx5_core_query_sq_state()
284 MLX5_SET(rqc, rqc, state, MLX5_RQC_STATE_RST); in mlx5_hairpin_create_rq()
303 MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST); in mlx5_hairpin_create_sq()
366 MLX5_SET(rqc, rqc, state, next_state); in mlx5_hairpin_modify_rq()
386 MLX5_SET(sqc, sqc, state, next_state); in mlx5_hairpin_modify_sq()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
H A Drx.c81 ps = le32_to_cpu(rsp->psm.state); in carl9170_handle_ps()
84 if (ar->ps.state != new_ps) { in carl9170_handle_ps()
92 ar->ps.state = new_ps; in carl9170_handle_ps()
264 bool state = !!(cmd->gpio.gpio & cpu_to_le32( in carl9170_handle_command_response() local
267 if (state != ar->wps.pbc_state) { in carl9170_handle_command_response()
268 ar->wps.pbc_state = state; in carl9170_handle_command_response()
270 state); in carl9170_handle_command_response()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtt.c543 2400, /* cooling state 0 */
544 2000, /* cooling state 1 */
545 1800, /* cooling state 2 */
546 1600, /* cooling state 3 */
547 1400, /* cooling state 4 */
548 1200, /* cooling state 5 */
549 1000, /* cooling state 6 */
550 900, /* cooling state 7 */
551 800, /* cooling state 8 */
552 700, /* cooling state
566 iwl_mvm_ctdp_command(struct iwl_mvm *mvm, u32 op, u32 state) iwl_mvm_ctdp_command() argument
832 iwl_mvm_tcool_get_max_state(struct thermal_cooling_device *cdev, unsigned long *state) iwl_mvm_tcool_get_max_state() argument
840 iwl_mvm_tcool_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) iwl_mvm_tcool_get_cur_state() argument
[all...]
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Duartlite.c125 struct tty_port *tport = &port->state->port; in ulite_receive()
175 struct circ_buf *xmit = &port->state->xmit; in ulite_transmit()
218 tty_flip_buffer_push(&port->state->port); in ulite_isr()
390 static void ulite_pm(struct uart_port *port, unsigned int state, in ulite_pm() argument
395 if (!state) in ulite_pm()
498 /* restore interrupt state */ in ulite_console_write()
782 if (!ulite_uart_driver.state) { in ulite_probe()
834 if (ulite_uart_driver.state) in ulite_exit()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-trace.h212 __field(int, state)
223 __entry->state = vdev->udev->state;
229 TP_printk("vdev %p ctx %llx | %llx num %d state %d speed %d port %d level %d slot %d",
231 __entry->devnum, __entry->state, __entry->speed,
370 __field(u32, state)
377 __entry->state = le32_to_cpu(ctx->dev_state);
381 __entry->tt_info, __entry->state)
/kernel/linux/linux-5.10/net/rxrpc/
H A Dcall_object.c54 if (call->state < RXRPC_CALL_COMPLETE) { in rxrpc_call_timer_expired()
207 call->state = RXRPC_CALL_CLIENT_AWAIT_CONN; in rxrpc_alloc_client_call()
417 call->state = RXRPC_CALL_SERVER_SECURING; in rxrpc_incoming_call()
540 ASSERTCMP(call->state, ==, RXRPC_CALL_COMPLETE); in rxrpc_release_call()
635 ASSERTCMP(call->state, ==, RXRPC_CALL_COMPLETE); in rxrpc_put_call()
691 ASSERTCMP(call->state, ==, RXRPC_CALL_COMPLETE); in rxrpc_cleanup_call()
724 rxrpc_call_states[call->state], in rxrpc_destroy_all_calls()
/kernel/linux/linux-5.10/include/linux/usb/
H A Dhcd.h105 * hardware info/state
162 * do not manage the PHY state in the HCD core, instead let the driver
192 * the addressed state.
208 int state; member
219 #define HC_IS_RUNNING(state) ((state) & __ACTIVE)
220 #define HC_IS_SUSPENDED(state) ((state) & __SUSPEND)
295 /* manage i/o requests, device state */
318 /* (optional) reset any endpoint state suc
[all...]

Completed in 33 milliseconds

1...<<331332333334335336337338339340>>...834