/linux-master/sound/pci/hda/ |
H A D | patch_hdmi.c | 424 /* no pin nid is associated with the kctl now 425 * tbd: associate pin nid to eld ctl later 673 static int hdmi_pin_get_eld(struct hda_codec *codec, hda_nid_t nid, argument 676 snd_hda_set_dev_select(codec, nid, dev_id); 678 return snd_hdmi_get_eld(codec, nid, buf, eld_size); 793 static void check_presence_and_report(struct hda_codec *codec, hda_nid_t nid, argument 797 int pin_idx = pin_id_to_pin_index(codec, nid, dev_id); 813 check_presence_and_report(codec, jack->nid, jack->dev_id); 823 codec->addr, jack->nid, jack->dev_id, !!(res & AC_UNSOL_RES_IA), 826 check_presence_and_report(codec, jack->nid, jac 883 haswell_verify_D0(struct hda_codec *codec, hda_nid_t cvt_nid, hda_nid_t nid) argument 1093 hda_nid_t nid; local 2031 hda_nid_t nid = start_nid + i; local 2044 hda_nid_t nid = start_nid + i; local 2617 reprogram_jack_detect(struct hda_codec *codec, hda_nid_t nid, int dev_id, bool use_acomp) argument 3896 unsigned int nid = NVIDIA_AFG_NID; local 4134 atihdmi_pin_get_eld(struct hda_codec *codec, hda_nid_t nid, int dev_id, unsigned char *buf, int *eld_size) argument [all...] |
H A D | hda_auto_parser.h | 46 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid,
|
H A D | hda_generic.h | 344 int snd_hda_gen_check_power_status(struct hda_codec *codec, hda_nid_t nid); 347 hda_nid_t nid, 349 void snd_hda_gen_stream_pm(struct hda_codec *codec, hda_nid_t nid, bool on);
|
H A D | patch_conexant.c | 63 static int set_beep_amp(struct conexant_spec *spec, hda_nid_t nid, argument 67 unsigned int beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir); 70 spec->gen.beep_nid = nid; 84 hda_nid_t nid; local 86 for_each_hda_codec_node(nid, codec) 87 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) 88 return set_beep_amp(spec, nid, 0, HDA_OUTPUT); 103 hda_nid_t nid; local 105 for_each_hda_codec_node(nid, codec) { 106 if (get_wcaps_type(get_wcaps(codec, nid)) ! [all...] |
/linux-master/drivers/scsi/elx/efct/ |
H A D | efct_driver.c | 62 efct_device_alloc(u32 nid) argument 66 efct = kzalloc_node(sizeof(*efct), GFP_KERNEL, nid); 486 int nid; local 509 nid = dev_to_node(&pdev->dev); 510 if (nid < 0) { 511 dev_err(&pdev->dev, "Warning Numa node ID is %d\n", nid); 512 nid = 0; 516 efct = efct_device_alloc(nid); 524 efct->numa_node = nid;
|
/linux-master/sound/soc/codecs/ |
H A D | rt715-sdw.c | 153 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; local 165 nid = reg & 0xff; 175 reg3 = RT715_PRIV_DATA_R_H | nid; 275 unsigned int reg2 = 0, reg3, reg4, nid, mask, val2; local 287 nid = reg & 0xff; 297 reg3 = RT715_PRIV_DATA_W_H | nid; 375 int hda_to_sdw(unsigned int nid, unsigned int verb, unsigned int payload, argument 404 *sdw_addr_l = (e_verb << 8) | nid | 0x80; /* 0x80: valid bit */ 409 *sdw_addr_h = (e_verb << 8) | nid;
|
H A D | rt711.c | 33 unsigned int nid, unsigned int reg, unsigned int value) 36 unsigned int addr = ((RT711_PRIV_INDEX_W_H | nid) << 8) | reg; 47 unsigned int nid, unsigned int reg, unsigned int *value) 50 unsigned int addr = ((RT711_PRIV_INDEX_W_H | nid) << 8) | reg; 61 static int rt711_index_update_bits(struct regmap *regmap, unsigned int nid, argument 67 ret = rt711_index_read(regmap, nid, reg, &orig); 74 return rt711_index_write(regmap, nid, reg, tmp); 689 unsigned int reg, val = 0, nid; local 693 nid = RT711_MIXER_IN1; 695 nid 32 rt711_index_write(struct regmap *regmap, unsigned int nid, unsigned int reg, unsigned int value) argument 46 rt711_index_read(struct regmap *regmap, unsigned int nid, unsigned int reg, unsigned int *value) argument 723 unsigned int val, val2 = 0, change, reg, nid; local [all...] |
H A D | rt700.c | 531 unsigned int reg, val = 0, nid; local 535 nid = RT700_HP_OUT; 537 nid = RT700_MIXER_IN1; 539 nid = RT700_MIXER_IN2; 544 reg = RT700_VERB_SET_CONNECT_SEL | nid; 564 unsigned int val, val2 = 0, change, reg, nid; local 571 nid = RT700_HP_OUT; 573 nid = RT700_MIXER_IN1; 575 nid = RT700_MIXER_IN2; 582 reg = RT700_VERB_SET_CONNECT_SEL | nid; [all...] |
/linux-master/net/qrtr/ |
H A D | af_qrtr.c | 120 * @nid: node id 130 unsigned int nid; member in struct:qrtr_node 360 hdr->dst_node_id = cpu_to_le32(node->nid); 393 static struct qrtr_node *qrtr_node_lookup(unsigned int nid) argument 400 node = radix_tree_lookup(&qrtr_nodes, nid); 413 static void qrtr_node_assign(struct qrtr_node *node, unsigned int nid) argument 417 if (nid == QRTR_EP_NID_AUTO) 421 radix_tree_insert(&qrtr_nodes, nid, node); 422 if (node->nid == QRTR_EP_NID_AUTO) 423 node->nid 585 qrtr_endpoint_register(struct qrtr_endpoint *ep, unsigned int nid) argument [all...] |
/linux-master/include/sound/ |
H A D | hdaudio.h | 131 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, 133 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, 135 int snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid, 137 int snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid, 139 int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, 141 int snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, 148 int snd_hdac_query_supported_pcm(struct hdac_device *codec, hda_nid_t nid, 151 bool snd_hdac_is_supported_format(struct hdac_device *codec, hda_nid_t nid, 154 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid, 156 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, 171 snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm) argument [all...] |
/linux-master/sound/core/ |
H A D | init.c | 680 /* copy to card->id only with valid letters from nid */ 682 const char *nid) 686 while (*nid && !isalnum(*nid)) 687 nid++; 688 if (isdigit(*nid)) 690 while (*nid && (size_t)(id - card->id) < sizeof(card->id) - 1) { 691 if (isalnum(*nid)) 692 *id++ = *nid; 693 nid 681 copy_valid_id_string(struct snd_card *card, const char *src, const char *nid) argument 701 snd_card_set_id_no_lock(struct snd_card *card, const char *src, const char *nid) argument 757 snd_card_set_id(struct snd_card *card, const char *nid) argument [all...] |
/linux-master/mm/ |
H A D | vmscan.c | 305 static bool can_demote(int nid, struct scan_control *sc) argument 311 if (next_demotion_node(nid) == NUMA_NO_NODE) 318 int nid, 339 return can_demote(nid, sc); 386 static unsigned long drop_slab_node(int nid) argument 393 freed += shrink_slab(GFP_KERNEL, nid, memcg, 0); 401 int nid; local 407 for_each_online_node(nid) { 411 freed += drop_slab_node(nid); 969 .nid 317 can_reclaim_anon_pages(struct mem_cgroup *memcg, int nid, struct scan_control *sc) argument 2120 int nid; local 2589 get_lruvec(struct mem_cgroup *memcg, int nid) argument 2778 int nid; local 2805 int nid; local 4154 int nid; local 4178 int nid; local 4190 int nid; local 4213 lru_gen_soft_reclaim(struct mem_cgroup *memcg, int nid) argument 5056 int nid; local 5183 int nid; local 5205 int nid = lruvec_pgdat(v)->node_id; local 5284 int nid = lruvec_pgdat(lruvec)->node_id; local 5389 run_cmd(char cmd, int memcg_id, int nid, unsigned long seq, struct scan_control *sc, int swappiness, unsigned long opt) argument 5478 unsigned int nid; local 5581 int nid; local 7269 kswapd_run(int nid) argument 7291 kswapd_stop(int nid) argument 7307 int nid; local [all...] |
H A D | workingset.c | 214 int memcgid, nid; local 219 nid = entry & ((1UL << NODES_SHIFT) - 1); 225 *pgdat = NODE_DATA(nid); 685 lruvec = mem_cgroup_lruvec(sc->memcg, NODE_DATA(sc->nid)); 695 pages = node_present_pages(sc->nid);
|
/linux-master/include/trace/events/ |
H A D | f2fs.h | 391 TP_PROTO(struct inode *inode, nid_t nid, unsigned int ofs, int free), 393 TP_ARGS(inode, nid, ofs, free), 398 __field(nid_t, nid) 406 __entry->nid = nid; 411 TP_printk("dev = (%d,%d), ino = %lu, nid = %u, offset = %u, freed = %d", 413 (unsigned int)__entry->nid, 478 TP_PROTO(struct inode *inode, nid_t nid, block_t blk_addr), 480 TP_ARGS(inode, nid, blk_addr), 485 __field(nid_t, nid) [all...] |
/linux-master/arch/powerpc/mm/book3s64/ |
H A D | radix_pgtable.c | 41 static __ref void *early_alloc_pgtable(unsigned long size, int nid, argument 53 ptr = memblock_alloc_try_nid(size, size, min_addr, max_addr, nid); 56 panic("%s: Failed to allocate %lu bytes align=0x%lx nid=%d from=%pa max_addr=%pa\n", 57 __func__, size, size, nid, &min_addr, &max_addr); 72 int nid, 85 pudp = early_alloc_pgtable(PAGE_SIZE, nid, 95 pmdp = early_alloc_pgtable(PAGE_SIZE, nid, region_start, 105 ptep = early_alloc_pgtable(PAGE_SIZE, nid, 118 * nid, region_start, and region_end are hints to try to place the page 124 int nid, 69 early_map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t flags, unsigned int map_page_size, int nid, unsigned long region_start, unsigned long region_end) argument 121 __map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t flags, unsigned int map_page_size, int nid, unsigned long region_start, unsigned long region_end) argument 294 create_physical_mapping(unsigned long start, unsigned long end, int nid, pgprot_t _prot) argument 868 radix__create_section_mapping(unsigned long start, unsigned long end, int nid, pgprot_t prot) argument 889 __map_kernel_page_nid(unsigned long ea, unsigned long pa, pgprot_t flags, unsigned int map_page_size, int nid) argument 901 int nid = early_pfn_to_nid(phys >> PAGE_SHIFT); local [all...] |
/linux-master/drivers/edac/ |
H A D | amd64_edac.c | 284 static bool base_limit_match(struct amd64_pvt *pvt, u64 sys_addr, u8 nid) argument 296 return ((addr >= get_dram_base(pvt, nid)) && 297 (addr <= get_dram_limit(pvt, nid))); 1042 u8 nid = (m->ipid >> 44) & 0xF; local 1048 if (nid < gpu_node_map.base_node_id) 1052 return nid - gpu_node_map.base_node_id + 1; 2204 static int f1x_lookup_addr_in_dct(u64 in_addr, u8 nid, u8 dct) argument 2212 mci = edac_mc_find(nid); 2909 u8 nid = pvt->mc_node_id; local 2919 amd_smn_read(nid, umc_bas 3176 get_cpus_on_this_dct_cpumask(struct cpumask *mask, u16 nid) argument 3186 nb_mce_bank_enabled_on_node(u16 nid) argument 3219 toggle_ecc_err_reporting(struct ecc_settings *s, u16 nid, bool on) argument 3257 enable_ecc_error_reporting(struct ecc_settings *s, u16 nid, struct pci_dev *F3) argument 3309 restore_ecc_error_reporting(struct ecc_settings *s, u16 nid, struct pci_dev *F3) argument 3337 u16 nid = pvt->mc_node_id; local 3362 u16 nid = pvt->mc_node_id; local 3650 u8 nid = pvt->mc_node_id; local 3996 probe_one_instance(unsigned int nid) argument 4076 remove_one_instance(unsigned int nid) argument [all...] |
/linux-master/fs/f2fs/ |
H A D | recovery.c | 504 nid_t ino, nid; local 532 nid = le32_to_cpu(sum.nid); 537 f2fs_err(sbi, "Inconsistent ofs_in_node:%u in summary, ino:%lu, nid:%u, max:%u", 538 ofs_in_node, dn->inode->i_ino, nid, max_addrs); 543 if (dn->inode->i_ino == nid) { 544 tdn.nid = nid; 550 } else if (dn->nid == nid) { [all...] |
/linux-master/sound/virtio/ |
H A D | virtio_jack.c | 25 * @nid: Functional group node identifier. 34 u32 nid; member in struct:virtio_jack 159 vjack->nid = le32_to_cpu(info[i].hdr.hda_fn_nid);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | hotplug-memory.c | 573 int nid, rc; local 588 nid = of_drconf_to_nid_single(lmb); 589 if (nid < 0 || !node_possible(nid)) 590 nid = first_online_node; 593 rc = __add_memory(nid, lmb->base_addr, block_sz, MHP_MEMMAP_ON_MEMORY); 595 pr_err("Failed to add LMB 0x%x to node %u", lmb->drc_index, nid); 602 pr_err("Failed to online LMB 0x%x on node %u\n", lmb->drc_index, nid);
|
/linux-master/drivers/iommu/amd/ |
H A D | amd_iommu.h | 137 static inline void *alloc_pgtable_page(int nid, gfp_t gfp) argument 141 page = alloc_pages_node(nid, gfp | __GFP_ZERO, 0);
|
H A D | io_pgtable_v2.c | 135 static u64 *v2_alloc_pte(int nid, u64 *pgd, unsigned long iova, argument 159 page = alloc_pgtable_page(nid, gfp); 258 pte = v2_alloc_pte(pdom->nid, pdom->iop.pgd, 369 pgtable->pgd = alloc_pgtable_page(pdom->nid, GFP_ATOMIC);
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-imc.c | 185 int nid, cpu; local 189 for_each_node_with_cpus(nid) { 190 l_cpumask = cpumask_of_node(nid);
|
/linux-master/arch/sh/kernel/ |
H A D | setup.c | 193 void __init __add_active_range(unsigned int nid, unsigned long start_pfn, argument 196 struct resource *res = &mem_resources[nid]; 236 &memblock.memory, nid); local
|
/linux-master/arch/x86/include/asm/uv/ |
H A D | uv_hub.h | 667 static inline int uv_node_to_blade_id(int nid) argument 671 return n2s ? n2s[nid] : nid; 713 static inline int uv_node_to_pnode(int nid) argument 715 return uv_hub_info_list(nid)->pnode;
|
/linux-master/fs/erofs/ |
H A D | zmap.c | 317 erofs_err(sb, "unknown type %u @ lcn %lu of nid %llu", 318 m->type, lcn, vi->nid); 324 erofs_err(sb, "bogus lookback distance %u @ lcn %lu of nid %llu", 325 lookback_distance, m->lcn, vi->nid); 389 erofs_err(sb, "cannot found CBLKCNT @ lcn %lu of nid %llu", lcn, 390 vi->nid); 398 erofs_err(sb, "bogus CBLKCNT @ lcn %lu of nid %llu", lcn, vi->nid); 434 erofs_err(inode->i_sb, "unknown type %u @ lcn %llu of nid %llu", 435 m->type, lcn, vi->nid); [all...] |