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()467 struct bnxt_aux_dev *bnxt_adev = softc->aux_dev; in bnxt_rdma_aux_device_del() local470 adev = &bnxt_adev->aux_dev; in bnxt_rdma_aux_device_del()480 struct bnxt_aux_dev *bnxt_adev = bp->aux_dev; in bnxt_rdma_aux_device_add() local481 struct bnxt_en_dev *edev = bnxt_adev->edev; in bnxt_rdma_aux_device_add()494 aux_dev = &bnxt_adev->aux_dev; in bnxt_rdma_aux_device_add()495 aux_dev->id = bnxt_adev->id; in bnxt_rdma_aux_device_add()[all …]
2946 struct bnxt_aux_dev *bnxt_adev; in bnxt_aux_dev_init() local2949 bnxt_adev = kzalloc(sizeof(*bnxt_adev), GFP_KERNEL); in bnxt_aux_dev_init()2950 if (!bnxt_adev) in bnxt_aux_dev_init()2953 return bnxt_adev; in bnxt_aux_dev_init()2958 struct bnxt_aux_dev *bnxt_adev = softc->aux_dev; in bnxt_rdma_aux_device_uninit() local2964 if (IS_ERR_OR_NULL(bnxt_adev)) in bnxt_rdma_aux_device_uninit()2969 if (bnxt_adev->id >= 0) in bnxt_rdma_aux_device_uninit()2970 ida_free(&bnxt_aux_dev_ids, bnxt_adev->id); in bnxt_rdma_aux_device_uninit()