Searched refs:cur_state (Results 76 - 98 of 98) sorted by relevance

1234

/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dvcn_v1_0.c241 (adev->vcn.cur_state != AMD_PG_STATE_GATE &&
1775 if (state == adev->vcn.cur_state)
1784 adev->vcn.cur_state = state;
H A Dvcn_v3_0.c391 (adev->vcn.cur_state != AMD_PG_STATE_GATE &&
2133 adev->vcn.cur_state = AMD_PG_STATE_UNGATE;
2137 if (state == adev->vcn.cur_state)
2146 adev->vcn.cur_state = state;
H A Dvcn_v4_0.c319 (adev->vcn.cur_state != AMD_PG_STATE_GATE &&
2003 adev->vcn.cur_state = AMD_PG_STATE_UNGATE;
2007 if (state == adev->vcn.cur_state)
2016 adev->vcn.cur_state = state;
H A Dvcn_v5_0_0.c1215 if (state == adev->vcn.cur_state)
1224 adev->vcn.cur_state = state;
H A Dvcn_v2_5.c355 (adev->vcn.cur_state != AMD_PG_STATE_GATE &&
1792 if(state == adev->vcn.cur_state)
1801 adev->vcn.cur_state = state;
/linux-master/tools/thermal/tmon/
H A Dtui.c219 ptdata.cdi[j].cur_state,
431 sysfs_set_ulong(path, "cur_state", val);
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_dpll.c2313 bool cur_state; local
2315 cur_state = intel_de_read(dev_priv, DPLL(pipe)) & DPLL_VCO_ENABLE;
2316 I915_STATE_WARN(dev_priv, cur_state != state,
2318 str_on_off(state), str_on_off(cur_state));
H A Dintel_display.c316 bool cur_state; local
328 cur_state = !!(val & TRANSCONF_ENABLE);
332 cur_state = false;
335 I915_STATE_WARN(dev_priv, cur_state != state,
338 str_on_off(cur_state));
345 bool cur_state; local
347 cur_state = plane->get_hw_state(plane, &pipe);
349 I915_STATE_WARN(i915, cur_state != state,
352 str_on_off(cur_state));
H A Dintel_dpll_mgr.c176 bool cur_state; local
183 cur_state = intel_dpll_get_hw_state(i915, pll, &hw_state);
184 I915_STATE_WARN(i915, cur_state != state,
187 str_on_off(cur_state));
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c4993 static bool check_qp_state(enum ib_qp_state cur_state, argument
5015 return sm[cur_state][new_state];
5021 enum ib_qp_state cur_state,
5030 if (!check_qp_state(cur_state, new_state)) {
5035 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
5038 } else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_INIT) {
5040 } else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) {
5043 } else if (cur_state == IB_QPS_RTR && new_state == IB_QPS_RTS) {
5244 int attr_mask, enum ib_qp_state cur_state,
5267 ret = hns_roce_v2_set_abs_fields(ibqp, attr, attr_mask, cur_state,
5018 hns_roce_v2_set_abs_fields(struct ib_qp *ibqp, const struct ib_qp_attr *attr, int attr_mask, enum ib_qp_state cur_state, enum ib_qp_state new_state, struct hns_roce_v2_qp_context *context, struct hns_roce_v2_qp_context *qpc_mask, struct ib_udata *udata) argument
5242 hns_roce_v2_modify_qp(struct ib_qp *ibqp, const struct ib_qp_attr *attr, int attr_mask, enum ib_qp_state cur_state, enum ib_qp_state new_state, struct ib_udata *udata) argument
[all...]
H A Dhns_roce_device.h942 int attr_mask, enum ib_qp_state cur_state,
/linux-master/drivers/infiniband/sw/rdmavt/
H A Dqp.c1407 enum ib_qp_state cur_state, new_state; local
1421 cur_state = attr_mask & IB_QP_CUR_STATE ?
1423 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
1426 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type,
1643 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT)
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_nportdisc.c3115 uint32_t cur_state, rc; local
3124 cur_state = ndlp->nlp_state;
3128 /* DSM in event <evt> on NPort <nlp_DID> in state <cur_state> */
3132 evt, ndlp->nlp_DID, cur_state, ndlp->nlp_rpi,
3137 evt, cur_state, ndlp->nlp_DID);
3139 func = lpfc_disc_action[(cur_state * NLP_EVT_MAX_EVENT) + evt];
/linux-master/drivers/infiniband/hw/qedr/
H A Dverbs.c2364 enum qed_roce_qp_state cur_state,
2369 if (new_state == cur_state)
2372 switch (cur_state) {
2473 enum qed_roce_qp_state cur_state; local
2701 cur_state = qp->state;
2718 rc = qedr_update_qp_state(dev, qp, cur_state,
2362 qedr_update_qp_state(struct qedr_dev *dev, struct qedr_qp *qp, enum qed_roce_qp_state cur_state, enum qed_roce_qp_state new_state) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_action.c582 u32 cur_state = *state; local
585 *state = next_action_state[action_domain][cur_state][action_type];
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Deq.c375 enum slave_port_state cur_state = local
390 switch (cur_state) {
/linux-master/drivers/slimbus/
H A Dqcom-ngd-ctrl.c1168 enum qcom_slim_ngd_state cur_state = ctrl->state; local
1199 if (cur_state == QCOM_SLIM_NGD_CTRL_AWAKE) {
/linux-master/drivers/thermal/
H A Dthermal_sysfs.c605 static DEVICE_ATTR_RW(cur_state);
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dfw.c1561 mvm->cooling_dev.cur_state);
H A Dmvm.h640 * @cur_state: current state
644 u32 cur_state; member in struct:iwl_mvm_cooling_device
/linux-master/drivers/gpu/drm/amd/pm/swsmu/
H A Damdgpu_smu.c2003 adev->vcn.cur_state = AMD_PG_STATE_GATE;
2004 adev->jpeg.cur_state = AMD_PG_STATE_GATE;
/linux-master/drivers/video/fbdev/savage/
H A Dsavagefb_driver.c2413 int cur_state = par->pm_state; local
2423 if (cur_state == PM_EVENT_FREEZE)
/linux-master/include/rdma/
H A Dib_verbs.h2984 * @cur_state: Current QP state
2991 * checks that cur_state and next_state are valid QP states, that a
2992 * transition from cur_state to next_state is allowed by the IB spec,
2995 bool ib_modify_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state next_state,

Completed in 525 milliseconds

1234