Searched refs:cr4 (Results 1 – 5 of 5) sorted by relevance
/drivers/misc/lkdtm/ |
D | bugs.c | 501 unsigned long cr4; in lkdtm_UNSET_SMEP() local 504 cr4 = native_read_cr4(); in lkdtm_UNSET_SMEP() 506 if ((cr4 & X86_CR4_SMEP) != X86_CR4_SMEP) { in lkdtm_UNSET_SMEP() 510 cr4 &= ~(X86_CR4_SMEP); in lkdtm_UNSET_SMEP() 513 native_write_cr4(cr4); in lkdtm_UNSET_SMEP() 514 if (cr4 == native_read_cr4()) { in lkdtm_UNSET_SMEP() 516 cr4 |= X86_CR4_SMEP; in lkdtm_UNSET_SMEP() 518 native_write_cr4(cr4); in lkdtm_UNSET_SMEP() 548 direct_write_cr4(cr4); in lkdtm_UNSET_SMEP() 553 cr4 |= X86_CR4_SMEP; in lkdtm_UNSET_SMEP() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | chip.c | 680 static u32 brcmf_chip_tcm_ramsize(struct brcmf_core_priv *cr4) in brcmf_chip_tcm_ramsize() argument 691 corecap = brcmf_chip_core_read32(cr4, ARMCR4_CAP); in brcmf_chip_tcm_ramsize() 698 brcmf_chip_core_write32(cr4, ARMCR4_BANKIDX, idx); in brcmf_chip_tcm_ramsize() 699 bxinfo = brcmf_chip_core_read32(cr4, ARMCR4_BANKINFO); in brcmf_chip_tcm_ramsize()
|
/drivers/parport/ |
D | parport_pc.c | 969 int cr1, cr4, cra, cr23, cr26, cr27; in show_parconfig_smsc37c669() local 983 cr4 = inb(io + 1); in show_parconfig_smsc37c669() 996 cr1, cr4, cra, cr23, cr26, cr27); in show_parconfig_smsc37c669() 1011 : modes[cr4 & 0x03], in show_parconfig_smsc37c669() 1012 (cr4 & 0x40) ? "1.7" : "1.9"); in show_parconfig_smsc37c669()
|
/drivers/tty/serial/ |
D | fsl_lpuart.c | 1983 unsigned char cr1, old_cr1, old_cr2, cr3, cr4, bdh, modem; in lpuart_set_termios() local 1991 cr4 = readb(sport->port.membase + UARTCR4); in lpuart_set_termios() 2108 cr4 &= ~UARTCR4_BRFA_MASK; in lpuart_set_termios() 2110 writeb(cr4 | brfa, sport->port.membase + UARTCR4); in lpuart_set_termios()
|
/drivers/video/fbdev/sis/ |
D | init301.c | 6363 unsigned char cr4, cr14, cr5, cr15; in SiS_SetGroup1() local 6365 cr4 = SiS_Pr->CCRT1CRTC[4]; in SiS_SetGroup1() 6370 cr4 = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[4]; in SiS_SetGroup1() 6375 tempbx = ((cr4 | ((cr14 & 0xC0) << 2)) - 3) << 3; /* (VGAHRS-3)*8 */ in SiS_SetGroup1()
|