| /include/sound/ |
| A D | hda_regmap.h | 38 #define snd_hdac_regmap_encode_verb(nid, verb) \ argument 39 (((verb) << 8) | 0x80000 | ((unsigned int)(nid) << 20)) 50 #define snd_hdac_regmap_encode_amp(nid, ch, dir, idx) \ argument 51 (snd_hdac_regmap_encode_verb(nid, AC_VERB_GET_AMP_GAIN_MUTE) | \ 64 #define snd_hdac_regmap_encode_amp_stereo(nid, dir, idx) \ argument 79 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_write() argument 82 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_write() 101 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_update() 115 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read() argument 118 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_read() [all …]
|
| A D | hda_codec.h | 273 struct hda_codec *codec, hda_nid_t nid); 339 #define snd_hda_param_read(codec, nid, param) \ argument 340 snd_hdac_read_parm(&(codec)->core, nid, param) 348 return snd_hda_get_connections(codec, nid, NULL, 0); in snd_hda_get_num_conns() 353 #define snd_hda_get_num_raw_conns(codec, nid) \ argument 361 hda_nid_t nid, int recursive); 369 hda_nid_t nid; member 387 hda_nid_t nid; member 407 hda_nid_t nid); 448 #define snd_hda_codec_cleanup_stream(codec, nid) \ argument [all …]
|
| A D | hda_component.h | 17 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, 19 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id, 38 hda_nid_t nid, int dev_id, int rate) in snd_hdac_sync_audio_rate() argument 42 static inline int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_acomp_get_eld() argument
|
| A D | hda_hwdep.h | 17 #define HDA_VERB(nid,verb,param) ((nid)<<24 | (verb)<<8 | (param)) argument
|
| A D | hdaudio.h | 131 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, 137 int snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid, 139 int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, 141 int snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, 154 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid, 156 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, 159 hda_nid_t nid, unsigned int target_state); 161 hda_nid_t nid, unsigned int target_state); 176 return _snd_hdac_read_parm(codec, nid, parm, &val) < 0 ? -1 : val; in snd_hdac_read_parm() 686 #define snd_hdac_get_wcaps(codec, nid) \ argument [all …]
|
| /include/linux/ |
| A D | node.h | 86 void node_set_perf_attrs(unsigned int nid, struct access_coordinate *coord, 89 static inline void node_add_cache(unsigned int nid, in node_add_cache() argument 94 static inline void node_set_perf_attrs(unsigned int nid, in node_set_perf_attrs() argument 117 static inline void register_memory_blocks_under_node_hotplug(int nid, in register_memory_blocks_under_node_hotplug() argument 130 int nid; member 171 extern int register_one_node(int nid); 172 extern void unregister_one_node(int nid); 173 extern int register_cpu_under_node(unsigned int cpu, unsigned int nid); 174 extern int unregister_cpu_under_node(unsigned int cpu, unsigned int nid); 184 static inline int register_one_node(int nid) in register_one_node() argument [all …]
|
| A D | numa.h | 10 static inline bool numa_valid_node(int nid) in numa_valid_node() argument 12 return nid >= 0 && nid < MAX_NUMNODES; in numa_valid_node() 26 #define NODE_DATA(nid) (node_data[nid]) argument 28 void __init alloc_node_data(int nid); 29 void __init alloc_offline_node_data(int nid); 66 static inline void alloc_offline_node_data(int nid) {} in alloc_offline_node_data() argument
|
| A D | list_lru.h | 184 int nid, struct mem_cgroup *memcg); 190 return list_lru_count_one(lru, sc->nid, sc->memcg); in list_lru_shrink_count() 196 int nid; in list_lru_count() local 198 for_each_node_state(nid, N_NORMAL_MEMORY) in list_lru_count() 199 count += list_lru_count_node(lru, nid); in list_lru_count() 234 int nid, struct mem_cgroup *memcg, 251 int nid, struct mem_cgroup *memcg, 254 unsigned long list_lru_walk_node(struct list_lru *lru, int nid, 279 int nid; in list_lru_walk() local 281 for_each_node_state(nid, N_NORMAL_MEMORY) { in list_lru_walk() [all …]
|
| A D | gfp.h | 251 if (nid == NUMA_NO_NODE) in alloc_pages_bulk_node_noprof() 252 nid = numa_mem_id(); in alloc_pages_bulk_node_noprof() 281 VM_BUG_ON(nid < 0 || nid >= MAX_NUMNODES); in __alloc_pages_node_noprof() 282 warn_if_node_offline(nid, gfp_mask); in __alloc_pages_node_noprof() 292 VM_BUG_ON(nid < 0 || nid >= MAX_NUMNODES); in __folio_alloc_node_noprof() 293 warn_if_node_offline(nid, gfp); in __folio_alloc_node_noprof() 308 if (nid == NUMA_NO_NODE) in alloc_pages_node_noprof() 309 nid = numa_mem_id(); in alloc_pages_node_noprof() 437 int nid, nodemask_t *nodemask); 445 int nid, nodemask_t *node) in folio_alloc_gigantic_noprof() argument [all …]
|
| A D | memblock.h | 77 int nid; member 363 nid, flags, p_start, p_end, p_nid) 380 nid, flags, p_start, p_end, p_nid) 383 struct memblock_type *type, int nid); 388 r->nid = nid; in memblock_set_region_node() 393 return r->nid; in memblock_get_region_node() 438 int nid); 441 int nid); 444 int nid); 482 phys_addr_t align, int nid) in memblock_alloc_node() argument [all …]
|
| A D | memory_hotplug.h | 139 extern int try_online_node(int nid); 141 extern int arch_add_memory(int nid, u64 start, u64 size, 163 static inline int add_pages(int nid, unsigned long start_pfn, in add_pages() argument 166 return __add_pages(nid, start_pfn, nr_pages, params); in add_pages() 216 static inline int try_online_node(int nid) in try_online_node() argument 279 extern void try_offline_node(int nid); 287 static inline void try_offline_node(int nid) {} in try_offline_node() argument 310 extern int add_memory_resource(int nid, struct resource *resource, 312 extern int add_memory_driver_managed(int nid, u64 start, u64 size, 322 extern int sparse_add_section(int nid, unsigned long pfn, [all …]
|
| A D | memory.h | 52 int nid; member 71 int nid; /* NID for this memory block */ member 173 extern int memory_group_register_static(int nid, unsigned long max_pages); 174 extern int memory_group_register_dynamic(int nid, unsigned long unit_pages); 178 int walk_dynamic_memory_groups(int nid, walk_memory_groups_func_t func, 205 void memory_block_add_nid(struct memory_block *mem, int nid,
|
| A D | compaction.h | 106 extern void __meminit kcompactd_run(int nid); 107 extern void __meminit kcompactd_stop(int nid); 122 static inline void kcompactd_run(int nid) in kcompactd_run() argument 125 static inline void kcompactd_stop(int nid) in kcompactd_stop() argument
|
| A D | genalloc.h | 102 phys_addr_t phys, size_t size, int nid) in gen_pool_add_virt() argument 104 return gen_pool_add_owner(pool, addr, phys, size, nid, NULL); in gen_pool_add_virt() 120 size_t size, int nid) in gen_pool_add() argument 122 return gen_pool_add_virt(pool, addr, -1, size, nid); in gen_pool_add() 206 int min_alloc_order, int nid, const char *name);
|
| A D | numa_memblks.h | 16 int nid; member 25 int __init numa_add_reserved_memblk(int nid, u64 start, u64 end);
|
| A D | zpool.h | 25 unsigned long *handle, const int nid); 67 unsigned long *handle, const int nid);
|
| A D | mmzone.h | 1502 #define node_present_pages(nid) (NODE_DATA(nid)->node_present_pages) argument 1503 #define node_spanned_pages(nid) (NODE_DATA(nid)->node_spanned_pages) argument 1505 #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) argument 1506 #define node_end_pfn(nid) pgdat_end_pfn(NODE_DATA(nid)) argument 1595 zone->node = nid; in zone_set_nid() 1643 static inline struct pglist_data *NODE_DATA(int nid) in NODE_DATA() argument 1795 int nid; in movable_only_nodes() local 1805 nid = first_node(*nodes); in movable_only_nodes() 2050 void sparse_vmemmap_init_nid_early(int nid); 2051 void sparse_vmemmap_init_nid_late(int nid); [all …]
|
| A D | nodemask.h | 433 static __always_inline unsigned int next_online_node(int nid) in next_online_node() argument 435 return next_node(nid, node_states[N_ONLINE]); in next_online_node() 437 static __always_inline unsigned int next_memory_node(int nid) in next_memory_node() argument 439 return next_node(nid, node_states[N_MEMORY]); in next_memory_node() 445 static __always_inline void node_set_online(int nid) in node_set_online() argument 447 node_set_state(nid, N_ONLINE); in node_set_online() 451 static __always_inline void node_set_offline(int nid) in node_set_offline() argument 453 node_clear_state(nid, N_ONLINE); in node_set_offline() 482 #define next_online_node(nid) (MAX_NUMNODES) argument 483 #define next_memory_node(nid) (MAX_NUMNODES) argument
|
| A D | memory-tiers.h | 49 int mt_set_default_dram_perf(int nid, struct access_coordinate *perf, 134 static inline int mt_set_default_dram_perf(int nid, struct access_coordinate *perf, in mt_set_default_dram_perf() argument
|
| A D | cma.h | 34 int nid); 45 const char *name, struct cma **res_cma, int nid);
|
| /include/trace/events/ |
| A D | vmscan.h | 53 TP_ARGS(nid), 60 __entry->nid = nid; 79 __entry->nid = nid; 103 __entry->nid = nid; 223 __entry->nid = sc->nid; 263 __entry->nid = nid; 372 __entry->nid = nid; 419 __entry->nid = nid; 464 __entry->nid = nid; 494 __entry->nid = nid; [all …]
|
| A D | erofs.h | 42 __field(erofs_nid_t, nid ) 49 __entry->nid = EROFS_I(dir)->nid; 66 __field(erofs_nid_t, nid ) 73 __entry->nid = EROFS_I(inode)->nid; 100 __entry->nid = EROFS_I(folio->mapping->host)->nid; 125 __field(erofs_nid_t, nid ) 133 __entry->nid = EROFS_I(inode)->nid; 155 __field( erofs_nid_t, nid ) 163 __entry->nid = EROFS_I(inode)->nid; 184 __field( erofs_nid_t, nid ) [all …]
|
| A D | compaction.h | 201 __field(int, nid) 215 __entry->nid, 246 __field(int, nid) 264 __entry->nid, 295 TP_PROTO(int nid), 297 TP_ARGS(nid), 300 __field(int, nid) 304 __entry->nid = nid; 317 __field(int, nid) 323 __entry->nid = nid; [all …]
|
| /include/asm-generic/ |
| A D | numa.h | 35 void __init early_map_cpu_to_node(unsigned int cpu, int nid); 47 static inline void early_map_cpu_to_node(unsigned int cpu, int nid) { } in early_map_cpu_to_node() argument
|
| /include/drm/ttm/ |
| A D | ttm_pool.h | 73 int nid; member 88 int nid, bool use_dma_alloc, bool use_dma32);
|