Searched refs:map (Results 376 - 400 of 2570) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/pinctrl/
H A Dpinconf.c40 int pinconf_validate_map(const struct pinctrl_map *map, int i) argument
42 if (!map->data.configs.group_or_pin) {
43 pr_err("failed to register map %s (%d): no group/pin given\n",
44 map->name, i);
48 if (!map->data.configs.num_configs ||
49 !map->data.configs.configs) {
50 pr_err("failed to register map %s (%d): no configs given\n",
51 map->name, i);
109 int pinconf_map_to_setting(const struct pinctrl_map *map, argument
118 map
238 pinconf_show_map(struct seq_file *s, const struct pinctrl_map *map) argument
[all...]
/linux-master/drivers/iio/adc/
H A Dad7091r-base.c46 ret = regmap_write(st->map, AD7091R_REG_CHANNEL,
55 return regmap_read(st->map, AD7091R_REG_RESULT, &dummy);
69 ret = regmap_read(st->map, AD7091R_REG_RESULT, &val);
132 ret = regmap_read(st->map,
139 ret = regmap_read(st->map,
158 return regmap_set_bits(st->map, AD7091R_REG_CONF,
167 return regmap_write(st->map,
171 return regmap_write(st->map,
193 ret = regmap_read(st->map,
200 ret = regmap_read(st->map,
[all...]
/linux-master/include/trace/events/
H A Derofs.h147 TP_PROTO(struct inode *inode, struct erofs_map_blocks *map,
150 TP_ARGS(inode, map, flags),
163 __entry->la = map->m_la;
164 __entry->llen = map->m_llen;
175 TP_PROTO(struct inode *inode, struct erofs_map_blocks *map,
178 TP_ARGS(inode, map, flags)
182 TP_PROTO(struct inode *inode, struct erofs_map_blocks *map,
185 TP_ARGS(inode, map, flags)
189 TP_PROTO(struct inode *inode, struct erofs_map_blocks *map,
192 TP_ARGS(inode, map, flag
[all...]
/linux-master/drivers/gpu/drm/tegra/
H A Dgem.c64 struct host1x_bo_mapping *map; local
67 map = kzalloc(sizeof(*map), GFP_KERNEL);
68 if (!map)
71 kref_init(&map->ref);
72 map->bo = host1x_bo_get(bo);
73 map->direction = direction;
74 map->dev = dev;
82 map->attach = dma_buf_attach(buf, dev);
83 if (IS_ERR(map
161 tegra_bo_unpin(struct host1x_bo_mapping *map) argument
180 struct iosys_map map = { 0 }; local
206 struct iosys_map map = IOSYS_MAP_INIT_VADDR(addr); local
714 tegra_gem_prime_vmap(struct dma_buf *buf, struct iosys_map *map) argument
729 tegra_gem_prime_vunmap(struct dma_buf *buf, struct iosys_map *map) argument
[all...]
/linux-master/drivers/char/ipmi/
H A Dkcs_bmc_aspeed.c116 struct regmap *map; member in struct:aspeed_kcs_bmc
141 rc = regmap_read(priv->map, reg, &val);
152 rc = regmap_write(priv->map, reg, data);
174 regmap_update_bits(priv->map, LPC_SIRQCR0, LPC_SIRQCR0_IRQ12E1,
178 regmap_update_bits(priv->map, LPC_SIRQCR0, LPC_SIRQCR0_IRQ1E1,
186 regmap_update_bits(priv->map, LPC_HICR5, LPC_HICR5_IRQXE2, LPC_HICR5_IRQXE2);
189 regmap_update_bits(priv->map, LPC_HICR5, LPC_HICR5_IRQXE3, LPC_HICR5_IRQXE3);
192 regmap_update_bits(priv->map, LPC_HICRC, LPC_HICRC_IRQXE4, LPC_HICRC_IRQXE4);
204 rc = regmap_update_bits(priv->map, reg, mask, val);
237 regmap_update_bits(priv->map, LPC_HICR
[all...]
/linux-master/net/ceph/
H A Dosdmap.c15 void osdmap_info(const struct ceph_osdmap *map, const char *fmt, ...) argument
24 printk(KERN_INFO "%s (%pU e%u): %pV", KBUILD_MODNAME, &map->fsid,
25 map->epoch, &vaf);
69 * decode crush map
738 struct ceph_pg_pool_info *ceph_pg_pool_by_id(struct ceph_osdmap *map, u64 id) argument
740 return lookup_pg_pool(&map->pg_pools, id);
743 const char *ceph_pg_pool_name_by_id(struct ceph_osdmap *map, u64 id) argument
753 pi = lookup_pg_pool(&map->pg_pools, id);
758 int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name) argument
762 for (rbp = rb_first(&map
772 ceph_pg_pool_flags(struct ceph_osdmap *map, u64 id) argument
952 decode_pool_names(void **p, void *end, struct ceph_osdmap *map) argument
1125 struct ceph_osdmap *map; local
1143 ceph_osdmap_destroy(struct ceph_osdmap *map) argument
1197 osdmap_set_max_osd(struct ceph_osdmap *map, u32 max) argument
1261 osdmap_set_crush(struct ceph_osdmap *map, struct crush_map *crush) argument
1339 __decode_pools(void **p, void *end, struct ceph_osdmap *map, bool incremental) argument
1378 decode_pools(void **p, void *end, struct ceph_osdmap *map) argument
1383 decode_new_pools(void **p, void *end, struct ceph_osdmap *map) argument
1459 decode_pg_temp(void **p, void *end, struct ceph_osdmap *map) argument
1465 decode_new_pg_temp(void **p, void *end, struct ceph_osdmap *map) argument
1492 decode_primary_temp(void **p, void *end, struct ceph_osdmap *map) argument
1498 decode_new_primary_temp(void **p, void *end, struct ceph_osdmap *map) argument
1505 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd) argument
1515 set_primary_affinity(struct ceph_osdmap *map, int osd, u32 aff) argument
1538 decode_primary_affinity(void **p, void *end, struct ceph_osdmap *map) argument
1568 decode_new_primary_affinity(void **p, void *end, struct ceph_osdmap *map) argument
1600 decode_pg_upmap(void **p, void *end, struct ceph_osdmap *map) argument
1606 decode_new_pg_upmap(void **p, void *end, struct ceph_osdmap *map) argument
1612 decode_old_pg_upmap(void **p, void *end, struct ceph_osdmap *map) argument
1644 decode_pg_upmap_items(void **p, void *end, struct ceph_osdmap *map) argument
1650 decode_new_pg_upmap_items(void **p, void *end, struct ceph_osdmap *map) argument
1657 decode_old_pg_upmap_items(void **p, void *end, struct ceph_osdmap *map) argument
1666 osdmap_decode(void **p, void *end, bool msgr2, struct ceph_osdmap *map) argument
1819 struct ceph_osdmap *map; local
1843 decode_new_up_state_weight(void **p, void *end, u8 struct_v, bool msgr2, struct ceph_osdmap *map) argument
1965 osdmap_apply_incremental(void **p, void *end, bool msgr2, struct ceph_osdmap *map) argument
2490 do_crush(struct ceph_osdmap *map, int ruleno, int x, int *result, int result_max, const __u32 *weight, int weight_max, s64 choose_args_index) argument
[all...]
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_qp.c45 struct rvt_qpn_map *map, unsigned off)
47 return (map - qpt->map) * RVT_BITS_PER_PAGE + off;
51 struct rvt_qpn_map *map, unsigned off,
59 off = find_next_zero_bit(map->page, RVT_BITS_PER_PAGE, off);
107 static void get_map_page(struct rvt_qpn_table *qpt, struct rvt_qpn_map *map) argument
116 if (map->page)
119 map->page = (void *)page;
131 struct rvt_qpn_map *map; local
158 map
44 mk_qpn(struct rvt_qpn_table *qpt, struct rvt_qpn_map *map, unsigned off) argument
50 find_next_offset(struct rvt_qpn_table *qpt, struct rvt_qpn_map *map, unsigned off, unsigned n, u16 qpt_mask) argument
[all...]
/linux-master/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_coherency.c86 u32 __iomem *map; local
101 map = i915_vma_pin_iomap(vma);
103 if (IS_ERR(map)) {
104 err = PTR_ERR(map);
108 iowrite32(v, &map[offset / sizeof(*map)]);
120 u32 __iomem *map; local
135 map = i915_vma_pin_iomap(vma);
137 if (IS_ERR(map)) {
138 err = PTR_ERR(map);
152 u32 *map; local
175 u32 *map; local
[all...]
/linux-master/sound/soc/meson/
H A Daxg-spdifin.c54 struct regmap *map; member in struct:axg_spdifin
80 regmap_read(priv->map, SPDIFIN_STAT0, &stat);
101 regmap_update_bits(priv->map, SPDIFIN_CTRL0,
107 regmap_update_bits(priv->map, SPDIFIN_CTRL0,
109 regmap_update_bits(priv->map, SPDIFIN_CTRL0,
115 static void axg_spdifin_write_mode_param(struct regmap *map, int mode, argument
126 reg = offset * regmap_get_reg_stride(map) + base_reg;
129 regmap_update_bits(map, reg, GENMASK(width - 1, 0) << shift,
133 static void axg_spdifin_write_timer(struct regmap *map, int mode, argument
136 axg_spdifin_write_mode_param(map, mod
140 axg_spdifin_write_threshold(struct regmap *map, int mode, unsigned int val) argument
[all...]
H A Daxg-fifo.c70 regmap_update_bits(fifo->map, FIFO_CTRL0, CTRL0_DMA_EN,
105 regmap_read(fifo->map, FIFO_STATUS2, &addr);
124 regmap_write(fifo->map, FIFO_START_ADDR, runtime->dma_addr);
125 regmap_write(fifo->map, FIFO_FINISH_ADDR, end_ptr);
129 regmap_write(fifo->map, FIFO_INT_ADDR, burst_num);
148 regmap_update_bits(fifo->map, FIFO_CTRL0,
169 regmap_write(fifo->map, FIFO_INIT_ADDR, runtime->dma_addr);
181 regmap_update_bits(fifo->map, FIFO_CTRL0,
190 regmap_update_bits(fifo->map, FIFO_CTRL1,
195 regmap_update_bits(fifo->map, FIFO_CTRL
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
H A Dbase.c54 const struct nvkm_mc_map *map; local
58 for (map = mc->func->reset; map && map->stat; map++) {
59 if (!isauto || !map->noauto) {
60 if (map->type == type && map->inst == inst) {
61 pmc_enable = map->stat;
/linux-master/drivers/clk/
H A Dclk-aspeed.c199 regmap_read(gate->map, ASPEED_RESET_CTRL, &reg);
204 regmap_read(gate->map, ASPEED_CLK_STOP_CTRL, &reg);
226 regmap_update_bits(gate->map, ASPEED_RESET_CTRL, rst, rst);
234 regmap_update_bits(gate->map, ASPEED_CLK_STOP_CTRL, clk, enval);
241 regmap_update_bits(gate->map, ASPEED_RESET_CTRL, rst, 0);
259 regmap_update_bits(gate->map, ASPEED_CLK_STOP_CTRL, clk, enval);
301 return regmap_update_bits(ar->map, reg, BIT(bit), 0);
316 return regmap_update_bits(ar->map, reg, BIT(bit), BIT(bit));
332 ret = regmap_read(ar->map, reg, &val);
347 struct regmap *map, u
345 aspeed_clk_hw_register_gate(struct device *dev, const char *name, const char *parent_name, unsigned long flags, struct regmap *map, u8 clock_idx, u8 reset_idx, u8 clk_gate_flags, spinlock_t *lock) argument
387 struct regmap *map; local
583 aspeed_ast2400_cc(struct regmap *map) argument
651 aspeed_ast2500_cc(struct regmap *map) argument
690 struct regmap *map; local
[all...]
/linux-master/drivers/pcmcia/
H A Dsoc_common.c555 * the map speed as requested, but override the address ranges
561 struct pcmcia_socket *sock, struct pccard_io_map *map)
564 unsigned short speed = map->speed;
566 debug(skt, 2, "map %u speed %u start 0x%08llx stop 0x%08llx\n",
567 map->map, map->speed, (unsigned long long)map->start,
568 (unsigned long long)map->stop);
570 (map
560 soc_common_pcmcia_set_io_map( struct pcmcia_socket *sock, struct pccard_io_map *map) argument
614 soc_common_pcmcia_set_mem_map( struct pcmcia_socket *sock, struct pccard_mem_map *map) argument
[all...]
/linux-master/drivers/irqchip/
H A Dirq-ls-extirq.c23 struct irq_fwspec map[MAXIRQ]; member in struct:ls_extirq_data
116 return irq_domain_alloc_irqs_parent(domain, virq, 1, &priv->map[hwirq]);
128 const __be32 *map; local
132 map = of_get_property(node, "interrupt-map", &mapsize);
133 if (!map)
135 if (mapsize % sizeof(*map))
137 mapsize /= sizeof(*map);
145 hwirq = be32_to_cpup(map);
150 ipar = of_find_node_by_phandle(be32_to_cpup(map
[all...]
/linux-master/sound/soc/codecs/
H A Dmax98504.c126 struct regmap *map = max98504->regmap; local
133 regmap_write(map, MAX98504_SOFTWARE_RESET, 0x1);
139 regmap_write(map, MAX98504_PVDD_BROWNOUT_ENABLE, 0x1);
141 regmap_write(map, MAX98504_PVDD_BROWNOUT_CONFIG_1,
145 regmap_write(map, MAX98504_PVDD_BROWNOUT_CONFIG_2,
148 regmap_write(map, MAX98504_PVDD_BROWNOUT_CONFIG_3,
151 regmap_write(map, MAX98504_PVDD_BROWNOUT_CONFIG_4,
204 struct regmap *map = max98504->regmap; local
209 regmap_write(map, MAX98504_PCM_TX_ENABLE, tx_mask);
214 regmap_write(map, MAX98504_PDM_TX_ENABL
227 struct regmap *map = max98504->regmap; local
[all...]
/linux-master/drivers/acpi/
H A Dosl.c226 struct acpi_ioremap *map; local
228 list_for_each_entry_rcu(map, &acpi_ioremaps, list, acpi_ioremap_lock_held())
229 if (map->phys <= phys &&
230 phys + size <= map->phys + map->size)
231 return map;
240 struct acpi_ioremap *map; local
242 map = acpi_map_lookup(phys, size);
243 if (map)
244 return map
251 struct acpi_ioremap *map; local
269 struct acpi_ioremap *map; local
326 struct acpi_ioremap *map; local
384 struct acpi_ioremap *map = container_of(to_rcu_work(work), local
393 acpi_os_drop_map_ref(struct acpi_ioremap *map) argument
420 struct acpi_ioremap *map; local
471 struct acpi_ioremap *map; local
[all...]
/linux-master/samples/cgroup/
H A Dmemcg_event_listener.c114 } map[] = { local
153 for (i = 0; i < ARRAY_SIZE(map); ++i) {
161 map[i].name);
169 ret = get_memcg_counter(line, map[i].name, map[i].new);
176 for (i = 0; i < ARRAY_SIZE(map); ++i) {
179 if (*map[i].new > *map[i].old) {
180 diff = *map[i].new - *map[
[all...]
/linux-master/drivers/firmware/efi/libstub/
H A Dfdt.c71 * Delete all memory reserve map entries. When booting via UEFI,
72 * kernel will use the UEFI memory map to find reserved regions.
147 static efi_status_t update_fdt_memmap(void *fdt, struct efi_boot_memmap *map) argument
157 fdt_val64 = cpu_to_fdt64((unsigned long)map->map);
163 fdt_val32 = cpu_to_fdt32(map->map_size);
169 fdt_val32 = cpu_to_fdt32(map->desc_size);
175 fdt_val32 = cpu_to_fdt32(map->desc_ver);
191 static efi_status_t exit_boot_func(struct efi_boot_memmap *map, void *priv) argument
195 p->boot_memmap = map;
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvif/
H A Dobject.c186 struct nvif_ioctl_map_v0 map; member in struct:__anon794
194 memcpy(args->map.data, argv, argc);
197 *handle = args->map.handle;
198 *length = args->map.length;
199 maptype = args->map.type;
208 if (object->map.ptr) {
209 if (object->map.size) {
210 client->driver->unmap(client, object->map.ptr,
211 object->map.size);
212 object->map
[all...]
/linux-master/net/ceph/crush/
H A Dmapper.c37 * @map: the crush_map
42 int crush_find_rule(const struct crush_map *map, int ruleset, int type, int size) argument
46 for (i = 0; i < map->max_rules; i++) {
47 if (map->rules[i] &&
48 map->rules[i]->mask.ruleset == ruleset &&
49 map->rules[i]->mask.type == type &&
50 map->rules[i]->mask.min_size <= size &&
51 map->rules[i]->mask.max_size >= size)
413 static int is_out(const struct crush_map *map, argument
431 * @map
449 crush_choose_firstn(const struct crush_map *map, struct crush_work *work, const struct crush_bucket *bucket, const __u32 *weight, int weight_max, int x, int numrep, int type, int *out, int outpos, int out_size, unsigned int tries, unsigned int recurse_tries, unsigned int local_retries, unsigned int local_fallback_retries, int recurse_to_leaf, unsigned int vary_r, unsigned int stable, int *out2, int parent_r, const struct crush_choose_arg *choose_args) argument
643 crush_choose_indep(const struct crush_map *map, struct crush_work *work, const struct crush_bucket *bucket, const __u32 *weight, int weight_max, int x, int left, int numrep, int type, int *out, int outpos, unsigned int tries, unsigned int recurse_tries, int recurse_to_leaf, int *out2, int parent_r, const struct crush_choose_arg *choose_args) argument
848 crush_init_workspace(const struct crush_map *map, void *v) argument
894 crush_do_rule(const struct crush_map *map, int ruleno, int x, int *result, int result_max, const __u32 *weight, int weight_max, void *cwin, const struct crush_choose_arg *choose_args) argument
[all...]
/linux-master/include/linux/
H A Dbpf.h80 /* map is generic key/value storage optionally accessible by eBPF programs */
85 void (*map_release)(struct bpf_map *map, struct file *map_file);
86 void (*map_free)(struct bpf_map *map);
87 int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key);
88 void (*map_release_uref)(struct bpf_map *map);
89 void *(*map_lookup_elem_sys_only)(struct bpf_map *map, void *key);
90 int (*map_lookup_batch)(struct bpf_map *map, const union bpf_attr *attr,
92 int (*map_lookup_and_delete_elem)(struct bpf_map *map, void *key,
94 int (*map_lookup_and_delete_batch)(struct bpf_map *map,
97 int (*map_update_batch)(struct bpf_map *map, struc
452 check_and_init_map_value(struct bpf_map *map, void *dst) argument
499 copy_map_value(struct bpf_map *map, void *dst, void *src) argument
504 copy_map_value_long(struct bpf_map *map, void *dst, void *src) argument
529 zero_map_value(struct bpf_map *map, void *dst) argument
560 struct bpf_map map; member in struct:bpf_offloaded_map
567 map_to_offmap(struct bpf_map *map) argument
572 bpf_map_offload_neutral(const struct bpf_map *map) argument
577 bpf_map_support_seq_show(const struct bpf_map *map) argument
1414 struct bpf_map *map; member in struct:bpf_jit_poke_descriptor::__anon305::__anon306
1576 struct bpf_map *map; member in struct:bpf_array_aux
1853 bpf_struct_ops_map_sys_lookup_elem(struct bpf_map *map, void *key, void *value) argument
1863 bpf_map_struct_ops_info_fill(struct bpf_map_info *info, struct bpf_map *map) argument
1889 struct bpf_map map; member in struct:bpf_array
1923 bpf_map_flags_to_cap(struct bpf_map *map) argument
1951 map_type_contains_progs(struct bpf_map *map) argument
2275 bpf_map_init_elem_count(struct bpf_map *map) argument
2288 bpf_map_free_elem_count(struct bpf_map *map) argument
2293 bpf_map_inc_elem_count(struct bpf_map *map) argument
2298 bpf_map_dec_elem_count(struct bpf_map *map) argument
2385 struct bpf_map *map; member in struct:bpf_iter_aux_info
2757 dev_map_enqueue_multi(struct xdp_frame *xdpf, struct net_device *dev_rx, struct bpf_map *map, bool exclude_ingress) argument
2773 dev_map_redirect_multi(struct net_device *dev, struct sk_buff *skb, struct bpf_prog *xdp_prog, struct bpf_map *map, bool exclude_ingress) argument
2838 bpf_map_put(struct bpf_map *map) argument
2991 bpf_map_is_offloaded(struct bpf_map *map) argument
3057 bpf_map_is_offloaded(struct bpf_map *map) argument
3067 bpf_map_offload_map_free(struct bpf_map *map) argument
3071 bpf_map_offload_map_mem_usage(const struct bpf_map *map) argument
3096 sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, u64 flags) argument
3143 bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map, void *key, void *value) argument
3149 bpf_fd_reuseport_array_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmmnv41.c28 u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr)
39 u32 ptei, u32 ptes, struct nvkm_vmm_map *map)
41 VMM_MAP_ITER_SGL(vmm, pt, ptei, ptes, map, nv41_vmm_pgt_pte);
46 u32 ptei, u32 ptes, struct nvkm_vmm_map *map)
51 const u32 data = (*map->dma++ >> 7) | 0x00000001;
56 VMM_MAP_ITER_DMA(vmm, pt, ptei, ptes, map, nv41_vmm_pgt_pte);
27 nv41_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map, u64 addr) argument
38 nv41_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
45 nv41_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, u32 ptei, u32 ptes, struct nvkm_vmm_map *map) argument
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbloom_filter_bench.c43 struct bpf_map *map; member in struct:callback_ctx
71 bloom_callback(struct bpf_map *map, __u32 *key, void *val, argument
77 err = bpf_map_push_elem(data->map, val, 0);
79 err = bpf_map_peek_elem(data->map, val);
96 data.map = (struct bpf_map *)&bloom_map;
109 data.map = (struct bpf_map *)&bloom_map;
/linux-master/drivers/gpio/
H A Dgpio-pci-idio-16.c76 struct regmap *map; local
86 dev_err(dev, "Unable to map PCI I/O addresses (%d)\n", err);
92 map = devm_regmap_init_mmio(dev, regs, &idio_16_regmap_config);
93 if (IS_ERR(map))
94 return dev_err_probe(dev, PTR_ERR(map), "Unable to initialize register map\n");
97 config.map = map;
H A Dgpio-104-idio-16.c91 struct regmap *map; local
103 map = devm_regmap_init_mmio(dev, regs, &idio_16_regmap_config);
104 if (IS_ERR(map))
105 return dev_err_probe(dev, PTR_ERR(map), "Unable to initialize register map\n");
108 config.map = map;

Completed in 512 milliseconds

<<11121314151617181920>>