Lines Matching refs:dev

78 	return dev_get_drvdata(dssdev->dev);  in to_dsi_data()
707 r = pm_runtime_get_sync(dsi->dev); in dsi_runtime_get()
709 pm_runtime_put_noidle(dsi->dev); in dsi_runtime_get()
721 r = pm_runtime_put_sync(dsi->dev); in dsi_runtime_put()
3053 dev_err(dsi->dev, "failed to init dispc!\n"); in dsi_enable_video_output()
3076 dev_err(dsi->dev, "failed to enable DSI encoder!\n"); in dsi_enable_video_output()
4262 clk = devm_clk_get(dsi->dev, "fck"); in dsi_get_clocks()
4300 dev_err(dsi->dev, "TE not received for 250ms!\n"); in omap_dsi_te_timeout_work_callback()
4311 dsi->te_gpio = gpiod_get(&client->dev, "te-gpios", GPIOD_IN); in omap_dsi_register_te_irq()
4320 dev_err(dsi->dev, "Could not get TE gpio: %d\n", err); in omap_dsi_register_te_irq()
4339 dev_err(dsi->dev, "request irq failed with %d\n", err); in omap_dsi_register_te_irq()
4348 dev_dbg(dsi->dev, "Using GPIO TE\n"); in omap_dsi_register_te_irq()
4534 clk = devm_clk_get(dsi->dev, "sys_clk"); in dsi_init_pll_data()
4558 static int dsi_bind(struct device *dev, struct device *master, void *data) in dsi_bind() argument
4561 struct dsi_data *dsi = dev_get_drvdata(dev); in dsi_bind()
4575 dev_dbg(dev, "OMAP DSI rev %d.%d\n", in dsi_bind()
4597 static void dsi_unbind(struct device *dev, struct device *master, void *data) in dsi_unbind() argument
4599 struct dsi_data *dsi = dev_get_drvdata(dev); in dsi_unbind()
4704 dsi->bridge.of_node = dsi->host.dev->of_node; in dsi_bridge_init()
4726 out->dev = dsi->dev; in dsi_init_output()
4761 struct device_node *node = dsi->dev->of_node; in dsi_probe_of()
4774 dev_err(dsi->dev, "failed to find lane data\n"); in dsi_probe_of()
4783 dev_err(dsi->dev, "bad number of lanes\n"); in dsi_probe_of()
4790 dev_err(dsi->dev, "failed to read lane data\n"); in dsi_probe_of()
4796 dev_err(dsi->dev, "failed to configure pins"); in dsi_probe_of()
4890 struct device *dev = &pdev->dev; in dsi_probe() local
4896 dsi = devm_kzalloc(dev, sizeof(*dsi), GFP_KERNEL); in dsi_probe()
4900 dsi->dev = dev; in dsi_probe()
4901 dev_set_drvdata(dev, dsi); in dsi_probe()
4925 dsi->proto_base = devm_ioremap_resource(dev, dsi_mem); in dsi_probe()
4943 r = devm_request_irq(dev, dsi->irq, omap_dsi_irq_handler, in dsi_probe()
4944 IRQF_SHARED, dev_name(dev), dsi); in dsi_probe()
4950 dsi->vdds_dsi_reg = devm_regulator_get(dev, "vdd"); in dsi_probe()
4961 dsi->data = of_match_node(dsi_of_match, dev->of_node)->data; in dsi_probe()
5000 pm_runtime_enable(dev); in dsi_probe()
5014 dsi->host.dev = &pdev->dev; in dsi_probe()
5024 dev_err(&pdev->dev, "failed to register DSI host: %d\n", r); in dsi_probe()
5032 r = component_add(&pdev->dev, &dsi_component_ops); in dsi_probe()
5043 pm_runtime_disable(dev); in dsi_probe()
5051 component_del(&pdev->dev, &dsi_component_ops); in dsi_remove()
5057 pm_runtime_disable(&pdev->dev); in dsi_remove()
5065 static __maybe_unused int dsi_runtime_suspend(struct device *dev) in dsi_runtime_suspend() argument
5067 struct dsi_data *dsi = dev_get_drvdata(dev); in dsi_runtime_suspend()
5078 static __maybe_unused int dsi_runtime_resume(struct device *dev) in dsi_runtime_resume() argument
5080 struct dsi_data *dsi = dev_get_drvdata(dev); in dsi_runtime_resume()