Lines Matching refs:rch

415 	struct channel *rch, *wch;  in ctc_mpc_establish_connectivity()  local
422 rch = priv->channel[CTCM_READ]; in ctc_mpc_establish_connectivity()
469 if ((fsm_getstate(rch->fsm) > CH_XID0_PENDING) || in ctc_mpc_establish_connectivity()
484 if ((rch->in_mpcgroup) && in ctc_mpc_establish_connectivity()
485 (fsm_getstate(rch->fsm) == CH_XID0_PENDING)) in ctc_mpc_establish_connectivity()
486 fsm_event(grp->fsm, MPCG_EVENT_XID0DO, rch); in ctc_mpc_establish_connectivity()
490 CTCM_FUNTAIL, dev->name, rch->id); in ctc_mpc_establish_connectivity()
568 struct channel *rch; in ctc_mpc_flow_control() local
581 rch = priv->channel[CTCM_READ]; in ctc_mpc_flow_control()
601 tasklet_schedule(&rch->ch_tasklet); in ctc_mpc_flow_control()
621 struct channel *rch = mpcginfo->ch; in mpc_rcvd_sweep_resp() local
622 struct net_device *dev = rch->netdev; in mpc_rcvd_sweep_resp()
636 rch->th_seq_num = 0x00; in mpc_rcvd_sweep_resp()
651 static void ctcmpc_send_sweep_resp(struct channel *rch) in ctcmpc_send_sweep_resp() argument
653 struct net_device *dev = rch->netdev; in ctcmpc_send_sweep_resp()
661 CTCM_PR_DEBUG("%s: ch=0x%p id=%s\n", __func__, rch, rch->id); in ctcmpc_send_sweep_resp()
667 CTCM_FUNTAIL, rch->id); in ctcmpc_send_sweep_resp()
711 struct channel *rch = mpcginfo->ch; in mpc_rcvd_sweep_req() local
712 struct net_device *dev = rch->netdev; in mpc_rcvd_sweep_req()
1374 struct channel *wch, *rch; in mpc_action_go_inop() local
1399 rch = priv->channel[CTCM_READ]; in mpc_action_go_inop()
1480 struct channel *rch; in mpc_action_timeout() local
1487 rch = priv->channel[CTCM_READ]; in mpc_action_timeout()
1494 if ((fsm_getstate(rch->fsm) == CH_XID0_PENDING) && in mpc_action_timeout()