Lines Matching refs:ddata

35 	struct panel_drv_data *ddata = to_panel_data(dssdev);  in tpd_connect()  local
36 struct omap_dss_device *in = ddata->in; in tpd_connect()
46 if (ddata->ct_cp_hpd_gpio) { in tpd_connect()
47 gpiod_set_value_cansleep(ddata->ct_cp_hpd_gpio, 1); in tpd_connect()
58 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpd_disconnect() local
59 struct omap_dss_device *in = ddata->in; in tpd_disconnect()
66 gpiod_set_value_cansleep(ddata->ct_cp_hpd_gpio, 0); in tpd_disconnect()
71 in->ops.hdmi->disconnect(in, &ddata->dssdev); in tpd_disconnect()
76 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpd_enable() local
77 struct omap_dss_device *in = ddata->in; in tpd_enable()
83 in->ops.hdmi->set_timings(in, &ddata->timings); in tpd_enable()
96 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpd_disable() local
97 struct omap_dss_device *in = ddata->in; in tpd_disable()
110 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpd_set_timings() local
111 struct omap_dss_device *in = ddata->in; in tpd_set_timings()
113 ddata->timings = *timings; in tpd_set_timings()
122 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpd_get_timings() local
124 *timings = ddata->timings; in tpd_get_timings()
130 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpd_check_timings() local
131 struct omap_dss_device *in = ddata->in; in tpd_check_timings()
142 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpd_read_edid() local
143 struct omap_dss_device *in = ddata->in; in tpd_read_edid()
146 if (!gpiod_get_value_cansleep(ddata->hpd_gpio)) in tpd_read_edid()
149 gpiod_set_value_cansleep(ddata->ls_oe_gpio, 1); in tpd_read_edid()
153 gpiod_set_value_cansleep(ddata->ls_oe_gpio, 0); in tpd_read_edid()
160 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpd_detect() local
162 return gpiod_get_value_cansleep(ddata->hpd_gpio); in tpd_detect()
168 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpd_set_infoframe() local
169 struct omap_dss_device *in = ddata->in; in tpd_set_infoframe()
177 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpd_set_hdmi_mode() local
178 struct omap_dss_device *in = ddata->in; in tpd_set_hdmi_mode()
202 struct panel_drv_data *ddata = platform_get_drvdata(pdev); in tpd_probe_of() local
212 ddata->in = in; in tpd_probe_of()
220 struct panel_drv_data *ddata; in tpd_probe() local
224 ddata = devm_kzalloc(&pdev->dev, sizeof(*ddata), GFP_KERNEL); in tpd_probe()
225 if (!ddata) in tpd_probe()
228 platform_set_drvdata(pdev, ddata); in tpd_probe()
245 ddata->ct_cp_hpd_gpio = gpio; in tpd_probe()
254 ddata->ls_oe_gpio = gpio; in tpd_probe()
263 ddata->hpd_gpio = gpio; in tpd_probe()
265 dssdev = &ddata->dssdev; in tpd_probe()
282 omap_dss_put_device(ddata->in); in tpd_probe()
288 struct panel_drv_data *ddata = platform_get_drvdata(pdev); in tpd_remove() local
289 struct omap_dss_device *dssdev = &ddata->dssdev; in tpd_remove()
290 struct omap_dss_device *in = ddata->in; in tpd_remove()
292 omapdss_unregister_output(&ddata->dssdev); in tpd_remove()