| /linux/drivers/soc/xilinx/ |
| H A D | xlnx_event_manager.c | 78 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 …]
|
| /linux/drivers/pmdomain/xilinx/ |
| H A D | zynqmp-pm-domains.c | 34 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() 162 ret = zynqmp_pm_request_node(pd->node_id, 0, 0, in zynqmp_gpd_attach_dev() 166 domain->name, pd->node_id, ret); in zynqmp_gpd_attach_dev() [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/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/x86/kernel/cpu/ |
| H A D | topology_amd.c | 47 static void store_node(struct topo_scan *tscan, u16 nr_nodes, u16 node_id) in store_node() argument 59 tscan->amd_node_id = node_id; in store_node() 72 u32 node_id : 8, // Node (die) ID of invoking logical CPU in parse_8000_001e() member 105 store_node(tscan, leaf.nnodes_per_socket + 1, leaf.node_id); in parse_8000_001e() 111 cacheinfo_amd_init_llc_id(tscan->c, leaf.node_id); in parse_8000_001e() 132 u64 node_id : 3, in parse_fam10h_node_id() member 143 store_node(tscan, nid.nodes_per_pkg + 1, nid.node_id); in parse_fam10h_node_id() 144 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() 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/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 | 61 int node_id; member 88 node->node_id = ((cpu + 1) << _Q_TAIL_CPU_OFFSET) + in arch_spin_lock_setup() 153 return node->node_id >> _Q_TAIL_CPU_OFFSET; in arch_spin_yield_target() 159 int lockval, ix, node_id, tail_id, old, new, owner, count; in arch_spin_lock_queued() local 166 node_id = node->node_id; in arch_spin_lock_queued() 188 new = node_id | (old & _Q_LOCK_MASK); in arch_spin_lock_queued() 225 new = ((tail_id != node_id) ? tail_id : 0) | lockval; in arch_spin_lock_queued() 239 if (node_id && tail_id != node_id) { in arch_spin_lock_queued()
|
| /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() 169 u64 *w0 = (u64 *)&tn->node_id[0]; in __tipc_nl_add_net() 170 u64 *w1 = (u64 *)&tn->node_id[8]; in __tipc_nl_add_net() 269 u8 node_id[NODE_ID_LEN]; in __tipc_nl_net_set() local 270 u64 *w0 = (u64 *)&node_id[0]; in __tipc_nl_net_set() 271 u64 *w1 = (u64 *)&node_id[8]; in __tipc_nl_net_set() 277 tipc_net_init(net, node_id, 0); in __tipc_nl_net_set()
|
| /linux/net/qrtr/ |
| H A D | ns.c | 72 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/include/linux/firmware/ |
| H A D | xlnx-event-manager.h | 25 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/drivers/firewire/ |
| H A D | sbp2.c | 159 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 …]
|
| H A D | core-topology.c | 35 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() 385 node0->node_id = node1->node_id; in update_tree() 459 void fw_core_handle_bus_reset(struct fw_card *card, int node_id, int generation, in fw_core_handle_bus_reset() argument 464 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() 504 card->root_node->node_id, self_ids, self_id_count); in fw_core_handle_bus_reset()
|
| H A D | core-device.c | 271 device->node_id, in fw_device_enable_phys_dma() 631 TCODE_READ_QUADLET_REQUEST, device->node_id, in read_rom() 1031 device->node_id, generation, device->max_speed, in set_broadcast_channel() 1050 device->node_id, generation, device->max_speed, in set_broadcast_channel() 1099 device->node_id, in fw_device_init() 1134 reused->node_id = current_node->node_id; in fw_device_init() 1261 int ret, node_id = device->node_id; in fw_device_refresh() local 1319 if (node_id == card->root_node->node_id) in fw_device_refresh() 1359 device->node_id = node->node_id; in fw_node_event() 1389 device->node_id = node->node_id; in fw_node_event() [all …]
|
| /linux/tools/testing/selftests/kvm/include/ |
| H A D | numaif.h | 48 int node_id; in get_max_numa_node() local 54 node_id = strtol(de->d_name + 4, &endptr, 10); in get_max_numa_node() 58 if (node_id > max_node) in get_max_numa_node() 59 max_node = node_id; in get_max_numa_node()
|
| /linux/sound/soc/intel/avs/ |
| H A D | probes.c | 18 union avs_connector_node_id node_id, size_t buffer_size) in avs_dsp_init_probe() argument 40 cfg.gtw_cfg.node_id = node_id; in avs_dsp_init_probe() 106 if (desc[i].node_id.vindex == vindex) in avs_probe_compr_free() 161 union avs_connector_node_id node_id; in avs_probe_compr_set_params() local 168 node_id.vindex = hdac_stream(host_stream)->stream_tag - 1; in avs_probe_compr_set_params() 169 node_id.dma_type = AVS_DMA_HDA_HOST_INPUT; in avs_probe_compr_set_params() 171 ret = avs_dsp_init_probe(adev, params, bps, node_id, rtd->dma_bytes); in avs_probe_compr_set_params()
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_rl.c | 269 u32 node_id = clear ? 0U : (sla->node_id & LEAF_MASK); in assign_rps_to_leaf() local 275 ADF_CSR_WR(pmisc_addr, offset, node_id); in assign_rps_to_leaf() 285 u32 node_id = sla->node_id & LEAF_MASK; in assign_leaf_to_cluster() local 286 u32 parent_id = clear ? 0U : (sla->parent->node_id & CLUSTER_MASK); in assign_leaf_to_cluster() 289 offset = base_offset + (RL_CSR_SIZE * node_id); in assign_leaf_to_cluster() 299 u32 node_id = sla->node_id & CLUSTER_MASK; in assign_cluster_to_root() local 300 u32 parent_id = clear ? 0U : (sla->parent->node_id & ROOT_MASK); in assign_cluster_to_root() 303 offset = base_offset + (RL_CSR_SIZE * node_id); in assign_cluster_to_root() 647 sla->node_id = ret; in add_new_sla_entry() 736 int i, sla_id, node_id; in clear_sla() local [all …]
|
| /linux/include/linux/ |
| H A D | rseq_entry.h | 353 u32 cpu_id, uval, node_id; in rseq_debug_validate_ids() local 359 node_id = t->rseq.ids.cpu_id != RSEQ_CPU_ID_UNINITIALIZED ? in rseq_debug_validate_ids() 369 unsafe_get_user(uval, &rseq->node_id, efault); in rseq_debug_validate_ids() 370 if (uval != node_id) in rseq_debug_validate_ids() 493 u32 node_id, u64 *csaddr) in rseq_set_ids_get_csaddr() argument 505 unsafe_put_user(node_id, &rseq->node_id, efault); in rseq_set_ids_get_csaddr() 532 struct rseq_ids *ids, u32 node_id) in rseq_update_usr() argument 536 if (!rseq_set_ids_get_csaddr(t, ids, node_id, &csaddr)) in rseq_update_usr() 636 u32 node_id = cpu_to_node(ids.cpu_id); in rseq_exit_user_update() local 638 return rseq_update_usr(t, regs, &ids, node_id); in rseq_exit_user_update()
|
| /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 | 450 return sysfs_emit(buf, "%llu\n", adev->gmc.xgmi.node_id); in amdgpu_xgmi_show_device_id() 510 if (top->nodes[i].node_id == adev->gmc.xgmi.node_id) { in amdgpu_xgmi_show_connected_port_num() 813 request_adev->gmc.xgmi.node_id, in amdgpu_xgmi_set_pstate() 845 adev->gmc.xgmi.node_id, in amdgpu_xgmi_update_topology() 869 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_hops_count() 905 if (top->nodes[i].node_id != peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_bandwidth() 937 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_is_sharing_enabled() 996 ret = psp_xgmi_get_node_id(&adev->psp, &adev->gmc.xgmi.node_id); in amdgpu_xgmi_add_device() 1004 adev->gmc.xgmi.node_id = adev->gmc.xgmi.physical_node_id + 16; in amdgpu_xgmi_add_device() 1012 adev->gmc.xgmi.node_id, adev->gmc.xgmi.hive_id); in amdgpu_xgmi_add_device() [all …]
|
| /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/mmc/core/ |
| H A D | sd_uhs2.c | 226 static int sd_uhs2_enum(struct mmc_host *host, u32 *node_id) in sd_uhs2_enum() argument 269 *node_id = id_f; in sd_uhs2_enum() 291 uhs2_cmd.header = UHS2_NATIVE_PACKET | UHS2_PACKET_TYPE_CCMD | card->uhs2_config.node_id; in sd_uhs2_config_read() 481 uhs2_cmd.header = UHS2_NATIVE_PACKET | UHS2_PACKET_TYPE_CCMD | card->uhs2_config.node_id; in sd_uhs2_config_write() 672 static int sd_uhs2_go_dormant(struct mmc_host *host, u32 node_id) in sd_uhs2_go_dormant() argument 696 uhs2_cmd.header = UHS2_NATIVE_PACKET | UHS2_PACKET_TYPE_CCMD | node_id; in sd_uhs2_go_dormant() 759 static int sd_uhs2_go_dormant_state(struct mmc_host *host, u32 node_id) in sd_uhs2_go_dormant_state() argument 769 err = sd_uhs2_go_dormant(host, node_id); in sd_uhs2_go_dormant_state() 783 uhs2_cmd.header = UHS2_NATIVE_PACKET | UHS2_PACKET_TYPE_CCMD | node_id; in sd_uhs2_go_dormant_state() 808 u32 node_id = 0; in sd_uhs2_init_card() local [all …]
|
| /linux/include/trace/events/ |
| H A D | kmem.h | 317 __field(int, node_id) 326 __entry->node_id = zone->zone_pgdat->node_id; 335 __entry->node_id, 350 __field(int, node_id) 357 __entry->node_id = zone->zone_pgdat->node_id; 364 __entry->node_id,
|
| /linux/tools/testing/selftests/net/ |
| H A D | reuseport_bpf_numa.c | 107 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()
|
| /linux/drivers/firmware/xilinx/ |
| H A D | zynqmp.c | 893 int zynqmp_pm_set_sd_tapdelay(u32 node_id, u32 type, u32 value) in zynqmp_pm_set_sd_tapdelay() argument 896 u32 mask = (node_id == NODE_SD_0) ? GENMASK(15, 0) : GENMASK(31, 16); in zynqmp_pm_set_sd_tapdelay() 899 return zynqmp_pm_invoke_fn(PM_IOCTL, NULL, 4, node_id, IOCTL_SET_SD_TAPDELAY, type, in zynqmp_pm_set_sd_tapdelay() 932 int zynqmp_pm_sd_dll_reset(u32 node_id, u32 type) in zynqmp_pm_sd_dll_reset() argument 934 return zynqmp_pm_invoke_fn(PM_IOCTL, NULL, 3, node_id, IOCTL_SD_DLL_RESET, type); in zynqmp_pm_sd_dll_reset() 1365 int zynqmp_pm_get_rpu_mode(u32 node_id, enum rpu_oper_mode *rpu_mode) in zynqmp_pm_get_rpu_mode() argument 1370 ret = zynqmp_pm_invoke_fn(PM_IOCTL, ret_payload, 2, node_id, IOCTL_GET_RPU_OPER_MODE); in zynqmp_pm_get_rpu_mode() 1390 int zynqmp_pm_set_rpu_mode(u32 node_id, enum rpu_oper_mode rpu_mode) in zynqmp_pm_set_rpu_mode() argument 1392 return zynqmp_pm_invoke_fn(PM_IOCTL, NULL, 3, node_id, IOCTL_SET_RPU_OPER_MODE, in zynqmp_pm_set_rpu_mode() 1407 int zynqmp_pm_set_tcm_config(u32 node_id, enum rpu_tcm_comb tcm_mode) in zynqmp_pm_set_tcm_config() argument [all …]
|