/linux-2.4.37.9/arch/mips/au1000/csb250/ |
D | board_setup.c | 76 au_writel(au_readl(GPIO2_DIR) & (u32)(~((1<<1)|(1<<3))), GPIO2_DIR); in board_setup() 79 sys_freqctrl = au_readl(SYS_FREQCTRL0); in board_setup() 84 sys_clksrc = au_readl(SYS_CLKSRC); in board_setup() 88 sys_freqctrl = au_readl(SYS_FREQCTRL0); in board_setup() 91 sys_clksrc = au_readl(SYS_CLKSRC); in board_setup() 110 pin_func = au_readl(SYS_PINFUNC) & (u32)(~0x8000); in board_setup() 147 sys_freqctrl = au_readl(SYS_FREQCTRL0); in board_setup() 153 sys_clksrc = au_readl(SYS_CLKSRC); in board_setup() 159 sys_freqctrl = au_readl(SYS_FREQCTRL0); in board_setup() 162 sys_clksrc = au_readl(SYS_CLKSRC); in board_setup() [all …]
|
/linux-2.4.37.9/arch/mips/au1000/common/ |
D | power.c | 113 sleep_uart0_inten = au_readl(UART0_ADDR + UART_IER); in save_core_regs() 114 sleep_uart0_fifoctl = au_readl(UART0_ADDR + UART_FCR); in save_core_regs() 115 sleep_uart0_linectl = au_readl(UART0_ADDR + UART_LCR); in save_core_regs() 116 sleep_uart0_clkdiv = au_readl(UART0_ADDR + UART_CLK); in save_core_regs() 117 sleep_uart0_enable = au_readl(UART0_ADDR + UART_MOD_CNTRL); in save_core_regs() 121 sleep_usbhost_enable = au_readl(USB_HOST_CONFIG); in save_core_regs() 128 sleep_usbdev_enable = au_readl(USBD_ENABLE); in save_core_regs() 137 sleep_aux_pll_cntrl = au_readl(SYS_AUXPLL); in save_core_regs() 143 sleep_cpu_pll_cntrl = au_readl(SYS_CPUPLL); in save_core_regs() 145 sleep_pin_function = au_readl(SYS_PINFUNC); in save_core_regs() [all …]
|
D | time.c | 129 if (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_M20) { in counter0_irq() 135 pc0 = au_readl(SYS_TOYREAD); in counter0_irq() 174 pc0 = au_readl(SYS_TOYREAD); in wakeup_counter0_adjust() 201 pc0 = au_readl(SYS_TOYREAD); in wakeup_counter0_set() 241 counter = au_readl(SYS_COUNTER_CNTRL); in cal_r4koff() 247 while (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_T1S); in cal_r4koff() 250 while (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_T1S); in cal_r4koff() 252 while (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_C1S); in cal_r4koff() 254 while (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_C1S); in cal_r4koff() 260 start = au_readl(SYS_RTCREAD); in cal_r4koff() [all …]
|
D | irq.c | 222 mask = au_readl(IC1_MASKSET); in save_local_and_disable() 228 mask = au_readl(IC0_MASKSET); in save_local_and_disable() 253 new_mask = au_readl(IC1_MASKSET); in restore_local_and_enable() 255 new_mask = au_readl(IC0_MASKSET); in restore_local_and_enable() 507 intc0_req0 |= au_readl(IC0_REQ0INT); in intc0_req0_irqdispatch() 533 intc0_req1 |= au_readl(IC0_REQ1INT); in intc0_req1_irqdispatch() 562 intc1_req0 |= au_readl(IC1_REQ0INT); in intc1_req0_irqdispatch() 578 intc1_req1 |= au_readl(IC1_REQ1INT); in intc1_req1_irqdispatch() 606 sleep_intctl_config0[0] = au_readl(IC0_CFG0RD); in save_au1xxx_intctl() 607 sleep_intctl_config1[0] = au_readl(IC0_CFG1RD); in save_au1xxx_intctl() [all …]
|
D | setup.c | 88 cpupll = (au_readl(0xB1900060) & 0x3F) * 12; in au1x00_setup() 95 bclk = au_readl(0xB190003C); in au1x00_setup() 195 au_readl(USB_HOST_CONFIG); // throw away first read in au1x00_setup() 196 while (!(au_readl(USB_HOST_CONFIG) & 0x10)) in au1x00_setup() 197 au_readl(USB_HOST_CONFIG); in au1x00_setup() 218 while (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_E0S); in au1x00_setup() 221 while (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_T0S); in au1x00_setup()
|
D | dma.c | 143 au_readl(chan->io + DMA_MODE_SET)); in dump_au1000_dma_channel() 145 au_readl(chan->io + DMA_PERIPHERAL_ADDR)); in dump_au1000_dma_channel() 147 au_readl(chan->io + DMA_BUFFER0_START)); in dump_au1000_dma_channel() 149 au_readl(chan->io + DMA_BUFFER1_START)); in dump_au1000_dma_channel() 151 au_readl(chan->io + DMA_BUFFER0_COUNT)); in dump_au1000_dma_channel() 153 au_readl(chan->io + DMA_BUFFER1_COUNT)); in dump_au1000_dma_channel()
|
D | pci_ops.c | 108 *data = au_readl(config); in config_access() 115 DBG("bridge config reg: %x (%x)\n", au_readl(PCI_BRIDGE_CONFIG), *data); in config_access() 117 if (au_readl(PCI_BRIDGE_CONFIG) & (1 << 16)) { in config_access() 182 au_writel(((0x2000 << 16) | (au_readl(Au1500_PCI_STATCMD) & 0xffff)), in config_access() 248 *data = au_readl((int)(pci_cfg_vm->addr + offset)); in config_access() 256 status = au_readl(Au1500_PCI_STATCMD); in config_access()
|
D | clocks.c | 78 ((int)(au_readl(SYS_POWERCTRL)&0x03) + 2); in set_au1x00_lcd_clock() 80 static_cfg0 = au_readl(MEM_STCFG0); in set_au1x00_lcd_clock()
|
D | pci_fixup.c | 80 au_writel( 1<<16 | au_readl(Au1500_PCI_CFG), Au1500_PCI_CFG); in pcibios_fixup() 98 DBG("Set bridge config to %x\n", au_readl(PCI_BRIDGE_CONFIG)); in pcibios_fixup()
|
D | usbdev.c | 358 cs = au_readl(ep->reg->ctrl_stat) | USBDEV_CS_STALL; in endpoint_stall() 370 cs = au_readl(ep->reg->ctrl_stat) & ~USBDEV_CS_STALL; in endpoint_unstall() 393 while (au_readl(ep->reg->read_fifo_status) & USBDEV_FSTAT_FCNT_MASK) { in endpoint_fifo_read() 394 *bufptr++ = au_readl(ep->reg->read_fifo) & 0xff; in endpoint_fifo_read() 415 while ((au_readl(ep->reg->write_fifo_status) & 456 cs = au_readl(ep->reg->ctrl_stat) & USBDEV_CS_STALL; in kickstart_send_packet() 486 (au_readl(ep->reg->ctrl_stat) & USBDEV_CS_NAK) ? in send_packet_complete() 599 cs = au_readl(ep->reg->ctrl_stat); in receive_packet_complete() 1045 status = au_readl(USBD_INTSTAT); in req_sus_intr() 1067 cs0 = au_readl(ep0->reg->ctrl_stat); in dma_done_ep0_intr()
|
D | rtc.c | 19 return (u8)(au_readl(offset + PB1500_RTC_ADDR) & 0xff); in std_rtc_read_data()
|
D | dbg_io.c | 56 #define UART16550_READ(y) (au_readl(DEBUG_BASE + y) & 0xff)
|
/linux-2.4.37.9/arch/mips/au1000/pb1500/ |
D | board_setup.c | 80 au_writel(au_readl(GPIO2_DIR) & (u32)(~((1<<1)|(1<<3))), GPIO2_DIR); in board_setup() 83 sys_freqctrl = au_readl(SYS_FREQCTRL0); in board_setup() 88 sys_clksrc = au_readl(SYS_CLKSRC); in board_setup() 92 sys_freqctrl = au_readl(SYS_FREQCTRL0); in board_setup() 95 sys_clksrc = au_readl(SYS_CLKSRC); in board_setup() 114 pin_func = au_readl(SYS_PINFUNC) & (u32)(~0x8000); in board_setup() 142 au_writel(au_readl(SYS_POWERCTRL) | (0x3 << 5), SYS_POWERCTRL); in board_setup() 147 if (!(au_readl(0xac000028) & 0x20)) { in board_setup() 149 au_writel((au_readl(0xac000028) | 0x20), 0xac000028); in board_setup() 153 au_writel(au_readl(0xac00002c) & ~0x4, 0xac00002c); in board_setup()
|
/linux-2.4.37.9/arch/mips/au1000/pb1000/ |
D | board_setup.c | 76 sys_freqctrl = au_readl(SYS_FREQCTRL0); in board_setup() 81 sys_clksrc = au_readl(SYS_CLKSRC); in board_setup() 85 sys_freqctrl = au_readl(SYS_FREQCTRL0); in board_setup() 88 sys_clksrc = au_readl(SYS_CLKSRC); in board_setup() 131 pin_func = au_readl(SYS_PINFUNC) & (u32)(~0x8080); in board_setup() 143 pin_func = au_readl(SYS_PINFUNC) & (u32)(~0x100); in board_setup() 150 static_cfg0 = au_readl(MEM_STCFG0) & (u32)(~0xc00); in board_setup() 167 au_writel(au_readl(MEM_STCFG0) | 0x1000, MEM_STCFG0); in board_setup() 195 au_writel(au_readl(SYS_POWERCTRL) | (0x3 << 5), SYS_POWERCTRL); in board_setup()
|
/linux-2.4.37.9/drivers/pcmcia/ |
D | au1000_xxs1500.c | 72 au_writel(au_readl(GPIO2_PINSTATE) | (1<<14)|(1<<30), in xxs1500_pcmcia_shutdown() 77 au_writel(au_readl(GPIO2_PINSTATE) | (1<<4)|(1<<20), in xxs1500_pcmcia_shutdown() 92 gpio = au_readl(SYS_PINSTATERD); in xxs1500_pcmcia_socket_state() 93 gpio2 = au_readl(GPIO2_PINSTATE); in xxs1500_pcmcia_socket_state() 152 au_writel((au_readl(GPIO2_PINSTATE) & ~(1<<14))|(1<<30), in xxs1500_pcmcia_configure_socket() 163 au_writel(au_readl(GPIO2_PINSTATE) | (1<<14)|(1<<30), in xxs1500_pcmcia_configure_socket() 170 au_writel((au_readl(GPIO2_PINSTATE) & ~(1<<4))|(1<<20), in xxs1500_pcmcia_configure_socket() 173 au_writel((au_readl(GPIO2_PINSTATE) & ~(1<<5))|(1<<21), in xxs1500_pcmcia_configure_socket() 178 au_writel(au_readl(GPIO2_PINSTATE) | (1<<4)|(1<<20), in xxs1500_pcmcia_configure_socket()
|
D | au1000_pb1x00.c | 119 vs0 = vs1 = (u16)au_readl(PB1000_ACR1); in pb1x00_pcmcia_socket_state() 127 inserted0 = !((au_readl(GPIO2_PINSTATE) >> 1) & 0x1); /* gpio 201 */ in pb1x00_pcmcia_socket_state() 129 inserted0 = !((au_readl(SYS_PINSTATERD) >> 9) & 0x1); /* gpio 9 */ in pb1x00_pcmcia_socket_state() 210 pcr = au_readl(PB1000_PCR); in pb1x00_pcmcia_configure_socket()
|
/linux-2.4.37.9/arch/mips/au1000/pb1100/ |
D | board_setup.c | 77 pin_func = au_readl(SYS_PINFUNC) & (u32)(~0x80); in board_setup() 80 sys_freqctrl = au_readl(SYS_FREQCTRL0); in board_setup() 85 sys_clksrc = au_readl(SYS_CLKSRC); in board_setup() 89 sys_freqctrl = au_readl(SYS_FREQCTRL0); in board_setup() 92 sys_clksrc = au_readl(SYS_CLKSRC); in board_setup() 111 pin_func = au_readl(SYS_PINFUNC) & (u32)(~0x8000); in board_setup() 120 au_writel(au_readl(SYS_POWERCTRL) | (0x3 << 5), SYS_POWERCTRL); in board_setup()
|
/linux-2.4.37.9/arch/mips/au1000/db1x00/ |
D | board_setup.c | 69 pin_func = au_readl(SYS_PINFUNC) & (u32)(~0x8000); in board_setup() 75 pin_func = au_readl(SYS_PINFUNC) | (u32)((1<<8)); in board_setup() 92 pin_func = au_readl(SYS_PINFUNC) | (u32)(1); in board_setup() 107 au_writel(au_readl(GPIO2_DIR) | 0x200, GPIO2_DIR); in board_setup()
|
/linux-2.4.37.9/arch/mips/au1000/mtx-1/ |
D | board_setup.c | 58 au_writel(au_readl(SYS_PINFUNC) & (u32)(~0x8000), SYS_PINFUNC); in board_setup() 61 au_writel( au_readl(GPIO2_DIR) | 0x10, GPIO2_DIR ); in board_setup() 85 au_writel( au_readl(GPIO2_DIR) | 0x1800, GPIO2_DIR ); in board_setup()
|
/linux-2.4.37.9/include/asm-mips/ |
D | au1000_dma.h | 204 if (au_readl(chan->io + DMA_MODE_READ) & DMA_HALT) in halt_dma() 228 return (au_readl(chan->io + DMA_MODE_READ) & DMA_HALT) ? 1 : 0; in dma_halted() 284 return (au_readl(chan->io + DMA_MODE_READ) & DMA_AB) ? 1 : 0; in get_dma_active_buffer() 407 return au_readl(chan->io + DMA_MODE_READ) & (DMA_D0 | DMA_D1); in get_dma_buffer_done() 433 curBufCntReg = (au_readl(chan->io + DMA_MODE_READ) & DMA_AB) ? in get_dma_residue() 436 count = au_readl(chan->io + curBufCntReg) & DMA_COUNT_MASK; in get_dma_residue()
|
D | db1x00.h | 163 board_specific = au_readl((unsigned long)(&bcsr->specific)); \ 185 board_specific = au_readl((unsigned long)(&bcsr->specific)); \
|
/linux-2.4.37.9/arch/mips/au1000/hydrogen3/ |
D | board_setup.c | 62 pin_func = au_readl(SYS_PINFUNC) & (u32)(~0x8000); in board_setup() 68 pin_func = au_readl(SYS_PINFUNC) | (u32)((1<<8)); in board_setup()
|
/linux-2.4.37.9/arch/mips/au1000/pb1550/ |
D | board_setup.c | 65 pin_func = au_readl(SYS_PINFUNC); in board_setup() 72 pin_func = au_readl(SYS_PINFUNC); in board_setup()
|
/linux-2.4.37.9/arch/mips/au1000/xxs1500/ |
D | board_setup.c | 63 pin_func = au_readl(SYS_PINFUNC) & (u32)(~SYS_PF_UR3); in board_setup() 89 au_writel((au_readl(GPIO2_PINSTATE) & ~(1<<14))|(1<<30), GPIO2_OUTPUT); in board_setup()
|
/linux-2.4.37.9/drivers/sound/ |
D | au1000.c | 257 if (!(au_readl(AC97C_STATUS) & AC97C_CP)) in rdcodec() 268 if (!(au_readl(AC97C_STATUS) & AC97C_CP)) in rdcodec() 275 data = au_readl(AC97C_CMD) & 0xffff; in rdcodec() 293 if (!(au_readl(AC97C_STATUS) & AC97C_CP)) in wrcodec() 317 if (au_readl(AC97C_STATUS) & AC97C_READY) in waitcodec() 472 u32 ac97_config = au_readl(AC97C_CONFIG) & ~AC97C_XMIT_SLOTS_MASK; in set_xmit_slots() 492 u32 ac97_config = au_readl(AC97C_CONFIG) & ~AC97C_RECV_SLOTS_MASK; in set_recv_slots() 514 au_readl(AC97C_STATUS); // read status to clear sticky bits in start_dac() 559 au_readl(AC97C_STATUS); // read status to clear sticky bits in start_adc() 719 ac97c_stat = au_readl(AC97C_STATUS); in dac_dma_interrupt() [all …]
|