Lines Matching refs:crtc

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