Lines Matching defs:drm_crtc
37 #include "drm_crtc.h"
242 bool drm_helper_crtc_in_use(struct drm_crtc *crtc)
277 struct drm_crtc *crtc;
294 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) {
316 struct drm_crtc *crtc)
319 struct drm_crtc *tmp;
327 list_for_each_entry(tmp, struct drm_crtc, &dev->mode_config.crtc_list, head) {
384 bool drm_crtc_helper_set_mode(struct drm_crtc *crtc,
508 drm_crtc_helper_disable(struct drm_crtc *crtc)
550 struct drm_crtc *save_crtcs, *new_crtc, *crtc;
591 sizeof(struct drm_crtc), GFP_KERNEL);
598 kfree(save_crtcs, dev->mode_config.num_crtc * sizeof(struct drm_crtc));
605 kfree(save_crtcs, dev->mode_config.num_crtc * sizeof(struct drm_crtc));
615 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) {
784 kfree(save_crtcs, dev->mode_config.num_crtc * sizeof(struct drm_crtc));
790 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) {
812 kfree(save_crtcs, dev->mode_config.num_crtc * sizeof(struct drm_crtc));
830 static int drm_helper_choose_crtc_dpms(struct drm_crtc *crtc)
856 struct drm_crtc *crtc = encoder ? encoder->crtc : NULL;
921 struct drm_crtc *crtc;
927 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) {