Home
last modified time | relevance | path

Searched refs:drm_panel (Results 1 – 25 of 145) sorted by relevance

123456

/linux/include/drm/
H A Ddrm_panel.h38 struct drm_panel;
81 int (*prepare)(struct drm_panel *panel);
90 int (*enable)(struct drm_panel *panel);
99 int (*disable)(struct drm_panel *panel);
108 int (*unprepare)(struct drm_panel *panel);
118 int (*get_modes)(struct drm_panel *panel,
128 enum drm_panel_orientation (*get_orientation)(struct drm_panel *panel);
138 int (*get_timings)(struct drm_panel *panel, unsigned int num_timings,
146 void (*debugfs_init)(struct drm_panel *panel, struct dentry *root);
185 struct drm_panel *panel;
[all …]
/linux/drivers/gpu/drm/panel/
H A Dpanel-orisetech-ota5601a.c34 struct drm_panel drm_panel; member
42 static inline struct ota5601a *to_ota5601a(struct drm_panel *panel) in to_ota5601a()
44 return container_of(panel, struct ota5601a, drm_panel); in to_ota5601a()
111 static int ota5601a_prepare(struct drm_panel *drm_panel) in ota5601a_prepare() argument
113 struct ota5601a *panel = to_ota5601a(drm_panel); in ota5601a_prepare()
118 dev_err(drm_panel->dev, "Failed to enable power supply: %d\n", err); in ota5601a_prepare()
132 dev_err(drm_panel->dev, "Failed to init registers: %d\n", err); in ota5601a_prepare()
145 static int ota5601a_unprepare(struct drm_panel *drm_panel) in ota5601a_unprepare() argument
147 struct ota5601a *panel = to_ota5601a(drm_panel); in ota5601a_unprepare()
156 static int ota5601a_enable(struct drm_panel *drm_panel) in ota5601a_enable() argument
[all …]
H A Dpanel-novatek-nt39016.c57 struct drm_panel drm_panel; member
65 static inline struct nt39016 *to_nt39016(struct drm_panel *panel) in to_nt39016()
67 return container_of(panel, struct nt39016, drm_panel); in to_nt39016()
118 static int nt39016_prepare(struct drm_panel *drm_panel) in nt39016_prepare() argument
120 struct nt39016 *panel = to_nt39016(drm_panel); in nt39016_prepare()
125 dev_err(drm_panel->dev, "Failed to enable power supply: %d\n", err); in nt39016_prepare()
144 dev_err(drm_panel->dev, "Failed to init registers: %d\n", err); in nt39016_prepare()
155 static int nt39016_unprepare(struct drm_panel *drm_panel) in nt39016_unprepare() argument
157 struct nt39016 *panel = to_nt39016(drm_panel); in nt39016_unprepare()
166 static int nt39016_enable(struct drm_panel *drm_panel) in nt39016_enable() argument
[all …]
H A Dpanel-osd-osd101t2587-53ts.c19 struct drm_panel base;
27 static inline struct osd101t2587_panel *ti_osd_panel(struct drm_panel *panel) in ti_osd_panel()
32 static int osd101t2587_panel_disable(struct drm_panel *panel) in osd101t2587_panel_disable()
42 static int osd101t2587_panel_unprepare(struct drm_panel *panel) in osd101t2587_panel_unprepare()
51 static int osd101t2587_panel_prepare(struct drm_panel *panel) in osd101t2587_panel_prepare()
58 static int osd101t2587_panel_enable(struct drm_panel *panel) in osd101t2587_panel_enable()
83 static int osd101t2587_panel_get_modes(struct drm_panel *panel, in osd101t2587_panel_get_modes()
H A Dpanel-ronbo-rb070d30.c28 struct drm_panel panel;
40 static inline struct rb070d30_panel *panel_to_rb070d30_panel(struct drm_panel *panel) in panel_to_rb070d30_panel()
45 static int rb070d30_panel_prepare(struct drm_panel *panel) in rb070d30_panel_prepare()
64 static int rb070d30_panel_unprepare(struct drm_panel *panel) in rb070d30_panel_unprepare()
75 static int rb070d30_panel_enable(struct drm_panel *panel) in rb070d30_panel_enable()
82 static int rb070d30_panel_disable(struct drm_panel *panel) in rb070d30_panel_disable()
105 static int rb070d30_panel_get_modes(struct drm_panel *panel, in rb070d30_panel_get_modes()
H A Dpanel-samsung-s6d16d0.c19 struct drm_panel panel;
43 static inline struct s6d16d0 *panel_to_s6d16d0(struct drm_panel *panel) in panel_to_s6d16d0()
48 static int s6d16d0_unprepare(struct drm_panel *panel) in s6d16d0_unprepare()
68 static int s6d16d0_prepare(struct drm_panel *panel) in s6d16d0_prepare()
104 static int s6d16d0_enable(struct drm_panel *panel) in s6d16d0_enable()
119 static int s6d16d0_disable(struct drm_panel *panel) in s6d16d0_disable()
134 static int s6d16d0_get_modes(struct drm_panel *panel, in s6d16d0_get_modes()
H A Dpanel-feiyang-fy07024di26a30d.c20 struct drm_panel panel;
28 static inline struct feiyang *panel_to_feiyang(struct drm_panel *panel) in panel_to_feiyang()
47 static int feiyang_prepare(struct drm_panel *panel) in feiyang_prepare()
94 static int feiyang_enable(struct drm_panel *panel) in feiyang_enable()
106 static int feiyang_disable(struct drm_panel *panel) in feiyang_disable()
113 static int feiyang_unprepare(struct drm_panel *panel) in feiyang_unprepare()
157 static int feiyang_get_modes(struct drm_panel *panel, in feiyang_get_modes()
H A Dpanel-innolux-ej030na.c31 struct drm_panel panel;
41 static inline struct ej030na *to_ej030na(struct drm_panel *panel) in to_ej030na()
86 static int ej030na_prepare(struct drm_panel *panel) in ej030na_prepare()
118 static int ej030na_unprepare(struct drm_panel *panel) in ej030na_unprepare()
128 static int ej030na_enable(struct drm_panel *panel) in ej030na_enable()
143 static int ej030na_disable(struct drm_panel *panel) in ej030na_disable()
153 static int ej030na_get_modes(struct drm_panel *panel, in ej030na_get_modes()
H A Dpanel-lincolntech-lcd197.c21 struct drm_panel panel;
29 struct lincoln_lcd197_panel *to_lincoln_lcd197_panel(struct drm_panel *panel) in to_lincoln_lcd197_panel()
34 static int lincoln_lcd197_panel_prepare(struct drm_panel *panel) in lincoln_lcd197_panel_prepare()
116 static int lincoln_lcd197_panel_unprepare(struct drm_panel *panel) in lincoln_lcd197_panel_unprepare()
130 static int lincoln_lcd197_panel_enable(struct drm_panel *panel) in lincoln_lcd197_panel_enable()
141 static int lincoln_lcd197_panel_disable(struct drm_panel *panel) in lincoln_lcd197_panel_disable()
168 static int lincoln_lcd197_panel_get_modes(struct drm_panel *panel, in lincoln_lcd197_panel_get_modes()
H A Dpanel-panasonic-vvx10f034n00.c30 struct drm_panel base;
40 static inline struct wuxga_nt_panel *to_wuxga_nt_panel(struct drm_panel *panel) in to_wuxga_nt_panel()
50 static int wuxga_nt_panel_disable(struct drm_panel *panel) in wuxga_nt_panel_disable()
57 static int wuxga_nt_panel_unprepare(struct drm_panel *panel) in wuxga_nt_panel_unprepare()
67 static int wuxga_nt_panel_prepare(struct drm_panel *panel) in wuxga_nt_panel_prepare()
122 static int wuxga_nt_panel_get_modes(struct drm_panel *panel, in wuxga_nt_panel_get_modes()
H A Dpanel-sharp-ls037v7dw01.c25 struct drm_panel panel;
39 static int ls037v7dw01_disable(struct drm_panel *panel) in ls037v7dw01_disable()
52 static int ls037v7dw01_unprepare(struct drm_panel *panel) in ls037v7dw01_unprepare()
60 static int ls037v7dw01_prepare(struct drm_panel *panel) in ls037v7dw01_prepare()
73 static int ls037v7dw01_enable(struct drm_panel *panel) in ls037v7dw01_enable()
102 static int ls037v7dw01_get_modes(struct drm_panel *panel, in ls037v7dw01_get_modes()
H A Dpanel-boe-himax8279d.c43 struct drm_panel base;
52 static inline struct panel_info *to_panel_info(struct drm_panel *panel) in to_panel_info()
64 static int send_mipi_cmds(struct drm_panel *panel, const struct panel_cmd *cmds) in send_mipi_cmds()
81 static int boe_panel_disable(struct drm_panel *panel) in boe_panel_disable()
95 static int boe_panel_unprepare(struct drm_panel *panel) in boe_panel_unprepare()
116 static int boe_panel_prepare(struct drm_panel *panel) in boe_panel_prepare()
174 static int boe_panel_enable(struct drm_panel *panel) in boe_panel_enable()
190 static int boe_panel_get_modes(struct drm_panel *panel, in boe_panel_get_modes()
H A Dpanel-lvds.c27 struct drm_panel panel;
45 static inline struct panel_lvds *to_panel_lvds(struct drm_panel *panel) in to_panel_lvds()
50 static int panel_lvds_unprepare(struct drm_panel *panel) in panel_lvds_unprepare()
63 static int panel_lvds_prepare(struct drm_panel *panel) in panel_lvds_prepare()
84 static int panel_lvds_get_modes(struct drm_panel *panel, in panel_lvds_get_modes()
112 static enum drm_panel_orientation panel_lvds_get_orientation(struct drm_panel *panel) in panel_lvds_get_orientation()
H A Dpanel-samsung-s6d27a1.c45 struct drm_panel panel;
69 static inline struct s6d27a1 *to_s6d27a1(struct drm_panel *panel) in to_s6d27a1()
171 static int s6d27a1_unprepare(struct drm_panel *panel) in s6d27a1_unprepare()
181 static int s6d27a1_disable(struct drm_panel *panel) in s6d27a1_disable()
192 static int s6d27a1_prepare(struct drm_panel *panel) in s6d27a1_prepare()
197 static int s6d27a1_enable(struct drm_panel *panel) in s6d27a1_enable()
207 static int s6d27a1_get_modes(struct drm_panel *panel, in s6d27a1_get_modes()
H A Dpanel-samsung-db7430.c58 struct drm_panel panel;
84 static inline struct db7430 *to_db7430(struct drm_panel *panel) in to_db7430()
172 static int db7430_unprepare(struct drm_panel *panel) in db7430_unprepare()
177 static int db7430_disable(struct drm_panel *panel) in db7430_disable()
190 static int db7430_prepare(struct drm_panel *panel) in db7430_prepare()
195 static int db7430_enable(struct drm_panel *panel) in db7430_enable()
227 static int db7430_get_modes(struct drm_panel *panel, in db7430_get_modes()
H A Dpanel-auo-a030jtn01.c40 struct drm_panel panel;
50 static inline struct a030jtn01 *to_a030jtn01(struct drm_panel *panel) in to_a030jtn01()
55 static int a030jtn01_prepare(struct drm_panel *panel) in a030jtn01_prepare()
104 static int a030jtn01_unprepare(struct drm_panel *panel) in a030jtn01_unprepare()
114 static int a030jtn01_enable(struct drm_panel *panel) in a030jtn01_enable()
130 static int a030jtn01_disable(struct drm_panel *panel) in a030jtn01_disable()
137 static int a030jtn01_get_modes(struct drm_panel *panel, in a030jtn01_get_modes()
H A Dpanel-samsung-atna33xc20.c27 struct drm_panel base;
44 static inline struct atana33xc20_panel *to_atana33xc20(struct drm_panel *panel) in to_atana33xc20()
140 static int atana33xc20_disable(struct drm_panel *panel) in atana33xc20_disable()
165 static int atana33xc20_enable(struct drm_panel *panel) in atana33xc20_enable()
191 static int atana33xc20_unprepare(struct drm_panel *panel) in atana33xc20_unprepare()
210 static int atana33xc20_prepare(struct drm_panel *panel) in atana33xc20_prepare()
223 static int atana33xc20_get_modes(struct drm_panel *panel, in atana33xc20_get_modes()
H A Dpanel-kingdisplay-kd097d04.c21 struct drm_panel base;
175 struct kingdisplay_panel *to_kingdisplay_panel(struct drm_panel *panel) in to_kingdisplay_panel()
180 static int kingdisplay_panel_disable(struct drm_panel *panel) in kingdisplay_panel_disable()
192 static int kingdisplay_panel_unprepare(struct drm_panel *panel) in kingdisplay_panel_unprepare()
215 static int kingdisplay_panel_prepare(struct drm_panel *panel) in kingdisplay_panel_prepare()
286 static int kingdisplay_panel_get_modes(struct drm_panel *panel, in kingdisplay_panel_get_modes()
H A Dpanel-truly-nt35597.c55 struct drm_panel panel;
69 static inline struct truly_nt35597 *panel_to_ctx(struct drm_panel *panel) in panel_to_ctx()
223 static int truly_dcs_write(struct drm_panel *panel, u32 command) in truly_dcs_write()
238 static int truly_dcs_write_buf(struct drm_panel *panel, in truly_dcs_write_buf()
309 static int truly_nt35597_disable(struct drm_panel *panel) in truly_nt35597_disable()
323 static int truly_nt35597_unprepare(struct drm_panel *panel) in truly_nt35597_unprepare()
351 static int truly_nt35597_prepare(struct drm_panel *panel) in truly_nt35597_prepare()
407 static int truly_nt35597_enable(struct drm_panel *panel) in truly_nt35597_enable()
421 static int truly_nt35597_get_modes(struct drm_panel *panel, in truly_nt35597_get_modes()
H A Dpanel-mantix-mlaf057we51.c31 struct drm_panel panel;
43 static inline struct mantix *panel_to_mantix(struct drm_panel *panel) in panel_to_mantix()
68 static int mantix_enable(struct drm_panel *panel) in mantix_enable()
89 static int mantix_disable(struct drm_panel *panel) in mantix_disable()
101 static int mantix_unprepare(struct drm_panel *panel) in mantix_unprepare()
120 static int mantix_prepare(struct drm_panel *panel) in mantix_prepare()
195 static int mantix_get_modes(struct drm_panel *panel, in mantix_get_modes()
H A Dpanel-tdo-tl070wsh30.c22 struct drm_panel base;
30 struct tdo_tl070wsh30_panel *to_tdo_tl070wsh30_panel(struct drm_panel *panel) in to_tdo_tl070wsh30_panel()
35 static int tdo_tl070wsh30_panel_prepare(struct drm_panel *panel) in tdo_tl070wsh30_panel_prepare()
75 static int tdo_tl070wsh30_panel_unprepare(struct drm_panel *panel) in tdo_tl070wsh30_panel_unprepare()
112 static int tdo_tl070wsh30_panel_get_modes(struct drm_panel *panel, in tdo_tl070wsh30_panel_get_modes()
H A Dpanel-visionox-r66451.c21 struct drm_panel panel;
27 static inline struct visionox_r66451 *to_visionox_r66451(struct drm_panel *panel) in to_visionox_r66451()
119 static int visionox_r66451_prepare(struct drm_panel *panel) in visionox_r66451_prepare()
146 static int visionox_r66451_unprepare(struct drm_panel *panel) in visionox_r66451_unprepare()
177 static int visionox_r66451_enable(struct drm_panel *panel) in visionox_r66451_enable()
213 static int visionox_r66451_disable(struct drm_panel *panel) in visionox_r66451_disable()
237 static int visionox_r66451_get_modes(struct drm_panel *panel, in visionox_r66451_get_modes()
/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_interface.c41 if (interface->drm_panel) { in logicvc_encoder_enable()
42 drm_panel_prepare(interface->drm_panel); in logicvc_encoder_enable()
43 drm_panel_enable(interface->drm_panel); in logicvc_encoder_enable()
52 if (interface->drm_panel) { in logicvc_encoder_disable()
53 drm_panel_disable(interface->drm_panel); in logicvc_encoder_disable()
54 drm_panel_unprepare(interface->drm_panel); in logicvc_encoder_disable()
72 if (interface->drm_panel) in logicvc_connector_get_modes()
73 return drm_panel_get_modes(interface->drm_panel, drm_connector); in logicvc_connector_get_modes()
158 ret = drm_of_find_panel_or_bridge(of_node, 0, 0, &interface->drm_panel, in logicvc_interface_init()
173 if (native_connector || interface->drm_panel) { in logicvc_interface_init()
/linux/drivers/gpu/drm/
H A Ddrm_panel.c57 void drm_panel_init(struct drm_panel *panel, struct device *dev, in drm_panel_init()
76 void drm_panel_add(struct drm_panel *panel) in drm_panel_add()
90 void drm_panel_remove(struct drm_panel *panel) in drm_panel_remove()
108 int drm_panel_prepare(struct drm_panel *panel) in drm_panel_prepare()
156 int drm_panel_unprepare(struct drm_panel *panel) in drm_panel_unprepare()
212 int drm_panel_enable(struct drm_panel *panel) in drm_panel_enable()
250 int drm_panel_disable(struct drm_panel *panel) in drm_panel_disable()
298 int drm_panel_get_modes(struct drm_panel *panel, in drm_panel_get_modes()
333 struct drm_panel *of_drm_find_panel(const struct device_node *np) in of_drm_find_panel()
335 struct drm_panel *panel; in of_drm_find_panel()
[all …]
/linux/drivers/gpu/drm/bridge/
H A Dpanel.c23 struct drm_panel *panel;
203 struct drm_panel *panel = panel_bridge->panel; in panel_bridge_debugfs_init()
263 struct drm_bridge *drm_panel_bridge_add(struct drm_panel *panel) in drm_panel_bridge_add()
285 struct drm_bridge *drm_panel_bridge_add_typed(struct drm_panel *panel, in drm_panel_bridge_add_typed()
376 struct drm_panel *panel) in devm_drm_panel_bridge_add()
401 struct drm_panel *panel, in devm_drm_panel_bridge_add_typed()
446 struct drm_panel *panel) in drmm_panel_bridge_add()
505 struct drm_panel *panel; in devm_drm_of_get_bridge()
539 struct drm_panel *panel; in drmm_of_get_bridge()

123456