Searched refs:fbh (Results 1 – 3 of 3) sorted by relevance
27 static int armada_fbdev_create(struct drm_fb_helper *fbh, in armada_fbdev_create() argument30 struct drm_device *dev = fbh->dev; in armada_fbdev_create()75 info = drm_fb_helper_alloc_fbi(fbh); in armada_fbdev_create()86 fbh->fb = &dfb->fb; in armada_fbdev_create()88 drm_fb_helper_fill_info(info, fbh, sizes); in armada_fbdev_create()101 static int armada_fb_probe(struct drm_fb_helper *fbh, in armada_fb_probe() argument106 if (!fbh->fb) { in armada_fb_probe()107 ret = armada_fbdev_create(fbh, sizes); in armada_fb_probe()121 struct drm_fb_helper *fbh; in armada_fbdev_init() local124 fbh = devm_kzalloc(dev->dev, sizeof(*fbh), GFP_KERNEL); in armada_fbdev_init()[all …]
145 struct drm_fb_helper *fbh = &fbdev->helper; in hibmc_fbdev_destroy() local147 drm_fb_helper_unregister_fbi(fbh); in hibmc_fbdev_destroy()149 drm_fb_helper_fini(fbh); in hibmc_fbdev_destroy()
1949 u16 fbw, fbh; in calc_dma_rotation_offset() local1971 fbh = height; in calc_dma_rotation_offset()1974 fbh = width; in calc_dma_rotation_offset()1998 *offset1 = screen_width * (fbh - 1) * ps; in calc_dma_rotation_offset()2003 *row_inc = pixinc(screen_width * (fbh * x_predecim - 1) + in calc_dma_rotation_offset()2008 *offset1 = (screen_width * (fbh - 1) + fbw - 1) * ps; in calc_dma_rotation_offset()2028 *row_inc = pixinc(-screen_width * (fbh * x_predecim - 1) - in calc_dma_rotation_offset()2056 *row_inc = pixinc(-screen_width * (fbh * x_predecim - 1) + in calc_dma_rotation_offset()2063 *offset1 = screen_width * (fbh - 1) * ps; in calc_dma_rotation_offset()2079 *offset1 = (screen_width * (fbh - 1) + fbw - 1) * ps; in calc_dma_rotation_offset()[all …]