Lines Matching full:agent
46 static void rvt_send_mad_handler(struct ib_mad_agent *agent, in rvt_send_mad_handler() argument
56 * If driver needs to be notified of mad agent creation then call back
62 struct ib_mad_agent *agent; in rvt_create_mad_agents() local
69 agent = ib_register_mad_agent(&rdi->ibdev, p + 1, in rvt_create_mad_agents()
73 if (IS_ERR(agent)) { in rvt_create_mad_agents()
74 ret = PTR_ERR(agent); in rvt_create_mad_agents()
78 rvp->send_agent = agent; in rvt_create_mad_agents()
90 agent = rvp->send_agent; in rvt_create_mad_agents()
92 ib_unregister_mad_agent(agent); in rvt_create_mad_agents()
105 * If driver needs notification of mad agent removal make the call back
109 struct ib_mad_agent *agent; in rvt_free_mad_agents() local
116 agent = rvp->send_agent; in rvt_free_mad_agents()
118 ib_unregister_mad_agent(agent); in rvt_free_mad_agents()