Lines Matching refs:wch
405 struct channel *rch, *wch;
413 wch = priv->channel[CTCM_WRITE];
460 (fsm_getstate(wch->fsm) > CH_XID0_PENDING)) {
488 if ((wch->in_mpcgroup) &&
489 (fsm_getstate(wch->fsm) == CH_XID0_PENDING))
490 fsm_event(grp->fsm, MPCG_EVENT_XID0DO, wch);
494 CTCM_FUNTAIL, dev->name, wch->id);
1342 struct channel *wch;
1365 wch = priv->channel[CTCM_WRITE];
1383 tasklet_hi_schedule(&wch->ch_disc_tasklet);
1444 struct channel *wch;
1449 wch = priv->channel[CTCM_WRITE];
1458 (fsm_getstate(wch->fsm) == CH_XID0_PENDING))