Home
last modified time | relevance | path

Searched refs:dssdev (Results 1 – 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddisplay-sysfs.c20 static ssize_t display_name_show(struct omap_dss_device *dssdev, char *buf) in display_name_show() argument
23 dssdev->name ? in display_name_show()
24 dssdev->name : ""); in display_name_show()
27 static ssize_t display_enabled_show(struct omap_dss_device *dssdev, char *buf) in display_enabled_show() argument
30 omapdss_device_is_enabled(dssdev)); in display_enabled_show()
33 static ssize_t display_enabled_store(struct omap_dss_device *dssdev, in display_enabled_store() argument
43 if (enable == omapdss_device_is_enabled(dssdev)) in display_enabled_store()
46 if (omapdss_device_is_connected(dssdev) == false) in display_enabled_store()
50 r = dssdev->driver->enable(dssdev); in display_enabled_store()
54 dssdev->driver->disable(dssdev); in display_enabled_store()
[all …]
Ddisplay.c24 void omapdss_default_get_resolution(struct omap_dss_device *dssdev, in omapdss_default_get_resolution() argument
27 *xres = dssdev->panel.timings.x_res; in omapdss_default_get_resolution()
28 *yres = dssdev->panel.timings.y_res; in omapdss_default_get_resolution()
32 int omapdss_default_get_recommended_bpp(struct omap_dss_device *dssdev) in omapdss_default_get_recommended_bpp() argument
34 switch (dssdev->type) { in omapdss_default_get_recommended_bpp()
36 if (dssdev->phy.dpi.data_lines == 24) in omapdss_default_get_recommended_bpp()
42 if (dssdev->ctrl.pixel_size == 24) in omapdss_default_get_recommended_bpp()
47 if (dsi_get_pixel_size(dssdev->panel.dsi_pix_fmt) > 16) in omapdss_default_get_recommended_bpp()
63 void omapdss_default_get_timings(struct omap_dss_device *dssdev, in omapdss_default_get_timings() argument
66 *timings = dssdev->panel.timings; in omapdss_default_get_timings()
[all …]
Dhdmi4.c111 static int hdmi_power_on_core(struct omap_dss_device *dssdev) in hdmi_power_on_core() argument
136 static void hdmi_power_off_core(struct omap_dss_device *dssdev) in hdmi_power_off_core() argument
144 static int hdmi_power_on_full(struct omap_dss_device *dssdev) in hdmi_power_on_full() argument
152 r = hdmi_power_on_core(dssdev); in hdmi_power_on_full()
219 hdmi_power_off_core(dssdev); in hdmi_power_on_full()
223 static void hdmi_power_off_full(struct omap_dss_device *dssdev) in hdmi_power_off_full() argument
237 hdmi_power_off_core(dssdev); in hdmi_power_off_full()
240 static int hdmi_display_check_timing(struct omap_dss_device *dssdev, in hdmi_display_check_timing() argument
251 static void hdmi_display_set_timing(struct omap_dss_device *dssdev, in hdmi_display_set_timing() argument
263 static void hdmi_display_get_timings(struct omap_dss_device *dssdev, in hdmi_display_get_timings() argument
[all …]
Dhdmi5.c128 static int hdmi_power_on_core(struct omap_dss_device *dssdev) in hdmi_power_on_core() argument
153 static void hdmi_power_off_core(struct omap_dss_device *dssdev) in hdmi_power_off_core() argument
161 static int hdmi_power_on_full(struct omap_dss_device *dssdev) in hdmi_power_on_full() argument
168 r = hdmi_power_on_core(dssdev); in hdmi_power_on_full()
236 hdmi_power_off_core(dssdev); in hdmi_power_on_full()
240 static void hdmi_power_off_full(struct omap_dss_device *dssdev) in hdmi_power_off_full() argument
254 hdmi_power_off_core(dssdev); in hdmi_power_off_full()
257 static int hdmi_display_check_timing(struct omap_dss_device *dssdev, in hdmi_display_check_timing() argument
272 static void hdmi_display_set_timing(struct omap_dss_device *dssdev, in hdmi_display_set_timing() argument
284 static void hdmi_display_get_timings(struct omap_dss_device *dssdev, in hdmi_display_get_timings() argument
[all …]
Dsdi.c104 static void sdi_config_lcd_manager(struct omap_dss_device *dssdev) in sdi_config_lcd_manager() argument
119 static int sdi_display_enable(struct omap_dss_device *dssdev) in sdi_display_enable() argument
167 sdi_config_lcd_manager(dssdev); in sdi_display_enable()
206 static void sdi_display_disable(struct omap_dss_device *dssdev) in sdi_display_disable() argument
219 static void sdi_set_timings(struct omap_dss_device *dssdev, in sdi_set_timings() argument
225 static void sdi_get_timings(struct omap_dss_device *dssdev, in sdi_get_timings() argument
231 static int sdi_check_timings(struct omap_dss_device *dssdev, in sdi_check_timings() argument
245 static void sdi_set_datapairs(struct omap_dss_device *dssdev, int datapairs) in sdi_set_datapairs() argument
269 static int sdi_connect(struct omap_dss_device *dssdev, in sdi_connect() argument
279 mgr = omap_dss_get_overlay_manager(dssdev->dispc_channel); in sdi_connect()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/displays/
Dencoder-opa362.c23 struct omap_dss_device dssdev; member
31 #define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
33 static int opa362_connect(struct omap_dss_device *dssdev, in opa362_connect() argument
36 struct panel_drv_data *ddata = to_panel_data(dssdev); in opa362_connect()
40 dev_dbg(dssdev->dev, "connect\n"); in opa362_connect()
42 if (omapdss_device_is_connected(dssdev)) in opa362_connect()
45 r = in->ops.atv->connect(in, dssdev); in opa362_connect()
49 dst->src = dssdev; in opa362_connect()
50 dssdev->dst = dst; in opa362_connect()
55 static void opa362_disconnect(struct omap_dss_device *dssdev, in opa362_disconnect() argument
[all …]
Dencoder-tfp410.c18 struct omap_dss_device dssdev; member
27 #define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
29 static int tfp410_connect(struct omap_dss_device *dssdev, in tfp410_connect() argument
32 struct panel_drv_data *ddata = to_panel_data(dssdev); in tfp410_connect()
36 if (omapdss_device_is_connected(dssdev)) in tfp410_connect()
39 r = in->ops.dpi->connect(in, dssdev); in tfp410_connect()
43 dst->src = dssdev; in tfp410_connect()
44 dssdev->dst = dst; in tfp410_connect()
49 static void tfp410_disconnect(struct omap_dss_device *dssdev, in tfp410_disconnect() argument
52 struct panel_drv_data *ddata = to_panel_data(dssdev); in tfp410_disconnect()
[all …]
Dencoder-tpd12s015.c20 struct omap_dss_device dssdev; member
30 #define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
32 static int tpd_connect(struct omap_dss_device *dssdev, in tpd_connect() argument
35 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpd_connect()
39 r = in->ops.hdmi->connect(in, dssdev); in tpd_connect()
43 dst->src = dssdev; in tpd_connect()
44 dssdev->dst = dst; in tpd_connect()
55 static void tpd_disconnect(struct omap_dss_device *dssdev, in tpd_disconnect() argument
58 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpd_disconnect()
61 WARN_ON(dst != dssdev->dst); in tpd_disconnect()
[all …]
Dconnector-analog-tv.c18 struct omap_dss_device dssdev; member
44 #define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
46 static int tvc_connect(struct omap_dss_device *dssdev) in tvc_connect() argument
48 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_connect()
54 if (omapdss_device_is_connected(dssdev)) in tvc_connect()
57 r = in->ops.atv->connect(in, dssdev); in tvc_connect()
64 static void tvc_disconnect(struct omap_dss_device *dssdev) in tvc_disconnect() argument
66 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_disconnect()
71 if (!omapdss_device_is_connected(dssdev)) in tvc_disconnect()
74 in->ops.atv->disconnect(in, dssdev); in tvc_disconnect()
[all …]
Dconnector-hdmi.c37 struct omap_dss_device dssdev; member
47 #define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
49 static int hdmic_connect(struct omap_dss_device *dssdev) in hdmic_connect() argument
51 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_connect()
57 if (omapdss_device_is_connected(dssdev)) in hdmic_connect()
60 r = in->ops.hdmi->connect(in, dssdev); in hdmic_connect()
67 static void hdmic_disconnect(struct omap_dss_device *dssdev) in hdmic_disconnect() argument
69 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_disconnect()
74 if (!omapdss_device_is_connected(dssdev)) in hdmic_disconnect()
77 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect()
[all …]
Dpanel-dpi.c21 struct omap_dss_device dssdev; member
34 #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev)
36 static int panel_dpi_connect(struct omap_dss_device *dssdev) in panel_dpi_connect() argument
38 struct panel_drv_data *ddata = to_panel_data(dssdev); in panel_dpi_connect()
42 if (omapdss_device_is_connected(dssdev)) in panel_dpi_connect()
45 r = in->ops.dpi->connect(in, dssdev); in panel_dpi_connect()
52 static void panel_dpi_disconnect(struct omap_dss_device *dssdev) in panel_dpi_disconnect() argument
54 struct panel_drv_data *ddata = to_panel_data(dssdev); in panel_dpi_disconnect()
57 if (!omapdss_device_is_connected(dssdev)) in panel_dpi_disconnect()
60 in->ops.dpi->disconnect(in, dssdev); in panel_dpi_disconnect()
[all …]
Dconnector-dvi.c40 struct omap_dss_device dssdev; member
48 #define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
50 static int dvic_connect(struct omap_dss_device *dssdev) in dvic_connect() argument
52 struct panel_drv_data *ddata = to_panel_data(dssdev); in dvic_connect()
56 if (omapdss_device_is_connected(dssdev)) in dvic_connect()
59 r = in->ops.dvi->connect(in, dssdev); in dvic_connect()
66 static void dvic_disconnect(struct omap_dss_device *dssdev) in dvic_disconnect() argument
68 struct panel_drv_data *ddata = to_panel_data(dssdev); in dvic_disconnect()
71 if (!omapdss_device_is_connected(dssdev)) in dvic_disconnect()
74 in->ops.dvi->disconnect(in, dssdev); in dvic_disconnect()
[all …]
Dpanel-sharp-ls037v7dw01.c20 struct omap_dss_device dssdev; member
56 #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev)
58 static int sharp_ls_connect(struct omap_dss_device *dssdev) in sharp_ls_connect() argument
60 struct panel_drv_data *ddata = to_panel_data(dssdev); in sharp_ls_connect()
64 if (omapdss_device_is_connected(dssdev)) in sharp_ls_connect()
67 r = in->ops.dpi->connect(in, dssdev); in sharp_ls_connect()
74 static void sharp_ls_disconnect(struct omap_dss_device *dssdev) in sharp_ls_disconnect() argument
76 struct panel_drv_data *ddata = to_panel_data(dssdev); in sharp_ls_disconnect()
79 if (!omapdss_device_is_connected(dssdev)) in sharp_ls_disconnect()
82 in->ops.dpi->disconnect(in, dssdev); in sharp_ls_disconnect()
[all …]
Dpanel-lgphilips-lb035q02.c40 struct omap_dss_device dssdev; member
55 #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev)
117 static int lb035q02_connect(struct omap_dss_device *dssdev) in lb035q02_connect() argument
119 struct panel_drv_data *ddata = to_panel_data(dssdev); in lb035q02_connect()
123 if (omapdss_device_is_connected(dssdev)) in lb035q02_connect()
126 r = in->ops.dpi->connect(in, dssdev); in lb035q02_connect()
135 static void lb035q02_disconnect(struct omap_dss_device *dssdev) in lb035q02_disconnect() argument
137 struct panel_drv_data *ddata = to_panel_data(dssdev); in lb035q02_disconnect()
140 if (!omapdss_device_is_connected(dssdev)) in lb035q02_disconnect()
143 in->ops.dpi->disconnect(in, dssdev); in lb035q02_disconnect()
[all …]
Dpanel-nec-nl8048hl11.c20 struct omap_dss_device dssdev; member
83 #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev)
116 static int nec_8048_connect(struct omap_dss_device *dssdev) in nec_8048_connect() argument
118 struct panel_drv_data *ddata = to_panel_data(dssdev); in nec_8048_connect()
122 if (omapdss_device_is_connected(dssdev)) in nec_8048_connect()
125 r = in->ops.dpi->connect(in, dssdev); in nec_8048_connect()
132 static void nec_8048_disconnect(struct omap_dss_device *dssdev) in nec_8048_disconnect() argument
134 struct panel_drv_data *ddata = to_panel_data(dssdev); in nec_8048_disconnect()
137 if (!omapdss_device_is_connected(dssdev)) in nec_8048_disconnect()
140 in->ops.dpi->disconnect(in, dssdev); in nec_8048_disconnect()
[all …]
Dpanel-tpo-td028ttec1.c23 struct omap_dss_device dssdev; member
156 #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev)
158 static int td028ttec1_panel_connect(struct omap_dss_device *dssdev) in td028ttec1_panel_connect() argument
160 struct panel_drv_data *ddata = to_panel_data(dssdev); in td028ttec1_panel_connect()
164 if (omapdss_device_is_connected(dssdev)) in td028ttec1_panel_connect()
167 r = in->ops.dpi->connect(in, dssdev); in td028ttec1_panel_connect()
174 static void td028ttec1_panel_disconnect(struct omap_dss_device *dssdev) in td028ttec1_panel_disconnect() argument
176 struct panel_drv_data *ddata = to_panel_data(dssdev); in td028ttec1_panel_disconnect()
179 if (!omapdss_device_is_connected(dssdev)) in td028ttec1_panel_disconnect()
182 in->ops.dpi->disconnect(in, dssdev); in td028ttec1_panel_disconnect()
[all …]
Dpanel-tpo-td043mtea1.c52 struct omap_dss_device dssdev; member
92 #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev)
151 static int tpo_td043_set_hmirror(struct omap_dss_device *dssdev, bool enable) in tpo_td043_set_hmirror() argument
153 struct panel_drv_data *ddata = dev_get_drvdata(dssdev->dev); in tpo_td043_set_hmirror()
160 static bool tpo_td043_get_hmirror(struct omap_dss_device *dssdev) in tpo_td043_get_hmirror() argument
162 struct panel_drv_data *ddata = dev_get_drvdata(dssdev->dev); in tpo_td043_get_hmirror()
336 static int tpo_td043_connect(struct omap_dss_device *dssdev) in tpo_td043_connect() argument
338 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpo_td043_connect()
342 if (omapdss_device_is_connected(dssdev)) in tpo_td043_connect()
345 r = in->ops.dpi->connect(in, dssdev); in tpo_td043_connect()
[all …]
Dpanel-sony-acx565akm.c57 struct omap_dss_device dssdev; member
103 #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev)
505 static int acx565akm_connect(struct omap_dss_device *dssdev) in acx565akm_connect() argument
507 struct panel_drv_data *ddata = to_panel_data(dssdev); in acx565akm_connect()
511 if (omapdss_device_is_connected(dssdev)) in acx565akm_connect()
514 r = in->ops.sdi->connect(in, dssdev); in acx565akm_connect()
521 static void acx565akm_disconnect(struct omap_dss_device *dssdev) in acx565akm_disconnect() argument
523 struct panel_drv_data *ddata = to_panel_data(dssdev); in acx565akm_disconnect()
526 if (!omapdss_device_is_connected(dssdev)) in acx565akm_disconnect()
529 in->ops.sdi->disconnect(in, dssdev); in acx565akm_disconnect()
[all …]
/kernel/linux/linux-5.10/include/video/
Domapfb_dss.h438 int (*connect)(struct omap_dss_device *dssdev,
440 void (*disconnect)(struct omap_dss_device *dssdev,
443 int (*enable)(struct omap_dss_device *dssdev);
444 void (*disable)(struct omap_dss_device *dssdev);
446 int (*check_timings)(struct omap_dss_device *dssdev,
448 void (*set_timings)(struct omap_dss_device *dssdev,
450 void (*get_timings)(struct omap_dss_device *dssdev,
453 void (*set_data_lines)(struct omap_dss_device *dssdev, int data_lines);
457 int (*connect)(struct omap_dss_device *dssdev,
459 void (*disconnect)(struct omap_dss_device *dssdev,
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Dbase.c53 void omapdss_device_register(struct omap_dss_device *dssdev) in omapdss_device_register() argument
56 list_add_tail(&dssdev->list, &omapdss_devices_list); in omapdss_device_register()
61 void omapdss_device_unregister(struct omap_dss_device *dssdev) in omapdss_device_unregister() argument
64 list_del(&dssdev->list); in omapdss_device_unregister()
71 struct omap_dss_device *dssdev; in omapdss_device_is_registered() local
76 list_for_each_entry(dssdev, &omapdss_devices_list, list) { in omapdss_device_is_registered()
77 if (dssdev->dev->of_node == node) { in omapdss_device_is_registered()
87 struct omap_dss_device *omapdss_device_get(struct omap_dss_device *dssdev) in omapdss_device_get() argument
89 if (!try_module_get(dssdev->owner)) in omapdss_device_get()
92 if (get_device(dssdev->dev) == NULL) { in omapdss_device_get()
[all …]
Doutput.c118 void dss_mgr_set_timings(struct omap_dss_device *dssdev, in dss_mgr_set_timings() argument
121 dssdev->dss->mgr_ops->set_timings(dssdev->dss->mgr_ops_priv, in dss_mgr_set_timings()
122 dssdev->dispc_channel, vm); in dss_mgr_set_timings()
126 void dss_mgr_set_lcd_config(struct omap_dss_device *dssdev, in dss_mgr_set_lcd_config() argument
129 dssdev->dss->mgr_ops->set_lcd_config(dssdev->dss->mgr_ops_priv, in dss_mgr_set_lcd_config()
130 dssdev->dispc_channel, config); in dss_mgr_set_lcd_config()
134 int dss_mgr_enable(struct omap_dss_device *dssdev) in dss_mgr_enable() argument
136 return dssdev->dss->mgr_ops->enable(dssdev->dss->mgr_ops_priv, in dss_mgr_enable()
137 dssdev->dispc_channel); in dss_mgr_enable()
141 void dss_mgr_disable(struct omap_dss_device *dssdev) in dss_mgr_disable() argument
[all …]
Domapdss.h289 void (*disable)(struct omap_dss_device *dssdev, bool disconnect_lanes,
293 int (*set_config)(struct omap_dss_device *dssdev,
295 int (*configure_pins)(struct omap_dss_device *dssdev,
298 void (*enable_hs)(struct omap_dss_device *dssdev, int channel,
300 int (*enable_te)(struct omap_dss_device *dssdev, bool enable);
302 int (*update)(struct omap_dss_device *dssdev, int channel,
305 void (*bus_lock)(struct omap_dss_device *dssdev);
306 void (*bus_unlock)(struct omap_dss_device *dssdev);
308 int (*enable_video_output)(struct omap_dss_device *dssdev, int channel);
309 void (*disable_video_output)(struct omap_dss_device *dssdev,
[all …]
Ddisplay.c22 void omapdss_display_init(struct omap_dss_device *dssdev) in omapdss_display_init() argument
30 id = of_alias_get_id(dssdev->dev->of_node, "display"); in omapdss_display_init()
35 of_property_read_string(dssdev->dev->of_node, "label", &dssdev->name); in omapdss_display_init()
37 if (dssdev->name == NULL) in omapdss_display_init()
38 dssdev->name = devm_kasprintf(dssdev->dev, GFP_KERNEL, in omapdss_display_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Domap_connector.c47 struct omap_dss_device *dssdev = NULL; in omap_connector_get_modes() local
58 dssdev = d; in omap_connector_get_modes()
61 if (dssdev) in omap_connector_get_modes()
62 return dssdev->ops->get_modes(dssdev, connector); in omap_connector_get_modes()
68 enum drm_mode_status omap_connector_mode_fixup(struct omap_dss_device *dssdev, in omap_connector_mode_fixup() argument
76 for (; dssdev; dssdev = dssdev->next) { in omap_connector_mode_fixup()
77 if (!dssdev->ops || !dssdev->ops->check_timings) in omap_connector_mode_fixup()
80 ret = dssdev->ops->check_timings(dssdev, adjusted_mode); in omap_connector_mode_fixup()
Domap_encoder.c78 struct omap_dss_device *dssdev; in omap_encoder_mode_set() local
101 for (dssdev = output; dssdev; dssdev = dssdev->next) in omap_encoder_mode_set()
102 omap_encoder_update_videomode_flags(&vm, dssdev->bus_flags); in omap_encoder_mode_set()
123 struct omap_dss_device *dssdev = omap_encoder->output; in omap_encoder_disable() local
126 dev_dbg(dev->dev, "disable(%s)\n", dssdev->name); in omap_encoder_disable()
133 omapdss_device_disable(dssdev->next); in omap_encoder_disable()
139 struct omap_dss_device *dssdev = omap_encoder->output; in omap_encoder_enable() local
142 dev_dbg(dev->dev, "enable(%s)\n", dssdev->name); in omap_encoder_enable()
149 omapdss_device_enable(dssdev->next); in omap_encoder_enable()

12