/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_encoder.c | 45 u32 bus_flags) in omap_encoder_update_videomode_flags() argument 49 if (bus_flags & DRM_BUS_FLAG_DE_LOW) in omap_encoder_update_videomode_flags() 51 else if (bus_flags & DRM_BUS_FLAG_DE_HIGH) in omap_encoder_update_videomode_flags() 57 if (bus_flags & DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE) in omap_encoder_update_videomode_flags() 59 else if (bus_flags & DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE) in omap_encoder_update_videomode_flags() 65 if (bus_flags & DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE) in omap_encoder_update_videomode_flags() 67 else if (bus_flags & DRM_BUS_FLAG_SYNC_DRIVE_NEGEDGE) in omap_encoder_update_videomode_flags() 82 u32 bus_flags; in omap_encoder_mode_set() local 105 bus_flags = bridge->timings->input_bus_flags; in omap_encoder_mode_set() 106 omap_encoder_update_videomode_flags(&vm, bus_flags); in omap_encoder_mode_set() [all …]
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-simple.c | 133 u32 bus_flags; member 267 connector->display_info.bus_flags = panel->desc->bus_flags; in panel_simple_get_non_edid_modes() 441 unsigned int bus_flags; in panel_dpi_probe() local 468 bus_flags = 0; in panel_dpi_probe() 470 drm_bus_flags_from_videomode(&vm, &bus_flags); in panel_dpi_probe() 471 desc->bus_flags = bus_flags; in panel_dpi_probe() 579 u32 bus_flags; in panel_simple_probe() local 639 WARN_ON(desc->bus_flags & in panel_simple_probe() 662 bus_flags = DRM_BUS_FLAG_DE_LOW | in panel_simple_probe() 670 if (desc->bus_flags & ~bus_flags) in panel_simple_probe() [all …]
|
H A D | panel-tpo-tpg110.c | 59 u32 bus_flags; member 115 .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, 131 .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, 147 .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, 163 .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, 179 .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, 379 connector->display_info.bus_flags = tpg->panel_mode->bus_flags; in tpg110_get_modes()
|
H A D | panel-lvds.c | 34 u32 bus_flags; member 101 connector->display_info.bus_flags = lvds->bus_flags; in panel_lvds_get_modes() 137 ret = of_get_drm_panel_display_mode(np, &lvds->dmode, &lvds->bus_flags); in panel_lvds_parse_dt() 155 lvds->bus_flags |= of_property_read_bool(np, "data-mirror") ? in panel_lvds_parse_dt()
|
H A D | panel-arm-versatile.c | 84 u32 bus_flags; member 193 .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE, 216 .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE, 267 connector->display_info.bus_flags = vpanel->panel_type->bus_flags; in versatile_panel_get_modes()
|
H A D | panel-newvision-nv3052c.c | 32 u32 bus_format, bus_flags; member 761 connector->display_info.bus_flags = panel_info->bus_flags; in nv3052c_get_modes() 890 .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE, 901 .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE, 912 .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE,
|
H A D | panel-innolux-ej030na.c | 27 u32 bus_format, bus_flags; member 182 connector->display_info.bus_flags = panel_info->bus_flags; in ej030na_get_modes() 288 .bus_flags = DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE | DRM_BUS_FLAG_DE_LOW,
|
H A D | panel-orisetech-ota5601a.c | 30 u32 bus_format, bus_flags; member 220 connector->display_info.bus_flags = panel_info->bus_flags; in ota5601a_get_modes() 335 .bus_flags = DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE,
|
H A D | panel-samsung-s6d7aa0.c | 41 u32 bus_flags; member 312 .bus_flags = 0, 415 .bus_flags = 0, 443 .bus_flags = 0, 468 connector->display_info.bus_flags = ctx->desc->bus_flags; in s6d7aa0_get_modes()
|
H A D | panel-auo-a030jtn01.c | 36 u32 bus_format, bus_flags; member 166 connector->display_info.bus_flags = panel_info->bus_flags; in a030jtn01_get_modes() 280 .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE,
|
H A D | panel-seiko-43wvf1g.c | 42 u32 bus_flags; member 118 connector->display_info.bus_flags = panel->desc->bus_flags; in seiko_panel_get_fixed_modes() 270 .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE,
|
H A D | panel-novatek-nt39016.c | 53 u32 bus_format, bus_flags; member 230 connector->display_info.bus_flags = panel_info->bus_flags; in nt39016_get_modes() 337 .bus_flags = DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE,
|
H A D | panel-newvision-nv3051d.c | 30 u32 bus_flags; member 347 connector->display_info.bus_flags = panel_info->bus_flags; in panel_nv3051d_get_modes() 500 .bus_flags = DRM_BUS_FLAG_DE_LOW | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE, 511 .bus_flags = DRM_BUS_FLAG_DE_LOW | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE, 521 .bus_flags = DRM_BUS_FLAG_DE_LOW | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE,
|
H A D | panel-abt-y030xx067a.c | 118 u32 bus_format, bus_flags; member 256 connector->display_info.bus_flags = panel_info->bus_flags; in y030xx067a_get_modes() 363 .bus_flags = DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE | DRM_BUS_FLAG_DE_LOW,
|
H A D | panel-magnachip-d53e6ea8966.c | 40 u32 bus_flags; member 309 connector->display_info.bus_flags = panel_info->bus_flags; in d53e6ea8966_get_modes() 491 .bus_flags = DRM_BUS_FLAG_DE_LOW | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE,
|
H A D | panel-ilitek-ili9341.c | 446 info->bus_flags |= DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE; in ili9341_dpi_get_modes() 448 info->bus_flags |= DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE; in ili9341_dpi_get_modes() 451 info->bus_flags |= DRM_BUS_FLAG_DE_LOW; in ili9341_dpi_get_modes() 453 info->bus_flags |= DRM_BUS_FLAG_DE_HIGH; in ili9341_dpi_get_modes()
|
/linux/drivers/gpu/drm/imx/ipuv3/ |
H A D | parallel-display.c | 138 u32 bus_flags, bus_fmt; in imx_pd_bridge_atomic_check() local 146 bus_flags = next_bridge_state->input_bus_cfg.flags; in imx_pd_bridge_atomic_check() 148 bus_flags = di->bus_flags; in imx_pd_bridge_atomic_check() 154 bridge_state->output_bus_cfg.flags = bus_flags; in imx_pd_bridge_atomic_check() 155 bridge_state->input_bus_cfg.flags = bus_flags; in imx_pd_bridge_atomic_check() 156 imx_crtc_state->bus_flags = bus_flags; in imx_pd_bridge_atomic_check()
|
/linux/drivers/gpu/drm/mxsfb/ |
H A D | lcdif_kms.c | 37 u32 bus_flags; member 295 static void lcdif_set_mode(struct lcdif_drm_private *lcdif, u32 bus_flags) in lcdif_set_mode() argument 304 if (bus_flags & DRM_BUS_FLAG_DE_LOW) in lcdif_set_mode() 306 if (bus_flags & DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE) in lcdif_set_mode() 412 lcdif_crtc_state->bus_flags); in lcdif_crtc_mode_set_nofb() 420 lcdif_set_mode(lcdif, lcdif_crtc_state->bus_flags); in lcdif_crtc_mode_set_nofb() 437 u32 bus_format, bus_flags; in lcdif_crtc_atomic_check() local 486 bus_flags = bridge->timings->input_bus_flags; in lcdif_crtc_atomic_check() 488 bus_flags = bridge_state->input_bus_cfg.flags; in lcdif_crtc_atomic_check() 490 bus_flags = 0; in lcdif_crtc_atomic_check() [all …]
|
H A D | mxsfb_kms.c | 100 static void mxsfb_set_mode(struct mxsfb_drm_private *mxsfb, u32 bus_flags) in mxsfb_set_mode() argument 120 if (!(bus_flags & DRM_BUS_FLAG_DE_LOW)) in mxsfb_set_mode() 128 if (bus_flags & DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE) in mxsfb_set_mode() 284 u32 bus_flags = mxsfb->connector->display_info.bus_flags; in mxsfb_crtc_mode_set_nofb() local 288 bus_flags = mxsfb->bridge->timings->input_bus_flags; in mxsfb_crtc_mode_set_nofb() 290 bus_flags = bridge_state->input_bus_cfg.flags; in mxsfb_crtc_mode_set_nofb() 296 bus_flags); in mxsfb_crtc_mode_set_nofb() 308 mxsfb_set_mode(mxsfb, bus_flags); in mxsfb_crtc_mode_set_nofb()
|
/linux/drivers/gpu/drm/bridge/imx/ |
H A D | imx8mp-hdmi-pvi.c | 60 u32 bus_flags = 0, val; in imx8mp_hdmi_pvi_bridge_enable() local 80 bus_flags = pvi->next_bridge->timings->input_bus_flags; in imx8mp_hdmi_pvi_bridge_enable() 82 bus_flags = bridge_state->input_bus_cfg.flags; in imx8mp_hdmi_pvi_bridge_enable() 84 if (bus_flags & DRM_BUS_FLAG_DE_HIGH) in imx8mp_hdmi_pvi_bridge_enable()
|
/linux/drivers/gpu/drm/tidss/ |
H A D | tidss_encoder.c | 61 tcrtc_state->bus_flags = next_bridge_state->input_bus_cfg.flags; in tidss_bridge_atomic_check() 65 tcrtc_state->bus_flags = di->bus_flags; in tidss_bridge_atomic_check()
|
/linux/include/drm/ |
H A D | drm_modes.h | 507 void drm_bus_flags_from_videomode(const struct videomode *vm, u32 *bus_flags); 511 struct drm_display_mode *dmode, u32 *bus_flags, 514 struct drm_display_mode *dmode, u32 *bus_flags); 518 u32 *bus_flags, int index) in of_get_drm_display_mode() argument 524 struct drm_display_mode *dmode, u32 *bus_flags) in of_get_drm_panel_display_mode() argument
|
/linux/drivers/gpu/drm/ |
H A D | drm_modes.c | 1156 void drm_bus_flags_from_videomode(const struct videomode *vm, u32 *bus_flags) in drm_bus_flags_from_videomode() argument 1158 *bus_flags = 0; in drm_bus_flags_from_videomode() 1160 *bus_flags |= DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE; in drm_bus_flags_from_videomode() 1162 *bus_flags |= DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE; in drm_bus_flags_from_videomode() 1165 *bus_flags |= DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE; in drm_bus_flags_from_videomode() 1167 *bus_flags |= DRM_BUS_FLAG_SYNC_DRIVE_NEGEDGE; in drm_bus_flags_from_videomode() 1170 *bus_flags |= DRM_BUS_FLAG_DE_LOW; in drm_bus_flags_from_videomode() 1172 *bus_flags |= DRM_BUS_FLAG_DE_HIGH; in drm_bus_flags_from_videomode() 1192 struct drm_display_mode *dmode, u32 *bus_flags, in of_get_drm_display_mode() argument 1203 if (bus_flags) in of_get_drm_display_mode() [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | reset.c | 610 u32 bus_flags; in ath5k_hw_on_hold() local 631 bus_flags = (pdev && pci_is_pcie(pdev)) ? 0 : AR5K_RESET_CTL_PCI; in ath5k_hw_on_hold() 640 AR5K_RESET_CTL_BASEBAND | bus_flags); in ath5k_hw_on_hold() 672 u32 turbo, mode, clock, bus_flags; in ath5k_hw_nic_wakeup() local 696 bus_flags = (pdev && pci_is_pcie(pdev)) ? 0 : AR5K_RESET_CTL_PCI; in ath5k_hw_nic_wakeup() 709 AR5K_RESET_CTL_BASEBAND | bus_flags); in ath5k_hw_nic_wakeup()
|
/linux/drivers/gpu/drm/renesas/shmobile/ |
H A D | shmob_drm_crtc.c | 137 if (info->bus_flags & DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE) in shmob_drm_crtc_setup_geometry() 139 if (info->bus_flags & DRM_BUS_FLAG_DE_LOW) in shmob_drm_crtc_setup_geometry() 567 info->bus_flags |= DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE; in shmob_drm_connector_init() 569 info->bus_flags |= DRM_BUS_FLAG_DE_LOW; in shmob_drm_connector_init()
|