Home
last modified time | relevance | path

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

/arch/arm/include/asm/
Darch_timer.h83 u64 cval; in arch_counter_get_cntpct() local
86 asm volatile("mrrc p15, 0, %Q0, %R0, c14" : "=r" (cval)); in arch_counter_get_cntpct()
87 return cval; in arch_counter_get_cntpct()
92 u64 cval; in arch_counter_get_cntvct() local
95 asm volatile("mrrc p15, 1, %Q0, %R0, c14" : "=r" (cval)); in arch_counter_get_cntvct()
96 return cval; in arch_counter_get_cntvct()
/arch/powerpc/platforms/embedded6xx/
Dls_uart.c60 unsigned char cval = UART_LCR_WLEN8; in avr_uart_configure() local
66 out_8(avr_addr + UART_LCR, cval); /* initialise UART */ in avr_uart_configure()
70 cval |= UART_LCR_STOP | UART_LCR_PARITY | UART_LCR_EPAR; in avr_uart_configure()
72 out_8(avr_addr + UART_LCR, cval); /* Set character format */ in avr_uart_configure()
74 out_8(avr_addr + UART_LCR, cval | UART_LCR_DLAB); /* set DLAB */ in avr_uart_configure()
77 out_8(avr_addr + UART_LCR, cval); /* reset DLAB */ in avr_uart_configure()
/arch/arm64/include/asm/
Darch_timer.h119 u64 cval; in arch_counter_get_cntvct() local
122 asm volatile("mrs %0, cntvct_el0" : "=r" (cval)); in arch_counter_get_cntvct()
124 return cval; in arch_counter_get_cntvct()