Searched refs:dpsub (Results 1 – 6 of 6) sorted by relevance
44 struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(drm); in zynqmp_dpsub_dumb_create() local48 args->pitch = ALIGN(pitch, dpsub->dma_align); in zynqmp_dpsub_dumb_create()57 struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(drm); in zynqmp_dpsub_fb_create() local63 cmd.pitches[i] = ALIGN(cmd.pitches[i], dpsub->dma_align); in zynqmp_dpsub_fb_create()95 static int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub) in zynqmp_dpsub_drm_init() argument97 struct drm_device *drm = &dpsub->drm; in zynqmp_dpsub_drm_init()122 ret = zynqmp_disp_drm_init(dpsub); in zynqmp_dpsub_drm_init()126 ret = zynqmp_dp_drm_init(dpsub); in zynqmp_dpsub_drm_init()153 struct zynqmp_dpsub *dpsub = dev_get_drvdata(dev); in zynqmp_dpsub_suspend() local155 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);
304 struct zynqmp_dpsub *dpsub; member1054 rate = clk_get_rate(dp->dpsub->apb_clk); in zynqmp_dp_aux_init()1263 rate = zynqmp_disp_get_audio_clk_rate(dp->dpsub->disp); in zynqmp_dp_encoder_mode_set_stream()1272 if (zynqmp_disp_audio_enabled(dp->dpsub->disp)) in zynqmp_dp_encoder_mode_set_stream()1412 if (zynqmp_disp_audio_enabled(dp->dpsub->disp)) in zynqmp_dp_encoder_enable()1445 if (zynqmp_disp_audio_enabled(dp->dpsub->disp)) in zynqmp_dp_encoder_disable()1573 zynqmp_disp_handle_vblank(dp->dpsub->disp); in zynqmp_dp_irq_handler()1602 int zynqmp_dp_drm_init(struct zynqmp_dpsub *dpsub) in zynqmp_dp_drm_init() argument1604 struct zynqmp_dp *dp = dpsub->dp; in zynqmp_dp_drm_init()1613 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
181 struct zynqmp_dpsub *dpsub; member1558 zynqmp_dp_enable_vblank(disp->dpsub->dp); in zynqmp_disp_crtc_enable_vblank()1567 zynqmp_dp_disable_vblank(disp->dpsub->dp); in zynqmp_disp_crtc_disable_vblank()1612 int zynqmp_disp_drm_init(struct zynqmp_dpsub *dpsub) in zynqmp_disp_drm_init() argument1614 struct zynqmp_disp *disp = dpsub->disp; in zynqmp_disp_drm_init()1630 int zynqmp_disp_probe(struct zynqmp_dpsub *dpsub, struct drm_device *drm) in zynqmp_disp_probe() argument1632 struct platform_device *pdev = to_platform_device(dpsub->dev); in zynqmp_disp_probe()1643 disp->dpsub = dpsub; in zynqmp_disp_probe()1646 dpsub->disp = disp; in zynqmp_disp_probe()1687 dpsub->dma_align = 1 << layer->dmas[0].chan->device->copy_align; in zynqmp_disp_probe()[all …]