Home
last modified time | relevance | path

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

12345678

/linux/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 …]
H A Dhda_codec.h139 hda_nid_t nid; /* default NID to query rates/formats/bps, or set up */ member
322 snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_read()
330 snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags, in snd_hda_codec_write()
336 #define snd_hda_param_read(codec, nid, param) \ argument
338 #define snd_hda_get_sub_nodes(codec, nid, start_nid) \ argument
343 snd_hda_get_num_conns(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_num_conns()
348 #define snd_hda_get_raw_connections(codec, nid, list, max_conns) \ argument
350 #define snd_hda_get_num_raw_conns(codec, nid) \ argument
366 hda_nid_t nid; member
376 snd_hda_codec_write_cache(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_write_cache()
[all …]
/linux/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()
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 …]
H A Dhdac_device.c225 static unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd()
276 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read()
294 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm()
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
437 static unsigned int get_num_conns(struct hdac_device *codec, hda_nid_t nid) in get_num_conns()
465 int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_connections()
853 static unsigned int query_pcm_param(struct hdac_device *codec, hda_nid_t nid) in query_pcm_param()
[all …]
/linux/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()
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 …]
H A 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 …]
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()
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 …]
H A 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/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
196 void set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id) in set_shrinker_bit()
252 static long xchg_nr_deferred_memcg(int nid, struct shrinker *shrinker, in xchg_nr_deferred_memcg()
268 static long add_nr_deferred_memcg(long nr, int nid, struct shrinker *shrinker, in add_nr_deferred_memcg()
287 int nid, index, offset; in reparent_shrinker_deferred() local
323 static long xchg_nr_deferred_memcg(int nid, struct shrinker *shrinker, in xchg_nr_deferred_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()
64 lock_list_lru_of_memcg(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in lock_list_lru_of_memcg()
128 list_lru_from_memcg_idx(struct list_lru *lru, int nid, int idx) in list_lru_from_memcg_idx()
134 lock_list_lru_of_memcg(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in lock_list_lru_of_memcg()
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()
[all …]
H A Dmemory_hotplug.c388 int __add_pages(int nid, unsigned long pfn, unsigned long nr_pages, in __add_pages()
433 static unsigned long find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn()
454 static unsigned long find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn()
482 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
864 static bool auto_movable_can_online_movable(int nid, struct memory_group *group, in auto_movable_can_online_movable()
919 static struct zone *default_kernel_zone_for_pfn(int nid, unsigned long start_pfn, in default_kernel_zone_for_pfn()
985 static struct zone *auto_movable_zone_for_pfn(int nid, in auto_movable_zone_for_pfn()
1046 static inline struct zone *default_zone_for_pfn(int nid, unsigned long start_pfn, in default_zone_for_pfn()
[all …]
H A Dnuma_emulation.c24 emu_find_memblk_by_nid(int nid,const struct numa_meminfo * mi) emu_find_memblk_by_nid() argument
50 emu_setup_memblk(struct numa_meminfo * ei,struct numa_meminfo * pi,int nid,int phys_blk,u64 size) emu_setup_memblk() argument
92 int nid = 0; split_nodes_interleave() local
222 split_nodes_size_interleave_uniform(struct numa_meminfo * ei,struct numa_meminfo * pi,u64 addr,u64 max_addr,u64 size,int nr_nodes,struct numa_memblk * pblk,int nid) split_nodes_size_interleave_uniform() argument
400 int nid = 0; numa_emulation() local
518 int physnid, nid; numa_add_cpu() local
544 int nid, physnid; numa_set_cpumask() local
[all...]
H A Dpage_ext.c189 static int __init alloc_node_page_ext(int nid) in alloc_node_page_ext()
224 int nid, fail; in page_ext_init_flatmem() local
266 static void *__meminit alloc_page_ext(size_t size, int nid) in alloc_page_ext()
283 static int __meminit init_section_page_ext(unsigned long pfn, int nid) in init_section_page_ext()
373 int nid) in online_page_ext()
462 int nid; in page_ext_init() local
H A Dmemblock.c218 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_bottom_up()
253 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_top_down()
292 phys_addr_t end, int nid, in memblock_find_in_range_node()
553 int nid, in memblock_insert_region()
586 int nid, enum memblock_flags flags) in memblock_add_range()
704 int nid, enum memblock_flags flags) in memblock_add_node()
750 int nid, i; in memblock_validate_numa_coverage() local
1053 int nid, int flags) in should_skip_region()
1111 void __next_mem_range(u64 *idx, int nid, enum memblock_flags flags, in __next_mem_range()
1202 void __init_memblock __next_mem_range_rev(u64 *idx, int nid, in __next_mem_range_rev()
[all …]
H A Dnuma_memblks.c133 static int __init numa_add_memblk_to(int nid, u64 start, u64 end, in numa_add_memblk_to() argument
198 int __init numa_add_memblk(int nid, u6 argument
350 int nid = memblock_get_region_node(mb_region); numa_clear_kernel_node_hotplug() local
548 int nid = meminfo_to_nid(&numa_meminfo, start); phys_to_target_node() local
563 int nid = meminfo_to_nid(&numa_meminfo, start); memory_add_physaddr_to_nid() local
[all...]
H A Dhugetlb.c97 int nid = folio_nid(folio); in hugetlb_free_folio() local
1252 int nid = folio_nid(folio); in enqueue_hugetlb_folio() local
1264 int nid) in dequeue_hugetlb_folio_node_exact()
1292 int nid, nodemask_t *nmask) in dequeue_hugetlb_folio_nodemask()
1344 int nid; in dequeue_hugetlb_folio_vma() local
1382 static int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed()
1390 static int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed()
1406 int nid; in hstate_next_node_to_alloc() local
1424 int nid; in hstate_next_node_to_free() local
1449 int nid, nodemask_t *nodemask) in alloc_gigantic_folio()
[all …]
/linux/include/linux/
H A Dnode.h82 static inline void node_add_cache(unsigned int nid, in node_add_cache()
87 static inline void node_set_perf_attrs(unsigned int nid, in node_set_perf_attrs()
111 static inline void register_memory_blocks_under_node(int nid, unsigned long start_pfn, in register_memory_blocks_under_node()
125 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 register_one_node(int nid) in register_one_node()
164 static inline int unregister_one_node(int nid) in unregister_one_node()
168 static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node()
172 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
189 #define __for_each_mem_range(i, type_a, type_b, nid, flags, \ argument
209 __for_each_mem_range_rev(i,type_a,type_b,nid,flags,p_start,p_end,p_nid) global() argument
294 for_each_mem_pfn_range(i,nid,p_start,p_end,p_nid) global() argument
333 for_each_free_mem_range(i,nid,flags,p_start,p_end,p_nid) global() argument
349 for_each_free_mem_range_reverse(i,nid,flags,p_start,p_end,p_nid) global() argument
358 memblock_set_region_node(struct memblock_region * r,int nid) memblock_set_region_node() argument
368 memblock_set_region_node(struct memblock_region * r,int nid) memblock_set_region_node() argument
444 memblock_alloc_node(phys_addr_t size,phys_addr_t align,int nid) memblock_alloc_node() argument
[all...]
H A Dnuma.h18 static inline bool numa_valid_node(int nid) in numa_valid_node()
34 #define NODE_DATA(nid) (node_data[nid]) argument
67 static inline void alloc_offline_node_data(int nid) {} in alloc_offline_node_data()
/linux/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
286 int nid = NUMA_NO_NODE; in of_node_to_nid() local
305 int i, nid; in __initialize_form1_numa_distance() local
342 int nid; in update_numa_distance() local
588 int nid = default_nid; in get_nid_and_numa_distance() local
624 int nid = default_nid; in of_drconf_to_nid_single() local
706 int nid = NUMA_NO_NODE; in numa_setup_cpu() local
790 int nid; in ppc_numa_cpu_prepare() local
[all …]
/linux/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/arch/x86/mm/
H A 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()
/linux/drivers/of/
H A Dof_numa.c23 u32 nid; in of_numa_parse_cpu_nodes() local
44 u32 nid; in of_numa_parse_memory_nodes() local
141 u32 nid; in of_node_to_nid() local
/linux/drivers/base/
H A Darch_numa.c65 int nid = cpu_to_node(cpu); in numa_update_cpu() local
126 void __init early_map_cpu_to_node(unsigned int cpu, int nid) in early_map_cpu_to_node()
195 static void __init setup_node_data(int nid, u64 start_pfn, u64 end_pfn) in setup_node_data()
209 int nid; in numa_register_nodes() local

12345678