/kernel/linux/linux-6.6/drivers/base/ |
H A D | node.c | 193 void node_set_perf_attrs(unsigned int nid, struct node_hmem_attrs *hmem_attrs, in node_set_perf_attrs() argument 296 void node_add_cache(unsigned int nid, struct node_cache_attrs *cache_attrs) in node_add_cache() argument 359 node_init_caches(unsigned int nid) node_init_caches() argument 364 node_init_caches(unsigned int nid) node_init_caches() argument 373 int nid = dev->id; node_read_meminfo() local 518 int nid = dev->id; node_read_vmstat() local 552 int nid = dev->id; node_read_distance() local 654 register_cpu_under_node(unsigned int cpu, unsigned int nid) register_cpu_under_node() argument 727 unregister_cpu_under_node(unsigned int cpu, unsigned int nid) unregister_cpu_under_node() argument 756 do_register_memory_block_under_node(int nid, struct memory_block *mem_blk, enum meminit_context context) do_register_memory_block_under_node() argument 789 int nid = *(int *)arg; register_mem_block_under_node_early() local 829 int nid = *(int *)arg; register_mem_block_under_node_hotplug() local 850 register_memory_blocks_under_node(int nid, unsigned long start_pfn, unsigned long end_pfn, enum meminit_context context) register_memory_blocks_under_node() argument 867 __register_one_node(int nid) __register_one_node() argument 893 unregister_one_node(int nid) unregister_one_node() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-hw.c | 995 unsigned int i, nid = 0; in bdisp_hw_build_all_nodes() local [all...] |
/kernel/linux/linux-6.6/drivers/nvdimm/ |
H A D | pmem.c | 454 int nid = dev_to_node(dev), fua; in pmem_attach_disk() local
|
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/sgx/ |
H A D | main.c | 441 static struct sgx_epc_page *__sgx_alloc_epc_page_from_node(int nid) in __sgx_alloc_epc_page_from_node() argument 477 int nid = nid_of_current; in __sgx_alloc_epc_page() local 773 static void __init arch_update_sysfs_visibility(int nid) in arch_update_sysfs_visibility() argument 784 static void __init arch_update_sysfs_visibility(int nid) {} in arch_update_sysfs_visibility() argument 791 int nid; sgx_page_cache_init() local [all...] |
/kernel/linux/linux-6.6/arch/x86/mm/ |
H A D | numa.c | 126 static int __init numa_add_memblk_to(int nid, u64 start, u64 end, in numa_add_memblk_to() argument 191 int __init numa_add_memblk(int nid, u64 start, u64 end) in numa_add_memblk() argument 197 static void __init alloc_node_data(int nid) in alloc_node_data() argument 524 int nid = memblock_get_region_node(mb_region); numa_clear_kernel_node_hotplug() local 550 int i, nid; numa_register_memblks() local 678 int nid = early_cpu_to_node(i); numa_init() local 750 int nid; init_gi_nodes() local 936 int nid = meminfo_to_nid(&numa_meminfo, start); phys_to_target_node() local 951 int nid = meminfo_to_nid(&numa_meminfo, start); memory_add_physaddr_to_nid() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/mce/ |
H A D | inject.c | 441 static void toggle_nb_mca_mst_cpu(u16 nid) in toggle_nb_mca_mst_cpu() argument
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | rt712-sdca.c | 27 rt712_sdca_index_write(struct rt712_sdca_priv *rt712, unsigned int nid, unsigned int reg, unsigned int value) rt712_sdca_index_write() argument 43 rt712_sdca_index_read(struct rt712_sdca_priv *rt712, unsigned int nid, unsigned int reg, unsigned int *value) rt712_sdca_index_read() argument 59 rt712_sdca_index_update_bits(struct rt712_sdca_priv *rt712, unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) rt712_sdca_index_update_bits() argument
|
H A D | rt715-sdca.c | 32 rt715_sdca_index_write(struct rt715_sdca_priv *rt715, unsigned int nid, unsigned int reg, unsigned int value) rt715_sdca_index_write() argument 50 rt715_sdca_index_read(struct rt715_sdca_priv *rt715, unsigned int nid, unsigned int reg, unsigned int *value) rt715_sdca_index_read() argument 68 rt715_sdca_index_update_bits(struct rt715_sdca_priv *rt715, unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) rt715_sdca_index_update_bits() argument
|
H A D | rt298.c | 504 unsigned int nid; in rt298_adc_event() local
|
H A D | rt700.c | 531 unsigned int reg, val = 0, nid; in rt700_mux_get() local 564 unsigned int val, val2 = 0, change, reg, nid; in rt700_mux_put() local [all...] |
H A D | rt715.c | 81 static int rt715_index_update_bits(struct regmap *regmap, unsigned int nid, in rt715_index_update_bits() argument 52 rt715_index_write_nid(struct regmap *regmap, unsigned int nid, unsigned int reg, unsigned int value) rt715_index_write_nid() argument 66 rt715_index_read_nid(struct regmap *regmap, unsigned int nid, unsigned int reg, unsigned int *value) rt715_index_read_nid() argument [all...] |
H A D | rt711-sdca.c | 29 rt711_sdca_index_write(struct rt711_sdca_priv *rt711, unsigned int nid, unsigned int reg, unsigned int value) rt711_sdca_index_write() argument 45 rt711_sdca_index_read(struct rt711_sdca_priv *rt711, unsigned int nid, unsigned int reg, unsigned int *value) rt711_sdca_index_read() argument 61 rt711_sdca_index_update_bits(struct rt711_sdca_priv *rt711, unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) rt711_sdca_index_update_bits() argument
|
H A D | rt711.c | 61 static int rt711_index_update_bits(struct regmap *regmap, unsigned int nid, in rt711_index_update_bits() argument 689 unsigned int reg, val = 0, nid; in rt711_mux_get() local 32 rt711_index_write(struct regmap *regmap, unsigned int nid, unsigned int reg, unsigned int value) rt711_index_write() argument 46 rt711_index_read(struct regmap *regmap, unsigned int nid, unsigned int reg, unsigned int *value) rt711_index_read() argument 723 unsigned int val, val2 = 0, change, reg, nid; rt711_mux_put() local [all...] |
H A D | rt712-sdca-dmic.c | 132 rt712_sdca_dmic_index_write(struct rt712_sdca_dmic_priv *rt712, unsigned int nid, unsigned int reg, unsigned int value) rt712_sdca_dmic_index_write() argument 148 rt712_sdca_dmic_index_read(struct rt712_sdca_dmic_priv *rt712, unsigned int nid, unsigned int reg, unsigned int *value) rt712_sdca_dmic_index_read() argument 164 rt712_sdca_dmic_index_update_bits(struct rt712_sdca_dmic_priv *rt712, unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) rt712_sdca_dmic_index_update_bits() argument
|
/kernel/linux/linux-6.6/tools/testing/memblock/tests/ |
H A D | alloc_nid_api.c | 30 run_memblock_alloc_nid(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid) run_memblock_alloc_nid() argument [all...] |
/kernel/linux/linux-6.6/sound/core/ |
H A D | init.c | 689 copy_valid_id_string(struct snd_card *card, const char *src, const char *nid) copy_valid_id_string() argument 709 snd_card_set_id_no_lock(struct snd_card *card, const char *src, const char *nid) snd_card_set_id_no_lock() argument 765 snd_card_set_id(struct snd_card *card, const char *nid) snd_card_set_id() argument [all...] |
/kernel/linux/linux-6.6/sound/hda/ |
H A D | hdac_device.c | 224 static unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd() argument 275 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read() argument 293 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, in argument 312 snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid, int parm) snd_hdac_read_parm_uncached() argument 331 snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid, unsigned int parm, unsigned int val) snd_hdac_override_parm() argument 356 snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, hda_nid_t *start_id) snd_hdac_get_sub_nodes() argument 377 hda_nid_t nid; setup_fg_nodes() local 436 get_num_conns(struct hdac_device *codec, hda_nid_t nid) get_num_conns() argument 464 snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, hda_nid_t *conn_list, int max_conns) snd_hdac_get_connections() argument 789 query_pcm_param(struct hdac_device *codec, hda_nid_t nid) query_pcm_param() argument 803 query_stream_param(struct hdac_device *codec, hda_nid_t nid) query_stream_param() argument 827 snd_hdac_query_supported_pcm(struct hdac_device *codec, hda_nid_t nid, u32 *ratesp, u64 *formatsp, unsigned int *bpsp) snd_hdac_query_supported_pcm() argument 932 snd_hdac_is_supported_format(struct hdac_device *codec, hda_nid_t nid, unsigned int format) snd_hdac_is_supported_format() argument 989 codec_read(struct hdac_device *hdac, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) codec_read() argument 1001 codec_write(struct hdac_device *hdac, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) codec_write() argument 1021 snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) snd_hdac_codec_read() argument 1040 snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) snd_hdac_codec_write() argument 1057 snd_hdac_check_power_state(struct hdac_device *hdac, hda_nid_t nid, unsigned int target_state) snd_hdac_check_power_state() argument 1079 snd_hdac_sync_power_state(struct hdac_device *codec, hda_nid_t nid, unsigned int power_state) snd_hdac_sync_power_state() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/hda/ |
H 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() argument 173 hda_nid_t nid; in snd_hda_parse_pin_defcfg() local 56 add_auto_cfg_input_pin(struct hda_codec *codec, struct auto_pin_cfg *cfg, hda_nid_t nid, int type) add_auto_cfg_input_pin() argument 589 find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) find_idx_in_nid_list() argument 599 check_output_sfx(hda_nid_t nid, const hda_nid_t *pins, int num_pins, int *indexp) check_output_sfx() argument 620 check_output_pfx(struct hda_codec *codec, hda_nid_t nid) check_output_pfx() argument 635 get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, const hda_nid_t *pins, int num_pins) get_hp_label_index() argument 652 fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, const struct auto_pin_cfg *cfg, const char *name, char *label, int maxlen, int *indexp) fill_audio_out_name() argument 708 snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, const struct auto_pin_cfg *cfg, char *label, int maxlen, int *indexp) snd_hda_get_pin_label() argument 897 hda_nid_t nid = pin->nid; pin_config_match() local [all...] |
H A D | patch_cs8409.c | 400 static void cs8409_fix_caps(struct hda_codec *codec, unsigned int nid) in cs8409_fix_caps() argument 1095 unsigned int nid = ((cmd >> 20) & 0x07f); in cs8409_cs42l42_exec_verb() local 1325 unsigned int nid = ((cmd >> 20) & 0x07f); dolphin_exec_verb() local [all...] |
H A D | hda_proc.c | 47 print_nid_array(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid, struct snd_array *array) print_nid_array() argument 74 print_nid_pcms(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) print_nid_pcms() argument 93 print_amp_caps(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid, int dir) print_amp_caps() argument 112 is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int wcaps, int indices) is_stereo_amps() argument 133 print_amp_vals(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int wcaps, int indices) print_amp_vals() argument 199 print_pcm_caps(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) print_pcm_caps() argument 304 print_pin_caps(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid, int *supports_vref) print_pin_caps() argument 400 print_pin_ctls(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid, int supports_vref) print_pin_ctls() argument 438 print_vol_knob(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) print_vol_knob() argument 450 print_audio_io(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid, unsigned int wid_type) print_audio_io() argument 468 print_digital_conv(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) print_digital_conv() argument 512 print_power_state(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) print_power_state() argument 553 print_unsol_cap(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) print_unsol_cap() argument 573 print_proc_caps(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) print_proc_caps() argument 598 print_conn_list(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid, unsigned int wid_type, hda_nid_t *conn, int conn_len) print_conn_list() argument 638 print_gpio(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) print_gpio() argument 682 print_dpmst_connections(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid, int dev_num) print_dpmst_connections() argument 714 print_device_list(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) print_device_list() argument 778 hda_nid_t nid, fg; print_codec_info() local [all...] |
H A D | hda_sysfs.c | 235 int nid, verb, param; in parse_init_verbs() local 380 int nid, cfg, err; in parse_user_pin_configs() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | genalloc.c | 153 struct gen_pool *gen_pool_create(int min_alloc_order, int nid) in gen_pool_create() argument 184 gen_pool_add_owner(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, size_t size, int nid, void *owner) gen_pool_add_owner() argument 829 devm_gen_pool_create(struct device *dev, int min_alloc_order, int nid, const char *name) devm_gen_pool_create() argument
|
/kernel/linux/linux-6.6/mm/ |
H A D | hugetlb_cgroup.c | 469 int nid; in hugetlb_cgroup_read_numa_stat() local
|
H A D | sparse.c | 52 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument 57 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument 63 static noinline struct mem_section __ref *sparse_index_alloc(int nid) in sparse_index_alloc() argument 82 static int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() argument 106 sparse_index_init(unsigned long section_nr, int nid) sparse_index_init() argument 118 sparse_encode_early_nid(int nid) sparse_encode_early_nid() argument 225 memory_present(int nid, unsigned long start, unsigned long end) memory_present() argument 268 int i, nid; memblocks_present() local 337 int nid; sparse_early_usemaps_alloc_pgdat_section() local 360 check_usemap_section_nr(int nid, struct mem_section_usage *usage) check_usemap_section_nr() argument 410 check_usemap_section_nr(int nid, struct mem_section_usage *usage) check_usemap_section_nr() argument 428 __populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) __populate_section_memmap() argument 457 sparse_buffer_init(unsigned long size, int nid) sparse_buffer_init() argument 505 sparse_init_nid(int nid, unsigned long pnum_begin, unsigned long pnum_end, unsigned long map_count) sparse_init_nid() argument 519 sparse_buffer_init(map_count * section_map_size(), nid); sparse_init_nid() local 572 int nid = sparse_early_nid(__nr_to_section(pnum_end)); sparse_init() local 631 populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) populate_section_memmap() argument 703 populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) populate_section_memmap() argument 828 section_activate(int nid, unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) section_activate() argument 890 sparse_add_section(int nid, unsigned long start_pfn, unsigned long nr_pages, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) sparse_add_section() argument [all...] |
H A D | oom_kill.c | 257 int nid; in constrained_alloc() local
|