Searched refs:gen_cntl (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/arch/x86/kernel/
H A Dquirks.c187 u32 uninitialized_var(gen_cntl); old_ich_force_hpet_resume()
192 pci_read_config_dword(cached_dev, 0xD0, &gen_cntl); old_ich_force_hpet_resume()
193 gen_cntl &= (~(0x7 << 15)); old_ich_force_hpet_resume()
194 gen_cntl |= (0x4 << 15); old_ich_force_hpet_resume()
196 pci_write_config_dword(cached_dev, 0xD0, gen_cntl); old_ich_force_hpet_resume()
197 pci_read_config_dword(cached_dev, 0xD0, &gen_cntl); old_ich_force_hpet_resume()
198 val = gen_cntl >> 15; old_ich_force_hpet_resume()
209 u32 uninitialized_var(gen_cntl); old_ich_force_enable_hpet()
214 pci_read_config_dword(dev, 0xD0, &gen_cntl); old_ich_force_enable_hpet()
219 val = gen_cntl >> 15; old_ich_force_enable_hpet()
233 gen_cntl &= (~(0x7 << 15)); old_ich_force_enable_hpet()
234 gen_cntl |= (0x4 << 15); old_ich_force_enable_hpet()
235 pci_write_config_dword(dev, 0xD0, gen_cntl); old_ich_force_enable_hpet()
237 pci_read_config_dword(dev, 0xD0, &gen_cntl); old_ich_force_enable_hpet()
239 val = gen_cntl >> 15; old_ich_force_enable_hpet()
/linux-4.4.14/drivers/video/fbdev/aty/
H A Datyfb_base.c671 crtc->gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par); aty_get_crtc()
694 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl & aty_set_crtc()
711 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl & ~CRTC_EN, par); aty_set_crtc()
719 (crtc->gen_cntl & CRTC_CSYNC_EN) ? 'P' : 'N'); aty_set_crtc()
727 DPRINTK("CRTC_GEN_CNTL: %x\n", crtc->gen_cntl); aty_set_crtc()
736 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl, par); aty_set_crtc()
1027 /* crtc->gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par) & CRTC_PRESERVED_MASK; */ aty_var_to_crtc()
1028 crtc->gen_cntl = CRTC_EXT_DISP_EN | CRTC_EN | pix_width | c_sync; aty_var_to_crtc()
1029 crtc->gen_cntl |= CRTC_VGA_LINEAR; aty_var_to_crtc()
1033 crtc->gen_cntl |= CRTC_DBL_SCAN_EN; aty_var_to_crtc()
1036 crtc->gen_cntl |= CRTC_INTERLACE_EN; aty_var_to_crtc()
1042 crtc->gen_cntl &= ~(CRTC2_EN | CRTC2_PIX_WIDTH); aty_var_to_crtc()
1149 crtc->gen_cntl |= (aty_ld_le32(CRTC_GEN_CNTL, par) & CRTC_FIFO_LWM); aty_var_to_crtc()
1178 c_sync = crtc->gen_cntl & CRTC_CSYNC_EN ? 1 : 0; aty_crtc_to_var()
1179 pix_width = crtc->gen_cntl & CRTC_PIX_WIDTH_MASK; aty_crtc_to_var()
1180 double_scan = crtc->gen_cntl & CRTC_DBL_SCAN_EN; aty_crtc_to_var()
1181 interlace = crtc->gen_cntl & CRTC_INTERLACE_EN; aty_crtc_to_var()
1381 if (par->crtc.gen_cntl & CRTC_INTERLACE_EN) atyfb_set_par()
1383 if (par->crtc.gen_cntl & CRTC_DBL_SCAN_EN) atyfb_set_par()
1477 if (!(par->crtc.gen_cntl & CRTC_EXT_DISP_EN)) atyfb_set_par()
1478 aty_st_le32(CRTC_GEN_CNTL, par->crtc.gen_cntl | CRTC_EXT_DISP_EN, par); atyfb_set_par()
1750 if (par->crtc.gen_cntl & CRTC_DBL_SCAN_EN) atyfb_pan_display()
2803 u32 gen_cntl; atyfb_blank() local
2817 gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par); atyfb_blank()
2818 gen_cntl &= ~0x400004c; atyfb_blank()
2823 gen_cntl |= 0x4000040; atyfb_blank()
2826 gen_cntl |= 0x4000048; atyfb_blank()
2829 gen_cntl |= 0x4000044; atyfb_blank()
2832 gen_cntl |= 0x400004c; atyfb_blank()
2835 aty_st_le32(CRTC_GEN_CNTL, gen_cntl, par); atyfb_blank()
3079 crtc.gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par); atyfb_setup_sparc()
H A Dmach64_cursor.c112 if (par->crtc.gen_cntl & CRTC_DBL_SCAN_EN) { atyfb_cursor()
H A Datyfb.h23 u32 gen_cntl; member in struct:crtc
H A Daty128fb.c420 u32 gen_cntl; member in struct:aty128_crtc
1031 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl); aty128_set_crtc()
1142 crtc->gen_cntl = 0x3000000L | c_sync | (dst << 8); aty128_var_to_crtc()
1255 c_sync = crtc->gen_cntl & CRTC_CSYNC_EN ? 1 : 0; aty128_crtc_to_var()
1256 pix_width = crtc->gen_cntl & CRTC_PIX_WIDTH_MASK; aty128_crtc_to_var()

Completed in 166 milliseconds