Lines Matching full:ulp

112 	struct bnxt_ulp *ulp;  in bnxt_register_dev()  local
128 ulp = edev->ulp_tbl; in bnxt_register_dev()
129 ulp->handle = handle; in bnxt_register_dev()
130 rcu_assign_pointer(ulp->ulp_ops, ulp_ops); in bnxt_register_dev()
150 struct bnxt_ulp *ulp; in bnxt_unregister_dev() local
153 ulp = edev->ulp_tbl; in bnxt_unregister_dev()
156 if (ulp->msix_requested) in bnxt_unregister_dev()
160 if (ulp->max_async_event_id) in bnxt_unregister_dev()
163 RCU_INIT_POINTER(ulp->ulp_ops, NULL); in bnxt_unregister_dev()
165 ulp->max_async_event_id = 0; in bnxt_unregister_dev()
166 ulp->async_events_bmap = NULL; in bnxt_unregister_dev()
167 while (atomic_read(&ulp->ref_count) != 0 && i < 10) { in bnxt_unregister_dev()
305 struct bnxt_ulp *ulp = edev->ulp_tbl; in bnxt_ulp_irq_stop() local
307 if (!ulp->msix_requested) in bnxt_ulp_irq_stop()
310 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_irq_stop()
313 ops->ulp_irq_stop(ulp->handle); in bnxt_ulp_irq_stop()
326 struct bnxt_ulp *ulp = edev->ulp_tbl; in bnxt_ulp_irq_restart() local
329 if (!ulp->msix_requested) in bnxt_ulp_irq_restart()
332 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_irq_restart()
337 ent = kcalloc(ulp->msix_requested, sizeof(*ent), in bnxt_ulp_irq_restart()
343 ops->ulp_irq_restart(ulp->handle, ent); in bnxt_ulp_irq_restart()
354 struct bnxt_ulp *ulp; in bnxt_register_async_events() local
356 ulp = edev->ulp_tbl; in bnxt_register_async_events()
357 ulp->async_events_bmap = events_bmap; in bnxt_register_async_events()
360 ulp->max_async_event_id = max_id; in bnxt_register_async_events()
447 struct bnxt_ulp *ulp; in bnxt_rdma_aux_device_init() local
489 ulp = kzalloc(sizeof(*ulp), GFP_KERNEL); in bnxt_rdma_aux_device_init()
490 if (!ulp) in bnxt_rdma_aux_device_init()
493 edev->ulp_tbl = ulp; in bnxt_rdma_aux_device_init()