Lines Matching full:disp

92 			outreg(disp, GC_L0PAL0 + (regno * 4), val);  in mb862xxfb_setcolreg()
207 /* disp off */ in mb862xxfb_set_par()
208 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par()
210 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
214 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par()
217 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
220 /* disp dimension, format */ in mb862xxfb_set_par()
225 outreg(disp, GC_L0M, reg); in mb862xxfb_set_par()
228 reg = inreg(disp, GC_L0EM); in mb862xxfb_set_par()
229 outreg(disp, GC_L0EM, reg | GC_L0EM_L0EC_24); in mb862xxfb_set_par()
231 outreg(disp, GC_WY_WX, 0); in mb862xxfb_set_par()
233 outreg(disp, GC_WH_WW, reg); in mb862xxfb_set_par()
234 outreg(disp, GC_L0OA0, 0); in mb862xxfb_set_par()
235 outreg(disp, GC_L0DA0, 0); in mb862xxfb_set_par()
236 outreg(disp, GC_L0DY_L0DX, 0); in mb862xxfb_set_par()
237 outreg(disp, GC_L0WY_L0WX, 0); in mb862xxfb_set_par()
238 outreg(disp, GC_L0WH_L0WW, reg); in mb862xxfb_set_par()
241 reg = inreg(disp, GC_CPM_CUTC); in mb862xxfb_set_par()
243 outreg(disp, GC_CPM_CUTC, reg); in mb862xxfb_set_par()
247 outreg(disp, GC_HDB_HDP, reg); in mb862xxfb_set_par()
249 outreg(disp, GC_VDP_VSP, reg); in mb862xxfb_set_par()
252 outreg(disp, GC_VSW_HSW_HSP, reg); in mb862xxfb_set_par()
253 outreg(disp, GC_HTP, pack(h_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
254 outreg(disp, GC_VTR, pack(v_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
257 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par()
260 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
271 outreg(disp, GC_L0WY_L0WX, reg); in mb862xxfb_pan()
274 outreg(disp, GC_L0WH_L0WW, reg); in mb862xxfb_pan()
287 reg = inreg(disp, GC_DCM1); in mb862xxfb_blank()
289 outreg(disp, GC_DCM1, reg); in mb862xxfb_blank()
292 reg = inreg(disp, GC_DCM1); in mb862xxfb_blank()
294 outreg(disp, GC_DCM1, reg); in mb862xxfb_blank()
329 l1em = inreg(disp, GC_L1EM); in mb862xxfb_ioctl()
341 l1em = inreg(disp, GC_L1EM); in mb862xxfb_ioctl()
354 outreg(disp, GC_L1EM, l1em); in mb862xxfb_ioctl()
359 outreg(disp, GC_L1DA, par->cap_buf); in mb862xxfb_ioctl()
364 outreg(disp, GC_L1M, GC_L1M_16 | GC_L1M_YC | GC_L1M_CS | in mb862xxfb_ioctl()
366 outreg(disp, GC_L1WY_L1WX, in mb862xxfb_ioctl()
368 outreg(disp, GC_L1WH_L1WW, in mb862xxfb_ioctl()
370 outreg(disp, GC_DLS, 1); in mb862xxfb_ioctl()
373 outreg(disp, GC_DCM1, inreg(disp, GC_DCM1) | in mb862xxfb_ioctl()
378 outreg(disp, GC_DCM1, in mb862xxfb_ioctl()
379 inreg(disp, GC_DCM1) & ~GC_DCM1_L1E); in mb862xxfb_ioctl()
434 reg = inreg(disp, GC_DCM1); in mb862xxfb_init_fbinfo()
436 /* get the disp mode from active display cfg */ in mb862xxfb_init_fbinfo()
440 dev_dbg(par->dev, "using bootloader's disp. mode\n"); in mb862xxfb_init_fbinfo()
442 fbi->var.xres = (inreg(disp, GC_HDB_HDP) & 0x0fff) + 1; in mb862xxfb_init_fbinfo()
443 reg = inreg(disp, GC_VDP_VSP); in mb862xxfb_init_fbinfo()
448 reg = inreg(disp, GC_L0EM); in mb862xxfb_init_fbinfo()
452 reg = inreg(disp, GC_L0M); in mb862xxfb_init_fbinfo()
458 reg = inreg(disp, GC_VSW_HSW_HSP); in mb862xxfb_init_fbinfo()
462 ht = ((inreg(disp, GC_HTP) & 0xfff0000) >> 16) + 1; in mb862xxfb_init_fbinfo()
465 vt = ((inreg(disp, GC_VTR) & 0xfff0000) >> 16) + 1; in mb862xxfb_init_fbinfo()
546 reg, inreg(disp, reg)); in dispregs_show()
550 reg, inreg(disp, reg)); in dispregs_show()
554 reg, inreg(disp, reg)); in dispregs_show()
626 par->disp = par->mmio_base + MB862XX_DISP_BASE; in mb862xx_gdc_init()
794 reg = inreg(disp, GC_DCM1); in of_platform_mb862xx_remove()
796 outreg(disp, GC_DCM1, reg); in of_platform_mb862xx_remove()
848 par->disp = par->mmio_base + MB862XX_DISP_BASE; in coralp_init()
871 reg = inreg(disp, GC_DCM1); in coralp_init()
929 par->disp = par->mmio_base + MB86297_DISP0_BASE; in carmine_init()
1141 reg = inreg(disp, GC_DCM1); in mb862xx_pci_remove()
1143 outreg(disp, GC_DCM1, reg); in mb862xx_pci_remove()