Searched refs:map (Results 201 - 225 of 2570) sorted by relevance

1234567891011>>

/linux-master/drivers/i2c/busses/
H A Di2c-designware-slave.c24 regmap_write(dev->map, DW_IC_TX_TL, 0);
25 regmap_write(dev->map, DW_IC_RX_TL, 0);
28 regmap_write(dev->map, DW_IC_CON, dev->slave_cfg);
29 regmap_write(dev->map, DW_IC_INTR_MASK, DW_IC_INTR_SLAVE_MASK);
53 regmap_write(dev->map, DW_IC_SDA_HOLD, dev->sda_hold_time);
76 regmap_write(dev->map, DW_IC_SAR, slave->addr);
90 regmap_write(dev->map, DW_IC_INTR_MASK, 0);
115 regmap_read(dev->map, DW_IC_INTR_STAT, &stat);
125 regmap_read(dev->map, DW_IC_CLR_TX_ABRT, &dummy);
127 regmap_read(dev->map, DW_IC_CLR_RX_UNDE
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dglobal_map_resize.c23 struct bpf_map *map; local
37 /* resize map value and verify the new size */
38 map = skel->maps.bss;
39 err = bpf_map__set_value_size(map, desired_sz);
42 if (!ASSERT_EQ(bpf_map__value_size(map), desired_sz, "resize"))
92 struct bpf_map *map; local
107 /* resize map value and verify the new size */
108 map = skel->maps.data_custom;
109 err = bpf_map__set_value_size(map, desired_sz);
112 if (!ASSERT_EQ(bpf_map__value_size(map), desired_s
163 struct bpf_map *map; local
[all...]
H A Dpinning.c12 struct bpf_map *map; local
17 map = bpf_object__find_map_by_name(obj, name);
18 if (CHECK(!map, "find map", "NULL map"))
21 err = bpf_map_get_info_by_fd(bpf_map__fd(map),
23 CHECK(err, "get map info", "err %d errno %d", err, errno);
39 struct bpf_map *map; local
45 /* check that opening fails with invalid pinning value in map def */
98 /* check that same map I
[all...]
/linux-master/tools/perf/util/
H A Dunwind.h46 int unwind__prepare_access(struct maps *maps, struct map *map, bool *initialized);
51 struct map *map __maybe_unused,
73 struct map *map __maybe_unused,
H A Dsrccode.c30 char *map; member in struct:srcfile
40 static int countlines(char *map, int maplen) argument
43 char *end = map + maplen;
44 char *p = map;
58 static void fill_lines(char **lines, int maxline, char *map, int maplen) argument
61 char *end = map + maplen;
62 char *p = map;
67 lines[l++] = map;
82 munmap(sf->map, sf->maplen);
129 h->map
[all...]
/linux-master/tools/perf/tests/
H A Dcpumap.c21 struct perf_cpu_map *map; local
39 map = cpu_map__new_data(data);
40 TEST_ASSERT_VAL("wrong nr", perf_cpu_map__nr(map) == 20);
42 TEST_ASSERT_VAL("wrong cpu", perf_cpu_map__cpu(map, 0).cpu == 0);
44 TEST_ASSERT_VAL("wrong cpu", perf_cpu_map__cpu(map, i - 1).cpu == i);
46 perf_cpu_map__put(map);
57 struct perf_cpu_map *map; local
67 map = cpu_map__new_data(data);
68 TEST_ASSERT_VAL("wrong nr", perf_cpu_map__nr(map) == 2);
69 TEST_ASSERT_VAL("wrong cpu", perf_cpu_map__cpu(map,
83 struct perf_cpu_map *map; local
135 struct perf_cpu_map *map = perf_cpu_map__new(str); local
[all...]
/linux-master/tools/perf/arch/x86/tests/
H A Ddwarf-unwind.c5 #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;
37 map__put(map);
/linux-master/include/linux/
H A Dregmap.h6 * Register map access API
105 * @map: Regmap to read from
121 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) \
125 sleep_us, timeout_us, false, (map), (addr), &(val)); \
132 * @map: Regmap to read from
151 #define regmap_read_poll_timeout_atomic(map, addr, val, cond, delay_us, timeout_us) \
158 __ret = regmap_read((map), (addr), &(val)); \
165 __ret = regmap_read((map), (addr), &(val)); \
248 * struct regmap_config - Configuration for the register map of a device.
530 * struct regmap_bus - Description of a hardware bus for the register map
1244 regmap_update_bits(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val) argument
1250 regmap_update_bits_async(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val) argument
1256 regmap_update_bits_check(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change) argument
1265 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change) argument
1273 regmap_write_bits(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val) argument
1316 regmap_set_bits(struct regmap *map, unsigned int reg, unsigned int bits) argument
1323 regmap_clear_bits(struct regmap *map, unsigned int reg, unsigned int bits) argument
1694 regmap_write(struct regmap *map, unsigned int reg, unsigned int val) argument
1701 regmap_write_async(struct regmap *map, unsigned int reg, unsigned int val) argument
1708 regmap_raw_write(struct regmap *map, unsigned int reg, const void *val, size_t val_len) argument
1715 regmap_raw_write_async(struct regmap *map, unsigned int reg, const void *val, size_t val_len) argument
1722 regmap_noinc_write(struct regmap *map, unsigned int reg, const void *val, size_t val_len) argument
1729 regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val, size_t val_count) argument
1736 regmap_read(struct regmap *map, unsigned int reg, unsigned int *val) argument
1743 regmap_read_bypassed(struct regmap *map, unsigned int reg, unsigned int *val) argument
1750 regmap_raw_read(struct regmap *map, unsigned int reg, void *val, size_t val_len) argument
1757 regmap_noinc_read(struct regmap *map, unsigned int reg, void *val, size_t val_len) argument
1764 regmap_bulk_read(struct regmap *map, unsigned int reg, void *val, size_t val_count) argument
1771 regmap_update_bits_base(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change, bool async, bool force) argument
1779 regmap_set_bits(struct regmap *map, unsigned int reg, unsigned int bits) argument
1786 regmap_clear_bits(struct regmap *map, unsigned int reg, unsigned int bits) argument
1793 regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits) argument
1817 regmap_update_bits(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val) argument
1824 regmap_update_bits_async(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val) argument
1831 regmap_update_bits_check(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change) argument
1840 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change) argument
1848 regmap_write_bits(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val) argument
1935 regmap_get_val_bytes(struct regmap *map) argument
1941 regmap_get_max_register(struct regmap *map) argument
1947 regmap_get_reg_stride(struct regmap *map) argument
1953 regmap_might_sleep(struct regmap *map) argument
1959 regcache_sync(struct regmap *map) argument
1965 regcache_sync_region(struct regmap *map, unsigned int min, unsigned int max) argument
1972 regcache_drop_region(struct regmap *map, unsigned int min, unsigned int max) argument
1979 regcache_cache_only(struct regmap *map, bool enable) argument
1984 regcache_cache_bypass(struct regmap *map, bool enable) argument
1989 regcache_mark_dirty(struct regmap *map) argument
1994 regmap_async_complete(struct regmap *map) argument
1999 regmap_register_patch(struct regmap *map, const struct reg_sequence *regs, int num_regs) argument
2007 regmap_parse_val(struct regmap *map, const void *buf, unsigned int *val) argument
2020 regmap_get_device(struct regmap *map) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dadau7118-i2c.c53 struct regmap *map; local
55 map = devm_regmap_init_i2c(i2c, &adau7118_regmap_config);
56 if (IS_ERR(map)) {
57 dev_err(&i2c->dev, "Failed to init regmap %ld\n", PTR_ERR(map));
58 return PTR_ERR(map);
61 return adau7118_probe(&i2c->dev, map, false);
/linux-master/tools/perf/
H A Dbuiltin-kallsyms.c16 #include "map.h"
30 struct map *map; local
32 struct symbol *symbol = machine__find_kernel_symbol_by_name(machine, argv[i], &map);
39 dso = map__dso(map);
42 map__unmap_ip(map, symbol->start), map__unmap_ip(map, symbol->end),
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmmgp100.c76 u32 ptei, u32 ptes, struct nvkm_vmm_map *map)
82 for (; ptes; ptes--, map->pfn++) {
85 if (!(*map->pfn & NVKM_VMM_PFN_V))
88 if (!(*map->pfn & NVKM_VMM_PFN_W))
91 if (!(*map->pfn & NVKM_VMM_PFN_A))
94 if (!(*map->pfn & NVKM_VMM_PFN_VRAM)) {
95 addr = *map->pfn >> NVKM_VMM_PFN_ADDR_SHIFT;
105 data |= (*map->pfn & NVKM_VMM_PFN_ADDR) >> 4;
116 u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr)
118 u64 data = (addr >> 4) | map
75 gp100_vmm_pgt_pfn(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
115 gp100_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) argument
129 gp100_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
136 gp100_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
155 gp100_vmm_pgt_mem(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
198 gp100_vmm_pd0_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) argument
212 gp100_vmm_pd0_mem(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
312 gp100_vmm_pd0_pfn(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
405 gp100_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, struct nvkm_vmm_map *map) argument
[all...]
H A Dvmmnv50.c33 u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr)
35 u64 next = addr + map->type, data;
39 map->type += ptes * map->ctag;
49 next += pten * map->next;
59 u32 ptei, u32 ptes, struct nvkm_vmm_map *map)
61 VMM_MAP_ITER_SGL(vmm, pt, ptei, ptes, map, nv50_vmm_pgt_pte);
66 u32 ptei, u32 ptes, struct nvkm_vmm_map *map)
68 if (map->page->shift == PAGE_SHIFT) {
72 const u64 data = *map
32 nv50_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) argument
58 nv50_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
65 nv50_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
84 nv50_vmm_pgt_mem(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
226 nv50_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, struct nvkm_vmm_map *map) argument
[all...]
/linux-master/kernel/bpf/
H A Dsyscall.c43 #define IS_FD_ARRAY(map) ((map)->map_type == BPF_MAP_TYPE_PERF_EVENT_ARRAY || \
44 (map)->map_type == BPF_MAP_TYPE_CGROUP_ARRAY || \
45 (map)->map_type == BPF_MAP_TYPE_ARRAY_OF_MAPS)
46 #define IS_FD_PROG_ARRAY(map) ((map)->map_type == BPF_MAP_TYPE_PROG_ARRAY)
47 #define IS_FD_HASH(map) ((map)->map_type == BPF_MAP_TYPE_HASH_OF_MAPS)
48 #define IS_FD_MAP(map) (IS_FD_ARRAY(map) || IS_FD_PROG_ARRA
115 bpf_map_write_active_inc(struct bpf_map *map) argument
120 bpf_map_write_active_dec(struct bpf_map *map) argument
125 bpf_map_write_active(const struct bpf_map *map) argument
130 bpf_map_value_size(const struct bpf_map *map) argument
143 maybe_wait_bpf_programs(struct bpf_map *map) argument
158 bpf_map_update_value(struct bpf_map *map, struct file *map_file, void *key, void *value, __u64 flags) argument
211 bpf_map_copy_value(struct bpf_map *map, void *key, void *value, __u64 flags) argument
339 bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr) argument
350 bpf_map_alloc_id(struct bpf_map *map) argument
368 bpf_map_free_id(struct bpf_map *map) argument
389 bpf_map_save_memcg(struct bpf_map *map) argument
400 bpf_map_release_memcg(struct bpf_map *map) argument
406 bpf_map_get_memcg(const struct bpf_map *map) argument
414 bpf_map_kmalloc_node(const struct bpf_map *map, size_t size, gfp_t flags, int node) argument
429 bpf_map_kzalloc(const struct bpf_map *map, size_t size, gfp_t flags) argument
443 bpf_map_kvcalloc(struct bpf_map *map, size_t n, size_t size, gfp_t flags) argument
458 bpf_map_alloc_percpu(const struct bpf_map *map, size_t size, size_t align, gfp_t flags) argument
474 bpf_map_save_memcg(struct bpf_map *map) argument
478 bpf_map_release_memcg(struct bpf_map *map) argument
483 bpf_map_alloc_pages(const struct bpf_map *map, gfp_t gfp, int nid, unsigned long nr_pages, struct page **pages) argument
573 bpf_map_free_record(struct bpf_map *map) argument
739 struct bpf_map *map = container_of(work, struct bpf_map, work); local
763 bpf_map_put_uref(struct bpf_map *map) argument
771 bpf_map_free_in_work(struct bpf_map *map) argument
796 bpf_map_put(struct bpf_map *map) argument
813 bpf_map_put_with_uref(struct bpf_map *map) argument
821 struct bpf_map *map = filp->private_data; local
830 map_get_sys_perms(struct bpf_map *map, struct fd f) argument
844 bpf_map_memory_usage(const struct bpf_map *map) argument
851 struct bpf_map *map = filp->private_data; local
908 struct bpf_map *map = vma->vm_file->private_data; local
917 struct bpf_map *map = vma->vm_file->private_data; local
930 struct bpf_map *map = filp->private_data; local
978 struct bpf_map *map = filp->private_data; local
990 struct bpf_map *map = filp->private_data; local
1013 bpf_map_new_fd(struct bpf_map *map, int flags) argument
1068 map_check_no_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
1076 map_check_btf(struct bpf_map *map, struct bpf_token *token, const struct btf *btf, u32 btf_key_id, u32 btf_value_id) argument
1202 struct bpf_map *map; local
1436 bpf_map_inc(struct bpf_map *map) argument
1442 bpf_map_inc_with_uref(struct bpf_map *map) argument
1452 struct bpf_map *map; local
1468 struct bpf_map *map; local
1483 __bpf_map_inc_not_zero(struct bpf_map *map, bool uref) argument
1496 bpf_map_inc_not_zero(struct bpf_map *map) argument
1506 bpf_stackmap_copy(struct bpf_map *map, void *key, void *value) argument
1541 struct bpf_map *map; local
1616 struct bpf_map *map; local
1673 struct bpf_map *map; local
1730 struct bpf_map *map; local
1789 generic_map_delete_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1845 generic_map_update_batch(struct bpf_map *map, struct file *map_file, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1908 generic_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
2015 struct bpf_map *map; local
2106 struct bpf_map *map; local
4327 struct bpf_map *map; local
4409 struct bpf_map *map; local
4447 const struct bpf_map *map; local
4474 const struct bpf_map *map; local
4849 bpf_map_get_info_by_fd(struct file *file, struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
5168 struct bpf_map *map; local
5572 struct bpf_map *map; local
[all...]
H A Dbloom_filter.c16 struct bpf_map map; member in struct:bpf_bloom_filter
36 static long bloom_map_peek_elem(struct bpf_map *map, void *value) argument
39 container_of(map, struct bpf_bloom_filter, map);
43 h = hash(bloom, value, map->value_size, i);
51 static long bloom_map_push_elem(struct bpf_map *map, void *value, u64 flags) argument
54 container_of(map, struct bpf_bloom_filter, map);
61 h = hash(bloom, value, map->value_size, i);
68 static long bloom_map_pop_elem(struct bpf_map *map, voi argument
73 bloom_map_delete_elem(struct bpf_map *map, void *value) argument
78 bloom_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
162 bloom_map_free(struct bpf_map *map) argument
170 bloom_map_lookup_elem(struct bpf_map *map, void *key) argument
176 bloom_map_update_elem(struct bpf_map *map, void *key, void *value, u64 flags) argument
183 bloom_map_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
192 bloom_map_mem_usage(const struct bpf_map *map) argument
[all...]
/linux-master/drivers/gpu/drm/gma500/
H A Doaktrail_crtc.c223 const struct psb_offset *map = &dev_priv->regmap[pipe]; local
237 * and on, we should map those modes to DRM_MODE_DPMS_OFF in the CRTC.
245 temp = REG_READ_WITH_AUX(map->dpll, i);
247 REG_WRITE_WITH_AUX(map->dpll, temp, i);
248 REG_READ_WITH_AUX(map->dpll, i);
251 REG_WRITE_WITH_AUX(map->dpll,
253 REG_READ_WITH_AUX(map->dpll, i);
256 REG_WRITE_WITH_AUX(map->dpll,
258 REG_READ_WITH_AUX(map->dpll, i);
264 temp = REG_READ_WITH_AUX(map
369 const struct psb_offset *map = &dev_priv->regmap[pipe]; local
600 const struct psb_offset *map = &dev_priv->regmap[pipe]; local
[all...]
/linux-master/drivers/platform/x86/intel/pmc/
H A Dcore.c77 const int lpm_adj_x2 = pmc->map->lpm_res_counter_step_x2;
79 if (pmc->map == &adl_reg_map)
82 return (u64)value * pmc->map->slp_s0_res_counter_step;
88 const struct pmc_reg_map *map = pmc->map; local
92 if (!map->etr3_offset)
98 reg = pmc_core_reg_read(pmc, map->etr3_offset);
106 pmc_core_reg_write(pmc, map->etr3_offset, reg);
108 reg = pmc_core_reg_read(pmc, map->etr3_offset);
127 const struct pmc_reg_map *map local
142 const struct pmc_reg_map *map = pmc->map; local
200 const struct pmc_reg_map *map = pmc->map; local
214 const struct pmc_reg_map *map = pmc->map; local
237 const struct pmc_bit_map *map; local
391 const struct pmc_bit_map *map = pmc->map->mphy_sts; local
446 const struct pmc_bit_map *map = pmc->map->pll_sts; local
482 const struct pmc_reg_map *map; local
569 const struct pmc_reg_map *map = pmc->map; local
646 const struct pmc_bit_map *map; local
700 const struct pmc_bit_map *map; local
831 const struct pmc_bit_map *map; local
1029 const struct pmc_bit_map *map = pmc->map->msr_sts; local
[all...]
/linux-master/drivers/video/fbdev/
H A Dmacmodes.c224 const struct mode_map *map; local
226 for (map = mac_modes; map->vmode != -1; map++)
227 if (map->vmode == vmode) {
228 mode = map->mode;
306 const struct mode_map *map; local
321 for (map = mac_modes; map->vmode != -1; map
369 const struct monitor_map *map; local
[all...]
/linux-master/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Drtl8225.c31 reg80 = rtl818x_ioread16(priv, &priv->map->RFPinsOutput) & 0xfff3;
32 reg82 = rtl818x_ioread16(priv, &priv->map->RFPinsEnable);
34 rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, reg82 | 0x7);
36 reg84 = rtl818x_ioread16(priv, &priv->map->RFPinsSelect);
37 rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, reg84 | 0x7 | 0x400);
38 rtl818x_ioread8(priv, &priv->map->EEPROM_CMD);
41 rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80 | (1 << 2));
42 rtl818x_ioread8(priv, &priv->map->EEPROM_CMD);
44 rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, reg80);
45 rtl818x_ioread8(priv, &priv->map
[all...]
/linux-master/arch/sparc/lib/
H A Dbitext.c19 * bit_map_string_get - find and set a bit string in bit map.
20 * @t: the bit map.
24 * Returns offset in the map or -1 if out of space.
60 off_new = find_next_zero_bit(t->map, t->size, offset);
81 while (test_bit(offset + i, t->map) == 0) {
84 bitmap_set(t->map, offset, len);
87 (t->map, t->size,
111 if (test_bit(offset + i, t->map) == 0)
113 __clear_bit(offset + i, t->map);
121 void bit_map_init(struct bit_map *t, unsigned long *map, in argument
[all...]
/linux-master/drivers/leds/
H A Dleds-max77650.c37 struct regmap *map; member in struct:max77650_led
60 return regmap_update_bits(led->map, led->regA, mask, val);
68 struct regmap *map; local
79 map = dev_get_regmap(dev->parent, NULL);
80 if (!map)
97 led->map = map;
113 rv = regmap_write(map, led->regA, MAX77650_LED_A_DEFAULT);
117 rv = regmap_write(map, led->regB, MAX77650_LED_B_DEFAULT);
122 return regmap_write(map,
[all...]
/linux-master/drivers/mtd/maps/
H A Dplat-ram.c8 * Generic platform device based RAM map
21 #include <linux/mtd/map.h>
32 struct map_info map; member in struct:platram_info
124 info->map.virt = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
125 if (IS_ERR(info->map.virt)) {
126 err = PTR_ERR(info->map.virt);
133 /* setup map parameters */
135 info->map.phys = res->start;
136 info->map.size = resource_size(res);
137 info->map
[all...]
/linux-master/drivers/clk/meson/
H A Dclk-phase.c43 val = meson_parm_read(clk->map, &phase->ph);
55 meson_parm_write(clk->map, &phase->ph, val);
88 val = meson_parm_read(clk->map, &tph->ph0);
89 meson_parm_write(clk->map, &tph->ph1, val);
90 meson_parm_write(clk->map, &tph->ph2, val);
102 val = meson_parm_read(clk->map, &tph->ph0);
114 meson_parm_write(clk->map, &tph->ph0, val);
115 meson_parm_write(clk->map, &tph->ph1, val);
116 meson_parm_write(clk->map, &tph->ph2, val);
147 val = meson_parm_read(clk->map,
[all...]
/linux-master/fs/xfs/scrub/
H A Drtbitmap_repair.c58 struct xfs_bmbt_irec map; local
71 error = xfs_bmapi_read(sc->ip, off, len - off, &map, &nmaps,
84 if (xfs_bmap_is_written_extent(&map) ||
85 map.br_startblock == HOLESTARTBLOCK) {
86 off = map.br_startoff + map.br_blockcount;
94 if (map.br_startblock == DELAYSTARTBLOCK)
98 if (map.br_state != XFS_EXT_UNWRITTEN) {
99 ASSERT(map.br_state == XFS_EXT_UNWRITTEN);
105 error = xfs_bmapi_write(sc->tp, sc->ip, map
[all...]
/linux-master/drivers/mtd/lpddr/
H A Dlpddr_cmds.c31 static int get_chip(struct map_info *map, struct flchip *chip, int mode);
32 static int chip_ready(struct map_info *map, struct flchip *chip, int mode);
33 static void put_chip(struct map_info *map, struct flchip *chip);
35 struct mtd_info *lpddr_cmdset(struct map_info *map) argument
37 struct lpddr_private *lpddr = map->fldrv_priv;
47 mtd->priv = map;
60 if (map_is_linear(map)) {
125 static int wait_for_ready(struct map_info *map, struct flchip *chip, argument
141 dsr = CMDVAL(map_read(map, map
198 get_chip(struct map_info *map, struct flchip *chip, int mode) argument
294 chip_ready(struct map_info *map, struct flchip *chip, int mode) argument
348 put_chip(struct map_info *map, struct flchip *chip) argument
403 do_write_buffer(struct map_info *map, struct flchip *chip, unsigned long adr, const struct kvec **pvec, unsigned long *pvec_seek, int len) argument
483 struct map_info *map = mtd->priv; local
511 struct map_info *map = mtd->priv; local
535 struct map_info *map = mtd->priv; local
587 struct map_info *map = mtd->priv; local
645 struct map_info *map = mtd->priv; local
693 struct map_info *map = mtd->priv; local
716 struct map_info *map = mtd->priv; local
[all...]
/linux-master/tools/build/
H A Dfixdep.c47 static void parse_dep_file(void *map, size_t len) argument
49 char *m = map;
125 void *map; local
143 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
144 if ((long) map == -1) {
150 parse_dep_file(map, st.st_size);
152 munmap(map, st.st_size);

Completed in 319 milliseconds

1234567891011>>