Lines Matching defs:ofdev
2401 static struct qe_udc __devinit *qe_udc_config(struct platform_device *ofdev)
2404 struct device_node *np = ofdev->dev.of_node;
2413 dev_err(&ofdev->dev, "malloc udc failed\n");
2417 udc->dev = &ofdev->dev;
2526 static int __devinit qe_udc_probe(struct platform_device *ofdev,
2529 struct device_node *np = ofdev->dev.of_node;
2540 udc_controller = qe_udc_config(ofdev);
2542 dev_err(&ofdev->dev, "failed to initialize\n");
2575 udc_controller->gadget.dev.parent = &ofdev->dev;
2691 static int __devexit qe_udc_remove(struct platform_device *ofdev)