| /freebsd-14-stable/sys/dev/mlx4/mlx4_core/ |
| HD | mlx4_qp.c | 89 enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, in __mlx4_qp_modify() argument 141 if (cur_state >= MLX4_QP_NUM_STATE || new_state >= MLX4_QP_NUM_STATE || in __mlx4_qp_modify() 142 !op[cur_state][new_state]) in __mlx4_qp_modify() 145 if (op[cur_state][new_state] == MLX4_CMD_2RST_QP) { in __mlx4_qp_modify() 148 if (mlx4_is_master(dev) && cur_state != MLX4_QP_STATE_ERR && in __mlx4_qp_modify() 149 cur_state != MLX4_QP_STATE_RST && in __mlx4_qp_modify() 164 if (cur_state == MLX4_QP_STATE_RST && new_state == MLX4_QP_STATE_INIT) { in __mlx4_qp_modify() 171 if ((cur_state == MLX4_QP_STATE_RTR) && in __mlx4_qp_modify() 186 op[cur_state][new_state], MLX4_CMD_TIME_CLASS_C, native); in __mlx4_qp_modify() 190 if (cur_state != MLX4_QP_STATE_ERR && in __mlx4_qp_modify() [all …]
|
| HD | mlx4_eq.c | 370 enum slave_port_state cur_state = in set_and_calc_slave_port_state() local 385 switch (cur_state) { in set_and_calc_slave_port_state()
|
| /freebsd-14-stable/sys/dev/qcom_qup/ |
| HD | qcom_spi_hw.c | 152 uint32_t cur_state; in qcom_spi_hw_qup_set_state_locked() local 163 cur_state = QCOM_SPI_READ_4(sc, QUP_STATE); in qcom_spi_hw_qup_set_state_locked() 167 __func__, state, cur_state); in qcom_spi_hw_qup_set_state_locked() 174 && ((cur_state & QUP_STATE_MASK) == QUP_STATE_PAUSE)) { in qcom_spi_hw_qup_set_state_locked() 180 cur_state &= ~QUP_STATE_MASK; in qcom_spi_hw_qup_set_state_locked() 181 cur_state |= state; in qcom_spi_hw_qup_set_state_locked() 182 QCOM_SPI_WRITE_4(sc, QUP_STATE, cur_state); in qcom_spi_hw_qup_set_state_locked() 192 cur_state = QCOM_SPI_READ_4(sc, QUP_STATE); in qcom_spi_hw_qup_set_state_locked() 196 __func__, state, cur_state); in qcom_spi_hw_qup_set_state_locked()
|
| /freebsd-14-stable/sys/cam/scsi/ |
| HD | scsi_enc.c | 758 struct enc_fsm_state *cur_state; in enc_fsm_step() local 767 cur_state = &enc->enc_fsm_states[enc->current_action]; in enc_fsm_step() 770 if (cur_state->buf_size != 0) { in enc_fsm_step() 772 buf = malloc(cur_state->buf_size, M_SCSIENC, M_WAITOK|M_ZERO); in enc_fsm_step() 778 if (cur_state->fill != NULL) { in enc_fsm_step() 781 error = cur_state->fill(enc, cur_state, ccb, buf); in enc_fsm_step() 785 error = cam_periph_runccb(ccb, cur_state->error, in enc_fsm_step() 799 cur_state->done(enc, cur_state, ccb, &buf, error, xfer_len); in enc_fsm_step()
|
| HD | scsi_sa.c | 629 static void sapopulateprots(struct sa_prot_state *cur_state, 1201 sapopulateprots(struct sa_prot_state *cur_state, struct sa_prot_map *new_table, in sapopulateprots() argument 1212 new_table[i].value = (uint32_t *)((uint8_t *)cur_state + in sapopulateprots()
|
| /freebsd-14-stable/sys/dev/qlnx/qlnxe/ |
| HD | ecore_roce.c | 1137 qp->cur_state = ECORE_ROCE_QP_STATE_ERR; in ecore_roce_sp_query_responder() 1202 qp->cur_state = ECORE_ROCE_QP_STATE_ERR; in ecore_roce_sp_query_requester() 1231 out_params->state = qp->cur_state; in ecore_roce_query_qp() 1249 if ((qp->cur_state != ECORE_ROCE_QP_STATE_RESET) && in ecore_roce_destroy_qp() 1250 (qp->cur_state != ECORE_ROCE_QP_STATE_ERR) && in ecore_roce_destroy_qp() 1251 (qp->cur_state != ECORE_ROCE_QP_STATE_INIT)) in ecore_roce_destroy_qp() 1259 if (qp->cur_state != ECORE_ROCE_QP_STATE_RESET) { in ecore_roce_destroy_qp() 1397 (qp->cur_state == ECORE_ROCE_QP_STATE_RTR)) in ecore_roce_modify_qp() 1410 (qp->cur_state == ECORE_ROCE_QP_STATE_RTS)) in ecore_roce_modify_qp() 1423 (qp->cur_state == ECORE_ROCE_QP_STATE_RTS)) in ecore_roce_modify_qp() [all …]
|
| HD | ecore_rdma.h | 153 enum ecore_roce_qp_state cur_state; member
|
| HD | ecore_rdma.c | 1570 qp->cur_state = ECORE_ROCE_QP_STATE_RESET; in ecore_rdma_create_qp() 1750 prev_state = qp->cur_state; in ecore_rdma_modify_qp() 1754 qp->cur_state = params->new_state; in ecore_rdma_modify_qp() 1756 qp->cur_state); in ecore_rdma_modify_qp() 1771 ecore_roce2iwarp_state(qp->cur_state); in ecore_rdma_modify_qp()
|
| /freebsd-14-stable/sys/dev/mthca/ |
| HD | mthca_qp.c | 546 enum ib_qp_state cur_state, in __mthca_modify_qp() argument 656 cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) { in __mthca_modify_qp() 776 if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD && in __mthca_modify_qp() 781 err = mthca_MODIFY_QP(dev, cur_state, new_state, qp->qpn, 0, in __mthca_modify_qp() 785 cur_state, new_state, err); in __mthca_modify_qp() 807 if (cur_state != IB_QPS_RTR && in __mthca_modify_qp() 811 if (cur_state != IB_QPS_RESET && in __mthca_modify_qp() 812 cur_state != IB_QPS_ERR && in __mthca_modify_qp() 851 enum ib_qp_state cur_state, new_state; in mthca_modify_qp() local 856 cur_state = attr->cur_qp_state; in mthca_modify_qp() [all …]
|
| /freebsd-14-stable/sys/dev/mlx4/mlx4_ib/ |
| HD | mlx4_ib_qp.c | 1626 enum ib_qp_state cur_state, in __mlx4_ib_modify_qp() argument 1704 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in __mlx4_ib_modify_qp() 1722 if (cur_state == IB_QPS_SQD && new_state == IB_QPS_SQD && in __mlx4_ib_modify_qp() 1729 if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) { in __mlx4_ib_modify_qp() 1808 (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR)) { in __mlx4_ib_modify_qp() 1921 if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in __mlx4_ib_modify_qp() 1924 if (cur_state == IB_QPS_INIT && in __mlx4_ib_modify_qp() 1982 if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD && in __mlx4_ib_modify_qp() 1988 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in __mlx4_ib_modify_qp() 1997 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in __mlx4_ib_modify_qp() [all …]
|
| /freebsd-14-stable/sys/dev/axgbe/ |
| HD | xgbe-mdio.c | 729 enum xgbe_an cur_state = pdata->an_state; in xgbe_an37_state_machine() local 747 cur_state = pdata->an_state; in xgbe_an37_state_machine() 766 cur_state); in xgbe_an37_state_machine() 793 enum xgbe_an cur_state = pdata->an_state; in xgbe_an73_state_machine() local 816 cur_state = pdata->an_state; in xgbe_an73_state_machine() 854 cur_state); in xgbe_an73_state_machine() 874 if (cur_state != pdata->an_state) in xgbe_an73_state_machine()
|
| /freebsd-14-stable/sys/ofed/drivers/infiniband/core/ |
| HD | ib_verbs.c | 1247 bool ib_modify_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state next_state, in ib_modify_qp_is_ok() argument 1253 cur_state != IB_QPS_RTR && cur_state != IB_QPS_RTS && in ib_modify_qp_is_ok() 1254 cur_state != IB_QPS_SQD && cur_state != IB_QPS_SQE) in ib_modify_qp_is_ok() 1257 if (!qp_state_table[cur_state][next_state].valid) in ib_modify_qp_is_ok() 1260 req_param = qp_state_table[cur_state][next_state].req_param[type]; in ib_modify_qp_is_ok() 1261 opt_param = qp_state_table[cur_state][next_state].opt_param[type]; in ib_modify_qp_is_ok()
|
| /freebsd-14-stable/tests/sys/cddl/zfs/include/ |
| HD | libtest.kshlib | 1567 cur_state=$(get_device_state $pool $disk "spares") 1569 if [[ $state != ${cur_state} ]]; then 1588 cur_state=$(get_device_state $pool $disk "logs") 1590 if [[ $state != ${cur_state} ]]; then 1616 cur_state=$(get_device_state $pool $disk) 1618 if [[ $state != ${cur_state} ]]; then
|
| /freebsd-14-stable/sys/dev/mlx5/mlx5_ib/ |
| HD | mlx5_ib_qp.c | 2679 enum ib_qp_state cur_state, enum ib_qp_state new_state) in __mlx5_ib_modify_qp() argument 2859 if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in __mlx5_ib_modify_qp() 2862 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in __mlx5_ib_modify_qp() 2870 if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) in __mlx5_ib_modify_qp() 2876 mlx5_cur = to_mlx5_state(cur_state); in __mlx5_ib_modify_qp() 2887 if (cur_state != IB_QPS_RESET && cur_state != IB_QPS_ERR && in __mlx5_ib_modify_qp() 2904 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) { in __mlx5_ib_modify_qp() 2917 if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT && in __mlx5_ib_modify_qp() 2963 enum ib_qp_state cur_state, new_state; in mlx5_ib_modify_qp() local 2978 cur_state = attr_mask & IB_QP_CUR_STATE ? attr->cur_qp_state : qp->state; in mlx5_ib_modify_qp() [all …]
|
| /freebsd-14-stable/sys/contrib/dev/iwlwifi/mvm/ |
| HD | tt.c | 534 mvm->cooling_dev.cur_state = state; in iwl_mvm_ctdp_command() 722 *state = mvm->cooling_dev.cur_state; in iwl_mvm_tcool_get_cur_state()
|
| HD | fw.c | 1527 mvm->cooling_dev.cur_state); in iwl_mvm_up()
|
| HD | mvm.h | 687 u32 cur_state; member
|
| /freebsd-14-stable/sys/dev/mrsas/ |
| HD | mrsas.c | 2958 u_int32_t cur_state __unused; in mrsas_transition_to_ready() 2974 cur_state = MFI_STATE_FAULT; in mrsas_transition_to_ready() 2982 cur_state = MFI_STATE_WAIT_HANDSHAKE; in mrsas_transition_to_ready() 2987 cur_state = MFI_STATE_BOOT_MESSAGE_PENDING; in mrsas_transition_to_ready() 3002 cur_state = MFI_STATE_OPERATIONAL; in mrsas_transition_to_ready() 3009 cur_state = MFI_STATE_UNDEFINED; in mrsas_transition_to_ready() 3012 cur_state = MFI_STATE_BB_INIT; in mrsas_transition_to_ready() 3015 cur_state = MFI_STATE_FW_INIT; in mrsas_transition_to_ready() 3018 cur_state = MFI_STATE_FW_INIT_2; in mrsas_transition_to_ready() 3021 cur_state = MFI_STATE_DEVICE_SCAN; in mrsas_transition_to_ready() [all …]
|
| /freebsd-14-stable/sys/dev/mlx4/ |
| HD | qp.h | 481 enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state,
|
| /freebsd-14-stable/sys/dev/bnxt/bnxt_re/ |
| HD | qplib_sp.h | 390 bool ib_modify_qp_is_ok_compat(enum ib_qp_state cur_state, enum ib_qp_state next_state,
|
| HD | ib_verbs.c | 2556 bool ib_modify_qp_is_ok_compat(enum ib_qp_state cur_state, in ib_modify_qp_is_ok_compat() argument 2561 return (ib_modify_qp_is_ok(cur_state, next_state, in ib_modify_qp_is_ok_compat()
|
| /freebsd-14-stable/sys/dev/mfi/ |
| HD | mfi.c | 274 uint32_t fw_state, cur_state; in mfi_transition_firmware() local 285 cur_state = fw_state; in mfi_transition_firmware() 334 if (fw_state == cur_state) in mfi_transition_firmware() 345 if (fw_state == cur_state) { in mfi_transition_firmware()
|
| /freebsd-14-stable/sys/contrib/openzfs/tests/zfs-tests/include/ |
| HD | libtest.shlib | 1899 cur_state=$(get_device_state $pool $disk "spares") 1901 [ $state = $cur_state ] 1940 cur_state=$(get_device_state $pool $disk) 1942 [ $state = $cur_state ]
|
| /freebsd-14-stable/sys/ofed/include/rdma/ |
| HD | ib_verbs.h | 2596 bool ib_modify_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state next_state,
|
| /freebsd-14-stable/sys/dev/cxgbe/firmware/ |
| HD | t4fw_interface.h | 2334 __u8 cur_state; member
|