Lines Matching refs:wch
403 struct channel *rch, *wch;
411 wch = priv->channel[CTCM_WRITE];
458 (fsm_getstate(wch->fsm) > CH_XID0_PENDING)) {
486 if ((wch->in_mpcgroup) &&
487 (fsm_getstate(wch->fsm) == CH_XID0_PENDING))
488 fsm_event(grp->fsm, MPCG_EVENT_XID0DO, wch);
492 CTCM_FUNTAIL, dev->name, wch->id);
1353 struct channel *wch;
1376 wch = priv->channel[CTCM_WRITE];
1394 tasklet_hi_schedule(&wch->ch_disc_tasklet);
1455 struct channel *wch;
1460 wch = priv->channel[CTCM_WRITE];
1469 (fsm_getstate(wch->fsm) == CH_XID0_PENDING))