Lines Matching defs:crtc
311 dc_setup_clk(struct dc_softc *sc, struct drm_crtc *crtc,
323 list_for_each_entry(encoder, &crtc->dev->mode_config.encoder_list,
325 if (encoder->crtc == crtc) {
507 struct tegra_crtc *crtc;
515 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc);
516 sc = device_get_softc(crtc->dev);
547 struct tegra_crtc *crtc;
551 if (drm_plane->crtc == NULL)
554 crtc = container_of(drm_plane->crtc, struct tegra_crtc, drm_crtc);
556 sc = device_get_softc(crtc->dev);
596 dc_crtc_dpms(struct drm_crtc *crtc, int mode)
602 dc_crtc_mode_fixup(struct drm_crtc *crtc, const struct drm_display_mode *mode,
642 struct tegra_crtc *crtc;
648 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc);
649 sc = device_get_softc(crtc->dev);
716 struct tegra_crtc *crtc;
720 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc);
722 sc = device_get_softc(crtc->dev);
737 struct tegra_crtc *crtc;
740 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc);
741 sc = device_get_softc(crtc->dev);
769 struct tegra_crtc *crtc;
772 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc);
773 sc = device_get_softc(crtc->dev);
789 dc_crtc_load_lut(struct drm_crtc *crtc)
806 drm_crtc_index(struct drm_crtc *crtc)
812 list_for_each_entry(tmp, &crtc->dev->mode_config.crtc_list, head) {
813 if (tmp == crtc)
829 struct tegra_crtc *crtc;
831 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc);
832 return (crtc->nvidia_head);
839 struct tegra_crtc *crtc;
842 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc);
843 sc = device_get_softc(crtc->dev);
856 struct tegra_crtc *crtc;
859 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc);
860 sc = device_get_softc(crtc->dev);
914 struct tegra_crtc *crtc;
917 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc);
918 sc = device_get_softc(crtc->dev);
940 struct tegra_crtc *crtc;
944 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc);
945 sc = device_get_softc(crtc->dev);
973 struct tegra_crtc *crtc;
979 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc);
980 sc = device_get_softc(crtc->dev);
1024 dst = (uint32_t *)crtc->cursor_vbase;
1029 val |= CURSOR_START_ADDR(crtc->cursor_pbase);
1062 struct tegra_crtc *crtc;
1064 crtc = container_of(drm_crtc, struct tegra_crtc, drm_crtc);
1065 sc = device_get_softc(crtc->dev);
1075 dc_destroy(struct drm_crtc *crtc)
1078 drm_crtc_cleanup(crtc);
1079 memset(crtc, 0, sizeof(*crtc));