Lines Matching refs:rx
17 .macro put_word_ocd, rd, rx=r16 argument
18 1001: movc \rx, p1.c0, #0
19 cand.a \rx, #2
26 .macro addruart, rx argument
29 .macro senduart, rd, rx argument
30 put_word_ocd \rd, \rx
33 .macro busyuart, rd, rx argument
36 .macro waituart, rd, rx argument
47 .macro addruart,rx argument
48 mrc p0, #0, \rx, c1, c0
49 tst \rx, #1 @ MMU enabled?
50 moveq \rx, #0xee000000 @ physical base address
51 movne \rx, #0x6e000000 @ virtual address
59 str r1, [\rx, #UART_LCR_OFFSET]
62 str r1, [\rx, #UART_DLH_OFFSET]
64 str r1, [\rx, #UART_DLL_OFFSET]
66 str r1, [\rx, #UART_FCR_OFFSET]
68 str r1, [\rx, #UART_LCR_OFFSET]
70 str r1, [\rx, #UART_IER_OFFSET]
73 .macro senduart,rd,rx argument
74 str \rd, [\rx, #UART_THR_OFFSET]
77 .macro waituart,rd,rx argument
78 1001: ldr \rd, [\rx, #UART_LSR_OFFSET]
83 .macro busyuart,rd,rx argument
84 1001: ldr \rd, [\rx, #UART_LSR_OFFSET]