Home
last modified time | relevance | path

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

/arch/arm/include/asm/
A Darch_timer.h96 u64 cval; in __arch_counter_get_cntpct() local
99 asm volatile("mrrc p15, 0, %Q0, %R0, c14" : "=r" (cval)); in __arch_counter_get_cntpct()
100 return cval; in __arch_counter_get_cntpct()
110 u64 cval; in __arch_counter_get_cntvct() local
113 asm volatile("mrrc p15, 1, %Q0, %R0, c14" : "=r" (cval)); in __arch_counter_get_cntvct()
114 return cval; in __arch_counter_get_cntvct()
/arch/powerpc/platforms/embedded6xx/
A Dls_uart.c61 unsigned char cval = UART_LCR_WLEN8; in avr_uart_configure() local
67 out_8(avr_addr + UART_LCR, cval); /* initialise UART */ in avr_uart_configure()
71 cval |= UART_LCR_STOP | UART_LCR_PARITY | UART_LCR_EPAR; in avr_uart_configure()
73 out_8(avr_addr + UART_LCR, cval); /* Set character format */ in avr_uart_configure()
75 out_8(avr_addr + UART_LCR, cval | UART_LCR_DLAB); /* set DLAB */ in avr_uart_configure()
78 out_8(avr_addr + UART_LCR, cval); /* reset DLAB */ in avr_uart_configure()
/arch/arm64/kvm/
A Darch_timer.c368 u64 cval, now; in kvm_timer_should_fire() local
404 return cval <= now; in kvm_timer_should_fire()
514 u64 cval; in timer_save_state() local
524 timer_set_cval(ctx, cval); in timer_save_state()
552 cval -= timer_get_offset(ctx); in timer_save_state()
554 timer_set_cval(ctx, cval); in timer_save_state()
625 u64 cval, offset; in timer_restore_state() local
629 cval = timer_get_cval(ctx); in timer_restore_state()
633 cval += offset; in timer_restore_state()
643 cval = timer_get_cval(ctx); in timer_restore_state()
[all …]
A Dtrace_arm.h263 __field( unsigned long long, cval )
269 __entry->cval = timer_get_cval(ctx);
275 __entry->cval,
285 __field( unsigned long long, cval )
291 __entry->cval = timer_get_cval(ctx);
297 __entry->cval,
/arch/arm64/kvm/hyp/vhe/
A Dswitch.c227 u64 cval, cnt; in compute_emulated_cntx_ctl_el0() local
232 cval = __vcpu_sys_reg(vcpu, CNTP_CVAL_EL0); in compute_emulated_cntx_ctl_el0()
237 cval = __vcpu_sys_reg(vcpu, CNTV_CVAL_EL0); in compute_emulated_cntx_ctl_el0()
245 stat = cval <= cnt; in compute_emulated_cntx_ctl_el0()

Completed in 14 milliseconds