Home
last modified time | relevance | path

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

1234

/linux/drivers/net/arcnet/
A Darc-rimi.c146 shmem = dev->mem_start; in arcrimi_found()
173 dev->mem_start = first_mirror; in arcrimi_found()
196 dev->mem_end - dev->mem_start + 1, in arcrimi_found()
202 lp->mem_start = ioremap(dev->mem_start, in arcrimi_found()
204 if (!lp->mem_start) { in arcrimi_found()
215 dev->irq, dev->mem_start, in arcrimi_found()
226 iounmap(lp->mem_start); in arcrimi_found()
228 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in arcrimi_found()
330 dev->mem_start = io; in arc_rimi_init()
350 iounmap(lp->mem_start); in arc_rimi_exit()
[all …]
A Dcom90xx.c499 dev->mem_start = first_mirror; in com90xx_found()
505 if (!request_mem_region(dev->mem_start, in com90xx_found()
506 dev->mem_end - dev->mem_start + 1, in com90xx_found()
526 lp->mem_start = ioremap(dev->mem_start, in com90xx_found()
527 dev->mem_end - dev->mem_start + 1); in com90xx_found()
528 if (!lp->mem_start) { in com90xx_found()
552 iounmap(lp->mem_start); in com90xx_found()
556 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in com90xx_found()
624 memset_io(lp->mem_start, 0x42, 2048); in com90xx_reset()
672 iounmap(lp->mem_start); in com90xx_exit()
[all …]
/linux/drivers/net/ethernet/8390/
A Dmac8390.c328 dev->mem_start = dev->base_addr + offset; in mac8390_rsrc_init()
330 dev->base_addr = dev->mem_start + 0x10000; in mac8390_rsrc_init()
340 dev->mem_end = dev->mem_start + offset; in mac8390_rsrc_init()
349 dev->mem_end = dev->mem_start + in mac8390_rsrc_init()
350 mac8390_memsize(dev->mem_start); in mac8390_rsrc_init()
357 dev->mem_end = dev->mem_start + in mac8390_rsrc_init()
358 mac8390_memsize(dev->mem_start); in mac8390_rsrc_init()
373 dev->mem_end = dev->mem_start + in mac8390_rsrc_init()
374 mac8390_memsize(dev->mem_start); in mac8390_rsrc_init()
514 ei_status.rmem_start = dev->mem_start; in mac8390_initdev()
[all …]
A Dwd.c93 int mem_start = dev->mem_start; in do_wd_probe() local
121 dev->mem_start = mem_start; in do_wd_probe()
186 dev->mem_start = 0; in wd_probe1()
213 dev->mem_start = ((reg5 & 0x1c) + 0xc0) << 12; in wd_probe1()
256 dev->mem_start = WD_SHMEM; in wd_probe1()
258 if (dev->mem_start == 0) { in wd_probe1()
263 dev->mem_start = 0xd0000; in wd_probe1()
264 pr_cont(" assigning address %#lx", dev->mem_start); in wd_probe1()
330 ei_status.priv = dev->mem_end - dev->mem_start; in wd_probe1()
344 model_name, dev->irq, dev->mem_start, dev->mem_end-1); in wd_probe1()
[all …]
/linux/drivers/net/wireless/ti/wl1251/
A Dio.c121 u32 mem_start, u32 mem_size, in wl1251_set_partition() argument
127 mem_start, mem_size); in wl1251_set_partition()
138 mem_start, mem_size); in wl1251_set_partition()
143 if ((mem_start < reg_start) && in wl1251_set_partition()
149 mem_size = reg_start - mem_start; in wl1251_set_partition()
151 mem_start, mem_size); in wl1251_set_partition()
154 } else if ((reg_start < mem_start) && in wl1251_set_partition()
160 reg_size = mem_start - reg_start; in wl1251_set_partition()
162 mem_start, mem_size); in wl1251_set_partition()
167 partition[0].start = mem_start; in wl1251_set_partition()
[all …]
/linux/tools/perf/tests/
A Dvmlinux-kallsyms.c123 u64 mem_start, mem_end; in test__vmlinux_matches_kallsyms() local
218 mem_start = vmlinux_map->unmap_ip(vmlinux_map, sym->start); in test__vmlinux_matches_kallsyms()
224 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms()
239 mem_start, sym->name, mem_end, in test__vmlinux_matches_kallsyms()
252 if (UM(pair->start) == mem_start) in test__vmlinux_matches_kallsyms()
256 mem_start, sym->name, pair->name); in test__vmlinux_matches_kallsyms()
259 mem_start, sym->name, first_pair->name); in test__vmlinux_matches_kallsyms()
264 } else if (mem_start == kallsyms.vmlinux_map->end) { in test__vmlinux_matches_kallsyms()
277 mem_start, sym->name); in test__vmlinux_matches_kallsyms()
318 pair = maps__find(&kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms()
[all …]
/linux/arch/arm/boot/compressed/
A Dfdt_check_mem_start.c63 uint32_t fdt_check_mem_start(uint32_t mem_start, const void *fdt) in fdt_check_mem_start() argument
73 return mem_start; in fdt_check_mem_start()
76 return mem_start; in fdt_check_mem_start()
82 return mem_start; in fdt_check_mem_start()
94 return mem_start; in fdt_check_mem_start()
98 return mem_start; in fdt_check_mem_start()
145 } else if (mem_start >= base && mem_start < end) { in fdt_check_mem_start()
147 return mem_start; in fdt_check_mem_start()
157 return mem_start; in fdt_check_mem_start()
/linux/drivers/usb/isp1760/
A Disp1760-if.c33 resource_size_t mem_start; in isp1761_pci_init() local
41 mem_start = pci_resource_start(dev, 3); in isp1761_pci_init()
48 if (!request_mem_region(mem_start, mem_length, "ISP-PCI")) { in isp1761_pci_init()
54 iobase = ioremap(mem_start, mem_length); in isp1761_pci_init()
57 release_mem_region(mem_start, mem_length); in isp1761_pci_init()
86 release_mem_region(mem_start, mem_length); in isp1761_pci_init()
97 mem_start = pci_resource_start(dev, 0); in isp1761_pci_init()
100 if (!request_mem_region(mem_start, mem_length, "ISP1761 IO MEM")) { in isp1761_pci_init()
105 iobase = ioremap(mem_start, mem_length); in isp1761_pci_init()
108 release_mem_region(mem_start, mem_length); in isp1761_pci_init()
[all …]
/linux/drivers/net/wireless/intersil/hostap/
A Dhostap_pci.c35 void __iomem *mem_start; member
68 writeb(v, hw_priv->mem_start + a); in hfa384x_outb_debug()
85 v = readb(hw_priv->mem_start + a); in hfa384x_inb_debug()
104 writew(v, hw_priv->mem_start + a); in hfa384x_outw_debug()
121 v = readw(hw_priv->mem_start + a); in hfa384x_inw_debug()
142 writeb(v, hw_priv->mem_start + a); in hfa384x_outb()
160 writew(v, hw_priv->mem_start + a); in hfa384x_outw()
331 hw_priv->mem_start = mem; in prism2_pci_probe()
380 void __iomem *mem_start; in prism2_pci_remove() local
394 mem_start = hw_priv->mem_start; in prism2_pci_remove()
[all …]
/linux/arch/powerpc/kernel/
A Dprom_init.c2485 *mem_start = ALIGN(*mem_start, align); in make_room()
2504 ret = (void *)*mem_start; in make_room()
2505 *mem_start += needed; in make_room()
2596 namep = (char *)*mem_start; in scan_dt_build_struct()
2667 *mem_start = ALIGN(*mem_start, 4); in scan_dt_build_struct()
2716 if (mem_start == 0) in flatten_device_tree()
2726 mem_start = ALIGN(mem_start, 4); in flatten_device_tree()
2733 mem_start = PAGE_ALIGN(mem_start); in flatten_device_tree()
2735 mem_start += 4; /* hole */ in flatten_device_tree()
2745 dt_string_end = mem_start; in flatten_device_tree()
[all …]
/linux/arch/arm/mach-keystone/
A Dkeystone.c68 u64 mem_start, mem_end; in keystone_pv_fixup() local
70 mem_start = memblock_start_of_DRAM(); in keystone_pv_fixup()
74 if (mem_start >= KEYSTONE_LOW_PHYS_START && in keystone_pv_fixup()
78 if (mem_start < KEYSTONE_HIGH_PHYS_START || in keystone_pv_fixup()
81 mem_start, mem_end); in keystone_pv_fixup()
/linux/arch/mips/dec/prom/
A Dmemory.c62 unsigned long mem_start = 0, mem_size = 0; in rex_setup_memory_region() local
75 mem_start += (8 * bm->pagesize); in rex_setup_memory_region()
77 memblock_add(mem_start, mem_size); in rex_setup_memory_region()
78 mem_start += mem_size + (8 * bm->pagesize); in rex_setup_memory_region()
83 memblock_add(mem_start, mem_size); in rex_setup_memory_region()
/linux/arch/mips/loongson64/
A Dinit.c53 u64 node_id, node_psize, start_pfn, end_pfn, mem_start, mem_size; in szmem() local
67 mem_start = loongson_memmap->map[i].mem_start; in szmem()
72 start_pfn = ((node_id << 44) + mem_start) >> PAGE_SHIFT; in szmem()
77 (u32)node_id, mem_type, mem_start, mem_size); in szmem()
86 (u32)node_id, mem_type, mem_start, mem_size); in szmem()
87 memblock_reserve(((node_id << 44) + mem_start), mem_size << 20); in szmem()
/linux/drivers/net/ethernet/amd/
A Ddeclance.c1075 dev->mem_start = CKSEG1ADDR(0x00020000); in dec_lance_probe()
1076 dev->mem_end = dev->mem_start + 0x00020000; in dec_lance_probe()
1081 memset((void *)dev->mem_start, 0, in dec_lance_probe()
1082 dev->mem_end - dev->mem_start); in dec_lance_probe()
1108 CPHYSADDR(dev->mem_start) << 3); in dec_lance_probe()
1125 dev->mem_start = CKSEG1ADDR(start); in dec_lance_probe()
1126 dev->mem_end = dev->mem_start + 0x100000; in dec_lance_probe()
1127 dev->base_addr = dev->mem_start + 0x100000; in dec_lance_probe()
1129 esar_base = dev->mem_start + 0x1c0002; in dec_lance_probe()
1134 (char *)(dev->mem_start + BUF_OFFSET_CPU + in dec_lance_probe()
[all …]
A Da2065.c681 unsigned long mem_start = board + A2065_RAM; in a2065_init_one() local
690 r2 = request_mem_region(mem_start, A2065_RAM_SIZE, "RAM"); in a2065_init_one()
699 release_mem_region(mem_start, A2065_RAM_SIZE); in a2065_init_one()
721 dev->mem_start = (unsigned long)ZTWO_VADDR(mem_start); in a2065_init_one()
722 dev->mem_end = dev->mem_start + A2065_RAM_SIZE; in a2065_init_one()
725 priv->init_block = (struct lance_init_block *)dev->mem_start; in a2065_init_one()
745 release_mem_region(mem_start, A2065_RAM_SIZE); in a2065_init_one()
765 release_mem_region(ZTWO_PADDR(dev->mem_start), A2065_RAM_SIZE); in a2065_remove_one()
A Dariadne.c119 volatile struct lancedata *lancedata = (struct lancedata *)dev->mem_start; in ariadne_init_ring()
691 release_mem_region(ZTWO_PADDR(dev->mem_start), ARIADNE_RAM_SIZE); in ariadne_remove_one()
717 unsigned long mem_start = board + ARIADNE_RAM; in ariadne_init_one() local
726 r2 = request_mem_region(mem_start, ARIADNE_RAM_SIZE, "RAM"); in ariadne_init_one()
735 release_mem_region(mem_start, ARIADNE_RAM_SIZE); in ariadne_init_one()
750 dev->mem_start = (unsigned long)ZTWO_VADDR(mem_start); in ariadne_init_one()
751 dev->mem_end = dev->mem_start + ARIADNE_RAM_SIZE; in ariadne_init_one()
759 release_mem_region(mem_start, ARIADNE_RAM_SIZE); in ariadne_init_one()
/linux/arch/powerpc/platforms/powermac/
A Dbootx_init.c351 unsigned long mem_start, mem_end; in bootx_flatten_dt() local
359 mem_start = mem_end = ALIGN(((unsigned long)bi) + start, 4); in bootx_flatten_dt()
360 DBG("Boot params header at: %x\n", mem_start); in bootx_flatten_dt()
361 hdr = (struct boot_param_header *)mem_start; in bootx_flatten_dt()
364 hdr->off_mem_rsvmap = ((unsigned long)rsvmap) - mem_start; in bootx_flatten_dt()
385 hdr->off_dt_strings = bootx_dt_strbase - mem_start; in bootx_flatten_dt()
391 hdr->off_dt_struct = mem_end - mem_start; in bootx_flatten_dt()
398 hdr->totalsize = mem_end - mem_start; in bootx_flatten_dt()
409 rsvmap[0] = mem_start; in bootx_flatten_dt()
/linux/include/linux/
A Dvlynq.h55 u32 mem_start, mem_end; member
109 return dev->mem_start; in vlynq_mem_start()
119 return dev->mem_end - dev->mem_start + 1; in vlynq_mem_len()
/linux/arch/arm/mm/
A Dpmsa-v7.c234 phys_addr_t mem_start; in pmsav7_adjust_lowmem_bounds() local
276 mem_start = reg_start; in pmsav7_adjust_lowmem_bounds()
278 specified_mem_size = mem_end - mem_start; in pmsav7_adjust_lowmem_bounds()
294 num = allocate_region(mem_start, specified_mem_size, mem_max_regions, mem); in pmsav7_adjust_lowmem_bounds()
308 memblock_remove(mem_start + total_mem_size, in pmsav7_adjust_lowmem_bounds()
/linux/drivers/net/ethernet/cirrus/
A Dmac89x0.c143 return swab16(nubus_readw(dev->mem_start + portno)); in readreg()
149 nubus_writew(swab16(value), dev->mem_start + portno); in writereg()
213 dev->mem_start = (unsigned long) in mac89x0_device_probe()
215 dev->mem_end = dev->mem_start + 0x1000; in mac89x0_device_probe()
356 skb_copy_from_linear_data(skb, (void *)(dev->mem_start + PP_TxFrame), in net_send_packet()
464 skb_copy_to_linear_data(skb, (void *)(dev->mem_start + PP_RxFrame), in net_rx()
/linux/drivers/net/
A DSpace.c99 dev->mem_start = s[i].map.mem_start; in netdev_boot_setup_check()
158 map.mem_start = ints[3]; in netdev_boot_setup()
A Dsb1000.c185 dev->mem_start = ioaddr[1]; in sb1000_probe_one()
191 dev->mem_start, serial_number, dev->irq); in sb1000_probe_one()
242 release_region(dev->mem_start, 16); in sb1000_remove_one()
916 ioaddr[1] = dev->mem_start; in sb1000_error_dpc()
941 ioaddr[1] = dev->mem_start; in sb1000_open()
1010 ioaddr[1] = dev->mem_start; in sb1000_siocdevprivate()
1106 ioaddr[1] = dev->mem_start; in sb1000_interrupt()
1159 ioaddr[1] = dev->mem_start; in sb1000_close()
/linux/net/core/
A Ddev_ioctl.c89 cifmap->mem_start = dev->mem_start; in dev_getifmap()
99 ifmap->mem_start = dev->mem_start; in dev_getifmap()
118 .mem_start = cifmap->mem_start, in dev_setifmap()
/linux/drivers/net/ethernet/
A Dethoc.c302 static int ethoc_init_ring(struct ethoc *dev, unsigned long mem_start) in ethoc_init_ring() argument
315 bd.addr = mem_start; in ethoc_init_ring()
738 ethoc_init_ring(priv, dev->mem_start); in ethoc_open()
756 dev->base_addr, dev->mem_start, dev->mem_end); in ethoc_open()
983 ethoc_init_ring(priv, dev->mem_start); in ethoc_set_ringparam()
1071 netdev->mem_start = mem->start; in ethoc_probe()
1100 netdev->mem_start, resource_size(mem)); in ethoc_probe()
1109 buffer_size, (void *)&netdev->mem_start, in ethoc_probe()
1117 netdev->mem_end = netdev->mem_start + buffer_size; in ethoc_probe()
1125 128, (netdev->mem_end - netdev->mem_start + 1) / ETHOC_BUFSIZ); in ethoc_probe()
/linux/drivers/net/ethernet/i825xx/
A D82596.c1172 dev->mem_start = (int)__get_free_pages(GFP_ATOMIC, 0); in i82596_probe()
1173 if (!dev->mem_start) { in i82596_probe()
1191 dev->ml_priv = (void *)(dev->mem_start); in i82596_probe()
1201 cache_push(virt_to_phys((void *)(dev->mem_start)), 4096); in i82596_probe()
1202 cache_clear(virt_to_phys((void *)(dev->mem_start)), 4096); in i82596_probe()
1203 kernel_set_cachemode((void *)(dev->mem_start), 4096, IOMAP_NOCACHE_SER); in i82596_probe()
1219 kernel_set_cachemode((void *)(dev->mem_start), 4096, in i82596_probe()
1222 free_page ((u32)(dev->mem_start)); in i82596_probe()
1530 kernel_set_cachemode((void *)(dev_82596->mem_start), 4096, in i82596_cleanup()
1533 free_page ((u32)(dev_82596->mem_start)); in i82596_cleanup()

Completed in 51 milliseconds

1234