/linux/drivers/soc/xilinx/ |
H A D | xlnx_event_manager.c | 85 if (node_id == VERSAL_EVENT_ERROR_PMC_ERR1 || in xlnx_is_error_event() 88 node_id == VERSAL_EVENT_ERROR_PSM_ERR2) in xlnx_is_error_event() 114 key = ((u64)node_id << 32U) | (u64)event; in xlnx_add_cb_for_notify_event() 275 node_id, event); in xlnx_remove_cb_for_notify_event() 317 if (!xlnx_is_error_event(node_id)) { in xlnx_register_event() 359 if (xlnx_is_error_event(node_id)) { in xlnx_register_event() 412 if (!xlnx_is_error_event(node_id)) { in xlnx_unregister_event() 430 __func__, node_id, event, ret); in xlnx_unregister_event() 506 u32 cb_type, node_id, event, pos; in xlnx_event_handler() local 517 node_id = payload[1]; in xlnx_event_handler() [all …]
|
/linux/drivers/pmdomain/xilinx/ |
H A D | zynqmp-pm-domains.c | 34 u32 node_id; member 115 pd->node_id); 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() 179 dev_name(dev), pd->node_id); in zynqmp_gpd_attach_dev() 202 pd->node_id, ret); in zynqmp_gpd_detach_dev() 209 dev_name(dev), pd->node_id); in zynqmp_gpd_detach_dev() 226 if (pd[i].node_id == idx) in zynqmp_gpd_xlate() 235 if (pd[i].node_id == 0) { in zynqmp_gpd_xlate() 236 pd[i].node_id = idx; in zynqmp_gpd_xlate() [all …]
|
/linux/sound/firewire/motu/ |
H A D | amdtp-motu-trace.h | 32 __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/drivers/thermal/qcom/ |
H A D | lmh.c | 96 u32 node_id; in lmh_probe() local 139 node_id = LMH_CLUSTER0_NODE_ID; in lmh_probe() 141 node_id = LMH_CLUSTER1_NODE_ID; in lmh_probe() 154 LMH_NODE_DCVS, node_id, 0); in lmh_probe() 159 LMH_NODE_DCVS, node_id, 0); in lmh_probe() 164 LMH_NODE_DCVS, node_id, 0); in lmh_probe() 169 LMH_NODE_DCVS, node_id, 0); in lmh_probe() 184 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()
|
/linux/arch/x86/kernel/cpu/ |
H A D | topology_amd.c | 46 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/drivers/ras/amd/atl/ |
H A D | map.c | 163 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, ®)) 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() 276 if (df_indirect_read_instance(ctx->node_id, 7, 0x180 + (8 * remap_sel), in df4_get_dram_addr_map() 285 if (df_indirect_read_instance(ctx->node_id, 7, 0x184 + (8 * remap_sel), in df4_get_dram_addr_map() 332 if (df_indirect_read_instance(ctx->node_id, 7, 0x180 + (24 * remap_sel), in df4p5_get_dram_addr_map() 341 if (df_indirect_read_instance(ctx->node_id, 7, 0x184 + (24 * remap_sel), in df4p5_get_dram_addr_map() [all …]
|
/linux/drivers/acpi/ |
H A D | glue.c | 219 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/arch/mips/loongson64/ |
H A D | init.c | 52 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/arch/s390/lib/ |
H A D | spinlock.c | 41 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/include/linux/firmware/ |
H A D | xlnx-event-manager.h | 15 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
|
H A D | xlnx-zynqmp.h | 550 int zynqmp_pm_set_sd_tapdelay(u32 node_id, u32 type, u32 value); 551 int zynqmp_pm_sd_dll_reset(u32 node_id, u32 type); 600 int zynqmp_pm_get_rpu_mode(u32 node_id, enum rpu_oper_mode *rpu_mode); 601 int zynqmp_pm_set_rpu_mode(u32 node_id, enum rpu_oper_mode rpu_mode); 602 int zynqmp_pm_set_tcm_config(u32 node_id, enum rpu_tcm_comb tcm_mode); 683 static inline int zynqmp_pm_set_sd_tapdelay(u32 node_id, u32 type, u32 value) in zynqmp_pm_set_sd_tapdelay() argument 688 static inline int zynqmp_pm_sd_dll_reset(u32 node_id, u32 type) in zynqmp_pm_sd_dll_reset() argument 896 static inline int zynqmp_pm_get_rpu_mode(u32 node_id, enum rpu_oper_mode *rpu_mode) in zynqmp_pm_get_rpu_mode() argument 901 static inline int zynqmp_pm_set_rpu_mode(u32 node_id, enum rpu_oper_mode rpu_mode) in zynqmp_pm_set_rpu_mode() argument 906 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/net/tipc/ |
H A D | net.c | 111 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()
|
H A D | addr.c | 60 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/net/qrtr/ |
H A D | ns.c | 76 node = xa_load(&nodes, node_id); in node_get() 85 node->id = node_id; 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() 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() 423 node = node_get(node_id); in ctrl_cmd_del_client() 465 node_id = from->sq_node; in ctrl_cmd_new_server() 503 node_id = from->sq_node; in ctrl_cmd_del_server() [all …]
|
/linux/drivers/firewire/ |
H A D | sbp2.c | 159 int node_id; member 806 int generation, node_id, local_node_id; in sbp2_login() local 813 node_id = device->node_id; in sbp2_login() 814 local_node_id = device->card->node_id; in sbp2_login() 834 tgt->node_id = node_id; in sbp2_login() 913 int generation, node_id, local_node_id; in sbp2_reconnect() local 920 node_id = device->node_id; in sbp2_reconnect() 921 local_node_id = device->card->node_id; in sbp2_reconnect() 945 tgt->node_id = node_id; in sbp2_reconnect() 1232 int generation, node_id; in sbp2_remove() local [all …]
|
H A D | core-topology.c | 110 node->node_id = LOCAL_BUS | SELF_ID_PHY_ID(sid); in fw_node_create() 230 if (phy_id == (card->node_id & 0x3f)) in build_tree() 434 node0->node_id = node1->node_id; in update_tree() 492 int node_count = (card->root_node->node_id & 0x3f) + 1; in update_topology_map() 505 void fw_core_handle_bus_reset(struct fw_card *card, int node_id, int generation, in fw_core_handle_bus_reset() argument 511 trace_bus_reset_handle(generation, node_id, bm_abdicate, self_ids, self_id_count); in fw_core_handle_bus_reset() 527 card->node_id = node_id; in fw_core_handle_bus_reset()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | ta_xgmi_if.h | 83 uint64_t node_id; member 90 uint64_t node_id; member 101 uint64_t node_id; member 111 uint64_t node_id; member
|
H A D | amdgpu_xgmi.c | 431 if (top->nodes[i].node_id == adev->gmc.xgmi.node_id) { in amdgpu_xgmi_show_connected_port_num() 762 adev->gmc.xgmi.node_id, in amdgpu_xgmi_update_topology() 783 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_hops_count() 795 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_num_links() 833 if (peer_info->nodes[i].node_id == adev->gmc.xgmi.node_id) { in amdgpu_xgmi_fill_topology_info() 835 if (top_info->nodes[j].node_id == peer_adev->gmc.xgmi.node_id) { in amdgpu_xgmi_fill_topology_info() 901 top_info->nodes[count++].node_id = entry->node_id; in amdgpu_xgmi_add_device() 914 adev->gmc.xgmi.node_id; in amdgpu_xgmi_add_device() 930 adev->gmc.xgmi.node_id, in amdgpu_xgmi_add_device() 948 tmp_adev->gmc.xgmi.node_id, in amdgpu_xgmi_add_device() [all …]
|
/linux/sound/soc/intel/avs/ |
H A D | probes.c | 16 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/sound/firewire/ |
H A D | amdtp-stream-trace.h | 40 __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/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_rl_admin.c | 19 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()
|
H A D | adf_rl.c | 298 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 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 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 772 node_id = sla->node_id; in clear_sla() 788 sla_type_arr[node_id] = NULL; in clear_sla() [all …]
|
/linux/include/trace/events/ |
H A D | rseq.h | 19 __field(s32, node_id) 25 __entry->node_id = cpu_to_node(__entry->cpu_id); 30 __entry->node_id, __entry->mm_cid)
|
/linux/kernel/ |
H A D | rseq.c | 92 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/arch/powerpc/platforms/cell/ |
H A D | spider-pic.c | 55 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()
|