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 …]
2709 struct bnxt_aux_dev *bnxt_adev; in bnxt_aux_dev_init() 2712 bnxt_adev = kzalloc(sizeof(*bnxt_adev), GFP_KERNEL); in bnxt_aux_dev_init() 2713 if (!bnxt_adev) in bnxt_aux_dev_init() 2716 return bnxt_adev; in bnxt_rdma_aux_device_uninit() 2721 struct bnxt_aux_dev *bnxt_adev = softc->aux_dev; in bnxt_rdma_aux_device_uninit() 2727 if (IS_ERR_OR_NULL(bnxt_adev)) in bnxt_rdma_aux_device_uninit() 2732 if (bnxt_adev->id >= 0) in bnxt_rdma_aux_device_uninit() 2733 ida_free(&bnxt_aux_dev_ids, bnxt_adev->id);2705 struct bnxt_aux_dev *bnxt_adev; bnxt_aux_dev_init() local 2717 struct bnxt_aux_dev *bnxt_adev = softc->aux_dev; bnxt_rdma_aux_device_uninit() local