Searched refs:map (Results 151 - 175 of 2546) sorted by relevance

1234567891011>>

/linux-master/drivers/net/
H A DSpace.c39 struct ifmap map; member in struct:netdev_boot_setup
56 * @map: configured settings for the device
62 static int netdev_boot_setup_add(char *name, struct ifmap *map) argument
72 memcpy(&s[i].map, map, sizeof(s[i].map));
97 dev->irq = s[i].map.irq;
98 dev->base_addr = s[i].map.base_addr;
99 dev->mem_start = s[i].map.mem_start;
100 dev->mem_end = s[i].map
145 struct ifmap map; local
[all...]
/linux-master/tools/perf/arch/loongarch/annotate/
H A Dinstructions.c11 struct map *map = ms->map; local
13 .ms = { .map = map, },
40 target.addr = map__objdump_2mem(map, ops->target.addr);
43 map__rip_2objdump(target.ms.map, map__map_ip(target.ms.map, target.addr)) == ops->target.addr)
56 struct map *map local
[all...]
/linux-master/net/netfilter/ipset/
H A Dip_set_bitmap_gen.h36 #define get_ext(set, map, id) ((map)->extensions + ((set)->dsize * (id)))
41 struct mtype *map = set->data; local
43 timer_setup(&map->gc, gc, 0);
44 mod_timer(&map->gc, jiffies + IPSET_GC_PERIOD(set->timeout) * HZ);
50 struct mtype *map = set->data; local
53 for (id = 0; id < map->elements; id++)
54 if (test_bit(id, map->members))
55 ip_set_ext_destroy(set, get_ext(set, map, id));
61 struct mtype *map local
74 struct mtype *map = set->data; local
85 mtype_memsize(const struct mtype *map, size_t dsize) argument
94 const struct mtype *map = set->data; local
119 struct mtype *map = set->data; local
133 struct mtype *map = set->data; local
155 mtype_add_timeout(ext_timeout(x, set), e, ext, set, map, ret); local
178 struct mtype *map = set->data; local
206 struct mtype *map = set->data; local
267 struct mtype *map = from_timer(map, t, gc); local
294 struct mtype *map = set->data; local
[all...]
H A Dip_set_bitmap_ip.c68 struct bitmap_ip *map, size_t dsize)
70 return !!test_bit(e->id, map->members);
74 bitmap_ip_gc_test(u16 id, const struct bitmap_ip *map, size_t dsize) argument
76 return !!test_bit(id, map->members);
80 bitmap_ip_do_add(const struct bitmap_ip_adt_elem *e, struct bitmap_ip *map, argument
83 return !!test_bit(e->id, map->members);
87 bitmap_ip_do_del(const struct bitmap_ip_adt_elem *e, struct bitmap_ip *map) argument
89 return !test_and_clear_bit(e->id, map->members);
93 bitmap_ip_do_list(struct sk_buff *skb, const struct bitmap_ip *map, u32 id, argument
97 htonl(map
67 bitmap_ip_do_test(const struct bitmap_ip_adt_elem *e, struct bitmap_ip *map, size_t dsize) argument
101 bitmap_ip_do_head(struct sk_buff *skb, const struct bitmap_ip *map) argument
114 struct bitmap_ip *map = set->data; local
133 struct bitmap_ip *map = set->data; local
219 init_map_ip(struct ip_set *set, struct bitmap_ip *map, u32 first_ip, u32 last_ip, u32 elements, u32 hosts, u8 netmask) argument
256 struct bitmap_ip *map; local
[all...]
/linux-master/kernel/bpf/
H A Dhashtab.c52 * protection across the map operation.
73 * it is only safe to use raw spinlock for preallocated hash map on a RT kernel,
75 * after hash map was fully converted to use bpf_mem_alloc, there will be
76 * non-synchronous memory allocation for non-preallocated hash map, so it is
88 struct bpf_map map; member in struct:bpf_htab
134 return !(htab->map.map_flags & BPF_F_NO_PREALLOC);
188 return htab->map.map_type == BPF_MAP_TYPE_LRU_HASH ||
189 htab->map.map_type == BPF_MAP_TYPE_LRU_PERCPU_HASH;
194 return htab->map.map_type == BPF_MAP_TYPE_PERCPU_HASH ||
195 htab->map
209 fd_htab_map_get_ptr(const struct bpf_map *map, struct htab_elem *l) argument
675 __htab_map_lookup_elem(struct bpf_map *map, void *key) argument
696 htab_map_lookup_elem(struct bpf_map *map, void *key) argument
717 htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument
732 __htab_lru_map_lookup_elem(struct bpf_map *map, void *key, const bool mark) argument
746 htab_lru_map_lookup_elem(struct bpf_map *map, void *key) argument
751 htab_lru_map_lookup_elem_sys(struct bpf_map *map, void *key) argument
756 htab_lru_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument
832 htab_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
900 struct bpf_map *map = &htab->map; local
1094 htab_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
1197 htab_lru_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
1265 __htab_percpu_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags, bool onallcpus) argument
1320 __htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags, bool onallcpus) argument
1390 htab_percpu_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
1396 htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
1404 htab_map_delete_elem(struct bpf_map *map, void *key) argument
1440 htab_lru_map_delete_elem(struct bpf_map *map, void *key) argument
1516 htab_map_free_timers(struct bpf_map *map) argument
1530 htab_map_free(struct bpf_map *map) argument
1564 htab_map_seq_show_elem(struct bpf_map *map, void *key, struct seq_file *m) argument
1585 __htab_map_lookup_and_delete_elem(struct bpf_map *map, void *key, void *value, bool is_lru_map, bool is_percpu, u64 flags) argument
1649 htab_map_lookup_and_delete_elem(struct bpf_map *map, void *key, void *value, u64 flags) argument
1656 htab_percpu_map_lookup_and_delete_elem(struct bpf_map *map, void *key, void *value, u64 flags) argument
1664 htab_lru_map_lookup_and_delete_elem(struct bpf_map *map, void *key, void *value, u64 flags) argument
1671 htab_lru_percpu_map_lookup_and_delete_elem(struct bpf_map *map, void *key, void *value, u64 flags) argument
1680 __htab_map_lookup_and_delete_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr, bool do_delete, bool is_lru_map, bool is_percpu) argument
1908 htab_percpu_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1916 htab_percpu_map_lookup_and_delete_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1925 htab_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1933 htab_map_lookup_and_delete_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1942 htab_lru_percpu_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1951 htab_lru_percpu_map_lookup_and_delete_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1960 htab_lru_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1968 htab_lru_map_lookup_and_delete_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1977 struct bpf_map *map; member in struct:bpf_iter_seq_hash_map_info
2068 struct bpf_map *map = info->map; local
2119 struct bpf_map *map = aux->map; local
2161 bpf_for_each_hash_elem(struct bpf_map *map, bpf_callback_t callback_fn, void *callback_ctx, u64 flags) argument
2217 htab_map_mem_usage(const struct bpf_map *map) argument
2300 htab_percpu_map_lookup_elem(struct bpf_map *map, void *key) argument
2310 htab_percpu_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu) argument
2324 htab_lru_percpu_map_lookup_elem(struct bpf_map *map, void *key) argument
2336 htab_lru_percpu_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu) argument
2352 bpf_percpu_hash_copy(struct bpf_map *map, void *key, void *value) argument
2384 bpf_percpu_hash_update(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
2402 htab_percpu_map_seq_show_elem(struct bpf_map *map, void *key, struct seq_file *m) argument
2478 fd_htab_map_free(struct bpf_map *map) argument
2500 bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value) argument
2520 bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, void *key, void *value, u64 map_flags) argument
2546 struct bpf_map *map, *inner_map_meta; local
2563 htab_of_map_lookup_elem(struct bpf_map *map, void *key) argument
2573 htab_of_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument
2591 htab_of_map_free(struct bpf_map *map) argument
[all...]
H A Dreuseport_array.c12 struct bpf_map map; member in struct:reuseport_array
16 static struct reuseport_array *reuseport_array(struct bpf_map *map) argument
18 return (struct reuseport_array *)map;
50 static void *reuseport_array_lookup_elem(struct bpf_map *map, void *key) argument
52 struct reuseport_array *array = reuseport_array(map);
55 if (unlikely(index >= array->map.max_entries))
62 static long reuseport_array_delete_elem(struct bpf_map *map, void *key) argument
64 struct reuseport_array *array = reuseport_array(map);
69 if (index >= map->max_entries)
94 static void reuseport_array_free(struct bpf_map *map) argument
165 bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map, void *key, void *value) argument
232 bpf_fd_reuseport_array_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
316 reuseport_array_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
335 reuseport_array_mem_usage(const struct bpf_map *map) argument
[all...]
/linux-master/drivers/clk/meson/
H A Dmeson-eeclk.c22 struct regmap *map; local
31 map = syscon_node_to_regmap(np);
33 if (IS_ERR(map)) {
36 return PTR_ERR(map);
40 regmap_multi_reg_write(map, data->init_regs, data->init_count);
44 data->regmap_clks[i]->map = map;
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_reg.c42 struct hw_reg_map *map; local
51 map = &txsch_reg_map[regblk];
57 if (map->regblk != regblk)
60 reg &= map->mask;
62 for (idx = 0; idx < map->num_ranges; idx++) {
63 if (reg >= map->range[idx].start &&
64 reg < map->range[idx].end)
H A Dmcs_cnf10kb.c73 void cnf10kb_mcs_flowid_secy_map(struct mcs *mcs, struct secy_mem_map *map, int dir) argument
77 val = (map->secy & 0x3F) | (map->ctrl_pkt & 0x1) << 6;
79 reg = MCSX_CPM_RX_SLAVE_SECY_MAP_MEMX(map->flow_id);
81 reg = MCSX_CPM_TX_SLAVE_SECY_MAP_MEM_0X(map->flow_id);
82 mcs_reg_write(mcs, reg, map->sci);
83 val |= (map->sc & 0x3F) << 7;
84 reg = MCSX_CPM_TX_SLAVE_SECY_MAP_MEM_1X(map->flow_id);
90 void cnf10kb_mcs_tx_sa_mem_map_write(struct mcs *mcs, struct mcs_tx_sc_sa_map *map) argument
94 val = (map
115 cnf10kb_mcs_rx_sa_mem_map_write(struct mcs *mcs, struct mcs_rx_sc_sa_map *map) argument
[all...]
/linux-master/drivers/clk/qcom/
H A Dreset.c29 const struct qcom_reset_map *map; local
33 map = &rst->reset_map[id];
34 mask = map->bitmask ? map->bitmask : BIT(map->bit);
36 regmap_update_bits(rst->regmap, map->reg, mask, assert ? mask : 0);
39 regmap_read(rst->regmap, map->reg, &mask);
/linux-master/tools/testing/selftests/mm/
H A Dksm_functional_tests.c46 * this range. We only check that the range does not map the same PFN
152 char *map; local
166 map = mmap(NULL, size, PROT_READ|PROT_WRITE,
168 if (map == MAP_FAILED) {
174 if (madvise(map, size, MADV_NOHUGEPAGE) && errno != EINVAL) {
180 memset(map, val, size);
182 if (mprotect(map, size, prot)) {
196 } else if (madvise(map, size, MADV_MERGEABLE)) {
216 return map;
218 munmap(map, siz
225 char *map; local
247 char *map; local
311 char *map; local
342 char *map; local
544 char *map; local
566 char *map; local
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_map.h9 #include <linux/iosys-map.h>
48 static inline u32 xe_map_read32(struct xe_device *xe, struct iosys_map *map) argument
52 if (map->is_iomem)
53 return readl(map->vaddr_iomem);
55 return READ_ONCE(*(u32 *)map->vaddr);
58 static inline void xe_map_write32(struct xe_device *xe, struct iosys_map *map, argument
63 if (map->is_iomem)
64 writel(val, map->vaddr_iomem);
66 *(u32 *)map->vaddr = val;
/linux-master/include/linux/pinctrl/
H A Dpinconf-generic.h195 struct device_node *np, struct pinctrl_map **map,
199 struct device_node *np_config, struct pinctrl_map **map,
202 struct pinctrl_map *map, unsigned int num_maps);
205 struct device_node *np_config, struct pinctrl_map **map,
208 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps,
213 struct device_node *np_config, struct pinctrl_map **map,
216 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps,
221 struct device_node *np_config, struct pinctrl_map **map,
226 * to infer the map type from the DT properties used.
228 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_map
204 pinconf_generic_dt_node_to_map_group(struct pinctrl_dev *pctldev, struct device_node *np_config, struct pinctrl_map **map, unsigned int *num_maps) argument
212 pinconf_generic_dt_node_to_map_pin(struct pinctrl_dev *pctldev, struct device_node *np_config, struct pinctrl_map **map, unsigned int *num_maps) argument
220 pinconf_generic_dt_node_to_map_all(struct pinctrl_dev *pctldev, struct device_node *np_config, struct pinctrl_map **map, unsigned *num_maps) argument
[all...]
/linux-master/drivers/clk/berlin/
H A Dberlin2-pll.c22 struct berlin2_pll_map map; member in struct:berlin2_pll
45 struct berlin2_pll_map *map = &pll->map; local
50 fbdiv = (val >> map->fbdiv_shift) & FBDIV_MASK;
51 rfdiv = (val >> map->rfdiv_shift) & RFDIV_MASK;
58 vcodivsel = (val >> map->divsel_shift) & DIVSEL_MASK;
59 vcodiv = map->vcodiv[vcodivsel];
66 rate *= fbdiv * map->mult;
77 berlin2_pll_register(const struct berlin2_pll_map *map, argument
89 memcpy(&pll->map, ma
[all...]
/linux-master/drivers/md/persistent-data/
H A DMakefile7 dm-space-map-common.o \
8 dm-space-map-disk.o \
9 dm-space-map-metadata.o \
/linux-master/lib/
H A Diommu-helper.c9 unsigned long iommu_area_alloc(unsigned long *map, unsigned long size, argument
19 index = bitmap_find_next_zero_area(map, size, start, nr, align_mask);
25 bitmap_set(map, index, nr);
/linux-master/tools/testing/selftests/bpf/progs/
H A Drecursion.c28 int BPF_PROG(on_delete, struct bpf_map *map) argument
32 if (map == (void *)&hash1) {
36 if (map == (void *)&hash2) {
H A Djeq_infer_not_null_fail.c20 struct bpf_map *map = (struct bpf_map *)&m_hash; local
21 struct bpf_map *inner_map = map->inner_map_meta;
24 val = bpf_map_lookup_elem(map, &key);
27 * access to map value (R8).
/linux-master/drivers/mtd/maps/
H A Dphysmap-bt1-rom.c13 #include <linux/mtd/map.h>
29 static map_word __xipram bt1_rom_map_read(struct map_info *map, argument
32 void __iomem *src = map->virt + ofs;
48 if (ofs + shift >= map->size)
57 static void __xipram bt1_rom_map_copy_from(struct map_info *map, argument
61 void __iomem *src = map->virt + from;
65 if (len <= 0 || from >= map->size)
68 /* Make sure we don't go over the map limit. */
69 len = min_t(ssize_t, map->size - from, len);
103 struct map_info *map)
101 of_flash_probe_bt1_rom(struct platform_device *pdev, struct device_node *np, struct map_info *map) argument
[all...]
H A Dsun_uflash.c24 #include <linux/mtd/map.h>
40 struct map_info map; /* mtd map info */ member in struct:uflash_dev
69 memcpy(&up->map, &uflash_map_templ, sizeof(uflash_map_templ));
71 up->map.size = resource_size(&op->resource[0]);
75 up->map.name = up->name;
77 up->map.phys = op->resource[0].start;
79 up->map.virt = of_ioremap(&op->resource[0], 0, up->map.size,
81 if (!up->map
[all...]
/linux-master/drivers/mtd/chips/
H A Dmap_rom.c3 * Common code to handle map devices which are simple ROM
17 #include <linux/mtd/map.h>
22 static struct mtd_info *map_rom_probe(struct map_info *map);
35 static unsigned int default_erasesize(struct map_info *map) argument
39 erase_size = of_get_property(map->device_node, "erase-size", NULL);
41 return !erase_size ? map->size : be32_to_cpu(*erase_size);
44 static struct mtd_info *map_rom_probe(struct map_info *map) argument
52 map->fldrv = &maprom_chipdrv;
53 mtd->priv = map;
54 mtd->name = map
76 struct map_info *map = mtd->priv; local
94 struct map_info *map = mtd->priv; local
[all...]
H A Dcfi_cmdset_0002.c35 #include <linux/mtd/map.h>
97 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
98 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
129 static int cfi_check_err_status(struct map_info *map, struct flchip *chip, argument
132 struct cfi_private *cfi = map->fldrv_priv;
138 cfi_send_gen_cmd(0x70, cfi->addr_unlock1, chip->start, map, cfi,
140 status = map_read(map, adr);
143 if (!map_word_bitsset(map, status, CMD(CFI_SR_DRB)))
146 if (map_word_bitsset(map, status, CMD(0x3a))) {
151 map
226 struct map_info *map = mtd->priv; local
276 struct map_info *map = mtd->priv; local
292 struct map_info *map = mtd->priv; local
330 struct map_info *map = mtd->priv; local
352 struct map_info *map = mtd->priv; local
366 struct map_info *map = mtd->priv; local
377 struct map_info *map = mtd->priv; local
390 struct map_info *map = mtd->priv; local
406 struct map_info *map = mtd->priv; local
418 struct map_info *map = mtd->priv; local
430 struct map_info *map = mtd->priv; local
444 struct map_info *map = mtd->priv; local
557 cfi_fixup_m29ew_erase_suspend(struct map_info *map, unsigned long adr) argument
600 cfi_cmdset_0002(struct map_info *map, int primary) argument
767 struct map_info *map = mtd->priv; local
831 chip_ready(struct map_info *map, struct flchip *chip, unsigned long addr, map_word *expected) argument
862 chip_good(struct map_info *map, struct flchip *chip, unsigned long addr, map_word *expected) argument
874 get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) argument
980 put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) argument
1021 xip_disable(struct map_info *map, struct flchip *chip, unsigned long adr) argument
1029 xip_enable(struct map_info *map, struct flchip *chip, unsigned long adr) argument
1056 xip_udelay(struct map_info *map, struct flchip *chip, unsigned long adr, int usec) argument
1203 do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf) argument
1237 struct map_info *map = mtd->priv; local
1275 otp_enter(struct map_info *map, struct flchip *chip, loff_t adr, size_t len) argument
1290 otp_exit(struct map_info *map, struct flchip *chip, loff_t adr, size_t len) argument
1307 do_read_secsi_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf, size_t grouplen) argument
1345 struct map_info *map = mtd->priv; local
1386 do_otp_write(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf, size_t grouplen) argument
1416 do_otp_lock(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf, size_t grouplen) argument
1484 struct map_info *map = mtd->priv; local
1644 do_write_oneword_once(struct map_info *map, struct flchip *chip, unsigned long adr, map_word datum, int mode, struct cfi_private *cfi) argument
1715 do_write_oneword_start(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) argument
1735 do_write_oneword_done(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) argument
1749 do_write_oneword_retry(struct map_info *map, struct flchip *chip, unsigned long adr, map_word datum, int mode) argument
1792 do_write_oneword(struct map_info *map, struct flchip *chip, unsigned long adr, map_word datum, int mode) argument
1818 struct map_info *map = mtd->priv; local
1939 do_write_buffer_wait(struct map_info *map, struct flchip *chip, unsigned long adr, map_word datum) argument
1994 do_write_buffer_reset(struct map_info *map, struct flchip *chip, struct cfi_private *cfi) argument
2019 do_write_buffer(struct map_info *map, struct flchip *chip, unsigned long adr, const u_char *buf, int len) argument
2098 struct map_info *map = mtd->priv; local
2179 cfi_amdstd_panic_wait(struct map_info *map, struct flchip *chip, unsigned long adr) argument
2231 do_panic_write_oneword(struct map_info *map, struct flchip *chip, unsigned long adr, map_word datum) argument
2310 struct map_info *map = mtd->priv; local
2411 do_erase_chip(struct map_info *map, struct flchip *chip) argument
2512 do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
2620 struct map_info *map = mtd->priv; local
2632 do_atmel_lock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
2667 do_atmel_unlock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
2718 do_ppb_xxlock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
2802 struct map_info *map = mtd->priv; local
2912 struct map_info *map = mtd->priv; local
2974 struct map_info *map = mtd->priv; local
3029 struct map_info *map = mtd->priv; local
3061 struct map_info *map = mtd->priv; local
3099 struct map_info *map = mtd->priv; local
[all...]
/linux-master/drivers/staging/media/ipu3/
H A Dipu3-dmamap.c84 * imgu_dmamap_alloc - allocate and map a buffer into KVA
86 * @map: struct to store mapping variables
93 void *imgu_dmamap_alloc(struct imgu_device *imgu, struct imgu_css_map *map, argument
127 map->vaddr = vmap(pages, count, VM_USERMAP, PAGE_KERNEL);
128 if (!map->vaddr)
131 map->pages = pages;
132 map->size = size;
133 map->daddr = iova_dma_addr(&imgu->iova_domain, iova);
136 size, &map->daddr, map
151 imgu_dmamap_unmap(struct imgu_device *imgu, struct imgu_css_map *map) argument
169 imgu_dmamap_free(struct imgu_device *imgu, struct imgu_css_map *map) argument
184 imgu_dmamap_map_sg(struct imgu_device *imgu, struct scatterlist *sglist, int nents, struct imgu_css_map *map) argument
[all...]
/linux-master/drivers/soc/aspeed/
H A Daspeed-lpc-ctrl.c75 struct aspeed_lpc_ctrl_mapping map; local
80 if (copy_from_user(&map, p, sizeof(map)))
83 if (map.flags != 0)
89 if (map.window_type != ASPEED_LPC_CTRL_WINDOW_MEMORY)
93 if (map.window_id != 0)
102 map.size = lpc_ctrl->mem_size;
104 return copy_to_user(p, &map, sizeof(map)) ? -EFAULT : 0;
127 if ((map
[all...]
/linux-master/drivers/ras/amd/atl/
H A Ddenormalize.c17 * COH_ST Fabric ID used within a DRAM Address map.
22 case DF2: return FIELD_GET(DF2_DST_FABRIC_ID, ctx->map.limit);
23 case DF3: return FIELD_GET(DF3_DST_FABRIC_ID, ctx->map.limit);
24 case DF3p5: return FIELD_GET(DF3p5_DST_FABRIC_ID, ctx->map.limit);
25 case DF4: return FIELD_GET(DF4_DST_FABRIC_ID, ctx->map.ctl);
26 case DF4p5: return FIELD_GET(DF4p5_DST_FABRIC_ID, ctx->map.ctl);
46 return expand_bits(ctx->map.intlv_bit_pos,
47 ctx->map.total_intlv_bits,
73 u64 denorm_addr = expand_bits(ctx->map.intlv_bit_pos, 1, ctx->ret_addr);
76 if (ctx->map
[all...]

Completed in 403 milliseconds

1234567891011>>