Lines Matching refs:fsl_dev

25 	struct fsl_dcu_drm_device *fsl_dev = plane->dev->dev_private;  in fsl_dcu_drm_plane_index()  local
26 unsigned int total_layer = fsl_dev->soc->total_layer; in fsl_dcu_drm_plane_index()
33 dev_err(fsl_dev->dev, "No more layer left\n"); in fsl_dcu_drm_plane_index()
66 struct fsl_dcu_drm_device *fsl_dev = plane->dev->dev_private; in fsl_dcu_drm_plane_atomic_disable() local
74 regmap_read(fsl_dev->regmap, DCU_CTRLDESCLN(index, 4), &value); in fsl_dcu_drm_plane_atomic_disable()
76 regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 4), value); in fsl_dcu_drm_plane_atomic_disable()
83 struct fsl_dcu_drm_device *fsl_dev = plane->dev->dev_private; in fsl_dcu_drm_plane_atomic_update() local
132 regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 1), in fsl_dcu_drm_plane_atomic_update()
135 regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 2), in fsl_dcu_drm_plane_atomic_update()
138 regmap_write(fsl_dev->regmap, in fsl_dcu_drm_plane_atomic_update()
140 regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 4), in fsl_dcu_drm_plane_atomic_update()
145 regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 5), in fsl_dcu_drm_plane_atomic_update()
149 regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 6), in fsl_dcu_drm_plane_atomic_update()
153 regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 7), 0); in fsl_dcu_drm_plane_atomic_update()
154 regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 8), in fsl_dcu_drm_plane_atomic_update()
156 regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 9), in fsl_dcu_drm_plane_atomic_update()
159 if (!strcmp(fsl_dev->soc->name, "ls1021a")) { in fsl_dcu_drm_plane_atomic_update()
160 regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 10), in fsl_dcu_drm_plane_atomic_update()
197 struct fsl_dcu_drm_device *fsl_dev = dev->dev_private; in fsl_dcu_drm_init_planes() local
200 for (i = 0; i < fsl_dev->soc->total_layer; i++) { in fsl_dcu_drm_init_planes()
201 for (j = 1; j <= fsl_dev->soc->layer_regs; j++) in fsl_dcu_drm_init_planes()
202 regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(i, j), 0); in fsl_dcu_drm_init_planes()