Searched refs:cval (Results 1 – 4 of 4) sorted by relevance
/arch/arm/include/asm/ |
D | arch_timer.h | 89 u64 cval; in __arch_counter_get_cntpct() local 92 asm volatile("mrrc p15, 0, %Q0, %R0, c14" : "=r" (cval)); in __arch_counter_get_cntpct() 93 return cval; in __arch_counter_get_cntpct() 103 u64 cval; in __arch_counter_get_cntvct() local 106 asm volatile("mrrc p15, 1, %Q0, %R0, c14" : "=r" (cval)); in __arch_counter_get_cntvct() 107 return cval; in __arch_counter_get_cntvct()
|
/arch/powerpc/platforms/embedded6xx/ |
D | ls_uart.c | 60 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/kvm/ |
D | trace_arm.h | 299 __field( unsigned long long, cval ) 305 __entry->cval = timer_get_cval(ctx); 311 __entry->cval, 321 __field( unsigned long long, cval ) 327 __entry->cval = timer_get_cval(ctx); 333 __entry->cval,
|
D | arch_timer.c | 112 static void timer_set_cval(struct arch_timer_context *ctxt, u64 cval) in timer_set_cval() argument 118 __vcpu_sys_reg(vcpu, CNTV_CVAL_EL0) = cval; in timer_set_cval() 121 __vcpu_sys_reg(vcpu, CNTP_CVAL_EL0) = cval; in timer_set_cval() 212 u64 cval, now; in kvm_timer_compute_delta() local 214 cval = timer_get_cval(timer_ctx); in kvm_timer_compute_delta() 217 if (now < cval) { in kvm_timer_compute_delta() 221 cval - now, in kvm_timer_compute_delta() 315 u64 cval, now; in kvm_timer_should_fire() local 346 cval = timer_get_cval(timer_ctx); in kvm_timer_should_fire() 349 return cval <= now; in kvm_timer_should_fire()
|