Home
last modified time | relevance | path

Searched refs:rambase (Results 1 – 15 of 15) sorted by relevance

/linux-2.6.39/drivers/isdn/sc/
Dinit.c362 sc_adapter[cinst]->rambase = ram[b]; in sc_init()
363 request_region(sc_adapter[cinst]->rambase, SRAM_PAGESIZE, in sc_init()
405 release_region(sc_adapter[i]->rambase, SRAM_PAGESIZE); in sc_exit()
439 static int identify_board(unsigned long rambase, unsigned int iobase) in identify_board() argument
450 rambase, iobase); in identify_board()
455 outb(rambase >> 12, iobase + 0x2c00); in identify_board()
457 switch(rambase >> 12 & 0x0F) { in identify_board()
478 pr_debug("Invalid rambase 0x%lx\n", rambase); in identify_board()
487 sig = readl(rambase + SIG_OFFSET); in identify_board()
497 sig = readl(rambase + SIG_OFFSET); in identify_board()
[all …]
Dshmem.c53 memcpy_toio((void __iomem *)(sc_adapter[card]->rambase + dest_rem), src, n); in memcpy_toshmem()
60 sc_adapter[card]->rambase + ((unsigned long) dest %0x4000)); in memcpy_toshmem()
94 memcpy_fromio(dest,(void *)(sc_adapter[card]->rambase + in memcpy_fromshmem()
132 memset_io(sc_adapter[card]->rambase +
Dtimer.c30 outb((sc_adapter[card]->rambase >> 12), sc_adapter[card]->ioport[EXP_BASE]); in setup_ports()
61 sig = (unsigned long) *((unsigned long *)(sc_adapter[card]->rambase + SIG_OFFSET)); in sc_check_reset()
Dmessage.c51 dpm = (DualPortMemory *) sc_adapter[card]->rambase; in receivemessage()
146 dpm = (DualPortMemory *) sc_adapter[card]->rambase; /* Fix me */ in sendmessage()
Dscioc.h89 long rambase; member
Dcard.h85 unsigned int rambase; /* Shared RAM base address */ member
Dioctl.c424 bi->rambase = sc_adapter[card]->rambase; in GetStatus()
/linux-2.6.39/drivers/net/wan/
Dpci200syn.c84 u8 __iomem *rambase; /* buffer memory base (virtual) */ member
252 if (card->rambase) in pci200_pci_remove_one()
253 iounmap(card->rambase); in pci200_pci_remove_one()
329 card->rambase = pci_ioremap_bar(pdev, 3); in pci200_pci_init_one()
333 card->rambase == NULL) { in pci200_pci_init_one()
349 ramsize = sca_detect_ram(card, card->rambase, in pci200_pci_init_one()
Dpc300too.c99 u8 __iomem *rambase; /* buffer memory base (virtual) */ member
273 if (card->rambase) in pc300_pci_remove_one()
274 iounmap(card->rambase); in pc300_pci_remove_one()
343 card->rambase = pci_ioremap_bar(pdev, 3); in pc300_pci_init_one()
347 card->rambase == NULL) { in pc300_pci_init_one()
397 ramsize = sca_detect_ram(card, card->rambase, in pc300_pci_init_one()
Dpc300_tty.c723 ptdescr = (pcsca_bd_t __iomem *)(card->hw.rambase + in cpc_tty_rx_disc_frame()
734 ptdescr = (pcsca_bd_t __iomem *)(card->hw.rambase + cpc_readl(&ptdescr->next)); in cpc_tty_rx_disc_frame()
762 ptdescr = (pcsca_bd_t __iomem *)(card->hw.rambase + RX_BD_ADDR(ch, first_bd)); in cpc_tty_receive()
769 ptdescr = (pcsca_bd_t __iomem *)(card->hw.rambase+cpc_readl(&ptdescr->next)); in cpc_tty_receive()
798 ptdescr = (pcsca_bd_t __iomem *)(card->hw.rambase + in cpc_tty_receive()
842 (void __iomem *)(card->hw.rambase + in cpc_tty_receive()
852 ptdescr = (pcsca_bd_t __iomem *) (card->hw.rambase + in cpc_tty_receive()
938 ptdescr = (pcsca_bd_t __iomem *)(card->hw.rambase + in cpc_tty_send_to_card()
942 memcpy_toio((void __iomem *)(card->hw.rambase + in cpc_tty_send_to_card()
Dhd64572.c100 return (pkt_desc __iomem *)(port->card->rambase + in desc_address()
220 memcpy_fromio(skb->data, card->rambase + buff, len); in sca_rx()
587 memcpy_toio(card->rambase + buff, skb->data, len); in sca_xmit()
609 static u32 __devinit sca_detect_ram(card_t *card, u8 __iomem *rambase, in sca_detect_ram() argument
617 writel(i ^ 0x12345678, rambase + i); in sca_detect_ram()
621 if (readl(rambase + i) != (i ^ 0x12345678)) in sca_detect_ram()
Dpc300_drv.c310 volatile pcsca_bd_t __iomem *ptdescr = (card->hw.rambase in tx_dma_buf_pt_init()
325 volatile pcsca_bd_t __iomem *ptdescr = (card->hw.rambase in tx_dma_buf_init()
340 volatile pcsca_bd_t __iomem *ptdescr = (card->hw.rambase in rx_dma_buf_pt_init()
355 volatile pcsca_bd_t __iomem *ptdescr = (card->hw.rambase in rx_dma_buf_init()
377 ptdescr = (card->hw.rambase + TX_BD_ADDR(ch, first_bd)); in tx_dma_buf_check()
380 ptdescr = (card->hw.rambase + TX_BD_ADDR(ch, i))) { in tx_dma_buf_check()
407 ptdescr = (card->hw.rambase + TX_BD_ADDR(ch, i)); in tx1_dma_buf_check()
427 for (i = 0, ptdescr = (card->hw.rambase + in rx_dma_buf_check()
447 ptdescr = (card->hw.rambase + RX_BD_ADDR(ch, first_bd)); in dma_get_rx_frame_size()
456 ptdescr = (card->hw.rambase + cpc_readl(&ptdescr->next)); in dma_get_rx_frame_size()
[all …]
Dhd64570.c680 static u32 __devinit sca_detect_ram(card_t *card, u8 __iomem *rambase, in sca_detect_ram() argument
693 writel(i ^ 0x12345678, rambase + i % size); in sca_detect_ram()
700 if (readl(rambase + i % size) != (i ^ 0x12345678)) in sca_detect_ram()
Dpc300.h326 void __iomem * rambase; /* On-board RAM MMIO base (virtual) */ member
/linux-2.6.39/drivers/media/dvb/frontends/
Dnxt200x.c418 u16 rambase, position, crc = 0; in nxt2002_load_firmware() local
427 rambase = 0x1000; in nxt2002_load_firmware()
429 rambase = 0x0000; in nxt2002_load_firmware()
431 dprintk("rambase on this nxt2002 is %04X\n", rambase); in nxt2002_load_firmware()
441 buf[0] = ((rambase + position) >> 8); in nxt2002_load_firmware()
442 buf[1] = (rambase + position) & 0xFF; in nxt2002_load_firmware()
485 u16 rambase, position, crc=0; in nxt2004_load_firmware() local
491 rambase = 0x1000; in nxt2004_load_firmware()
502 buf[0] = rambase >> 8; in nxt2004_load_firmware()
503 buf[1] = rambase & 0xFF; in nxt2004_load_firmware()