/linux-master/arch/mips/cavium-octeon/ |
H A D | flash_setup.c | 14 #include <linux/mtd/map.h> 31 static map_word octeon_flash_map_read(struct map_info *map, unsigned long ofs) argument 36 r = inline_map_read(map, ofs); 42 static void octeon_flash_map_write(struct map_info *map, const map_word datum, argument 46 inline_map_write(map, datum, ofs); 50 static void octeon_flash_map_copy_from(struct map_info *map, void *to, argument 54 inline_map_copy_from(map, to, from, len); 58 static void octeon_flash_map_copy_to(struct map_info *map, unsigned long to, argument 62 inline_map_copy_to(map, to, from, len);
|
/linux-master/drivers/irqchip/ |
H A D | irq-ingenic-tcu.c | 17 struct regmap *map; member in struct:ingenic_tcu 29 struct regmap *map = gc->private; local 34 regmap_read(map, TCU_REG_TFR, &irq_reg); 35 regmap_read(map, TCU_REG_TMR, &irq_mask); 52 struct regmap *map = gc->private; local 56 regmap_write(map, ct->regs.ack, mask); 57 regmap_write(map, ct->regs.enable, mask); 66 struct regmap *map = gc->private; local 70 regmap_write(map, ct->regs.disable, mask); 79 struct regmap *map local 94 struct regmap *map; local [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bloom_filter_map.c | 35 struct bpf_map *map; member in struct:callback_ctx 41 check_elem(struct bpf_map *map, __u32 *key, __u32 *val, argument 46 err = bpf_map_peek_elem(data->map, val); 68 data.map = inner_map; 79 data.map = (struct bpf_map *)&map_bloom;
|
H A D | test_map_lookup_percpu_elem.c | 35 void *map; member in struct:read_percpu_elem_ctx 44 value = bpf_map_lookup_percpu_elem(ctx->map, &key, index); 58 map_ctx.map = &percpu_array_map; 63 map_ctx.map = &percpu_hash_map; 68 map_ctx.map = &percpu_lru_hash_map;
|
H A D | test_spin_lock_fail.c | 71 void *map; local 73 map = bpf_map_lookup_elem(&map_of_maps, &key); 74 if (!map) 76 f = bpf_map_lookup_elem(map, &key); 89 void *map; \ 91 map = bpf_map_lookup_elem(&map_of_maps, &key); \ 92 if (!map) \ 94 iv = bpf_map_lookup_elem(map, &key); \ 152 void *map; local 154 map 176 void *map; local [all...] |
H A D | timer_crash.c | 33 void *map = crash_map ? (void *)&hmap : (void *)&amap; local 40 bpf_map_update_elem(map, &(int){0}, &value, 0); 41 /* For array map, doing bpf_map_update_elem will do a 46 e = bpf_map_lookup_elem(map, &(int){0});
|
/linux-master/tools/perf/arch/powerpc/tests/ |
H A D | dwarf-unwind.c | 5 #include "map.h" 17 struct map *map; local 29 map = maps__find(thread__maps(thread), (u64)sp); 30 if (!map) { 31 pr_debug("failed to get stack map\n"); 36 stack_size = map__end(map) - sp;
|
/linux-master/tools/perf/arch/arm64/tests/ |
H A D | dwarf-unwind.c | 5 #include "map.h" 17 struct map *map; local 29 map = maps__find(thread__maps(thread), (u64)sp); 30 if (!map) { 31 pr_debug("failed to get stack map\n"); 36 stack_size = map__end(map) - sp;
|
/linux-master/tools/perf/arch/arm/tests/ |
H A D | dwarf-unwind.c | 5 #include "map.h" 17 struct map *map; local 29 map = maps__find(thread__maps(thread), (u64)sp); 30 if (!map) { 31 pr_debug("failed to get stack map\n"); 36 stack_size = map__end(map) - sp;
|
/linux-master/include/linux/ |
H A D | completion.h | 38 #define COMPLETION_INITIALIZER_ONSTACK_MAP(work, map) \ 39 (*({ init_completion_map(&(work), &(map)); &(work); })) 70 # define DECLARE_COMPLETION_ONSTACK_MAP(work, map) \ 71 struct completion work = COMPLETION_INITIALIZER_ONSTACK_MAP(work, map) 74 # define DECLARE_COMPLETION_ONSTACK_MAP(work, map) DECLARE_COMPLETION(work)
|
/linux-master/drivers/firmware/efi/libstub/ |
H A D | loongarch.c | 26 static efi_status_t exit_boot_func(struct efi_boot_memmap *map, void *priv) argument 31 * Update the memory map with virtual addresses. The function will also 35 efi_get_virtmap(map->map, map->map_size, map->desc_size, 58 efi_err("Unable to retrieve UEFI memory map.\n"); 69 /* Install the new virtual address map */
|
/linux-master/tools/perf/util/ |
H A D | mmap.h | 52 int mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, struct perf_cpu cpu); 53 void mmap__munmap(struct mmap *map); 55 union perf_event *perf_mmap__read_forward(struct mmap *map); 58 int push(struct mmap *map, void *to, void *buf, size_t size)); 60 size_t mmap__mmap_len(struct mmap *map);
|
/linux-master/drivers/mtd/maps/ |
H A D | sa1100-flash.c | 19 #include <linux/mtd/map.h> 29 struct map_info map; member in struct:sa_subdev_info 42 static void sa1100_set_vpp(struct map_info *map, int on) argument 44 struct sa_subdev_info *subdev = container_of(map, struct sa_subdev_info, map); 62 if (subdev->map.virt) 63 iounmap(subdev->map.virt); 64 release_mem_region(subdev->map.phys, subdev->map.size); 86 subdev->map [all...] |
/linux-master/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 9 #include "map.h" 117 struct map *vmlinux_map; 121 static int test__vmlinux_matches_kallsyms_cb1(struct map *map, void *data) argument 124 struct dso *dso = map__dso(map); 131 struct map *pair = maps__find_by_name(args->kallsyms.kmaps, 142 map__fprintf(map, stderr); 147 static int test__vmlinux_matches_kallsyms_cb2(struct map *map, void *data) argument 150 struct map *pai 176 test__vmlinux_matches_kallsyms_cb3(struct map *map, void *data) argument [all...] |
/linux-master/drivers/clk/ |
H A D | clk-gemini.c | 69 * @map: regmap to access the registers 73 struct regmap *map; member in struct:clk_gemini_pci 78 * @map: regmap to access the containing system controller 82 struct regmap *map; member in struct:gemini_reset 106 * memory map. 123 regmap_read(pciclk->map, GEMINI_GLOBAL_MISC_CONTROL, &val); 144 return regmap_update_bits(pciclk->map, 148 return regmap_update_bits(pciclk->map, 158 regmap_update_bits(pciclk->map, GEMINI_GLOBAL_CLOCK_CONTROL, 167 regmap_update_bits(pciclk->map, GEMINI_GLOBAL_CLOCK_CONTRO 189 gemini_pci_clk_setup(const char *name, const char *parent_name, struct regmap *map) argument 272 struct regmap *map; local 390 struct regmap *map; local [all...] |
/linux-master/drivers/pinctrl/ |
H A D | devicetree.c | 20 * @map: the mapping table entries 26 struct pinctrl_map *map; member in struct:pinctrl_dt_map 31 struct pinctrl_map *map, unsigned int num_maps) 36 kfree_const(map[i].dev_name); 37 map[i].dev_name = NULL; 43 ops->dt_free_map(pctldev, map, num_maps); 46 kfree(map); 55 pinctrl_unregister_mappings(dt_map->map); 57 dt_free_map(dt_map->pctldev, dt_map->map, 67 struct pinctrl_map *map, unsigne 30 dt_free_map(struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned int num_maps) argument 65 dt_remember_or_free_map(struct pinctrl *p, const char *statename, struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned int num_maps) argument 118 struct pinctrl_map *map; local 184 struct pinctrl_map *map; local [all...] |
/linux-master/arch/mips/pci/ |
H A D | pci-malta.c | 81 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; local 105 map = GT_READ(GT_PCI0M0REMAP_OFS); 115 map = map1; 119 BUG_ON((start & GT_PCI_HD_MSK) != (map & GT_PCI_HD_MSK) && 123 gt64120_controller.mem_offset = (start & mask) - (map & mask); 132 map = GT_READ(GT_PCI0IOREMAP_OFS); 136 BUG_ON((start & GT_PCI_HD_MSK) != (map & GT_PCI_HD_MSK) && 138 gt64120_io_resource.start = map & mask; 139 gt64120_io_resource.end = (map & mask) | ~mask; 151 map [all...] |
/linux-master/arch/x86/pci/ |
H A D | i386.c | 60 struct pcibios_fwaddrmap *map; local 64 list_for_each_entry(map, &pcibios_fwaddrmappings, list) 65 if (map->dev == dev) 66 return map; 75 struct pcibios_fwaddrmap *map; local 81 map = pcibios_fwaddrmap_lookup(dev); 82 if (!map) { 84 map = kzalloc(sizeof(*map), GFP_KERNEL); 85 if (!map) 102 struct pcibios_fwaddrmap *map; local [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_bit.h | 67 extern int xfs_bitmap_empty(uint *map, uint size); 69 /* Count continuous one bits in map starting with start_bit */ 70 extern int xfs_contig_bits(uint *map, uint size, uint start_bit); 72 /* Find next set bit in map */ 73 extern int xfs_next_bit(uint *map, uint size, uint start_bit);
|
/linux-master/drivers/firmware/tegra/ |
H A D | ivc.c | 95 static inline bool tegra_ivc_empty(struct tegra_ivc *ivc, struct iosys_map *map) argument 102 u32 tx = tegra_ivc_header_read_field(map, tx.count); 103 u32 rx = tegra_ivc_header_read_field(map, rx.count); 121 static inline bool tegra_ivc_full(struct tegra_ivc *ivc, struct iosys_map *map) argument 123 u32 tx = tegra_ivc_header_read_field(map, tx.count); 124 u32 rx = tegra_ivc_header_read_field(map, rx.count); 133 static inline u32 tegra_ivc_available(struct tegra_ivc *ivc, struct iosys_map *map) argument 135 u32 tx = tegra_ivc_header_read_field(map, tx.count); 136 u32 rx = tegra_ivc_header_read_field(map, rx.count); 149 unsigned int count = tegra_ivc_header_read_field(&ivc->tx.map, t 226 tegra_ivc_frame_virt(struct tegra_ivc *ivc, const struct iosys_map *header, unsigned int frame, struct iosys_map *map) argument 279 tegra_ivc_read_get_next_frame(struct tegra_ivc *ivc, struct iosys_map *map) argument 343 tegra_ivc_write_get_next_frame(struct tegra_ivc *ivc, struct iosys_map *map) argument 630 iosys_map_get_address(const struct iosys_map *map) argument 638 iosys_map_get_vaddr(const struct iosys_map *map) argument [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_gsc_submit.h | 15 u32 xe_gsc_emit_header(struct xe_device *xe, struct iosys_map *map, u32 offset, 17 void xe_gsc_poison_header(struct xe_device *xe, struct iosys_map *map, u32 offset); 24 struct iosys_map *map, u32 offset,
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_prime.c | 57 int qxl_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map) argument 62 ret = qxl_bo_vmap_locked(bo, map); 70 struct iosys_map *map) 69 qxl_gem_prime_vunmap(struct drm_gem_object *obj, struct iosys_map *map) argument
|
/linux-master/drivers/clk/meson/ |
H A D | vclk.c | 22 meson_parm_write(clk->map, &vclk->enable, 1); 25 meson_parm_write(clk->map, &vclk->reset, 1); 26 meson_parm_write(clk->map, &vclk->reset, 0); 36 meson_parm_write(clk->map, &vclk->enable, 0); 44 return meson_parm_read(clk->map, &vclk->enable); 68 return divider_recalc_rate(hw, prate, meson_parm_read(clk->map, &vclk->div), 94 meson_parm_write(clk->map, &vclk->div, ret); 105 meson_parm_write(clk->map, &vclk->reset, 0); 106 meson_parm_write(clk->map, &vclk->enable, 1); 117 meson_parm_write(clk->map, [all...] |
/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3-css-pool.c | 11 struct imgu_css_map *map, size_t size) 13 if (map->size < size && map->vaddr) { 15 map->size, size); 17 imgu_dmamap_free(imgu, map); 18 if (!imgu_dmamap_alloc(imgu, map, size)) 86 * The nth entry from last or null map to indicate no frame stored. 10 imgu_css_dma_buffer_resize(struct imgu_device *imgu, struct imgu_css_map *map, size_t size) argument
|
/linux-master/kernel/bpf/ |
H A D | bpf_task_storage.c | 57 task_storage_lookup(struct task_struct *task, struct bpf_map *map, argument 68 smap = (struct bpf_local_storage_map *)map; 90 static void *bpf_pid_task_storage_lookup_elem(struct bpf_map *map, void *key) argument 114 sdata = task_storage_lookup(task, map, true); 123 static long bpf_pid_task_storage_update_elem(struct bpf_map *map, void *key, argument 149 task, (struct bpf_local_storage_map *)map, value, map_flags, 159 static int task_storage_delete(struct task_struct *task, struct bpf_map *map, argument 164 sdata = task_storage_lookup(task, map, false); 176 static long bpf_pid_task_storage_delete_elem(struct bpf_map *map, void *key) argument 199 err = task_storage_delete(task, map, tru 207 __bpf_task_storage_get(struct bpf_map *map, struct task_struct *task, void *value, u64 flags, gfp_t gfp_flags, bool nobusy) argument 305 notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) argument 315 task_storage_map_free(struct bpf_map *map) argument [all...] |