Lines Matching refs:ddata

51 	struct panel_drv_data *ddata = to_panel_data(dssdev);  in hdmic_connect()  local
52 struct omap_dss_device *in = ddata->in; in hdmic_connect()
54 dev_dbg(ddata->dev, "connect\n"); in hdmic_connect()
64 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_disconnect() local
65 struct omap_dss_device *in = ddata->in; in hdmic_disconnect()
67 dev_dbg(ddata->dev, "disconnect\n"); in hdmic_disconnect()
77 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_enable() local
78 struct omap_dss_device *in = ddata->in; in hdmic_enable()
81 dev_dbg(ddata->dev, "enable\n"); in hdmic_enable()
89 in->ops.hdmi->set_timings(in, &ddata->timings); in hdmic_enable()
102 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_disable() local
103 struct omap_dss_device *in = ddata->in; in hdmic_disable()
105 dev_dbg(ddata->dev, "disable\n"); in hdmic_disable()
118 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_timings() local
119 struct omap_dss_device *in = ddata->in; in hdmic_set_timings()
121 ddata->timings = *timings; in hdmic_set_timings()
130 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_get_timings() local
132 *timings = ddata->timings; in hdmic_get_timings()
138 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_check_timings() local
139 struct omap_dss_device *in = ddata->in; in hdmic_check_timings()
147 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_read_edid() local
148 struct omap_dss_device *in = ddata->in; in hdmic_read_edid()
155 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_detect() local
156 struct omap_dss_device *in = ddata->in; in hdmic_detect()
158 if (gpio_is_valid(ddata->hpd_gpio)) in hdmic_detect()
159 return gpio_get_value_cansleep(ddata->hpd_gpio); in hdmic_detect()
166 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_hdmi_mode() local
167 struct omap_dss_device *in = ddata->in; in hdmic_set_hdmi_mode()
175 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_infoframe() local
176 struct omap_dss_device *in = ddata->in; in hdmic_set_infoframe()
202 struct panel_drv_data *ddata = platform_get_drvdata(pdev); in hdmic_probe_of() local
210 ddata->hpd_gpio = gpio; in hdmic_probe_of()
212 ddata->hpd_gpio = -ENODEV; in hdmic_probe_of()
220 ddata->in = in; in hdmic_probe_of()
227 struct panel_drv_data *ddata; in hdmic_probe() local
234 ddata = devm_kzalloc(&pdev->dev, sizeof(*ddata), GFP_KERNEL); in hdmic_probe()
235 if (!ddata) in hdmic_probe()
238 platform_set_drvdata(pdev, ddata); in hdmic_probe()
239 ddata->dev = &pdev->dev; in hdmic_probe()
245 if (gpio_is_valid(ddata->hpd_gpio)) { in hdmic_probe()
246 r = devm_gpio_request_one(&pdev->dev, ddata->hpd_gpio, in hdmic_probe()
252 ddata->timings = hdmic_default_timings; in hdmic_probe()
254 dssdev = &ddata->dssdev; in hdmic_probe()
269 omap_dss_put_device(ddata->in); in hdmic_probe()
275 struct panel_drv_data *ddata = platform_get_drvdata(pdev); in hdmic_remove() local
276 struct omap_dss_device *dssdev = &ddata->dssdev; in hdmic_remove()
277 struct omap_dss_device *in = ddata->in; in hdmic_remove()
279 omapdss_unregister_display(&ddata->dssdev); in hdmic_remove()