Lines Matching refs:rch

403 	struct channel *rch, *wch;  in ctc_mpc_establish_connectivity()  local
410 rch = priv->channel[CTCM_READ]; in ctc_mpc_establish_connectivity()
457 if ((fsm_getstate(rch->fsm) > CH_XID0_PENDING) || in ctc_mpc_establish_connectivity()
472 if ((rch->in_mpcgroup) && in ctc_mpc_establish_connectivity()
473 (fsm_getstate(rch->fsm) == CH_XID0_PENDING)) in ctc_mpc_establish_connectivity()
474 fsm_event(grp->fsm, MPCG_EVENT_XID0DO, rch); in ctc_mpc_establish_connectivity()
478 CTCM_FUNTAIL, dev->name, rch->id); in ctc_mpc_establish_connectivity()
556 struct channel *rch; in ctc_mpc_flow_control() local
569 rch = priv->channel[CTCM_READ]; in ctc_mpc_flow_control()
589 tasklet_schedule(&rch->ch_tasklet); in ctc_mpc_flow_control()
609 struct channel *rch = mpcginfo->ch; in mpc_rcvd_sweep_resp() local
610 struct net_device *dev = rch->netdev; in mpc_rcvd_sweep_resp()
624 rch->th_seq_num = 0x00; in mpc_rcvd_sweep_resp()
637 static void ctcmpc_send_sweep_resp(struct channel *rch) in ctcmpc_send_sweep_resp() argument
639 struct net_device *dev = rch->netdev; in ctcmpc_send_sweep_resp()
646 CTCM_PR_DEBUG("%s: ch=0x%p id=%s\n", __func__, rch, rch->id); in ctcmpc_send_sweep_resp()
652 CTCM_FUNTAIL, rch->id); in ctcmpc_send_sweep_resp()
680 struct channel *rch = mpcginfo->ch; in mpc_rcvd_sweep_req() local
681 struct net_device *dev = rch->netdev; in mpc_rcvd_sweep_req()
1442 struct channel *rch; in mpc_action_timeout() local
1447 rch = priv->channel[CTCM_READ]; in mpc_action_timeout()
1454 if ((fsm_getstate(rch->fsm) == CH_XID0_PENDING) && in mpc_action_timeout()