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 …]
2707 struct bnxt_aux_dev *bnxt_adev; in bnxt_aux_dev_init() local2710 bnxt_adev = kzalloc(sizeof(*bnxt_adev), GFP_KERNEL); in bnxt_aux_dev_init()2711 if (!bnxt_adev) in bnxt_aux_dev_init()2714 return bnxt_adev; in bnxt_aux_dev_init()2719 struct bnxt_aux_dev *bnxt_adev = softc->aux_dev; in bnxt_rdma_aux_device_uninit() local2725 if (IS_ERR_OR_NULL(bnxt_adev)) in bnxt_rdma_aux_device_uninit()2730 if (bnxt_adev->id >= 0) in bnxt_rdma_aux_device_uninit()2731 ida_free(&bnxt_aux_dev_ids, bnxt_adev->id); in bnxt_rdma_aux_device_uninit()