/linux-6.3-rc2/include/sound/ |
A 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 …]
|
/linux-6.3-rc2/sound/hda/ |
A 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() 338 static int add_widget_node(struct kobject *parent, hda_nid_t nid, in add_widget_node() 367 hda_nid_t nid; in widget_tree_create() local [all …]
|
A D | hdac_device.c | 275 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read() 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 464 int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_connections() 1000 static int codec_write(struct hdac_device *hdac, hda_nid_t nid, in codec_write() 1020 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid, in snd_hdac_codec_read() 1039 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, in snd_hdac_codec_write() 1057 hda_nid_t nid, unsigned int target_state) in snd_hdac_check_power_state() [all …]
|
/linux-6.3-rc2/sound/pci/hda/ |
A 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() 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() 451 struct hda_codec *codec, hda_nid_t nid, in print_audio_io() 683 hda_nid_t nid, int dev_num) in print_dpmst_connections() [all …]
|
A D | hda_codec.c | 90 hda_nid_t nid; member 419 hda_nid_t nid; in read_widget_caps() local 434 hda_nid_t nid; in read_pin_defaults() local 462 hda_nid_t nid) in look_up_pincfg() 678 hda_nid_t nid; member 2319 hda_nid_t nid; in snd_hda_spdif_default_put() local 2377 hda_nid_t nid; in snd_hda_spdif_out_switch_put() local 2735 hda_nid_t nid; in snd_hda_codec_set_power_to_all() local 2828 hda_nid_t nid; in sync_power_up_states() local 3482 hda_nid_t nid) in snd_hda_check_amp_list_power() [all …]
|
A D | hda_jack.h | 21 hda_nid_t nid; member 31 hda_nid_t nid; member 63 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get() 95 snd_hda_jack_detect_enable_callback(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable_callback() 130 snd_hda_jack_detect_state(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect_state() 142 snd_hda_jack_detect_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_detect_mst() 154 snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect() 178 snd_hda_jack_add_kctl(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_add_kctl()
|
A 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() 253 u32 snd_hda_jack_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_pin_sense() 275 hda_nid_t nid, int dev_id) in snd_hda_jack_detect_state_mst() 365 int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable() 502 static int get_input_jack_type(struct hda_codec *codec, hda_nid_t nid) in get_input_jack_type() 541 int snd_hda_jack_add_kctl_mst(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_add_kctl_mst() [all …]
|
A 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 71 #define HDA_CODEC_MUTE(xname, nid, xindex, direction) \ argument 272 hda_nid_t nid; member 438 #define for_each_hda_codec_node(nid, codec) \ argument 480 hda_nid_t nid, u32 val) in snd_hda_override_wcaps() 528 #define nid_has_mute(codec, nid, dir) \ argument 530 #define nid_has_volume(codec, nid, dir) \ argument 540 hda_nid_t nid; member 595 hda_nid_t nid; member [all …]
|
A 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() 173 hda_nid_t nid; in snd_hda_parse_pin_defcfg() local 589 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() 599 static const char *check_output_sfx(hda_nid_t nid, const hda_nid_t *pins, in check_output_sfx() 620 static const char *check_output_pfx(struct hda_codec *codec, hda_nid_t nid) in check_output_pfx() 635 static int get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, in get_hp_label_index() 652 static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, in fill_audio_out_name() 708 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_pin_label() 897 hda_nid_t nid = pin->nid; in pin_config_match() local
|
A D | hda_generic.c | 1283 hda_nid_t nid; in assign_out_path_ctls() local 1965 hda_nid_t nid; in fill_all_dac_nids() local 2609 hda_nid_t nid; in create_hp_mic() local 3058 hda_nid_t nid; in look_for_mix_leaf_ctls() local 3154 hda_nid_t nid; in fill_adc_nids() local 3541 hda_nid_t nid; in parse_capvol_in_path() local 3856 hda_nid_t nid; in look_for_boost_amp() local 4371 hda_nid_t nid = pins[i]; in detect_jacks() local 4391 hda_nid_t nid = pins[i]; in do_automute() local 4903 hda_nid_t nid, in snd_hda_gen_path_power_filter() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | node.h | 71 static inline void node_add_cache(unsigned int nid, in node_add_cache() 76 static inline void node_set_perf_attrs(unsigned int nid, in node_set_perf_attrs() 100 static inline void register_memory_blocks_under_node(int nid, unsigned long start_pfn, in register_memory_blocks_under_node() 114 static inline int register_one_node(int nid) in register_one_node() 145 static inline int __register_one_node(int nid) in __register_one_node() 149 static inline int register_one_node(int nid) in register_one_node() 153 static inline int unregister_one_node(int nid) in unregister_one_node() 157 static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node() 161 static inline int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) in unregister_cpu_under_node()
|
A D | memory_hotplug.h | 34 #define arch_alloc_nodedata(nid) generic_alloc_nodedata(nid) argument 42 #define generic_alloc_nodedata(nid) \ argument 48 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata() 56 static inline pg_data_t *generic_alloc_nodedata(int nid) in generic_alloc_nodedata() 61 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata() 194 static inline int add_pages(int nid, unsigned long start_pfn, in add_pages() 247 static inline int try_online_node(int nid) in try_online_node() 313 static inline void try_offline_node(int nid) {} in try_offline_node()
|
/linux-6.3-rc2/mm/ |
A D | list_lru.c | 53 list_lru_from_memcg_idx(struct list_lru *lru, int nid, int idx) in list_lru_from_memcg_idx() 64 list_lru_from_kmem(struct list_lru *lru, int nid, void *ptr, in list_lru_from_kmem() 104 list_lru_from_memcg_idx(struct list_lru *lru, int nid, int idx) in list_lru_from_memcg_idx() 110 list_lru_from_kmem(struct list_lru *lru, int nid, void *ptr, in list_lru_from_kmem() 121 int nid = page_to_nid(virt_to_page(item)); in list_lru_add() local 145 int nid = page_to_nid(virt_to_page(item)); in list_lru_del() local 179 int nid, struct mem_cgroup *memcg) in list_lru_count_one() 196 unsigned long list_lru_count_node(struct list_lru *lru, int nid) in list_lru_count_node() 206 __list_lru_walk_one(struct list_lru *lru, int nid, int memcg_idx, in __list_lru_walk_one() 298 unsigned long list_lru_walk_node(struct list_lru *lru, int nid, in list_lru_walk_node() [all …]
|
A D | sparse.c | 52 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() 57 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() 118 static inline unsigned long sparse_encode_early_nid(int nid) in sparse_encode_early_nid() 269 int i, nid; in memblocks_present() local 338 int nid; in sparse_early_usemaps_alloc_pgdat_section() local 361 static void __init check_usemap_section_nr(int nid, in check_usemap_section_nr() 411 static void __init check_usemap_section_nr(int nid, in check_usemap_section_nr() 430 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in __populate_section_memmap() 573 int nid = sparse_early_nid(__nr_to_section(pnum_end)); in sparse_init() local 633 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in populate_section_memmap() [all …]
|
A D | memory_hotplug.c | 396 int nid = zone_to_nid(zone); in shrink_zone_span() local 622 int nid = zone_to_nid(zone); in node_states_check_changes_online() local 692 int nid = pgdat->node_id; in move_pfn_range_to_zone() local 1077 const int nid = zone_to_nid(zone); in online_pages() local 1175 static pg_data_t __ref *hotadd_init_pgdat(int nid) in hotadd_init_pgdat() 1246 int try_online_node(int nid) in try_online_node() 1968 int *nid = arg; in check_memblock_offlined_cb() local 1992 static int check_cpu_on_node(int nid) in check_cpu_on_node() 2010 int nid = *(int *)arg; in check_no_memblock_for_node_cb() local 2029 void try_offline_node(int nid) in try_offline_node() [all …]
|
/linux-6.3-rc2/arch/powerpc/mm/ |
A D | numa.c | 90 unsigned int *nid) in fake_numa_create_new_node() 171 int nid; in __associativity_to_nid() local 274 int nid = NUMA_NO_NODE; in of_node_to_nid_single() local 305 int i, nid; in __initialize_form1_numa_distance() local 342 int nid; in update_numa_distance() local 789 int nid; in ppc_numa_cpu_prepare() local 853 int nid; in numa_setup_drmem_lmb() local 968 int nid; in parse_numa_properties() local 1029 unsigned int nid = 0; in setup_nonnuma() local 1208 int nid; in initmem_init() local [all …]
|
/linux-6.3-rc2/drivers/base/ |
A D | node.c | 360 static void node_init_caches(unsigned int nid) in node_init_caches() 365 static void node_init_caches(unsigned int nid) { } in node_init_caches() 374 int nid = dev->id; in node_read_meminfo() local 512 int nid = dev->id; in node_read_vmstat() local 546 int nid = dev->id; in node_read_distance() local 648 int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node() 750 static void do_register_memory_block_under_node(int nid, in do_register_memory_block_under_node() 783 int nid = *(int *)arg; in register_mem_block_under_node_early() local 823 int nid = *(int *)arg; in register_mem_block_under_node_hotplug() local 861 int __register_one_node(int nid) in __register_one_node() [all …]
|
/linux-6.3-rc2/arch/ia64/kernel/ |
A D | uncached.c | 73 static int uncached_add_chunk(struct uncached_pool *uc_pool, int nid) in uncached_add_chunk() 181 int nid; in uncached_alloc_page() local 220 int nid = paddr_to_nid(uc_addr - __IA64_UNCACHED_OFFSET); in uncached_free_page() local 246 int nid = paddr_to_nid(uc_start - __IA64_UNCACHED_OFFSET); in uncached_build_memmap() local 262 int nid; in uncached_init() local
|
/linux-6.3-rc2/arch/ia64/include/asm/ |
A 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
|
/linux-6.3-rc2/sound/pci/lola/ |
A 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
|
/linux-6.3-rc2/arch/sh/include/asm/ |
A 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()
|
/linux-6.3-rc2/fs/f2fs/ |
A D | node.c | 168 nid_t nid, bool no_fail) in __alloc_nat_entry() 630 nid_t nid; in f2fs_ra_node_pages() local 1033 nid_t nid[3]; in truncate_partial_nodes() local 1580 nid_t nid; in __write_node_page() local 2274 nid_t nid, bool build, bool update) in add_free_nid() 2408 nid_t nid; in scan_curseg_cache() local 2424 nid_t nid; in scan_free_nid_bits() local 2457 nid_t nid = nm_i->next_scan_nid; in __f2fs_build_free_nids() local 3019 nid_t nid = nat_get_nid(ne); in __flush_nat_entry_set() local 3174 nid_t nid, last_nid; in load_free_nid_bitmap() local [all …]
|
/linux-6.3-rc2/arch/x86/mm/ |
A 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() 523 int nid = memblock_get_region_node(mb_region); in numa_clear_kernel_node_hotplug() local 549 int i, nid; in numa_register_memblks() local 684 int nid = early_cpu_to_node(i); in numa_init() local 756 int nid; in init_gi_nodes() local 942 int nid = meminfo_to_nid(&numa_meminfo, start); in phys_to_target_node() local 957 int nid = meminfo_to_nid(&numa_meminfo, start); in memory_add_physaddr_to_nid() local
|
A 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 532 int physnid, nid; in numa_add_cpu() local 558 int nid, physnid; in numa_set_cpumask() local
|
A 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() 74 unsigned long end, int nid) in kasan_populate_pud() 104 unsigned long end, int nid) in kasan_populate_p4d() 124 unsigned long end, int nid) in kasan_populate_pgd() 143 int nid) in kasan_populate_shadow() 333 void __init kasan_populate_shadow_for_vaddr(void *va, size_t size, int nid) in kasan_populate_shadow_for_vaddr()
|