Lines Matching refs:ulp
59 struct bnxt_ulp *ulp;
66 ulp = edev->ulp_tbl;
67 if (!ulp)
70 ulp->handle = handle;
71 rcu_assign_pointer(ulp->ulp_ops, ulp_ops);
86 struct bnxt_ulp *ulp;
89 ulp = edev->ulp_tbl;
90 if (ulp->msix_requested)
93 if (ulp->max_async_event_id)
96 RCU_INIT_POINTER(ulp->ulp_ops, NULL);
98 ulp->max_async_event_id = 0;
99 ulp->async_events_bmap = NULL;
100 while (atomic_read(&ulp->ref_count) != 0 && i < 10) {
240 struct bnxt_ulp *ulp = edev->ulp_tbl;
242 if (!ulp->msix_requested)
245 ops = rtnl_dereference(ulp->ulp_ops);
248 ops->ulp_irq_stop(ulp->handle);
261 struct bnxt_ulp *ulp = edev->ulp_tbl;
264 if (!ulp->msix_requested)
267 ops = rtnl_dereference(ulp->ulp_ops);
272 ent = kcalloc(ulp->msix_requested, sizeof(*ent),
278 ops->ulp_irq_restart(ulp->handle, ent);
289 struct bnxt_ulp *ulp;
291 ulp = edev->ulp_tbl;
292 ulp->async_events_bmap = events_bmap;
295 ulp->max_async_event_id = max_id;
358 struct bnxt_ulp *ulp;
400 ulp = kzalloc(sizeof(*ulp), GFP_KERNEL);
401 if (!ulp)
404 edev->ulp_tbl = ulp;