Searched refs:map (Results 301 - 325 of 2570) sorted by relevance

<<11121314151617181920>>

/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/drivers/net/wireless/realtek/rtw88/
H A Drtw8723x.c66 #define DBG_EFUSE_VAL(rtwdev, map, name) \
68 (map)->name)
69 #define DBG_EFUSE_2BYTE(rtwdev, map, name) \
71 (map)->name[0], (map)->name[1])
74 struct rtw8723x_efuse *map)
76 rtw_dbg(rtwdev, RTW_DBG_EFUSE, "mac_addr=%pM\n", map->e.mac_addr);
77 DBG_EFUSE_2BYTE(rtwdev, map, e.vendor_id);
78 DBG_EFUSE_2BYTE(rtwdev, map, e.device_id);
79 DBG_EFUSE_2BYTE(rtwdev, map,
73 rtw8723xe_efuse_debug(struct rtw_dev *rtwdev, struct rtw8723x_efuse *map) argument
83 rtw8723xu_efuse_debug(struct rtw_dev *rtwdev, struct rtw8723x_efuse *map) argument
92 rtw8723xs_efuse_debug(struct rtw_dev *rtwdev, struct rtw8723x_efuse *map) argument
176 efuse_debug_dump(struct rtw_dev *rtwdev, struct rtw8723x_efuse *map) argument
223 rtw8723xe_efuse_parsing(struct rtw_efuse *efuse, struct rtw8723x_efuse *map) argument
229 rtw8723xu_efuse_parsing(struct rtw_efuse *efuse, struct rtw8723x_efuse *map) argument
235 rtw8723xs_efuse_parsing(struct rtw_efuse *efuse, struct rtw8723x_efuse *map) argument
244 struct rtw8723x_efuse *map; local
[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/drivers/crypto/tegra/
H A Dtegra-se-main.c47 struct host1x_bo_mapping *map; local
50 map = kzalloc(sizeof(*map), GFP_KERNEL);
51 if (!map)
54 kref_init(&map->ref);
55 map->bo = host1x_bo_get(bo);
56 map->direction = direction;
57 map->dev = dev;
59 map->sgt = kzalloc(sizeof(*map
88 tegra_se_cmdbuf_unpin(struct host1x_bo_mapping *map) argument
[all...]
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_dcb.c149 dscp_map = &qos.dscp.map;
150 pcp_map = &qos.pcp.map;
158 for (i = 0; i < ARRAY_SIZE(dscp_map->map); i++) {
161 dscp_map->map[i] = dcb_getapp(dev, &app_itr);
165 for (i = 0; i < ARRAY_SIZE(pcp_map->map); i++) {
168 pcp_map->map[i] = dcb_getapp(dev, &app_itr);
173 for (i = 0; i < ARRAY_SIZE(pcp_rewr_map.map); i++) {
174 if (!pcp_rewr_map.map[i])
177 qos.pcp_rewr.map.map[
[all...]
/linux-master/kernel/bpf/
H A Dcpumap.c8 * DOC: cpu map
9 * The 'cpumap' is primarily used as a backend map for XDP BPF helper
13 * this map type redirects raw XDP frames to another CPU. The remote
57 /* Struct for every remote "destination" CPU in map */
59 u32 cpu; /* kthread CPU and map index */
60 int map_id; /* Back reference to map */
77 struct bpf_map map; member in struct:bpf_cpu_map
78 /* Below members specific for map type */
104 bpf_map_init_from_attr(&cmap->map, attr);
107 cmap->cpu_map = bpf_map_area_alloc(cmap->map
369 __cpu_map_load_bpf_program(struct bpf_cpu_map_entry *rcpu, struct bpf_map *map, int fd) argument
391 __cpu_map_entry_alloc(struct bpf_map *map, struct bpf_cpumap_val *value, u32 cpu) argument
515 cpu_map_delete_elem(struct bpf_map *map, void *key) argument
528 cpu_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
566 cpu_map_free(struct bpf_map *map) argument
602 __cpu_map_lookup_elem(struct bpf_map *map, u32 key) argument
615 cpu_map_lookup_elem(struct bpf_map *map, void *key) argument
623 cpu_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
640 cpu_map_redirect(struct bpf_map *map, u64 index, u64 flags) argument
646 cpu_map_mem_usage(const struct bpf_map *map) argument
[all...]
H A Dringbuf.c77 struct bpf_map map; member in struct:bpf_ringbuf_map
202 bpf_map_init_from_attr(&rb_map->map, attr);
204 rb_map->rb = bpf_ringbuf_alloc(attr->max_entries, rb_map->map.numa_node);
210 return &rb_map->map;
227 static void ringbuf_map_free(struct bpf_map *map) argument
231 rb_map = container_of(map, struct bpf_ringbuf_map, map);
236 static void *ringbuf_map_lookup_elem(struct bpf_map *map, void *key) argument
241 static long ringbuf_map_update_elem(struct bpf_map *map, void *key, void *value, argument
247 static long ringbuf_map_delete_elem(struct bpf_map *map, voi argument
252 ringbuf_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
258 ringbuf_map_mmap_kern(struct bpf_map *map, struct vm_area_struct *vma) argument
276 ringbuf_map_mmap_user(struct bpf_map *map, struct vm_area_struct *vma) argument
310 ringbuf_map_poll_kern(struct bpf_map *map, struct file *filp, struct poll_table_struct *pts) argument
323 ringbuf_map_poll_user(struct bpf_map *map, struct file *filp, struct poll_table_struct *pts) argument
336 ringbuf_map_mem_usage(const struct bpf_map *map) argument
[all...]
H A Darena.c44 struct bpf_map map; member in struct:bpf_arena
63 static long arena_map_peek_elem(struct bpf_map *map, void *value) argument
68 static long arena_map_push_elem(struct bpf_map *map, void *value, u64 flags) argument
73 static long arena_map_pop_elem(struct bpf_map *map, void *value) argument
78 static long arena_map_delete_elem(struct bpf_map *map, void *value) argument
83 static int arena_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
134 bpf_map_init_from_attr(&arena->map, attr);
138 return &arena->map;
164 static void arena_map_free(struct bpf_map *map) argument
166 struct bpf_arena *arena = container_of(map, struc
190 arena_map_lookup_elem(struct bpf_map *map, void *key) argument
195 arena_map_update_elem(struct bpf_map *map, void *key, void *value, u64 flags) argument
201 arena_map_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
207 arena_map_mem_usage(const struct bpf_map *map) argument
232 struct bpf_map *map = vma->vm_file->private_data; local
247 struct bpf_map *map = vmf->vma->vm_file->private_data; local
298 struct bpf_map *map = filp->private_data; local
328 arena_map_mmap(struct bpf_map *map, struct vm_area_struct *vma) argument
367 arena_map_direct_value_addr(const struct bpf_map *map, u64 *imm, u32 off) argument
535 struct bpf_map *map = p__map; local
546 struct bpf_map *map = p__map; local
[all...]
/linux-master/arch/arm64/kvm/
H A Darch_timer.c178 void get_timer_map(struct kvm_vcpu *vcpu, struct timer_map *map) argument
182 map->direct_vtimer = vcpu_hvtimer(vcpu);
183 map->direct_ptimer = vcpu_hptimer(vcpu);
184 map->emul_vtimer = vcpu_vtimer(vcpu);
185 map->emul_ptimer = vcpu_ptimer(vcpu);
187 map->direct_vtimer = vcpu_vtimer(vcpu);
188 map->direct_ptimer = vcpu_ptimer(vcpu);
189 map->emul_vtimer = vcpu_hvtimer(vcpu);
190 map->emul_ptimer = vcpu_hptimer(vcpu);
193 map
228 struct timer_map map; local
574 struct timer_map map; local
713 kvm_timer_vcpu_load_nested_switch(struct kvm_vcpu *vcpu, struct timer_map *map) argument
764 timer_set_traps(struct kvm_vcpu *vcpu, struct timer_map *map) argument
829 struct timer_map map; local
880 struct timer_map map; local
941 struct timer_map map; local
1172 struct timer_map map; local
1225 struct timer_map map; local
1509 struct timer_map map; local
[all...]
/linux-master/drivers/ras/amd/atl/
H A Ddehash.c25 if (!(ctx->map.intlv_bit_pos == bit1 || ctx->map.intlv_bit_pos == bit2)) {
26 pr_debug("Invalid interleave bit: %u", ctx->map.intlv_bit_pos);
30 if (ctx->map.num_intlv_dies > num_intlv_dies) {
31 pr_debug("Invalid number of interleave dies: %u", ctx->map.num_intlv_dies);
35 if (ctx->map.num_intlv_sockets > num_intlv_sockets) {
36 pr_debug("Invalid number of interleave sockets: %u", ctx->map.num_intlv_sockets);
50 intlv_bit_pos = ctx->map.intlv_bit_pos;
73 hash_ctl_64k = FIELD_GET(DF3_HASH_CTL_64K, ctx->map.ctl);
74 hash_ctl_2M = FIELD_GET(DF3_HASH_CTL_2M, ctx->map
[all...]
/linux-master/net/netfilter/ipset/
H A Dip_set_list_set.c53 struct list_set *map = set->data; local
63 list_for_each_entry_rcu(e, &map->members, list) {
78 struct list_set *map = set->data; local
82 list_for_each_entry(e, &map->members, list) {
98 struct list_set *map = set->data; local
102 list_for_each_entry(e, &map->members, list) {
155 struct list_set *map = set->data; local
159 ip_set_put_byindex(map->net, e->id);
166 struct list_set *map = set->data; local
169 ip_set_put_byindex(map
176 struct list_set *map = set->data; local
188 struct list_set *map = set->data; local
235 struct list_set *map = set->data; local
317 struct list_set *map = set->data; local
349 struct list_set *map = set->data; local
414 struct list_set *map = set->data; local
426 struct list_set *map = set->data; local
442 list_set_memsize(const struct list_set *map, size_t dsize) argument
458 const struct list_set *map = set->data; local
483 const struct list_set *map = set->data; local
548 struct list_set *map = set->data; local
573 struct list_set *map = from_timer(map, t, gc); local
587 struct list_set *map = set->data; local
598 struct list_set *map; local
[all...]
/linux-master/fs/adfs/
H A Dmap.c3 * linux/fs/adfs/map.c
13 * The ADFS map is basically a set of sectors. Each sector is called a
29 * A fragment id can be repeated multiple times in the whole map for
30 * large or fragmented files. The first map zone a fragment starts in
36 * however, the frag id specifies an offset (in map bits) from the end
51 * This is fun. We need to load up to 19 bits from the map at an
63 * return the map bit offset of the fragment frag_id in the zone dm.
66 * gcc -D__KERNEL__ -O2 -I../../include -o - -S map.c
73 unsigned char *map = dm->dm_bh->b_data; local
78 frag = GET_FRAG_ID(map,
121 unsigned char *map = dm->dm_bh->b_data; local
260 adfs_calczonecheck(struct super_block *sb, unsigned char *map) argument
290 unsigned char *map; local
[all...]
/linux-master/arch/arm/mm/
H A Dmmu.c35 #include <asm/mach/map.h>
576 * r/o, kernel r/w to map the vectors page.
817 * With LPAE, we must loop over to map
958 pr_warn("BUG: map for 0x%08llx at 0x%08lx can not be mapped using pages, ignoring.\n",
1151 struct map_desc map; local
1153 debug_ll_addr(&map.pfn, &map.virtual);
1154 if (!map.pfn || !map.virtual)
1156 map
1379 struct map_desc map; local
1507 struct map_desc map; local
1610 struct map_desc map; local
1739 struct map_desc map; local
[all...]
/linux-master/net/netlabel/
H A Dnetlabel_cipso_v4.c145 doi_def->map.std = kzalloc(sizeof(*doi_def->map.std), GFP_KERNEL);
146 if (doi_def->map.std == NULL) {
173 doi_def->map.std->lvl.local_size)
174 doi_def->map.std->lvl.local_size =
182 doi_def->map.std->lvl.cipso_size)
183 doi_def->map.std->lvl.cipso_size =
188 doi_def->map.std->lvl.local = kcalloc(doi_def->map.std->lvl.local_size,
191 if (doi_def->map
[all...]
/linux-master/tools/perf/util/
H A Dcpumap.c67 struct perf_cpu_map *map; local
69 map = perf_cpu_map__empty_new(data->cpus_data.nr);
70 if (map) {
76 * and we need to use (int) -1 to initialize map[i],
80 RC_CHK_ACCESS(map)->map[i].cpu = -1;
82 RC_CHK_ACCESS(map)->map[i].cpu = (int) data->cpus_data.cpu[i];
86 return map;
93 struct perf_cpu_map *map; local
118 struct perf_cpu_map *map; local
151 cpu_map__fprintf(struct perf_cpu_map *map, FILE *fp) argument
600 cpu_map__snprint(struct perf_cpu_map *map, char *buf, size_t size) argument
654 cpu_map__snprint_mask(struct perf_cpu_map *map, char *buf, size_t size) argument
[all...]
/linux-master/drivers/clk/meson/
H A Dparm.h30 static inline unsigned int meson_parm_read(struct regmap *map, struct parm *p) argument
34 regmap_read(map, p->reg_off, &val);
38 static inline void meson_parm_write(struct regmap *map, struct parm *p, argument
41 regmap_update_bits(map, p->reg_off, SETPMASK(p->width, p->shift),
/linux-master/drivers/clk/berlin/
H A Dberlin2-pll.h19 int berlin2_pll_register(const struct berlin2_pll_map *map,
/linux-master/arch/arm/mach-bcm/
H A Dboard_bcm2835.c11 #include <asm/mach/map.h>
/linux-master/arch/arm/mach-npcm/
H A Dnpcm7xx.c9 #include <asm/mach/map.h>
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dgpuobj.c35 return ioread32_native(gpuobj->map + offset);
41 iowrite32_native(data, gpuobj->map + offset);
78 .map = nvkm_gpuobj_heap_map,
86 .map = nvkm_gpuobj_heap_map,
92 gpuobj->map = nvkm_kmap(gpuobj->memory);
93 if (likely(gpuobj->map))
97 return gpuobj->map;
103 .map = nvkm_gpuobj_heap_map,
141 .map = nvkm_gpuobj_map,
149 .map
[all...]
/linux-master/fs/hpfs/
H A DMakefile9 inode.o map.o name.o namei.o super.o
/linux-master/sound/soc/codecs/
H A Drl6231.h31 int rl6231_get_pre_div(struct regmap *map, unsigned int reg, int sft);
/linux-master/include/soc/tegra/
H A Divc.h11 #include <linux/iosys-map.h>
20 struct iosys_map map; member in struct:tegra_ivc::__anon4060
41 int tegra_ivc_read_get_next_frame(struct tegra_ivc *ivc, struct iosys_map *map);
61 int tegra_ivc_write_get_next_frame(struct tegra_ivc *ivc, struct iosys_map *map);
/linux-master/arch/x86/platform/efi/
H A DMakefile9 obj-$(CONFIG_EFI_RUNTIME_MAP) += runtime-map.o

Completed in 235 milliseconds

<<11121314151617181920>>