Lines Matching refs:SET_GBE_FIELD
223 SET_GBE_FIELD(OVR_CONTROL, OVR_DMA_ENABLE, val, 0);
227 SET_GBE_FIELD(FRM_CONTROL, FRM_DMA_ENABLE, val, 0);
231 SET_GBE_FIELD(DID_CONTROL, DID_DMA_ENABLE, val, 0);
285 SET_GBE_FIELD(VT_XY, FREEZE, val, 1);
300 SET_GBE_FIELD(DOTCLK, RUN, val, 0);
315 SET_GBE_FIELD(FRM_SIZE_TILE, FRM_FIFO_RESET, val, 1);
317 SET_GBE_FIELD(FRM_SIZE_TILE, FRM_FIFO_RESET, val, 0);
337 SET_GBE_FIELD(DOTCLK, RUN, val, 1);
352 SET_GBE_FIELD(VT_XY, FREEZE, val, 0);
367 SET_GBE_FIELD(FRM_CONTROL, FRM_DMA_ENABLE, val, 1);
428 SET_GBE_FIELD(VT_FLAGS, HDRV_INVERT, outputVal,
430 SET_GBE_FIELD(VT_FLAGS, VDRV_INVERT, outputVal,
444 SET_GBE_FIELD(FP_DE, ON, outputVal, fp_vbs);
445 SET_GBE_FIELD(FP_DE, OFF, outputVal, fp_vbe);
448 SET_GBE_FIELD(FP_HDRV, OFF, outputVal, fp_wid);
451 SET_GBE_FIELD(FP_VDRV, ON, outputVal, 1);
452 SET_GBE_FIELD(FP_VDRV, OFF, outputVal, fp_hgt + 1);
550 SET_GBE_FIELD(DOTCLK, M, val, timing->pll_m - 1);
551 SET_GBE_FIELD(DOTCLK, N, val, timing->pll_n - 1);
552 SET_GBE_FIELD(DOTCLK, P, val, timing->pll_p);
553 SET_GBE_FIELD(DOTCLK, RUN, val, 0); /* do not start yet */
559 SET_GBE_FIELD(VT_XYMAX, MAXX, val, timing->htotal);
560 SET_GBE_FIELD(VT_XYMAX, MAXY, val, timing->vtotal);
565 SET_GBE_FIELD(VT_VSYNC, VSYNC_ON, val, timing->vsync_start);
566 SET_GBE_FIELD(VT_VSYNC, VSYNC_OFF, val, timing->vsync_end);
569 SET_GBE_FIELD(VT_HSYNC, HSYNC_ON, val, timing->hsync_start);
570 SET_GBE_FIELD(VT_HSYNC, HSYNC_OFF, val, timing->hsync_end);
573 SET_GBE_FIELD(VT_VBLANK, VBLANK_ON, val, timing->vblank_start);
574 SET_GBE_FIELD(VT_VBLANK, VBLANK_OFF, val, timing->vblank_end);
577 SET_GBE_FIELD(VT_HBLANK, HBLANK_ON, val,
579 SET_GBE_FIELD(VT_HBLANK, HBLANK_OFF, val,
585 SET_GBE_FIELD(VT_VCMAP, VCMAP_ON, val, timing->vblank_start);
586 SET_GBE_FIELD(VT_VCMAP, VCMAP_OFF, val, timing->vblank_end);
589 SET_GBE_FIELD(VT_HCMAP, HCMAP_ON, val, timing->hblank_start);
590 SET_GBE_FIELD(VT_HCMAP, HCMAP_OFF, val, timing->hblank_end);
601 SET_GBE_FIELD(DID_START_XY, DID_STARTY, val, (u32) temp);
603 SET_GBE_FIELD(DID_START_XY, DID_STARTX, val,
606 SET_GBE_FIELD(DID_START_XY, DID_STARTX, val,
611 SET_GBE_FIELD(CRS_START_XY, CRS_STARTY, val, (u32) (temp + 1));
613 SET_GBE_FIELD(CRS_START_XY, CRS_STARTX, val,
616 SET_GBE_FIELD(CRS_START_XY, CRS_STARTX, val,
622 SET_GBE_FIELD(VC_START_XY, VC_STARTY, val, (u32) temp);
623 SET_GBE_FIELD(VC_START_XY, VC_STARTX, val, timing->hblank_end - 4);
631 SET_GBE_FIELD(VT_HPIXEN, HPIXEN_ON, val, temp);
632 SET_GBE_FIELD(VT_HPIXEN, HPIXEN_OFF, val,
638 SET_GBE_FIELD(VT_VPIXEN, VPIXEN_ON, val, timing->vblank_end);
639 SET_GBE_FIELD(VT_VPIXEN, VPIXEN_OFF, val, timing->vblank_start);
644 SET_GBE_FIELD(VT_FLAGS, SYNC_LOW, val, 1);
679 SET_GBE_FIELD(WID, TYP, val, GBE_CMODE_I8);
683 SET_GBE_FIELD(WID, TYP, val, GBE_CMODE_ARGB5);
687 SET_GBE_FIELD(WID, TYP, val, GBE_CMODE_RGB8);
691 SET_GBE_FIELD(WID, BUF, val, GBE_BMODE_BOTH);
768 SET_GBE_FIELD(FRM_CONTROL, FRM_TILE_PTR, val, gbe_tiles.dma >> 9);
769 SET_GBE_FIELD(FRM_CONTROL, FRM_DMA_ENABLE, val, 0); /* do not start */
770 SET_GBE_FIELD(FRM_CONTROL, FRM_LINEAR, val, 0);
779 SET_GBE_FIELD(FRM_SIZE_TILE, FRM_WIDTH_TILE, val, wholeTilesX);
780 SET_GBE_FIELD(FRM_SIZE_TILE, FRM_RHS, val, partTilesX);
784 SET_GBE_FIELD(FRM_SIZE_TILE, FRM_DEPTH, val,
788 SET_GBE_FIELD(FRM_SIZE_TILE, FRM_DEPTH, val,
792 SET_GBE_FIELD(FRM_SIZE_TILE, FRM_DEPTH, val,
802 SET_GBE_FIELD(FRM_SIZE_PIXEL, FB_HEIGHT_PIX, val, height_pix);