Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/asm-arm/arch-at91rm9200/
Dpio.h19 AT91_SYS->PIOA_PDR = AT91C_PA17_TXD0 | AT91C_PA18_RXD0 in AT91_CfgPIO_USART0()
24 AT91_SYS->PIOB_PDR = AT91C_PB18_RI1 | AT91C_PB19_DTR1 in AT91_CfgPIO_USART1()
30 AT91_SYS->PIOA_PDR = AT91C_PA22_RXD2 | AT91C_PA23_TXD2; in AT91_CfgPIO_USART2()
34 AT91_SYS->PIOA_PDR = AT91C_PA5_TXD3 | AT91C_PA6_RXD3; in AT91_CfgPIO_USART3()
35 AT91_SYS->PIOA_BSR = AT91C_PA5_TXD3 | AT91C_PA6_RXD3; in AT91_CfgPIO_USART3()
39 AT91_SYS->PIOA_PDR = AT91C_PA31_DTXD | AT91C_PA30_DRXD; in AT91_CfgPIO_DBGU()
46 AT91_SYS->PIOA_PDR = AT91C_PA16_EMDIO | AT91C_PA15_EMDC | AT91C_PA14_ERXER | AT91C_PA13_ERX1 in AT91_CfgPIO_EMAC_RMII()
49 AT91_SYS->PIOB_PDR = AT91C_PB25_EF100 | AT91C_PB19_ERXCK; in AT91_CfgPIO_EMAC_RMII()
50 AT91_SYS->PIOB_BSR = AT91C_PB25_EF100 | AT91C_PB19_ERXCK; in AT91_CfgPIO_EMAC_RMII()
57 AT91_SYS->PIOA_PDR = AT91C_PA16_EMDIO | AT91C_PA15_EMDC | AT91C_PA14_ERXER | AT91C_PA13_ERX1 in AT91_CfgPIO_EMAC_MII()
[all …]
Dtime.h39 elapsed = (AT91_SYS->ST_CRTR - AT91_SYS->ST_RTAR) & AT91C_ST_ALMV; in at91rm9200_gettimeoffset()
49 if (AT91_SYS->ST_SR & AT91C_ST_PITS) { /* This is a shared interrupt */ in at91rm9200_timer_interrupt()
53 AT91_SYS->ST_RTAR = (AT91_SYS->ST_RTAR + LATCH) & AT91C_ST_ALMV; in at91rm9200_timer_interrupt()
55 } while (((AT91_SYS->ST_CRTR - AT91_SYS->ST_RTAR) & AT91C_ST_ALMV) >= LATCH); in at91rm9200_timer_interrupt()
67 AT91_SYS->ST_IDR = AT91C_ST_PITS | AT91C_ST_WDOVF | AT91C_ST_RTTINC | AT91C_ST_ALMS; in setup_timer()
68 (void) AT91_SYS->ST_SR; /* Clear any pending interrupts */ in setup_timer()
79 AT91_SYS->ST_RTAR = 0; in setup_timer()
82 AT91_SYS->ST_RTMR = 1; in setup_timer()
85 AT91_SYS->ST_PIMR = LATCH; in setup_timer()
91 AT91_SYS->ST_IER = AT91C_ST_PITS; in setup_timer()
Dsystem.h47 AT91_SYS->ST_WDMR = AT91C_ST_RSTEN | AT91C_ST_EXTEN | 1 ; in arch_reset()
48 AT91_SYS->ST_CR = AT91C_ST_WDRST; in arch_reset()
Dirq.h31 #define irq_finish(irq) do { AT91_SYS->AIC_EOICR = 0; } while (0)
Dhardware.h27 extern AT91PS_SYS AT91_SYS;
/linux-2.4.37.9/arch/arm/mach-at91rm9200/
Dcore.c42 AT91PS_SYS AT91_SYS = (AT91PS_SYS) AT91C_VA_BASE_SYS; variable
130 AT91_SYS->AIC_IDCR = 1 << irq; in at91rm9200_mask_irq()
136 AT91_SYS->AIC_IECR = 1 << irq; in at91rm9200_unmask_irq()
149 AT91_SYS->AIC_SVR[i] = i; in at91rm9200_init_irq()
151 AT91_SYS->AIC_SMR[i] = at91rm9200_irq_smr[i]; in at91rm9200_init_irq()
160 AT91_SYS->AIC_EOICR = AT91_SYS->AIC_EOICR; in at91rm9200_init_irq()
166 AT91_SYS->AIC_SPU = NR_IRQS; in at91rm9200_init_irq()
169 AT91_SYS->AIC_DCR = 0; in at91rm9200_init_irq()
172 AT91_SYS->AIC_IDCR = 0xFFFFFFFF; in at91rm9200_init_irq()
173 AT91_SYS->AIC_ICCR = 0xFFFFFFFF; in at91rm9200_init_irq()