| /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 | 294 struct map_info *map, struct cfi_private *cfi); 296 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi); 297 #define CMD(x) cfi_build_cmd((x), map, cfi) 299 unsigned long cfi_merge_status(map_word val, struct map_info *map, 301 #define MERGESTATUS(x) cfi_merge_status((x), map, cfi) 304 struct map_info *map, struct cfi_private *cfi, 307 static inline uint8_t cfi_read_query(struct map_info *map, uint32_t addr) in cfi_read_query() argument 309 map_word val = map_read(map, addr); in cfi_read_query() 311 if (map_bankwidth_is_1(map)) in cfi_read_query() 313 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);
|
| /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/linux/ |
| D | iosys-map.h | 183 static inline void iosys_map_set_vaddr(struct iosys_map *map, void *vaddr) in iosys_map_set_vaddr() argument 185 map->vaddr = vaddr; in iosys_map_set_vaddr() 186 map->is_iomem = false; in iosys_map_set_vaddr() 196 static inline void iosys_map_set_vaddr_iomem(struct iosys_map *map, in iosys_map_set_vaddr_iomem() argument 199 map->vaddr_iomem = vaddr_iomem; in iosys_map_set_vaddr_iomem() 200 map->is_iomem = true; in iosys_map_set_vaddr_iomem() 235 static inline bool iosys_map_is_null(const struct iosys_map *map) in iosys_map_is_null() argument 237 if (map->is_iomem) in iosys_map_is_null() 238 return !map->vaddr_iomem; in iosys_map_is_null() 239 return !map->vaddr; in iosys_map_is_null() [all …]
|
| D | regmap.h | 122 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) \ argument 126 sleep_us, timeout_us, false, (map), (addr), &(val)); \ 152 #define regmap_read_poll_timeout_atomic(map, addr, val, cond, delay_us, timeout_us) \ argument 159 __ret = regmap_read((map), (addr), &(val)); \ 166 __ret = regmap_read((map), (addr), &(val)); \ 772 int regmap_attach_dev(struct device *dev, struct regmap *map, 1217 int regmap_mmio_attach_clk(struct regmap *map, struct clk *clk); 1218 void regmap_mmio_detach_clk(struct regmap *map); 1219 void regmap_exit(struct regmap *map); 1220 int regmap_reinit_cache(struct regmap *map, [all …]
|
| D | bpf.h | 86 void (*map_release)(struct bpf_map *map, struct file *map_file); 87 void (*map_free)(struct bpf_map *map); 88 int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key); 89 void (*map_release_uref)(struct bpf_map *map); 90 void *(*map_lookup_elem_sys_only)(struct bpf_map *map, void *key); 91 int (*map_lookup_batch)(struct bpf_map *map, const union bpf_attr *attr, 93 int (*map_lookup_and_delete_elem)(struct bpf_map *map, void *key, 95 int (*map_lookup_and_delete_batch)(struct bpf_map *map, 98 int (*map_update_batch)(struct bpf_map *map, struct file *map_file, 101 int (*map_delete_batch)(struct bpf_map *map, const union bpf_attr *attr, [all …]
|
| D | bitmap.h | 184 void __bitmap_set(unsigned long *map, unsigned int start, int len); 185 void __bitmap_clear(unsigned long *map, unsigned int start, int len); 187 unsigned long bitmap_find_next_zero_area_off(unsigned long *map, 207 unsigned long bitmap_find_next_zero_area(unsigned long *map, in bitmap_find_next_zero_area() argument 213 return bitmap_find_next_zero_area_off(map, size, start, nr, in bitmap_find_next_zero_area() 468 void bitmap_set(unsigned long *map, unsigned int start, unsigned int nbits) in bitmap_set() argument 471 __set_bit(start, map); in bitmap_set() 473 *map |= GENMASK(start + nbits - 1, start); in bitmap_set() 478 memset((char *)map + start / 8, 0xff, nbits / 8); in bitmap_set() 480 __bitmap_set(map, start, nbits); in bitmap_set() [all …]
|
| D | dma-direct.h | 84 static inline dma_addr_t dma_range_map_min(const struct bus_dma_region *map) in dma_range_map_min() argument 88 for (; map->size; map++) in dma_range_map_min() 89 ret = min(ret, map->dma_start); in dma_range_map_min() 93 static inline dma_addr_t dma_range_map_max(const struct bus_dma_region *map) in dma_range_map_max() argument 97 for (; map->size; map++) in dma_range_map_max() 98 ret = max(ret, map->dma_start + map->size - 1); in dma_range_map_max()
|
| D | completion.h | 38 #define COMPLETION_INITIALIZER_ONSTACK_MAP(work, map) \ argument 39 (*({ init_completion_map(&(work), &(map)); &(work); })) 70 # define DECLARE_COMPLETION_ONSTACK_MAP(work, map) \ argument 71 struct completion work = COMPLETION_INITIALIZER_ONSTACK_MAP(work, map) 74 # define DECLARE_COMPLETION_ONSTACK_MAP(work, map) DECLARE_COMPLETION(work) argument
|
| D | dynamic_queue_limits.h | 90 unsigned long map, now, now_hi, i; in dql_queue_stall() local 114 map = DQL_HIST_ENT(dql, now_hi); in dql_queue_stall() 117 if (!(map & BIT_MASK(now))) in dql_queue_stall() 118 WRITE_ONCE(DQL_HIST_ENT(dql, now_hi), map | BIT_MASK(now)); in dql_queue_stall()
|
| /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 | 198 struct device_node *np, struct pinctrl_map **map, 202 struct device_node *np_config, struct pinctrl_map **map, 205 struct pinctrl_map *map, unsigned int num_maps); 208 struct device_node *np_config, struct pinctrl_map **map, in pinconf_generic_dt_node_to_map_group() argument 211 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_group() 216 struct device_node *np_config, struct pinctrl_map **map, in pinconf_generic_dt_node_to_map_pin() argument 219 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_pin() 224 struct device_node *np_config, struct pinctrl_map **map, in pinconf_generic_dt_node_to_map_all() argument 231 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 | 201 static inline bool ceph_osd_exists(struct ceph_osdmap *map, int osd) in ceph_osd_exists() argument 203 return osd >= 0 && osd < map->max_osd && in ceph_osd_exists() 204 (map->osd_state[osd] & CEPH_OSD_EXISTS); in ceph_osd_exists() 207 static inline bool ceph_osd_is_up(struct ceph_osdmap *map, int osd) in ceph_osd_is_up() argument 209 return ceph_osd_exists(map, osd) && in ceph_osd_is_up() 210 (map->osd_state[osd] & CEPH_OSD_UP); in ceph_osd_is_up() 213 static inline bool ceph_osd_is_down(struct ceph_osdmap *map, int osd) in ceph_osd_is_down() argument 215 return !ceph_osd_is_up(map, osd); in ceph_osd_is_down() 219 extern u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd); 221 static inline struct ceph_entity_addr *ceph_osd_addr(struct ceph_osdmap *map, in ceph_osd_addr() argument [all …]
|
| /include/linux/soc/cirrus/ |
| D | ep93xx.h | 26 struct regmap *map; member 29 void (*write)(struct regmap *map, spinlock_t *lock, unsigned int reg, 31 void (*update_bits)(struct regmap *map, spinlock_t *lock,
|
| /include/xen/ |
| D | grant_table.h | 162 gnttab_set_map_op(struct gnttab_map_grant_ref *map, phys_addr_t addr, in gnttab_set_map_op() argument 166 map->host_addr = addr; in gnttab_set_map_op() 168 map->host_addr = __pa(addr); in gnttab_set_map_op() 170 map->host_addr = addr; in gnttab_set_map_op() 172 map->flags = flags; in gnttab_set_map_op() 173 map->ref = ref; in gnttab_set_map_op() 174 map->dom = domid; in gnttab_set_map_op() 175 map->status = 1; /* arbitrary positive value */ in gnttab_set_map_op() 212 #define gnttab_map_vaddr(map) ((void *)(map.host_virt_addr)) argument
|
| /include/trace/events/ |
| D | erofs.h | 148 TP_PROTO(struct inode *inode, struct erofs_map_blocks *map, 151 TP_ARGS(inode, map, flags), 164 __entry->la = map->m_la; 165 __entry->llen = map->m_llen; 177 TP_PROTO(struct inode *inode, struct erofs_map_blocks *map, 180 TP_ARGS(inode, map, flags, ret), 198 __entry->la = map->m_la; 199 __entry->pa = map->m_pa; 200 __entry->llen = map->m_llen; 201 __entry->plen = map->m_plen; [all …]
|
| /include/drm/ |
| D | drm_gem_shmem_helper.h | 106 struct iosys_map *map); 108 struct iosys_map *map); 225 struct iosys_map *map) in drm_gem_shmem_object_vmap() argument 229 return drm_gem_shmem_vmap(shmem, map); in drm_gem_shmem_object_vmap() 241 struct iosys_map *map) in drm_gem_shmem_object_vunmap() argument 245 drm_gem_shmem_vunmap(shmem, map); in drm_gem_shmem_object_vunmap()
|
| D | drm_gem_ttm_helper.h | 20 struct iosys_map *map); 22 struct iosys_map *map);
|
| /include/media/ |
| D | v4l2-cci.h | 69 int cci_read(struct regmap *map, u32 reg, u64 *val, int *err); 82 int cci_write(struct regmap *map, u32 reg, u64 val, int *err); 100 int cci_update_bits(struct regmap *map, u32 reg, u64 mask, u64 val, int *err); 122 int cci_multi_reg_write(struct regmap *map, const struct cci_reg_sequence *regs,
|
| /include/linux/mfd/ |
| D | ocelot.h | 56 struct regmap *map; in ocelot_regmap_from_resource() local 58 map = ocelot_regmap_from_resource_optional(pdev, index, config); in ocelot_regmap_from_resource() 59 return map ?: ERR_PTR(-ENOENT); in ocelot_regmap_from_resource()
|
| /include/trace/hooks/ |
| D | regmap.h | 19 TP_PROTO(const struct regmap_config *config, struct regmap *map), 20 TP_ARGS(config, map));
|
| /include/soc/tegra/ |
| D | ivc.h | 20 struct iosys_map map; member 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);
|