__reg 17 include/asm-frv/gpio-regs.h #define __get_PDR() ({ __reg(0xfeff0400); }) __reg 18 include/asm-frv/gpio-regs.h #define __set_PDR(V) do { __reg(0xfeff0400) = (V); mb(); } while(0) __reg 20 include/asm-frv/gpio-regs.h #define __get_GPDR() ({ __reg(0xfeff0408); }) __reg 21 include/asm-frv/gpio-regs.h #define __set_GPDR(V) do { __reg(0xfeff0408) = (V); mb(); } while(0) __reg 23 include/asm-frv/gpio-regs.h #define __get_SIR() ({ __reg(0xfeff0410); }) __reg 24 include/asm-frv/gpio-regs.h #define __set_SIR(V) do { __reg(0xfeff0410) = (V); mb(); } while(0) __reg 26 include/asm-frv/gpio-regs.h #define __get_SOR() ({ __reg(0xfeff0418); }) __reg 27 include/asm-frv/gpio-regs.h #define __set_SOR(V) do { __reg(0xfeff0418) = (V); mb(); } while(0) __reg 29 include/asm-frv/gpio-regs.h #define __set_PDSR(V) do { __reg(0xfeff0420) = (V); mb(); } while(0) __reg 31 include/asm-frv/gpio-regs.h #define __set_PDCR(V) do { __reg(0xfeff0428) = (V); mb(); } while(0) __reg 33 include/asm-frv/gpio-regs.h #define __get_RSTR() ({ __reg(0xfeff0500); }) __reg 34 include/asm-frv/gpio-regs.h #define __set_RSTR(V) do { __reg(0xfeff0500) = (V); mb(); } while(0) __reg 17 include/asm-frv/irc-regs.h #define __get_TM0() ({ __reg(0xfeff9800); }) __reg 18 include/asm-frv/irc-regs.h #define __get_TM1() ({ __reg(0xfeff9808); }) __reg 19 include/asm-frv/irc-regs.h #define __set_TM1(V) do { __reg(0xfeff9808) = (V); mb(); } while(0) __reg 24 include/asm-frv/irc-regs.h unsigned long tm1 = __reg(0xfeff9808); \ __reg 27 include/asm-frv/irc-regs.h __reg(0xfeff9808) = tm1; \ __reg 31 include/asm-frv/irc-regs.h #define __get_RS(C) ({ (__reg(0xfeff9810) >> ((C)+16)) & 1; }) __reg 33 include/asm-frv/irc-regs.h #define __clr_RC(C) do { __reg(0xfeff9818) = 1 << ((C)+16); mb(); } while(0) __reg 35 include/asm-frv/irc-regs.h #define __get_MASK(C) ({ (__reg(0xfeff9820) >> ((C)+16)) & 1; }) __reg 36 include/asm-frv/irc-regs.h #define __set_MASK(C) do { __reg(0xfeff9820) |= 1 << ((C)+16); mb(); } while(0) __reg 37 include/asm-frv/irc-regs.h #define __clr_MASK(C) do { __reg(0xfeff9820) &= ~(1 << ((C)+16)); mb(); } while(0) __reg 43 include/asm-frv/irc-regs.h #define __get_IRL() ({ (__reg(0xfeff9828) >> 16) & 0xf; }) __reg 44 include/asm-frv/irc-regs.h #define __clr_IRL() do { __reg(0xfeff9828) = 0x100000; mb(); } while(0) __reg 46 include/asm-frv/irc-regs.h #define __get_IRR(N) ({ __reg(0xfeff9840 + (N) * 8); }) __reg 47 include/asm-frv/irc-regs.h #define __set_IRR(N,V) do { __reg(0xfeff9840 + (N) * 8) = (V); } while(0) __reg 49 include/asm-frv/irc-regs.h #define __get_IITMR(N) ({ __reg(0xfeff9880 + (N) * 8); }) __reg 50 include/asm-frv/irc-regs.h #define __set_IITMR(N,V) do { __reg(0xfeff9880 + (N) * 8) = (V); } while(0) __reg 22 include/asm-frv/serial-regs.h #define __get_UART0(R) ({ __reg(UART0_BASE + (R) * 8) >> 24; }) __reg 23 include/asm-frv/serial-regs.h #define __get_UART1(R) ({ __reg(UART1_BASE + (R) * 8) >> 24; }) __reg 24 include/asm-frv/serial-regs.h #define __set_UART0(R,V) do { __reg(UART0_BASE + (R) * 8) = (V) << 24; } while(0) __reg 25 include/asm-frv/serial-regs.h #define __set_UART1(R,V) do { __reg(UART1_BASE + (R) * 8) = (V) << 24; } while(0)