Home
last modified time | relevance | path

Searched refs:GETREG (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/sys/dev/uart/
H A Duart_dev_imx.c99 GETREG(bas, REG(UCR1)), GETREG(bas, REG(UCR2)),
100 GETREG(bas, REG(UCR3)), GETREG(bas, REG(UCR4)),
101 GETREG(bas, REG(USR1)), GETREG(bas, REG(USR2)));
203 reg = GETREG(bas, REG(UFCR)); in imx_uart_init()
215 reg = GETREG(bas, REG(UFCR)); in imx_uart_init()
253 c = GETREG(bas, REG(URXD)); in imx_uart_getc()
504 usr1 = GETREG(bas, REG(USR1)); in imx_uart_bus_ipend()
505 usr2 = GETREG(bas, REG(USR2)); in imx_uart_bus_ipend()
510 ucr1 = GETREG(bas, REG(UCR1)); in imx_uart_bus_ipend()
511 ucr2 = GETREG(bas, REG(UCR2)); in imx_uart_bus_ipend()
[all …]
H A Duart_dev_lowrisc.c107 while (GETREG(bas, UART_DR) & DR_TX_FIFO_FULL) in lowrisc_uart_putc()
117 if (GETREG(bas, UART_DR) & DR_RX_FIFO_EMPTY) in lowrisc_uart_rxready()
130 reg = GETREG(bas, UART_DR); in lowrisc_uart_getc()
274 if ((GETREG(bas, UART_DR) & DR_RX_FIFO_EMPTY) == 0) in lowrisc_uart_bus_ipend()
333 reg = GETREG(bas, UART_DR); in lowrisc_uart_bus_receive()
360 while (GETREG(bas, UART_DR) & DR_TX_FIFO_FULL) in lowrisc_uart_bus_transmit()
H A Duart_dev_imx.h201 #define GETREG(bas, reg) \ macro
207 SETREG((_bas), (_r), GETREG((_bas), (_r)) & ~(_b))
209 SETREG((_bas), (_r), GETREG((_bas), (_r)) | (_b))
211 ((GETREG((_bas), (_r)) & (_b)) ? 1 : 0)
H A Duart_dev_lowrisc.h59 #define GETREG(bas, reg) \ macro
H A Duart_dev_msm.c49 #define GETREG(bas, reg) \ macro
461 isr = GETREG(bas, UART_DM_MISR); in msm_bus_ipend()
/freebsd-14.2/usr.sbin/bhyve/amd64/
H A Dtask_switch.c101 GETREG(struct vcpu *vcpu, int reg) in GETREG() function
341 sel = GETREG(vcpu, segment); in validate_seg_desc()
396 cs = GETREG(vcpu, VM_REG_GUEST_CS); in validate_seg_desc()
450 tss->tss_es = GETREG(vcpu, VM_REG_GUEST_ES); in tss32_save()
451 tss->tss_cs = GETREG(vcpu, VM_REG_GUEST_CS); in tss32_save()
636 cr0 = GETREG(vcpu, VM_REG_GUEST_CR0); in push_errcode()
637 rflags = GETREG(vcpu, VM_REG_GUEST_RFLAGS); in push_errcode()
638 stacksel = GETREG(vcpu, VM_REG_GUEST_SS); in push_errcode()
664 esp = GETREG(vcpu, VM_REG_GUEST_RSP); in push_errcode()
804 ot_sel = GETREG(vcpu, VM_REG_GUEST_TR); in vmexit_task_switch()
[all …]