Lines Matching refs:LanCtx
149 static u8 LanCtx = MPT_MAX_PROTOCOL_DRIVERS; variable
434 if (mpt_event_register(LanCtx, mpt_lan_event_process) != 0) { in mpt_lan_open()
467 mf = mpt_get_msg_frame(LanCtx, priv->mpt_dev); in mpt_lan_reset()
485 mpt_put_msg_frame(LanCtx, priv->mpt_dev, mf); in mpt_lan_reset()
501 mpt_event_deregister(LanCtx); in mpt_lan_close()
700 mf = mpt_get_msg_frame(LanCtx, mpt_dev); in mpt_lan_sdu_send()
782 mpt_put_msg_frame (LanCtx, mpt_dev, mf); in mpt_lan_sdu_send()
1167 mf = mpt_get_msg_frame(LanCtx, mpt_dev); in mpt_lan_post_receive_buckets()
1274 mpt_put_msg_frame(LanCtx, mpt_dev, mf); in mpt_lan_post_receive_buckets()
1454 LanCtx = mpt_register(lan_reply, MPTLAN_DRIVER, in mpt_lan_init()
1456 if (LanCtx <= 0) { in mpt_lan_init()
1461 dlprintk((KERN_INFO MYNAM ": assigned context of %d\n", LanCtx)); in mpt_lan_init()
1463 if (mpt_reset_register(LanCtx, mpt_lan_ioc_reset)) { in mpt_lan_init()
1479 mpt_reset_deregister(LanCtx); in mpt_lan_exit()
1481 if (LanCtx) { in mpt_lan_exit()
1482 mpt_deregister(LanCtx); in mpt_lan_exit()
1483 LanCtx = MPT_MAX_PROTOCOL_DRIVERS; in mpt_lan_exit()