Searched refs:next_state (Results 1 - 25 of 30) sorted by relevance

12

/drivers/cpuidle/
H A Dcpuidle.h18 struct cpuidle_driver *drv, int next_state);
39 struct cpuidle_driver *drv, int next_state);
50 struct cpuidle_driver *drv, int next_state)
49 cpuidle_enter_state_coupled(struct cpuidle_device *dev, struct cpuidle_driver *drv, int next_state) argument
H A Dcpuidle.c109 * @next_state: index into drv->states of the state to enter
112 int next_state)
116 entered_state = cpuidle_enter_ops(dev, drv, next_state);
143 int next_state, entered_state; local
165 next_state = cpuidle_curr_governor->select(drv, dev);
171 trace_power_start_rcuidle(POWER_CSTATE, next_state, dev->cpu);
172 trace_cpu_idle_rcuidle(next_state, dev->cpu);
174 if (cpuidle_state_is_coupled(dev, drv, next_state))
176 next_state);
178 entered_state = cpuidle_enter_state(dev, drv, next_state);
111 cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, int next_state) argument
[all...]
H A Dcoupled.c341 * @next_state: the index in drv->states of the requested state for this cpu
348 struct cpuidle_coupled *coupled, int next_state)
352 coupled->requested_state[cpu] = next_state;
432 * @next_state: index of the requested state in drv->states
448 struct cpuidle_driver *drv, int next_state)
468 cpuidle_coupled_set_waiting(dev->cpu, coupled, next_state);
515 next_state = cpuidle_coupled_get_state(dev, coupled);
517 entered_state = cpuidle_enter_state(dev, drv, next_state);
347 cpuidle_coupled_set_waiting(int cpu, struct cpuidle_coupled *coupled, int next_state) argument
447 cpuidle_enter_state_coupled(struct cpuidle_device *dev, struct cpuidle_driver *drv, int next_state) argument
/drivers/net/irda/
H A Dsir_dev.c39 unsigned next_state, delay; local
43 next_state = fsm->substate; /* default: stay in current substate */
54 next_state = SIRDEV_STATE_WAIT_UNTIL_SENT;
78 next_state = SIRDEV_STATE_TX_DONE;
88 fsm->substate = next_state;
108 int next_state; local
118 next_state = fsm->state;
128 next_state = SIRDEV_STATE_ERROR;
137 next_state = SIRDEV_STATE_ERROR;
149 next_state
[all...]
/drivers/net/wireless/iwlwifi/
H A Diwl-agn-tt.h71 * @next_state: next thermal throttling mode
80 enum iwl_tt_state next_state; member in struct:iwl_tt_trans
H A Diwl-agn-tt.c406 transaction->next_state) {
409 transaction->next_state;
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.c4248 o->next_state = BNX2X_Q_STATE_MAX;
4308 BNX2X_ERR("Bad MC reply %d for queue %d in state %d pending 0x%lx, next_state %d\n",
4310 o->state, cur_pending, o->next_state);
4323 cmd, o->cids[BNX2X_PRIMARY_CID_INDEX], o->next_state);
4329 o->state = o->next_state;
4331 o->next_state = BNX2X_Q_STATE_MAX;
4333 /* It's important that o->state and o->next_state are
4990 * state and, if it's legal, sets a `next_state' in the object
5001 enum bnx2x_q_state state = o->state, next_state = BNX2X_Q_STATE_MAX; local
5013 o->next_state
5298 enum bnx2x_func_state state = o->state, next_state = BNX2X_F_STATE_MAX; local
[all...]
H A Dbnx2x_sp.h983 enum bnx2x_q_state state, next_state; member in struct:bnx2x_queue_sp_obj
1144 enum bnx2x_func_state state, next_state; member in struct:bnx2x_func_sp_obj
/drivers/infiniband/hw/qib/
H A Dqib_sdma.c217 enum qib_sdma_states next_state)
227 ss->current_state = next_state;
229 if (action[next_state].op_enable)
232 if (action[next_state].op_intenable)
235 if (action[next_state].op_halt)
238 if (action[next_state].op_drain)
241 if (action[next_state].go_s99_running_tofalse)
244 if (action[next_state].go_s99_running_totrue)
216 sdma_set_state(struct qib_pportdata *ppd, enum qib_sdma_states next_state) argument
/drivers/cpufreq/
H A Dacpi-cpufreq.c288 unsigned int next_state = 0; /* Index into freq_table */ local
304 relation, &next_state);
310 next_perf_state = data->freq_table[next_state].index;
347 freqs.new = data->freq_table[next_state].frequency;
/drivers/infiniband/hw/cxgb4/
H A Dev.c62 attrs.next_state = C4IW_QP_STATE_TERMINATE;
H A Dqp.c1146 (mask & C4IW_QP_ATTR_NEXT_STATE) ? attrs->next_state : -1);
1181 if (qhp->attr.state == attrs->next_state)
1186 switch (attrs->next_state) {
1222 switch (attrs->next_state) {
1272 switch (attrs->next_state) {
1289 if (attrs->next_state != C4IW_QP_STATE_IDLE) {
1365 attrs.next_state = C4IW_QP_STATE_ERROR;
1461 qhp->attr.next_state = C4IW_QP_STATE_IDLE;
1602 attrs.next_state = c4iw_convert_state(attr->qp_state);
H A Dcm.c1127 attrs.next_state = C4IW_QP_STATE_RTS;
1147 attrs.next_state = C4IW_QP_STATE_TERMINATE;
1165 attrs.next_state = C4IW_QP_STATE_TERMINATE;
1767 attrs.next_state = C4IW_QP_STATE_CLOSING;
1785 attrs.next_state = C4IW_QP_STATE_IDLE;
1949 attrs.next_state = C4IW_QP_STATE_ERROR;
2030 attrs.next_state = C4IW_QP_STATE_IDLE;
2067 attrs.next_state = C4IW_QP_STATE_TERMINATE;
2194 attrs.next_state = C4IW_QP_STATE_RTS;
2521 attrs.next_state
[all...]
/drivers/scsi/isci/
H A Disci.h538 extern void sci_change_state(struct sci_base_state_machine *sm, u32 next_state);
H A Dphy.c604 * @next_state: This parameter specifies the next state for the phy's starting
610 u32 next_state)
614 sci_change_state(&iphy->sm, next_state);
608 sci_phy_complete_link_training(struct isci_phy *iphy, enum sas_linkrate max_link_rate, u32 next_state) argument
/drivers/infiniband/core/
H A Dverbs.c773 int ib_modify_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state next_state, argument
779 next_state < 0 || next_state > IB_QPS_ERR)
787 if (!qp_state_table[cur_state][next_state].valid)
790 req_param = qp_state_table[cur_state][next_state].req_param[type];
791 opt_param = qp_state_table[cur_state][next_state].opt_param[type];
/drivers/infiniband/hw/cxgb3/
H A Diwch_qp.c961 (mask & IWCH_QP_ATTR_NEXT_STATE) ? attrs->next_state : -1);
998 if (qhp->attr.state == attrs->next_state)
1003 switch (attrs->next_state) {
1041 switch (attrs->next_state) {
1079 switch (attrs->next_state) {
1096 if (attrs->next_state != IWCH_QP_STATE_IDLE) {
H A Diwch_ev.c81 attrs.next_state = IWCH_QP_STATE_TERMINATE;
H A Diwch_provider.h149 u32 next_state; member in struct:iwch_qp_attributes
H A Diwch_cm.c914 attrs.next_state = IWCH_QP_STATE_RTS;
1479 attrs.next_state = IWCH_QP_STATE_CLOSING;
1494 attrs.next_state = IWCH_QP_STATE_IDLE;
1589 attrs.next_state = IWCH_QP_STATE_ERROR;
1656 attrs.next_state = IWCH_QP_STATE_IDLE;
1721 attrs.next_state = IWCH_QP_STATE_ERROR;
1751 attrs.next_state = IWCH_QP_STATE_ERROR;
1833 attrs.next_state = IWCH_QP_STATE_RTS;
H A Diwch_provider.c869 attrs.next_state = IWCH_QP_STATE_ERROR;
971 qhp->attr.next_state = IWCH_QP_STATE_IDLE;
1069 attrs.next_state = iwch_convert_state(attr->qp_state);
/drivers/scsi/
H A Dinitio.c1244 scb->next_state = 8;
1258 scb->next_state = 8;
1282 next = host->active->next_state;
1430 scb->next_state = 3;
1499 scb->next_state = 0x4;
1643 scb->next_state = 6;
1722 scb->next_state = 0x5;
1755 scb->next_state = 0x5;
2338 scb->next_state = 0x1;
2350 scb->next_state
[all...]
H A Dinitio.h352 u8 next_state; /*5 */ member in struct:scsi_ctrl_blk
/drivers/infiniband/hw/amso1100/
H A Dc2_qp.c141 u8 next_state; local
183 next_state = attr->qp_state;
197 next_state = attr->cur_qp_state;
225 qp->state = next_state;
/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c997 static const u32 next_state = DE_MEDIA_TP; local
998 de_next_media(de, &next_state, 1);
1000 static const u32 next_state = DE_MEDIA_AUI; local
1001 de_next_media(de, &next_state, 1);

Completed in 4894 milliseconds

12