Home
last modified time | relevance | path

Searched defs:nid (Results 1 – 25 of 206) sorted by relevance

123456789

/Linux-v4.19/include/sound/
Dhda_regmap.h35 #define snd_hdac_regmap_encode_verb(nid, verb) \ argument
47 #define snd_hdac_regmap_encode_amp(nid, ch, dir, idx) \ argument
61 #define snd_hdac_regmap_encode_amp_stereo(nid, dir, idx) \ argument
76 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_write()
94 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update()
112 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read()
133 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp()
157 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp()
178 snd_hdac_regmap_get_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp_stereo()
202 snd_hdac_regmap_update_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp_stereo()
[all …]
/Linux-v4.19/sound/hda/
Dhdac_sysfs.c99 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 …]
Dhdac_device.c215 unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd()
268 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read()
282 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm()
301 int snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read_parm_uncached()
320 int snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_override_parm()
345 int snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_sub_nodes()
366 hda_nid_t nid; in setup_fg_nodes() local
420 static unsigned int get_num_conns(struct hdac_device *codec, hda_nid_t nid) in get_num_conns()
448 int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_connections()
788 static unsigned int query_pcm_param(struct hdac_device *codec, hda_nid_t nid) in query_pcm_param()
[all …]
/Linux-v4.19/sound/pci/hda/
Dhda_proc.c36 #define param_read(codec, nid, parm) \ argument
62 struct hda_codec *codec, hda_nid_t nid, in print_nid_array()
89 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms()
108 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps()
126 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, in is_stereo_amps()
148 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals()
214 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps()
319 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps()
415 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls()
453 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob()
[all …]
Dhda_jack.c33 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable()
50 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid) in read_pin_sense()
74 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get()
114 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_new()
205 u32 snd_hda_pin_sense(struct hda_codec *codec, hda_nid_t nid) in snd_hda_pin_sense()
224 int snd_hda_jack_detect_state(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect_state()
247 snd_hda_jack_detect_enable_callback(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable_callback()
289 int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect_enable()
350 static int get_input_jack_type(struct hda_codec *codec, hda_nid_t nid) in get_input_jack_type()
386 int snd_hda_jack_add_kctl(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_add_kctl()
[all …]
Dhda_codec.c103 hda_nid_t nid; member
109 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list()
119 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list()
145 static int read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) in read_and_add_raw_conns()
181 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_conn_list()
220 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_connections()
251 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in snd_hda_override_conn_list()
278 hda_nid_t nid, int recursive) in snd_hda_get_conn_index()
313 unsigned int snd_hda_get_num_devices(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_num_devices()
339 int snd_hda_get_devices(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_devices()
[all …]
Dhda_local.h39 #define HDA_COMPOSE_AMP_VAL_OFS(nid,chs,idx,dir,ofs) \ argument
42 #define HDA_COMPOSE_AMP_VAL(nid,chs,idx,dir) \ argument
45 #define HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, channel, xindex, dir, flags) \ argument
57 #define HDA_CODEC_VOLUME_IDX(xname, xcidx, nid, xindex, direction) \ argument
60 #define HDA_CODEC_VOLUME_MONO(xname, nid, channel, xindex, direction) \ argument
63 #define HDA_CODEC_VOLUME(xname, nid, xindex, direction) \ argument
66 #define HDA_CODEC_VOLUME_MIN_MUTE(xname, nid, xindex, direction) \ argument
70 #define HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, channel, xindex, direction) \ argument
78 #define HDA_CODEC_MUTE_IDX(xname, xcidx, nid, xindex, direction) \ argument
81 #define HDA_CODEC_MUTE_MONO(xname, nid, channel, xindex, direction) \ argument
[all …]
Dhda_auto_parser.c24 static int is_in_nid_list(hda_nid_t nid, const hda_nid_t *list) in is_in_nid_list()
61 hda_nid_t nid, int type) in add_auto_cfg_input_pin()
93 hda_nid_t nid; in reorder_outputs() local
175 hda_nid_t nid; in snd_hda_parse_pin_defcfg() local
591 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list()
601 static const char *check_output_sfx(hda_nid_t nid, const hda_nid_t *pins, in check_output_sfx()
622 static const char *check_output_pfx(struct hda_codec *codec, hda_nid_t nid) in check_output_pfx()
637 static int get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, in get_hp_label_index()
654 static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, in fill_audio_out_name()
710 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_pin_label()
[all …]
/Linux-v4.19/include/linux/
Dnode.h38 static inline int link_mem_sections(int nid, unsigned long start_pfn, in link_mem_sections()
51 static inline int register_one_node(int nid) in register_one_node()
83 static inline int __register_one_node(int nid) in __register_one_node()
87 static inline int register_one_node(int nid) in register_one_node()
91 static inline int unregister_one_node(int nid) in unregister_one_node()
95 static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node()
99 static inline int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) in unregister_cpu_under_node()
Dmemory_hotplug.h121 static inline int add_pages(int nid, unsigned long start_pfn, in add_pages()
158 #define arch_alloc_nodedata(nid) generic_alloc_nodedata(nid) argument
168 #define generic_alloc_nodedata(nid) \ argument
179 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata()
187 static inline pg_data_t *generic_alloc_nodedata(int nid) in generic_alloc_nodedata()
195 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata()
253 static inline int try_online_node(int nid) in try_online_node()
312 static inline void try_offline_node(int nid) {} in try_offline_node()
319 static inline void remove_memory(int nid, u64 start, u64 size) {} in remove_memory()
Dbootmem.h237 phys_addr_t size, int nid) in memblock_virt_alloc_node()
244 phys_addr_t size, int nid) in memblock_virt_alloc_node_nopanic()
258 phys_addr_t base, phys_addr_t size, int nid) in memblock_free_early_nid()
322 phys_addr_t size, int nid) in memblock_virt_alloc_node()
329 phys_addr_t size, int nid) in memblock_virt_alloc_node_nopanic()
337 phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid) in memblock_virt_alloc_try_nid()
345 phys_addr_t min_addr, phys_addr_t max_addr, int nid) in memblock_virt_alloc_try_nid_raw()
353 phys_addr_t min_addr, phys_addr_t max_addr, int nid) in memblock_virt_alloc_try_nid_nopanic()
366 phys_addr_t base, phys_addr_t size, int nid) in memblock_free_early_nid()
Dmemblock.h49 int nid; member
156 #define for_each_mem_range(i, type_a, type_b, nid, flags, \ argument
176 #define for_each_mem_range_rev(i, type_a, type_b, nid, flags, \ argument
230 #define for_each_mem_pfn_range(i, nid, p_start, p_end, p_nid) \ argument
247 #define for_each_free_mem_range(i, nid, flags, p_start, p_end, p_nid) \ argument
263 #define for_each_free_mem_range_reverse(i, nid, flags, p_start, p_end, \ argument
299 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node()
309 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node()
/Linux-v4.19/drivers/base/
Dnode.c67 int nid = dev->id; in node_read_meminfo() local
184 int nid = dev->id; in node_read_vmstat() local
213 int nid = dev->id; in node_read_distance() local
347 int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node()
370 int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) in unregister_cpu_under_node()
404 int ret, nid = *(int *)arg; in register_mem_sect_under_node() local
469 int nid; in unregister_mem_sect_under_nodes() local
487 int link_mem_sections(int nid, unsigned long start_pfn, unsigned long end_pfn) in link_mem_sections()
514 static void init_node_hugetlb_work(int nid) in init_node_hugetlb_work()
523 int nid = mnb->status_change_nid; in node_memory_callback() local
[all …]
/Linux-v4.19/mm/
Dsparse.c51 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()
76 static int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init()
93 static inline int sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init()
131 static inline unsigned long sparse_encode_early_nid(int nid) in sparse_encode_early_nid()
209 void __init memory_present(int nid, unsigned long start, unsigned long end) in memory_present()
294 int nid; in sparse_early_usemaps_alloc_pgdat_section() local
319 static void __init check_usemap_section_nr(int nid, unsigned long *usemap) in check_usemap_section_nr()
368 static void __init check_usemap_section_nr(int nid, unsigned long *usemap) in check_usemap_section_nr()
[all …]
Dpage_ext.c143 static int __init alloc_node_page_ext(int nid) in alloc_node_page_ext()
177 int nid, fail; in page_ext_init_flatmem() local
213 static void *__meminit alloc_page_ext(size_t size, int nid) in alloc_page_ext()
229 static int __meminit init_section_page_ext(unsigned long pfn, int nid) in init_section_page_ext()
295 int nid) in online_page_ext()
329 unsigned long nr_pages, int nid) in offline_page_ext()
376 int nid; in page_ext_init() local
Dmemory_hotplug.c249 static int __meminit __add_section(int nid, unsigned long phys_start_pfn, in __add_section()
273 int __ref __add_pages(int nid, unsigned long phys_start_pfn, in __add_pages()
319 static unsigned long find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn()
344 static unsigned long find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn()
379 int nid = zone_to_nid(zone); in shrink_zone_span() local
447 int nid = pgdat->node_id; in shrink_pgdat_span() local
689 int nid = zone_to_nid(zone); in node_states_check_changes_online() local
785 int nid = pgdat->node_id; in move_pfn_range_to_zone() local
818 static struct zone *default_kernel_zone_for_pfn(int nid, unsigned long start_pfn, in default_kernel_zone_for_pfn()
834 static inline struct zone *default_zone_for_pfn(int nid, unsigned long start_pfn, in default_zone_for_pfn()
[all …]
/Linux-v4.19/arch/ia64/kernel/
Duncached.c79 static int uncached_add_chunk(struct uncached_pool *uc_pool, int nid) in uncached_add_chunk()
190 int nid; in uncached_alloc_page() local
229 int nid = paddr_to_nid(uc_addr - __IA64_UNCACHED_OFFSET); in uncached_free_page() local
255 int nid = paddr_to_nid(uc_start - __IA64_UNCACHED_OFFSET); in uncached_build_memmap() local
271 int nid; in uncached_init() local
/Linux-v4.19/arch/ia64/include/asm/
Dnuma.h41 int nid; /* which logical node contains this chunk? */ member
47 int nid; /* logical node containing this CPU */ member
75 #define map_cpu_to_node(cpu, nid) do{}while(0) argument
76 #define unmap_cpu_from_node(cpu, nid) do{}while(0) argument
/Linux-v4.19/arch/sh/include/asm/
Dmmzone.h11 #define NODE_DATA(nid) (node_data[nid]) argument
15 int nid; in pfn_to_nid() local
33 setup_bootmem_node(int nid, unsigned long start, unsigned long end) in setup_bootmem_node()
/Linux-v4.19/arch/powerpc/mm/
Dnuma.c92 unsigned int *nid) in fake_numa_create_new_node()
198 static void initialize_distance_lookup_table(int nid, in initialize_distance_lookup_table()
219 int nid = -1; in associativity_to_nid() local
248 int nid = -1; in of_node_to_nid_single() local
260 int nid = -1; in of_node_to_nid() local
426 int nid = default_nid; in of_drconf_to_nid_single() local
458 int nid = -1; in numa_setup_cpu() local
517 int nid; in ppc_numa_cpu_prepare() local
583 int nid; in numa_setup_drmem_lmb() local
647 int nid; in parse_numa_properties() local
[all …]
/Linux-v4.19/sound/pci/lola/
Dlola_proc.c30 struct lola *chip, int nid, const char *name) in print_audio_widget()
41 struct lola *chip, int nid, unsigned int ampcap, in print_pin_widget()
62 struct lola *chip, int nid) in print_clock_widget()
102 struct lola *chip, int nid) in print_mixer_widget()
115 int i, nid; in lola_proc_codec_read() local
/Linux-v4.19/arch/x86/mm/
Dkasan_init_64.c28 static __init void *early_alloc(size_t size, int nid, bool 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()
Dnuma_emulation.c22 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
526 int physnid, nid; in numa_add_cpu() local
552 int nid, physnid; in numa_set_cpumask() local
/Linux-v4.19/arch/arm64/mm/
Dnuma.c75 int nid = cpu_to_node(cpu); in numa_update_cpu() local
135 void __init early_map_cpu_to_node(unsigned int cpu, int nid) in early_map_cpu_to_node()
169 int nid = early_cpu_to_node(cpu); in pcpu_fc_alloc() local
212 int __init numa_add_memblk(int nid, u64 start, u64 end) in numa_add_memblk()
230 static void __init setup_node_data(int nid, u64 start_pfn, u64 end_pfn) in setup_node_data()
360 int nid; in numa_register_nodes() local
/Linux-v4.19/fs/f2fs/
Dnode.c36 int f2fs_check_nid_range(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_check_nid_range()
114 static struct page *get_current_nat_page(struct f2fs_sb_info *sbi, nid_t nid) in get_current_nat_page()
119 static struct page *get_next_nat_page(struct f2fs_sb_info *sbi, nid_t nid) in get_next_nat_page()
146 static struct nat_entry *__alloc_nat_entry(nid_t nid, bool no_fail) in __alloc_nat_entry()
354 int f2fs_need_dentry_mark(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_need_dentry_mark()
371 bool f2fs_is_checkpointed_node(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_is_checkpointed_node()
402 static void cache_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, in cache_nat_entry()
518 int f2fs_get_node_info(struct f2fs_sb_info *sbi, nid_t nid, in f2fs_get_node_info()
586 nid_t nid; in f2fs_ra_node_pages() local
967 nid_t nid[3]; in truncate_partial_nodes() local
[all …]

123456789