Home
last modified time | relevance | path

Searched refs:node_id (Results 1 – 25 of 198) sorted by relevance

12345678

/linux-6.6.21/drivers/pmdomain/xilinx/
Dzynqmp-pm-domains.c34 u32 node_id; member
78 ret = zynqmp_pm_set_requirement(pd->node_id, in zynqmp_gpd_power_on()
85 ZYNQMP_PM_CAPABILITY_ACCESS, pd->node_id, ret); in zynqmp_gpd_power_on()
90 ZYNQMP_PM_CAPABILITY_ACCESS, pd->node_id); in zynqmp_gpd_power_on()
115 pd->node_id); in zynqmp_gpd_power_off()
130 ret = zynqmp_pm_set_requirement(pd->node_id, capabilities, 0, in zynqmp_gpd_power_off()
135 capabilities, pd->node_id, ret); in zynqmp_gpd_power_off()
140 capabilities, pd->node_id); in zynqmp_gpd_power_off()
168 ret = zynqmp_pm_request_node(pd->node_id, 0, 0, in zynqmp_gpd_attach_dev()
172 domain->name, pd->node_id, ret); in zynqmp_gpd_attach_dev()
[all …]
/linux-6.6.21/drivers/soc/xilinx/
Dxlnx_event_manager.c78 static bool xlnx_is_error_event(const u32 node_id) in xlnx_is_error_event() argument
80 if (node_id == EVENT_ERROR_PMC_ERR1 || in xlnx_is_error_event()
81 node_id == EVENT_ERROR_PMC_ERR2 || in xlnx_is_error_event()
82 node_id == EVENT_ERROR_PSM_ERR1 || in xlnx_is_error_event()
83 node_id == EVENT_ERROR_PSM_ERR2) in xlnx_is_error_event()
89 static int xlnx_add_cb_for_notify_event(const u32 node_id, const u32 event, const bool wake, in xlnx_add_cb_for_notify_event() argument
99 key = ((u64)node_id << 32U) | (u64)event; in xlnx_add_cb_for_notify_event()
224 static int xlnx_remove_cb_for_notify_event(const u32 node_id, const u32 event, in xlnx_remove_cb_for_notify_event() argument
229 u64 key = ((u64)node_id << 32U) | (u64)event; in xlnx_remove_cb_for_notify_event()
260 node_id, event); in xlnx_remove_cb_for_notify_event()
[all …]
/linux-6.6.21/sound/firewire/motu/
Damdtp-motu-trace.h32 __entry->src = fw_parent_device(s->unit)->node_id;
33 __entry->dst = fw_parent_device(s->unit)->card->node_id;
35 __entry->src = fw_parent_device(s->unit)->card->node_id;
36 __entry->dst = fw_parent_device(s->unit)->node_id;
61 __entry->src = fw_parent_device(s->unit)->node_id;
62 __entry->dst = fw_parent_device(s->unit)->card->node_id;
64 __entry->src = fw_parent_device(s->unit)->card->node_id;
65 __entry->dst = fw_parent_device(s->unit)->node_id;
/linux-6.6.21/drivers/thermal/qcom/
Dlmh.c96 u32 node_id; in lmh_probe() local
136 node_id = LMH_CLUSTER0_NODE_ID; in lmh_probe()
138 node_id = LMH_CLUSTER1_NODE_ID; in lmh_probe()
151 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
156 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
161 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
166 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
181 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
188 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
195 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
/linux-6.6.21/drivers/acpi/
Dglue.c219 static void acpi_physnode_link_name(char *buf, unsigned int node_id) in acpi_physnode_link_name() argument
221 if (node_id > 0) in acpi_physnode_link_name()
223 PHYSICAL_NODE_STRING "%u", node_id); in acpi_physnode_link_name()
233 unsigned int node_id; in acpi_bind_one() local
262 node_id = 0; in acpi_bind_one()
277 if (pn->node_id == node_id) { in acpi_bind_one()
279 node_id++; in acpi_bind_one()
283 physical_node->node_id = node_id; in acpi_bind_one()
291 acpi_physnode_link_name(physical_node_name, node_id); in acpi_bind_one()
336 acpi_physnode_link_name(physnode_name, entry->node_id); in acpi_unbind_one()
/linux-6.6.21/arch/mips/loongson64/
Dinit.c52 phys_addr_t node_id, mem_start, mem_size; in szmem() local
60 node_id = loongson_memmap->map[i].node_id; in szmem()
61 if (node_id != node) in szmem()
73 mem_start = (node_id << 44) | loongson_memmap->map[i].mem_start; in szmem()
80 (u32)node_id, mem_type, &mem_start, &mem_size); in szmem()
90 (u32)node_id, mem_type, &mem_start, &mem_size); in szmem()
97 (u32)node_id, mem_type, &mem_start, &mem_size); in szmem()
/linux-6.6.21/arch/s390/lib/
Dspinlock.c41 int node_id; member
68 node->node_id = ((cpu + 1) << _Q_TAIL_CPU_OFFSET) + in arch_spin_lock_setup()
114 return node->node_id >> _Q_TAIL_CPU_OFFSET; in arch_spin_yield_target()
120 int lockval, ix, node_id, tail_id, old, new, owner, count; in arch_spin_lock_queued() local
127 node_id = node->node_id; in arch_spin_lock_queued()
149 new = node_id | (old & _Q_LOCK_MASK); in arch_spin_lock_queued()
186 new = ((tail_id != node_id) ? tail_id : 0) | lockval; in arch_spin_lock_queued()
200 if (node_id && tail_id != node_id) { in arch_spin_lock_queued()
/linux-6.6.21/include/linux/firmware/
Dxlnx-event-manager.h15 int xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id,
19 int xlnx_unregister_event(const enum pm_api_cb_id cb_type, const u32 node_id,
22 static inline int xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id, in xlnx_register_event() argument
29 static inline int xlnx_unregister_event(const enum pm_api_cb_id cb_type, const u32 node_id, in xlnx_unregister_event() argument
Dxlnx-zynqmp.h520 int zynqmp_pm_set_sd_tapdelay(u32 node_id, u32 type, u32 value);
521 int zynqmp_pm_sd_dll_reset(u32 node_id, u32 type);
570 int zynqmp_pm_get_rpu_mode(u32 node_id, enum rpu_oper_mode *rpu_mode);
571 int zynqmp_pm_set_rpu_mode(u32 node_id, enum rpu_oper_mode rpu_mode);
572 int zynqmp_pm_set_tcm_config(u32 node_id, enum rpu_tcm_comb tcm_mode);
658 static inline int zynqmp_pm_set_sd_tapdelay(u32 node_id, u32 type, u32 value) in zynqmp_pm_set_sd_tapdelay() argument
663 static inline int zynqmp_pm_sd_dll_reset(u32 node_id, u32 type) in zynqmp_pm_sd_dll_reset() argument
871 static inline int zynqmp_pm_get_rpu_mode(u32 node_id, enum rpu_oper_mode *rpu_mode) in zynqmp_pm_get_rpu_mode() argument
876 static inline int zynqmp_pm_set_rpu_mode(u32 node_id, enum rpu_oper_mode rpu_mode) in zynqmp_pm_set_rpu_mode() argument
881 static inline int zynqmp_pm_set_tcm_config(u32 node_id, enum rpu_tcm_comb tcm_mode) in zynqmp_pm_set_tcm_config() argument
/linux-6.6.21/net/tipc/
Dnet.c111 int tipc_net_init(struct net *net, u8 *node_id, u32 addr) in tipc_net_init() argument
119 if (node_id) in tipc_net_init()
120 tipc_set_node_id(net, node_id); in tipc_net_init()
167 u64 *w0 = (u64 *)&tn->node_id[0]; in __tipc_nl_add_net()
168 u64 *w1 = (u64 *)&tn->node_id[8]; in __tipc_nl_add_net()
267 u8 node_id[NODE_ID_LEN]; in __tipc_nl_net_set() local
268 u64 *w0 = (u64 *)&node_id[0]; in __tipc_nl_net_set()
269 u64 *w1 = (u64 *)&node_id[8]; in __tipc_nl_net_set()
275 tipc_net_init(net, node_id, 0); in __tipc_nl_net_set()
Daddr.c60 memcpy(tn->node_id, id, NODE_ID_LEN); in tipc_set_node_id()
70 u8 node_id[NODE_ID_LEN] = {0,}; in tipc_set_node_addr() local
74 sprintf(node_id, "%x", addr); in tipc_set_node_addr()
75 tipc_set_node_id(net, node_id); in tipc_set_node_addr()
/linux-6.6.21/net/qrtr/
Dns.c72 static struct qrtr_node *node_get(unsigned int node_id) in node_get() argument
76 node = xa_load(&nodes, node_id); in node_get()
85 node->id = node_id; in node_get()
88 if (xa_store(&nodes, node_id, node, GFP_KERNEL)) { in node_get()
219 unsigned int node_id, in server_add() argument
235 srv->node = node_id; in server_add()
238 node = node_get(node_id); in server_add()
381 unsigned int node_id, unsigned int port) in ctrl_cmd_del_client() argument
400 if (from->sq_node != node_id) in ctrl_cmd_del_client()
410 if (lookup->sq.sq_node != node_id) in ctrl_cmd_del_client()
[all …]
/linux-6.6.21/sound/soc/intel/avs/
Dprobes.c16 static int avs_dsp_init_probe(struct avs_dev *adev, union avs_connector_node_id node_id, in avs_dsp_init_probe() argument
32 cfg.gtw_cfg.node_id = node_id; in avs_dsp_init_probe()
97 if (desc[i].node_id.vindex == vindex) in avs_probe_compr_free()
155 union avs_connector_node_id node_id; in avs_probe_compr_set_params() local
162 node_id.vindex = hdac_stream(host_stream)->stream_tag - 1; in avs_probe_compr_set_params()
163 node_id.dma_type = AVS_DMA_HDA_HOST_INPUT; in avs_probe_compr_set_params()
165 ret = avs_dsp_init_probe(adev, node_id, rtd->dma_bytes); in avs_probe_compr_set_params()
/linux-6.6.21/drivers/firewire/
Dsbp2.c159 int node_id; member
491 int node_id, int generation, u64 offset) in sbp2_send_orb() argument
509 node_id, generation, device->max_speed, offset, in sbp2_send_orb()
549 static int sbp2_send_management_orb(struct sbp2_logical_unit *lu, int node_id, in sbp2_send_management_orb() argument
606 sbp2_send_orb(&orb->base, lu, node_id, generation, in sbp2_send_management_orb()
653 lu->tgt->node_id, lu->generation, device->max_speed, in sbp2_agent_reset()
675 lu->tgt->node_id, lu->generation, device->max_speed, in sbp2_agent_reset_no_wait()
791 lu->tgt->node_id, lu->generation, device->max_speed, in sbp2_set_busy_timeout()
806 int generation, node_id, local_node_id; in sbp2_login() local
813 node_id = device->node_id; in sbp2_login()
[all …]
Dcore-device.c237 device->node_id, in fw_device_enable_phys_dma()
483 TCODE_READ_QUADLET_REQUEST, device->node_id, in read_rom()
897 old->node_id = current_node->node_id; in lookup_existing_device()
945 device->node_id, generation, device->max_speed, in set_broadcast_channel()
964 device->node_id, generation, device->max_speed, in set_broadcast_channel()
1001 device->node_id, in fw_device_init()
1128 int ret, node_id = device->node_id; in fw_device_refresh() local
1186 if (node_id == card->root_node->node_id) in fw_device_refresh()
1227 device->node_id = node->node_id; in fw_node_event()
1257 device->node_id = node->node_id; in fw_node_event()
[all …]
Dcore-topology.c109 node->node_id = LOCAL_BUS | SELF_ID_PHY_ID(sid); in fw_node_create()
229 if (phy_id == (card->node_id & 0x3f)) in build_tree()
433 node0->node_id = node1->node_id; in update_tree()
491 int node_count = (card->root_node->node_id & 0x3f) + 1; in update_topology_map()
504 void fw_core_handle_bus_reset(struct fw_card *card, int node_id, int generation, in fw_core_handle_bus_reset() argument
524 card->node_id = node_id; in fw_core_handle_bus_reset()
/linux-6.6.21/sound/firewire/
Damdtp-stream-trace.h40 __entry->src = fw_parent_device(s->unit)->node_id;
41 __entry->dest = fw_parent_device(s->unit)->card->node_id;
43 __entry->src = fw_parent_device(s->unit)->card->node_id;
44 __entry->dest = fw_parent_device(s->unit)->node_id;
/linux-6.6.21/arch/ia64/uv/kernel/
Dsetup.c87 union uvh_node_id_u node_id; in uv_setup() local
93 node_id.v = uv_read_local_mmr(UVH_NODE_ID); in uv_setup()
102 gnode_upper = (((unsigned long)node_id.s.node_id) & in uv_setup()
/linux-6.6.21/include/trace/events/
Drseq.h19 __field(s32, node_id)
25 __entry->node_id = cpu_to_node(__entry->cpu_id);
30 __entry->node_id, __entry->mm_cid)
/linux-6.6.21/kernel/
Drseq.c92 u32 node_id = cpu_to_node(cpu_id); in rseq_update_cpu_node_id() local
100 unsafe_put_user(node_id, &rseq->node_id, efault_end); in rseq_update_cpu_node_id()
119 u32 cpu_id_start = 0, cpu_id = RSEQ_CPU_ID_UNINITIALIZED, node_id = 0, in rseq_reset_rseq_cpu_node_id() local
137 if (put_user(node_id, &t->rseq->node_id)) in rseq_reset_rseq_cpu_node_id()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dta_xgmi_if.h73 uint64_t node_id; member
80 uint64_t node_id; member
89 uint64_t node_id; member
Damdgpu_xgmi.c324 return sysfs_emit(buf, "%llu\n", adev->gmc.xgmi.node_id); in amdgpu_xgmi_show_device_id()
619 request_adev->gmc.xgmi.node_id, in amdgpu_xgmi_set_pstate()
651 adev->gmc.xgmi.node_id, in amdgpu_xgmi_update_topology()
672 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_hops_count()
684 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_num_links()
743 ret = psp_xgmi_get_node_id(&adev->psp, &adev->gmc.xgmi.node_id); in amdgpu_xgmi_add_device()
751 adev->gmc.xgmi.node_id = adev->gmc.xgmi.physical_node_id + 16; in amdgpu_xgmi_add_device()
759 adev->gmc.xgmi.node_id, adev->gmc.xgmi.hive_id); in amdgpu_xgmi_add_device()
768 top_info->nodes[count++].node_id = entry->node_id; in amdgpu_xgmi_add_device()
780 top_info->nodes[count - 1].node_id = in amdgpu_xgmi_add_device()
[all …]
/linux-6.6.21/arch/powerpc/platforms/cell/
Dspider-pic.c55 unsigned int node_id; member
145 (pic->node_id << 4) | 0xe); in spider_set_irq_type()
255 pic->node_id = (*tmp) >> 1; in spider_find_cascade_and_node()
264 (pic->node_id << IIC_IRQ_NODE_SHIFT) | in spider_find_cascade_and_node()
310 pic->node_id, addr, of_node); in spider_init_one()
/linux-6.6.21/sound/soc/intel/skylake/
Dskl-messages.c568 union skl_connector_node_id node_id = {0}; in skl_get_node_id() local
574 node_id.node.dma_type = in skl_get_node_id()
578 node_id.node.vindex = params->host_dma_id + in skl_get_node_id()
583 node_id.node.dma_type = in skl_get_node_id()
589 node_id.node.vindex = ssp_node.val; in skl_get_node_id()
593 node_id.node.dma_type = SKL_DMA_DMIC_LINK_INPUT_CLASS; in skl_get_node_id()
594 node_id.node.vindex = mconfig->vbus_id + in skl_get_node_id()
599 node_id.node.dma_type = in skl_get_node_id()
603 node_id.node.vindex = params->link_dma_id; in skl_get_node_id()
607 node_id.node.dma_type = in skl_get_node_id()
[all …]
/linux-6.6.21/tools/testing/selftests/net/
Dreuseport_bpf_numa.c107 static void send_from_node(int node_id, int family, int proto) in send_from_node() argument
141 if (numa_run_on_node(node_id) < 0) in send_from_node()
161 void receive_on_node(int *rcv_fd, int len, int epfd, int node_id, int proto) in receive_on_node() argument
189 fprintf(stderr, "send node %d, receive socket %d\n", node_id, i); in receive_on_node()
190 if (node_id != i) in receive_on_node()

12345678