Home
last modified time | relevance | path

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

/freebsd/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)));
131 i = (GETREG(bas, REG(UFCR)) & IMXUART_UFCR_RFDIV_MASK) >> in imx_uart_getbaud()
134 ubir = GETREG(bas, REG(UBIR)) + 1; in imx_uart_getbaud()
135 ubmr = GETREG(bas, REG(UBMR)) + 1; in imx_uart_getbaud()
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()
455 bes = GETREG(&sc->sc_bas, REG(USR2)); in imx_uart_bus_getsig()
[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/usr.sbin/bhyve/amd64/
H A Dtask_switch.c100 GETREG(struct vcpu *vcpu, int reg) in GETREG() function
340 sel = GETREG(vcpu, segment); in validate_seg_desc()
395 cs = GETREG(vcpu, VM_REG_GUEST_CS); in validate_seg_desc()
439 tss->tss_eax = GETREG(vcpu, VM_REG_GUEST_RAX); in tss32_save()
440 tss->tss_ecx = GETREG(vcpu, VM_REG_GUEST_RCX); in tss32_save()
441 tss->tss_edx = GETREG(vcpu, VM_REG_GUEST_RDX); in tss32_save()
442 tss->tss_ebx = GETREG(vcpu, VM_REG_GUEST_RBX); in tss32_save()
443 tss->tss_esp = GETREG(vcpu, VM_REG_GUEST_RSP); in tss32_save()
444 tss->tss_ebp = GETREG(vcpu, VM_REG_GUEST_RBP); in tss32_save()
445 tss->tss_esi = GETREG(vcpu, VM_REG_GUEST_RSI); in tss32_save()
[all …]