Lines Matching refs:LanCtx
152 static u8 LanCtx = MPT_MAX_PROTOCOL_DRIVERS; variable
437 if (mpt_event_register(LanCtx, mpt_lan_event_process) != 0) { in mpt_lan_open()
470 mf = mpt_get_msg_frame(LanCtx, priv->mpt_dev); in mpt_lan_reset()
488 mpt_put_msg_frame(LanCtx, priv->mpt_dev, mf); in mpt_lan_reset()
504 mpt_event_deregister(LanCtx); in mpt_lan_close()
702 mf = mpt_get_msg_frame(LanCtx, mpt_dev); in mpt_lan_sdu_send()
784 mpt_put_msg_frame (LanCtx, mpt_dev, mf); in mpt_lan_sdu_send()
1165 mf = mpt_get_msg_frame(LanCtx, mpt_dev); in mpt_lan_post_receive_buckets()
1271 mpt_put_msg_frame(LanCtx, mpt_dev, mf); in mpt_lan_post_receive_buckets()
1449 LanCtx = mpt_register(lan_reply, MPTLAN_DRIVER, in mpt_lan_init()
1451 if (LanCtx <= 0) { in mpt_lan_init()
1456 dlprintk((KERN_INFO MYNAM ": assigned context of %d\n", LanCtx)); in mpt_lan_init()
1458 if (mpt_reset_register(LanCtx, mpt_lan_ioc_reset)) { in mpt_lan_init()
1474 mpt_reset_deregister(LanCtx); in mpt_lan_exit()
1476 if (LanCtx) { in mpt_lan_exit()
1477 mpt_deregister(LanCtx); in mpt_lan_exit()
1478 LanCtx = MPT_MAX_PROTOCOL_DRIVERS; in mpt_lan_exit()