Searched refs:aux_dev (Results 1 – 6 of 6) sorted by relevance
437 container_of(dev, struct bnxt_aux_dev, aux_dev.dev); in bnxt_aux_dev_release()467 struct bnxt_aux_dev *bnxt_adev = softc->aux_dev; in bnxt_rdma_aux_device_del()470 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()482 struct auxiliary_device *aux_dev; in bnxt_rdma_aux_device_add() local494 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()496 aux_dev->name = "rdma"; in bnxt_rdma_aux_device_add()497 aux_dev->dev.parent = &bp->pdev->dev; in bnxt_rdma_aux_device_add()498 aux_dev->dev.release = bnxt_aux_dev_release; in bnxt_rdma_aux_device_add()[all …]
2701 kfree(softc->aux_dev); in bnxt_aux_dev_free()2702 softc->aux_dev = NULL; in bnxt_aux_dev_free()2719 struct bnxt_aux_dev *bnxt_adev = softc->aux_dev; in bnxt_rdma_aux_device_uninit()2743 softc->aux_dev = bnxt_aux_dev_init(softc); in bnxt_rdma_aux_device_init()2744 if (IS_ERR_OR_NULL(softc->aux_dev)) { in bnxt_rdma_aux_device_init()2749 softc->aux_dev->id = ida_alloc(&bnxt_aux_dev_ids, GFP_KERNEL); in bnxt_rdma_aux_device_init()2750 if (softc->aux_dev->id < 0) { in bnxt_rdma_aux_device_init()2762 ida_free(&bnxt_aux_dev_ids, softc->aux_dev->id); in bnxt_rdma_aux_device_init()2765 __func__, __LINE__, softc->aux_dev->id); in bnxt_rdma_aux_device_init()
845 struct auxiliary_device aux_dev; member1193 struct bnxt_aux_dev *aux_dev; member
715 struct auxiliary_device *aux_dev);720 struct auxiliary_device *aux_dev);725 struct auxiliary_device *aux_dev);
3826 struct auxiliary_device *aux_dev) in bnxt_re_remove_device() argument3839 en_info = auxiliary_get_drvdata(aux_dev); in bnxt_re_remove_device()3857 struct auxiliary_device *aux_dev) in bnxt_re_add_device() argument3863 en_info = auxiliary_get_drvdata(aux_dev); in bnxt_re_add_device()3868 if (gmod_exit || !aux_dev) { in bnxt_re_add_device()3918 (*rdev)->adev = aux_dev; in bnxt_re_add_device()4029 struct auxiliary_device *aux_dev; in bnxt_re_task() local4110 aux_dev = rdev->adev; in bnxt_re_task()4114 bnxt_re_remove_device(rdev, BNXT_RE_COMPLETE_REMOVE, aux_dev); in bnxt_re_task()4347 struct bnxt_aux_dev *aux_dev = in bnxt_re_probe() local[all …]
115 struct aux_dev { struct135 struct aux_dev aux; argument