Home
last modified time | relevance | path

Searched refs:ocfb_writereg (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/video/fbdev/
H A Docfb.c95 static void ocfb_writereg(struct ocfb_dev *fbdev, loff_t offset, u32 data) in ocfb_writereg() function
112 ocfb_writereg(fbdev, OCFB_CTRL, 0); in ocfb_setupfb()
116 ocfb_writereg(fbdev, OCFB_VBARA, fbdev->fb_phys); in ocfb_setupfb()
121 ocfb_writereg(fbdev, OCFB_VBARA, fbdev->fb_phys); in ocfb_setupfb()
125 ocfb_writereg(fbdev, OCFB_HTIM, (var->hsync_len - 1) << 24 | in ocfb_setupfb()
129 ocfb_writereg(fbdev, OCFB_VTIM, (var->vsync_len - 1) << 24 | in ocfb_setupfb()
139 ocfb_writereg(fbdev, OCFB_HVLEN, (hlen - 1) << 16 | (vlen - 1)); in ocfb_setupfb()
169 ocfb_writereg(fbdev, OCFB_CTRL, (OCFB_CTRL_VEN | bpp_config)); in ocfb_setupfb()
199 ocfb_writereg(fbdev, OCFB_PALETTE + regno, color); in ocfb_setcolreg()
381 ocfb_writereg(fbdev, OCFB_CTRL, 0); in ocfb_remove()