Searched refs:bnxt_adev (Results 1 – 2 of 2) sorted by relevance
436 struct bnxt_aux_dev *bnxt_adev = in bnxt_aux_dev_release() local438 struct bnxt_softc *bp = bnxt_adev->edev->softc; in bnxt_aux_dev_release()440 kfree(bnxt_adev->edev); in bnxt_aux_dev_release()441 bnxt_adev->edev = NULL; in bnxt_aux_dev_release()471 struct bnxt_aux_dev *bnxt_adev = softc->aux_dev; in bnxt_rdma_aux_device_del() local474 adev = &bnxt_adev->aux_dev; in bnxt_rdma_aux_device_del()484 struct bnxt_aux_dev *bnxt_adev = bp->aux_dev; in bnxt_rdma_aux_device_add() local485 struct bnxt_en_dev *edev = bnxt_adev->edev; in bnxt_rdma_aux_device_add()498 aux_dev = &bnxt_adev->aux_dev; in bnxt_rdma_aux_device_add()499 aux_dev->id = bnxt_adev->id; in bnxt_rdma_aux_device_add()[all …]
3100 struct bnxt_aux_dev *bnxt_adev; in bnxt_aux_dev_init() local3103 bnxt_adev = kzalloc(sizeof(*bnxt_adev), GFP_KERNEL); in bnxt_aux_dev_init()3104 if (!bnxt_adev) in bnxt_aux_dev_init()3107 return bnxt_adev; in bnxt_aux_dev_init()3112 struct bnxt_aux_dev *bnxt_adev = softc->aux_dev; in bnxt_rdma_aux_device_uninit() local3118 if (IS_ERR_OR_NULL(bnxt_adev)) in bnxt_rdma_aux_device_uninit()3123 if (bnxt_adev->id >= 0) in bnxt_rdma_aux_device_uninit()3124 ida_free(&bnxt_aux_dev_ids, bnxt_adev->id); in bnxt_rdma_aux_device_uninit()