Home
last modified time | relevance | path

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

12345678910

/linux-6.6.21/include/sound/
Dhda_regmap.h38 #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.6.21/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.c224 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()
789 static unsigned int query_pcm_param(struct hdac_device *codec, hda_nid_t nid) in query_pcm_param()
[all …]
/linux-6.6.21/sound/pci/hda/
Dhda_proc.c22 #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 …]
Dhda_codec.c90 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 …]
Dhda_jack.h21 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()
Dhda_jack.c29 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()
318 snd_hda_jack_detect_enable_callback_mst(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable_callback_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()
[all …]
Dhda_local.h26 #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 …]
Dhda_auto_parser.c20 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
Dhda_generic.c241 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list()
251 static bool is_nid_contained(struct nid_path *path, hda_nid_t nid) in is_nid_contained()
319 static bool is_dac_already_used(struct hda_codec *codec, hda_nid_t nid) in is_dac_already_used()
360 static bool is_ctl_associated(struct hda_codec *codec, hda_nid_t nid, in is_ctl_associated()
535 hda_nid_t nid = spec->all_dacs[i]; in look_for_dac() local
588 hda_nid_t nid = path->path[i]; in look_for_out_vol_nid() local
604 hda_nid_t nid = path->path[idx]; in has_amp_in() local
618 hda_nid_t nid = path->path[idx]; in has_amp_out() local
630 static bool is_active_nid(struct hda_codec *codec, hda_nid_t nid, in is_active_nid()
665 #define is_active_nid_for_any(codec, nid) \ argument
[all …]
/linux-6.6.21/include/linux/
Dnode.h71 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()
Dmemory_hotplug.h34 #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()
196 static inline int add_pages(int nid, unsigned long start_pfn, in add_pages()
249 static inline int try_online_node(int nid) in try_online_node()
315 static inline void try_offline_node(int nid) {} in try_offline_node()
/linux-6.6.21/mm/
Dlist_lru.c53 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()
268 list_lru_walk_one(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one()
[all …]
Dsparse.c52 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()
63 static noinline struct mem_section __ref *sparse_index_alloc(int nid) in sparse_index_alloc()
82 static int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init()
106 static inline int sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init()
118 static inline unsigned long sparse_encode_early_nid(int nid) in sparse_encode_early_nid()
225 static void __init memory_present(int nid, unsigned long start, unsigned long end) in memory_present()
268 int i, nid; in memblocks_present() local
337 int nid; in sparse_early_usemaps_alloc_pgdat_section() local
360 static void __init check_usemap_section_nr(int nid, in check_usemap_section_nr()
[all …]
Dmm_init.c42 int nid; in mminit_verify_zonelist() local
301 int i, nid; in early_calculate_totalpages() local
342 int i, nid; in find_zone_movable_pfns_for_nodes() local
565 unsigned long zone, int nid) in __init_single_page()
603 int nid; in __early_pfn_to_nid() local
621 int nid; in early_pfn_to_nid() local
659 static inline bool __meminit early_page_initialised(unsigned long pfn, int nid) in early_page_initialised()
672 defer_init(int nid, unsigned long pfn, unsigned long end_pfn) in defer_init()
706 static void __meminit init_reserved_page(unsigned long pfn, int nid) in init_reserved_page()
727 static inline bool early_page_initialised(unsigned long pfn, int nid) in early_page_initialised()
[all …]
Dmemory_hotplug.c369 int __ref __add_pages(int nid, unsigned long pfn, unsigned long nr_pages, in __add_pages()
414 static unsigned long find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn()
435 static unsigned long find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn()
463 int nid = zone_to_nid(zone); in shrink_zone_span() local
684 int nid = zone_to_nid(zone); in node_states_check_changes_online() local
754 int nid = pgdat->node_id; in move_pfn_range_to_zone() local
842 static bool auto_movable_can_online_movable(int nid, struct memory_group *group, in auto_movable_can_online_movable()
896 static struct zone *default_kernel_zone_for_pfn(int nid, unsigned long start_pfn, in default_kernel_zone_for_pfn()
962 static struct zone *auto_movable_zone_for_pfn(int nid, in auto_movable_zone_for_pfn()
1023 static inline struct zone *default_zone_for_pfn(int nid, unsigned long start_pfn, in default_zone_for_pfn()
[all …]
/linux-6.6.21/arch/powerpc/mm/
Dnuma.c92 unsigned int *nid) in fake_numa_create_new_node()
173 int nid; in __associativity_to_nid() local
276 int nid = NUMA_NO_NODE; in of_node_to_nid_single() local
288 int nid = NUMA_NO_NODE; in of_node_to_nid() local
307 int i, nid; in __initialize_form1_numa_distance() local
344 int nid; in update_numa_distance() local
590 int nid = default_nid; in get_nid_and_numa_distance() local
626 int nid = default_nid; in of_drconf_to_nid_single() local
708 int nid = NUMA_NO_NODE; in numa_setup_cpu() local
792 int nid; in ppc_numa_cpu_prepare() local
[all …]
/linux-6.6.21/drivers/base/
Dnode.c193 void node_set_perf_attrs(unsigned int nid, struct node_hmem_attrs *hmem_attrs, in node_set_perf_attrs()
296 void node_add_cache(unsigned int nid, struct node_cache_attrs *cache_attrs) in node_add_cache()
359 static void node_init_caches(unsigned int nid) in node_init_caches()
364 static void node_init_caches(unsigned int nid) { } in node_init_caches()
373 int nid = dev->id; in node_read_meminfo() local
518 int nid = dev->id; in node_read_vmstat() local
552 int nid = dev->id; in node_read_distance() local
654 int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node()
727 int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) in unregister_cpu_under_node()
756 static void do_register_memory_block_under_node(int nid, in do_register_memory_block_under_node()
[all …]
/linux-6.6.21/arch/ia64/kernel/
Duncached.c73 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.6.21/arch/ia64/include/asm/
Dnuma.h41 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.6.21/sound/pci/lola/
Dlola_proc.c17 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.6.21/fs/f2fs/
Dnode.c33 int f2fs_check_nid_range(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_check_nid_range()
133 static struct page *get_current_nat_page(struct f2fs_sb_info *sbi, nid_t nid) in get_current_nat_page()
138 static struct page *get_next_nat_page(struct f2fs_sb_info *sbi, nid_t nid) in get_next_nat_page()
168 nid_t nid, bool no_fail) in __alloc_nat_entry()
380 int f2fs_need_dentry_mark(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_need_dentry_mark()
397 bool f2fs_is_checkpointed_node(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_is_checkpointed_node()
428 static void cache_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, in cache_nat_entry()
546 int f2fs_get_node_info(struct f2fs_sb_info *sbi, nid_t nid, in f2fs_get_node_info()
630 nid_t nid; in f2fs_ra_node_pages() local
1045 nid_t nid[3]; in truncate_partial_nodes() local
[all …]
/linux-6.6.21/arch/sh/include/asm/
Dmmzone.h9 #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.6.21/arch/x86/mm/
Dkasan_init_64.c26 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()
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
532 int physnid, nid; in numa_add_cpu() local
558 int nid, physnid; in numa_set_cpumask() local

12345678910