/linux-master/drivers/acpi/numa/ |
H A D | srat.c | 553 bool acpi_node_backed_by_real_pxm(int nid) argument 555 int pxm = node_to_pxm(nid);
|
/linux-master/sound/pci/hda/ |
H A D | patch_realtek.c | 159 static int __alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, argument 164 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx); 165 val = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_PROC_COEF, 0); 169 static int alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, argument 175 val = __alc_read_coefex_idx(codec, nid, coef_idx); 183 static void __alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, argument 186 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx); 187 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PROC_COEF, coef_val); 190 static void alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, argument 194 __alc_write_coefex_idx(codec, nid, coef_id 201 __alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx, unsigned int mask, unsigned int bits_set) argument 212 alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx, unsigned int mask, unsigned int bits_set) argument 236 unsigned char nid; member in struct:coef_fw 366 alc_fix_pll_init(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx, unsigned int coef_bit) argument 536 set_eapd(struct hda_codec *codec, hda_nid_t nid, int on) argument 683 unsigned nid = 0; local 748 find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) argument 757 found_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) argument 774 unsigned nid; local 860 hda_nid_t nid; local 1118 set_beep_amp(struct alc_spec *spec, hda_nid_t nid, int idx, int dir) argument 4325 led_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) argument 4774 unsigned char nid; member in struct:alc298_samsung_amp_desc 6132 hda_nid_t nid; local 6181 hda_nid_t nid = cfg->inputs[i].pin; local 11785 gpio_led_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) argument [all...] |
H A D | patch_cs8409.h | 296 unsigned int nid; member in struct:cs8409_cir_param
|
H A D | patch_analog.c | 43 #define set_beep_amp(spec, nid, idx, dir) \ 44 ((spec)->beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir)) /* mono */ 46 #define set_beep_amp(spec, nid, idx, dir) /* NOP */
|
/linux-master/fs/proc/ |
H A D | task_mmu.c | 2578 int nid; local 2590 nid = page_to_nid(page); 2591 if (!node_isset(nid, node_states[N_MEMORY])) 2603 int nid; local 2615 nid = page_to_nid(page); 2616 if (!node_isset(nid, node_states[N_MEMORY])) 2708 int nid; local 2765 for_each_node_state(nid, N_MEMORY) 2766 if (md->node[nid]) 2767 seq_printf(m, " N%d=%lu", nid, m [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | sysfs.c | 1123 int sysfs_add_device_to_node(struct device *dev, int nid) argument 1125 struct node *node = node_devices[nid]; 1131 void sysfs_remove_device_from_node(struct device *dev, int nid) argument 1133 struct node *node = node_devices[nid];
|
H A D | pci-common.c | 142 int nid = of_node_to_nid(dev); local 144 if (nid < 0 || !node_online(nid)) 145 nid = NUMA_NO_NODE; 147 PHB_SET_NODE(phb, nid);
|
/linux-master/drivers/base/ |
H A D | devres.c | 111 size_t size, gfp_t gfp, int nid) 119 dr = kmalloc_node_track_caller(tot_size, gfp, nid); 152 * @nid: NUMA node 162 void *__devres_alloc_node(dr_release_t release, size_t size, gfp_t gfp, int nid, argument 167 dr = alloc_dr(release, size, gfp | __GFP_ZERO, nid); 110 alloc_dr(dr_release_t release, size_t size, gfp_t gfp, int nid) argument
|
/linux-master/fs/erofs/ |
H A D | erofs_fs.h | 62 __le16 root_nid; /* nid of root directory */ 84 __le64 packed_nid; /* nid of the special packed inode */ 277 __le64 nid; /* node number */ member in struct:erofs_dirent
|
H A D | xattr.c | 64 "xattr_isize %d of nid %llu is not supported yet", 65 vi->xattr_isize, vi->nid); 70 erofs_err(sb, "bogus xattr ibody @ nid %llu", vi->nid);
|
/linux-master/sound/soc/codecs/ |
H A D | rt715.h | 223 int hda_to_sdw(unsigned int nid, unsigned int verb, unsigned int payload,
|
H A D | rt722-sdca.c | 29 unsigned int nid, unsigned int reg, unsigned int value) 32 unsigned int addr = (nid << 20) | reg; 45 unsigned int nid, unsigned int reg, unsigned int *value) 49 unsigned int addr = (nid << 20) | reg; 61 unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) 66 ret = rt722_sdca_index_read(rt722, nid, reg, &tmp); 71 return rt722_sdca_index_write(rt722, nid, reg, tmp); 28 rt722_sdca_index_write(struct rt722_sdca_priv *rt722, unsigned int nid, unsigned int reg, unsigned int value) argument 44 rt722_sdca_index_read(struct rt722_sdca_priv *rt722, unsigned int nid, unsigned int reg, unsigned int *value) argument 60 rt722_sdca_index_update_bits(struct rt722_sdca_priv *rt722, unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) argument
|
/linux-master/arch/powerpc/include/asm/ |
H A D | iommu.h | 157 int nid, unsigned long res_start, unsigned long res_end);
|
/linux-master/kernel/ |
H A D | padata.c | 488 int nworks, nid; local 525 nid = next_node_in(old_node, node_states[N_CPU]); 526 } while (!atomic_try_cmpxchg(&last_used_nid, &old_node, nid)); 527 queue_work_node(nid, system_unbound_wq, &pw->pw_work);
|
/linux-master/arch/powerpc/include/asm/book3s/64/ |
H A D | radix.h | 361 int nid, pgprot_t prot);
|
/linux-master/fs/f2fs/ |
H A D | f2fs.h | 445 #define nid_in_journal(jnl, i) ((jnl)->nat_j.entries[i].nid) 909 * For free nid management 912 FREE_NID, /* newly added to free nid list */ 928 nid_t next_scan_nid; /* the next nid to be scanned */ 931 unsigned int ra_nid_pages; /* # of nid pages to be readaheaded */ 947 spinlock_t nid_list_lock; /* protect nid lists ops */ 951 unsigned short *free_nid_count; /* free nid count of NAT block */ 975 nid_t nid; /* node id of the direct node block */ member in struct:dnode_of_data 985 struct page *ipage, struct page *npage, nid_t nid) 991 dn->nid 984 set_new_dnode(struct dnode_of_data *dn, struct inode *inode, struct page *ipage, struct page *npage, nid_t nid) argument [all...] |
/linux-master/include/sound/ |
H A D | hdaudio_ext.h | 176 hda_nid_t nid; member in struct:hda_dai_map
|
/linux-master/mm/ |
H A D | internal.h | 557 int nid, bool exact_nid); 1051 int nid; /* preferred node id */ member in struct:migration_target_control 1325 unsigned long zone, int nid); 1328 unsigned long shrink_slab(gfp_t gfp_mask, int nid, struct mem_cgroup *memcg,
|
H A D | memory-failure.c | 1303 int nid = MAX_NUMNODES; local 1306 nid = pfn_to_nid(pfn); 1307 if (unlikely(nid < 0 || nid >= MAX_NUMNODES)) { 1308 WARN_ONCE(1, "Memory failure: pfn=%#lx, invalid nid=%d", pfn, nid); 1312 mf_stats = &NODE_DATA(nid)->mf_stats; 2679 .nid = NUMA_NO_NODE,
|
/linux-master/include/linux/ |
H A D | mm.h | 1799 static inline int cpu_pid_to_cpupid(int nid, int pid) argument 3132 phys_addr_t end, int nid); 3171 int nid; local 3174 for_each_online_node(nid) 3175 phys_pages += node_present_pages(nid); 3193 * memblock_add_node(base, size, nid, MEMBLOCK_NONE) 3198 unsigned long __absent_pages_in_range(int nid, unsigned long start_pfn, 3202 extern void get_pfn_range_for_nid(unsigned int nid, 3226 extern void si_meminfo_node(struct sysinfo *val, int nid); 3865 unsigned long nr_pages, int nid, struc [all...] |
H A D | acpi.h | 1552 int hmat_update_target_coordinates(int nid, struct access_coordinate *coord, 1555 static inline int hmat_update_target_coordinates(int nid, argument 1564 bool acpi_node_backed_by_real_pxm(int nid); 1566 static inline bool acpi_node_backed_by_real_pxm(int nid) argument
|
/linux-master/drivers/iommu/intel/ |
H A D | iommu.c | 453 int nid = NUMA_NO_NODE; local 464 nid = dev_to_node(info->dev); 465 if (nid != NUMA_NO_NODE) 470 return nid; 500 if (domain->nid == NUMA_NO_NODE) 501 domain->nid = domain_update_device_node(domain); 870 tmp_page = alloc_pgtable_page(domain->nid, gfp); 1747 domain->nid = NUMA_NO_NODE; 1817 domain->nid = NUMA_NO_NODE; 2266 int i, nid, re local [all...] |
/linux-master/arch/x86/kernel/cpu/mce/ |
H A D | inject.c | 439 static void toggle_nb_mca_mst_cpu(u16 nid) argument 446 nb = node_to_amd_nb(nid);
|
/linux-master/arch/x86/mm/ |
H A D | init_32.c | 398 void __init add_highpages_with_active_regions(int nid, argument 404 for_each_free_mem_range(i, nid, MEMBLOCK_NONE, &start, &end, NULL) {
|
H A D | init_64.c | 950 int add_pages(int nid, unsigned long start_pfn, unsigned long nr_pages, argument 955 ret = __add_pages(nid, start_pfn, nr_pages, params); 965 int arch_add_memory(int nid, u64 start, u64 size, argument 973 return add_pages(nid, start_pfn, nr_pages, params);
|