Home
last modified time | relevance | path

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

/drivers/isdn/sc/
Dinit.c360 sc_adapter[cinst]->rambase = ram[b]; in sc_init()
361 request_region(sc_adapter[cinst]->rambase, SRAM_PAGESIZE, in sc_init()
403 release_region(sc_adapter[i]->rambase, SRAM_PAGESIZE); in sc_exit()
437 static int identify_board(unsigned long rambase, unsigned int iobase) in identify_board() argument
448 rambase, iobase); in identify_board()
453 outb(rambase >> 12, iobase + 0x2c00); in identify_board()
455 switch(rambase >> 12 & 0x0F) { in identify_board()
476 pr_debug("Invalid rambase 0x%lx\n", rambase); in identify_board()
485 sig = readl(rambase + SIG_OFFSET); in identify_board()
495 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.c435 bi->rambase = sc_adapter[card]->rambase; in GetStatus()
/drivers/net/wan/
Dpci200syn.c83 u8 __iomem *rambase; /* buffer memory base (virtual) */ member
251 if (card->rambase) in pci200_pci_remove_one()
252 iounmap(card->rambase); in pci200_pci_remove_one()
322 card->rambase = pci_ioremap_bar(pdev, 3); in pci200_pci_init_one()
326 card->rambase == NULL) { in pci200_pci_init_one()
342 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()
337 card->rambase = pci_ioremap_bar(pdev, 3); in pc300_pci_init_one()
341 card->rambase == NULL) { in pc300_pci_init_one()
391 ramsize = sca_detect_ram(card, card->rambase, in pc300_pci_init_one()
Dpc300_tty.c724 ptdescr = (pcsca_bd_t __iomem *)(card->hw.rambase + in cpc_tty_rx_disc_frame()
735 ptdescr = (pcsca_bd_t __iomem *)(card->hw.rambase + cpc_readl(&ptdescr->next)); in cpc_tty_rx_disc_frame()
763 ptdescr = (pcsca_bd_t __iomem *)(card->hw.rambase + RX_BD_ADDR(ch, first_bd)); in cpc_tty_receive()
770 ptdescr = (pcsca_bd_t __iomem *)(card->hw.rambase+cpc_readl(&ptdescr->next)); in cpc_tty_receive()
799 ptdescr = (pcsca_bd_t __iomem *)(card->hw.rambase + in cpc_tty_receive()
843 (void __iomem *)(card->hw.rambase + in cpc_tty_receive()
853 ptdescr = (pcsca_bd_t __iomem *) (card->hw.rambase + in cpc_tty_receive()
939 ptdescr = (pcsca_bd_t __iomem *)(card->hw.rambase + in cpc_tty_send_to_card()
943 memcpy_toio((void __iomem *)(card->hw.rambase + in cpc_tty_send_to_card()
Dhd64572.c101 return (pkt_desc __iomem *)(port->card->rambase + in desc_address()
221 memcpy_fromio(skb->data, card->rambase + buff, len); in sca_rx()
584 memcpy_toio(card->rambase + buff, skb->data, len); in sca_xmit()
607 static u32 __devinit sca_detect_ram(card_t *card, u8 __iomem *rambase, in sca_detect_ram() argument
615 writel(i ^ 0x12345678, rambase + i); in sca_detect_ram()
619 if (readl(rambase + i) != (i ^ 0x12345678)) in sca_detect_ram()
Dpc300_drv.c308 volatile pcsca_bd_t __iomem *ptdescr = (card->hw.rambase in tx_dma_buf_pt_init()
323 volatile pcsca_bd_t __iomem *ptdescr = (card->hw.rambase in tx_dma_buf_init()
338 volatile pcsca_bd_t __iomem *ptdescr = (card->hw.rambase in rx_dma_buf_pt_init()
353 volatile pcsca_bd_t __iomem *ptdescr = (card->hw.rambase in rx_dma_buf_init()
375 ptdescr = (card->hw.rambase + TX_BD_ADDR(ch, first_bd)); in tx_dma_buf_check()
378 ptdescr = (card->hw.rambase + TX_BD_ADDR(ch, i))) { in tx_dma_buf_check()
405 ptdescr = (card->hw.rambase + TX_BD_ADDR(ch, i)); in tx1_dma_buf_check()
425 for (i = 0, ptdescr = (card->hw.rambase + in rx_dma_buf_check()
445 ptdescr = (card->hw.rambase + RX_BD_ADDR(ch, first_bd)); in dma_get_rx_frame_size()
454 ptdescr = (card->hw.rambase + cpc_readl(&ptdescr->next)); in dma_get_rx_frame_size()
[all …]
Dhd64570.c681 static u32 __devinit sca_detect_ram(card_t *card, u8 __iomem *rambase, in sca_detect_ram() argument
694 writel(i ^ 0x12345678, rambase + i % size); in sca_detect_ram()
701 if (readl(rambase + i % size) != (i ^ 0x12345678)) in sca_detect_ram()
Dpc300.h326 void __iomem * rambase; /* On-board RAM MMIO base (virtual) */ member
/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()