Home
last modified time | relevance | path

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

123456789

/linux-6.12.1/drivers/soc/xilinx/
Dxlnx_event_manager.c78 static bool xlnx_is_error_event(const u32 node_id) in xlnx_is_error_event() argument
85 if (node_id == VERSAL_EVENT_ERROR_PMC_ERR1 || in xlnx_is_error_event()
86 node_id == VERSAL_EVENT_ERROR_PMC_ERR2 || in xlnx_is_error_event()
87 node_id == VERSAL_EVENT_ERROR_PSM_ERR1 || in xlnx_is_error_event()
88 node_id == VERSAL_EVENT_ERROR_PSM_ERR2) in xlnx_is_error_event()
91 if (node_id == VERSAL_NET_EVENT_ERROR_PMC_ERR1 || in xlnx_is_error_event()
92 node_id == VERSAL_NET_EVENT_ERROR_PMC_ERR2 || in xlnx_is_error_event()
93 node_id == VERSAL_NET_EVENT_ERROR_PMC_ERR3 || in xlnx_is_error_event()
94 node_id == VERSAL_NET_EVENT_ERROR_PSM_ERR1 || in xlnx_is_error_event()
95 node_id == VERSAL_NET_EVENT_ERROR_PSM_ERR2 || in xlnx_is_error_event()
[all …]
Dzynqmp_power.c47 u32 node_id; member
253 xlnx_unregister_event(event_info->cb_type, event_info->node_id, in unregister_event()
257 static int register_event(struct device *dev, const enum pm_api_cb_id cb_type, const u32 node_id, in register_event() argument
269 event_info->node_id = node_id; in register_event()
274 ret = xlnx_register_event(event_info->cb_type, event_info->node_id, in register_event()
288 u32 pm_api_version, pm_family_code, pm_sub_family_code, node_id; in zynqmp_pm_probe() local
323 node_id = PM_DEV_ACPU_0_0; in zynqmp_pm_probe()
325 node_id = PM_DEV_ACPU_0; in zynqmp_pm_probe()
327 ret = register_event(&pdev->dev, PM_NOTIFY_CB, node_id, EVENT_SUBSYSTEM_RESTART, in zynqmp_pm_probe()
/linux-6.12.1/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.12.1/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.12.1/drivers/thermal/qcom/
Dlmh.c103 u32 node_id; in lmh_probe() local
146 node_id = LMH_CLUSTER0_NODE_ID; in lmh_probe()
148 node_id = LMH_CLUSTER1_NODE_ID; in lmh_probe()
161 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
166 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
171 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
176 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
191 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
198 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
205 LMH_NODE_DCVS, node_id, 0); in lmh_probe()
/linux-6.12.1/arch/x86/kernel/cpu/
Dtopology_amd.c46 static void store_node(struct topo_scan *tscan, u16 nr_nodes, u16 node_id) in store_node() argument
58 tscan->amd_node_id = node_id; in store_node()
71 u32 node_id : 8, // Node (die) ID of invoking logical CPU in parse_8000_001e() member
99 store_node(tscan, leaf.nnodes_per_socket + 1, leaf.node_id); in parse_8000_001e()
105 cacheinfo_amd_init_llc_id(tscan->c, leaf.node_id); in parse_8000_001e()
126 u64 node_id : 3, in parse_fam10h_node_id() member
137 store_node(tscan, nid.nodes_per_pkg + 1, nid.node_id); in parse_fam10h_node_id()
138 tscan->c->topo.llc_id = nid.node_id; in parse_fam10h_node_id()
/linux-6.12.1/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.12.1/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.12.1/drivers/ras/amd/atl/
Dmap.c163 if (df_indirect_read_instance(ctx->node_id, 7, 0x140 + (4 * map_num), in get_dram_offset()
169 if (df_indirect_read_instance(ctx->node_id, 0, 0x1B4 + (4 * map_num), in get_dram_offset()
194 if (df_indirect_read_broadcast(ctx->node_id, 0, offset, &reg)) in df3_6ch_get_dram_addr_map()
215 if (df_indirect_read_instance(ctx->node_id, 0, 0x110 + (8 * ctx->map.num), in df2_get_dram_addr_map()
220 if (df_indirect_read_instance(ctx->node_id, 0, 0x114 + (8 * ctx->map.num), in df2_get_dram_addr_map()
233 if (df_indirect_read_instance(ctx->node_id, 0, 0x3F8, in df3_get_dram_addr_map()
246 if (df_indirect_read_instance(ctx->node_id, 7, 0xE00 + (16 * ctx->map.num), in df4_get_dram_addr_map()
251 if (df_indirect_read_instance(ctx->node_id, 7, 0xE04 + (16 * ctx->map.num), in df4_get_dram_addr_map()
256 if (df_indirect_read_instance(ctx->node_id, 7, 0xE08 + (16 * ctx->map.num), in df4_get_dram_addr_map()
261 if (df_indirect_read_instance(ctx->node_id, 7, 0xE0C + (16 * ctx->map.num), in df4_get_dram_addr_map()
[all …]
/linux-6.12.1/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.12.1/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.12.1/include/linux/firmware/
Dxlnx-event-manager.h25 int xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id,
29 int xlnx_unregister_event(const enum pm_api_cb_id cb_type, const u32 node_id,
32 static inline int xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id, in xlnx_register_event() argument
39 static inline int xlnx_unregister_event(const enum pm_api_cb_id cb_type, const u32 node_id, in xlnx_unregister_event() argument
/linux-6.12.1/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()
222 unsigned int node_id, in server_add() argument
238 srv->node = node_id; in server_add()
241 node = node_get(node_id); in server_add()
384 unsigned int node_id, unsigned int port) in ctrl_cmd_del_client() argument
403 if (from->sq_node != node_id) in ctrl_cmd_del_client()
413 if (lookup->sq.sq_node != node_id) in ctrl_cmd_del_client()
[all …]
/linux-6.12.1/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-topology.c35 node->node_id = LOCAL_BUS | phy_packet_self_id_get_phy_id(sid); in fw_node_create()
191 if (phy_id == (card->node_id & 0x3f)) in build_tree()
383 node0->node_id = node1->node_id; in update_tree()
441 int node_count = (card->root_node->node_id & 0x3f) + 1; in update_topology_map()
454 void fw_core_handle_bus_reset(struct fw_card *card, int node_id, int generation, in fw_core_handle_bus_reset() argument
459 trace_bus_reset_handle(card->index, generation, node_id, bm_abdicate, self_ids, self_id_count); in fw_core_handle_bus_reset()
475 card->node_id = node_id; in fw_core_handle_bus_reset()
Dcore-device.c271 device->node_id, in fw_device_enable_phys_dma()
556 TCODE_READ_QUADLET_REQUEST, device->node_id, in read_rom()
958 device->node_id, generation, device->max_speed, in set_broadcast_channel()
977 device->node_id, generation, device->max_speed, in set_broadcast_channel()
1027 device->node_id, in fw_device_init()
1062 reused->node_id = current_node->node_id; in fw_device_init()
1190 int ret, node_id = device->node_id; in fw_device_refresh() local
1248 if (node_id == card->root_node->node_id) in fw_device_refresh()
1289 device->node_id = node->node_id; in fw_node_event()
1319 device->node_id = node->node_id; in fw_node_event()
[all …]
/linux-6.12.1/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
35 cfg.gtw_cfg.node_id = node_id; in avs_dsp_init_probe()
101 if (desc[i].node_id.vindex == vindex) in avs_probe_compr_free()
158 union avs_connector_node_id node_id; in avs_probe_compr_set_params() local
165 node_id.vindex = hdac_stream(host_stream)->stream_tag - 1; in avs_probe_compr_set_params()
166 node_id.dma_type = AVS_DMA_HDA_HOST_INPUT; in avs_probe_compr_set_params()
168 ret = avs_dsp_init_probe(adev, node_id, rtd->dma_bytes); in avs_probe_compr_set_params()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dta_xgmi_if.h83 uint64_t node_id; member
90 uint64_t node_id; member
101 uint64_t node_id; member
111 uint64_t node_id; member
Damdgpu_xgmi.c371 return sysfs_emit(buf, "%llu\n", adev->gmc.xgmi.node_id); in amdgpu_xgmi_show_device_id()
431 if (top->nodes[i].node_id == adev->gmc.xgmi.node_id) { in amdgpu_xgmi_show_connected_port_num()
733 request_adev->gmc.xgmi.node_id, in amdgpu_xgmi_set_pstate()
765 adev->gmc.xgmi.node_id, in amdgpu_xgmi_update_topology()
786 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_hops_count()
798 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_num_links()
836 if (peer_info->nodes[i].node_id == adev->gmc.xgmi.node_id) { in amdgpu_xgmi_fill_topology_info()
838 if (top_info->nodes[j].node_id == peer_adev->gmc.xgmi.node_id) { in amdgpu_xgmi_fill_topology_info()
879 ret = psp_xgmi_get_node_id(&adev->psp, &adev->gmc.xgmi.node_id); in amdgpu_xgmi_add_device()
887 adev->gmc.xgmi.node_id = adev->gmc.xgmi.physical_node_id + 16; in amdgpu_xgmi_add_device()
[all …]
/linux-6.12.1/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.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_rl_admin.c19 req->node_id = sla->node_id; in prep_admin_req_msg()
93 int adf_rl_send_admin_delete_msg(struct adf_accel_dev *accel_dev, u16 node_id, in adf_rl_send_admin_delete_msg() argument
96 return adf_send_admin_rl_delete(accel_dev, node_id, node_type); in adf_rl_send_admin_delete_msg()
Dadf_rl.c298 u32 node_id = clear ? 0U : (sla->node_id & LEAF_MASK); in assign_rps_to_leaf() local
304 ADF_CSR_WR(pmisc_addr, offset, node_id); in assign_rps_to_leaf()
314 u32 node_id = sla->node_id & LEAF_MASK; in assign_leaf_to_cluster() local
315 u32 parent_id = clear ? 0U : (sla->parent->node_id & CLUSTER_MASK); in assign_leaf_to_cluster()
318 offset = base_offset + (RL_CSR_SIZE * node_id); in assign_leaf_to_cluster()
328 u32 node_id = sla->node_id & CLUSTER_MASK; in assign_cluster_to_root() local
329 u32 parent_id = clear ? 0U : (sla->parent->node_id & ROOT_MASK); in assign_cluster_to_root()
332 offset = base_offset + (RL_CSR_SIZE * node_id); in assign_cluster_to_root()
678 sla->node_id = ret; in add_new_sla_entry()
768 int i, sla_id, node_id; in clear_sla() local
[all …]
/linux-6.12.1/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.12.1/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()

123456789