/openbmc/linux/include/drm/ |
H A D | drm_panel.h | 38 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, 185 struct drm_panel *panel; 191 struct drm_panel { struct 276 void drm_panel_add(struct drm_panel *panel); 277 void drm_panel_remove(struct drm_panel *panel); [all …]
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-orisetech-ota5601a.c | 34 struct drm_panel drm_panel; member 111 static int ota5601a_prepare(struct drm_panel *drm_panel) in ota5601a_prepare() argument 145 static int ota5601a_unprepare(struct drm_panel *drm_panel) in ota5601a_unprepare() argument 156 static int ota5601a_enable(struct drm_panel *drm_panel) in ota5601a_enable() argument 168 if (drm_panel->backlight) { in ota5601a_enable() 176 static int ota5601a_disable(struct drm_panel *drm_panel) in ota5601a_disable() argument 191 static int ota5601a_get_modes(struct drm_panel *drm_panel, in ota5601a_get_modes() argument 286 drm_panel_add(&panel->drm_panel); in ota5601a_probe() 295 drm_panel_remove(&panel->drm_panel); in ota5601a_remove() 297 ota5601a_disable(&panel->drm_panel); in ota5601a_remove() [all …]
|
H A D | panel-novatek-nt39016.c | 57 struct drm_panel drm_panel; member 118 static int nt39016_prepare(struct drm_panel *drm_panel) in nt39016_prepare() argument 155 static int nt39016_unprepare(struct drm_panel *drm_panel) in nt39016_unprepare() argument 166 static int nt39016_enable(struct drm_panel *drm_panel) in nt39016_enable() argument 178 if (drm_panel->backlight) { in nt39016_enable() 186 static int nt39016_disable(struct drm_panel *drm_panel) in nt39016_disable() argument 201 static int nt39016_get_modes(struct drm_panel *drm_panel, in nt39016_get_modes() argument 289 drm_panel_add(&panel->drm_panel); in nt39016_probe() 298 drm_panel_remove(&panel->drm_panel); in nt39016_remove() 300 nt39016_disable(&panel->drm_panel); in nt39016_remove() [all …]
|
H A D | panel-feiyang-fy07024di26a30d.c | 20 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 D | panel-samsung-s6d16d0.c | 19 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 D | panel-ronbo-rb070d30.c | 28 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 D | panel-panasonic-vvx10f034n00.c | 30 struct drm_panel base; 43 static inline struct wuxga_nt_panel *to_wuxga_nt_panel(struct drm_panel *panel) in to_wuxga_nt_panel() 53 static int wuxga_nt_panel_disable(struct drm_panel *panel) in wuxga_nt_panel_disable() 68 static int wuxga_nt_panel_unprepare(struct drm_panel *panel) in wuxga_nt_panel_unprepare() 82 static int wuxga_nt_panel_prepare(struct drm_panel *panel) in wuxga_nt_panel_prepare() 130 static int wuxga_nt_panel_enable(struct drm_panel *panel) in wuxga_nt_panel_enable() 154 static int wuxga_nt_panel_get_modes(struct drm_panel *panel, in wuxga_nt_panel_get_modes()
|
H A D | panel-osd-osd101t2587-53ts.c | 19 struct drm_panel base; 30 static inline struct osd101t2587_panel *ti_osd_panel(struct drm_panel *panel) in ti_osd_panel() 35 static int osd101t2587_panel_disable(struct drm_panel *panel) in osd101t2587_panel_disable() 50 static int osd101t2587_panel_unprepare(struct drm_panel *panel) in osd101t2587_panel_unprepare() 63 static int osd101t2587_panel_prepare(struct drm_panel *panel) in osd101t2587_panel_prepare() 78 static int osd101t2587_panel_enable(struct drm_panel *panel) in osd101t2587_panel_enable() 108 static int osd101t2587_panel_get_modes(struct drm_panel *panel, in osd101t2587_panel_get_modes()
|
H A D | panel-innolux-ej030na.c | 31 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 D | panel-sharp-ls037v7dw01.c | 25 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 D | panel-kingdisplay-kd097d04.c | 21 struct drm_panel base; 178 struct kingdisplay_panel *to_kingdisplay_panel(struct drm_panel *panel) in to_kingdisplay_panel() 183 static int kingdisplay_panel_disable(struct drm_panel *panel) in kingdisplay_panel_disable() 200 static int kingdisplay_panel_unprepare(struct drm_panel *panel) in kingdisplay_panel_unprepare() 228 static int kingdisplay_panel_prepare(struct drm_panel *panel) in kingdisplay_panel_prepare() 292 static int kingdisplay_panel_enable(struct drm_panel *panel) in kingdisplay_panel_enable() 316 static int kingdisplay_panel_get_modes(struct drm_panel *panel, in kingdisplay_panel_get_modes()
|
H A D | panel-seiko-43wvf1g.c | 46 struct drm_panel base; 55 static inline struct seiko_panel *to_seiko_panel(struct drm_panel *panel) in to_seiko_panel() 125 static int seiko_panel_disable(struct drm_panel *panel) in seiko_panel_disable() 137 static int seiko_panel_unprepare(struct drm_panel *panel) in seiko_panel_unprepare() 158 static int seiko_panel_prepare(struct drm_panel *panel) in seiko_panel_prepare() 192 static int seiko_panel_enable(struct drm_panel *panel) in seiko_panel_enable() 204 static int seiko_panel_get_modes(struct drm_panel *panel, in seiko_panel_get_modes() 213 static int seiko_panel_get_timings(struct drm_panel *panel, in seiko_panel_get_timings()
|
H A D | panel-lvds.c | 27 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 D | panel-auo-a030jtn01.c | 40 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 D | panel-newvision-nv3052c.c | 32 struct drm_panel panel; 236 static inline struct nv3052c *to_nv3052c(struct drm_panel *panel) in to_nv3052c() 241 static int nv3052c_prepare(struct drm_panel *panel) in nv3052c_prepare() 283 static int nv3052c_unprepare(struct drm_panel *panel) in nv3052c_unprepare() 299 static int nv3052c_enable(struct drm_panel *panel) in nv3052c_enable() 319 static int nv3052c_disable(struct drm_panel *panel) in nv3052c_disable() 334 static int nv3052c_get_modes(struct drm_panel *panel, in nv3052c_get_modes()
|
H A D | panel-samsung-db7430.c | 58 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 D | panel-samsung-s6d27a1.c | 45 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 D | panel-khadas-ts050.c | 22 struct drm_panel base; 576 struct khadas_ts050_panel *to_khadas_ts050_panel(struct drm_panel *panel) in to_khadas_ts050_panel() 581 static int khadas_ts050_panel_prepare(struct drm_panel *panel) in khadas_ts050_panel_prepare() 665 static int khadas_ts050_panel_unprepare(struct drm_panel *panel) in khadas_ts050_panel_unprepare() 691 static int khadas_ts050_panel_enable(struct drm_panel *panel) in khadas_ts050_panel_enable() 700 static int khadas_ts050_panel_disable(struct drm_panel *panel) in khadas_ts050_panel_disable() 732 static int khadas_ts050_panel_get_modes(struct drm_panel *panel, in khadas_ts050_panel_get_modes()
|
H A D | panel-boe-himax8279d.c | 43 struct drm_panel base; 55 static inline struct panel_info *to_panel_info(struct drm_panel *panel) in to_panel_info() 67 static int send_mipi_cmds(struct drm_panel *panel, const struct panel_cmd *cmds) in send_mipi_cmds() 84 static int boe_panel_disable(struct drm_panel *panel) in boe_panel_disable() 103 static int boe_panel_unprepare(struct drm_panel *panel) in boe_panel_unprepare() 129 static int boe_panel_prepare(struct drm_panel *panel) in boe_panel_prepare() 192 static int boe_panel_enable(struct drm_panel *panel) in boe_panel_enable() 213 static int boe_panel_get_modes(struct drm_panel *panel, in boe_panel_get_modes()
|
H A D | panel-olimex-lcd-olinuxino.c | 62 struct drm_panel panel; 76 static inline struct lcd_olinuxino *to_lcd_olinuxino(struct drm_panel *panel) in to_lcd_olinuxino() 81 static int lcd_olinuxino_disable(struct drm_panel *panel) in lcd_olinuxino_disable() 93 static int lcd_olinuxino_unprepare(struct drm_panel *panel) in lcd_olinuxino_unprepare() 108 static int lcd_olinuxino_prepare(struct drm_panel *panel) in lcd_olinuxino_prepare() 126 static int lcd_olinuxino_enable(struct drm_panel *panel) in lcd_olinuxino_enable() 138 static int lcd_olinuxino_get_modes(struct drm_panel *panel, in lcd_olinuxino_get_modes()
|
H A D | panel-samsung-atna33xc20.c | 27 struct drm_panel base; 46 static inline struct atana33xc20_panel *to_atana33xc20(struct drm_panel *panel) in to_atana33xc20() 142 static int atana33xc20_disable(struct drm_panel *panel) in atana33xc20_disable() 172 static int atana33xc20_enable(struct drm_panel *panel) in atana33xc20_enable() 203 static int atana33xc20_unprepare(struct drm_panel *panel) in atana33xc20_unprepare() 228 static int atana33xc20_prepare(struct drm_panel *panel) in atana33xc20_prepare() 247 static int atana33xc20_get_modes(struct drm_panel *panel, in atana33xc20_get_modes()
|
H A D | panel-truly-nt35597.c | 55 struct drm_panel panel; 71 static inline struct truly_nt35597 *panel_to_ctx(struct drm_panel *panel) in panel_to_ctx() 225 static int truly_dcs_write(struct drm_panel *panel, u32 command) in truly_dcs_write() 240 static int truly_dcs_write_buf(struct drm_panel *panel, in truly_dcs_write_buf() 311 static int truly_nt35597_disable(struct drm_panel *panel) in truly_nt35597_disable() 329 static int truly_nt35597_unprepare(struct drm_panel *panel) in truly_nt35597_unprepare() 361 static int truly_nt35597_prepare(struct drm_panel *panel) in truly_nt35597_prepare() 422 static int truly_nt35597_enable(struct drm_panel *panel) in truly_nt35597_enable() 441 static int truly_nt35597_get_modes(struct drm_panel *panel, in truly_nt35597_get_modes()
|
/openbmc/linux/drivers/gpu/drm/logicvc/ |
H A D | logicvc_interface.c | 41 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()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_panel.c | 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() 203 int drm_panel_enable(struct drm_panel *panel) in drm_panel_enable() 241 int drm_panel_disable(struct drm_panel *panel) in drm_panel_disable() 280 int drm_panel_get_modes(struct drm_panel *panel, in drm_panel_get_modes() 317 struct drm_panel *panel; in of_drm_find_panel() 426 struct drm_panel *panel; in drm_panel_add_follower() 468 struct drm_panel *panel = follower->panel; in drm_panel_remove_follower() [all …]
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | panel.c | 21 struct drm_panel *panel; 206 struct drm_panel *panel = panel_bridge->panel; in panel_bridge_debugfs_init() 266 struct drm_bridge *drm_panel_bridge_add(struct drm_panel *panel) in drm_panel_bridge_add() 288 struct drm_bridge *drm_panel_bridge_add_typed(struct drm_panel *panel, in drm_panel_bridge_add_typed() 381 struct drm_panel *panel) in devm_drm_panel_bridge_add() 406 struct drm_panel *panel, in devm_drm_panel_bridge_add_typed() 451 struct drm_panel *panel) in drmm_panel_bridge_add() 510 struct drm_panel *panel; in devm_drm_of_get_bridge() 544 struct drm_panel *panel; in drmm_of_get_bridge()
|