Home
last modified time | relevance | path

Searched refs:aux_dev (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_ulp.c437 container_of(dev, struct bnxt_aux_dev, aux_dev.dev); in bnxt_aux_dev_release()
471 struct bnxt_aux_dev *bnxt_adev = softc->aux_dev; in bnxt_rdma_aux_device_del()
474 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()
486 struct auxiliary_device *aux_dev; in bnxt_rdma_aux_device_add() local
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()
500 aux_dev->name = "rdma"; in bnxt_rdma_aux_device_add()
501 aux_dev->dev.parent = &bp->pdev->dev; in bnxt_rdma_aux_device_add()
502 aux_dev->dev.release = bnxt_aux_dev_release; in bnxt_rdma_aux_device_add()
[all …]
H A Dif_bnxt.c2953 kfree(softc->aux_dev); in bnxt_aux_dev_free()
2954 softc->aux_dev = NULL; in bnxt_aux_dev_free()
2971 struct bnxt_aux_dev *bnxt_adev = softc->aux_dev; in bnxt_rdma_aux_device_uninit()
2995 softc->aux_dev = bnxt_aux_dev_init(softc); in bnxt_rdma_aux_device_init()
2996 if (IS_ERR_OR_NULL(softc->aux_dev)) { in bnxt_rdma_aux_device_init()
3001 softc->aux_dev->id = ida_alloc(&bnxt_aux_dev_ids, GFP_KERNEL); in bnxt_rdma_aux_device_init()
3002 if (softc->aux_dev->id < 0) { in bnxt_rdma_aux_device_init()
3014 ida_free(&bnxt_aux_dev_ids, softc->aux_dev->id); in bnxt_rdma_aux_device_init()
3017 __func__, __LINE__, softc->aux_dev->id); in bnxt_rdma_aux_device_init()
H A Dbnxt.h903 struct auxiliary_device aux_dev; member
1274 struct bnxt_aux_dev *aux_dev; member
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dbnxt_re.h716 struct auxiliary_device *aux_dev);
721 struct auxiliary_device *aux_dev);
726 struct auxiliary_device *aux_dev);
H A Dmain.c3852 struct auxiliary_device *aux_dev) in bnxt_re_remove_device() argument
3865 en_info = auxiliary_get_drvdata(aux_dev); in bnxt_re_remove_device()
3883 struct auxiliary_device *aux_dev) in bnxt_re_add_device() argument
3889 en_info = auxiliary_get_drvdata(aux_dev); in bnxt_re_add_device()
3894 if (gmod_exit || !aux_dev) { in bnxt_re_add_device()
3944 (*rdev)->adev = aux_dev; in bnxt_re_add_device()
4055 struct auxiliary_device *aux_dev; in bnxt_re_task() local
4136 aux_dev = rdev->adev; in bnxt_re_task()
4140 bnxt_re_remove_device(rdev, BNXT_RE_COMPLETE_REMOVE, aux_dev); in bnxt_re_task()
4373 struct bnxt_aux_dev *aux_dev = in bnxt_re_probe() local
[all …]
/freebsd/usr.sbin/bhyve/amd64/
H A Datkbdc.c115 struct aux_dev { struct
135 struct aux_dev aux; argument