/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_of.c | 221 * drm_of_find_panel_or_bridge - return connected panel or bridge device 225 * @panel: pointer to hold returned drm_panel 230 * @panel or @bridge must not be NULL. 239 struct drm_panel **panel, in drm_of_find_panel_or_bridge() 245 if (!panel && !bridge) in drm_of_find_panel_or_bridge() 247 if (panel) in drm_of_find_panel_or_bridge() 248 *panel = NULL; in drm_of_find_panel_or_bridge() 263 if (panel) { in drm_of_find_panel_or_bridge() 264 *panel = of_drm_find_panel(remote); in drm_of_find_panel_or_bridge() 265 if (!IS_ERR(*panel)) in drm_of_find_panel_or_bridge() 237 drm_of_find_panel_or_bridge(const struct device_node *np, int port, int endpoint, struct drm_panel **panel, struct drm_bridge **bridge) drm_of_find_panel_or_bridge() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-startek-kd070fhfid015.c | 48 static inline struct stk_panel *to_stk_panel(struct drm_panel *panel) in to_stk_panel() argument 50 return container_of(panel, struct stk_panel, base); in to_stk_panel() 144 static int stk_panel_unprepare(struct drm_panel *panel) in stk_panel_unprepare() argument 146 struct stk_panel *stk = to_stk_panel(panel); in stk_panel_unprepare() 161 static int stk_panel_prepare(struct drm_panel *panel) in stk_panel_prepare() argument 163 struct stk_panel *stk = to_stk_panel(panel); in stk_panel_prepare() 188 dev_err(dev, "failed to init panel: %d\n", ret); in stk_panel_prepare() 194 dev_err(dev, "failed to set panel on: %d\n", ret); in stk_panel_prepare() 226 static int stk_panel_get_modes(struct drm_panel *panel, in stk_panel_get_modes() argument 233 dev_err(panel in stk_panel_get_modes() [all...] |
H A D | panel-novatek-nt35510.c | 3 * Novatek NT35510 panel driver 14 * the code needed to set up and configure the panel will be similar, 16 * per-panel, e.g. for physical size. 22 * this panel driver should be refactored to also support that use 161 * @width_mm: physical panel width [mm] 165 * @height_mm: physical panel height [mm] 169 * @mode: the display mode. This is only relevant outside the panel 299 * and out to the panel. 349 * struct nt35510 - state container for the NT35510 panel 357 * @conf: the specific panel configuratio 366 struct drm_panel panel; global() member 386 panel_to_nt35510(struct drm_panel *panel) panel_to_nt35510() argument 781 nt35510_unprepare(struct drm_panel *panel) nt35510_unprepare() argument 811 nt35510_prepare(struct drm_panel *panel) nt35510_prepare() argument 841 nt35510_get_modes(struct drm_panel *panel, struct drm_connector *connector) nt35510_get_modes() argument [all...] |
H A D | panel-khadas-ts050.c | 576 struct khadas_ts050_panel *to_khadas_ts050_panel(struct drm_panel *panel) in to_khadas_ts050_panel() argument 578 return container_of(panel, struct khadas_ts050_panel, base); in to_khadas_ts050_panel() 581 static int khadas_ts050_panel_prepare(struct drm_panel *panel) in khadas_ts050_panel_prepare() argument 583 struct khadas_ts050_panel *khadas_ts050 = to_khadas_ts050_panel(panel); in khadas_ts050_panel_prepare() 621 dev_err(panel->dev, "failed write cmds: %d\n", err); in khadas_ts050_panel_prepare() 628 dev_err(panel->dev, "failed to exit sleep mode: %d\n", err); in khadas_ts050_panel_prepare() 640 dev_err(panel->dev, "failed to set tear on: %d\n", err); in khadas_ts050_panel_prepare() 646 dev_err(panel->dev, "failed to set display on: %d\n", err); in khadas_ts050_panel_prepare() 665 static int khadas_ts050_panel_unprepare(struct drm_panel *panel) in khadas_ts050_panel_unprepare() argument 667 struct khadas_ts050_panel *khadas_ts050 = to_khadas_ts050_panel(panel); in khadas_ts050_panel_unprepare() 691 khadas_ts050_panel_enable(struct drm_panel *panel) khadas_ts050_panel_enable() argument 700 khadas_ts050_panel_disable(struct drm_panel *panel) khadas_ts050_panel_disable() argument 732 khadas_ts050_panel_get_modes(struct drm_panel *panel, struct drm_connector *connector) khadas_ts050_panel_get_modes() argument [all...] |
H A D | panel-raspberrypi-touchscreen.c | 8 * Portions of this file (derived from panel-simple.c) are: 33 * Raspberry Pi 7" touchscreen panel driver. 35 * The 7" touchscreen consists of a DPI LCD panel, a Toshiba 214 static struct rpi_touchscreen *panel_to_ts(struct drm_panel *panel) in panel_to_ts() argument 216 return container_of(panel, struct rpi_touchscreen, base); in panel_to_ts() 250 static int rpi_touchscreen_disable(struct drm_panel *panel) in rpi_touchscreen_disable() argument 252 struct rpi_touchscreen *ts = panel_to_ts(panel); in rpi_touchscreen_disable() 262 static int rpi_touchscreen_noop(struct drm_panel *panel) in rpi_touchscreen_noop() argument 267 static int rpi_touchscreen_prepare(struct drm_panel *panel) in rpi_touchscreen_prepare() argument 269 struct rpi_touchscreen *ts = panel_to_ts(panel); in rpi_touchscreen_prepare() 300 rpi_touchscreen_enable(struct drm_panel *panel) rpi_touchscreen_enable() argument 317 rpi_touchscreen_get_modes(struct drm_panel *panel, struct drm_connector *connector) rpi_touchscreen_get_modes() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
H A D | panel-novatek-nt35510.c | 3 * Novatek NT35510 panel driver 14 * the code needed to set up and configure the panel will be similar, 16 * per-panel, e.g. for physical size. 22 * this panel driver should be refactored to also support that use 161 * @width_mm: physical panel width [mm] 165 * @height_mm: physical panel height [mm] 169 * @mode: the display mode. This is only relevant outside the panel 299 * and out to the panel. 349 * struct nt35510 - state container for the NT35510 panel 357 * @conf: the specific panel configuratio 366 struct drm_panel panel; global() member 386 panel_to_nt35510(struct drm_panel *panel) panel_to_nt35510() argument 781 nt35510_unprepare(struct drm_panel *panel) nt35510_unprepare() argument 811 nt35510_prepare(struct drm_panel *panel) nt35510_prepare() argument 841 nt35510_get_modes(struct drm_panel *panel, struct drm_connector *connector) nt35510_get_modes() argument [all...] |
H A D | panel-ilitek-ili9881c.c | 48 struct drm_panel panel; member 456 static inline struct ili9881c *panel_to_ili9881c(struct drm_panel *panel) in panel_to_ili9881c() argument 458 return container_of(panel, struct ili9881c, panel); in panel_to_ili9881c() 462 * The panel seems to accept some private DCS commands that map 496 static int ili9881c_prepare(struct drm_panel *panel) in ili9881c_prepare() argument 498 struct ili9881c *ctx = panel_to_ili9881c(panel); in ili9881c_prepare() 502 /* Power the panel */ in ili9881c_prepare() 543 static int ili9881c_enable(struct drm_panel *panel) in ili9881c_enable() argument 545 struct ili9881c *ctx = panel_to_ili9881c(panel); in ili9881c_enable() 554 ili9881c_disable(struct drm_panel *panel) ili9881c_disable() argument 561 ili9881c_unprepare(struct drm_panel *panel) ili9881c_unprepare() argument 606 ili9881c_get_modes(struct drm_panel *panel, struct drm_connector *connector) ili9881c_get_modes() argument [all...] |
H A D | panel-raspberrypi-touchscreen.c | 8 * Portions of this file (derived from panel-simple.c) are: 33 * Raspberry Pi 7" touchscreen panel driver. 35 * The 7" touchscreen consists of a DPI LCD panel, a Toshiba 215 static struct rpi_touchscreen *panel_to_ts(struct drm_panel *panel) in panel_to_ts() argument 217 return container_of(panel, struct rpi_touchscreen, base); in panel_to_ts() 251 static int rpi_touchscreen_disable(struct drm_panel *panel) in rpi_touchscreen_disable() argument 253 struct rpi_touchscreen *ts = panel_to_ts(panel); in rpi_touchscreen_disable() 263 static int rpi_touchscreen_noop(struct drm_panel *panel) in rpi_touchscreen_noop() argument 268 static int rpi_touchscreen_prepare(struct drm_panel *panel) in rpi_touchscreen_prepare() argument 270 struct rpi_touchscreen *ts = panel_to_ts(panel); in rpi_touchscreen_prepare() 301 rpi_touchscreen_enable(struct drm_panel *panel) rpi_touchscreen_enable() argument 318 rpi_touchscreen_get_modes(struct drm_panel *panel, struct drm_connector *connector) rpi_touchscreen_get_modes() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_lcdc_encoder.c | 18 struct drm_panel *panel; member 74 /* TODO, these should come from panel somehow: */ in setup_phy() 237 /* probably need to get DATA_EN polarity from panel.. */ in mdp4_lcdc_encoder_mode_set() 239 lcdc_hsync_skew = 0; /* get this from panel? */ in mdp4_lcdc_encoder_mode_set() 278 struct drm_panel *panel; in mdp4_lcdc_encoder_disable() local 286 panel = of_drm_find_panel(mdp4_lcdc_encoder->panel_node); in mdp4_lcdc_encoder_disable() 287 if (!IS_ERR(panel)) { in mdp4_lcdc_encoder_disable() 288 drm_panel_disable(panel); in mdp4_lcdc_encoder_disable() 289 drm_panel_unprepare(panel); in mdp4_lcdc_encoder_disable() 320 struct drm_panel *panel; in mdp4_lcdc_encoder_enable() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_lcdc_encoder.c | 18 struct drm_panel *panel; member 74 /* TODO, these should come from panel somehow: */ in setup_phy() 237 /* probably need to get DATA_EN polarity from panel.. */ in mdp4_lcdc_encoder_mode_set() 239 lcdc_hsync_skew = 0; /* get this from panel? */ in mdp4_lcdc_encoder_mode_set() 278 struct drm_panel *panel; in mdp4_lcdc_encoder_disable() local 286 panel = of_drm_find_panel(mdp4_lcdc_encoder->panel_node); in mdp4_lcdc_encoder_disable() 287 if (!IS_ERR(panel)) { in mdp4_lcdc_encoder_disable() 288 drm_panel_disable(panel); in mdp4_lcdc_encoder_disable() 289 drm_panel_unprepare(panel); in mdp4_lcdc_encoder_disable() 320 struct drm_panel *panel; in mdp4_lcdc_encoder_enable() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
H A D | lvds-codec.c | 81 struct drm_panel *panel; in lvds_codec_probe() local 107 /* Locate the panel DT node. */ in lvds_codec_probe() 110 dev_dbg(dev, "panel DT node not found\n"); in lvds_codec_probe() 114 panel = of_drm_find_panel(panel_node); in lvds_codec_probe() 116 if (IS_ERR(panel)) { in lvds_codec_probe() 117 dev_dbg(dev, "panel not found, deferring probe\n"); in lvds_codec_probe() 118 return PTR_ERR(panel); in lvds_codec_probe() 122 devm_drm_panel_bridge_add_typed(dev, panel, in lvds_codec_probe() 128 * The panel_bridge bridge is attached to the panel's of_node, in lvds_codec_probe()
|
/kernel/linux/linux-5.10/include/video/ |
H A D | mmp_disp.h | 162 /* panel type */ 180 int (*get_modelist)(struct mmp_panel *panel, 182 void (*set_mode)(struct mmp_panel *panel, 184 void (*set_onoff)(struct mmp_panel *panel, 219 struct mmp_panel *panel; member 309 extern void mmp_register_panel(struct mmp_panel *panel); 310 extern void mmp_unregister_panel(struct mmp_panel *panel); 339 /* interface for panel drivers */
|
/kernel/linux/linux-6.6/include/video/ |
H A D | mmp_disp.h | 162 /* panel type */ 180 int (*get_modelist)(struct mmp_panel *panel, 182 void (*set_mode)(struct mmp_panel *panel, 184 void (*set_onoff)(struct mmp_panel *panel, 219 struct mmp_panel *panel; member 309 extern void mmp_register_panel(struct mmp_panel *panel); 310 extern void mmp_unregister_panel(struct mmp_panel *panel); 339 /* interface for panel drivers */
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/ |
H A D | dp_display.c | 99 struct dp_panel *panel; member 350 static bool dp_display_is_ds_bridge(struct dp_panel *panel) in dp_display_is_ds_bridge() argument 352 return (panel->dpcd[DP_DOWNSTREAMPORT_PRESENT] & in dp_display_is_ds_bridge() 359 dp->panel->dpcd[DP_DOWNSTREAMPORT_PRESENT], in dp_display_is_sink_count_zero() 361 return dp_display_is_ds_bridge(dp->panel) && in dp_display_is_sink_count_zero() 389 dp->panel->video_test = false; in dp_display_send_hpd_notification() 405 dp->panel->max_dp_lanes = dp->parser->max_dp_lanes; in dp_display_process_hpd_high() 406 dp->panel->max_dp_link_rate = dp->parser->max_dp_link_rate; in dp_display_process_hpd_high() 409 dp->panel->max_dp_lanes, dp->panel in dp_display_process_hpd_high() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | au1200fb.c | 146 /* Private, per-framebuffer management information (independent of the panel itself) */ 184 static struct panel_settings *panel; variable 327 /* panel timings */ 350 * To add a new panel, enter the same specifications as the 718 if ((xpos + win->w[plane].xres) > panel->Xres) { in au1200_setlocation() 720 xsz = panel->Xres - xpos; /* off by 1 ??? */ in au1200_setlocation() 724 if ((ypos + win->w[plane].yres) > panel->Yres) { in au1200_setlocation() 726 ysz = panel->Yres - ypos; /* off by 1 ??? */ in au1200_setlocation() 801 /* Call shutdown of current panel (if up) */ in au1200_setpanel() 814 panel in au1200_setpanel() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | au1200fb.c | 146 /* Private, per-framebuffer management information (independent of the panel itself) */ 184 static struct panel_settings *panel; variable 327 /* panel timings */ 350 * To add a new panel, enter the same specifications as the 718 if ((xpos + win->w[plane].xres) > panel->Xres) { in au1200_setlocation() 720 xsz = panel->Xres - xpos; /* off by 1 ??? */ in au1200_setlocation() 724 if ((ypos + win->w[plane].yres) > panel->Yres) { in au1200_setlocation() 726 ysz = panel->Yres - ypos; /* off by 1 ??? */ in au1200_setlocation() 801 /* Call shutdown of current panel (if up) */ in au1200_setpanel() 814 panel in au1200_setpanel() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
H A D | sti_dvo.c | 80 * @panel_node: panel node reference from device tree 81 * @panel: reference to the panel connected to the dvo 95 struct drm_panel *panel; member 225 drm_panel_disable(dvo->panel); in sti_dvo_disable() 265 drm_panel_enable(dvo->panel); in sti_dvo_pre_enable() 341 if (dvo->panel) in sti_dvo_connector_get_modes() 342 return drm_panel_get_modes(dvo->panel, connector); in sti_dvo_connector_get_modes() 389 if (!dvo->panel) { in sti_dvo_connector_detect() 390 dvo->panel in sti_dvo_connector_detect() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/ |
H A D | sti_dvo.c | 80 * @panel_node: panel node reference from device tree 81 * @panel: reference to the panel connected to the dvo 95 struct drm_panel *panel; member 225 drm_panel_disable(dvo->panel); in sti_dvo_disable() 265 drm_panel_enable(dvo->panel); in sti_dvo_pre_enable() 341 if (dvo->panel) in sti_dvo_connector_get_modes() 342 return drm_panel_get_modes(dvo->panel, connector); in sti_dvo_connector_get_modes() 389 if (!dvo->panel) { in sti_dvo_connector_detect() 390 dvo->panel in sti_dvo_connector_detect() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/panel/ |
H A D | sliding_panel_component_v2.cpp | 16 #include "core/components/panel/sliding_panel_component_v2.h" 31 auto panel = AceType::MakeRefPtr<PanelComponent>("PanelComponent", "Wrapper", child); in OnChildAdded() local 37 panel->SetPanelMode(mode_); in OnChildAdded() 38 panel->SetPanelType(type_); in OnChildAdded() 39 panel->SetHasBoxStyle(hasBoxStyle_); in OnChildAdded()
|
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/ |
H A D | ip22-reset.c | 61 sgioc->panel = ~SGIOC_PANEL_POWERON; in sgi_machine_power_off() 107 sgioc->panel = SGIOC_PANEL_POWERON | SGIOC_PANEL_POWERINTR | in debounce() 144 buttons = sgioc->panel; in panel_int() 145 sgioc->panel = SGIOC_PANEL_POWERON | SGIOC_PANEL_POWERINTR; in panel_int() 193 printk(KERN_ERR "Allocation of front panel IRQ failed\n"); in reboot_setup()
|
/kernel/linux/linux-6.6/arch/mips/sgi-ip22/ |
H A D | ip22-reset.c | 61 sgioc->panel = ~SGIOC_PANEL_POWERON; in sgi_machine_power_off() 107 sgioc->panel = SGIOC_PANEL_POWERON | SGIOC_PANEL_POWERINTR | in debounce() 144 buttons = sgioc->panel; in panel_int() 145 sgioc->panel = SGIOC_PANEL_POWERON | SGIOC_PANEL_POWERINTR; in panel_int() 193 printk(KERN_ERR "Allocation of front panel IRQ failed\n"); in reboot_setup()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/ |
H A D | rockchip_rgb.c | 80 struct drm_panel *panel; in rockchip_rgb_init() local 104 &panel, &bridge); in rockchip_rgb_init() 119 DRM_DEV_ERROR(dev, "failed to find panel or bridge %d\n", ret); in rockchip_rgb_init() 135 if (panel) { in rockchip_rgb_init() 136 bridge = drm_panel_bridge_add_typed(panel, in rockchip_rgb_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_external.c | 117 struct drm_panel *panel; in tilcdc_attach_external_device() local 121 &panel, &bridge); in tilcdc_attach_external_device() 140 if (panel) { in tilcdc_attach_external_device() 141 bridge = devm_drm_panel_bridge_add_typed(ddev->dev, panel, in tilcdc_attach_external_device()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_encoder.c | 59 * DT node has a single port, assume that it describes a panel and in rcar_du_encoder_init() 60 * create a panel bridge. in rcar_du_encoder_init() 65 struct drm_panel *panel = of_drm_find_panel(enc_node); in rcar_du_encoder_init() local 67 if (IS_ERR(panel)) in rcar_du_encoder_init() 68 return PTR_ERR(panel); in rcar_du_encoder_init() 70 bridge = devm_drm_panel_bridge_add_typed(rcdu->dev, panel, in rcar_du_encoder_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_external.c | 115 struct drm_panel *panel; in tilcdc_attach_external_device() local 119 &panel, &bridge); in tilcdc_attach_external_device() 138 if (panel) { in tilcdc_attach_external_device() 139 bridge = devm_drm_panel_bridge_add_typed(ddev->dev, panel, in tilcdc_attach_external_device()
|