Searched refs:rambase (Results 1 – 13 of 13) sorted by relevance
393 adapter[cinst]->rambase = ram[b]; in sc_init()394 request_region(adapter[cinst]->rambase, SRAM_PAGESIZE, interface->id); in sc_init()434 release_region(adapter[i]->rambase, SRAM_PAGESIZE); in sc_exit()466 int identify_board(unsigned long rambase, unsigned int iobase) in identify_board() argument477 rambase, iobase); in identify_board()482 outb(rambase >> 12, iobase + 0x2c00); in identify_board()484 switch(rambase >> 12 & 0x0F) { in identify_board()505 pr_debug("Invalid rambase 0x%lx\n", rambase); in identify_board()515 sig = readl(rambase + SIG_OFFSET); in identify_board()526 sig = readl(rambase + SIG_OFFSET); in identify_board()[all …]
64 ret = memcpy_toio(adapter[card]->rambase + in memcpy_toshmem()67 (unsigned long) src, adapter[card]->rambase + ((unsigned long) dest %0x4000)); in memcpy_toshmem()108 ret = memcpy_fromio(dest,(void *)(adapter[card]->rambase + in memcpy_fromshmem()149 ret = memset_io(adapter[card]->rambase + in memset_shmem()
39 outb((adapter[card]->rambase >> 12), adapter[card]->ioport[EXP_BASE]); in setup_ports()70 sig = (unsigned long) *((unsigned long *)(adapter[card]->rambase + SIG_OFFSET)); in check_reset()
63 dpm = (DualPortMemory *) adapter[card]->rambase; in receivemessage()160 dpm = (DualPortMemory *) adapter[card]->rambase; /* Fix me */ in sendmessage()
82 unsigned int rambase; /* Shared RAM base address */ member
86 long rambase; member
360 bi->rambase = adapter[card]->rambase; in GetStatus()
91 u8* rambase; /* buffer memory base (virtual) */ member113 #define winbase(card) (card->rambase)274 if (card->rambase) in pci200_pci_remove_one()275 iounmap(card->rambase); in pci200_pci_remove_one()343 card->rambase = ioremap(ramphys, pci_resource_len(pdev,3)); in pci200_pci_init_one()347 card->rambase == NULL) { in pci200_pci_init_one()362 ramsize = sca_detect_ram(card, card->rambase, in pci200_pci_init_one()
735 ptdescr = (pcsca_bd_t *)(card->hw.rambase + in cpc_tty_rx_disc_frame()746 ptdescr = (pcsca_bd_t *)(card->hw.rambase + cpc_readl(&ptdescr->next)); in cpc_tty_rx_disc_frame()774 ptdescr = (pcsca_bd_t *)(card->hw.rambase + RX_BD_ADDR(ch, first_bd)); in cpc_tty_receive()781 ptdescr=(pcsca_bd_t*)(card->hw.rambase+cpc_readl(&ptdescr->next)); in cpc_tty_receive()809 ptdescr = (pcsca_bd_t *)(card->hw.rambase + in cpc_tty_receive()851 (void *)(card->hw.rambase + in cpc_tty_receive()861 ptdescr = (pcsca_bd_t *) (card->hw.rambase + in cpc_tty_receive()947 ptdescr = (pcsca_bd_t *)(card->hw.rambase + in cpc_tty_send_to_card()951 memcpy_toio((void *)(card->hw.rambase + in cpc_tty_send_to_card()
116 volatile pcsca_bd_t *ptdescr = (pcsca_bd_t *) (card->hw.rambase in tx_dma_buf_pt_init()131 volatile pcsca_bd_t *ptdescr = (pcsca_bd_t *) (card->hw.rambase in tx_dma_buf_init()146 volatile pcsca_bd_t *ptdescr = (pcsca_bd_t *) (card->hw.rambase in rx_dma_buf_pt_init()161 volatile pcsca_bd_t *ptdescr = (pcsca_bd_t *) (card->hw.rambase in rx_dma_buf_init()183 ptdescr = (pcsca_bd_t *) (card->hw.rambase + TX_BD_ADDR(ch, first_bd)); in tx_dma_buf_check()186 ptdescr = (pcsca_bd_t *) (card->hw.rambase + TX_BD_ADDR(ch, i))) { in tx_dma_buf_check()213 ptdescr = (pcsca_bd_t *) (card->hw.rambase + TX_BD_ADDR(ch, i)); in tx1_dma_buf_check()233 for (i = 0, ptdescr = (pcsca_bd_t *) (card->hw.rambase + in rx_dma_buf_check()253 ptdescr = (pcsca_bd_t *)(card->hw.rambase + RX_BD_ADDR(ch, first_bd)); in dma_get_rx_frame_size()262 ptdescr = (pcsca_bd_t *)(card->hw.rambase + cpc_readl(&ptdescr->next)); in dma_get_rx_frame_size()[all …]
772 static u32 __devinit sca_detect_ram(card_t *card, u8 *rambase, u32 ramsize) in sca_detect_ram() argument787 writel(i ^ 0x12345678, rambase + i % size); in sca_detect_ram()789 writel(i ^ 0x12345678, rambase + i); in sca_detect_ram()798 if (readl(rambase + i % size) != (i ^ 0x12345678)) in sca_detect_ram()801 if (readl(rambase + i) != (i ^ 0x12345678)) in sca_detect_ram()
290 uclong rambase; /* On-board RAM MMIO base (virtual) */ member
40 .macro pgtbl, reg, rambase argument50 .macro krnladr, rd, pgtable, rambase argument266 add r3, r8, r2 @ flags + rambase