Searched refs:to_mga_device (Results 1 – 2 of 2) sorted by relevance
38 struct mga_device *mdev = to_mga_device(dev); in mgag200_set_gamma_lut()515 struct mga_device *mdev = to_mga_device(dev); in mgag200_primary_plane_helper_atomic_update()538 struct mga_device *mdev = to_mga_device(dev); in mgag200_primary_plane_helper_atomic_enable()551 struct mga_device *mdev = to_mga_device(dev); in mgag200_primary_plane_helper_atomic_disable()563 struct mga_device *mdev = to_mga_device(plane->dev); in mgag200_primary_plane_helper_get_scanout_buffer()584 struct mga_device *mdev = to_mga_device(crtc->dev); in mgag200_crtc_helper_mode_valid()614 struct mga_device *mdev = to_mga_device(dev); in mgag200_crtc_helper_atomic_check()650 struct mga_device *mdev = to_mga_device(dev); in mgag200_crtc_helper_atomic_flush()665 struct mga_device *mdev = to_mga_device(dev); in mgag200_crtc_helper_atomic_enable()688 struct mga_device *mdev = to_mga_device(crtc->dev); in mgag200_crtc_helper_atomic_disable()[all …]
290 static inline struct mga_device *to_mga_device(struct drm_device *dev) in to_mga_device() function306 return container_of(to_mga_device(dev), struct mgag200_g200_device, base); in to_mgag200_g200_device()318 return container_of(to_mga_device(dev), struct mgag200_g200se_device, base); in to_mgag200_g200se_device()