Searched refs:viapar (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/video/fbdev/via/ |
H A D | accel.c | 320 struct viafb_par *viapar = info->par; viafb_setup_engine() local 322 u32 chip_name = viapar->shared->chip_info.gfx_chip_name; viafb_setup_engine() 324 engine = viapar->shared->vdev->engine_mmio; viafb_setup_engine() 342 viapar->shared->hw_bitblt = hw_bitblt_1; viafb_setup_engine() 347 viapar->shared->hw_bitblt = hw_bitblt_2; viafb_setup_engine() 350 viapar->shared->hw_bitblt = NULL; viafb_setup_engine() 353 viapar->fbmem_free -= CURSOR_SIZE; viafb_setup_engine() 354 viapar->shared->cursor_vram_addr = viapar->fbmem_free; viafb_setup_engine() 355 viapar->fbmem_used += CURSOR_SIZE; viafb_setup_engine() 357 viapar->fbmem_free -= VQ_SIZE; viafb_setup_engine() 358 viapar->shared->vq_vram_addr = viapar->fbmem_free; viafb_setup_engine() 359 viapar->fbmem_used += VQ_SIZE; viafb_setup_engine() 371 viapar->shared->vdev->camera_fbmem_size = 3*VGA_HEIGHT*VGA_WIDTH*2; viafb_setup_engine() 372 viapar->fbmem_free -= viapar->shared->vdev->camera_fbmem_size; viafb_setup_engine() 373 viapar->fbmem_used += viapar->shared->vdev->camera_fbmem_size; viafb_setup_engine() 374 viapar->shared->vdev->camera_fbmem_offset = viapar->fbmem_free; viafb_setup_engine() 377 viafb_reset_engine(viapar); viafb_setup_engine() 381 void viafb_reset_engine(struct viafb_par *viapar) viafb_reset_engine() argument 383 void __iomem *engine = viapar->shared->vdev->engine_mmio; viafb_reset_engine() 386 vq_len, chip_name = viapar->shared->chip_info.gfx_chip_name; viafb_reset_engine() 389 switch (viapar->shared->chip_info.twod_engine) { viafb_reset_engine() 429 vq_start_addr = viapar->shared->vq_vram_addr; viafb_reset_engine() 430 vq_end_addr = viapar->shared->vq_vram_addr + VQ_SIZE - 1; viafb_reset_engine() 484 writel(viapar->shared->cursor_vram_addr, engine + VIA_REG_CURSOR_MODE); viafb_reset_engine() 494 struct viafb_par *viapar = info->par; viafb_show_hw_cursor() local 495 u32 temp, iga_path = viapar->iga_path; viafb_show_hw_cursor() 497 temp = readl(viapar->shared->vdev->engine_mmio + VIA_REG_CURSOR_MODE); viafb_show_hw_cursor() 514 writel(temp, viapar->shared->vdev->engine_mmio + VIA_REG_CURSOR_MODE); viafb_show_hw_cursor() 519 struct viafb_par *viapar = info->par; viafb_wait_engine_idle() local 522 void __iomem *engine = viapar->shared->vdev->engine_mmio; viafb_wait_engine_idle() 524 switch (viapar->shared->chip_info.twod_engine) { viafb_wait_engine_idle()
|
H A D | viafbdev.c | 268 struct viafb_par *viapar = info->par; viafb_set_par() local 273 viapar->depth = fb_get_color_depth(&info->var, &info->fix); viafb_set_par() 291 if (viafb_dual_fb && viapar->iga_path == IGA2) { viafb_set_par() 313 struct viafb_par *viapar = info->par; viafb_setcolreg() local 320 if (!viafb_dual_fb || viapar->iga_path == IGA1) viafb_setcolreg() 324 if (!viafb_dual_fb || viapar->iga_path == IGA2) viafb_setcolreg() 346 struct viafb_par *viapar = info->par; viafb_pan_display() local 347 u32 vram_addr = viapar->vram_addr viafb_pan_display() 355 } else if (viapar->iga_path == IGA1) viafb_pan_display() 681 struct viafb_par *viapar = info->par; viafb_fillrect() local 682 struct viafb_shared *shared = viapar->shared; viafb_fillrect() 707 viapar->vram_addr, info->fix.line_length, rect->dx, rect->dy, viafb_fillrect() 715 struct viafb_par *viapar = info->par; viafb_copyarea() local 716 struct viafb_shared *shared = viapar->shared; viafb_copyarea() 729 viapar->vram_addr, info->fix.line_length, area->dx, area->dy, viafb_copyarea() 730 NULL, viapar->vram_addr, info->fix.line_length, viafb_copyarea() 738 struct viafb_par *viapar = info->par; viafb_imageblit() local 739 struct viafb_shared *shared = viapar->shared; viafb_imageblit() 744 (image->depth != 1 && image->depth != viapar->depth)) { viafb_imageblit() 766 viapar->vram_addr, info->fix.line_length, image->dx, image->dy, viafb_imageblit() 773 struct viafb_par *viapar = info->par; viafb_cursor() local 774 void __iomem *engine = viapar->shared->vdev->engine_mmio; viafb_cursor() 776 chip_name = viapar->shared->chip_info.gfx_chip_name; viafb_cursor() 783 if ((chip_name == UNICHROME_CLE266 && viapar->iga_path == IGA2) || viafb_cursor() 909 memcpy_toio(viafbinfo->screen_base + viapar->shared-> viafb_cursor()
|
H A D | accel.h | 207 void viafb_reset_engine(struct viafb_par *viapar);
|
Completed in 81 milliseconds