Home
last modified time | relevance | path

Searched refs:mem_base (Results 1 – 25 of 25) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dhydra.c210 unsigned long mem_base = nic_base - HYDRA_NIC_BASE; in hydra_block_input() local
211 unsigned long xfer_start = mem_base + ring_offset - (NESM_START_PG<<8); in hydra_block_input()
216 if (xfer_start+count > mem_base + (NESM_STOP_PG<<8)) { in hydra_block_input()
217 int semi_count = (mem_base + (NESM_STOP_PG<<8)) - xfer_start; in hydra_block_input()
221 z_memcpy_fromio(skb->data+semi_count, mem_base, count); in hydra_block_input()
231 unsigned long mem_base = nic_base - HYDRA_NIC_BASE; in hydra_block_output() local
236 z_memcpy_toio(mem_base+((start_page - NESM_START_PG)<<8), buf, count); in hydra_block_output()
D3c503.c247 unsigned long mem_base = dev->mem_start; in el2_probe1() local
249 isa_writel(0xba5eba5e, mem_base); in el2_probe1()
251 isa_writel(test_val, mem_base + i); in el2_probe1()
252 if (isa_readl(mem_base) != 0xba5eba5e in el2_probe1()
253 || isa_readl(mem_base + i) != test_val) { in el2_probe1()
260 isa_writel(0, mem_base + i); in el2_probe1()
De2100.c75 static inline void mem_on(short port, unsigned long mem_base, in mem_on() argument
80 isa_readb(mem_base+start_page); in mem_on()
Dcirrus.c84 u32 mem_base; /* Memory Base Address */ member
513 eeprom->mem_base = (buf[7] << 16) | buf[6]; in cirrus_eeprom()
Ddepca.c537 u_long mem_start = 0, mem_base[] = DEPCA_RAM_BASE_ADDRESSES; in depca_hw_init() local
551 mem_start = (mem ? mem & 0xf0000 : mem_base[mem_chkd++]); in depca_hw_init()
553 } while (!mem && mem_base[mem_chkd] && (adapter == unknown)); in depca_hw_init()
/linux-2.4.37.9/drivers/pcmcia/
Dhd64465_ss.c76 u_long mem_base; member
598 cis_hex_dump((const unsigned char*)sp->mem_base, 0x100); in hs_set_socket()
662 paddrbase = virt_to_phys((void*)(sp->mem_base + 2 * HD64465_PCC_WINDOW)); in hs_set_io_map()
731 paddr = sp->mem_base; /* base of Attribute mapping */ in hs_set_mem_map()
904 static int hs_init_socket(hs_socket_t *sp, int irq, unsigned long mem_base, in hs_init_socket() argument
912 sp->mem_base = mem_base; in hs_init_socket()
928 if (request_mem_region(sp->mem_base, sp->mem_length, MODNAME) == 0) { in hs_init_socket()
929 sp->mem_base = 0; in hs_init_socket()
980 if (sp->mem_base != 0) in hs_exit_socket()
981 release_mem_region(sp->mem_base, sp->mem_length); in hs_exit_socket()
[all …]
/linux-2.4.37.9/arch/m68k/kernel/
Dbios32.c78 static unsigned int mem_base; variable
229 base = ALIGN(mem_base, alignto); in layout_dev()
230 mem_base = base + size; in layout_dev()
314 bmem = mem_base = ALIGN(mem_base, 1*MB); in layout_bus()
369 mem_base = bus_info->mem_space.start + MEM_ALLOC_OFFSET; in pcibios_fixup()
/linux-2.4.37.9/drivers/hotplug/
Dshpchprm_legacy.c194 u16 mem_base = readw(one_slot + MEM_BASE); in shpchprm_find_available_resources() local
200 dev_func, io_base, io_length, mem_base, mem_length, pre_mem_base, pre_mem_length, in shpchprm_find_available_resources()
267 temp_ulong = mem_base + mem_length; in shpchprm_find_available_resources()
268 if ((mem_base) && (temp_ulong <= 0x10000)) { in shpchprm_find_available_resources()
273 mem_node->base = (ulong)mem_base << 16; in shpchprm_find_available_resources()
Dshpchprm_legacy.h43 u16 mem_base; member
57 MEM_BASE = offsetof(struct slot_rt, mem_base),
Dcpqphp_pci.c1422 u16 mem_base = readw(one_slot + MEM_BASE); in cpqhp_find_available_resources() local
1428 dev_func, io_base, io_length, mem_base, mem_length, pre_mem_base, pre_mem_length, in cpqhp_find_available_resources()
1494 temp_dword = mem_base + mem_length; in cpqhp_find_available_resources()
1495 if ((mem_base) && (temp_dword < 0x10000)) { in cpqhp_find_available_resources()
1500 mem_node->base = mem_base << 16; in cpqhp_find_available_resources()
Dcpqphp.h217 u16 mem_base; member
231 MEM_BASE = offsetof(struct slot_rt, mem_base),
/linux-2.4.37.9/include/pcmcia/
Ddriver_ops.h50 u_long mem_base; member
/linux-2.4.37.9/drivers/media/video/
Dpms.c67 static int mem_base = 0xC8000; variable
629 u32 src = mem_base; in pms_capture()
986 mvv_write(0x04, mem_base>>12); /* Set the memory area */ in init_mediavision()
1059 MODULE_PARM(mem_base,"i");
/linux-2.4.37.9/drivers/block/
Dumem.c119 unsigned long mem_base; member
1091 card->mem_base = pci_resource_start(dev, 1); in mm_pci_probe()
1122 if (!request_mem_region(card->mem_base, card->mem_len, "Micro Memory")) { in mm_pci_probe()
1129 if (!(card->mem_remap = (unsigned char *)ioremap(card->mem_base, cards->mem_len))) { in mm_pci_probe()
1137 card->mem_base, card->mem_remap, card->mem_len); in mm_pci_probe()
1307 release_mem_region(card->mem_base, card->mem_len); in mm_pci_probe()
1331 release_mem_region(card->mem_base, card->mem_len); in mm_pci_remove()
/linux-2.4.37.9/drivers/isdn/pcbit/
Dmodule.c36 extern int pcbit_init_dev(int board, int mem_base, int irq);
Ddrv.c75 int pcbit_init_dev(int board, int mem_base, int irq) in pcbit_init_dev() argument
90 if (mem_base >= 0xA0000 && mem_base <= 0xFFFFF ) { in pcbit_init_dev()
91 dev->ph_mem = mem_base; in pcbit_init_dev()
/linux-2.4.37.9/drivers/scsi/
Dqlogicisp.c1362 u_long io_base, mem_base, io_flags, mem_flags; in isp1020_init() local
1382 mem_base = pci_resource_start(pdev, 1); in isp1020_init()
1416 mem_base = (u_long) ioremap(mem_base, PAGE_SIZE); in isp1020_init()
1417 if (!mem_base) { in isp1020_init()
1421 hostdata->memaddr = mem_base; in isp1020_init()
1435 mem_base = 0; in isp1020_init()
1446 (io_base ? io_base : mem_base)); in isp1020_init()
1481 if (mem_base) iounmap((void *)hostdata->memaddr); in isp1020_init()
/linux-2.4.37.9/include/asm-ia64/sn/pci/
Dpci_defs.h378 uint16_t mem_base; member
483 uint16_t mem_base; member
/linux-2.4.37.9/drivers/mtd/
Dredboot.c17 unsigned long mem_base; // Address in memory where it executes member
/linux-2.4.37.9/drivers/usb/host/
Dusb-ohci.c2454 static ohci_t * __devinit hc_alloc_ohci (struct pci_dev *dev, void * mem_base) in hc_alloc_ohci() argument
2475 ohci->regs = mem_base; in hc_alloc_ohci()
2544 void *mem_base, const struct pci_device_id *id) in hc_found_ohci() argument
2556 (unsigned long) mem_base, bufp); in hc_found_ohci()
2559 ohci = hc_alloc_ohci (dev, mem_base); in hc_found_ohci()
2668 void *mem_base; in ohci_pci_probe() local
2689 mem_base = ioremap_nocache (mem_resource, mem_len); in ohci_pci_probe()
2690 if (!mem_base) { in ohci_pci_probe()
2700 status = hc_found_ohci (dev, dev->irq, mem_base, id); in ohci_pci_probe()
2702 iounmap (mem_base); in ohci_pci_probe()
/linux-2.4.37.9/include/net/irda/
Dirda_device.h128 int mem_base; /* Shared memory base */ member
/linux-2.4.37.9/arch/ppc/kernel/
Dpci.c505 u16 mem_base, mem_limit; in update_bridge_base() local
541 mem_base = ((res->start - off) >> 16) & PCI_MEMORY_RANGE_MASK; in update_bridge_base()
543 pci_write_config_word(dev, PCI_MEMORY_BASE, mem_base); in update_bridge_base()
549 mem_base = ((res->start - off) >> 16) & PCI_PREF_RANGE_MASK; in update_bridge_base()
551 pci_write_config_word(dev, PCI_PREF_MEMORY_BASE, mem_base); in update_bridge_base()
/linux-2.4.37.9/drivers/net/fc/
Dtach_structs.h239 u_int *mem_base; member
Diph5526.c3791 fi->g.mem_base = ioremap(pci_maddr & PAGE_MASK, 1024);
3799 fi->g.tachyon_base = (u_long)fi->g.mem_base + TACHYON_OFFSET + ( pci_maddr & ~PAGE_MASK );
3801 if (fi->g.mem_base == NULL) {
4483 iounmap(fi->g.mem_base);
/linux-2.4.37.9/drivers/net/irda/
Ddonauboe.c1696 self->io.mem_base = (__u32) self->ring; in toshoboe_open()