Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/uart/
H A Duart_dev_imx.c101 GETREG(bas, REG(UCR1)), GETREG(bas, REG(UCR2)),
102 GETREG(bas, REG(UCR3)), GETREG(bas, REG(UCR4)),
103 GETREG(bas, REG(USR1)), GETREG(bas, REG(USR2)));
205 reg = GETREG(bas, REG(UFCR)); in imx_uart_init()
217 reg = GETREG(bas, REG(UFCR)); in imx_uart_init()
255 c = GETREG(bas, REG(URXD)); in imx_uart_getc()
506 usr1 = GETREG(bas, REG(USR1)); in imx_uart_bus_ipend()
507 usr2 = GETREG(bas, REG(USR2)); in imx_uart_bus_ipend()
512 ucr1 = GETREG(bas, REG(UCR1)); in imx_uart_bus_ipend()
513 ucr2 = GETREG(bas, REG(UCR2)); in imx_uart_bus_ipend()
[all …]
H A Duart_dev_lowrisc.c109 while (GETREG(bas, UART_DR) & DR_TX_FIFO_FULL) in lowrisc_uart_putc()
119 if (GETREG(bas, UART_DR) & DR_RX_FIFO_EMPTY) in lowrisc_uart_rxready()
132 reg = GETREG(bas, UART_DR); in lowrisc_uart_getc()
276 if ((GETREG(bas, UART_DR) & DR_RX_FIFO_EMPTY) == 0) in lowrisc_uart_bus_ipend()
335 reg = GETREG(bas, UART_DR); in lowrisc_uart_bus_receive()
362 while (GETREG(bas, UART_DR) & DR_TX_FIFO_FULL) in lowrisc_uart_bus_transmit()
H A Duart_dev_imx.h203 #define GETREG(bas, reg) \ macro
209 SETREG((_bas), (_r), GETREG((_bas), (_r)) & ~(_b))
211 SETREG((_bas), (_r), GETREG((_bas), (_r)) | (_b))
213 ((GETREG((_bas), (_r)) & (_b)) ? 1 : 0)
H A Duart_dev_lowrisc.h61 #define GETREG(bas, reg) \ macro
H A Duart_dev_msm.c51 #define GETREG(bas, reg) \ macro
463 isr = GETREG(bas, UART_DM_MISR); in msm_bus_ipend()
/freebsd-13.1/usr.sbin/bhyve/
H A Dtask_switch.c104 GETREG(struct vmctx *ctx, int vcpu, int reg) in GETREG() function
344 sel = GETREG(ctx, vcpu, segment); in validate_seg_desc()
399 cs = GETREG(ctx, vcpu, VM_REG_GUEST_CS); in validate_seg_desc()
453 tss->tss_es = GETREG(ctx, vcpu, VM_REG_GUEST_ES); in tss32_save()
454 tss->tss_cs = GETREG(ctx, vcpu, VM_REG_GUEST_CS); in tss32_save()
639 cr0 = GETREG(ctx, vcpu, VM_REG_GUEST_CR0); in push_errcode()
640 rflags = GETREG(ctx, vcpu, VM_REG_GUEST_RFLAGS); in push_errcode()
641 stacksel = GETREG(ctx, vcpu, VM_REG_GUEST_SS); in push_errcode()
667 esp = GETREG(ctx, vcpu, VM_REG_GUEST_RSP); in push_errcode()
804 ot_sel = GETREG(ctx, vcpu, VM_REG_GUEST_TR); in vmexit_task_switch()
[all …]