Lines Matching defs:dev
655 r = pm_runtime_get_sync(&dispc->pdev->dev);
666 r = pm_runtime_put_sync(&dispc->pdev->dev);
810 dev_err(&dispc->pdev->dev, "%s: failed to find scale coefs\n",
3891 gt = devm_kmalloc_array(&dispc->pdev->dev, gdesc->len,
4496 r = devm_request_irq(&dispc->pdev->dev, dispc->irq, dispc_irq_handler,
4508 devm_free_irq(&dispc->pdev->dev, dispc->irq, dispc);
4519 of_property_read_u32(dispc->pdev->dev.of_node, "max-memory-bandwidth",
4604 i734_buf.vaddr = dma_alloc_wc(&dispc->pdev->dev, i734_buf.size,
4607 dev_err(&dispc->pdev->dev, "%s: dma_alloc_wc failed\n",
4620 dma_free_wc(&dispc->pdev->dev, i734_buf.size, i734_buf.vaddr,
4670 dev_err(&dispc->pdev->dev, "%s: framedone timeout\n",
4744 static int dispc_bind(struct device *dev, struct device *master, void *data)
4746 struct platform_device *pdev = to_platform_device(dev);
4753 struct device_node *np = pdev->dev.of_node;
4771 dispc->feat = of_match_device(dispc_of_match, &pdev->dev)->data;
4778 dispc->base = devm_ioremap_resource(&pdev->dev, dispc_mem);
4794 dev_err(&pdev->dev, "failed to get syscon-pol regmap\n");
4801 dev_err(&pdev->dev, "failed to get syscon-pol offset\n");
4811 pm_runtime_enable(&pdev->dev);
4820 dev_dbg(&pdev->dev, "OMAP DISPC rev %d.%d\n",
4834 pm_runtime_disable(&pdev->dev);
4840 static void dispc_unbind(struct device *dev, struct device *master, void *data)
4842 struct dispc_device *dispc = dev_get_drvdata(dev);
4850 pm_runtime_disable(dev);
4864 return component_add(&pdev->dev, &dispc_component_ops);
4869 component_del(&pdev->dev, &dispc_component_ops);
4873 static int dispc_runtime_suspend(struct device *dev)
4875 struct dispc_device *dispc = dev_get_drvdata(dev);
4888 static int dispc_runtime_resume(struct device *dev)
4890 struct dispc_device *dispc = dev_get_drvdata(dev);