Lines Matching defs:adev
966 static int mhuv2_tx_init(struct amba_device *adev, struct mhuv2 *mhu,
985 if (mhu->minor && adev->irq[0]) {
986 ret = devm_request_threaded_irq(dev, adev->irq[0], NULL,
995 mhu->irq = adev->irq[0];
1020 static int mhuv2_rx_init(struct amba_device *adev, struct mhuv2 *mhu,
1033 mhu->irq = adev->irq[0];
1057 static int mhuv2_probe(struct amba_device *adev, const struct amba_id *id)
1059 struct device *dev = &adev->dev;
1077 ret = mhuv2_tx_init(adev, mhu, reg);
1079 ret = mhuv2_rx_init(adev, mhu, reg);
1093 amba_set_drvdata(adev, mhu);
1102 static void mhuv2_remove(struct amba_device *adev)
1104 struct mhuv2 *mhu = amba_get_drvdata(adev);