Searched refs:dpsub (Results 1 – 6 of 6) sorted by relevance
43 struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(drm); in zynqmp_dpsub_dumb_create() local47 args->pitch = ALIGN(pitch, dpsub->dma_align); in zynqmp_dpsub_dumb_create()56 struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(drm); in zynqmp_dpsub_fb_create() local62 cmd.pitches[i] = ALIGN(cmd.pitches[i], dpsub->dma_align); in zynqmp_dpsub_fb_create()106 static int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub) in zynqmp_dpsub_drm_init() argument108 struct drm_device *drm = &dpsub->drm; in zynqmp_dpsub_drm_init()135 ret = zynqmp_disp_drm_init(dpsub); in zynqmp_dpsub_drm_init()139 ret = zynqmp_dp_drm_init(dpsub); in zynqmp_dpsub_drm_init()166 struct zynqmp_dpsub *dpsub = dev_get_drvdata(dev); in zynqmp_dpsub_suspend() local168 return drm_mode_config_helper_suspend(&dpsub->drm); in zynqmp_dpsub_suspend()[all …]
23 int zynqmp_dp_drm_init(struct zynqmp_dpsub *dpsub);24 int zynqmp_dp_probe(struct zynqmp_dpsub *dpsub, struct drm_device *drm);25 void zynqmp_dp_remove(struct zynqmp_dpsub *dpsub);
38 int zynqmp_disp_drm_init(struct zynqmp_dpsub *dpsub);39 int zynqmp_disp_probe(struct zynqmp_dpsub *dpsub, struct drm_device *drm);40 void zynqmp_disp_remove(struct zynqmp_dpsub *dpsub);
303 struct zynqmp_dpsub *dpsub; member1053 rate = clk_get_rate(dp->dpsub->apb_clk); in zynqmp_dp_aux_init()1261 rate = zynqmp_disp_get_audio_clk_rate(dp->dpsub->disp); in zynqmp_dp_encoder_mode_set_stream()1270 if (zynqmp_disp_audio_enabled(dp->dpsub->disp)) in zynqmp_dp_encoder_mode_set_stream()1410 if (zynqmp_disp_audio_enabled(dp->dpsub->disp)) in zynqmp_dp_encoder_enable()1443 if (zynqmp_disp_audio_enabled(dp->dpsub->disp)) in zynqmp_dp_encoder_disable()1571 zynqmp_disp_handle_vblank(dp->dpsub->disp); in zynqmp_dp_irq_handler()1600 int zynqmp_dp_drm_init(struct zynqmp_dpsub *dpsub) in zynqmp_dp_drm_init() argument1602 struct zynqmp_dp *dp = dpsub->dp; in zynqmp_dp_drm_init()1611 encoder->possible_crtcs |= zynqmp_disp_get_crtc_mask(dpsub->disp); in zynqmp_dp_drm_init()[all …]
1 zynqmp-dpsub-y := zynqmp_disp.o zynqmp_dpsub.o zynqmp_dp.o2 obj-$(CONFIG_DRM_ZYNQMP_DPSUB) += zynqmp-dpsub.o
207 struct zynqmp_dpsub *dpsub; member1552 zynqmp_dp_enable_vblank(disp->dpsub->dp); in zynqmp_disp_crtc_enable_vblank()1561 zynqmp_dp_disable_vblank(disp->dpsub->dp); in zynqmp_disp_crtc_disable_vblank()1606 int zynqmp_disp_drm_init(struct zynqmp_dpsub *dpsub) in zynqmp_disp_drm_init() argument1608 struct zynqmp_disp *disp = dpsub->disp; in zynqmp_disp_drm_init()1624 int zynqmp_disp_probe(struct zynqmp_dpsub *dpsub, struct drm_device *drm) in zynqmp_disp_probe() argument1626 struct platform_device *pdev = to_platform_device(dpsub->dev); in zynqmp_disp_probe()1637 disp->dpsub = dpsub; in zynqmp_disp_probe()1640 dpsub->disp = disp; in zynqmp_disp_probe()1681 dpsub->dma_align = 1 << layer->dmas[0].chan->device->copy_align; in zynqmp_disp_probe()[all …]