Lines Matching defs:adev
286 static void bnxt_re_shutdown(struct auxiliary_device *adev)
288 struct bnxt_re_dev *rdev = auxiliary_get_drvdata(adev);
1614 static int bnxt_re_add_device(struct auxiliary_device *adev, u8 wqe_mode)
1617 container_of(adev, struct bnxt_aux_priv, aux_dev);
1622 /* en_dev should never be NULL as long as adev and aux_dev are valid. */
1641 auxiliary_set_drvdata(adev, rdev);
1729 static void bnxt_re_remove(struct auxiliary_device *adev)
1731 struct bnxt_re_dev *rdev = auxiliary_get_drvdata(adev);
1754 static int bnxt_re_probe(struct auxiliary_device *adev,
1761 rc = bnxt_re_add_device(adev, BNXT_QPLIB_WQE_MODE_STATIC);
1767 rdev = auxiliary_get_drvdata(adev);
1784 bnxt_re_remove(adev);
1789 static int bnxt_re_suspend(struct auxiliary_device *adev, pm_message_t state)
1791 struct bnxt_re_dev *rdev = auxiliary_get_drvdata(adev);
1826 static int bnxt_re_resume(struct auxiliary_device *adev)
1828 struct bnxt_re_dev *rdev = auxiliary_get_drvdata(adev);