Searched refs:mga_device (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/mgag200/ |
D | mgag200_i2c.c | 36 static int mga_i2c_read_gpio(struct mga_device *mdev) in mga_i2c_read_gpio() 42 static void mga_i2c_set_gpio(struct mga_device *mdev, int mask, int val) in mga_i2c_set_gpio() 52 static inline void mga_i2c_set(struct mga_device *mdev, int mask, int state) in mga_i2c_set() 64 struct mga_device *mdev = to_mga_device(i2c->dev); in mga_gpio_setsda() 71 struct mga_device *mdev = to_mga_device(i2c->dev); in mga_gpio_setscl() 78 struct mga_device *mdev = to_mga_device(i2c->dev); in mga_gpio_getsda() 85 struct mga_device *mdev = to_mga_device(i2c->dev); in mga_gpio_getscl() 91 struct mga_device *mdev = to_mga_device(dev); in mgag200_i2c_create()
|
D | mgag200_mode.c | 38 struct mga_device *mdev = to_mga_device(dev); in mga_crtc_load_lut() 89 static inline void mga_wait_vsync(struct mga_device *mdev) in mga_wait_vsync() 104 static inline void mga_wait_busy(struct mga_device *mdev) in mga_wait_busy() 113 static void mgag200_g200wb_hold_bmc(struct mga_device *mdev) in mgag200_g200wb_hold_bmc() 166 static void mgag200_g200wb_release_bmc(struct mga_device *mdev) in mgag200_g200wb_release_bmc() 217 static void mgag200_set_startadd(struct mga_device *mdev, in mgag200_set_startadd() 245 static void mgag200_set_dac_regs(struct mga_device *mdev) in mgag200_set_dac_regs() 319 static void mgag200_init_regs(struct mga_device *mdev) in mgag200_init_regs() 353 static void mgag200_set_mode_regs(struct mga_device *mdev, in mgag200_set_mode_regs() 446 static u32 mgag200_calculate_offset(struct mga_device *mdev, in mgag200_calculate_offset() [all …]
|
D | mgag200_drv.h | 129 struct mga_device; 155 struct mga_device *mdev; 212 struct mga_device { struct 246 static inline struct mga_device *to_mga_device(struct drm_device *dev) in to_mga_device() argument 248 return container_of(dev, struct mga_device, base); in to_mga_device() 252 int mgag200_modeset_init(struct mga_device *mdev); 259 int mgag200_mm_init(struct mga_device *mdev); 262 int mgag200_pixpll_init(struct mgag200_pll *pixpll, struct mga_device *mdev);
|
D | mgag200_drv.c | 48 static bool mgag200_has_sgram(struct mga_device *mdev) in mgag200_has_sgram() 62 static int mgag200_regs_init(struct mga_device *mdev) in mgag200_regs_init() 130 static void mgag200_g200_interpret_bios(struct mga_device *mdev, in mgag200_g200_interpret_bios() 221 static void mgag200_g200_init_refclk(struct mga_device *mdev) in mgag200_g200_init_refclk() 254 static void mgag200_g200se_init_unique_id(struct mga_device *mdev) in mgag200_g200se_init_unique_id() 265 static struct mga_device * 268 struct mga_device *mdev; in mgag200_device_create() 272 mdev = devm_drm_dev_alloc(&pdev->dev, &mgag200_driver, struct mga_device, base); in mgag200_device_create() 339 struct mga_device *mdev; in mgag200_pci_probe()
|
D | mgag200_mm.c | 35 static size_t mgag200_probe_vram(struct mga_device *mdev, void __iomem *mem, in mgag200_probe_vram() 80 struct mga_device *mdev = to_mga_device(dev); in mgag200_mm_release() 91 int mgag200_mm_init(struct mga_device *mdev) in mgag200_mm_init()
|
D | mgag200_pll.c | 14 struct mga_device *mdev = pixpll->mdev; in mgag200_pixpll_compute_g200() 85 struct mga_device *mdev = pixpll->mdev; in mgag200_pixpll_update_g200() 171 struct mga_device *mdev = pixpll->mdev; in mgag200_pixpll_update_g200se_00() 264 struct mga_device *mdev = pixpll->mdev; in mgag200_pixpll_update_g200se_04() 354 struct mga_device *mdev = pixpll->mdev; in mgag200_pixpll_update_g200wb() 526 struct mga_device *mdev = pixpll->mdev; in mgag200_pixpll_update_g200ev() 651 struct mga_device *mdev = pixpll->mdev; in mgag200_pixpll_update_g200eh() 842 struct mga_device *mdev = pixpll->mdev; in mgag200_pixpll_update_g200er() 952 int mgag200_pixpll_init(struct mgag200_pll *pixpll, struct mga_device *mdev) in mgag200_pixpll_init()
|