Searched refs:gen_cntl (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/arch/x86/kernel/ |
D | quirks.c | 189 u32 gen_cntl; in old_ich_force_hpet_resume() local 194 pci_read_config_dword(cached_dev, 0xD0, &gen_cntl); in old_ich_force_hpet_resume() 195 gen_cntl &= (~(0x7 << 15)); in old_ich_force_hpet_resume() 196 gen_cntl |= (0x4 << 15); in old_ich_force_hpet_resume() 198 pci_write_config_dword(cached_dev, 0xD0, gen_cntl); in old_ich_force_hpet_resume() 199 pci_read_config_dword(cached_dev, 0xD0, &gen_cntl); in old_ich_force_hpet_resume() 200 val = gen_cntl >> 15; in old_ich_force_hpet_resume() 211 u32 gen_cntl; in old_ich_force_enable_hpet() local 216 pci_read_config_dword(dev, 0xD0, &gen_cntl); in old_ich_force_enable_hpet() 221 val = gen_cntl >> 15; in old_ich_force_enable_hpet() [all …]
|
/Linux-v6.6/drivers/video/fbdev/aty/ |
D | atyfb_base.c | 686 crtc->gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par); in aty_get_crtc() 709 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl & in aty_set_crtc() 726 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl & ~CRTC_EN, par); in aty_set_crtc() 734 (crtc->gen_cntl & CRTC_CSYNC_EN) ? 'P' : 'N'); in aty_set_crtc() 742 DPRINTK("CRTC_GEN_CNTL: %x\n", crtc->gen_cntl); in aty_set_crtc() 751 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl, par); in aty_set_crtc() 1037 crtc->gen_cntl = CRTC_EXT_DISP_EN | CRTC_EN | pix_width | c_sync; in aty_var_to_crtc() 1038 crtc->gen_cntl |= CRTC_VGA_LINEAR; in aty_var_to_crtc() 1042 crtc->gen_cntl |= CRTC_DBL_SCAN_EN; in aty_var_to_crtc() 1045 crtc->gen_cntl |= CRTC_INTERLACE_EN; in aty_var_to_crtc() [all …]
|
D | mach64_cursor.c | 113 if (par->crtc.gen_cntl & CRTC_DBL_SCAN_EN) { in atyfb_cursor()
|
D | atyfb.h | 26 u32 gen_cntl; member
|
D | aty128fb.c | 413 u32 gen_cntl; member 1017 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl); in aty128_set_crtc() 1128 crtc->gen_cntl = 0x3000000L | c_sync | (dst << 8); in aty128_var_to_crtc() 1241 c_sync = crtc->gen_cntl & CRTC_CSYNC_EN ? 1 : 0; in aty128_crtc_to_var() 1242 pix_width = crtc->gen_cntl & CRTC_PIX_WIDTH_MASK; in aty128_crtc_to_var()
|