Searched refs:cur_state (Results 1 - 44 of 44) sorted by relevance

/linux-4.1.27/drivers/thermal/
H A Dstep_wise.c54 unsigned long cur_state; get_target_state() local
62 cdev->ops->get_cur_state(cdev, &cur_state); get_target_state()
64 dev_dbg(&cdev->device, "cur_state=%ld\n", cur_state); get_target_state()
68 next_target = (cur_state + 1) >= instance->upper ? get_target_state()
70 ((cur_state + 1) < instance->lower ? get_target_state()
71 instance->lower : (cur_state + 1)); get_target_state()
82 next_target = cur_state < instance->upper ? get_target_state()
83 (cur_state + 1) : instance->upper; get_target_state()
93 if (cur_state <= instance->lower) { get_target_state()
97 next_target = cur_state - 1; get_target_state()
103 if (cur_state == instance->lower) { get_target_state()
H A Dthermal_core.c909 static DEVICE_ATTR(cur_state, 0644,
/linux-4.1.27/fs/gfs2/
H A Dtrace_gfs2.h99 __field( u8, cur_state )
110 __entry->cur_state = glock_trace_state(gl->gl_state);
120 glock_trace_name(__entry->cur_state),
138 __field( u8, cur_state )
146 __entry->cur_state = glock_trace_state(gl->gl_state);
153 glock_trace_name(__entry->cur_state),
170 __field( u8, cur_state )
180 __entry->cur_state = glock_trace_state(gl->gl_state);
189 glock_trace_name(__entry->cur_state),
H A Drgrp.c91 unsigned char *byte1, *byte2, *end, cur_state; gfs2_setbit() local
101 cur_state = (*byte1 >> bit) & GFS2_BIT_MASK; gfs2_setbit()
103 if (unlikely(!valid_change[new_state * 4 + cur_state])) { gfs2_setbit()
105 rbm->offset, cur_state, new_state); gfs2_setbit()
114 *byte1 ^= (cur_state ^ new_state) << bit; gfs2_setbit()
118 cur_state = (*byte2 >> bit) & GFS2_BIT_MASK; gfs2_setbit()
119 *byte2 ^= (cur_state ^ new_state) << bit; gfs2_setbit()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Dqp.c88 enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, __mlx4_qp_modify()
140 if (cur_state >= MLX4_QP_NUM_STATE || new_state >= MLX4_QP_NUM_STATE || __mlx4_qp_modify()
141 !op[cur_state][new_state]) __mlx4_qp_modify()
144 if (op[cur_state][new_state] == MLX4_CMD_2RST_QP) { __mlx4_qp_modify()
147 if (mlx4_is_master(dev) && cur_state != MLX4_QP_STATE_ERR && __mlx4_qp_modify()
148 cur_state != MLX4_QP_STATE_RST && __mlx4_qp_modify()
163 if (cur_state == MLX4_QP_STATE_RST && new_state == MLX4_QP_STATE_INIT) { __mlx4_qp_modify()
179 op[cur_state][new_state], MLX4_CMD_TIME_CLASS_C, native); __mlx4_qp_modify()
183 if (cur_state != MLX4_QP_STATE_ERR && __mlx4_qp_modify()
184 cur_state != MLX4_QP_STATE_RST && __mlx4_qp_modify()
203 enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, mlx4_qp_modify()
208 return __mlx4_qp_modify(dev, mtt, cur_state, new_state, context, mlx4_qp_modify()
87 __mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, struct mlx4_qp_context *context, enum mlx4_qp_optpar optpar, int sqd_event, struct mlx4_qp *qp, int native) __mlx4_qp_modify() argument
202 mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, struct mlx4_qp_context *context, enum mlx4_qp_optpar optpar, int sqd_event, struct mlx4_qp *qp) mlx4_qp_modify() argument
H A Deq.c334 enum slave_port_state cur_state = set_and_calc_slave_port_state() local
349 switch (cur_state) { set_and_calc_slave_port_state()
/linux-4.1.27/drivers/infiniband/hw/usnic/
H A Dusnic_ib_main.c105 enum ib_qp_state cur_state; usnic_ib_qp_grp_modify_active_to_err() local
112 cur_state = qp_grp->state; usnic_ib_qp_grp_modify_active_to_err()
113 if (cur_state == IB_QPS_INIT || usnic_ib_qp_grp_modify_active_to_err()
114 cur_state == IB_QPS_RTR || usnic_ib_qp_grp_modify_active_to_err()
115 cur_state == IB_QPS_RTS) { usnic_ib_qp_grp_modify_active_to_err()
123 (cur_state), usnic_ib_qp_grp_modify_active_to_err()
/linux-4.1.27/kernel/bpf/
H A Dverifier.c198 struct verifier_state cur_state; /* current verifier state */ member in struct:verifier_env
247 t = env->cur_state.regs[i].type; print_verifier_state()
252 verbose("%d", env->cur_state.regs[i].imm); print_verifier_state()
256 env->cur_state.regs[i].map_ptr->key_size, print_verifier_state()
257 env->cur_state.regs[i].map_ptr->value_size); print_verifier_state()
260 if (env->cur_state.stack_slot_type[i] == STACK_SPILL) print_verifier_state()
262 reg_type_str[env->cur_state.spilled_regs[i / BPF_REG_SIZE].type]); print_verifier_state()
420 memcpy(&env->cur_state, &env->head->st, sizeof(env->cur_state)); pop_stack()
440 memcpy(&elem->st, &env->cur_state, sizeof(env->cur_state)); push_stack()
616 struct bpf_map *map = env->cur_state.regs[regno].map_ptr; check_map_access()
648 struct verifier_state *state = &env->cur_state; check_mem_access()
689 struct reg_state *regs = env->cur_state.regs; check_xadd()
726 struct verifier_state *state = &env->cur_state; check_stack_boundary()
754 struct reg_state *reg = env->cur_state.regs + regno; check_func_arg()
838 struct verifier_state *state = &env->cur_state; check_call()
1055 struct reg_state *regs = env->cur_state.regs; check_cond_jmp_op()
1162 struct reg_state *regs = env->cur_state.regs; check_ld_imm()
1219 struct reg_state *regs = env->cur_state.regs; check_ld_abs()
1548 if (states_equal(&sl->state, &env->cur_state)) is_state_visited()
1567 memcpy(&new_sl->state, &env->cur_state, sizeof(env->cur_state)); is_state_visited()
1575 struct verifier_state *state = &env->cur_state; do_check()
/linux-4.1.27/tools/thermal/tmon/
H A Dsysfs.c108 sysfs_get_ulong(path, "cur_state", &cdi->cur_state); probe_cdev()
112 cdi->type, cdi->max_state, cdi->cur_state, cdi->instance); probe_cdev()
522 val = ptdata.cdi[i].cur_state; update_thermal_data()
560 sysfs_set_ulong(ctrl_cdev_path, "cur_state", set_ctrl_state()
589 sysfs_get_ulong(ctrl_cdev_path, "cur_state", state); get_ctrl_state()
H A Dtmon.h60 unsigned long cur_state; member in struct:cdev_info
H A Dtui.c228 ptdata.cdi[j].cur_state, show_cooling_device()
440 sysfs_set_ulong(path, "cur_state", val); handle_input_val()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
H A Dqp.c275 int mlx5_core_qp_modify(struct mlx5_core_dev *dev, enum mlx5_qp_state cur_state, mlx5_core_qp_modify() argument
321 if (cur_state >= MLX5_QP_NUM_STATE || new_state >= MLX5_QP_NUM_STATE || mlx5_core_qp_modify()
322 !optab[cur_state][new_state]) mlx5_core_qp_modify()
326 op = optab[cur_state][new_state]; mlx5_core_qp_modify()
/linux-4.1.27/security/selinux/ss/
H A Dconditional.h56 int cur_state; member in struct:cond_node
H A Dconditional.c95 if (new_state != node->cur_state) { evaluate_cond_node()
96 node->cur_state = new_state; evaluate_cond_node()
409 node->cur_state = le32_to_cpu(buf[0]); cond_read_node()
561 buf[0] = cpu_to_le32(node->cur_state); cond_write_node()
/linux-4.1.27/drivers/infiniband/core/
H A Dverbs.c829 int ib_modify_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state next_state, ib_modify_qp_is_ok() argument
835 if (cur_state < 0 || cur_state > IB_QPS_ERR || ib_modify_qp_is_ok()
840 cur_state != IB_QPS_RTR && cur_state != IB_QPS_RTS && ib_modify_qp_is_ok()
841 cur_state != IB_QPS_SQD && cur_state != IB_QPS_SQE) ib_modify_qp_is_ok()
844 if (!qp_state_table[cur_state][next_state].valid) ib_modify_qp_is_ok()
847 req_param = qp_state_table[cur_state][next_state].req_param[type]; ib_modify_qp_is_ok()
848 opt_param = qp_state_table[cur_state][next_state].opt_param[type]; ib_modify_qp_is_ok()
851 req_param |= qp_state_table[cur_state][next_state]. ib_modify_qp_is_ok()
853 opt_param |= qp_state_table[cur_state][next_state]. ib_modify_qp_is_ok()
/linux-4.1.27/drivers/acpi/
H A Dprocessor_thermal.c221 unsigned long *cur_state) processor_get_cur_state()
233 *cur_state = cpufreq_get_cur_state(pr->id); processor_get_cur_state()
235 *cur_state += pr->throttling.state; processor_get_cur_state()
220 processor_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *cur_state) processor_get_cur_state() argument
H A Dpower.c198 int cur_state; acpi_power_get_list_state() local
210 result = acpi_power_get_state(handle, &cur_state); list_for_each_entry()
215 if (cur_state != ACPI_POWER_RESOURCE_STATE_ON) list_for_each_entry()
220 cur_state ? "on" : "off"));
222 *state = cur_state;
/linux-4.1.27/drivers/infiniband/hw/mlx4/
H A Dqp.c1448 enum ib_qp_state cur_state, enum ib_qp_state new_state) __mlx4_ib_modify_qp()
1518 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { __mlx4_ib_modify_qp()
1534 if (cur_state == IB_QPS_SQD && new_state == IB_QPS_SQD && __mlx4_ib_modify_qp()
1541 if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) { __mlx4_ib_modify_qp()
1673 if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) __mlx4_ib_modify_qp()
1676 if (cur_state == IB_QPS_INIT && __mlx4_ib_modify_qp()
1734 if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD && __mlx4_ib_modify_qp()
1740 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) __mlx4_ib_modify_qp()
1749 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { __mlx4_ib_modify_qp()
1763 err = mlx4_qp_modify(dev->dev, &qp->mtt, to_mlx4_state(cur_state), __mlx4_ib_modify_qp()
1790 if (cur_state != IB_QPS_RTR && new_state == IB_QPS_RTR) __mlx4_ib_modify_qp()
1795 if (cur_state != IB_QPS_RESET && cur_state != IB_QPS_ERR && __mlx4_ib_modify_qp()
1921 enum ib_qp_state cur_state, new_state; mlx4_ib_modify_qp() local
1926 cur_state = attr_mask & IB_QP_CUR_STATE ? attr->cur_qp_state : qp->state; mlx4_ib_modify_qp()
1927 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; mlx4_ib_modify_qp()
1929 if (cur_state == new_state && cur_state == IB_QPS_RESET) { mlx4_ib_modify_qp()
1936 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, mlx4_ib_modify_qp()
1941 ibqp->qp_num, cur_state, new_state, mlx4_ib_modify_qp()
1947 if ((cur_state == IB_QPS_RESET) && (new_state == IB_QPS_INIT)) { mlx4_ib_modify_qp()
1966 ibqp->qp_num, attr->port_num, cur_state, mlx4_ib_modify_qp()
1981 ibqp->qp_num, attr->pkey_index, cur_state, mlx4_ib_modify_qp()
1991 ibqp->qp_num, attr->max_rd_atomic, cur_state, mlx4_ib_modify_qp()
2000 ibqp->qp_num, attr->max_dest_rd_atomic, cur_state, mlx4_ib_modify_qp()
2005 if (cur_state == new_state && cur_state == IB_QPS_RESET) { mlx4_ib_modify_qp()
2010 err = __mlx4_ib_modify_qp(ibqp, attr, attr_mask, cur_state, new_state); mlx4_ib_modify_qp()
1446 __mlx4_ib_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) __mlx4_ib_modify_qp() argument
/linux-4.1.27/net/netfilter/
H A Dnf_conntrack_proto_sctp.c237 enum sctp_conntrack cur_state, sctp_new_state()
285 sctp_conntrack_names[cur_state]); sctp_new_state()
286 return cur_state; sctp_new_state()
289 pr_debug("dir: %d cur_state: %s chunk_type: %d new_state: %s\n", sctp_new_state()
290 dir, sctp_conntrack_names[cur_state], chunk_type, sctp_new_state()
291 sctp_conntrack_names[sctp_conntracks[dir][i][cur_state]]); sctp_new_state()
293 return sctp_conntracks[dir][i][cur_state]; sctp_new_state()
236 sctp_new_state(enum ip_conntrack_dir dir, enum sctp_conntrack cur_state, int chunk_type) sctp_new_state() argument
/linux-4.1.27/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c545 enum ib_qp_state cur_state, enum ib_qp_state new_state) __mthca_modify_qp()
652 cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) { __mthca_modify_qp()
772 if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD && __mthca_modify_qp()
777 err = mthca_MODIFY_QP(dev, cur_state, new_state, qp->qpn, 0, __mthca_modify_qp()
781 cur_state, new_state, err); __mthca_modify_qp()
803 if (cur_state != IB_QPS_RTR && __mthca_modify_qp()
807 if (cur_state != IB_QPS_RESET && __mthca_modify_qp()
808 cur_state != IB_QPS_ERR && __mthca_modify_qp()
847 enum ib_qp_state cur_state, new_state; mthca_modify_qp() local
852 cur_state = attr->cur_qp_state; mthca_modify_qp()
856 cur_state = qp->state; mthca_modify_qp()
861 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; mthca_modify_qp()
863 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, attr_mask, mthca_modify_qp()
867 qp->transport, cur_state, new_state, mthca_modify_qp()
899 if (cur_state == new_state && cur_state == IB_QPS_RESET) { mthca_modify_qp()
904 err = __mthca_modify_qp(ibqp, attr, attr_mask, cur_state, new_state); mthca_modify_qp()
543 __mthca_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) __mthca_modify_qp() argument
/linux-4.1.27/drivers/spi/
H A Dspi-qup.c168 u32 cur_state; spi_qup_set_state() local
183 cur_state = readl_relaxed(controller->base + QUP_STATE); spi_qup_set_state()
188 if (((cur_state & QUP_STATE_MASK) == QUP_STATE_PAUSE) && spi_qup_set_state()
193 cur_state &= ~QUP_STATE_MASK; spi_qup_set_state()
194 cur_state |= state; spi_qup_set_state()
195 writel_relaxed(cur_state, controller->base + QUP_STATE); spi_qup_set_state()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
H A Dqp.c1567 enum ib_qp_state cur_state, enum ib_qp_state new_state) __mlx5_ib_modify_qp()
1698 if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) __mlx5_ib_modify_qp()
1701 if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD && __mlx5_ib_modify_qp()
1707 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) __mlx5_ib_modify_qp()
1711 mlx5_cur = to_mlx5_state(cur_state); __mlx5_ib_modify_qp()
1722 if (cur_state != IB_QPS_RESET && cur_state != IB_QPS_ERR && __mlx5_ib_modify_qp()
1729 err = mlx5_core_qp_modify(dev->mdev, to_mlx5_state(cur_state), __mlx5_ib_modify_qp()
1735 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) __mlx5_ib_modify_qp()
1779 enum ib_qp_state cur_state, new_state; mlx5_ib_modify_qp() local
1787 cur_state = attr_mask & IB_QP_CUR_STATE ? attr->cur_qp_state : qp->state; mlx5_ib_modify_qp()
1788 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; mlx5_ib_modify_qp()
1791 !ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, attr_mask, mlx5_ib_modify_qp()
1813 if (cur_state == new_state && cur_state == IB_QPS_RESET) { mlx5_ib_modify_qp()
1818 err = __mlx5_ib_modify_qp(ibqp, attr, attr_mask, cur_state, new_state); mlx5_ib_modify_qp()
1565 __mlx5_ib_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) __mlx5_ib_modify_qp() argument
/linux-4.1.27/drivers/platform/x86/
H A Dacerhdf.c528 int cur_temp, cur_state, err = 0; acerhdf_set_cur_state() local
539 err = acerhdf_get_fanstate(&cur_state); acerhdf_set_cur_state()
546 if (cur_state == ACERHDF_FAN_AUTO) acerhdf_set_cur_state()
549 if (cur_state == ACERHDF_FAN_OFF) acerhdf_set_cur_state()
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_qp.c574 enum ib_qp_state cur_state, new_state; qib_modify_qp() local
584 cur_state = attr_mask & IB_QP_CUR_STATE ? qib_modify_qp()
586 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; qib_modify_qp()
588 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, qib_modify_qp()
828 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) qib_modify_qp()
/linux-4.1.27/sound/drivers/vx/
H A Dvx_pcm.c336 int err, i, cur_state; vx_toggle_pipe() local
339 if (vx_get_pipe_state(chip, pipe, &cur_state) < 0) vx_toggle_pipe()
341 if (state == cur_state) vx_toggle_pipe()
371 err = vx_get_pipe_state(chip, pipe, &cur_state); vx_toggle_pipe()
372 if (err < 0 || cur_state == state) vx_toggle_pipe()
/linux-4.1.27/drivers/net/can/usb/
H A Dkvaser_usb.c826 enum can_state cur_state, new_state, tx_state, rx_state; kvaser_usb_rx_error_update_can_state() local
830 new_state = cur_state = priv->can.state; kvaser_usb_rx_error_update_can_state()
838 if (cur_state < CAN_STATE_BUS_OFF) { kvaser_usb_rx_error_update_can_state()
843 else if (cur_state > CAN_STATE_ERROR_ACTIVE) kvaser_usb_rx_error_update_can_state()
851 if (new_state != cur_state) { kvaser_usb_rx_error_update_can_state()
859 (cur_state >= CAN_STATE_BUS_OFF) && kvaser_usb_rx_error_update_can_state()
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_qp.c455 enum ib_qp_state cur_state, new_state; ipath_modify_qp() local
461 cur_state = attr_mask & IB_QP_CUR_STATE ? ipath_modify_qp()
463 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; ipath_modify_qp()
465 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, ipath_modify_qp()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgk20a.c47 int cur_state; member in struct:gk20a_pmu_dvfs_dev_status
/linux-4.1.27/drivers/video/fbdev/i810/
H A Di810.h282 u32 cur_state; member in struct:i810fb_par
H A Di810_main.c1568 par->cur_state = mesg.event; i810fb_suspend()
1599 int cur_state = par->cur_state; i810fb_resume() local
1601 par->cur_state = PM_EVENT_ON; i810fb_resume()
1603 if (cur_state == PM_EVENT_FREEZE) { i810fb_resume()
/linux-4.1.27/include/linux/mlx4/
H A Dqp.h457 enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state,
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_display.c1098 bool cur_state; assert_pll() local
1102 cur_state = !!(val & DPLL_VCO_ENABLE); assert_pll()
1103 I915_STATE_WARN(cur_state != state, assert_pll()
1105 state_string(state), state_string(cur_state)); assert_pll()
1112 bool cur_state; assert_dsi_pll() local
1118 cur_state = val & DSI_PLL_VCO_EN; assert_dsi_pll()
1119 I915_STATE_WARN(cur_state != state, assert_dsi_pll()
1121 state_string(state), state_string(cur_state)); assert_dsi_pll()
1142 bool cur_state; assert_shared_dpll() local
1149 cur_state = pll->get_hw_state(dev_priv, pll, &hw_state); assert_shared_dpll()
1150 I915_STATE_WARN(cur_state != state, assert_shared_dpll()
1152 pll->name, state_string(state), state_string(cur_state)); assert_shared_dpll()
1160 bool cur_state; assert_fdi_tx() local
1168 cur_state = !!(val & TRANS_DDI_FUNC_ENABLE); assert_fdi_tx()
1172 cur_state = !!(val & FDI_TX_ENABLE); assert_fdi_tx()
1174 I915_STATE_WARN(cur_state != state, assert_fdi_tx()
1176 state_string(state), state_string(cur_state)); assert_fdi_tx()
1186 bool cur_state; assert_fdi_rx() local
1190 cur_state = !!(val & FDI_RX_ENABLE); assert_fdi_rx()
1191 I915_STATE_WARN(cur_state != state, assert_fdi_rx()
1193 state_string(state), state_string(cur_state)); assert_fdi_rx()
1222 bool cur_state; assert_fdi_rx_pll() local
1226 cur_state = !!(val & FDI_RX_PLL_ENABLE); assert_fdi_rx_pll()
1227 I915_STATE_WARN(cur_state != state, assert_fdi_rx_pll()
1229 state_string(state), state_string(cur_state)); assert_fdi_rx_pll()
1278 bool cur_state; assert_cursor() local
1281 cur_state = I915_READ(_CURACNTR) & CURSOR_ENABLE; assert_cursor()
1283 cur_state = I915_READ(CURCNTR(pipe)) & CURSOR_MODE; assert_cursor()
1285 I915_STATE_WARN(cur_state != state, assert_cursor()
1287 pipe_name(pipe), state_string(state), state_string(cur_state)); assert_cursor()
1297 bool cur_state; assert_pipe() local
1308 cur_state = false; assert_pipe()
1312 cur_state = !!(val & PIPECONF_ENABLE); assert_pipe()
1315 I915_STATE_WARN(cur_state != state, assert_pipe()
1317 pipe_name(pipe), state_string(state), state_string(cur_state)); assert_pipe()
1325 bool cur_state; assert_plane() local
1329 cur_state = !!(val & DISPLAY_PLANE_ENABLE); assert_plane()
1330 I915_STATE_WARN(cur_state != state, assert_plane()
1332 plane_name(plane), state_string(state), state_string(cur_state)); assert_plane()
/linux-4.1.27/drivers/net/phy/
H A Damd-xgbe-phy.c1055 enum amd_xgbe_phy_an cur_state = priv->an_state; amd_xgbe_an_state_machine() local
1090 cur_state = priv->an_state; amd_xgbe_an_state_machine()
1128 cur_state); amd_xgbe_an_state_machine()
1142 if (cur_state != priv->an_state) amd_xgbe_an_state_machine()
/linux-4.1.27/drivers/scsi/csiostor/
H A Dt4fw_api_stor.h120 u8 cur_state; member in struct:fw_rdev_wr
/linux-4.1.27/include/linux/mlx5/
H A Dqp.h598 int mlx5_core_qp_modify(struct mlx5_core_dev *dev, enum mlx5_qp_state cur_state,
/linux-4.1.27/drivers/media/rc/
H A Dnuvoton-cir.c756 u8 status, iren, cur_state; nvt_cir_isr() local
812 cur_state = nvt->study_state; nvt_cir_isr()
816 if (cur_state == ST_STUDY_NONE) nvt_cir_isr()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_nportdisc.c2533 uint32_t cur_state, rc; lpfc_disc_state_machine() local
2541 cur_state = ndlp->nlp_state; lpfc_disc_state_machine()
2543 /* DSM in event <evt> on NPort <nlp_DID> in state <cur_state> */ lpfc_disc_state_machine()
2547 evt, ndlp->nlp_DID, cur_state, ndlp->nlp_flag); lpfc_disc_state_machine()
2551 evt, cur_state, ndlp->nlp_DID); lpfc_disc_state_machine()
2553 func = lpfc_disc_action[(cur_state * NLP_EVT_MAX_EVENT) + evt]; lpfc_disc_state_machine()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c1349 SVGA3dTextureState *cur_state = (SVGA3dTextureState *) vmw_cmd_tex_state() local
1364 for (; cur_state < last_state; ++cur_state) { vmw_cmd_tex_state()
1365 if (likely(cur_state->name != SVGA3D_TS_BIND_TEXTURE)) vmw_cmd_tex_state()
1370 &cur_state->value, &res_node); vmw_cmd_tex_state()
1380 bi.i1.texture_stage = cur_state->stage; vmw_cmd_tex_state()
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c3350 u32 cur_state; megasas_transition_to_ready() local
3368 cur_state = MFI_STATE_FAULT; megasas_transition_to_ready()
3399 cur_state = MFI_STATE_WAIT_HANDSHAKE; megasas_transition_to_ready()
3422 cur_state = MFI_STATE_BOOT_MESSAGE_PENDING; megasas_transition_to_ready()
3467 cur_state = MFI_STATE_OPERATIONAL; megasas_transition_to_ready()
3475 cur_state = MFI_STATE_UNDEFINED; megasas_transition_to_ready()
3480 cur_state = MFI_STATE_BB_INIT; megasas_transition_to_ready()
3485 cur_state = MFI_STATE_FW_INIT; megasas_transition_to_ready()
3490 cur_state = MFI_STATE_FW_INIT_2; megasas_transition_to_ready()
3495 cur_state = MFI_STATE_DEVICE_SCAN; megasas_transition_to_ready()
3500 cur_state = MFI_STATE_FLUSH_CACHE; megasas_transition_to_ready()
3510 * The cur_state should not last for more than max_wait secs megasas_transition_to_ready()
/linux-4.1.27/include/rdma/
H A Dib_verbs.h1717 * @cur_state: Current QP state
1725 * checks that cur_state and next_state are valid QP states, that a
1726 * transition from cur_state to next_state is allowed by the IB spec,
1729 int ib_modify_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state next_state,
/linux-4.1.27/drivers/block/
H A Dsx8.c1036 int cur_state, int next_state) carm_handle_generic()
1042 assert(host->state == cur_state); carm_handle_generic()
1034 carm_handle_generic(struct carm_host *host, struct carm_request *crq, int error, int cur_state, int next_state) carm_handle_generic() argument
/linux-4.1.27/drivers/video/fbdev/savage/
H A Dsavagefb_driver.c2408 int cur_state = par->pm_state; savagefb_resume() local
2418 if (cur_state == PM_EVENT_FREEZE) { savagefb_resume()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
H A Dc2_qp.c246 pr_debug("%s:%d qp=%p, cur_state=%s\n", c2_qp_modify()
/linux-4.1.27/drivers/infiniband/hw/ehca/
H A Dehca_qp.c1335 "Invalid qp transition new_state=%x cur_state=%x " internal_modify_qp()

Completed in 1370 milliseconds