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

<<11121314151617181920>>

/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
792 bpf_struct_ops_map_delete_elem(struct bpf_map *map, void *key) argument
820 bpf_struct_ops_map_seq_show_elem(struct bpf_map *map, void *key, struct seq_file *m) argument
842 __bpf_struct_ops_map_free(struct bpf_map *map) argument
854 bpf_struct_ops_map_free(struct bpf_map *map) argument
901 struct bpf_map *map; local
983 bpf_struct_ops_map_mem_usage(const struct bpf_map *map) argument
1019 struct bpf_map *map; local
1039 bpf_struct_ops_valid_to_reg(struct bpf_map *map) argument
1071 struct bpf_map *map; local
1084 struct bpf_map *map; local
1152 struct bpf_map *map; local
1193 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/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
512 struct bpf_map *map; local
703 struct bpf_map *map; member in struct:bpf_iter_seq_sk_storage_map_info
864 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/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...]
/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,
269 m->kaddr = erofs_read_metabuf(&m->map->buf, inode->i_sb,
314 m->map->m_la = (lcn << lclusterbits) | m->clusterofs;
335 struct erofs_map_blocks *const map = m->map; local
350 map->m_plen = 1ULL << lclusterbits;
395 map->m_plen = erofs_pos(sb, m->compressedblks);
407 struct erofs_map_blocks *map = m->map; local
446 z_erofs_do_map_blocks(struct inode *inode, struct erofs_map_blocks *map, int flags) argument
652 struct erofs_map_blocks map = { local
673 struct erofs_map_blocks map = { local
695 z_erofs_map_blocks_iter(struct inode *inode, struct erofs_map_blocks *map, int flags) argument
735 struct erofs_map_blocks map = { .m_la = offset }; local
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
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/drivers/pwm/
H A Dpwm-xilinx.c137 regmap_read(priv->map, TCSR0, &tcsr0);
138 regmap_read(priv->map, TCSR1, &tcsr1);
141 regmap_write(priv->map, TLR0, tlr0);
142 regmap_write(priv->map, TLR1, tlr1);
151 regmap_write(priv->map, TCSR0, tcsr0 | TCSR_LOAD);
152 regmap_write(priv->map, TCSR1, tcsr1 | TCSR_LOAD);
156 regmap_write(priv->map, TCSR0, tcsr0);
157 regmap_write(priv->map, TCSR1, tcsr1);
160 regmap_write(priv->map, TCSR0, 0);
161 regmap_write(priv->map, TCSR
[all...]
H A Dpwm-jz4740.c28 struct regmap *map; member in struct:jz4740_pwm_chip
93 regmap_set_bits(jz->map, TCU_REG_TCSRc(pwm->hwpwm), TCU_TCSR_PWM_EN);
96 regmap_write(jz->map, TCU_REG_TESR, BIT(pwm->hwpwm));
109 regmap_write(jz->map, TCU_REG_TDHRc(pwm->hwpwm), 0xffff);
110 regmap_write(jz->map, TCU_REG_TDFRc(pwm->hwpwm), 0x0);
117 regmap_clear_bits(jz->map, TCU_REG_TCSRc(pwm->hwpwm), TCU_TCSR_PWM_EN);
120 regmap_write(jz->map, TCU_REG_TECR, BIT(pwm->hwpwm));
178 regmap_write(jz->map, TCU_REG_TCNTc(pwm->hwpwm), 0);
181 regmap_write(jz->map, TCU_REG_TDHRc(pwm->hwpwm), duty);
184 regmap_write(jz->map, TCU_REG_TDFR
[all...]
/linux-master/arch/powerpc/kvm/
H A Dbook3s_64_mmu_host.c48 struct kvmppc_sid_map *map; local
55 map = &to_book3s(vcpu)->sid_map[sid_map_mask];
56 if (map->valid && (map->guest_vsid == gvsid)) {
57 trace_kvm_book3s_slb_found(gvsid, map->host_vsid);
58 return map;
61 map = &to_book3s(vcpu)->sid_map[SID_MAP_MASK - sid_map_mask];
62 if (map->valid && (map->guest_vsid == gvsid)) {
63 trace_kvm_book3s_slb_found(gvsid, map
82 struct kvmppc_sid_map *map; local
228 struct kvmppc_sid_map *map; local
320 struct kvmppc_sid_map *map; local
[all...]
/linux-master/tools/lib/perf/
H A Dcpumap.c14 void perf_cpu_map__set_nr(struct perf_cpu_map *map, int nr_cpus) argument
16 RC_CHK_ACCESS(map)->nr = nr_cpus;
36 RC_CHK_ACCESS(cpus)->map[0].cpu = -1;
41 static void cpu_map__delete(struct perf_cpu_map *map) argument
43 if (map) {
44 WARN_ONCE(refcount_read(perf_cpu_map__refcnt(map)) != 0,
46 RC_CHK_FREE(map);
50 struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map) argument
54 if (RC_CHK_GET(result, map))
55 refcount_inc(perf_cpu_map__refcnt(map));
60 perf_cpu_map__put(struct perf_cpu_map *map) argument
314 perf_cpu_map__has_any_cpu_or_is_empty(const struct perf_cpu_map *map) argument
370 perf_cpu_map__has_any_cpu(const struct perf_cpu_map *map) argument
375 perf_cpu_map__max(const struct perf_cpu_map *map) argument
[all...]

Completed in 205 milliseconds

<<11121314151617181920>>