Searched refs:map (Results 126 - 150 of 2570) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_sockmap_invalid_update.c11 } map SEC(".maps");
19 bpf_map_update_elem(&map, &key, skops->sk, 0);
H A Dtest_map_in_map.c25 * perf_event_array map can be an inner
26 * map of hash/array_of_maps.
56 void *map; local
58 map = bpf_map_lookup_elem(&mim_array, &key);
59 if (!map)
62 bpf_map_update_elem(map, &key, &value, 0);
63 value_p = bpf_map_lookup_elem(map, &key);
67 map = bpf_map_lookup_elem(&mim_hash, &key);
68 if (!map)
71 bpf_map_update_elem(map,
[all...]
H A Dverifier_arena.c100 struct bpf_map map; member in struct:bpf_arena___l
110 pages = bpf_arena_alloc_pages(&ar->map, NULL, ar->map.max_entries, NUMA_NO_NODE, 0);
120 struct bpf_map *map = ctx->map; local
122 if (!map)
124 bpf_arena_alloc_pages(map, NULL, map->max_entries, 0, 0);
142 struct bpf_map *map = ctx->map; local
[all...]
H A Dwq.c55 static int test_elem_callback(void *map, int *key, argument
56 int (callback_fn)(void *map, int *key, struct bpf_wq *wq))
65 if (map == &lru &&
66 bpf_map_update_elem(map, key, &init, 0))
69 val = bpf_map_lookup_elem(map, key);
74 if (bpf_wq_init(wq, map, 0) != 0)
86 static int test_hmap_elem_callback(void *map, int *key, argument
87 int (callback_fn)(void *map, int *key, struct bpf_wq *wq))
96 if (bpf_map_update_elem(map, key, &init, 0))
99 val = bpf_map_lookup_elem(map, ke
117 wq_callback(void *map, int *key, struct bpf_wq *work) argument
125 wq_cb_sleepable(void *map, int *key, struct bpf_wq *work) argument
[all...]
/linux-master/tools/perf/util/
H A Dbpf_map.h10 int bpf_map__fprintf(struct bpf_map *map, FILE *fp);
16 static inline int bpf_map__fprintf(struct bpf_map *map __maybe_unused, FILE *fp __maybe_unused)
H A Daddr_location.c3 #include "map.h"
11 al->map = NULL;
30 map__zput(al->map);
39 map__put(dst->map);
43 dst->map = map__get(src->map);
/linux-master/kernel/bpf/
H A Dmap_in_map.h14 void *bpf_map_fd_get_ptr(struct bpf_map *map, struct file *map_file,
16 void bpf_map_fd_put_ptr(struct bpf_map *map, void *ptr, bool need_defer);
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
678 __htab_map_lookup_elem(struct bpf_map *map, void *key) argument
699 htab_map_lookup_elem(struct bpf_map *map, void *key) argument
720 htab_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument
735 __htab_lru_map_lookup_elem(struct bpf_map *map, void *key, const bool mark) argument
749 htab_lru_map_lookup_elem(struct bpf_map *map, void *key) argument
754 htab_lru_map_lookup_elem_sys(struct bpf_map *map, void *key) argument
759 htab_lru_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument
835 htab_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
903 struct bpf_map *map = &htab->map; local
1097 htab_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
1200 htab_lru_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
1268 __htab_percpu_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags, bool onallcpus) argument
1323 __htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags, bool onallcpus) argument
1393 htab_percpu_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
1399 htab_lru_percpu_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
1407 htab_map_delete_elem(struct bpf_map *map, void *key) argument
1443 htab_lru_map_delete_elem(struct bpf_map *map, void *key) argument
1525 htab_map_free_timers_and_wq(struct bpf_map *map) argument
1539 htab_map_free(struct bpf_map *map) argument
1573 htab_map_seq_show_elem(struct bpf_map *map, void *key, struct seq_file *m) argument
1594 __htab_map_lookup_and_delete_elem(struct bpf_map *map, void *key, void *value, bool is_lru_map, bool is_percpu, u64 flags) argument
1658 htab_map_lookup_and_delete_elem(struct bpf_map *map, void *key, void *value, u64 flags) argument
1665 htab_percpu_map_lookup_and_delete_elem(struct bpf_map *map, void *key, void *value, u64 flags) argument
1673 htab_lru_map_lookup_and_delete_elem(struct bpf_map *map, void *key, void *value, u64 flags) argument
1680 htab_lru_percpu_map_lookup_and_delete_elem(struct bpf_map *map, void *key, void *value, u64 flags) argument
1689 __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
1917 htab_percpu_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1925 htab_percpu_map_lookup_and_delete_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1934 htab_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1942 htab_map_lookup_and_delete_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1951 htab_lru_percpu_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1960 htab_lru_percpu_map_lookup_and_delete_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1969 htab_lru_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1977 htab_lru_map_lookup_and_delete_batch(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr) argument
1986 struct bpf_map *map; member in struct:bpf_iter_seq_hash_map_info
2077 struct bpf_map *map = info->map; local
2128 struct bpf_map *map = aux->map; local
2170 bpf_for_each_hash_elem(struct bpf_map *map, bpf_callback_t callback_fn, void *callback_ctx, u64 flags) argument
2226 htab_map_mem_usage(const struct bpf_map *map) argument
2309 htab_percpu_map_lookup_elem(struct bpf_map *map, void *key) argument
2320 htab_percpu_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument
2339 htab_percpu_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu) argument
2353 htab_lru_percpu_map_lookup_elem(struct bpf_map *map, void *key) argument
2365 htab_lru_percpu_map_lookup_percpu_elem(struct bpf_map *map, void *key, u32 cpu) argument
2381 bpf_percpu_hash_copy(struct bpf_map *map, void *key, void *value) argument
2413 bpf_percpu_hash_update(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
2431 htab_percpu_map_seq_show_elem(struct bpf_map *map, void *key, struct seq_file *m) argument
2508 fd_htab_map_free(struct bpf_map *map) argument
2530 bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value) argument
2550 bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, void *key, void *value, u64 map_flags) argument
2576 struct bpf_map *map, *inner_map_meta; local
2593 htab_of_map_lookup_elem(struct bpf_map *map, void *key) argument
2603 htab_of_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) argument
2621 htab_of_map_free(struct bpf_map *map) argument
[all...]
/linux-master/drivers/xen/
H A Dpvcalls-back.c90 struct sock_mapping *map);
94 struct sock_mapping *map = (struct sock_mapping *)opaque; local
99 struct pvcalls_data_intf *intf = map->ring;
100 struct pvcalls_data *data = &map->data;
104 array_size = XEN_FLEX_RING_SIZE(map->ring_order);
117 spin_lock_irqsave(&map->sock->sk->sk_receive_queue.lock, flags);
118 if (skb_queue_empty(&map->sock->sk->sk_receive_queue)) {
119 atomic_set(&map->read, 0);
120 spin_unlock_irqrestore(&map->sock->sk->sk_receive_queue.lock,
124 spin_unlock_irqrestore(&map
168 pvcalls_conn_back_write(struct sock_mapping *map) argument
234 struct sock_mapping *map = container_of(ioworker, struct sock_mapping, local
291 struct sock_mapping *map = sock->sk_user_data; local
302 struct sock_mapping *map = sock->sk_user_data; local
324 struct sock_mapping *map; local
398 struct sock_mapping *map; local
436 pvcalls_back_release_active(struct xenbus_device *dev, struct pvcalls_fedata *fedata, struct sock_mapping *map) argument
482 struct sock_mapping *map, *n; local
524 struct sock_mapping *map; local
630 struct sockpass_mapping *map; local
695 struct sockpass_mapping *map; local
911 struct sock_mapping *map = sock_map; local
1000 struct sock_mapping *map, *n; local
[all...]
/linux-master/drivers/cxl/core/
H A Dregs.c31 * @map: Map object describing the register block information found
36 * Probe for component register information and return it in map object.
39 struct cxl_component_reg_map *map)
44 *map = (struct cxl_component_reg_map) { 0 };
86 rmap = &map->hdm_decoder;
93 rmap = &map->ras;
115 * @map: Map object describing the register block information found
117 * Probe for device register information and return it in map object.
120 struct cxl_device_reg_map *map)
125 *map
38 cxl_probe_component_regs(struct device *dev, void __iomem *base, struct cxl_component_reg_map *map) argument
119 cxl_probe_device_regs(struct device *dev, void __iomem *base, struct cxl_device_reg_map *map) argument
203 cxl_map_component_regs(const struct cxl_register_map *map, struct cxl_component_regs *regs, unsigned long map_mask) argument
237 cxl_map_device_regs(const struct cxl_register_map *map, struct cxl_device_regs *regs) argument
271 cxl_decode_regblock(struct pci_dev *pdev, u32 reg_lo, u32 reg_hi, struct cxl_register_map *map) argument
305 cxl_find_regblock_instance(struct pci_dev *pdev, enum cxl_regloc_type type, struct cxl_register_map *map, int index) argument
360 cxl_find_regblock(struct pci_dev *pdev, enum cxl_regloc_type type, struct cxl_register_map *map) argument
378 struct cxl_register_map map; local
390 cxl_map_pmu_regs(struct cxl_register_map *map, struct cxl_pmu_regs *regs) argument
404 cxl_map_regblock(struct cxl_register_map *map) argument
418 cxl_unmap_regblock(struct cxl_register_map *map) argument
424 cxl_probe_regs(struct cxl_register_map *map) argument
458 cxl_setup_regs(struct cxl_register_map *map) argument
[all...]
/linux-master/drivers/hwmon/
H A Dltc2947-spi.c22 struct regmap *map; local
24 map = devm_regmap_init_spi(spi, &ltc2947_regmap_config);
25 if (IS_ERR(map))
26 return PTR_ERR(map);
28 return ltc2947_core_probe(map, spi_get_device_id(spi)->name);
/linux-master/tools/testing/selftests/mm/
H A Don-fault-limit.c13 void *map; local
21 map = mmap(NULL, 2 * lims.rlim_max, PROT_READ | PROT_WRITE,
24 ksft_test_result(map == MAP_FAILED, "The map failed respecting mlock limits\n");
26 if (map != MAP_FAILED)
27 munmap(map, 2 * lims.rlim_max);
/linux-master/drivers/acpi/arm64/
H A Ddma.c11 const struct bus_dma_region *map = NULL; local
29 ret = acpi_dma_get_range(dev, &map);
30 if (!ret && map) {
31 end = dma_range_map_max(map);
32 dev->dma_range_map = map;
/linux-master/drivers/mtd/chips/
H A Dgen_probe.c11 #include <linux/mtd/map.h>
16 static struct cfi_private *genprobe_ident_chips(struct map_info *map,
18 static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp,
21 struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp) argument
26 /* First probe the map to see if we have CFI stuff there. */
27 cfi = genprobe_ident_chips(map, cp);
32 map->fldrv_priv = cfi;
35 mtd = check_cmd_set(map, 1); /* First the primary cmdset */
37 mtd = check_cmd_set(map, 0); /* Then the secondary */
40 if (mtd->size > map
59 genprobe_ident_chips(struct map_info *map, struct chip_probe *cp) argument
164 genprobe_new_chip(struct map_info *map, struct chip_probe *cp, struct cfi_private *cfi) argument
198 cfi_cmdset_unknown(struct map_info *map, int primary) argument
232 check_cmd_set(struct map_info *map, int primary) argument
[all...]
H A Dcfi_probe.c18 #include <linux/mtd/map.h>
28 static int cfi_probe_chip(struct map_info *map, __u32 base,
30 static int cfi_chip_setup(struct map_info *map, struct cfi_private *cfi);
32 struct mtd_info *cfi_probe(struct map_info *map);
39 #define xip_allowed(base, map) \
41 (void) map_read(map, base); \
46 #define xip_enable(base, map, cfi) \
48 cfi_qry_mode_off(base, map, cfi); \
49 xip_allowed(base, map); \
52 #define xip_disable_qry(base, map, cf
96 cfi_probe_chip(struct map_info *map, __u32 base, unsigned long *chip_map, struct cfi_private *cfi) argument
195 cfi_chip_setup(struct map_info *map, struct cfi_private *cfi) argument
432 cfi_probe(struct map_info *map) argument
[all...]
H A Dcfi_cmdset_0001.c35 #include <linux/mtd/map.h>
99 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
100 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
101 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
174 struct map_info *map = mtd->priv; local
175 struct cfi_private *cfi = map->fldrv_priv;
214 struct map_info *map = mtd->priv; local
215 struct cfi_private *cfi = map->fldrv_priv;
226 struct map_info *map = mtd->priv; local
227 struct cfi_private *cfi = map
239 struct map_info *map = mtd->priv; local
252 struct map_info *map = mtd->priv; local
261 struct map_info *map = mtd->priv; local
281 struct map_info *map = mtd->priv; local
301 struct map_info *map = mtd->priv; local
310 struct map_info *map = mtd->priv; local
324 struct map_info *map = mtd->priv; local
393 read_pri_intelext(struct map_info *map, __u16 adr) argument
498 cfi_cmdset_0001(struct map_info *map, int primary) argument
619 struct map_info *map = mtd->priv; local
700 struct map_info *map = mtd->priv; local
827 chip_ready(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) argument
944 get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) argument
1040 put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) argument
1124 xip_disable(struct map_info *map, struct flchip *chip, unsigned long adr) argument
1132 xip_enable(struct map_info *map, struct flchip *chip, unsigned long adr) argument
1158 xip_wait_for_operation( struct map_info *map, struct flchip *chip, unsigned long adr, unsigned int chip_op_time_max) argument
1289 inval_cache_and_wait_for_operation( struct map_info *map, struct flchip *chip, unsigned long cmd_adr, unsigned long inval_adr, int inval_len, unsigned int chip_op_time, unsigned int chip_op_time_max) argument
1373 do_point_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len) argument
1403 struct map_info *map = mtd->priv; local
1455 struct map_info *map = mtd->priv; local
1500 do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf) argument
1534 struct map_info *map = mtd->priv; local
1569 do_write_oneword(struct map_info *map, struct flchip *chip, unsigned long adr, map_word datum, int mode) argument
1646 struct map_info *map = mtd->priv; local
1723 do_write_buffer(struct map_info *map, struct flchip *chip, unsigned long adr, const struct kvec **pvec, unsigned long *pvec_seek, int len) argument
1892 struct map_info *map = mtd->priv; local
1952 do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
2050 struct map_info *map = mtd->priv; local
2089 do_getlockstatus_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
2107 do_printlockstatus_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
2121 do_xxlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
2243 do_otp_read(struct map_info *map, struct flchip *chip, u_long offset, u_char *buf, u_int size, u_long prot, u_int grpno, u_int grpsz) argument
2276 do_otp_write(struct map_info *map, struct flchip *chip, u_long offset, u_char *buf, u_int size, u_long prot, u_int grpno, u_int grpsz) argument
2301 do_otp_lock(struct map_info *map, struct flchip *chip, u_long offset, u_char *buf, u_int size, u_long prot, u_int grpno, u_int grpsz) argument
2320 struct map_info *map = mtd->priv; local
2527 struct map_info *map = mtd->priv; local
2622 struct map_info *map = mtd->priv; local
2653 struct map_info *map = mtd->priv; local
2688 struct map_info *map = mtd->priv; local
[all...]
H A Dcfi_cmdset_0020.c33 #include <linux/mtd/map.h>
114 struct mtd_info *cfi_cmdset_0020(struct map_info *map, int primary) argument
116 struct cfi_private *cfi = map->fldrv_priv;
128 extp = (struct cfi_pri_intelext*)cfi_read_pri(map, adr, sizeof(*extp), "ST Microelectronics");
142 extp->FeatureSupport = cfi32_to_cpu(map, extp->FeatureSupport);
143 extp->BlkStatusRegMask = cfi32_to_cpu(map,
163 return cfi_staa_setup(map);
167 static struct mtd_info *cfi_staa_setup(struct map_info *map) argument
169 struct cfi_private *cfi = map->fldrv_priv;
183 mtd->priv = map;
249 do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf) argument
386 struct map_info *map = mtd->priv; local
421 do_write_buffer(struct map_info *map, struct flchip *chip, unsigned long adr, const u_char *buf, int len) argument
610 struct map_info *map = mtd->priv; local
733 do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) argument
893 { struct map_info *map = mtd->priv; local
975 struct map_info *map = mtd->priv; local
1032 do_lock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) argument
1129 struct map_info *map = mtd->priv; local
1178 do_unlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) argument
1275 struct map_info *map = mtd->priv; local
1314 struct map_info *map = mtd->priv; local
1372 struct map_info *map = mtd->priv; local
1396 struct map_info *map = mtd->priv; local
[all...]
/linux-master/net/netfilter/ipset/
H A Dip_set_bitmap_port.c59 const struct bitmap_port *map, size_t dsize)
61 return !!test_bit(e->id, map->members);
65 bitmap_port_gc_test(u16 id, const struct bitmap_port *map, size_t dsize) argument
67 return !!test_bit(id, map->members);
72 struct bitmap_port *map, u32 flags, size_t dsize)
74 return !!test_bit(e->id, map->members);
79 struct bitmap_port *map)
81 return !test_and_clear_bit(e->id, map->members);
85 bitmap_port_do_list(struct sk_buff *skb, const struct bitmap_port *map, u32 id, argument
89 htons(map
58 bitmap_port_do_test(const struct bitmap_port_adt_elem *e, const struct bitmap_port *map, size_t dsize) argument
71 bitmap_port_do_add(const struct bitmap_port_adt_elem *e, struct bitmap_port *map, u32 flags, size_t dsize) argument
78 bitmap_port_do_del(const struct bitmap_port_adt_elem *e, struct bitmap_port *map) argument
93 bitmap_port_do_head(struct sk_buff *skb, const struct bitmap_port *map) argument
131 struct bitmap_port *map = set->data; local
156 struct bitmap_port *map = set->data; local
231 init_map_port(struct ip_set *set, struct bitmap_port *map, u16 first_port, u16 last_port) argument
252 struct bitmap_port *map; local
[all...]
/linux-master/drivers/firmware/efi/libstub/
H A Drelocate.c26 struct efi_boot_memmap *map; local
31 status = efi_get_memory_map(&map, false);
46 for (i = 0; i < map->map_size / map->desc_size; i++) {
48 unsigned long m = (unsigned long)map->map;
51 desc = efi_early_memdesc_ptr(m, map->desc_size, i);
81 if (i == map->map_size / map->desc_size)
84 efi_bs_call(free_pool, map);
[all...]
/linux-master/arch/sh/kernel/cpu/sh4/
H A Dsq.c70 static inline void sq_mapping_list_add(struct sq_mapping *map) argument
80 map->next = tmp;
81 *p = map;
86 static inline void sq_mapping_list_del(struct sq_mapping *map) argument
93 if (tmp == map) {
101 static int __sq_remap(struct sq_mapping *map, pgprot_t prot) argument
106 vma = __get_vm_area_caller(map->size, VM_IOREMAP, map->sq_addr,
111 vma->phys_addr = map->addr;
114 (unsigned long)vma->addr + map
146 struct sq_mapping *map; local
209 struct sq_mapping **p, *map; local
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_dev_mgr.c70 struct vf_id_map *map; local
75 map = list_entry(ptr, struct vf_id_map, list);
76 if (map->bdf != -1) {
77 id_map[map->id] = 0;
81 if (vf && map->bdf == -1)
85 kfree(map);
156 struct vf_id_map *map; local
175 map = kzalloc(sizeof(*map), GFP_KERNEL);
176 if (!map) {
187 struct vf_id_map *map; local
257 struct vf_id_map *map, *next; local
[all...]
/linux-master/drivers/dma/dw/
H A Drzn1-dmamux.c32 struct rzn1_dmamux_map *map = route_data; local
34 dev_dbg(dev, "Unmapping DMAMUX request %u\n", map->req_idx);
36 clear_bit(map->req_idx, dmamux->used_chans);
38 kfree(map);
46 struct rzn1_dmamux_map *map; local
54 map = kzalloc(sizeof(*map), GFP_KERNEL);
55 if (!map)
59 map->req_idx = dma_spec->args[4];
69 if (map
[all...]
/linux-master/drivers/power/supply/
H A Dmax17042_battery.c98 struct regmap *map = chip->regmap; local
100 ret = regmap_read(map, MAX17042_TEMP, &data);
235 struct regmap *map = chip->regmap; local
250 ret = regmap_read(map, MAX17042_STATUS, &data);
263 ret = regmap_read(map, MAX17042_Cycles, &data);
270 ret = regmap_read(map, MAX17042_MinMaxVolt, &data);
278 ret = regmap_read(map, MAX17042_MinMaxVolt, &data);
286 ret = regmap_read(map, MAX17042_V_empty, &data);
288 ret = regmap_read(map, MAX17047_V_empty, &data);
296 ret = regmap_read(map, MAX17042_VCEL
444 struct regmap *map = chip->regmap; local
502 max17042_write_verify_reg(struct regmap *map, u8 reg, u32 value) argument
523 max17042_override_por(struct regmap *map, u8 reg, u16 value) argument
532 struct regmap *map = chip->regmap; local
540 struct regmap *map = chip->regmap; local
549 struct regmap *map = chip->regmap; local
560 struct regmap *map = chip->regmap; local
638 struct regmap *map = chip->regmap; local
655 struct regmap *map = chip->regmap; local
679 struct regmap *map = chip->regmap; local
691 struct regmap *map = chip->regmap; local
705 struct regmap *map = chip->regmap; local
742 struct regmap *map = chip->regmap; local
800 struct regmap *map = chip->regmap; local
850 struct regmap *map = chip->regmap; local
[all...]
/linux-master/drivers/vdpa/vdpa_user/
H A Diova_domain.c49 struct vhost_iotlb_map *map; local
51 while ((map = vhost_iotlb_itree_first(domain->iotlb, start, last))) {
52 map_file = (struct vdpa_map_file *)map->opaque;
55 vhost_iotlb_map_free(domain->iotlb, map);
63 struct vhost_iotlb_map *map; local
70 for (map = vhost_iotlb_itree_first(iotlb, start, last); map;
71 map = vhost_iotlb_itree_next(map, start, last)) {
72 map_file = (struct vdpa_map_file *)map
92 struct vhost_iotlb_map *map; local
106 struct vduse_bounce_map *map; local
126 struct vduse_bounce_map *map; local
164 struct vduse_bounce_map *map; local
194 struct vhost_iotlb_map *map; local
213 struct vduse_bounce_map *map; local
232 struct vduse_bounce_map *map; local
253 struct vduse_bounce_map *map; local
288 struct vduse_bounce_map *map; local
484 struct vhost_iotlb_map *map; local
577 struct vduse_bounce_map *map; local
[all...]
/linux-master/drivers/auxdisplay/
H A Dline-display.c197 struct linedisp_map *map = linedisp->map; local
199 memcpy(buf, &map->map, map->size);
200 return map->size;
207 struct linedisp_map *map = linedisp->map; local
209 if (count != map->size)
212 memcpy(&map
234 struct linedisp_map *map = linedisp->map; local
279 struct linedisp_map *map; local
[all...]

Completed in 229 milliseconds

1234567891011>>