Home
last modified time | relevance | path

Searched refs:curr_state (Results 1 – 12 of 12) sorted by relevance

/drivers/soc/qcom/
Dpdr_internal.h227 enum servreg_service_state curr_state; member
257 curr_state),
298 enum servreg_service_state curr_state; member
311 curr_state),
Dpdr_interface.c66 enum servreg_service_state curr_state; member
159 pds->state = resp.curr_state; in pdr_register_listener()
284 pds->state = ind->curr_state; in pdr_indack_work()
328 ind_msg->service_path, ind_msg->curr_state, in pdr_indication_cb()
336 ind->curr_state = ind_msg->curr_state; in pdr_indication_cb()
/drivers/firmware/
Dti_sci.c765 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_stop() argument
770 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_stop()
780 if (curr_state) in ti_sci_cmd_dev_is_stop()
781 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_cmd_dev_is_stop()
796 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_on() argument
801 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_on()
811 if (curr_state) in ti_sci_cmd_dev_is_on()
812 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
826 bool *curr_state) in ti_sci_cmd_dev_is_trans() argument
831 if (!curr_state) in ti_sci_cmd_dev_is_trans()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.c352 int curr_state, int next_state, in mlx5_hairpin_modify_rq() argument
365 MLX5_SET(modify_rq_in, in, rq_state, curr_state); in mlx5_hairpin_modify_rq()
372 int curr_state, int next_state, in mlx5_hairpin_modify_sq() argument
385 MLX5_SET(modify_sq_in, in, sq_state, curr_state); in mlx5_hairpin_modify_sq()
Den_main.c676 static int mlx5e_modify_rq_state(struct mlx5e_rq *rq, int curr_state, int next_state) in mlx5e_modify_rq_state() argument
690 if (curr_state == MLX5_RQC_STATE_RST && next_state == MLX5_RQC_STATE_RDY) in mlx5e_modify_rq_state()
695 MLX5_SET(modify_rq_in, in, rq_state, curr_state); in mlx5e_modify_rq_state()
705 static int mlx5e_rq_to_ready(struct mlx5e_rq *rq, int curr_state) in mlx5e_rq_to_ready() argument
710 err = mlx5e_modify_rq_state(rq, curr_state, MLX5_RQC_STATE_RST); in mlx5e_rq_to_ready()
724 int mlx5e_flush_rq(struct mlx5e_rq *rq, int curr_state) in mlx5e_flush_rq() argument
728 return mlx5e_rq_to_ready(rq, curr_state); in mlx5e_flush_rq()
1253 MLX5_SET(modify_sq_in, in, sq_state, p->curr_state); in mlx5e_modify_sq()
1290 msp.curr_state = MLX5_SQC_STATE_RST; in mlx5e_create_sq_rdy()
1780 msp.curr_state = MLX5_SQC_STATE_RDY; in mlx5e_set_sq_maxrate()
[all …]
Den.h773 int curr_state; member
1005 int mlx5e_flush_rq(struct mlx5e_rq *rq, int curr_state);
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhealth.c165 msp.curr_state = MLX5_SQC_STATE_ERR; in mlx5e_health_sq_to_ready()
175 msp.curr_state = MLX5_SQC_STATE_RST; in mlx5e_health_sq_to_ready()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_init.c146 cur = adapter->ahw->idc.curr_state; in qlcnic_83xx_idc_log_state_history()
985 cur = adapter->ahw->idc.curr_state; in qlcnic_83xx_idc_check_state_validity()
1115 adapter->ahw->idc.curr_state = QLC_83XX_IDC_DEV_UNKNOWN; in qlcnic_83xx_idc_poll_dev_state()
1117 adapter->ahw->idc.curr_state = state; in qlcnic_83xx_idc_poll_dev_state()
1120 switch (adapter->ahw->idc.curr_state) { in qlcnic_83xx_idc_poll_dev_state()
1143 adapter->ahw->idc.prev_state = adapter->ahw->idc.curr_state; in qlcnic_83xx_idc_poll_dev_state()
1167 adapter->ahw->idc.curr_state = QLC_83XX_IDC_DEV_UNKNOWN; in qlcnic_83xx_setup_idc_parameters()
1213 adapter->ahw->idc.curr_state = state; in qlcnic_83xx_idc_first_to_load_function_handler()
Dqlcnic_83xx_hw.h321 u8 curr_state; member
Dqlcnic_sriov_common.c1910 idc->curr_state = QLCRDX(adapter->ahw, QLC_83XX_IDC_DEV_STATE); in qlcnic_sriov_vf_poll_dev_state()
1912 switch (idc->curr_state) { in qlcnic_sriov_vf_poll_dev_state()
1932 idc->prev_state = idc->curr_state; in qlcnic_sriov_vf_poll_dev_state()
/drivers/net/ethernet/qlogic/qede/
Dqede_main.c2601 u32 curr_state = edev->state; in qede_recovery_handler() local
2613 if (curr_state == QEDE_STATE_OPEN) in qede_recovery_handler()
2625 if (curr_state == QEDE_STATE_OPEN) { in qede_recovery_handler()
2634 edev->state = curr_state; in qede_recovery_handler()
/drivers/scsi/qla2xxx/
Dqla_nx.c2948 qla82xx_wait_for_state_change(scsi_qla_host_t *vha, uint32_t curr_state) in qla82xx_wait_for_state_change() argument
2958 } while (dev_state == curr_state); in qla82xx_wait_for_state_change()