Searched refs:uart (Results 1 - 18 of 18) sorted by relevance

/netbsd-current/external/gpl3/gdb.old/dist/sim/bfin/
H A Ddv-bfin_uart.c68 static const char *mmr_name (struct bfin_uart *uart, bu32 idx) argument
70 if (uart->lcr & DLAB)
75 #define mmr_name(off) mmr_name (uart, (off) / 4)
80 struct bfin_uart *uart = data; local
83 uart->handler = NULL;
95 struct bfin_uart *uart = hw_data (me); local
97 if (uart->ier & ERBFI)
99 if (!uart->handler)
100 uart->handler = hw_event_queue_schedule (me, 10000,
101 bfin_uart_poll, uart);
116 struct bfin_uart *uart = hw_data (me); local
136 struct bfin_uart *uart = hw_data (me); local
197 struct bfin_uart *uart = hw_data (me); local
239 struct bfin_uart *uart = hw_data (me); local
261 struct bfin_uart *uart = hw_data (me); local
317 struct bfin_uart *uart = hw_data (me); local
377 struct bfin_uart *uart = hw_data (me); local
399 attach_bfin_uart_regs(struct hw *me, struct bfin_uart *uart) argument
429 struct bfin_uart *uart; local
[all...]
H A Ddv-bfin_uart2.c74 struct bfin_uart *uart = hw_data (me); local
84 mmr_off = addr - uart->base;
85 valuep = (void *)((unsigned long)uart + mmr_base() + mmr_off);
94 uart->thr = bfin_uart_write_byte (me, value, uart->mcr);
95 if (uart->ier & ETBEI)
99 uart->ier |= value;
102 dv_w1c_2 (&uart->ier, value, -1);
133 struct bfin_uart *uart = hw_data (me); local
141 mmr_off = addr - uart
192 struct bfin_uart *uart = hw_data (me); local
214 attach_bfin_uart_regs(struct hw *me, struct bfin_uart *uart) argument
244 struct bfin_uart *uart; local
[all...]
/netbsd-current/external/gpl3/gdb/dist/sim/bfin/
H A Ddv-bfin_uart.c69 static const char *mmr_name (struct bfin_uart *uart, bu32 idx) argument
71 if (uart->lcr & DLAB)
76 #define mmr_name(off) mmr_name (uart, (off) / 4)
81 struct bfin_uart *uart = data; local
84 uart->handler = NULL;
96 struct bfin_uart *uart = hw_data (me); local
98 if (uart->ier & ERBFI)
100 if (!uart->handler)
101 uart->handler = hw_event_queue_schedule (me, 10000,
102 bfin_uart_poll, uart);
117 struct bfin_uart *uart = hw_data (me); local
137 struct bfin_uart *uart = hw_data (me); local
198 struct bfin_uart *uart = hw_data (me); local
240 struct bfin_uart *uart = hw_data (me); local
262 struct bfin_uart *uart = hw_data (me); local
318 struct bfin_uart *uart = hw_data (me); local
378 struct bfin_uart *uart = hw_data (me); local
400 attach_bfin_uart_regs(struct hw *me, struct bfin_uart *uart) argument
430 struct bfin_uart *uart; local
[all...]
H A Ddv-bfin_uart2.c75 struct bfin_uart *uart = hw_data (me); local
85 mmr_off = addr - uart->base;
86 valuep = (void *)((uintptr_t)uart + mmr_base() + mmr_off);
95 uart->thr = bfin_uart_write_byte (me, value, uart->mcr);
96 if (uart->ier & ETBEI)
100 uart->ier |= value;
103 dv_w1c_2 (&uart->ier, value, -1);
134 struct bfin_uart *uart = hw_data (me); local
142 mmr_off = addr - uart
193 struct bfin_uart *uart = hw_data (me); local
215 attach_bfin_uart_regs(struct hw *me, struct bfin_uart *uart) argument
245 struct bfin_uart *uart; local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/sim/lm32/
H A Ddv-lm32uart.c86 struct lm32uart *uart = hw_data (me); local
90 if (uart->ier & LM32_UART_IER_TX_INT)
97 uart->iir = MICOUART_IIR_TXRDY;
100 uart->lsr |= LM32_UART_LSR_TX_RDY;
103 c = (char) uart->thr;
106 switch (uart->lcr & LM32_UART_LCR_WLS_MASK)
126 struct lm32uart *uart = hw_data (me); local
140 uart_reg = base - uart->base;
146 uart->thr = value;
149 uart
203 struct lm32uart *uart = hw_data (me); local
266 attach_lm32uart_regs(struct hw *me, struct lm32uart *uart) argument
290 struct lm32uart *uart; local
[all...]
/netbsd-current/external/gpl3/gdb/dist/sim/lm32/
H A Ddv-lm32uart.c90 struct lm32uart *uart = hw_data (me); local
94 if (uart->ier & LM32_UART_IER_TX_INT)
101 uart->iir = MICOUART_IIR_TXRDY;
104 uart->lsr |= LM32_UART_LSR_TX_RDY;
107 c = (char) uart->thr;
110 switch (uart->lcr & LM32_UART_LCR_WLS_MASK)
130 struct lm32uart *uart = hw_data (me); local
144 uart_reg = base - uart->base;
150 uart->thr = value;
153 uart
207 struct lm32uart *uart = hw_data (me); local
270 attach_lm32uart_regs(struct hw *me, struct lm32uart *uart) argument
294 struct lm32uart *uart; local
[all...]
/netbsd-current/usr.bin/scmdctl/
H A DMakefile5 SRCS= scmdctl.c uart.c i2cspi.c printscmd.c common.c
/netbsd-current/sys/arch/mips/atheros/
H A Dar_console.c83 volatile uint32_t * const uart = local
86 while (!(uart[com_lsr] & htobe32(LSR_TXRDY)))
89 uart[com_data] = htobe32(c);
95 volatile uint32_t * const uart = local
98 while (!(uart[com_lsr] & htobe32(LSR_RXRDY)))
101 return (uint8_t) be32toh(uart[com_data]);
107 volatile uint32_t * const uart = local
110 while (!(uart[com_lsr] & htobe32(LSR_TSRE)))
/netbsd-current/external/gpl3/gdb.old/dist/sim/m32r/
H A Ddv-m32r_uart.c38 struct m32r_uart *uart = hw_data (me); local
67 struct m32r_uart *uart = hw_data (me); local
103 attach_m32r_uart_regs (struct hw *me, struct m32r_uart *uart) argument
128 struct m32r_uart *uart; local
130 uart = HW_ZALLOC (me, struct m32r_uart);
132 set_hw_data (me, uart);
136 attach_m32r_uart_regs (me, uart);
/netbsd-current/external/gpl3/gdb/dist/sim/m32r/
H A Ddv-m32r_uart.c39 struct m32r_uart *uart = hw_data (me); local
68 struct m32r_uart *uart = hw_data (me); local
104 attach_m32r_uart_regs (struct hw *me, struct m32r_uart *uart) argument
129 struct m32r_uart *uart; local
131 uart = HW_ZALLOC (me, struct m32r_uart);
133 set_hw_data (me, uart);
137 attach_m32r_uart_regs (me, uart);
/netbsd-current/sys/arch/hpc/stand/hpcboot/arm/
H A Darm_sa1100.cpp125 #define TBY VOLATILE_REF(uart + 0x20)
126 #define UTDR VOLATILE_REF(uart + 0x14)
134 vaddr_t uart = local
138 _mem->unmapPhysicalPage(uart);
H A Darm_pxa2x0.cpp127 #define COM_DATA VOLATILE_REF8(uart + 0x00)
128 #define COM_IIR VOLATILE_REF8(uart + 0x08)
129 #define COM_LSR VOLATILE_REF8(uart + 0x14)
142 vaddr_t uart = local
153 _mem->unmapPhysicalPage(uart);
/netbsd-current/sys/arch/ia64/include/
H A Ddig64.h191 struct dig64_hcdp_entry uart; member in union:dig64_hcdp_table::dev_desc
/netbsd-current/sys/arch/ia64/ia64/
H A Dconsinit.c167 struct dig64_hcdp_entry *ent = &desc->uart;
/netbsd-current/sys/arch/mips/adm5120/dev/
H A Duart.c1 /* $NetBSD: uart.c,v 1.11 2014/06/28 10:25:32 skrll Exp $ */
35 __KERNEL_RCSID(0, "$NetBSD: uart.c,v 1.11 2014/06/28 10:25:32 skrll Exp $");
52 #include <mips/adm5120/dev/uart.h>
110 CFATTACH_DECL_NEW(uart, sizeof(struct uart_softc),
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Drefclock_chu.c211 #define SPEED232 B300 /* uart speed (300 baud) */
311 int uart; /* decoded character */ member in struct:surv
869 if ((up->surv[i].uart & 0x601) != 0x600 ||
888 chu_decode(peer, (up->surv[j].uart >> 1) & 0xff,
942 sp->uart = 0;
944 sp->uart <<= 1;
947 sp->uart |= 0x1;
/netbsd-current/sys/arch/evbmips/adm5120/
H A Dmachdep.c121 #include <mips/adm5120/dev/uart.h>
/netbsd-current/sys/arch/ia64/stand/ia64/efi/
H A Dmain.c539 struct dig64_hcdp_entry *ent = &desc->uart;

Completed in 299 milliseconds