Searched refs:map (Results 501 - 525 of 2570) sorted by relevance

<<21222324252627282930>>

/linux-master/lib/
H A Ddynamic_debug.c153 struct ddebug_class_map *map; local
156 list_for_each_entry(map, &dt->maps, link) {
157 idx = match_string(map->class_names, map->length, class_string);
159 *class_id = idx + map->base;
160 return map;
182 struct ddebug_class_map *map = NULL; local
195 map = ddebug_find_valid_class(dt, query->class_string, &valid_class);
196 if (!map)
610 const struct ddebug_class_map *map local
641 const struct ddebug_class_map *map = dcp->map; local
721 const struct ddebug_class_map *map = dcp->map; local
792 const struct ddebug_class_map *map = dcp->map; local
1117 struct ddebug_class_map *map; local
[all...]
/linux-master/drivers/soc/aspeed/
H A Daspeed-p2a-ctrl.c129 struct aspeed_p2a_ctrl_mapping *map)
135 base = map->addr;
136 end = map->addr + (map->length - 1);
178 struct aspeed_p2a_ctrl_mapping map; local
180 if (copy_from_user(&map, arg, sizeof(map)))
190 if (map.flags == ASPEED_P2A_CTRL_READ_ONLY) {
199 } else if (map.flags == ASPEED_P2A_CTRL_READWRITE) {
201 if (!aspeed_p2a_region_acquire(priv, ctrl, &map)) {
127 aspeed_p2a_region_acquire(struct aspeed_p2a_user *priv, struct aspeed_p2a_ctrl *ctrl, struct aspeed_p2a_ctrl_mapping *map) argument
[all...]
/linux-master/tools/perf/tests/
H A Dhists_link.c9 #include "map.h"
21 struct map *map; member in struct:sample
100 map__put(fake_common_samples[k].map);
101 fake_common_samples[k].map = map__get(al.map);
120 map__put(fake_samples[i][k].map);
121 fake_samples[i][k].map = map__get(al.map);
140 map__put(fake_common_samples[i].map);
[all...]
/linux-master/drivers/clk/versatile/
H A Dclk-impd1.c66 struct regmap *map; local
73 map = syscon_node_to_regmap(parent);
74 if (IS_ERR(map)) {
76 return PTR_ERR(map);
90 clk = icst_clk_setup(NULL, desc, name, parent_name, map,
H A Dclk-icst.c39 * @map: register map
48 struct regmap *map; member in struct:clk_icst
68 ret = regmap_read(icst->map, icst->vcoreg_off, &val);
206 ret = regmap_write(icst->map, icst->lockreg_off, VERSATILE_LOCK_VAL);
209 ret = regmap_update_bits(icst->map, icst->vcoreg_off, mask, val);
213 ret = regmap_write(icst->map, icst->lockreg_off, 0);
307 ret = regmap_write(icst->map, icst->lockreg_off,
311 ret = regmap_update_bits(icst->map, icst->vcoreg_off,
317 ret = regmap_write(icst->map, ics
336 icst_clk_setup(struct device *dev, const struct clk_icst_desc *desc, const char *name, const char *parent_name, struct regmap *map, enum icst_control_type ctype) argument
391 struct regmap *map; local
485 struct regmap *map; local
[all...]
/linux-master/tools/perf/util/
H A Dsideband_evlist.c59 struct mmap *map = &evlist->mmap[i]; local
62 if (perf_mmap__read_init(&map->core))
64 while ((event = perf_mmap__read_event(&map->core)) != NULL) {
72 perf_mmap__consume(&map->core);
75 perf_mmap__read_done(&map->core);
/linux-master/drivers/mfd/
H A D88pm80x.c54 struct regmap *map; local
63 map = devm_regmap_init_i2c(client, &pm80x_regmap_config);
64 if (IS_ERR(map)) {
65 ret = PTR_ERR(map);
66 dev_err(&client->dev, "Failed to allocate register map: %d\n",
72 chip->regmap = map;
H A Dmax77650.c156 struct regmap *map; local
160 map = devm_regmap_init_i2c(i2c, &max77650_regmap_config);
161 if (IS_ERR(map)) {
163 return PTR_ERR(map);
166 rv = regmap_read(map, MAX77650_REG_CID, &val);
190 rv = regmap_update_bits(map,
199 rv = devm_regmap_add_irq_chip(dev, map, i2c->irq,
/linux-master/arch/x86/kernel/cpu/
H A Dtopology_ext.c49 const unsigned int *map; local
67 case 0x0b: maxtype = MAX_TYPE_0B; map = topo_domain_map_0b_1f; break;
68 case 0x1f: maxtype = MAX_TYPE_1F; map = topo_domain_map_0b_1f; break;
69 case 0x80000026: maxtype = MAX_TYPE_80000026; map = topo_domain_map_80000026; break;
89 dom = map[sl.type];
/linux-master/tools/perf/
H A Dbuiltin-buildid-list.c14 #include "util/map.h"
25 static int buildid__map_cb(struct map *map, void *arg __maybe_unused) argument
27 const struct dso *dso = map__dso(map);
35 printf("%s %16" PRIx64 " %16" PRIx64, bid_buf, map__start(map), map__end(map));
/linux-master/drivers/net/ethernet/ti/icssg/
H A Dicss_iep.c106 struct regmap *map; member in struct:icss_iep
252 regmap_update_bits(iep->map, ICSS_IEP_GLOBAL_CFG_REG,
259 regmap_update_bits(iep->map, ICSS_IEP_GLOBAL_CFG_REG,
274 regmap_update_bits(iep->map, ICSS_IEP_CMP_CFG_REG,
278 regmap_update_bits(iep->map, ICSS_IEP_CMP_CFG_REG,
285 regmap_update_bits(iep->map, ICSS_IEP_GLOBAL_STATUS_REG,
291 regmap_update_bits(iep->map, ICSS_IEP_CMP_STAT_REG,
296 regmap_update_bits(iep->map, ICSS_IEP_CMP_CFG_REG,
300 regmap_update_bits(iep->map, ICSS_IEP_CMP_CFG_REG,
305 regmap_write(iep->map, ICSS_IEP_CMP0_REG
[all...]
/linux-master/drivers/vdpa/mlx5/core/
H A Dmr.c94 static u64 map_start(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr) argument
96 return max_t(u64, map->start, mr->start);
99 static u64 map_end(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr) argument
101 return min_t(u64, map->last + 1, mr->end);
104 static u64 maplen(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr) argument
106 return map_end(map, mr) - map_start(map, mr);
226 struct vhost_iotlb_map *map; local
240 for (map = vhost_iotlb_itree_first(iotlb, mr->start, mr->end - 1);
241 map; ma
366 struct vhost_iotlb_map *map; local
459 struct vhost_iotlb_map *map; local
[all...]
/linux-master/sound/soc/qcom/
H A Dlpass-platform.c101 struct regmap *map)
119 rval = devm_regmap_field_bulk_alloc(dev, map, &rd_dmactl->intf,
124 return devm_regmap_field_bulk_alloc(dev, map, &wr_dmactl->intf,
129 struct regmap *map)
140 return devm_regmap_field_bulk_alloc(dev, map, &wr_dmactl->intf,
146 struct regmap *map)
166 rval = devm_regmap_field_bulk_alloc(dev, map, &rd_dmactl->intf,
171 return devm_regmap_field_bulk_alloc(dev, map, &wr_dmactl->intf,
176 struct regmap *map)
188 return devm_regmap_field_bulk_alloc(dev, map,
100 lpass_platform_alloc_rxtx_dmactl_fields(struct device *dev, struct regmap *map) argument
128 lpass_platform_alloc_va_dmactl_fields(struct device *dev, struct regmap *map) argument
145 lpass_platform_alloc_dmactl_fields(struct device *dev, struct regmap *map) argument
175 lpass_platform_alloc_hdmidmactl_fields(struct device *dev, struct regmap *map) argument
202 struct regmap *map; local
395 struct regmap *map = NULL; local
581 struct regmap *map; local
608 struct regmap *map; local
671 struct regmap *map; local
871 struct regmap *map; local
936 struct regmap *map; local
1192 struct regmap *map; local
1209 struct regmap *map; local
[all...]
/linux-master/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_magn.c176 ret = regmap_write(st->map, INV_MPU6050_REG_I2C_SLV_ADDR(0),
181 ret = regmap_write(st->map, INV_MPU6050_REG_I2C_SLV_REG(0),
186 ret = regmap_write(st->map, INV_MPU6050_REG_I2C_SLV_CTRL(0),
195 ret = regmap_write(st->map, INV_MPU6050_REG_I2C_SLV_ADDR(1),
200 ret = regmap_write(st->map, INV_MPU6050_REG_I2C_SLV_REG(1),
215 ret = regmap_write(st->map, INV_MPU6050_REG_I2C_SLV_DO(1), val);
219 return regmap_write(st->map, INV_MPU6050_REG_I2C_SLV_CTRL(1),
251 return regmap_write(st->map, INV_MPU6050_REG_I2C_SLV4_CTRL, d);
264 struct device *dev = regmap_get_device(st->map);
350 ret = regmap_read(st->map, INV_MPU6050_REG_I2C_MST_STATU
[all...]
H A Dinv_mpu_trigger.c118 ret = regmap_write(st->map, st->reg->user_ctrl, d);
131 ret = regmap_write(st->map, st->reg->fifo_en, d);
136 ret = regmap_write(st->map, st->reg->user_ctrl, d);
140 ret = regmap_update_bits(st->map, st->reg->int_enable,
144 ret = regmap_update_bits(st->map, st->reg->int_enable,
148 ret = regmap_write(st->map, st->reg->fifo_en, 0);
152 ret = regmap_write(st->map, st->reg->user_ctrl,
167 struct device *pdev = regmap_get_device(st->map);
268 result = regmap_read(st->map, st->reg->int_status, &int_status);
270 dev_err(regmap_get_device(st->map), "faile
[all...]
/linux-master/sound/soc/meson/
H A Daxg-tdmin.c89 static void axg_tdmin_enable(struct regmap *map) argument
92 regmap_update_bits(map, TDMIN_CTRL,
96 regmap_update_bits(map, TDMIN_CTRL,
98 regmap_update_bits(map, TDMIN_CTRL,
102 regmap_update_bits(map, TDMIN_CTRL,
106 static void axg_tdmin_disable(struct regmap *map) argument
108 regmap_update_bits(map, TDMIN_CTRL, TDMIN_CTRL_ENABLE, 0);
111 static int axg_tdmin_prepare(struct regmap *map, argument
156 regmap_update_bits(map, TDMIN_CTRL,
162 regmap_write(map, TDMIN_SWA
[all...]
/linux-master/drivers/power/supply/
H A Dmax77650-charger.c70 struct regmap *map; member in struct:max77650_charger_data
95 rv = regmap_update_bits(chg->map,
116 rv = regmap_update_bits(chg->map,
134 rv = regmap_update_bits(chg->map,
148 rv = regmap_update_bits(chg->map,
161 rv = regmap_read(chg->map, MAX77650_REG_STAT_CHG_B, &reg);
197 rv = regmap_read(chg->map, MAX77650_REG_STAT_CHG_B, &reg);
230 rv = regmap_read(chg->map, MAX77650_REG_STAT_CHG_B, &reg);
237 rv = regmap_read(chg->map, MAX77650_REG_STAT_CHG_B, &reg);
295 chg->map
[all...]
/linux-master/drivers/mtd/hyperbus/
H A Dhbmc-am654.c40 struct map_info *map = &hbdev->map; local
48 cfi_send_gen_cmd(0xF0, 0, 0, map, &cfi, cfi.device_type, NULL);
49 cfi_send_gen_cmd(0x98, 0x55, 0, map, &cfi, cfi.device_type, NULL);
52 ret = cfi_qry_present(map, 0, &cfi);
61 cfi_qry_mode_off(0, map, &cfi);
130 memcpy_fromio(to, hbdev->map.virt + from, len);
193 priv->hbdev.map.size = resource_size(&res);
194 priv->hbdev.map.virt = devm_ioremap_resource(dev, &res);
195 if (IS_ERR(priv->hbdev.map
[all...]
/linux-master/sound/usb/
H A Dstream.c177 if (put_user(fp->chmap->map[i], dst))
201 ucontrol->value.integer.value[i] = chmap->map[i];
291 if (channels > ARRAY_SIZE(chmap->map))
305 chmap->map[c++] = *maps;
311 to make sure the channel map is not skipped entirely */
313 chmap->map[c++] = SNDRV_CHMAP_MONO;
316 chmap->map[c++] = *maps;
320 chmap->map[c] = SNDRV_CHMAP_UNKNOWN;
335 if (channels > ARRAY_SIZE(chmap->map))
356 unsigned char map; local
[all...]
/linux-master/tools/lib/bpf/
H A Dlibbpf.h73 * @brief **libbpf_bpf_map_type_str()** converts the provided map type value
75 * @param t The map type.
76 * @return Pointer to a static string identifying the map type. NULL is
122 /* parse map definitions non-strictly, allowing extra attributes/data */
183 * that accept BPF token (e.g., map creation, BTF and program loads,
258 * @brief **bpf_object__pin_maps()** pins each map contained within
264 * If `path` is NULL `bpf_map__pin` (which is being used on each map)
265 * will use the pin_path attribute of each map. In this case, maps that
271 * @brief **bpf_object__unpin_maps()** unpins each map contained within
277 * If `path` is NULL `bpf_map__unpin` (which is being used on each map)
1670 struct bpf_map **map; member in struct:bpf_map_skeleton
1708 struct bpf_map **map; member in struct:bpf_var_skeleton
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmmnv04.c29 u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr)
40 u32 ptei, u32 ptes, struct nvkm_vmm_map *map)
42 VMM_MAP_ITER_SGL(vmm, pt, ptei, ptes, map, nv04_vmm_pgt_pte);
47 u32 ptei, u32 ptes, struct nvkm_vmm_map *map)
52 VMM_WO032(pt, vmm, 8 + (ptei++ * 4), *map->dma++ | 0x00000003);
55 VMM_MAP_ITER_DMA(vmm, pt, ptei, ptes, map, nv04_vmm_pgt_pte);
81 struct nvkm_vmm_map *map)
28 nv04_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) argument
39 nv04_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
46 nv04_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
80 nv04_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, struct nvkm_vmm_map *map) argument
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dglobal_data.c106 struct bpf_map *map, *map2; local
109 map = bpf_object__find_map_by_name(obj, "test_glo.rodata");
110 if (!ASSERT_OK_PTR(map, "map"))
112 if (!ASSERT_TRUE(bpf_map__is_internal(map), "is_internal"))
117 if (!ASSERT_EQ(map, map2, "same_maps"))
120 map_fd = bpf_map__fd(map);
124 buff = malloc(bpf_map__value_size(map));
128 CHECK(!err || errno != EPERM, "test .rodata read-only map",
/linux-master/drivers/ras/amd/atl/
H A Dcore.c25 dram_limit_addr = FIELD_GET(DF4_DRAM_LIMIT_ADDR, ctx->map.limit);
27 dram_limit_addr = FIELD_GET(DF2_DRAM_LIMIT_ADDR, ctx->map.limit);
44 u32 reg = ctx->map.base;
47 reg = ctx->map.ctl;
79 base_addr = FIELD_GET(DF4_BASE_ADDR, ctx->map.base);
81 base_addr = FIELD_GET(DF2_BASE_ADDR, ctx->map.base);
104 if (ctx->map.intlv_mode == DF3_6CHAN)
/linux-master/kernel/bpf/
H A Dlpm_trie.c33 struct bpf_map map; member in struct:lpm_trie
236 static void *trie_lookup_elem(struct bpf_map *map, void *_key) argument
238 struct lpm_trie *trie = container_of(map, struct lpm_trie, map);
297 size += trie->map.value_size;
299 node = bpf_map_kmalloc_node(&trie->map, size, GFP_NOWAIT | __GFP_NOWARN,
300 trie->map.numa_node);
308 trie->map.value_size);
314 static long trie_update_elem(struct bpf_map *map, argument
317 struct lpm_trie *trie = container_of(map, struc
447 trie_delete_elem(struct bpf_map *map, void *_key) argument
589 trie_free(struct bpf_map *map) argument
628 trie_get_next_key(struct bpf_map *map, void *_key, void *_next_key) argument
726 trie_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
736 trie_mem_usage(const struct bpf_map *map) argument
[all...]
/linux-master/include/linux/
H A Ddma-buf.h16 #include <linux/iosys-map.h>
127 * This is called by dma_buf_map_attachment() and is used to map a
286 int (*vmap)(struct dma_buf *dmabuf, struct iosys_map *map);
287 void (*vunmap)(struct dma_buf *dmabuf, struct iosys_map *map);
578 * locked for the map/unmap callbacks, false if it doesn't wants to be called
591 * Returns true if a DMA-buf importer wants to call the map/unmap functions with
635 int dma_buf_vmap(struct dma_buf *dmabuf, struct iosys_map *map);
636 void dma_buf_vunmap(struct dma_buf *dmabuf, struct iosys_map *map);
637 int dma_buf_vmap_unlocked(struct dma_buf *dmabuf, struct iosys_map *map);
638 void dma_buf_vunmap_unlocked(struct dma_buf *dmabuf, struct iosys_map *map);
[all...]

Completed in 252 milliseconds

<<21222324252627282930>>