/kernel/linux/linux-5.10/include/sound/ |
D | hda_regmap.h | 38 #define snd_hdac_regmap_encode_verb(nid, verb) \ argument 50 #define snd_hdac_regmap_encode_amp(nid, ch, dir, idx) \ argument 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() 97 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update() 115 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read() 136 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp() 160 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp() 181 snd_hdac_regmap_get_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp_stereo() 205 snd_hdac_regmap_update_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp_stereo() [all …]
|
/kernel/linux/linux-5.10/sound/hda/ |
D | hdac_sysfs.c | 99 int nid; in get_codec_nid() local 115 int nid; in widget_attr_show() local 131 int nid; in widget_attr_store() local 161 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show() 167 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show() 176 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show() 188 static bool has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) in has_pcm_cap() 201 static ssize_t pcm_caps_show(struct hdac_device *codec, hda_nid_t nid, in pcm_caps_show() 210 static ssize_t pcm_formats_show(struct hdac_device *codec, hda_nid_t nid, in pcm_formats_show() 219 static ssize_t amp_in_caps_show(struct hdac_device *codec, hda_nid_t nid, in amp_in_caps_show() [all …]
|
D | hdac_device.c | 224 static unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd() 275 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read() 293 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm() 312 int snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read_parm_uncached() 331 int snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_override_parm() 356 int snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_sub_nodes() 377 hda_nid_t nid; in setup_fg_nodes() local 436 static unsigned int get_num_conns(struct hdac_device *codec, hda_nid_t nid) in get_num_conns() 464 int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_connections() 787 static unsigned int query_pcm_param(struct hdac_device *codec, hda_nid_t nid) in query_pcm_param() [all …]
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
D | hda_proc.c | 22 #define param_read(codec, nid, parm) \ argument 48 struct hda_codec *codec, hda_nid_t nid, in print_nid_array() 75 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms() 94 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps() 112 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, in is_stereo_amps() 134 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals() 200 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps() 305 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps() 401 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls() 439 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob() [all …]
|
D | hda_jack.h | 21 hda_nid_t nid; member 31 hda_nid_t nid; member 62 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get() 93 snd_hda_jack_detect_enable_callback(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable_callback() 121 snd_hda_jack_detect_state(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect_state() 133 snd_hda_jack_detect_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_detect_mst() 145 snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect() 169 snd_hda_jack_add_kctl(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_add_kctl()
|
D | hda_jack.c | 29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable() 46 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in read_pin_sense() 71 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_get_mst() 108 any_jack_tbl_get_from_nid(struct hda_codec *codec, hda_nid_t nid) in any_jack_tbl_get_from_nid() 128 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_new() 242 u32 snd_hda_jack_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_pin_sense() 264 hda_nid_t nid, int dev_id) in snd_hda_jack_detect_state_mst() 307 snd_hda_jack_detect_enable_callback_mst(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable_callback_mst() 354 int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable() 428 static int get_input_jack_type(struct hda_codec *codec, hda_nid_t nid) in get_input_jack_type() [all …]
|
D | hda_codec.c | 90 hda_nid_t nid; member 96 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list() 106 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list() 132 static int read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) in read_and_add_raw_conns() 168 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_conn_list() 207 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_connections() 238 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in snd_hda_override_conn_list() 265 hda_nid_t nid, int recursive) in snd_hda_get_conn_index() 300 unsigned int snd_hda_get_num_devices(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_num_devices() 326 int snd_hda_get_devices(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_devices() [all …]
|
D | hda_local.h | 26 #define HDA_COMPOSE_AMP_VAL_OFS(nid,chs,idx,dir,ofs) \ argument 29 #define HDA_COMPOSE_AMP_VAL(nid,chs,idx,dir) \ argument 32 #define HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, channel, xindex, dir, flags) \ argument 44 #define HDA_CODEC_VOLUME_IDX(xname, xcidx, nid, xindex, direction) \ argument 47 #define HDA_CODEC_VOLUME_MONO(xname, nid, channel, xindex, direction) \ argument 50 #define HDA_CODEC_VOLUME(xname, nid, xindex, direction) \ argument 53 #define HDA_CODEC_VOLUME_MIN_MUTE(xname, nid, xindex, direction) \ argument 57 #define HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, channel, xindex, direction) \ argument 65 #define HDA_CODEC_MUTE_IDX(xname, xcidx, nid, xindex, direction) \ argument 68 #define HDA_CODEC_MUTE_MONO(xname, nid, channel, xindex, direction) \ argument [all …]
|
D | hda_auto_parser.c | 20 static int is_in_nid_list(hda_nid_t nid, const hda_nid_t *list) in is_in_nid_list() 57 hda_nid_t nid, int type) in add_auto_cfg_input_pin() 95 hda_nid_t nid; in reorder_outputs() local 177 hda_nid_t nid; in snd_hda_parse_pin_defcfg() local 593 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() 603 static const char *check_output_sfx(hda_nid_t nid, const hda_nid_t *pins, in check_output_sfx() 624 static const char *check_output_pfx(struct hda_codec *codec, hda_nid_t nid) in check_output_pfx() 639 static int get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, in get_hp_label_index() 656 static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, in fill_audio_out_name() 712 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_pin_label() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | node.h | 72 static inline void node_add_cache(unsigned int nid, in node_add_cache() 77 static inline void node_set_perf_attrs(unsigned int nid, in node_set_perf_attrs() 106 static inline void link_mem_sections(int nid, unsigned long start_pfn, in link_mem_sections() 119 static inline int register_one_node(int nid) in register_one_node() 152 static inline int __register_one_node(int nid) in __register_one_node() 156 static inline int register_one_node(int nid) in register_one_node() 160 static inline int unregister_one_node(int nid) in unregister_one_node() 164 static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node() 168 static inline int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) in unregister_cpu_under_node()
|
D | memory_hotplug.h | 155 static inline int add_pages(int nid, unsigned long start_pfn, in add_pages() 182 #define arch_alloc_nodedata(nid) generic_alloc_nodedata(nid) argument 192 #define generic_alloc_nodedata(nid) \ argument 203 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata() 211 static inline pg_data_t *generic_alloc_nodedata(int nid) in generic_alloc_nodedata() 219 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata() 267 static inline int try_online_node(int nid) in try_online_node() 321 static inline void try_offline_node(int nid) {} in try_offline_node() 328 static inline int remove_memory(int nid, u64 start, u64 size) in remove_memory() 333 static inline void __remove_memory(int nid, u64 start, u64 size) {} in __remove_memory()
|
/kernel/linux/linux-5.10/mm/ |
D | memory_hotplug.c | 310 int __ref __add_pages(int nid, unsigned long pfn, unsigned long nr_pages, in __add_pages() 355 static unsigned long find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn() 376 static unsigned long find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn() 404 int nid = zone_to_nid(zone); in shrink_zone_span() local 633 int nid = zone_to_nid(zone); in node_states_check_changes_online() local 697 int nid = pgdat->node_id; in move_pfn_range_to_zone() local 729 static struct zone *default_kernel_zone_for_pfn(int nid, unsigned long start_pfn, in default_kernel_zone_for_pfn() 745 static inline struct zone *default_zone_for_pfn(int nid, unsigned long start_pfn, in default_zone_for_pfn() 769 struct zone *zone_for_pfn_range(int online_type, int nid, in zone_for_pfn_range() 782 int online_type, int nid) in online_pages() [all …]
|
D | sparse.c | 51 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() 56 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() 62 static noinline struct mem_section __ref *sparse_index_alloc(int nid) in sparse_index_alloc() 81 static int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() 105 static inline int sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() 143 static inline unsigned long sparse_encode_early_nid(int nid) in sparse_encode_early_nid() 252 static void __init memory_present(int nid, unsigned long start, unsigned long end) in memory_present() 295 int i, nid; in memblocks_present() local 354 int nid; in sparse_early_usemaps_alloc_pgdat_section() local 377 static void __init check_usemap_section_nr(int nid, in check_usemap_section_nr() [all …]
|
D | page_ext.c | 142 static int __init alloc_node_page_ext(int nid) in alloc_node_page_ext() 176 int nid, fail; in page_ext_init_flatmem() local 211 static void *__meminit alloc_page_ext(size_t size, int nid) in alloc_page_ext() 227 static int __meminit init_section_page_ext(unsigned long pfn, int nid) in init_section_page_ext() 294 int nid) in online_page_ext() 325 unsigned long nr_pages, int nid) in offline_page_ext() 372 int nid; in page_ext_init() local
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | numa.c | 86 unsigned int *nid) in fake_numa_create_new_node() 208 static void initialize_distance_lookup_table(int nid, in initialize_distance_lookup_table() 230 int nid = NUMA_NO_NODE; in associativity_to_nid() local 259 int nid = NUMA_NO_NODE; in of_node_to_nid_single() local 271 int nid = NUMA_NO_NODE; in of_node_to_nid() local 437 int nid = default_nid; in of_drconf_to_nid_single() local 508 int nid = NUMA_NO_NODE; in numa_setup_cpu() local 592 int nid; in ppc_numa_cpu_prepare() local 656 int nid; in numa_setup_drmem_lmb() local 728 int nid = vphn_get_nid(i); in parse_numa_properties() local [all …]
|
/kernel/linux/linux-5.10/drivers/base/ |
D | node.c | 189 void node_set_perf_attrs(unsigned int nid, struct node_hmem_attrs *hmem_attrs, in node_set_perf_attrs() 292 void node_add_cache(unsigned int nid, struct node_cache_attrs *cache_attrs) in node_add_cache() 355 static void node_init_caches(unsigned int nid) in node_init_caches() 360 static void node_init_caches(unsigned int nid) { } in node_init_caches() 369 int nid = dev->id; in node_read_meminfo() local 503 int nid = dev->id; in node_read_vmstat() local 532 int nid = dev->id; in node_read_distance() local 669 int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node() 742 int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) in unregister_cpu_under_node() 773 static void do_register_memory_block_under_node(int nid, in do_register_memory_block_under_node() [all …]
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | uncached.c | 75 static int uncached_add_chunk(struct uncached_pool *uc_pool, int nid) in uncached_add_chunk() 183 int nid; in uncached_alloc_page() local 222 int nid = paddr_to_nid(uc_addr - __IA64_UNCACHED_OFFSET); in uncached_free_page() local 248 int nid = paddr_to_nid(uc_start - __IA64_UNCACHED_OFFSET); in uncached_build_memmap() local 264 int nid; in uncached_init() local
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | mmzone.h | 9 #define NODE_DATA(nid) (node_data[nid]) argument 13 int nid; in pfn_to_nid() local 31 setup_bootmem_node(int nid, unsigned long start, unsigned long end) in setup_bootmem_node()
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | numa.h | 41 int nid; /* which logical node contains this chunk? */ member 47 int nid; /* logical node containing this CPU */ member 77 #define map_cpu_to_node(cpu, nid) do{}while(0) argument 78 #define unmap_cpu_from_node(cpu, nid) do{}while(0) argument
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | numa.c | 125 static int __init numa_add_memblk_to(int nid, u64 start, u64 end, in numa_add_memblk_to() 190 int __init numa_add_memblk(int nid, u64 start, u64 end) in numa_add_memblk() 196 static void __init alloc_node_data(int nid) in alloc_node_data() 524 int nid = memblock_get_region_node(mb_region); in numa_clear_kernel_node_hotplug() local 550 int i, nid; in numa_register_memblks() local 685 int nid = early_cpu_to_node(i); in numa_init() local 742 static void __init init_memory_less_node(int nid) in init_memory_less_node() 768 int nid; in init_gi_nodes() local 936 int nid = meminfo_to_nid(&numa_meminfo, start); in phys_to_target_node() local 951 int nid = meminfo_to_nid(&numa_meminfo, start); in memory_add_physaddr_to_nid() local
|
D | kasan_init_64.c | 26 static __init void *early_alloc(size_t size, int nid, bool should_panic) in early_alloc() 39 unsigned long end, int nid) in kasan_populate_pmd() 75 unsigned long end, int nid) in kasan_populate_pud() 106 unsigned long end, int nid) in kasan_populate_p4d() 126 unsigned long end, int nid) in kasan_populate_pgd() 145 int nid) in kasan_populate_shadow() 335 void __init kasan_populate_shadow_for_vaddr(void *va, size_t size, int nid) in kasan_populate_shadow_for_vaddr()
|
D | numa_emulation.c | 22 static int __init emu_find_memblk_by_nid(int nid, const struct numa_meminfo *mi) in emu_find_memblk_by_nid() 48 int nid, int phys_blk, u64 size) in emu_setup_memblk() 90 int nid = 0; in split_nodes_interleave() local 220 int nid) in split_nodes_size_interleave_uniform() 398 int nid = 0; in numa_emulation() local 534 int physnid, nid; in numa_add_cpu() local 560 int nid, physnid; in numa_set_cpumask() local
|
/kernel/linux/linux-5.10/sound/pci/lola/ |
D | lola_proc.c | 17 struct lola *chip, int nid, const char *name) in print_audio_widget() 28 struct lola *chip, int nid, unsigned int ampcap, in print_pin_widget() 49 struct lola *chip, int nid) in print_clock_widget() 89 struct lola *chip, int nid) in print_mixer_widget() 102 int i, nid; in lola_proc_codec_read() local
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
D | mmzone.h | 21 #define node_mem_start(nid) \ argument 25 #define node_mem_size(nid) \ argument 31 #define NODE_DATA(nid) (&node_data[(nid)]) argument 33 #define node_localnr(pfn, nid) ((pfn) - NODE_DATA(nid)->node_start_pfn) argument
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | node.c | 33 int f2fs_check_nid_range(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_check_nid_range() 110 static struct page *get_current_nat_page(struct f2fs_sb_info *sbi, nid_t nid) in get_current_nat_page() 115 static struct page *get_next_nat_page(struct f2fs_sb_info *sbi, nid_t nid) in get_next_nat_page() 144 static struct nat_entry *__alloc_nat_entry(nid_t nid, bool no_fail) in __alloc_nat_entry() 356 int f2fs_need_dentry_mark(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_need_dentry_mark() 373 bool f2fs_is_checkpointed_node(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_is_checkpointed_node() 404 static void cache_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, in cache_nat_entry() 517 int f2fs_get_node_info(struct f2fs_sb_info *sbi, nid_t nid, in f2fs_get_node_info() 591 nid_t nid; in f2fs_ra_node_pages() local 974 nid_t nid[3]; in truncate_partial_nodes() local [all …]
|