/include/linux/mtd/ |
D | map.h | 22 #define map_bankwidth(map) 1 argument 23 #define map_bankwidth_is_1(map) (map_bankwidth(map) == 1) argument 24 #define map_bankwidth_is_large(map) (0) argument 25 #define map_words(map) (1) argument 28 #define map_bankwidth_is_1(map) (0) argument 34 # define map_bankwidth(map) ((map)->bankwidth) argument 36 # define map_bankwidth(map) 2 argument 37 # define map_bankwidth_is_large(map) (0) argument 38 # define map_words(map) (1) argument 40 #define map_bankwidth_is_2(map) (map_bankwidth(map) == 2) argument [all …]
|
D | pfow.h | 100 static inline void send_pfow_command(struct map_info *map, in send_pfow_command() argument 104 int bits_per_chip = map_bankwidth(map) * 8; in send_pfow_command() 106 map_write(map, CMD(cmd_code), map->pfow_base + PFOW_COMMAND_CODE); in send_pfow_command() 107 map_write(map, CMD(adr & ((1<<bits_per_chip) - 1)), in send_pfow_command() 108 map->pfow_base + PFOW_COMMAND_ADDRESS_L); in send_pfow_command() 109 map_write(map, CMD(adr>>bits_per_chip), in send_pfow_command() 110 map->pfow_base + PFOW_COMMAND_ADDRESS_H); in send_pfow_command() 112 map_write(map, CMD(len & ((1<<bits_per_chip) - 1)), in send_pfow_command() 113 map->pfow_base + PFOW_DATA_COUNT_L); in send_pfow_command() 114 map_write(map, CMD(len>>bits_per_chip), in send_pfow_command() [all …]
|
D | cfi_endian.h | 27 #define cpu_to_cfi8(map, x) (x) argument 28 #define cfi8_to_cpu(map, x) (x) argument 29 #define cpu_to_cfi16(map, x) _cpu_to_cfi(16, (map)->swap, (x)) argument 30 #define cpu_to_cfi32(map, x) _cpu_to_cfi(32, (map)->swap, (x)) argument 31 #define cpu_to_cfi64(map, x) _cpu_to_cfi(64, (map)->swap, (x)) argument 32 #define cfi16_to_cpu(map, x) _cfi_to_cpu(16, (map)->swap, (x)) argument 33 #define cfi32_to_cpu(map, x) _cfi_to_cpu(32, (map)->swap, (x)) argument 34 #define cfi64_to_cpu(map, x) _cfi_to_cpu(64, (map)->swap, (x)) argument
|
D | cfi.h | 293 struct map_info *map, struct cfi_private *cfi); 295 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi); 296 #define CMD(x) cfi_build_cmd((x), map, cfi) 298 unsigned long cfi_merge_status(map_word val, struct map_info *map, 300 #define MERGESTATUS(x) cfi_merge_status((x), map, cfi) 303 struct map_info *map, struct cfi_private *cfi, 306 static inline uint8_t cfi_read_query(struct map_info *map, uint32_t addr) in cfi_read_query() argument 308 map_word val = map_read(map, addr); in cfi_read_query() 310 if (map_bankwidth_is_1(map)) { in cfi_read_query() 312 } else if (map_bankwidth_is_2(map)) { in cfi_read_query() [all …]
|
D | gen_probe.h | 17 int (*probe_chip)(struct map_info *map, __u32 base, 21 struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp);
|
D | qinfo.h | 79 static inline map_word lpddr_build_cmd(u_long cmd, struct map_info *map) in lpddr_build_cmd() argument 86 #define CMD(x) lpddr_build_cmd(x, map)
|
/include/net/sctp/ |
D | tsnmap.h | 87 void sctp_tsnmap_free(struct sctp_tsnmap *map); 102 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn); 105 static inline __u32 sctp_tsnmap_get_ctsn(const struct sctp_tsnmap *map) in sctp_tsnmap_get_ctsn() argument 107 return map->cumulative_tsn_ack_point; in sctp_tsnmap_get_ctsn() 111 static inline __u32 sctp_tsnmap_get_max_tsn_seen(const struct sctp_tsnmap *map) in sctp_tsnmap_get_max_tsn_seen() argument 113 return map->max_tsn_seen; in sctp_tsnmap_get_max_tsn_seen() 117 static inline __u16 sctp_tsnmap_num_dups(struct sctp_tsnmap *map) in sctp_tsnmap_num_dups() argument 119 return map->num_dup_tsns; in sctp_tsnmap_num_dups() 123 static inline __be32 *sctp_tsnmap_get_dups(struct sctp_tsnmap *map) in sctp_tsnmap_get_dups() argument 125 map->num_dup_tsns = 0; in sctp_tsnmap_get_dups() [all …]
|
/include/drm/ |
D | drm_os_linux.h | 16 #define DRM_READ8(map, offset) readb(((void __iomem *)(map)->handle) + (offset)) argument 18 #define DRM_READ16(map, offset) readw(((void __iomem *)(map)->handle) + (offset)) argument 20 #define DRM_READ32(map, offset) readl(((void __iomem *)(map)->handle) + (offset)) argument 22 #define DRM_WRITE8(map, offset, val) writeb(val, ((void __iomem *)(map)->handle) + (offset)) argument 24 #define DRM_WRITE16(map, offset, val) writew(val, ((void __iomem *)(map)->handle) + (offset)) argument 26 #define DRM_WRITE32(map, offset, val) writel(val, ((void __iomem *)(map)->handle) + (offset)) argument 29 #define DRM_READ64(map, offset) readq(((void __iomem *)(map)->handle) + (offset)) argument 31 #define DRM_WRITE64(map, offset, val) writeq(val, ((void __iomem *)(map)->handle) + (offset)) argument
|
D | drm_legacy.h | 154 struct drm_local_map *map; /**< mapping */ member 163 void drm_legacy_rmmap(struct drm_device *d, struct drm_local_map *map); 164 int drm_legacy_rmmap_locked(struct drm_device *d, struct drm_local_map *map); 195 void drm_legacy_ioremap(struct drm_local_map *map, struct drm_device *dev); 196 void drm_legacy_ioremap_wc(struct drm_local_map *map, struct drm_device *dev); 197 void drm_legacy_ioremapfree(struct drm_local_map *map, struct drm_device *dev);
|
/include/linux/ |
D | bpf.h | 35 void (*map_release)(struct bpf_map *map, struct file *map_file); 36 void (*map_free)(struct bpf_map *map); 37 int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key); 38 void (*map_release_uref)(struct bpf_map *map); 39 void *(*map_lookup_elem_sys_only)(struct bpf_map *map, void *key); 42 void *(*map_lookup_elem)(struct bpf_map *map, void *key); 43 int (*map_update_elem)(struct bpf_map *map, void *key, void *value, u64 flags); 44 int (*map_delete_elem)(struct bpf_map *map, void *key); 45 int (*map_push_elem)(struct bpf_map *map, void *value, u64 flags); 46 int (*map_pop_elem)(struct bpf_map *map, void *value); [all …]
|
D | regmap.h | 74 #define regmap_update_bits(map, reg, mask, val) \ argument 75 regmap_update_bits_base(map, reg, mask, val, NULL, false, false) 76 #define regmap_update_bits_async(map, reg, mask, val)\ argument 77 regmap_update_bits_base(map, reg, mask, val, NULL, true, false) 78 #define regmap_update_bits_check(map, reg, mask, val, change)\ argument 79 regmap_update_bits_base(map, reg, mask, val, change, false, false) 80 #define regmap_update_bits_check_async(map, reg, mask, val, change)\ argument 81 regmap_update_bits_base(map, reg, mask, val, change, true, false) 83 #define regmap_write_bits(map, reg, mask, val) \ argument 84 regmap_update_bits_base(map, reg, mask, val, NULL, false, true) [all …]
|
D | frontswap.h | 34 extern void __frontswap_init(unsigned type, unsigned long *map); 54 unsigned long *map) in frontswap_map_set() argument 56 p->frontswap_map = map; in frontswap_map_set() 77 unsigned long *map) in frontswap_map_set() argument 115 static inline void frontswap_init(unsigned type, unsigned long *map) in frontswap_init() argument 118 __frontswap_init(type, map); in frontswap_init()
|
D | completion.h | 39 #define COMPLETION_INITIALIZER_ONSTACK_MAP(work, map) \ argument 40 (*({ init_completion_map(&(work), &(map)); &(work); })) 71 # define DECLARE_COMPLETION_ONSTACK_MAP(work, map) \ argument 72 struct completion work = COMPLETION_INITIALIZER_ONSTACK_MAP(work, map) 75 # define DECLARE_COMPLETION_ONSTACK_MAP(work, map) DECLARE_COMPLETION(work) argument
|
D | bitmap.h | 146 extern void __bitmap_set(unsigned long *map, unsigned int start, int len); 147 extern void __bitmap_clear(unsigned long *map, unsigned int start, int len); 149 extern unsigned long bitmap_find_next_zero_area_off(unsigned long *map, 169 bitmap_find_next_zero_area(unsigned long *map, in bitmap_find_next_zero_area() argument 175 return bitmap_find_next_zero_area_off(map, size, start, nr, in bitmap_find_next_zero_area() 389 static __always_inline void bitmap_set(unsigned long *map, unsigned int start, in bitmap_set() argument 393 __set_bit(start, map); in bitmap_set() 398 memset((char *)map + start / 8, 0xff, nbits / 8); in bitmap_set() 400 __bitmap_set(map, start, nbits); in bitmap_set() 403 static __always_inline void bitmap_clear(unsigned long *map, unsigned int start, in bitmap_clear() argument [all …]
|
D | genalloc.h | 48 typedef unsigned long (*genpool_algo_t)(unsigned long *map, 183 extern unsigned long gen_pool_first_fit(unsigned long *map, unsigned long size, 187 extern unsigned long gen_pool_fixed_alloc(unsigned long *map, 191 extern unsigned long gen_pool_first_fit_align(unsigned long *map, 196 extern unsigned long gen_pool_first_fit_order_align(unsigned long *map, 200 extern unsigned long gen_pool_best_fit(unsigned long *map, unsigned long size,
|
D | sbitmap.h | 67 struct sbitmap_word *map; member 164 kfree(sb->map); in sbitmap_free() 165 sb->map = NULL; in sbitmap_free() 259 sb->map[index].depth - nr, in __sbitmap_for_each_set() 263 word = sb->map[index].word & ~sb->map[index].cleared; in __sbitmap_for_each_set() 304 return &sb->map[SB_NR_TO_INDEX(sb, bitnr)].word; in __sbitmap_word() 327 unsigned long *addr = &sb->map[SB_NR_TO_INDEX(sb, bitnr)].cleared; in sbitmap_deferred_clear_bit()
|
D | bpf-cgroup.h | 47 struct bpf_cgroup_storage_map *map; member 136 struct bpf_map *map) in cgroup_storage_type() argument 138 if (map->map_type == BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE) in cgroup_storage_type() 160 int bpf_cgroup_storage_assign(struct bpf_prog *prog, struct bpf_map *map); 161 void bpf_cgroup_storage_release(struct bpf_prog *prog, struct bpf_map *map); 163 int bpf_percpu_cgroup_storage_copy(struct bpf_map *map, void *key, void *value); 164 int bpf_percpu_cgroup_storage_update(struct bpf_map *map, void *key, 364 struct bpf_map *map) { return 0; } in bpf_cgroup_storage_assign() argument 366 struct bpf_map *map) {} in bpf_cgroup_storage_release() argument 371 static inline int bpf_percpu_cgroup_storage_copy(struct bpf_map *map, void *key, in bpf_percpu_cgroup_storage_copy() argument [all …]
|
/include/linux/crush/ |
D | mapper.h | 14 extern int crush_find_rule(const struct crush_map *map, int ruleset, int type, int size); 15 int crush_do_rule(const struct crush_map *map, 26 static inline size_t crush_work_size(const struct crush_map *map, in crush_work_size() argument 29 return map->working_size + result_max * 3 * sizeof(__u32); in crush_work_size() 32 void crush_init_workspace(const struct crush_map *map, void *v);
|
/include/linux/pinctrl/ |
D | pinconf-generic.h | 185 struct device_node *np, struct pinctrl_map **map, 189 struct device_node *np_config, struct pinctrl_map **map, 192 struct pinctrl_map *map, unsigned num_maps); 196 struct pinctrl_map **map, unsigned *num_maps) in pinconf_generic_dt_node_to_map_group() argument 198 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_group() 204 struct pinctrl_map **map, unsigned *num_maps) in pinconf_generic_dt_node_to_map_pin() argument 206 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_pin() 212 struct pinctrl_map **map, unsigned *num_maps) in pinconf_generic_dt_node_to_map_all() argument 218 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_all()
|
/include/linux/ceph/ |
D | osdmap.h | 188 static inline bool ceph_osd_exists(struct ceph_osdmap *map, int osd) in ceph_osd_exists() argument 190 return osd >= 0 && osd < map->max_osd && in ceph_osd_exists() 191 (map->osd_state[osd] & CEPH_OSD_EXISTS); in ceph_osd_exists() 194 static inline bool ceph_osd_is_up(struct ceph_osdmap *map, int osd) in ceph_osd_is_up() argument 196 return ceph_osd_exists(map, osd) && in ceph_osd_is_up() 197 (map->osd_state[osd] & CEPH_OSD_UP); in ceph_osd_is_up() 200 static inline bool ceph_osd_is_down(struct ceph_osdmap *map, int osd) in ceph_osd_is_down() argument 202 return !ceph_osd_is_up(map, osd); in ceph_osd_is_down() 206 extern u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd); 208 static inline struct ceph_entity_addr *ceph_osd_addr(struct ceph_osdmap *map, in ceph_osd_addr() argument [all …]
|
/include/trace/events/ |
D | erofs.h | 145 TP_PROTO(struct inode *inode, struct erofs_map_blocks *map, 148 TP_ARGS(inode, map, flags), 161 __entry->la = map->m_la; 162 __entry->llen = map->m_llen; 173 TP_PROTO(struct inode *inode, struct erofs_map_blocks *map, 176 TP_ARGS(inode, map, flags) 180 TP_PROTO(struct inode *inode, struct erofs_map_blocks *map, 183 TP_ARGS(inode, map, flags) 187 TP_PROTO(struct inode *inode, struct erofs_map_blocks *map, 190 TP_ARGS(inode, map, flags, ret), [all …]
|
D | xdp.h | 87 const struct bpf_map *map, u32 map_index), 89 TP_ARGS(dev, xdp, to_ifindex, err, map, map_index), 107 __entry->map_id = map ? map->id : 0; 122 const struct bpf_map *map, u32 map_index), 123 TP_ARGS(dev, xdp, to_ifindex, err, map, map_index) 130 const struct bpf_map *map, u32 map_index), 131 TP_ARGS(dev, xdp, to_ifindex, err, map, map_index) 144 const struct bpf_map *map, u32 map_index), 145 TP_ARGS(dev, xdp, to_ifindex, err, map, map_index), 159 const struct bpf_map *map, u32 map_index), [all …]
|
/include/xen/ |
D | grant_table.h | 147 gnttab_set_map_op(struct gnttab_map_grant_ref *map, phys_addr_t addr, in gnttab_set_map_op() argument 151 map->host_addr = addr; in gnttab_set_map_op() 153 map->host_addr = __pa(addr); in gnttab_set_map_op() 155 map->host_addr = addr; in gnttab_set_map_op() 157 map->flags = flags; in gnttab_set_map_op() 158 map->ref = ref; in gnttab_set_map_op() 159 map->dom = domid; in gnttab_set_map_op() 196 #define gnttab_map_vaddr(map) ((void *)(map.host_virt_addr)) argument
|
/include/linux/irqchip/ |
D | arm-gic-v4.h | 87 struct its_vlpi_map *map; member 96 int its_map_vlpi(int irq, struct its_vlpi_map *map); 97 int its_get_vlpi(int irq, struct its_vlpi_map *map);
|
/include/linux/mfd/ |
D | max14577-private.h | 442 static inline int max14577_read_reg(struct regmap *map, u8 reg, u8 *dest) in max14577_read_reg() argument 447 ret = regmap_read(map, reg, &val); in max14577_read_reg() 453 static inline int max14577_bulk_read(struct regmap *map, u8 reg, u8 *buf, in max14577_bulk_read() argument 456 return regmap_bulk_read(map, reg, buf, count); in max14577_bulk_read() 459 static inline int max14577_write_reg(struct regmap *map, u8 reg, u8 value) in max14577_write_reg() argument 461 return regmap_write(map, reg, value); in max14577_write_reg() 464 static inline int max14577_bulk_write(struct regmap *map, u8 reg, u8 *buf, in max14577_bulk_write() argument 467 return regmap_bulk_write(map, reg, buf, count); in max14577_bulk_write() 470 static inline int max14577_update_reg(struct regmap *map, u8 reg, u8 mask, in max14577_update_reg() argument 473 return regmap_update_bits(map, reg, mask, val); in max14577_update_reg()
|