Lines Matching defs:ofdev
1422 static int sata_fsl_probe(struct platform_device *ofdev)
1436 dev_info(&ofdev->dev, "Sata FSL Platform/CSB Driver init\n");
1438 hcr_base = of_iomap(ofdev->dev.of_node, 0);
1445 if (!of_device_is_compatible(ofdev->dev.of_node, "fsl,mpc8315-sata")) {
1451 dev_dbg(&ofdev->dev, "@reset i/o = 0x%x\n",
1462 irq = platform_get_irq(ofdev, 0);
1469 if (of_device_is_compatible(ofdev->dev.of_node, "fsl,pq-sata-v2"))
1475 host = ata_host_alloc_pinfo(&ofdev->dev, ppi, SATA_FSL_MAX_PORTS);
1511 device_remove_file(&ofdev->dev, &host_priv->intr_coalescing);
1529 static void sata_fsl_remove(struct platform_device *ofdev)
1531 struct ata_host *host = platform_get_drvdata(ofdev);
1534 device_remove_file(&ofdev->dev, &host_priv->intr_coalescing);
1535 device_remove_file(&ofdev->dev, &host_priv->rx_watermark);