Lines Matching refs:bochs
23 struct bochs_device *bochs = dev->dev_private; in bochs_unload() local
25 bochs_fbdev_fini(bochs); in bochs_unload()
26 bochs_kms_fini(bochs); in bochs_unload()
27 bochs_mm_fini(bochs); in bochs_unload()
29 kfree(bochs); in bochs_unload()
36 struct bochs_device *bochs; in bochs_load() local
39 bochs = kzalloc(sizeof(*bochs), GFP_KERNEL); in bochs_load()
40 if (bochs == NULL) in bochs_load()
42 dev->dev_private = bochs; in bochs_load()
43 bochs->dev = dev; in bochs_load()
49 ret = bochs_mm_init(bochs); in bochs_load()
53 ret = bochs_kms_init(bochs); in bochs_load()
58 bochs_fbdev_init(bochs); in bochs_load()
106 struct bochs_device *bochs = drm_dev->dev_private; in bochs_pm_suspend() local
110 if (bochs->fb.initialized) { in bochs_pm_suspend()
112 drm_fb_helper_set_suspend(&bochs->fb.helper, 1); in bochs_pm_suspend()
123 struct bochs_device *bochs = drm_dev->dev_private; in bochs_pm_resume() local
127 if (bochs->fb.initialized) { in bochs_pm_resume()
129 drm_fb_helper_set_suspend(&bochs->fb.helper, 0); in bochs_pm_resume()