Home
last modified time | relevance | path

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

1234567891011

/linux-6.15/include/sound/
H A 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.15/sound/hda/
H A 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()
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 …]
H A Dhdac_device.c276 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read()
313 int snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read_parm_uncached()
332 int snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_override_parm()
357 int snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_sub_nodes()
378 hda_nid_t nid; in setup_fg_nodes() local
465 int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_connections()
1070 static int codec_write(struct hdac_device *hdac, hda_nid_t nid, in codec_write()
1090 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid, in snd_hdac_codec_read()
1109 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, in snd_hdac_codec_write()
1127 hda_nid_t nid, unsigned int target_state) in snd_hdac_check_power_state()
[all …]
/linux-6.15/sound/pci/hda/
H A 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()
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 …]
H A Dhda_codec.c90 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()
676 hda_nid_t nid; member
2324 hda_nid_t nid; in snd_hda_spdif_default_put() local
2382 hda_nid_t nid; in snd_hda_spdif_out_switch_put() local
2746 hda_nid_t nid; in snd_hda_codec_set_power_to_all() local
2839 hda_nid_t nid; in sync_power_up_states() local
3485 hda_nid_t nid) in snd_hda_check_amp_list_power()
[all …]
H A Dhda_local.h28 #define HDA_COMPOSE_AMP_VAL_OFS(nid,chs,idx,dir,ofs) \ argument
31 #define HDA_COMPOSE_AMP_VAL(nid,chs,idx,dir) \ argument
73 #define HDA_CODEC_MUTE(xname, nid, xindex, direction) \ argument
274 hda_nid_t nid; member
466 #define for_each_hda_codec_node(nid, codec) \ argument
508 hda_nid_t nid, u32 val) in snd_hda_override_wcaps()
556 #define nid_has_mute(codec, nid, dir) \ argument
558 #define nid_has_volume(codec, nid, dir) \ argument
568 hda_nid_t nid; member
623 hda_nid_t nid; member
[all …]
H A 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()
H A 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()
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 …]
H A Dhda_generic.c1288 hda_nid_t nid; in assign_out_path_ctls() local
1970 hda_nid_t nid; in fill_all_dac_nids() local
2614 hda_nid_t nid; in create_hp_mic() local
3063 hda_nid_t nid; in look_for_mix_leaf_ctls() local
3159 hda_nid_t nid; in fill_adc_nids() local
3546 hda_nid_t nid; in parse_capvol_in_path() local
3861 hda_nid_t nid; in look_for_boost_amp() local
4375 hda_nid_t nid = pins[i]; in detect_jacks() local
4395 hda_nid_t nid = pins[i]; in do_automute() local
4907 hda_nid_t nid, in snd_hda_gen_path_power_filter()
[all …]
H A 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()
177 hda_nid_t nid; in snd_hda_parse_pin_defcfg() local
595 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list()
605 static const char *check_output_sfx(hda_nid_t nid, const hda_nid_t *pins, in check_output_sfx()
626 static const char *check_output_pfx(struct hda_codec *codec, hda_nid_t nid) in check_output_pfx()
641 static int get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, in get_hp_label_index()
658 static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, in fill_audio_out_name()
714 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_pin_label()
903 hda_nid_t nid = pin->nid; in pin_config_match() local
/linux-6.15/mm/
H A Dshrinker.c42 struct shrinker_info *old, int nid) in shrinker_unit_alloc()
66 int nid; in free_shrinker_info() local
79 int nid, ret = 0; in alloc_shrinker_info() local
107 int nid) in shrinker_info_protected()
118 int nid; in expand_one_shrinker_info() local
252 static long xchg_nr_deferred_memcg(int nid, struct shrinker *shrinker, in xchg_nr_deferred_memcg()
287 int nid, index, offset; in reparent_shrinker_deferred() local
339 int nid = sc->nid; in xchg_nr_deferred() local
356 int nid = sc->nid; in add_nr_deferred() local
469 static unsigned long shrink_slab_memcg(gfp_t gfp_mask, int nid, in shrink_slab_memcg()
[all …]
H A Dlist_lru.c53 list_lru_from_memcg_idx(struct list_lru *lru, int nid, int idx) in list_lru_from_memcg_idx()
128 list_lru_from_memcg_idx(struct list_lru *lru, int nid, int idx) in list_lru_from_memcg_idx()
157 bool list_lru_add(struct list_lru *lru, struct list_head *item, int nid, in list_lru_add()
182 int nid = page_to_nid(virt_to_page(item)); in list_lru_add_obj() local
197 bool list_lru_del(struct list_lru *lru, struct list_head *item, int nid, in list_lru_del()
219 int nid = page_to_nid(virt_to_page(item)); in list_lru_del_obj() local
249 int nid, struct mem_cgroup *memcg) in list_lru_count_one()
266 unsigned long list_lru_count_node(struct list_lru *lru, int nid) in list_lru_count_node()
351 unsigned long list_lru_walk_node(struct list_lru *lru, int nid, in list_lru_walk_node()
403 int nid; in memcg_init_list_lru_one() local
[all …]
H A 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()
118 static inline unsigned long sparse_encode_early_nid(int nid) in sparse_encode_early_nid()
247 int i, nid; in memblocks_present() local
326 int nid; in sparse_early_usemaps_alloc_pgdat_section() local
349 static void __init check_usemap_section_nr(int nid, in check_usemap_section_nr()
399 static void __init check_usemap_section_nr(int nid, in check_usemap_section_nr()
418 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in __populate_section_memmap()
611 int nid = sparse_early_nid(__nr_to_section(pnum_end)); in sparse_init() local
671 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in populate_section_memmap()
[all …]
H A Dmm_init.c61 int nid; in mminit_verify_zonelist() local
317 int i, nid; in early_calculate_totalpages() local
358 int i, nid; in find_zone_movable_pfns_for_nodes() local
619 int nid; in __early_pfn_to_nid() local
637 int nid; in early_pfn_to_nid() local
1120 int nid = pgdat->node_id; in memmap_init_zone_device() local
1553 int nid = pgdat->node_id; in free_area_init_core_hotplug() local
1597 int nid = pgdat->node_id; in free_area_init_core() local
1825 int i, nid, zone; in free_area_init() local
1959 int i, nid; in node_map_pfn_alignment() local
[all …]
H A Dmemory_hotplug.c482 int nid = zone_to_nid(zone); in shrink_zone_span() local
706 int nid = zone_to_nid(zone); in node_states_check_changes_online() local
776 int nid = pgdat->node_id; in move_pfn_range_to_zone() local
1178 const int nid = zone_to_nid(zone); in online_pages() local
1263 static pg_data_t *hotadd_init_pgdat(int nid) in hotadd_init_pgdat()
1325 int try_online_node(int nid) in try_online_node()
2137 int *nid = arg; in check_memblock_offlined_cb() local
2163 static int check_cpu_on_node(int nid) in check_cpu_on_node()
2181 int nid = *(int *)arg; in check_no_memblock_for_node_cb() local
2200 void try_offline_node(int nid) in try_offline_node()
[all …]
H A Dhugetlb_cma.c23 int nid = folio_nid(folio); in hugetlb_cma_free_folio() local
30 int nid, nodemask_t *nodemask) in hugetlb_cma_alloc_folio()
57 hugetlb_cma_alloc_bootmem(struct hstate *h, int *nid, bool node_exact) in hugetlb_cma_alloc_bootmem()
94 int nid, count = 0; in cmdline_parse_hugetlb_cma() local
142 int nid; in hugetlb_cma_reserve() local
H A Dnuma_emulation.c25 static int __init emu_find_memblk_by_nid(int nid, const struct numa_meminfo *mi) in emu_find_memblk_by_nid()
51 int nid, int phys_blk, u64 size) in emu_setup_memblk()
93 int nid = 0; in split_nodes_interleave() local
223 int nid) in split_nodes_size_interleave_uniform()
401 int nid = 0; in numa_emulation() local
549 int physnid, nid; in numa_add_cpu() local
575 int nid, physnid; in numa_set_cpumask() local
/linux-6.15/include/linux/
H A Dnode.h89 static inline void node_add_cache(unsigned int nid, in node_add_cache()
94 static inline void node_set_perf_attrs(unsigned int nid, in node_set_perf_attrs()
118 static inline void register_memory_blocks_under_node(int nid, unsigned long start_pfn, in register_memory_blocks_under_node()
132 static inline int register_one_node(int nid) in register_one_node()
163 static inline int __register_one_node(int nid) in __register_one_node()
167 static inline int register_one_node(int nid) in register_one_node()
171 static inline int unregister_one_node(int nid) in unregister_one_node()
175 static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node()
179 static inline int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) in unregister_cpu_under_node()
H A Dmemblock.h67 int nid; member
188 #define __for_each_mem_range(i, type_a, type_b, nid, flags, \ argument
208 #define __for_each_mem_range_rev(i, type_a, type_b, nid, flags, \ argument
293 #define for_each_mem_pfn_range(i, nid, p_start, p_end, p_nid) \ argument
332 #define for_each_free_mem_range(i, nid, flags, p_start, p_end, p_nid) \ argument
348 #define for_each_free_mem_range_reverse(i, nid, flags, p_start, p_end, \ argument
357 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node()
367 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node()
453 phys_addr_t align, int nid) in memblock_alloc_node()
H A Dgfp.h212 static inline struct zonelist *node_zonelist(int nid, gfp_t flags) in node_zonelist()
248 alloc_pages_bulk_node_noprof(gfp_t gfp, int nid, unsigned long nr_pages, in alloc_pages_bulk_node_noprof()
279 __alloc_pages_node_noprof(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node_noprof()
290 struct folio *__folio_alloc_node_noprof(gfp_t gfp, unsigned int order, int nid) in __folio_alloc_node_noprof()
305 static inline struct page *alloc_pages_node_noprof(int nid, gfp_t gfp_mask, in alloc_pages_node_noprof()
333 struct mempolicy *mpol, pgoff_t ilx, int nid) in folio_alloc_mpol_noprof()
440 int nid, nodemask_t *node) in folio_alloc_gigantic_noprof()
453 int nid, nodemask_t *node) in folio_alloc_gigantic_noprof()
/linux-6.15/arch/powerpc/mm/
H A Dnuma.c90 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
790 int nid; in ppc_numa_cpu_prepare() local
854 int nid; in numa_setup_drmem_lmb() local
969 int nid; in parse_numa_properties() local
1042 unsigned int nid = 0; in setup_nonnuma() local
1205 int nid; in initmem_init() local
[all …]
/linux-6.15/drivers/base/
H A Dnode.c362 static void node_init_caches(unsigned int nid) in node_init_caches()
367 static void node_init_caches(unsigned int nid) { } in node_init_caches()
376 int nid = dev->id; in node_read_meminfo() local
521 int nid = dev->id; in node_read_vmstat() local
555 int nid = dev->id; in node_read_distance() local
657 int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node()
759 static void do_register_memory_block_under_node(int nid, in do_register_memory_block_under_node()
792 int nid = *(int *)arg; in register_mem_block_under_node_early() local
832 int nid = *(int *)arg; in register_mem_block_under_node_hotplug() local
870 int __register_one_node(int nid) in __register_one_node()
[all …]
/linux-6.15/fs/f2fs/
H A Dnode.c168 nid_t nid, bool no_fail) in __alloc_nat_entry()
631 nid_t nid; in f2fs_ra_node_pages() local
1064 nid_t nid[3]; in truncate_partial_nodes() local
1460 struct page *page, pgoff_t nid, in sanity_check_node_footer()
1674 nid_t nid; in __write_node_page() local
2466 nid_t nid; in scan_curseg_cache() local
2482 nid_t nid; in scan_free_nid_bits() local
2515 nid_t nid = nm_i->next_scan_nid; in __f2fs_build_free_nids() local
3051 nid_t nid = nat_get_nid(ne); in __flush_nat_entry_set() local
3204 nid_t nid, last_nid; in load_free_nid_bitmap() local
[all …]
/linux-6.15/sound/pci/lola/
H A 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.15/arch/x86/mm/
H A Dkasan_init_64.c25 static __init void *early_alloc(size_t size, int nid, bool should_panic) in early_alloc()
38 unsigned long end, int nid) in kasan_populate_pmd()
73 unsigned long end, int nid) in kasan_populate_pud()
103 unsigned long end, int nid) in kasan_populate_p4d()
123 unsigned long end, int nid) in kasan_populate_pgd()
142 int nid) in kasan_populate_shadow()
332 void __init kasan_populate_shadow_for_vaddr(void *va, size_t size, int nid) in kasan_populate_shadow_for_vaddr()

1234567891011