Searched refs:cr4 (Results 1 – 5 of 5) sorted by relevance
/drivers/misc/lkdtm/ |
D | bugs.c | 382 unsigned long cr4; in lkdtm_UNSET_SMEP() local 385 cr4 = native_read_cr4(); in lkdtm_UNSET_SMEP() 387 if ((cr4 & X86_CR4_SMEP) != X86_CR4_SMEP) { in lkdtm_UNSET_SMEP() 391 cr4 &= ~(X86_CR4_SMEP); in lkdtm_UNSET_SMEP() 394 native_write_cr4(cr4); in lkdtm_UNSET_SMEP() 395 if (cr4 == native_read_cr4()) { in lkdtm_UNSET_SMEP() 397 cr4 |= X86_CR4_SMEP; in lkdtm_UNSET_SMEP() 399 native_write_cr4(cr4); in lkdtm_UNSET_SMEP() 428 direct_write_cr4(cr4); in lkdtm_UNSET_SMEP() 433 cr4 |= X86_CR4_SMEP; in lkdtm_UNSET_SMEP() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | chip.c | 678 static u32 brcmf_chip_tcm_ramsize(struct brcmf_core_priv *cr4) in brcmf_chip_tcm_ramsize() argument 688 corecap = brcmf_chip_core_read32(cr4, ARMCR4_CAP); in brcmf_chip_tcm_ramsize() 695 brcmf_chip_core_write32(cr4, ARMCR4_BANKIDX, idx); in brcmf_chip_tcm_ramsize() 696 bxinfo = brcmf_chip_core_read32(cr4, ARMCR4_BANKINFO); in brcmf_chip_tcm_ramsize()
|
/drivers/parport/ |
D | parport_pc.c | 950 int cr1, cr4, cra, cr23, cr26, cr27; in show_parconfig_smsc37c669() local 964 cr4 = inb(io + 1); in show_parconfig_smsc37c669() 977 cr1, cr4, cra, cr23, cr26, cr27); in show_parconfig_smsc37c669() 992 : modes[cr4 & 0x03], in show_parconfig_smsc37c669() 993 (cr4 & 0x40) ? "1.7" : "1.9"); in show_parconfig_smsc37c669()
|
/drivers/tty/serial/ |
D | fsl_lpuart.c | 1874 unsigned char cr1, old_cr1, old_cr2, cr3, cr4, bdh, modem; in lpuart_set_termios() local 1882 cr4 = readb(sport->port.membase + UARTCR4); in lpuart_set_termios() 1999 cr4 &= ~UARTCR4_BRFA_MASK; in lpuart_set_termios() 2001 writeb(cr4 | brfa, sport->port.membase + UARTCR4); in lpuart_set_termios()
|
/drivers/video/fbdev/sis/ |
D | init301.c | 6364 unsigned char cr4, cr14, cr5, cr15; in SiS_SetGroup1() local 6366 cr4 = SiS_Pr->CCRT1CRTC[4]; in SiS_SetGroup1() 6371 cr4 = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[4]; in SiS_SetGroup1() 6376 tempbx = ((cr4 | ((cr14 & 0xC0) << 2)) - 3) << 3; /* (VGAHRS-3)*8 */ in SiS_SetGroup1()
|