/linux-master/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-hw.c | 995 unsigned int i, nid = 0; local 1011 bdisp_hw_build_node(ctx, &cfg, ctx->node[nid], 1014 if (nid) 1015 ctx->node[nid - 1]->nip = ctx->node_paddr[nid]; 1016 nid++; 1020 bdisp_hw_build_node(ctx, &cfg, ctx->node[nid], 1022 ctx->node[nid - 1]->nip = ctx->node_paddr[nid]; 1023 nid [all...] |
/linux-master/sound/pci/hda/ |
H A D | patch_sigmatel.c | 263 if (spec->gen.all_adcs[i] == hinfo->nid) { 272 snd_hda_codec_write(codec, hinfo->nid, 0, 277 snd_hda_codec_write(codec, hinfo->nid, 0, 339 hda_nid_t nid, unsigned int new_vref) 343 codec_dbg(codec, "%s, nid %x ctl %x\n", __func__, nid, new_vref); 344 pinctl = snd_hda_codec_read(codec, nid, 0, 354 error = snd_hda_set_pin_ctl_cache(codec, nid, pinctl); 364 hda_nid_t nid, 367 if (nid 338 stac_vrefout_set(struct hda_codec *codec, hda_nid_t nid, unsigned int new_vref) argument 363 stac_vref_led_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) argument 434 stac_toggle_power_map(struct hda_codec *codec, hda_nid_t nid, bool enable, bool do_write) argument 483 hda_nid_t nid = spec->pwr_nids[i]; local 517 hda_nid_t nid = spec->pwr_nids[i]; local 829 stac_auto_create_beep_ctls(struct hda_codec *codec, hda_nid_t nid) argument 4315 hda_nid_t nid = spec->gen.beep_nid; local 4399 stac92hd_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) argument 4417 stac92hd7x_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) argument 4425 stac9205_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) argument 4432 stac927x_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) argument [all...] |
/linux-master/sound/virtio/ |
H A D | virtio_chmap.c | 84 u32 nid = le32_to_cpu(info->hdr.hda_fn_nid); local 88 vpcm = virtsnd_pcm_find_or_create(snd, nid);
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | pci.h | 275 extern struct iommu_table *pnv_pci_table_alloc(int nid); 314 extern long pnv_pci_ioda2_table_alloc_pages(int nid, __u64 bus_offset,
|
/linux-master/arch/loongarch/mm/ |
H A D | init.c | 93 int arch_add_memory(int nid, u64 start, u64 size, struct mhp_params *params) argument 99 ret = __add_pages(nid, start_pfn, nr_pages, params);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_acpi.c | 845 static inline uint64_t amdgpu_acpi_get_numa_size(int nid) argument 853 pg_data_t *pgdat = NODE_DATA(nid); 864 int nid; local 875 nid = pxm_to_node(pxm); 877 numa_info->nid = nid; 879 if (numa_info->nid == NUMA_NO_NODE) { 883 numa_info->size = amdgpu_acpi_get_numa_size(nid);
|
/linux-master/arch/s390/mm/ |
H A D | init.c | 275 int arch_add_memory(int nid, u64 start, u64 size, argument 290 rc = __add_pages(nid, start_pfn, size_pages, params);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_managed.c | 87 size_t size, gfp_t gfp, int nid) 96 dr = kmalloc_node_track_caller(tot_size, gfp, nid); 86 alloc_dr(drmres_release_t release, size_t size, gfp_t gfp, int nid) argument
|
/linux-master/sound/soc/codecs/ |
H A D | rt722-sdca.h | 235 unsigned int nid, unsigned int reg, unsigned int value); 237 unsigned int nid, unsigned int reg, unsigned int *value);
|
H A D | rt715.c | 51 unsigned int nid, unsigned int reg, unsigned int value) 54 unsigned int addr = ((RT715_PRIV_INDEX_W_H_2 | nid) << 8) | reg; 65 unsigned int nid, unsigned int reg, unsigned int *value) 68 unsigned int addr = ((RT715_PRIV_INDEX_W_H_2 | nid) << 8) | reg; 79 static int rt715_index_update_bits(struct regmap *regmap, unsigned int nid, argument 85 ret = rt715_index_read_nid(regmap, nid, reg, &orig); 92 return rt715_index_write_nid(regmap, nid, reg, tmp); 564 /* nid = e->reg, vid = 0xf01 */ 601 /* Verb ID = 0x701h, nid = e->reg */ 640 * Due to mux design for nid 2 50 rt715_index_write_nid(struct regmap *regmap, unsigned int nid, unsigned int reg, unsigned int value) argument 64 rt715_index_read_nid(struct regmap *regmap, unsigned int nid, unsigned int reg, unsigned int *value) argument [all...] |
H A D | rt712-sdca-dmic.c | 133 unsigned int nid, unsigned int reg, unsigned int value) 137 unsigned int addr = (nid << 20) | reg; 149 unsigned int nid, unsigned int reg, unsigned int *value) 153 unsigned int addr = (nid << 20) | reg; 165 unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) 170 ret = rt712_sdca_dmic_index_read(rt712, nid, reg, &tmp); 175 return rt712_sdca_dmic_index_write(rt712, nid, reg, tmp); 132 rt712_sdca_dmic_index_write(struct rt712_sdca_dmic_priv *rt712, unsigned int nid, unsigned int reg, unsigned int value) argument 148 rt712_sdca_dmic_index_read(struct rt712_sdca_dmic_priv *rt712, unsigned int nid, unsigned int reg, unsigned int *value) 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) argument
|
H A D | rt715-sdca.c | 33 unsigned int nid, unsigned int reg, unsigned int value) 39 addr = (nid << 20) | reg; 51 unsigned int nid, unsigned int reg, unsigned int *value) 57 addr = (nid << 20) | reg; 69 unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) 74 ret = rt715_sdca_index_read(rt715, nid, reg, &tmp); 80 return rt715_sdca_index_write(rt715, nid, reg, tmp); 572 /* Verb ID = 0x701h, nid = e->reg */ 602 * Due to mux design for nid 24 (MUX_IN3)/25 (MUX_IN4), connection index 0 and 32 rt715_sdca_index_write(struct rt715_sdca_priv *rt715, unsigned int nid, unsigned int reg, unsigned int value) argument 50 rt715_sdca_index_read(struct rt715_sdca_priv *rt715, unsigned int nid, unsigned int reg, unsigned int *value) argument 68 rt715_sdca_index_update_bits(struct rt715_sdca_priv *rt715, unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) argument
|
/linux-master/mm/ |
H A D | memcontrol.c | 485 static void mem_cgroup_update_tree(struct mem_cgroup *memcg, int nid) argument 493 lru_gen_soft_reclaim(memcg, nid); 497 mctz = soft_limit_tree.rb_tree_per_node[nid]; 505 mz = memcg->nodeinfo[nid]; 532 int nid; local 534 for_each_node(nid) { 535 mz = memcg->nodeinfo[nid]; 536 mctz = soft_limit_tree.rb_tree_per_node[nid]; 1028 static void memcg_check_events(struct mem_cgroup *memcg, int nid) argument 1042 mem_cgroup_update_tree(memcg, nid); 1276 int nid; local 4174 mem_cgroup_node_nr_lru_pages(struct mem_cgroup *memcg, int nid, unsigned int lru_mask, bool tree) argument 4226 int nid; local 5758 int i, nid; local 5990 int nid, ret; local 6918 int nid; local 7413 int nid; member in struct:uncharge_gather [all...] |
H A D | sparse-vmemmap.c | 453 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, 465 r = vmemmap_populate_compound_pages(pfn, start, end, nid, pgmap); 467 r = vmemmap_populate(start, end, nid, altmap); 452 __populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) argument
|
H A D | memory-tiers.c | 634 int mt_set_default_dram_perf(int nid, struct access_coordinate *perf, argument 653 default_dram_perf_ref_nid = nid; 674 "DRAM node %d.\n", nid, default_dram_perf_ref_nid); 678 pr_info(" performance of DRAM node %d:\n", nid); 736 * unsigned long nid, void *data); 738 * Where "nid" specifies the memory node, "data" is the pointer to the
|
H A D | mprotect.c | 118 int nid; local 148 nid = folio_nid(folio); 149 if (target_node == nid) 151 toptier = node_is_toptier(nid);
|
/linux-master/drivers/perf/ |
H A D | arm-cmn.c | 374 struct arm_cmn_nodeid nid; local 377 nid.x = 0; 378 nid.y = 0; 379 nid.port = CMN_NODEID_1x1_PID(id); 380 nid.dev = CMN_NODEID_DEVID(id); 384 nid.x = CMN_NODEID_X(id, bits); 385 nid.y = CMN_NODEID_Y(id, bits); 387 nid.port = CMN_NODEID_EXT_PID(id); 388 nid.dev = CMN_NODEID_EXT_DEVID(id); 390 nid 400 struct arm_cmn_nodeid nid = arm_cmn_nid(cmn, dn->id); local 495 struct arm_cmn_nodeid nid = arm_cmn_nid(cmn, dn->id); local 1756 struct arm_cmn_nodeid nid = arm_cmn_nid(cmn, nodeid); local 1854 struct arm_cmn_nodeid nid = arm_cmn_nid(cmn, dn->id); local [all...] |
/linux-master/fs/f2fs/ |
H A D | gc.c | 1016 nid_t nid = le32_to_cpu(entry->nid); local 1029 f2fs_ra_meta_pages(sbi, NAT_BLOCK_OFFSET(nid), 1, 1035 f2fs_ra_node_page(sbi, nid); 1040 node_page = f2fs_get_node_page(sbi, nid); 1050 if (f2fs_get_node_info(sbi, nid, &ni, false)) { 1107 nid_t nid; local 1111 nid = le32_to_cpu(sum->nid); 1114 node_page = f2fs_get_node_page(sbi, nid); 1516 nid_t nid = le32_to_cpu(entry->nid); local [all...] |
/linux-master/arch/x86/kernel/apic/ |
H A D | x2apic_uv_x.c | 1536 int nid = __apicid_to_node[apicid]; local 1539 if ((nid == NUMA_NO_NODE) || (lnid == nid)) 1541 lnid = nid; 1546 _socket_to_node[sockid - minsock] = nid; 1548 if (_node_to_socket[nid] == SOCK_EMPTY) 1549 _node_to_socket[nid] = sockid; 1554 _node_to_socket[nid], 1555 nid,
|
/linux-master/drivers/misc/sgi-gru/ |
H A D | grufile.c | 254 int pnode, nid, bid, chip; local 266 nid = uv_blade_to_memory_nid(bid);/* -1 if no memory on blade */ 267 page = alloc_pages_node(nid, GFP_KERNEL, order);
|
/linux-master/arch/powerpc/mm/book3s64/ |
H A D | pgtable.c | 276 int nid, pgprot_t prot) 279 return radix__create_section_mapping(start, end, nid, prot); 281 return hash__create_section_mapping(start, end, nid, prot); 275 create_section_mapping(unsigned long start, unsigned long end, int nid, pgprot_t prot) argument
|
/linux-master/drivers/xen/ |
H A D | balloon.c | 263 int nid, rc; local 282 nid = memory_add_physaddr_to_nid(resource->start); 322 rc = add_memory_resource(nid, resource, MHP_MERGE_RESOURCE);
|
/linux-master/include/net/page_pool/ |
H A D | helpers.h | 405 if (unlikely(pool->p.nid != new_nid))
|
/linux-master/arch/sparc/kernel/ |
H A D | of_device_64.c | 541 int nid; local 625 nid = of_node_to_nid(dp); 626 if (nid != -1) { 629 cpumask_copy(&numa_mask, cpumask_of_node(nid));
|
/linux-master/arch/powerpc/include/asm/book3s/64/ |
H A D | hash.h | 269 int nid, pgprot_t prot);
|