Lines Matching full:disp

101 			outreg(disp, GC_L0PAL0 + (regno * 4), val);  in mb862xxfb_setcolreg()
217 /* disp off */ in mb862xxfb_set_par()
218 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par()
220 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
224 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par()
227 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
230 /* disp dimension, format */ in mb862xxfb_set_par()
235 outreg(disp, GC_L0M, reg); in mb862xxfb_set_par()
238 reg = inreg(disp, GC_L0EM); in mb862xxfb_set_par()
239 outreg(disp, GC_L0EM, reg | GC_L0EM_L0EC_24); in mb862xxfb_set_par()
241 outreg(disp, GC_WY_WX, 0); in mb862xxfb_set_par()
243 outreg(disp, GC_WH_WW, reg); in mb862xxfb_set_par()
244 outreg(disp, GC_L0OA0, 0); in mb862xxfb_set_par()
245 outreg(disp, GC_L0DA0, 0); in mb862xxfb_set_par()
246 outreg(disp, GC_L0DY_L0DX, 0); in mb862xxfb_set_par()
247 outreg(disp, GC_L0WY_L0WX, 0); in mb862xxfb_set_par()
248 outreg(disp, GC_L0WH_L0WW, reg); in mb862xxfb_set_par()
251 reg = inreg(disp, GC_CPM_CUTC); in mb862xxfb_set_par()
253 outreg(disp, GC_CPM_CUTC, reg); in mb862xxfb_set_par()
257 outreg(disp, GC_HDB_HDP, reg); in mb862xxfb_set_par()
259 outreg(disp, GC_VDP_VSP, reg); in mb862xxfb_set_par()
262 outreg(disp, GC_VSW_HSW_HSP, reg); in mb862xxfb_set_par()
263 outreg(disp, GC_HTP, pack(h_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
264 outreg(disp, GC_VTR, pack(v_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
267 reg = inreg(disp, GC_DCM1); in mb862xxfb_set_par()
270 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
281 outreg(disp, GC_L0WY_L0WX, reg); in mb862xxfb_pan()
284 outreg(disp, GC_L0WH_L0WW, reg); in mb862xxfb_pan()
297 reg = inreg(disp, GC_DCM1); in mb862xxfb_blank()
299 outreg(disp, GC_DCM1, reg); in mb862xxfb_blank()
302 reg = inreg(disp, GC_DCM1); in mb862xxfb_blank()
304 outreg(disp, GC_DCM1, reg); in mb862xxfb_blank()
339 l1em = inreg(disp, GC_L1EM); in mb862xxfb_ioctl()
351 l1em = inreg(disp, GC_L1EM); in mb862xxfb_ioctl()
364 outreg(disp, GC_L1EM, l1em); in mb862xxfb_ioctl()
369 outreg(disp, GC_L1DA, par->cap_buf); in mb862xxfb_ioctl()
374 outreg(disp, GC_L1M, GC_L1M_16 | GC_L1M_YC | GC_L1M_CS | in mb862xxfb_ioctl()
376 outreg(disp, GC_L1WY_L1WX, in mb862xxfb_ioctl()
378 outreg(disp, GC_L1WH_L1WW, in mb862xxfb_ioctl()
380 outreg(disp, GC_DLS, 1); in mb862xxfb_ioctl()
383 outreg(disp, GC_DCM1, inreg(disp, GC_DCM1) | in mb862xxfb_ioctl()
388 outreg(disp, GC_DCM1, in mb862xxfb_ioctl()
389 inreg(disp, GC_DCM1) & ~GC_DCM1_L1E); in mb862xxfb_ioctl()
446 reg = inreg(disp, GC_DCM1); in mb862xxfb_init_fbinfo()
448 /* get the disp mode from active display cfg */ in mb862xxfb_init_fbinfo()
452 dev_dbg(par->dev, "using bootloader's disp. mode\n"); in mb862xxfb_init_fbinfo()
454 fbi->var.xres = (inreg(disp, GC_HDB_HDP) & 0x0fff) + 1; in mb862xxfb_init_fbinfo()
455 reg = inreg(disp, GC_VDP_VSP); in mb862xxfb_init_fbinfo()
460 reg = inreg(disp, GC_L0EM); in mb862xxfb_init_fbinfo()
464 reg = inreg(disp, GC_L0M); in mb862xxfb_init_fbinfo()
470 reg = inreg(disp, GC_VSW_HSW_HSP); in mb862xxfb_init_fbinfo()
474 ht = ((inreg(disp, GC_HTP) & 0xfff0000) >> 16) + 1; in mb862xxfb_init_fbinfo()
477 vt = ((inreg(disp, GC_VTR) & 0xfff0000) >> 16) + 1; in mb862xxfb_init_fbinfo()
558 reg, inreg(disp, reg)); in dispregs_show()
562 reg, inreg(disp, reg)); in dispregs_show()
566 reg, inreg(disp, reg)); in dispregs_show()
638 par->disp = par->mmio_base + MB862XX_DISP_BASE; in mb862xx_gdc_init()
797 reg = inreg(disp, GC_DCM1); in of_platform_mb862xx_remove()
799 outreg(disp, GC_DCM1, reg); in of_platform_mb862xx_remove()
852 par->disp = par->mmio_base + MB862XX_DISP_BASE; in coralp_init()
875 reg = inreg(disp, GC_DCM1); in coralp_init()
933 par->disp = par->mmio_base + MB86297_DISP0_BASE; in carmine_init()
1145 reg = inreg(disp, GC_DCM1); in mb862xx_pci_remove()
1147 outreg(disp, GC_DCM1, reg); in mb862xx_pci_remove()