Lines Matching refs:wch
402 struct channel *rch, *wch; in ctc_mpc_establish_connectivity() local
410 wch = priv->channel[CTCM_WRITE]; in ctc_mpc_establish_connectivity()
457 (fsm_getstate(wch->fsm) > CH_XID0_PENDING)) { in ctc_mpc_establish_connectivity()
485 if ((wch->in_mpcgroup) && in ctc_mpc_establish_connectivity()
486 (fsm_getstate(wch->fsm) == CH_XID0_PENDING)) in ctc_mpc_establish_connectivity()
487 fsm_event(grp->fsm, MPCG_EVENT_XID0DO, wch); in ctc_mpc_establish_connectivity()
491 CTCM_FUNTAIL, dev->name, wch->id); in ctc_mpc_establish_connectivity()
1352 struct channel *wch; in mpc_action_go_inop() local
1375 wch = priv->channel[CTCM_WRITE]; in mpc_action_go_inop()
1393 tasklet_hi_schedule(&wch->ch_disc_tasklet); in mpc_action_go_inop()
1454 struct channel *wch; in mpc_action_timeout() local
1459 wch = priv->channel[CTCM_WRITE]; in mpc_action_timeout()
1468 (fsm_getstate(wch->fsm) == CH_XID0_PENDING)) in mpc_action_timeout()