Lines Matching refs:rp
29 .macro addruart, rp, rv, tmp
32 9: adr \rp, 99f @ get effective addr of 99f
33 ldr \rv, [\rp] @ get absolute addr of 99f
34 sub \rv, \rv, \rp @ offset between the two
35 ldr \rp, [\rp, #4] @ abs addr of omap_uart_phys
36 sub \tmp, \rp, \rv @ make it effective
37 ldr \rp, [\tmp, #0] @ omap_uart_phys
39 cmp \rp, #0 @ is port configured?
44 and \rp, pc, #0xff000000
46 ldr \rp, [\rp, \rv]
49 10: cmp \rp, #0 @ no port configured?
51 cmp \rp, #OMAP1UART1
53 cmp \rp, #OMAP1UART2
55 cmp \rp, #OMAP1UART3
59 11: mov \rp, #0x00fb0000 @ OMAP1UART1
61 12: mov \rp, #0x00fb0000 @ OMAP1UART1
62 orr \rp, \rp, #0x00000800 @ OMAP1UART2
64 13: mov \rp, #0x00fb0000 @ OMAP1UART1
65 orr \rp, \rp, #0x00000800 @ OMAP1UART2
66 orr \rp, \rp, #0x00009000 @ OMAP1UART3
69 98: add \rp, \rp, #0xff000000 @ phys base
70 str \rp, [\tmp, #0] @ omap_uart_phys
71 sub \rp, \rp, #0xff000000 @ phys base
72 add \rp, \rp, #0xfe000000 @ virt base
73 str \rp, [\tmp, #4] @ omap_uart_virt