Searched refs:nid (Results 101 - 125 of 319) sorted by relevance

1234567891011>>

/linux-master/drivers/cxl/core/
H A Dcore.h93 int cxl_update_hmat_access_coordinates(int nid, struct cxl_region *cxlr,
95 bool cxl_need_node_perf_attrs_update(int nid);
/linux-master/sound/hda/
H A Dhdac_component.c111 * @nid: the pin widget NID
121 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, argument
130 port = nid;
132 port = acomp->audio_ops->pin2port(codec, nid);
144 * @nid: the pin widget NID
162 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id, argument
172 port = nid;
174 port = acomp->audio_ops->pin2port(codec, nid);
/linux-master/drivers/irqchip/
H A Dirq-mbigen.c69 unsigned int nid, pin; local
72 nid = hwirq / IRQS_PER_MBIGEN_NODE + 1;
75 return pin * 4 + nid * MBIGEN_NODE_OFFSET
82 unsigned int nid, irq_ofst, ofst; local
85 nid = hwirq / IRQS_PER_MBIGEN_NODE + 1;
91 *addr = ofst + nid * MBIGEN_NODE_OFFSET
/linux-master/sound/pci/lola/
H A Dlola.h218 unsigned int nid; member in struct:lola_pin
244 unsigned int nid; member in struct:lola_clock_widget
263 unsigned int nid; member in struct:lola_mixer_widget
279 unsigned int nid; /* audio widget NID */ member in struct:lola_stream
472 int lola_codec_write(struct lola *chip, unsigned int nid, unsigned int verb,
474 int lola_codec_read(struct lola *chip, unsigned int nid, unsigned int verb,
478 #define lola_read_param(chip, nid, param, val) \
479 lola_codec_read(chip, nid, LOLA_VERB_PARAMETERS, param, 0, val, NULL)
487 int lola_init_clock_widget(struct lola *chip, int nid);
498 int lola_init_mixer_widget(struct lola *chip, int nid);
[all...]
H A Dlola.c73 static int corb_send_verb(struct lola *chip, unsigned int nid, argument
80 chip->last_cmd_nid = nid;
84 data |= (nid << 20) | (verb << 8);
181 int lola_codec_write(struct lola *chip, unsigned int nid, unsigned int verb, argument
185 nid, verb, data, extdata);
186 return corb_send_verb(chip, nid, verb, data, extdata);
190 int lola_codec_read(struct lola *chip, unsigned int nid, unsigned int verb, argument
197 nid, verb, data, extdata);
198 err = corb_send_verb(chip, nid, verb, data, extdata);
435 int nid, er local
[all...]
/linux-master/include/linux/
H A Dnodemask.h446 static inline unsigned int next_online_node(int nid) argument
448 return next_node(nid, node_states[N_ONLINE]);
450 static inline unsigned int next_memory_node(int nid) argument
452 return next_node(nid, node_states[N_MEMORY]);
458 static inline void node_set_online(int nid) argument
460 node_set_state(nid, N_ONLINE);
464 static inline void node_set_offline(int nid) argument
466 node_clear_state(nid, N_ONLINE);
495 #define next_online_node(nid) (MAX_NUMNODES)
496 #define next_memory_node(nid) (MAX_NUMNODE
[all...]
H A Dmmzone.h564 void lru_gen_soft_reclaim(struct mem_cgroup *memcg, int nid);
600 static inline void lru_gen_soft_reclaim(struct mem_cgroup *memcg, int nid) argument
1417 #define node_present_pages(nid) (NODE_DATA(nid)->node_present_pages)
1418 #define node_spanned_pages(nid) (NODE_DATA(nid)->node_spanned_pages)
1420 #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn)
1421 #define node_end_pfn(nid) pgdat_end_pfn(NODE_DATA(nid))
1510 zone_set_nid(struct zone *zone, int nid) argument
1520 zone_set_nid(struct zone *zone, int nid) argument
1560 NODE_DATA(int nid) argument
1712 int nid; local
[all...]
H A Dshrinker.h38 int nid; member in struct:shrink_control
H A Dcma.h34 int nid);
/linux-master/arch/powerpc/platforms/powernv/
H A Dpci-ioda-tce.c62 static __be64 *pnv_alloc_tce_level(int nid, unsigned int shift) argument
67 tce_mem = alloc_pages_node(nid, GFP_ATOMIC | __GFP_NOWARN,
256 static __be64 *pnv_pci_ioda2_table_do_alloc_pages(int nid, unsigned int shift, argument
265 addr = pnv_alloc_tce_level(nid, shift);
275 tmp = pnv_pci_ioda2_table_do_alloc_pages(nid, shift,
290 long pnv_pci_ioda2_table_alloc_pages(int nid, __u64 bus_offset, argument
318 addr = pnv_pci_ioda2_table_do_alloc_pages(nid, level_shift,
336 uas = pnv_pci_ioda2_table_do_alloc_pages(nid, level_shift,
352 tbl->it_nid = nid;
/linux-master/mm/
H A Dmemremap.c171 int range_id, int nid)
211 if (nid < 0)
212 nid = numa_mem_id();
238 error = add_pages(nid, PHYS_PFN(range->start),
247 error = arch_add_memory(nid, range->start, range_len(range),
254 zone = &NODE_DATA(nid)->node_zones[ZONE_DEVICE];
268 memmap_init_zone_device(&NODE_DATA(nid)->node_zones[ZONE_DEVICE],
292 void *memremap_pages(struct dev_pagemap *pgmap, int nid) argument
367 error = pagemap_range(pgmap, &params, i, nid);
170 pagemap_range(struct dev_pagemap *pgmap, struct mhp_params *params, int range_id, int nid) argument
H A Dksm.c155 * @kpfn: page frame number of this ksm page (perhaps temporarily on wrong nid)
158 * @nid: NUMA node id of stable tree in which linked (may not match kpfn)
184 int nid; member in struct:ksm_stable_node
192 * @nid: NUMA node id of unstable tree in which linked (may not match page)
207 int nid; /* when node of unstable tree */ member in union:ksm_rmap_item::__anon694
560 rb_erase(&dup->node, root_stable_tree + NUMA(dup->nid));
820 chain->nid = NUMA_NO_NODE; /* debug */
1039 root_unstable_tree + NUMA(rmap_item->nid));
1174 int nid; local
1177 for (nid
1819 int nid; local
2069 int nid; local
2194 int nid; local
2570 int nid; local
3299 int nid; local
[all...]
H A Dcma.c224 * @nid: nid of the free area to find, %NUMA_NO_NODE for any node
238 int nid)
266 nid = NUMA_NO_NODE;
335 limit, nid, true);
348 highmem_start, limit, nid, true);
354 limit, nid, true);
374 &base, nid);
381 nid);
234 cma_declare_contiguous_nid(phys_addr_t base, phys_addr_t size, phys_addr_t limit, phys_addr_t alignment, unsigned int order_per_bit, bool fixed, const char *name, struct cma **res_cma, int nid) argument
/linux-master/sound/pci/hda/
H A Dpatch_ca0132.c178 hda_nid_t nid; member in struct:ct_effect
192 .nid = SURROUND,
200 .nid = CRYSTALIZER,
208 .nid = DIALOG_PLUS,
216 .nid = SMART_VOLUME,
224 .nid = X_BASS,
232 .nid = EQUALIZER,
243 .nid = ECHO_CANCELLATION,
251 .nid = VOICE_FOCUS,
259 .nid
310 hda_nid_t nid; member in struct:ct_tuning_ctl
422 hda_nid_t nid; member in struct:ct_voicefx
518 hda_nid_t nid; member in struct:ct_eq
1515 codec_send_command(struct hda_codec *codec, hda_nid_t nid, unsigned int verb, unsigned int parm, unsigned int *res) argument
1525 codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, unsigned short converter_format, unsigned int *res) argument
1532 codec_set_converter_stream_channel(struct hda_codec *codec, hda_nid_t nid, unsigned char stream, unsigned char channel, unsigned int *res) argument
4224 tuning_ctl_set(struct hda_codec *codec, hda_nid_t nid, const unsigned int *lookup, int idx) argument
4249 hda_nid_t nid = get_amp_nid(kcontrol); local
4275 hda_nid_t nid = get_amp_nid(kcontrol); local
4310 hda_nid_t nid = get_amp_nid(kcontrol); local
4345 hda_nid_t nid = get_amp_nid(kcontrol); local
4365 add_tuning_control(struct hda_codec *codec, hda_nid_t pnid, hda_nid_t nid, const char *name, int dir) argument
4733 ca0132_set_out_node_pincfg(struct hda_codec *codec, hda_nid_t nid, bool out_enable, bool hp_enable) argument
5273 hda_nid_t nid; local
5318 ca0132_effects_set(struct hda_codec *codec, hda_nid_t nid, long val) argument
5412 hda_nid_t nid; local
5460 hda_nid_t nid; local
5536 hda_nid_t nid = get_amp_nid(kcontrol); local
5616 ca0132_alt_slider_ctl_set(struct hda_codec *codec, hda_nid_t nid, const unsigned int *lookup, int idx) argument
5661 hda_nid_t nid = get_amp_nid(kcontrol); local
5676 hda_nid_t nid = get_amp_nid(kcontrol); local
5719 hda_nid_t nid = get_amp_nid(kcontrol); local
5749 hda_nid_t nid = get_amp_nid(kcontrol); local
6275 hda_nid_t nid = get_amp_nid(kcontrol); local
6327 hda_nid_t nid = get_amp_nid(kcontrol); local
6426 ca0132_alt_dsp_volume_put(struct hda_codec *codec, hda_nid_t nid) argument
6461 hda_nid_t nid = get_amp_nid(kcontrol); local
6499 hda_nid_t nid = get_amp_nid(kcontrol); local
6520 hda_nid_t nid = get_amp_nid(kcontrol); local
6567 hda_nid_t nid = get_amp_nid(kcontrol); local
6607 hda_nid_t nid = get_amp_nid(kcontrol); local
6641 ca0132_alt_add_effect_slider(struct hda_codec *codec, hda_nid_t nid, const char *pfx, int dir) argument
6676 add_fx_switch(struct hda_codec *codec, hda_nid_t nid, const char *pfx, int dir) argument
7406 refresh_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir) argument
[all...]
H A Dhda_beep.c34 snd_hda_codec_write(codec, beep->nid, 0,
197 * @nid: beep NID
204 int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) argument
226 snd_hda_codec_write_cache(codec, nid, 0,
229 beep->nid = nid;
H A Dpatch_via.c14 /* 2006-03-14 Lydia Wang Modify hard code for some pin widget nid */
259 static int set_beep_amp(struct via_spec *spec, hda_nid_t nid, argument
263 unsigned int beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir);
266 spec->gen.beep_nid = nid;
280 hda_nid_t nid; local
282 for_each_hda_codec_node(nid, codec)
283 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP)
284 return set_beep_amp(spec, nid, 0, HDA_OUTPUT);
301 for (; p->nid; p++) {
303 v = snd_hda_codec_amp_read(codec, p->nid, c
406 via_check_power_status(struct hda_codec *codec, hda_nid_t nid) argument
439 vt1708_set_pinconfig_connect(struct hda_codec *codec, hda_nid_t nid) argument
816 hda_nid_t nid; local
[all...]
H A Dhda_sysfs.c89 pin->nid, pin->cfg);
226 v->nid, v->verb, v->param);
235 int nid, verb, param; local
237 if (sscanf(buf, "%i %i %i", &nid, &verb, &param) != 3)
239 if (!nid || !verb)
247 v->nid = nid;
380 int nid, cfg, err; local
382 if (sscanf(buf, "%i %i", &nid, &cfg) != 2)
384 if (!nid)
[all...]
H A Dpatch_si3054.c149 snd_hda_codec_setup_stream(codec, hinfo->nid,
174 .nid = 0x1,
194 info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid = codec->core.mfg;
195 info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = codec->core.mfg;
/linux-master/arch/mips/loongson64/
H A Dnuma.c135 /* set nid for reserved memory on node 0 */
202 pg_data_t * __init arch_alloc_nodedata(int nid) argument
207 void arch_refresh_nodedata(int nid, pg_data_t *pgdat) argument
209 __node_data[nid] = pgdat;
/linux-master/arch/x86/platform/uv/
H A Duv_nmi.c1062 int nid = cpu_to_node(cpu); local
1063 if (uv_hub_nmi_list[nid] == NULL) {
1064 uv_hub_nmi_list[nid] = kzalloc_node(size,
1065 GFP_KERNEL, nid);
1066 BUG_ON(!uv_hub_nmi_list[nid]);
1067 raw_spin_lock_init(&(uv_hub_nmi_list[nid]->nmi_lock));
1068 atomic_set(&uv_hub_nmi_list[nid]->cpu_owner, -1);
1069 uv_hub_nmi_list[nid]->hub_present = hubbed;
1070 uv_hub_nmi_list[nid]->pch_owner = (nid
[all...]
/linux-master/arch/powerpc/kernel/
H A Dpaca.c30 int nid; local
38 nid = NUMA_NO_NODE;
41 nid = early_cpu_to_node(cpu);
45 limit, nid);
/linux-master/mm/kmsan/
H A Dinit.c78 int nid; local
86 for_each_online_node(nid)
88 NODE_DATA(nid), (char *)NODE_DATA(nid) + nd_size);
/linux-master/arch/x86/virt/vmx/tdx/
H A Dtdx.h99 int nid; member in struct:tdx_memblock
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_device.c204 int ret, nid; local
225 nid = dev_to_node(dev);
227 nid = NUMA_NO_NODE;
229 ttm_pool_init(&bdev->pool, dev, nid, use_dma_alloc, use_dma32);
/linux-master/drivers/acpi/numa/
H A Dhmat.c332 int hmat_update_target_coordinates(int nid, struct access_coordinate *coord, argument
338 if (nid == NUMA_NO_NODE)
341 pxm = node_to_pxm(nid);
869 int nid = pxm_to_node(target->memory_pxm); local
878 * Register generic port perf numbers. The nid may not be
895 if (nid == NUMA_NO_NODE || !node_online(nid))
922 int pxm, nid = mnb->status_change_nid; local
924 if (nid == NUMA_NO_NODE || action != MEM_ONLINE)
927 pxm = node_to_pxm(nid);
939 int nid, pxm; local
960 hmat_calculate_adistance(struct notifier_block *self, unsigned long nid, void *data) argument
[all...]

Completed in 232 milliseconds

1234567891011>>