Searched refs:map (Results 276 - 300 of 2570) sorted by relevance

<<11121314151617181920>>

/linux-master/include/linux/mtd/
H A Dcfi.h14 #include <linux/mtd/map.h>
294 struct map_info *map, struct cfi_private *cfi);
296 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi);
297 #define CMD(x) cfi_build_cmd((x), map, cfi)
299 unsigned long cfi_merge_status(map_word val, struct map_info *map,
301 #define MERGESTATUS(x) cfi_merge_status((x), map, cfi)
304 struct map_info *map, struct cfi_private *cfi,
307 static inline uint8_t cfi_read_query(struct map_info *map, uint32_t addr) argument
309 map_word val = map_read(map, addr);
311 if (map_bankwidth_is_1(map)) {
323 cfi_read_query16(struct map_info *map, uint32_t addr) argument
[all...]
/linux-master/drivers/pinctrl/
H A Dpinconf.h26 int pinconf_validate_map(const struct pinctrl_map *map, int i);
27 int pinconf_map_to_setting(const struct pinctrl_map *map,
51 static inline int pinconf_validate_map(const struct pinctrl_map *map, int i) argument
56 static inline int pinconf_map_to_setting(const struct pinctrl_map *map, argument
81 void pinconf_show_map(struct seq_file *s, const struct pinctrl_map *map);
90 const struct pinctrl_map *map)
89 pinconf_show_map(struct seq_file *s, const struct pinctrl_map *map) argument
/linux-master/drivers/gpu/drm/panthor/
H A Dpanthor_gem.h11 #include <linux/iosys-map.h>
114 struct iosys_map map; local
120 ret = drm_gem_vmap_unlocked(bo->obj, &map);
124 bo->kmap = map.vaddr;
132 struct iosys_map map = IOSYS_MAP_INIT_VADDR(bo->kmap); local
134 drm_gem_vunmap_unlocked(bo->obj, &map);
/linux-master/drivers/net/wireless/realtek/rtl818x/rtl8187/
H A Ddev.c180 rtl818x_iowrite8(priv, &priv->map->PHY[3], (data >> 24) & 0xFF);
181 rtl818x_iowrite8(priv, &priv->map->PHY[2], (data >> 16) & 0xFF);
182 rtl818x_iowrite8(priv, &priv->map->PHY[1], (data >> 8) & 0xFF);
183 rtl818x_iowrite8(priv, &priv->map->PHY[0], data & 0xFF);
595 rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD,
597 reg = rtl818x_ioread8(priv, &priv->map->CONFIG3);
599 rtl818x_iowrite8(priv, &priv->map->CONFIG3, reg);
600 rtl818x_iowrite32(priv, &priv->map->ANAPARAM, anaparam);
601 rtl818x_iowrite32(priv, &priv->map->ANAPARAM2, anaparam2);
603 rtl818x_iowrite8(priv, &priv->map
[all...]
/linux-master/kernel/bpf/
H A Dbpf_struct_ops.c24 struct bpf_map map; member in struct:bpf_struct_ops_map
58 struct bpf_map __rcu *map; member in struct:bpf_struct_ops_link
426 static int bpf_struct_ops_map_get_next_key(struct bpf_map *map, void *key, argument
436 int bpf_struct_ops_map_sys_lookup_elem(struct bpf_map *map, void *key, argument
439 struct bpf_struct_ops_map *st_map = (struct bpf_struct_ops_map *)map;
451 memset(value, 0, map->value_size);
459 memcpy(uvalue, st_map->uvalue, map->value_size);
467 refcnt = atomic64_read(&map->refcnt) - atomic64_read(&map->usercnt);
473 static void *bpf_struct_ops_map_lookup_elem(struct bpf_map *map, voi argument
587 bpf_struct_ops_map_update_elem(struct bpf_map *map, void *key, void *value, u64 flags) argument
794 bpf_struct_ops_map_delete_elem(struct bpf_map *map, void *key) argument
822 bpf_struct_ops_map_seq_show_elem(struct bpf_map *map, void *key, struct seq_file *m) argument
844 __bpf_struct_ops_map_free(struct bpf_map *map) argument
856 bpf_struct_ops_map_free(struct bpf_map *map) argument
903 struct bpf_map *map; local
985 bpf_struct_ops_map_mem_usage(const struct bpf_map *map) argument
1021 struct bpf_map *map; local
1041 bpf_struct_ops_valid_to_reg(struct bpf_map *map) argument
1073 struct bpf_map *map; local
1086 struct bpf_map *map; local
1154 struct bpf_map *map; local
1195 bpf_map_struct_ops_info_fill(struct bpf_map_info *info, struct bpf_map *map) argument
[all...]
H A Dbpf_inode_storage.c37 struct bpf_map *map,
53 smap = (struct bpf_local_storage_map *)map;
78 static void *bpf_fd_inode_storage_lookup_elem(struct bpf_map *map, void *key) argument
86 sdata = inode_storage_lookup(file_inode(f.file), map, true);
91 static long bpf_fd_inode_storage_update_elem(struct bpf_map *map, void *key, argument
105 (struct bpf_local_storage_map *)map,
111 static int inode_storage_delete(struct inode *inode, struct bpf_map *map) argument
115 sdata = inode_storage_lookup(inode, map, false);
124 static long bpf_fd_inode_storage_delete_elem(struct bpf_map *map, void *key) argument
132 err = inode_storage_delete(file_inode(f.file), map);
36 inode_storage_lookup(struct inode *inode, struct bpf_map *map, bool cacheit_lockit) argument
186 notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
197 inode_storage_map_free(struct bpf_map *map) argument
[all...]
H A Dbpf_cgrp_storage.c64 cgroup_storage_lookup(struct cgroup *cgroup, struct bpf_map *map, bool cacheit_lockit) argument
74 smap = (struct bpf_local_storage_map *)map;
78 static void *bpf_cgrp_storage_lookup_elem(struct bpf_map *map, void *key) argument
90 sdata = cgroup_storage_lookup(cgroup, map, true);
96 static long bpf_cgrp_storage_update_elem(struct bpf_map *map, void *key, argument
109 sdata = bpf_local_storage_update(cgroup, (struct bpf_local_storage_map *)map,
116 static int cgroup_storage_delete(struct cgroup *cgroup, struct bpf_map *map) argument
120 sdata = cgroup_storage_lookup(cgroup, map, false);
128 static long bpf_cgrp_storage_delete_elem(struct bpf_map *map, void *key) argument
139 err = cgroup_storage_delete(cgroup, map);
145 notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
155 cgroup_storage_map_free(struct bpf_map *map) argument
[all...]
H A Dstackmap.c27 struct bpf_map map; member in struct:bpf_stack_map
34 static inline bool stack_map_use_build_id(struct bpf_map *map) argument
36 return (map->map_flags & BPF_F_STACK_BUILD_ID);
39 static inline int stack_map_data_size(struct bpf_map *map) argument
41 return stack_map_use_build_id(map) ?
48 (u64)smap->map.value_size;
51 smap->elems = bpf_map_area_alloc(elem_size * smap->map.max_entries,
52 smap->map.numa_node);
61 smap->map.max_entries);
107 bpf_map_init_from_attr(&smap->map, att
213 __bpf_get_stackid(struct bpf_map *map, struct perf_callchain_entry *trace, u64 flags) argument
572 stack_map_lookup_elem(struct bpf_map *map, void *key) argument
578 bpf_stackmap_copy(struct bpf_map *map, void *key, void *value) argument
601 stack_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
630 stack_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
637 stack_map_delete_elem(struct bpf_map *map, void *key) argument
656 stack_map_free(struct bpf_map *map) argument
666 stack_map_mem_usage(const struct bpf_map *map) argument
[all...]
/linux-master/include/linux/ceph/
H A Dosdmap.h11 * The osd map describes the current membership of the osd cluster and
17 * Each map version is identified by an epoch, which increases monotonically.
19 * The map can be updated either via an incremental map (diff) describing
20 * the change between two successive epochs, or as a fully encoded map.
98 * arbitrarily long (~PAGE_SIZE). It's done once during rbd map; all
194 /* the CRUSH map specifies the mapping of placement groups to
201 static inline bool ceph_osd_exists(struct ceph_osdmap *map, int osd) argument
203 return osd >= 0 && osd < map->max_osd &&
204 (map
207 ceph_osd_is_up(struct ceph_osdmap *map, int osd) argument
213 ceph_osd_is_down(struct ceph_osdmap *map, int osd) argument
221 ceph_osd_addr(struct ceph_osdmap *map, int osd) argument
[all...]
/linux-master/net/xdp/
H A Dxsk.h33 struct xsk_map *map; member in struct:xsk_map_node
42 void xsk_map_try_sock_delete(struct xsk_map *map, struct xdp_sock *xs,
/linux-master/drivers/gpu/drm/xen/
H A Dxen_drm_front_gem.h35 struct iosys_map *map);
38 struct iosys_map *map);
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_port.h110 u8 map[SPARX5_PORT_QOS_PCP_DEI_COUNT]; member in struct:sparx5_port_qos_pcp_map
114 u16 map[SPX5_PRIOS]; member in struct:sparx5_port_qos_pcp_rewr_map
119 u16 map[SPX5_PRIOS * SPARX5_PORT_QOS_DP_NUM]; member in struct:sparx5_port_qos_dscp_rewr_map
124 u8 map[SPARX5_PORT_QOS_DSCP_COUNT]; member in struct:sparx5_port_qos_dscp_map
128 struct sparx5_port_qos_pcp_map map; member in struct:sparx5_port_qos_pcp
134 struct sparx5_port_qos_pcp_rewr_map map; member in struct:sparx5_port_qos_pcp_rewr
139 struct sparx5_port_qos_dscp_map map; member in struct:sparx5_port_qos_dscp
145 struct sparx5_port_qos_dscp_rewr_map map; member in struct:sparx5_port_qos_dscp_rewr
/linux-master/drivers/gpio/
H A Dgpio-i8255.c51 static int i8255_ppi_init(struct regmap *const map, const unsigned int base) argument
56 err = regmap_write(map, base + I8255_CONTROL, I8255_CONTROL_MODE_SET);
61 err = regmap_write(map, base + I8255_PORTA, 0x00);
64 err = regmap_write(map, base + I8255_PORTB, 0x00);
67 return regmap_write(map, base + I8255_PORTC, 0x00);
112 if (!config->map)
119 err = i8255_ppi_init(config->map, i * 4);
125 gpio_config.regmap = config->map;
H A Dgpio-max77650.c35 struct regmap *map; member in struct:max77650_gpio_chip
45 return regmap_update_bits(chip->map,
61 return regmap_update_bits(chip->map,
73 rv = regmap_update_bits(chip->map, MAX77650_REG_CNFG_GPIO,
86 rv = regmap_read(chip->map, MAX77650_REG_CNFG_GPIO, &val);
100 rv = regmap_read(chip->map, MAX77650_REG_CNFG_GPIO, &val);
114 return regmap_update_bits(chip->map,
119 return regmap_update_bits(chip->map,
124 return regmap_update_bits(chip->map,
154 chip->map
[all...]
H A Dgpio-idio-16.c33 struct regmap *map; member in struct:idio_16_data
54 err = regmap_write(data->map, IDIO_16_CLEAR_INTERRUPT, 0x00);
57 return regmap_read(data->map, IDIO_16_ENABLE_IRQ, &val);
62 return regmap_write(data->map, IDIO_16_DISABLE_IRQ, 0x00);
113 if (!config->map)
122 data->map = config->map;
140 err = regmap_write(data->map, IDIO_16_DISABLE_IRQ, 0x00);
144 err = devm_regmap_add_irq_chip(dev, data->map, config->irq, 0, 0, chip, &chip_data);
150 err = regmap_write(data->map, IDIO_16_DEACTIVATE_INPUT_FILTER
[all...]
/linux-master/include/drm/
H A Ddrm_gem_ttm_helper.h20 struct iosys_map *map);
22 struct iosys_map *map);
/linux-master/drivers/reset/hisilicon/
H A Dreset-hi3660.c16 struct regmap *map; member in struct:hi3660_reset_controller
30 return regmap_write(rc->map, offset, mask);
32 return regmap_write(rc->map, offset + 4, mask);
86 rc->map = syscon_regmap_lookup_by_phandle(np, "hisilicon,rst-syscon");
87 if (rc->map == ERR_PTR(-ENODEV)) {
89 rc->map = syscon_regmap_lookup_by_phandle(np,
92 if (IS_ERR(rc->map)) {
93 return dev_err_probe(dev, PTR_ERR(rc->map),
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_basic.c88 /* Create a map, populate it with one socket, and free the map. */
92 int s, map, err; local
98 map = bpf_map_create(map_type, NULL, sizeof(int), sizeof(int), 1, NULL);
99 if (!ASSERT_GE(map, 0, "bpf_map_create"))
102 err = bpf_map_update_elem(map, &zero, &s, BPF_NOEXIST);
107 close(map);
114 int err, map, verdict; local
121 map = bpf_map__fd(skel->maps.sock_map);
123 err = bpf_prog_attach(verdict, map, BPF_SK_MSG_VERDIC
140 int err, map; local
337 int err, map, verdict; local
365 int err, map; local
455 int n, err, map, verdict, s, c1 = -1, p1 = -1; local
510 int err, map, verdict, s, c0 = -1, c1 = -1, p0 = -1, p1 = -1; local
571 test_sockmap_skb_verdict_peek_helper(int map) argument
610 int err, map, verdict; local
633 int err, map; local
662 int err, map, stream = 0, dgram = 0, zero = 0; local
695 int i, err, map, entry = 0; local
763 int i, err, map[2], entry = 0; local
835 int i, err, map, zero = 0; local
[all...]
H A Dsockmap_ktls.c36 static void test_sockmap_ktls_disconnect_after_delete(int family, int map) argument
58 err = bpf_map_update_elem(map, &zero, &cli, 0);
66 err = bpf_map_delete_elem(map, &zero);
79 static void test_sockmap_ktls_update_fails_when_sock_has_ulp(int family, int map) argument
123 err = bpf_map_update_elem(map, &zero, &s, BPF_ANY);
151 int map; local
153 map = bpf_map_create(map_type, NULL, sizeof(int), sizeof(int), 1, NULL);
154 if (!ASSERT_GE(map, 0, "bpf_map_create"))
158 test_sockmap_ktls_disconnect_after_delete(family, map);
160 test_sockmap_ktls_update_fails_when_sock_has_ulp(family, map);
[all...]
/linux-master/net/core/
H A Dbpf_sk_storage.c21 bpf_sk_storage_lookup(struct sock *sk, struct bpf_map *map, bool cacheit_lockit) argument
31 smap = (struct bpf_local_storage_map *)map;
35 static int bpf_sk_storage_del(struct sock *sk, struct bpf_map *map) argument
39 sdata = bpf_sk_storage_lookup(sk, map, false);
64 static void bpf_sk_storage_map_free(struct bpf_map *map) argument
66 bpf_local_storage_map_free(map, &sk_cache, NULL);
74 static int notsupp_get_next_key(struct bpf_map *map, void *key, argument
80 static void *bpf_fd_sk_storage_lookup_elem(struct bpf_map *map, void *key) argument
89 sdata = bpf_sk_storage_lookup(sock->sk, map, true);
97 static long bpf_fd_sk_storage_update_elem(struct bpf_map *map, voi argument
117 bpf_fd_sk_storage_delete_elem(struct bpf_map *map, void *key) argument
172 struct bpf_map *map; local
472 diag_check_dup(const struct bpf_sk_storage_diag *diag, const struct bpf_map *map) argument
513 struct bpf_map *map = bpf_map_get(map_fd); local
698 struct bpf_map *map; member in struct:bpf_iter_seq_sk_storage_map_info
859 struct bpf_map *map; local
[all...]
/linux-master/fs/ext4/
H A Dreadpage.c154 * If a page does not map to a contiguous run of blocks then it simply falls
229 struct ext4_map_blocks map; local
232 map.m_pblk = 0;
233 map.m_lblk = 0;
234 map.m_len = 0;
235 map.m_flags = 0;
260 if ((map.m_flags & EXT4_MAP_MAPPED) &&
261 block_in_file > map.m_lblk &&
262 block_in_file < (map.m_lblk + map
[all...]
/linux-master/drivers/rapidio/devices/
H A Drio_mport_cdev.c366 struct rio_mport_mapping *map; local
371 map = kzalloc(sizeof(*map), GFP_KERNEL);
372 if (map == NULL)
379 map->dir = MAP_OUTBOUND;
380 map->rioid = rioid;
381 map->rio_addr = raddr;
382 map->size = size;
383 map->phys_addr = *paddr;
384 map
399 struct rio_mport_mapping *map; local
431 struct rio_mmap map; local
466 struct rio_mport_mapping *map, *_map; local
545 struct rio_mport_mapping *map; member in struct:mport_dma_req
900 struct rio_mport_mapping *map; local
1091 struct rio_mport_mapping *map; local
1121 struct rio_dma_mem map; local
1150 struct rio_mport_mapping *map, *_map; local
1206 struct rio_mport_mapping *map; local
1255 struct rio_mport_mapping *map; local
1289 struct rio_mmap map; local
1332 struct rio_mport_mapping *map, *_map; local
2018 struct rio_mport_mapping *map, *_map; local
2150 struct rio_mport_mapping *map = local
2177 struct rio_mport_mapping *map = vma->vm_private_data; local
2185 struct rio_mport_mapping *map = vma->vm_private_data; local
2206 struct rio_mport_mapping *map; local
2502 struct rio_mport_mapping *map, *_map; local
[all...]
/linux-master/arch/powerpc/platforms/ps3/
H A Dmm.c80 * struct map - address space state variables holder
97 struct map { struct
106 static void __maybe_unused _debug_dump_map(const struct map *m,
109 DBG("%s:%d: map.total = %llxh\n", func, line, m->total);
110 DBG("%s:%d: map.rm.size = %llxh\n", func, line, m->rm.size);
111 DBG("%s:%d: map.vas_id = %llu\n", func, line, m->vas_id);
112 DBG("%s:%d: map.htab_size = %llxh\n", func, line, m->htab_size);
113 DBG("%s:%d: map.r1.base = %llxh\n", func, line, m->r1.base);
114 DBG("%s:%d: map.r1.offset = %lxh\n", func, line, m->r1.offset);
115 DBG("%s:%d: map
118 static struct map map; variable in typeref:struct:map
[all...]
/linux-master/fs/erofs/
H A Dzmap.c12 struct erofs_map_blocks *map; member in struct:z_erofs_maprecorder
36 m->kaddr = erofs_read_metabuf(&m->map->buf, inode->i_sb,
258 m->kaddr = erofs_read_metabuf(&m->map->buf, inode->i_sb,
303 m->map->m_la = (lcn << lclusterbits) | m->clusterofs;
324 struct erofs_map_blocks *const map = m->map; local
339 map->m_plen = 1ULL << lclusterbits;
384 map->m_plen = erofs_pos(sb, m->compressedblks);
396 struct erofs_map_blocks *map = m->map; local
435 z_erofs_do_map_blocks(struct inode *inode, struct erofs_map_blocks *map, int flags) argument
640 struct erofs_map_blocks map = { local
661 struct erofs_map_blocks map = { local
683 z_erofs_map_blocks_iter(struct inode *inode, struct erofs_map_blocks *map, int flags) argument
723 struct erofs_map_blocks map = { .m_la = offset }; local
[all...]
/linux-master/sound/soc/uniphier/
H A Daio-core.c206 MAPCTR0_EN | sub->swm->rb.map);
208 MAPCTR0_EN | sub->swm->ch.map);
216 MAPCTR0_EN | sub->swm->iif.map);
218 MAPCTR0_EN | sub->swm->iport.map);
221 MAPCTR0_EN | sub->swm->oif.map);
223 MAPCTR0_EN | sub->swm->oport.map);
228 MAPCTR0_EN | sub->swm->oif.map);
230 MAPCTR0_EN | sub->swm->oport.map);
232 MAPCTR0_EN | sub->swm->och.map);
234 MAPCTR0_EN | sub->swm->iif.map);
[all...]

Completed in 224 milliseconds

<<11121314151617181920>>