Searched refs:map (Results 176 - 200 of 2570) sorted by relevance

1234567891011>>

/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...]
/linux-master/net/netfilter/ipset/
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...]
H A Dip_set_bitmap_ipmac.c84 const struct bitmap_ipmac *map, size_t dsize)
88 if (!test_bit(e->id, map->members))
90 elem = get_const_elem(map->extensions, e->id, dsize);
98 bitmap_ipmac_gc_test(u16 id, const struct bitmap_ipmac *map, size_t dsize) argument
102 if (!test_bit(id, map->members))
104 elem = get_const_elem(map->extensions, id, dsize);
119 struct bitmap_ipmac *map, int mode)
144 struct bitmap_ipmac *map, u32 flags, size_t dsize)
148 elem = get_elem(map->extensions, e->id, dsize);
149 if (test_bit(e->id, map
83 bitmap_ipmac_do_test(const struct bitmap_ipmac_adt_elem *e, const struct bitmap_ipmac *map, size_t dsize) argument
116 bitmap_ipmac_add_timeout(unsigned long *timeout, const struct bitmap_ipmac_adt_elem *e, const struct ip_set_ext *ext, struct ip_set *set, struct bitmap_ipmac *map, int mode) argument
143 bitmap_ipmac_do_add(const struct bitmap_ipmac_adt_elem *e, struct bitmap_ipmac *map, u32 flags, size_t dsize) argument
181 bitmap_ipmac_do_del(const struct bitmap_ipmac_adt_elem *e, struct bitmap_ipmac *map) argument
188 bitmap_ipmac_do_list(struct sk_buff *skb, const struct bitmap_ipmac *map, u32 id, size_t dsize) argument
201 bitmap_ipmac_do_head(struct sk_buff *skb, const struct bitmap_ipmac *map) argument
212 struct bitmap_ipmac *map = set->data; local
244 const struct bitmap_ipmac *map = set->data; local
299 init_map_ipmac(struct ip_set *set, struct bitmap_ipmac *map, u32 first_ip, u32 last_ip, u32 elements) argument
323 struct bitmap_ipmac *map; local
[all...]
/linux-master/drivers/base/regmap/
H A Dregmap-irq.c24 struct regmap *map; member in struct:regmap_irq_chip_data
60 struct regmap *map = data->map; local
67 return data->irq_reg_stride == 1 && map->reg_stride == 1 &&
69 !map->use_single_read;
82 struct regmap *map = d->map; local
88 ret = pm_runtime_get_sync(map->dev);
90 dev_err(map->dev, "IRQ sync failed to resume: %d\n",
98 ret = regmap_read(map, re
209 struct regmap *map = d->map; local
238 struct regmap *map = d->map; local
247 struct regmap *map = d->map; local
277 struct regmap *map = d->map; local
308 struct regmap *map = data->map; local
339 struct regmap *map = data->map; local
548 struct regmap *map = data->map; local
628 regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode, struct regmap *map, int irq, int irq_flags, int irq_base, const struct regmap_irq_chip *chip, struct regmap_irq_chip_data **data) argument
920 regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, int irq_base, const struct regmap_irq_chip *chip, struct regmap_irq_chip_data **data) argument
1015 devm_regmap_add_irq_chip_fwnode(struct device *dev, struct fwnode_handle *fwnode, struct regmap *map, int irq, int irq_flags, int irq_base, const struct regmap_irq_chip *chip, struct regmap_irq_chip_data **data) argument
1060 devm_regmap_add_irq_chip(struct device *dev, struct regmap *map, int irq, int irq_flags, int irq_base, const struct regmap_irq_chip *chip, struct regmap_irq_chip_data **data) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dmxm.c49 /* These map MXM v2.x digital connection values to the appropriate SOR/link,
81 u16 map = nvbios_rd16(bios, mxm + 4); local
82 if (map) {
83 ver = nvbios_rd08(bios, map);
85 if (conn < nvbios_rd08(bios, map + 3)) {
86 map += nvbios_rd08(bios, map + 1);
87 map += conn;
88 return nvbios_rd08(bios, map);
94 nvkm_warn(subdev, "unknown sor map
118 u16 map = nvbios_rd16(bios, mxm + 6); local
[all...]
/linux-master/fs/adfs/
H A DMakefile8 adfs-objs := dir.o dir_f.o dir_fplus.o file.o inode.o map.o super.o
/linux-master/drivers/iio/accel/
H A Dkxsd9.h9 struct regmap *map,
/linux-master/include/linux/iio/
H A Ddriver.h3 * Industrial I/O in kernel access map interface.
18 * @map: array of mappings specifying association of channel with client
21 struct iio_map *map);
34 * @maps: Pointer to an IIO map object which is to be registered to this IIO device
36 * This function will call iio_map_array_register() to register an IIO map object
38 * handle de-registration of the IIO map object when the device's refcount goes to
/linux-master/drivers/rtc/
H A Drtc-ds1347.c52 struct regmap *map = dev_get_drvdata(dev); local
57 err = regmap_read(map, DS1347_STATUS_REG, &status);
65 err = regmap_bulk_read(map, DS1347_CLOCK_BURST, buf, 8);
69 err = regmap_read(map, DS1347_CENTURY_REG, &century);
73 err = regmap_read(map, DS1347_SECONDS_REG, &secs);
91 struct regmap *map = dev_get_drvdata(dev); local
96 err = regmap_update_bits(map, DS1347_STATUS_REG,
110 err = regmap_bulk_write(map, DS1347_CLOCK_BURST, buf, 8);
115 err = regmap_write(map, DS1347_CENTURY_REG, bin2bcd(century));
119 return regmap_update_bits(map, DS1347_STATUS_RE
132 struct regmap *map; local
[all...]
/linux-master/drivers/firmware/efi/libstub/
H A Dbitmap.c3 void __bitmap_set(unsigned long *map, unsigned int start, int len) argument
5 unsigned long *p = map + BIT_WORD(start);
23 void __bitmap_clear(unsigned long *map, unsigned int start, int len) argument
25 unsigned long *p = map + BIT_WORD(start);
H A Drandomalloc.c64 struct efi_boot_memmap *map; local
68 status = efi_get_memory_map(&map, false);
77 /* count the suitable slots in each memory map entry */
78 for (map_offset = 0; map_offset < map->map_size; map_offset += map->desc_size) {
79 efi_memory_desc_t *md = (void *)map->map + map_offset;
100 * when iterating over the memory map the first time around.
102 * So iterate over the memory map again, subtracting the number of
109 for (map_offset = 0; map_offset < map
[all...]
/linux-master/tools/perf/util/
H A Dmap_symbol.c4 #include "map.h"
9 map__zput(ms->map);
/linux-master/drivers/gpu/drm/xe/compat-i915-headers/gem/
H A Di915_gem_object.h37 struct ttm_bo_kmap_obj map; local
46 ret = ttm_bo_kmap(&bo->ttm, ofs >> PAGE_SHIFT, 1, &map);
51 src = ttm_kmap_obj_virtual(&map, &is_iomem);
58 ttm_bo_kunmap(&map);
/linux-master/drivers/media/pci/intel/ipu6/
H A Dipu6-dma.h7 #include <linux/dma-map-ops.h>
/linux-master/fs/xfs/scrub/
H A Dattr.h27 bool xchk_xattr_set_map(struct xfs_scrub *sc, unsigned long *map,
/linux-master/tools/perf/tests/
H A Dsymbols.c11 #include "map.h"
46 struct map *map; member in struct:dso_map
49 static int find_map_cb(struct map *map, void *d) argument
53 if (map__dso(map) != data->dso)
55 data->map = map;
59 static struct map *find_module_map(struct machine *machine, struct dso *dso)
65 return data.map;
166 struct map *map = NULL; local
[all...]
/linux-master/kernel/trace/
H A Dtracing_map.h25 * zeroed array of struct tracing_map_entry (stored in the map field
58 * When tracing_map_create() is called to create the tracing map, the
61 * that the map can hold (stored in the max_elts field of struct
93 * calls tracing_map_init() to finish up the tracing map setup. The
139 struct tracing_map *map; member in struct:tracing_map_elt
190 struct tracing_map_array *map; member in struct:tracing_map
230 * claimed by tracing_map_insert() in the context of the map
245 extern int tracing_map_init(struct tracing_map *map);
247 extern int tracing_map_add_sum_field(struct tracing_map *map);
248 extern int tracing_map_add_var(struct tracing_map *map);
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmmgf100.c33 u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr)
35 u64 base = (addr >> 8) | map->type;
38 if (map->ctag && !(map->next & (1ULL << 44))) {
40 data = base | ((map->ctag >> 1) << 44);
41 if (!(map->ctag++ & 1))
45 base += map->next;
48 map->type += ptes * map->ctag;
52 data += map
32 gf100_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) argument
58 gf100_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
65 gf100_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
84 gf100_vmm_pgt_mem(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
237 gf100_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, struct nvkm_vmm_map *map) argument
[all...]
/linux-master/drivers/leds/
H A Dleds-syscon.c21 * @map: regmap to access the syscon device backing this LED
28 struct regmap *map; member in struct:syscon_led
50 ret = regmap_update_bits(sled->map, sled->offset, sled->mask, val);
61 struct regmap *map; local
72 map = syscon_node_to_regmap(dev_of_node(parent));
73 if (IS_ERR(map)) {
75 return PTR_ERR(map);
82 sled->map = map;
95 ret = regmap_update_bits(map, sle
[all...]
/linux-master/tools/testing/radix-tree/
H A Dbitmap.c5 void bitmap_clear(unsigned long *map, unsigned int start, int len) argument
7 unsigned long *p = map + BIT_WORD(start);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_libbpf_get_fd_by_id_opts.c27 int BPF_PROG(check_access, struct bpf_map *map, fmode_t fmode) argument
29 if (map != (struct bpf_map *)&data_input)
/linux-master/drivers/soc/gemini/
H A Dsoc-gemini.c41 struct regmap *map; local
50 map = syscon_regmap_lookup_by_compatible("cortina,gemini-syscon");
51 if (IS_ERR(map))
52 return PTR_ERR(map);
53 ret = regmap_read(map, GLOBAL_WORD_ID, &rev);
61 regmap_update_bits(map,
/linux-master/fs/xfs/libxfs/
H A Dxfs_bit.c20 xfs_bitmap_empty(uint *map, uint size) argument
25 if (map[i] != 0)
37 xfs_contig_bits(uint *map, uint size, uint start_bit) argument
39 uint * p = ((unsigned int *) map) + (start_bit >> BIT_TO_WORD_SHIFT);
76 int xfs_next_bit(uint *map, uint size, uint start_bit) argument
78 uint * p = ((unsigned int *) map) + (start_bit >> BIT_TO_WORD_SHIFT);
/linux-master/drivers/irqchip/
H A Dirq-gic-realview.c47 struct regmap *map; local
59 map = syscon_node_to_regmap(np);
61 if (!IS_ERR(map)) {
63 regmap_write(map, REALVIEW_SYS_LOCK_OFFSET,
65 regmap_update_bits(map, pld1_ctrl,
68 regmap_write(map, REALVIEW_SYS_LOCK_OFFSET, 0x0000);

Completed in 218 milliseconds

1234567891011>>