Lines Matching refs:mpcginfo
116 static int mpc_validate_xid(struct mpcg_info *mpcginfo);
609 static void mpc_rcvd_sweep_resp(struct mpcg_info *mpcginfo) in mpc_rcvd_sweep_resp() argument
611 struct channel *rch = mpcginfo->ch; in mpc_rcvd_sweep_resp()
618 CTCM_D3_DUMP((char *)mpcginfo->sweep, TH_SWEEP_LENGTH); in mpc_rcvd_sweep_resp()
680 static void mpc_rcvd_sweep_req(struct mpcg_info *mpcginfo) in mpc_rcvd_sweep_req() argument
682 struct channel *rch = mpcginfo->ch; in mpc_rcvd_sweep_req()
699 CTCM_D3_DUMP((char *)mpcginfo->sweep, TH_SWEEP_LENGTH); in mpc_rcvd_sweep_req()
703 kfree(mpcginfo); in mpc_rcvd_sweep_req()
1034 struct mpcg_info *mpcginfo; in ctcmpc_unpack_skb() local
1167 mpcginfo = kmalloc(sizeof(struct mpcg_info), GFP_ATOMIC); in ctcmpc_unpack_skb()
1168 if (mpcginfo == NULL) in ctcmpc_unpack_skb()
1171 mpcginfo->ch = ch; in ctcmpc_unpack_skb()
1172 mpcginfo->th = header; in ctcmpc_unpack_skb()
1173 mpcginfo->skb = pskb; in ctcmpc_unpack_skb()
1178 mpcginfo->sweep = sweep; in ctcmpc_unpack_skb()
1180 mpc_rcvd_sweep_req(mpcginfo); in ctcmpc_unpack_skb()
1182 mpc_rcvd_sweep_resp(mpcginfo); in ctcmpc_unpack_skb()
1186 mpcginfo->xid = thisxid; in ctcmpc_unpack_skb()
1187 fsm_event(grp->fsm, MPCG_EVENT_XID2, mpcginfo); in ctcmpc_unpack_skb()
1189 fsm_event(grp->fsm, MPCG_EVENT_DISCONC, mpcginfo); in ctcmpc_unpack_skb()
1199 kfree(mpcginfo); in ctcmpc_unpack_skb()
1477 struct mpcg_info *mpcginfo = arg; in mpc_action_discontact() local
1478 struct channel *ch = mpcginfo->ch; in mpc_action_discontact()
1529 static int mpc_validate_xid(struct mpcg_info *mpcginfo) in mpc_validate_xid() argument
1531 struct channel *ch = mpcginfo->ch; in mpc_validate_xid()
1535 struct xid2 *xid = mpcginfo->xid; in mpc_validate_xid()
1938 struct mpcg_info *mpcginfo = arg; in mpc_action_rcvd_xid0() local
1939 struct channel *ch = mpcginfo->ch; in mpc_action_rcvd_xid0()
1960 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid0()
1964 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid0()
1969 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid0()
1976 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid0()
1999 struct mpcg_info *mpcginfo = arg; in mpc_action_rcvd_xid7() local
2000 struct channel *ch = mpcginfo->ch; in mpc_action_rcvd_xid7()
2018 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid7()
2022 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid7()
2034 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid7()
2038 mpc_validate_xid(mpcginfo); in mpc_action_rcvd_xid7()