Searched defs:map (Results 1 - 25 of 80) sorted by relevance

1234

/arch/sparc/include/asm/
H A Dbitext.h14 unsigned long *map; member in struct:bit_map
25 void bit_map_init(struct bit_map *t, unsigned long *map, int size);
/arch/arm/mach-s3c24xx/
H A Ddma-s3c2410.c21 #include <mach/map.h>
101 struct s3c24xx_dma_map *map)
103 chan->dcon = map->channels[chan->number] & ~DMA_CH_VALID;
109 .map = s3c2410_dma_mappings,
100 s3c2410_dma_select(struct s3c2410_dma_chan *chan, struct s3c24xx_dma_map *map) argument
H A Ddma-s3c2412.c118 struct s3c24xx_dma_map *map)
120 unsigned long chsel = map->channels[0] & (~DMA_CH_VALID);
128 .map = s3c2412_dma_mappings,
117 s3c2412_dma_select(struct s3c2410_dma_chan *chan, struct s3c24xx_dma_map *map) argument
H A Ddma-s3c2440.c21 #include <mach/map.h>
118 struct s3c24xx_dma_map *map)
120 chan->dcon = map->channels[chan->number] & ~DMA_CH_VALID;
126 .map = s3c2440_dma_mappings,
117 s3c2440_dma_select(struct s3c2410_dma_chan *chan, struct s3c24xx_dma_map *map) argument
H A Ddma-s3c2443.c129 struct s3c24xx_dma_map *map)
131 unsigned long chsel = map->channels[0] & (~DMA_CH_VALID);
139 .map = s3c2443_dma_mappings,
128 s3c2443_dma_select(struct s3c2410_dma_chan *chan, struct s3c24xx_dma_map *map) argument
/arch/arm/plat-samsung/include/plat/
H A Ddma-s3c24xx.h34 struct s3c24xx_dma_map *map; member in struct:s3c24xx_dma_selection
39 struct s3c24xx_dma_map *map);
46 * channel map for one of the `enum dma_ch` dma channels. the list
66 extern int s3c24xx_dma_order_set(struct s3c24xx_dma_order *map);
/arch/mips/ath79/
H A Dpci.h24 void ath79_pci_set_irq_map(unsigned nr_irqs, const struct ath79_pci_irq *map);
29 ath79_pci_set_irq_map(unsigned nr_irqs, const struct ath79_pci_irq *map) {} argument
H A Dpci.c86 pr_crit("pci %s: invalid irq map\n",
123 const struct ath79_pci_irq *map)
126 ath79_pci_irq_map = map;
122 ath79_pci_set_irq_map(unsigned nr_irqs, const struct ath79_pci_irq *map) argument
/arch/sparc/kernel/
H A Dof_device_common.h31 int (*map)(u32 *addr, const u32 *range, member in struct:of_bus
/arch/sparc/lib/
H A Dbitext.c18 * bit_map_string_get - find and set a bit string in bit map.
19 * @t: the bit map.
23 * Returns offset in the map or -1 if out of space.
59 off_new = find_next_zero_bit(t->map, t->size, offset);
80 while (test_bit(offset + i, t->map) == 0) {
83 bitmap_set(t->map, offset, len);
86 (t->map, t->size,
110 if (test_bit(offset + i, t->map) == 0)
112 __clear_bit(offset + i, t->map);
120 void bit_map_init(struct bit_map *t, unsigned long *map, in argument
[all...]
/arch/mips/pci/
H A Dpci-malta.c93 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; local
117 map = GT_READ(GT_PCI0M0REMAP_OFS);
127 map = map1;
131 BUG_ON((start & GT_PCI_HD_MSK) != (map & GT_PCI_HD_MSK) &&
135 gt64120_controller.mem_offset = (start & mask) - (map & mask);
144 map = GT_READ(GT_PCI0IOREMAP_OFS);
148 BUG_ON((start & GT_PCI_HD_MSK) != (map & GT_PCI_HD_MSK) &&
150 gt64120_io_resource.start = map & mask;
151 gt64120_io_resource.end = (map & mask) | ~mask;
163 map
[all...]
/arch/powerpc/include/asm/
H A Dscom.h34 * This API allows to "map" ranges of SCOM register numbers associated
46 /* Value for an invalid SCOM map */
54 scom_map_t (*map)(struct device_node *ctrl_dev, u64 reg, u64 count); member in struct:scom_controller
55 void (*unmap)(scom_map_t map);
57 int (*read)(scom_map_t map, u64 reg, u64 *value);
58 int (*write)(scom_map_t map, u64 reg, u64 value);
74 * @map: The result of scom_map to test
76 static inline int scom_map_ok(scom_map_t map) argument
78 return map != SCOM_MAP_INVALID;
85 * @reg: first SCOM register to map
126 scom_unmap(scom_map_t map) argument
140 scom_read(scom_map_t map, u64 reg, u64 *value) argument
158 scom_write(scom_map_t map, u64 reg, u64 value) argument
[all...]
H A Dxics.h79 int (*map)(struct ics *ics, unsigned int virq); member in struct:ics
/arch/powerpc/platforms/powernv/
H A Dopal-xscom.c58 static void opal_scom_unmap(scom_map_t map) argument
60 kfree(map);
98 static int opal_scom_read(scom_map_t map, u64 reg, u64 *value) argument
100 struct opal_scom_map *m = map;
110 static int opal_scom_write(scom_map_t map, u64 reg, u64 value) argument
112 struct opal_scom_map *m = map;
121 .map = opal_scom_map,
/arch/sh/mm/
H A Dioremap_fixed.c2 * Re-map IO memory to kernel address space so that we can access it.
4 * These functions should only be used when it is necessary to map a
37 struct ioremap_map *map; local
41 map = &ioremap_maps[i];
42 map->fixmap_addr = __fix_to_virt(FIX_IOREMAP_BEGIN + i);
50 struct ioremap_map *map; local
64 map = &ioremap_maps[i];
65 if (!map->addr) {
66 map->size = size;
95 map
102 struct ioremap_map *map; local
[all...]
/arch/m68k/kernel/
H A Ddma.c24 struct page *page, **map; local
39 map = kmalloc(sizeof(struct page *) << order, flag & ~__GFP_DMA);
40 if (!map) {
48 map[0] = page;
50 map[i] = page + i;
58 addr = vmap(map, size, VM_MAP, pgprot);
59 kfree(map);
/arch/mips/mti-malta/
H A Dmalta-init.c174 u32 start, map, mask, data; local
191 map = GT_READ(GT_PCI0IOREMAP_OFS);
192 if ((start & map) != 0) {
193 map &= ~start;
194 GT_WRITE(GT_PCI0IOREMAP_OFS, map);
/arch/mips/netlogic/xlp/
H A Dsetup.c74 if (boot_mem_map.map[i].type != BOOT_MEM_RAM)
76 boot_mem_map.map[i].size -= pref_backup;
82 uint64_t map[16]; local
85 n = xlp_get_dram_map(-1, map); /* -1: info for all nodes */
88 if (map[i] <= 0x10000000 && map[i+1] > 0x10000000)
89 map[i+1] = 0x10000000;
90 if (map[i] > 0x10000000 && map[i] < 0x20000000)
91 map[
[all...]
/arch/x86/include/uapi/asm/
H A De820.h3 #define E820MAP 0x2d0 /* our map */
11 * internal memory map tables to have room for these additional
17 * of three memory map entries per node is "enough" entries for
19 * use of additional EFI map entries. Future platforms may want
55 struct e820entry map[E820_X_MAX]; member in struct:e820map
/arch/arm64/kernel/
H A Dtopology.c134 pr_err("%s: cpu-map children should be clusters\n",
166 struct device_node *cn, *map; local
177 * When topology is provided cpu-map is essentially a root
180 map = of_get_child_by_name(cn, "cpu-map");
181 if (!map)
184 ret = parse_cluster(map, 0);
197 of_node_put(map);
/arch/powerpc/mm/
H A Dmmu_context_nohash.c24 * - More aggressively clear stale map bits and maybe find some way to
78 * the stale map as we can just flush the local CPU
111 * a core map instead but this will do for now.
197 unsigned long *map; local
232 map = context_map;
250 while (__test_and_set_bit(id, map)) {
251 id = find_next_zero_bit(map, last_context+1, id);
340 /* We don't touch CPU 0 map, it's allocated at aboot and kept
349 pr_devel("MMU: Allocating stale context map for CPU %d\n", cpu);
357 pr_devel("MMU: Freeing stale context map fo
[all...]
H A Dsubpage-prot.c90 * Clear the subpage protection map for an address range, allowing
181 * Copy in a subpage protection map for an address range.
182 * The map has 2 bits per 4k subpage, so 32 bits per 64k page.
190 long sys_subpage_prot(unsigned long addr, unsigned long len, u32 __user *map) argument
208 if (!map) {
209 /* Clear out the protection map for the address range */
214 if (!access_ok(VERIFY_READ, map, (len >> PAGE_SHIFT) * sizeof(u32)))
254 if (__copy_from_user(spp, map, nw * sizeof(u32)))
256 map += nw;
/arch/powerpc/oprofile/cell/
H A Dvma_map.c27 void vma_map_free(struct vma_to_fileoffset_map *map) argument
29 while (map) {
30 struct vma_to_fileoffset_map *next = map->next;
31 kfree(map);
32 map = next;
37 vma_map_lookup(struct vma_to_fileoffset_map *map, unsigned int vma, argument
43 * map. For those addresses the flagged value will be sent on to
50 for (; map; map = map
68 vma_map_add(struct vma_to_fileoffset_map *map, unsigned int vma, unsigned int size, unsigned int offset, unsigned int guard_ptr, unsigned int guard_val) argument
110 struct vma_to_fileoffset_map *map = NULL; local
[all...]
/arch/sparc/boot/
H A Dpiggyback.c77 fprintf(stderr, "Usage: piggyback bits vmlinux.aout System.map fs_img.gz\n");
101 * Find address for start and end in System.map.
114 FILE *map; local
119 map = fopen(filename, "r");
120 if (!map)
122 while (fgets(buffer, 1024, map)) {
128 fclose (map);
/arch/um/os-Linux/skas/
H A Dmem.c177 int map(struct mm_id * mm_idp, unsigned long virt, unsigned long len, int prot, function
183 struct proc_mm_op map; local
186 map = ((struct proc_mm_op) { .op = MM_MMAP,
197 CATCH_EINTR(ret = write(fd, &map, sizeof(map)));
198 if (ret != sizeof(map)) {
200 printk(UM_KERN_ERR "map : /proc/mm map failed, "

Completed in 461 milliseconds

1234