Lines Matching refs:rch

402 	struct channel *rch, *wch;  in ctc_mpc_establish_connectivity()  local
409 rch = priv->channel[CTCM_READ]; in ctc_mpc_establish_connectivity()
456 if ((fsm_getstate(rch->fsm) > CH_XID0_PENDING) || in ctc_mpc_establish_connectivity()
471 if ((rch->in_mpcgroup) && in ctc_mpc_establish_connectivity()
472 (fsm_getstate(rch->fsm) == CH_XID0_PENDING)) in ctc_mpc_establish_connectivity()
473 fsm_event(grp->fsm, MPCG_EVENT_XID0DO, rch); in ctc_mpc_establish_connectivity()
477 CTCM_FUNTAIL, dev->name, rch->id); in ctc_mpc_establish_connectivity()
555 struct channel *rch; in ctc_mpc_flow_control() local
568 rch = priv->channel[CTCM_READ]; in ctc_mpc_flow_control()
588 tasklet_schedule(&rch->ch_tasklet); in ctc_mpc_flow_control()
608 struct channel *rch = mpcginfo->ch; in mpc_rcvd_sweep_resp() local
609 struct net_device *dev = rch->netdev; in mpc_rcvd_sweep_resp()
623 rch->th_seq_num = 0x00; in mpc_rcvd_sweep_resp()
636 static void ctcmpc_send_sweep_resp(struct channel *rch) in ctcmpc_send_sweep_resp() argument
638 struct net_device *dev = rch->netdev; in ctcmpc_send_sweep_resp()
645 CTCM_PR_DEBUG("%s: ch=0x%p id=%s\n", __func__, rch, rch->id); in ctcmpc_send_sweep_resp()
651 CTCM_FUNTAIL, rch->id); in ctcmpc_send_sweep_resp()
693 struct channel *rch = mpcginfo->ch; in mpc_rcvd_sweep_req() local
694 struct net_device *dev = rch->netdev; in mpc_rcvd_sweep_req()
1455 struct channel *rch; in mpc_action_timeout() local
1460 rch = priv->channel[CTCM_READ]; in mpc_action_timeout()
1467 if ((fsm_getstate(rch->fsm) == CH_XID0_PENDING) && in mpc_action_timeout()