Home
last modified time | relevance | path

Searched refs:mga_device (Results 1 – 13 of 13) sorted by relevance

/drivers/gpu/drm/mgag200/
Dmgag200_drv.h160 struct mga_device;
258 void (*disable_vidrst)(struct mga_device *mdev);
264 void (*enable_vidrst)(struct mga_device *mdev);
281 struct mga_device { struct
302 static inline struct mga_device *to_mga_device(struct drm_device *dev) in to_mga_device() argument
304 return container_of(dev, struct mga_device, base); in to_mga_device()
308 struct mga_device base;
322 struct mga_device base;
336 resource_size_t mgag200_device_probe_vram(struct mga_device *mdev);
337 int mgag200_device_preinit(struct mga_device *mdev);
[all …]
Dmgag200_mode.c31 void mgag200_crtc_set_gamma_linear(struct mga_device *mdev, in mgag200_crtc_set_gamma_linear()
68 void mgag200_crtc_set_gamma(struct mga_device *mdev, in mgag200_crtc_set_gamma()
106 static inline void mga_wait_vsync(struct mga_device *mdev) in mga_wait_vsync()
121 static inline void mga_wait_busy(struct mga_device *mdev) in mga_wait_busy()
145 static void mgag200_set_startadd(struct mga_device *mdev, in mgag200_set_startadd()
176 void mgag200_init_registers(struct mga_device *mdev) in mgag200_init_registers()
202 void mgag200_set_mode_regs(struct mga_device *mdev, const struct drm_display_mode *mode) in mgag200_set_mode_regs()
295 static u32 mgag200_calculate_offset(struct mga_device *mdev, in mgag200_calculate_offset()
309 static void mgag200_set_offset(struct mga_device *mdev, in mgag200_set_offset()
326 void mgag200_set_format_regs(struct mga_device *mdev, const struct drm_format_info *format) in mgag200_set_format_regs()
[all …]
Dmgag200_i2c.c36 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()
96 int mgag200_i2c_init(struct mga_device *mdev, struct mga_i2c_chan *i2c) in mgag200_i2c_init()
Dmgag200_g200ev.c14 static void mgag200_g200ev_init_registers(struct mga_device *mdev) in mgag200_g200ev_init_registers()
39 static void mgag200_g200ev_set_hiprilvl(struct mga_device *mdev) in mgag200_g200ev_set_hiprilvl()
103 struct mga_device *mdev = to_mga_device(dev); in mgag200_g200ev_pixpllc_atomic_update()
188 struct mga_device *mdev = to_mga_device(dev); in mgag200_g200ev_crtc_helper_atomic_enable()
241 static int mgag200_g200ev_pipeline_init(struct mga_device *mdev) in mgag200_g200ev_pipeline_init()
321 struct mga_device *mgag200_g200ev_device_create(struct pci_dev *pdev, const struct drm_driver *drv) in mgag200_g200ev_device_create()
323 struct mga_device *mdev; in mgag200_g200ev_device_create()
328 mdev = devm_drm_dev_alloc(&pdev->dev, drv, struct mga_device, base); in mgag200_g200ev_device_create()
Dmgag200_g200er.c14 static void mgag200_g200er_init_registers(struct mga_device *mdev) in mgag200_g200er_init_registers()
39 static void mgag200_g200er_reset_tagfifo(struct mga_device *mdev) in mgag200_g200er_reset_tagfifo()
124 struct mga_device *mdev = to_mga_device(dev); in mgag200_g200er_pixpllc_atomic_update()
187 struct mga_device *mdev = to_mga_device(dev); in mgag200_g200er_crtc_helper_atomic_enable()
240 static int mgag200_g200er_pipeline_init(struct mga_device *mdev) in mgag200_g200er_pipeline_init()
320 struct mga_device *mgag200_g200er_device_create(struct pci_dev *pdev, const struct drm_driver *drv) in mgag200_g200er_device_create()
322 struct mga_device *mdev; in mgag200_g200er_device_create()
327 mdev = devm_drm_dev_alloc(&pdev->dev, drv, struct mga_device, base); in mgag200_g200er_device_create()
Dmgag200_g200ew3.c13 static void mgag200_g200ew3_init_registers(struct mga_device *mdev) in mgag200_g200ew3_init_registers()
110 static int mgag200_g200ew3_pipeline_init(struct mga_device *mdev) in mgag200_g200ew3_pipeline_init()
192 static resource_size_t mgag200_g200ew3_device_probe_vram(struct mga_device *mdev) in mgag200_g200ew3_device_probe_vram()
201 struct mga_device *mgag200_g200ew3_device_create(struct pci_dev *pdev, in mgag200_g200ew3_device_create()
204 struct mga_device *mdev; in mgag200_g200ew3_device_create()
209 mdev = devm_drm_dev_alloc(&pdev->dev, drv, struct mga_device, base); in mgag200_g200ew3_device_create()
Dmgag200_g200se.c47 struct mga_device *mdev = &g200se->base; in mgag200_g200se_init_registers()
64 static void mgag200_g200se_set_hiprilvl(struct mga_device *mdev, in mgag200_g200se_set_hiprilvl()
174 struct mga_device *mdev = to_mga_device(dev); in mgag200_g200se_00_pixpllc_atomic_update()
275 struct mga_device *mdev = to_mga_device(dev); in mgag200_g200se_04_pixpllc_atomic_update()
319 struct mga_device *mdev = to_mga_device(dev); in mgag200_g200se_crtc_helper_atomic_enable()
372 static int mgag200_g200se_pipeline_init(struct mga_device *mdev) in mgag200_g200se_pipeline_init()
464 struct mga_device *mdev = &g200se->base; in mgag200_g200se_init_unique_rev_id()
487 struct mga_device *mgag200_g200se_device_create(struct pci_dev *pdev, const struct drm_driver *drv, in mgag200_g200se_device_create()
493 struct mga_device *mdev; in mgag200_g200se_device_create()
Dmgag200_g200eh.c14 void mgag200_g200eh_init_registers(struct mga_device *mdev) in mgag200_g200eh_init_registers()
96 struct mga_device *mdev = to_mga_device(dev); in mgag200_g200eh_pixpllc_atomic_update()
197 static int mgag200_g200eh_pipeline_init(struct mga_device *mdev) in mgag200_g200eh_pipeline_init()
277 struct mga_device *mgag200_g200eh_device_create(struct pci_dev *pdev, const struct drm_driver *drv) in mgag200_g200eh_device_create()
279 struct mga_device *mdev; in mgag200_g200eh_device_create()
284 mdev = devm_drm_dev_alloc(&pdev->dev, drv, struct mga_device, base); in mgag200_g200eh_device_create()
Dmgag200_g200.c44 struct mga_device *mdev = &g200->base; in mgag200_g200_init_registers()
143 struct mga_device *mdev = to_mga_device(dev); in mgag200_g200_pixpllc_atomic_update()
198 static int mgag200_g200_pipeline_init(struct mga_device *mdev) in mgag200_g200_pipeline_init()
280 struct mga_device *mdev = &g200->base; in mgag200_g200_interpret_bios()
365 struct mga_device *mdev = &g200->base; in mgag200_g200_init_refclk()
401 struct mga_device *mgag200_g200_device_create(struct pci_dev *pdev, const struct drm_driver *drv) in mgag200_g200_device_create()
404 struct mga_device *mdev; in mgag200_g200_device_create()
Dmgag200_g200wb.c14 void mgag200_g200wb_init_registers(struct mga_device *mdev) in mgag200_g200wb_init_registers()
95 struct mga_device *mdev = to_mga_device(dev); in mgag200_g200wb_pixpllc_atomic_update()
244 static int mgag200_g200wb_pipeline_init(struct mga_device *mdev) in mgag200_g200wb_pipeline_init()
326 struct mga_device *mgag200_g200wb_device_create(struct pci_dev *pdev, const struct drm_driver *drv) in mgag200_g200wb_device_create()
328 struct mga_device *mdev; in mgag200_g200wb_device_create()
333 mdev = devm_drm_dev_alloc(&pdev->dev, drv, struct mga_device, base); in mgag200_g200wb_device_create()
Dmgag200_g200eh3.c101 static int mgag200_g200eh3_pipeline_init(struct mga_device *mdev) in mgag200_g200eh3_pipeline_init()
181 struct mga_device *mgag200_g200eh3_device_create(struct pci_dev *pdev, in mgag200_g200eh3_device_create()
184 struct mga_device *mdev; in mgag200_g200eh3_device_create()
189 mdev = devm_drm_dev_alloc(&pdev->dev, drv, struct mga_device, base); in mgag200_g200eh3_device_create()
Dmgag200_drv.c107 resource_size_t mgag200_device_probe_vram(struct mga_device *mdev) in mgag200_device_probe_vram()
112 int mgag200_device_preinit(struct mga_device *mdev) in mgag200_device_preinit()
158 int mgag200_device_init(struct mga_device *mdev, in mgag200_device_init()
215 struct mga_device *mdev; in mgag200_pci_probe()
Dmgag200_bmc.c7 void mgag200_bmc_disable_vidrst(struct mga_device *mdev) in mgag200_bmc_disable_vidrst()
66 void mgag200_bmc_enable_vidrst(struct mga_device *mdev) in mgag200_bmc_enable_vidrst()