/drivers/video/ |
H A D | sbuslib.c | 46 unsigned int size, page, r, map_size; local 67 map_size = 0; 70 map_size = sbusfb_mmapsize(map[i].size, fbsize); 79 if (!map_size) { 83 if (page + map_size > size) 84 map_size = size - page; 89 map_size, 93 page += map_size;
|
H A D | igafb.c | 225 unsigned int size, page, map_size = 0; local 236 map_size = 0; 247 map_size = par->mmap_map[i].size - (offset - start); 251 if (!map_size) { 255 if (page + map_size > size) 256 map_size = size - page; 262 map_offset >> PAGE_SHIFT, map_size, vma->vm_page_prot)) 265 page += map_size; 268 if (!map_size)
|
H A D | sa1100fb.h | 43 u_int map_size; member in struct:sa1100fb_info
|
H A D | s3c2410fb.c | 638 unsigned map_size = PAGE_ALIGN(info->fix.smem_len); local 640 dprintk("map_video_memory(fbi=%p) map_size %u\n", fbi, map_size); 642 info->screen_base = dma_alloc_writecombine(fbi->dev, map_size, 648 info->screen_base, map_size); 649 memset(info->screen_base, 0x00, map_size); 654 info->fix.smem_start, info->screen_base, map_size);
|
H A D | imxfb.c | 142 u_int map_size; member in struct:imxfb_info 787 fbi->map_size = PAGE_ALIGN(info->fix.smem_len); 789 fbi->map_size, &fbi->map_dma, GFP_KERNEL); 856 dma_free_writecombine(&pdev->dev,fbi->map_size,fbi->map_cpu,
|
H A D | nuc900fb.c | 394 unsigned long map_size = PAGE_ALIGN(info->fix.smem_len); local 396 dev_dbg(fbi->dev, "nuc900fb_map_video_memory(fbi=%p) map_size %lu\n", 397 fbi, map_size); 399 info->screen_base = dma_alloc_writecombine(fbi->dev, map_size, 405 memset(info->screen_base, 0x00, map_size);
|
H A D | sa1100fb.c | 564 fbi->map_dma, fbi->map_size); 1099 fbi->map_size = PAGE_ALIGN(fbi->fb.fix.smem_len + PAGE_SIZE); 1100 fbi->map_cpu = dma_alloc_writecombine(fbi->dev, fbi->map_size,
|
/drivers/input/ |
H A D | sparse-keymap.c | 174 size_t map_size = 1; /* to account for the last KE_END entry */ local 181 map_size++; 183 map = kcalloc(map_size, sizeof (struct key_entry), GFP_KERNEL); 187 memcpy(map, keymap, map_size * sizeof (struct key_entry)); 189 for (i = 0; i < map_size; i++) { 219 dev->keycodemax = map_size;
|
/drivers/char/tpm/ |
H A D | tpm_infineon.c | 44 unsigned long map_size; /* MMIO region size */ member in struct:tpm_inf_dev 467 tpm_dev.map_size = pnp_mem_len(dev, 0); 473 if (request_mem_region(tpm_dev.map_base, tpm_dev.map_size, 479 tpm_dev.mem_base = ioremap(tpm_dev.map_base, tpm_dev.map_size); 481 release_mem_region(tpm_dev.map_base, tpm_dev.map_size); 590 release_mem_region(tpm_dev.map_base, tpm_dev.map_size); 608 release_mem_region(tpm_dev.map_base, tpm_dev.map_size);
|
/drivers/pcmcia/ |
H A D | cistpl.c | 94 mem->res = pcmcia_find_mem_region(0, s->map_size, 95 s->map_size, 0, s); 105 s->cis_virt = ioremap(mem->res->start, s->map_size); 120 s->cis_virt = ioremap(mem->static_start, s->map_size); 182 card_offset = addr & ~(s->map_size-1); 190 end = sys + s->map_size; 191 sys = sys + (addr & (s->map_size-1)); 197 card_offset += s->map_size; 256 card_offset = addr & ~(s->map_size-1); 264 end = sys + s->map_size; [all...] |
H A D | rsrc_nonstatic.c | 279 s->cis_virt = ioremap(res->start, s->map_size); 306 virt = ioremap(res->start, s->map_size); 316 for (i = 0; i < s->map_size; i += 44) { 423 /* cis_readable wants to map 2x map_size */ 424 if (step < 2 * s->map_size) 425 step = 2 * s->map_size;
|
H A D | bfin_cf_pcmcia.c | 267 cf->socket.map_size = SZ_2K;
|
H A D | xxs1500_ss.c | 265 sock->socket.map_size = MEM_MAP_SIZE;
|
H A D | electra_cf.c | 292 cf->socket.map_size = 0x800;
|
H A D | omap_cf.c | 298 cf->socket.map_size = SZ_2K;
|
H A D | pcmcia_resource.c | 895 res->end = s->map_size; 896 align = (s->features & SS_CAP_MEM_ALIGN) ? res->end : s->map_size; 897 if (res->end & (s->map_size-1)) {
|
H A D | at91_cf.c | 301 cf->socket.map_size = SZ_2K;
|
H A D | bcm63xx_pcmcia.c | 392 sock->map_size = resource_size(skt->common_res);
|
H A D | db1xxx_ss.c | 523 sock->socket.map_size = MEM_MAP_SIZE;
|
H A D | i82092.c | 109 sockets[i].socket.map_size = 0x1000;
|
/drivers/iommu/ |
H A D | dmar.c | 584 int map_size; local 635 map_size = max_t(int, ecap_max_iotlb_offset(iommu->ecap), 637 map_size = VTD_PAGE_ALIGN(map_size); 638 if (map_size > VTD_PAGE_SIZE) { 640 iommu->reg = ioremap(drhd->reg_base_addr, map_size);
|
/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 1393 const unsigned int *map_size, 1434 CS_DESC(csring, fill) = XCT_PTR_LEN(map_size[0]-nh_off) | XCT_PTR_ADDR(map[0]+nh_off); 1436 CS_DESC(csring, fill+i) = XCT_PTR_LEN(map_size[i]) | XCT_PTR_ADDR(map[i]); 1486 unsigned int map_size[MAX_SKB_FRAGS+1]; local 1501 map_size[0] = skb_headlen(skb); 1510 map_size[i+1] = skb_frag_size(frag); 1553 pasemi_mac_queue_csdesc(skb, map, map_size, txring, csring); 1563 XCT_PTR_LEN(map_size[i]) | XCT_PTR_ADDR(map[i]); 1589 pci_unmap_single(mac->dma_pdev, map[nfrags], map_size[nfrags], 1391 pasemi_mac_queue_csdesc(const struct sk_buff *skb, const dma_addr_t *map, const unsigned int *map_size, struct pasemi_mac_txring *txring, struct pasemi_mac_csring *csring) argument
|
/drivers/char/agp/ |
H A D | i460-agp.c | 369 size_t map_size; local 377 map_size = ((I460_KPAGES_PER_IOPAGE + BITS_PER_LONG - 1) & -BITS_PER_LONG)/8; 378 lp->alloced_map = kzalloc(map_size, GFP_KERNEL);
|
/drivers/scsi/ |
H A D | scsi_debug.c | 263 static unsigned long map_size; variable 2012 next = find_next_zero_bit(map_storep, map_size, block); 2014 next = find_next_bit(map_storep, map_size, block); 2036 if (block < map_size) 2057 if (rem == 0 && lba + granularity <= end && block < map_size) { 3199 count = bitmap_scnlistprintf(buf, PAGE_SIZE, map_storep, map_size); 3399 map_size = (sdebug_store_sectors / scsi_debug_unmap_granularity); 3400 map_bytes = map_size >> 3; 3404 map_size);
|
/drivers/video/aty/ |
H A D | atyfb_base.c | 1931 unsigned int size, page, map_size = 0; local 1956 map_size = 0; 1967 map_size = par->mmap_map[i].size - (offset - start); 1971 if (!map_size) { 1975 if (page + map_size > size) 1976 map_size = size - page; 1982 map_offset >> PAGE_SHIFT, map_size, vma->vm_page_prot)) 1985 page += map_size; 1988 if (!map_size)
|