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

12

/drivers/cpuidle/
H A Dcpuidle.h16 struct cpuidle_driver *drv, int next_state);
40 struct cpuidle_driver *drv, int next_state);
51 struct cpuidle_driver *drv, int next_state)
50 cpuidle_enter_state_coupled(struct cpuidle_device *dev, struct cpuidle_driver *drv, int next_state) argument
H A Dcoupled.c350 * @next_state: the index in drv->states of the requested state for this cpu
356 struct cpuidle_coupled *coupled, int next_state)
358 coupled->requested_state[cpu] = next_state;
444 * @next_state: index of the requested state in drv->states
460 struct cpuidle_driver *drv, int next_state)
486 w = cpuidle_coupled_set_waiting(dev->cpu, coupled, next_state);
582 next_state = cpuidle_coupled_get_state(dev, coupled);
584 entered_state = cpuidle_enter_state(dev, drv, next_state);
355 cpuidle_coupled_set_waiting(int cpu, struct cpuidle_coupled *coupled, int next_state) argument
459 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/dvm/
H A Dtt.h71 * @next_state: next thermal throttling mode
80 enum iwl_tt_state next_state; member in struct:iwl_tt_trans
H A Dtt.c400 transaction->next_state) {
403 transaction->next_state;
/drivers/clk/keystone/
H A Dgate.c77 u32 next_state, u32 domain_id)
84 mdctl |= next_state;
86 if (next_state == PSC_STATE_DISABLE)
106 } while (!((mdstat & MDSTAT_STATE_MASK) == next_state) && count--);
76 psc_config(void __iomem *control_base, void __iomem *domain_base, u32 next_state, u32 domain_id) argument
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.c4201 o->next_state = BNX2X_Q_STATE_MAX;
4260 BNX2X_ERR("Bad MC reply %d for queue %d in state %d pending 0x%lx, next_state %d\n",
4262 o->state, cur_pending, o->next_state);
4275 cmd, o->cids[BNX2X_PRIMARY_CID_INDEX], o->next_state);
4281 o->state = o->next_state;
4283 o->next_state = BNX2X_Q_STATE_MAX;
4285 /* It's important that o->state and o->next_state are
5006 * state and, if it's legal, sets a `next_state' in the object
5017 enum bnx2x_q_state state = o->state, next_state = BNX2X_Q_STATE_MAX; local
5028 o->next_state
5335 enum bnx2x_func_state state = o->state, next_state = BNX2X_F_STATE_MAX; local
[all...]
H A Dbnx2x_sp.h1046 enum bnx2x_q_state state, next_state; member in struct:bnx2x_queue_sp_obj
1299 enum bnx2x_func_state state, next_state; member in struct:bnx2x_func_sp_obj
/drivers/scsi/isci/
H A Dremote_node_context.c429 u32 next_state; local
445 next_state = SCI_RNC_INITIAL;
447 next_state = SCI_RNC_POSTING;
448 sci_change_state(&sci_rnc->sm, next_state);
501 next_state = SCI_RNC_TX_SUSPENDED;
504 next_state = SCI_RNC_TX_RX_SUSPENDED;
510 sci_change_state(&sci_rnc->sm, next_state);
H A Disci.h538 extern void sci_change_state(struct sci_base_state_machine *sm, u32 next_state);
/drivers/infiniband/hw/qib/
H A Dqib_sdma.c218 enum qib_sdma_states next_state)
228 ss->current_state = next_state;
230 if (action[next_state].op_enable)
233 if (action[next_state].op_intenable)
236 if (action[next_state].op_halt)
239 if (action[next_state].op_drain)
242 if (action[next_state].go_s99_running_tofalse)
245 if (action[next_state].go_s99_running_totrue)
217 sdma_set_state(struct qib_pportdata *ppd, enum qib_sdma_states next_state) argument
/drivers/mfd/
H A Dsi476x-i2c.c266 * @next_state: enum si476x_power_state describing power state to
275 enum si476x_power_state next_state)
290 if (next_state != core->power_state) {
291 switch (next_state) {
310 core->power_state = next_state;
314 core->power_state = next_state;
274 si476x_core_set_power_state(struct si476x_core *core, enum si476x_power_state next_state) argument
/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, argument
836 next_state < 0 || next_state > IB_QPS_ERR)
844 if (!qp_state_table[cur_state][next_state].valid)
847 req_param = qp_state_table[cur_state][next_state].req_param[type];
848 opt_param = qp_state_table[cur_state][next_state].opt_param[type];
851 req_param |= qp_state_table[cur_state][next_state].
853 opt_param |= qp_state_table[cur_state][next_state].
/drivers/infiniband/hw/cxgb3/
H A Diwch_qp.c963 (mask & IWCH_QP_ATTR_NEXT_STATE) ? attrs->next_state : -1);
1000 if (qhp->attr.state == attrs->next_state)
1005 switch (attrs->next_state) {
1043 switch (attrs->next_state) {
1081 switch (attrs->next_state) {
1098 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.c918 attrs.next_state = IWCH_QP_STATE_RTS;
1483 attrs.next_state = IWCH_QP_STATE_CLOSING;
1498 attrs.next_state = IWCH_QP_STATE_IDLE;
1593 attrs.next_state = IWCH_QP_STATE_ERROR;
1660 attrs.next_state = IWCH_QP_STATE_IDLE;
1725 attrs.next_state = IWCH_QP_STATE_ERROR;
1755 attrs.next_state = IWCH_QP_STATE_ERROR;
1836 attrs.next_state = IWCH_QP_STATE_RTS;
H A Diwch_provider.c868 attrs.next_state = IWCH_QP_STATE_ERROR;
970 qhp->attr.next_state = IWCH_QP_STATE_IDLE;
1068 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/infiniband/hw/cxgb4/
H A Dev.c99 attrs.next_state = C4IW_QP_STATE_TERMINATE;
H A Dqp.c1349 (mask & C4IW_QP_ATTR_NEXT_STATE) ? attrs->next_state : -1);
1393 if (qhp->attr.state == attrs->next_state)
1398 switch (attrs->next_state) {
1434 switch (attrs->next_state) {
1487 switch (attrs->next_state) {
1504 if (attrs->next_state != C4IW_QP_STATE_IDLE) {
1581 attrs.next_state = C4IW_QP_STATE_ERROR;
1688 qhp->attr.next_state = C4IW_QP_STATE_IDLE;
1835 attrs.next_state = c4iw_convert_state(attr->qp_state);
H A Dcm.c1449 attrs.next_state = C4IW_QP_STATE_RTS;
1469 attrs.next_state = C4IW_QP_STATE_TERMINATE;
1489 attrs.next_state = C4IW_QP_STATE_TERMINATE;
1693 attrs.next_state = C4IW_QP_STATE_TERMINATE;
2467 attrs.next_state = C4IW_QP_STATE_CLOSING;
2485 attrs.next_state = C4IW_QP_STATE_IDLE;
2574 attrs.next_state = C4IW_QP_STATE_ERROR;
2654 attrs.next_state = C4IW_QP_STATE_IDLE;
2691 attrs.next_state = C4IW_QP_STATE_TERMINATE;
2839 attrs.next_state
[all...]
/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c994 static const u32 next_state = DE_MEDIA_TP; local
995 de_next_media(de, &next_state, 1);
997 static const u32 next_state = DE_MEDIA_AUI; local
998 de_next_media(de, &next_state, 1);

Completed in 382 milliseconds

12