Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/laptop/dslm/
Ddslm.c71 int curr_state; in measure() local
89 curr_state = check_powermode(fd); in measure()
91 if (curr_state != last_state || endit) { in measure()
100 last_state = curr_state; in measure()
104 state_name(curr_state)); in measure()
/kernel/linux/linux-5.10/include/trace/events/
Dufs.h73 u32 prev_state, u32 curr_state),
75 TP_ARGS(dev_name, state, clk, prev_state, curr_state),
82 __field(u32, curr_state)
90 __entry->curr_state = curr_state;
95 __entry->prev_state, __entry->curr_state)
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/llc/
Dllc_s_st.c176 .curr_state = LLC_SAP_STATE_INACTIVE,
180 .curr_state = LLC_SAP_STATE_ACTIVE,
Dllc_conn.c393 struct llc_conn_state *curr_state = in llc_qualify_conn_ev() local
399 for (next_trans = curr_state->transitions + in llc_qualify_conn_ev()
643 struct llc_conn_state *curr_state; in llc_build_offset_table() local
647 curr_state = &llc_conn_state_table[state]; in llc_build_offset_table()
651 next_offset += llc_find_next_offset(curr_state, in llc_build_offset_table()
Dllc_sap.c123 struct llc_sap_state *curr_state = &llc_sap_state_table[sap->state - 1]; in llc_find_sap_trans() local
128 for (next_trans = curr_state->transitions; next_trans[i]->ev; i++) in llc_find_sap_trans()
/kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/
Dsuspend.c123 u32 curr_state; in mpc83xx_change_state() local
129 curr_state = reg_cfg1 & PMCCR1_CURR_STATE; in mpc83xx_change_state()
131 if (curr_state != pci_pm_state) { in mpc83xx_change_state()
/kernel/linux/linux-5.10/include/net/
Dllc_s_st.h26 u8 curr_state; member
/kernel/linux/linux-5.10/drivers/firmware/
Dti_sci.c778 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_stop() argument
783 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_stop()
793 if (curr_state) in ti_sci_cmd_dev_is_stop()
794 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_cmd_dev_is_stop()
809 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_on() argument
814 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_on()
824 if (curr_state) in ti_sci_cmd_dev_is_on()
825 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
839 bool *curr_state) in ti_sci_cmd_dev_is_trans() argument
844 if (!curr_state) in ti_sci_cmd_dev_is_trans()
[all …]
/kernel/linux/linux-5.10/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.h732 int curr_state; member
966 int mlx5e_modify_rq_state(struct mlx5e_rq *rq, int curr_state, int next_state);
Den_main.c692 int mlx5e_modify_rq_state(struct mlx5e_rq *rq, int curr_state, int next_state) in mlx5e_modify_rq_state() argument
706 if (curr_state == MLX5_RQC_STATE_RST && next_state == MLX5_RQC_STATE_RDY) in mlx5e_modify_rq_state()
711 MLX5_SET(modify_rq_in, in, rq_state, curr_state); in mlx5e_modify_rq_state()
1291 MLX5_SET(modify_sq_in, in, sq_state, p->curr_state); in mlx5e_modify_sq()
1322 msp.curr_state = MLX5_SQC_STATE_RST; in mlx5e_create_sq_rdy()
1792 msp.curr_state = MLX5_SQC_STATE_RDY; in mlx5e_set_sq_maxrate()
3839 bool supported, curr_state; in mlx5e_set_rx_port_ts() local
3850 curr_state = MLX5_GET(pcmr_reg, in, rx_ts_over_crc); in mlx5e_set_rx_port_ts()
3852 if (!supported || enable == curr_state) in mlx5e_set_rx_port_ts()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhealth.c168 msp.curr_state = MLX5_SQC_STATE_ERR; in mlx5e_health_sq_to_ready()
178 msp.curr_state = MLX5_SQC_STATE_RST; in mlx5e_health_sq_to_ready()
Dreporter_rx.c107 static int mlx5e_rq_to_ready(struct mlx5e_rq *rq, int curr_state) in mlx5e_rq_to_ready() argument
112 err = mlx5e_modify_rq_state(rq, curr_state, MLX5_RQC_STATE_RST); in mlx5e_rq_to_ready()
/kernel/linux/linux-5.10/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.c1908 idc->curr_state = QLCRDX(adapter->ahw, QLC_83XX_IDC_DEV_STATE); in qlcnic_sriov_vf_poll_dev_state()
1910 switch (idc->curr_state) { in qlcnic_sriov_vf_poll_dev_state()
1930 idc->prev_state = idc->curr_state; in qlcnic_sriov_vf_poll_dev_state()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_main.c2546 u32 curr_state = edev->state; in qede_recovery_handler() local
2558 if (curr_state == QEDE_STATE_OPEN) in qede_recovery_handler()
2570 if (curr_state == QEDE_STATE_OPEN) { in qede_recovery_handler()
2579 edev->state = curr_state; in qede_recovery_handler()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_nx.c2953 qla82xx_wait_for_state_change(scsi_qla_host_t *vha, uint32_t curr_state) in qla82xx_wait_for_state_change() argument
2963 } while (dev_state == curr_state); in qla82xx_wait_for_state_change()