| /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 | 29 * @node_id: PM node ID corresponding to device inside PM domain 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, in zynqmp_gpd_attach_dev() [all...] |
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | shaper.py | 352 node_id = node_handle['handle']['id'] 362 'parent': {'scope': 'node', 'id': node_id}, 368 'parent': {'scope': 'node', 'id': node_id}, 544 node_id = node_handle['handle']['id'] 549 'parent': {'scope': 'node', 'id': node_id}, 553 'handle': {'scope': 'node', 'id': node_id}}) 555 'handle': {'scope': 'node', 'id': node_id}, 567 'handle': {'scope':'node', 'id': node_id + 1}, 580 'handle': {'scope':'node', 'id': node_id}}) 582 'handle': {'scope': 'node', 'id': node_id}}) [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 | 105 u32 node_id; in lmh_probe() local 148 node_id = LMH_CLUSTER0_NODE_ID; in lmh_probe() 150 node_id = LMH_CLUSTER1_NODE_ID; in lmh_probe() 163 LMH_NODE_DCVS, node_id, 0); in lmh_probe() 168 LMH_NODE_DCVS, node_id, 0); in lmh_probe() 173 LMH_NODE_DCVS, node_id, 0); in lmh_probe() 178 LMH_NODE_DCVS, node_id, 0); in lmh_probe() 193 LMH_NODE_DCVS, node_id, 0); in lmh_probe() 200 LMH_NODE_DCVS, node_id, 0); in lmh_probe() 207 LMH_NODE_DCVS, node_id, in lmh_probe() [all...] |
| /linux/drivers/net/ethernet/qualcomm/ppe/ |
| H A D | ppe_config.c | 123 * @node_id: Node ID, for level 0, queue ID is used. 135 unsigned int node_id; member 726 .node_id = 0, 735 .node_id = 0, 744 .node_id = 8, 753 .node_id = 16, 762 .node_id = 24, 771 .node_id = 32, 780 .node_id = 40, 789 .node_id 840 ppe_scheduler_l0_queue_map_set(struct ppe_device * ppe_dev,int node_id,int port,struct ppe_scheduler_cfg scheduler_cfg) ppe_scheduler_l0_queue_map_set() argument 894 ppe_scheduler_l1_queue_map_set(struct ppe_device * ppe_dev,int node_id,int port,struct ppe_scheduler_cfg scheduler_cfg) ppe_scheduler_l1_queue_map_set() argument 958 ppe_queue_scheduler_set(struct ppe_device * ppe_dev,int node_id,bool flow_level,int port,struct ppe_scheduler_cfg scheduler_cfg) ppe_queue_scheduler_set() argument [all...] |
| /linux/drivers/acpi/ |
| H A D | glue.c | 233 static void acpi_physnode_link_name(char *buf, unsigned int node_id) in acpi_bind_one() local 235 if (node_id > 0) in acpi_bind_one() 237 PHYSICAL_NODE_STRING "%u", node_id); in acpi_bind_one() 248 unsigned int node_id; in acpi_bind_one() 266 * Keep the list sorted by node_id so that the IDs of removed nodes can in acpi_bind_one() 270 node_id = 0; in acpi_bind_one() 282 if (pn->node_id == node_id) { in acpi_bind_one() 284 node_id++; in acpi_bind_one() 295 physical_node->node_id in acpi_bind_one() 219 acpi_physnode_link_name(char * buf,unsigned int node_id) acpi_physnode_link_name() argument [all...] |
| /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/s390/lib/ |
| H A D | spinlock.c | 62 int node_id; member 89 node->node_id = ((cpu + 1) << _Q_TAIL_CPU_OFFSET) + in arch_spin_lock_setup() 154 return node->node_id >> _Q_TAIL_CPU_OFFSET; in arch_spin_yield_target() 160 int lockval, ix, node_id, tail_id, old, new, owner, count; in arch_spin_lock_queued() local 167 node_id = node->node_id; in arch_spin_lock_queued() 189 new = node_id | (old & _Q_LOCK_MASK); in arch_spin_lock_queued() 226 new = ((tail_id != node_id) ? tail_id : 0) | lockval; in arch_spin_lock_queued() 240 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/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/net/qrtr/ |
| H A D | ns.c | 85 static struct qrtr_node *node_get(unsigned int node_id) in node_get() argument 89 node = xa_load(&nodes, node_id); in node_get() 103 node->id = node_id; in node_get() 106 if (xa_store(&nodes, node_id, node, GFP_KERNEL)) { in node_get() 243 unsigned int node_id, in server_add() argument 253 node = node_get(node_id); in server_add() 260 pr_err_ratelimited("QRTR client node %u exceeds max server limit!\n", node_id); in server_add() 270 srv->node = node_id; in server_add() 396 unsigned int node_id, unsigned int port) in ctrl_cmd_del_client() argument 415 if (from->sq_node != node_id) in ctrl_cmd_del_client() 472 ctrl_cmd_new_server(struct sockaddr_qrtr * from,unsigned int service,unsigned int instance,unsigned int node_id,unsigned int port) ctrl_cmd_new_server() argument 513 ctrl_cmd_del_server(struct sockaddr_qrtr * from,unsigned int service,unsigned int instance,unsigned int node_id,unsigned int port) ctrl_cmd_del_server() argument [all...] |
| /linux/tools/testing/selftests/kvm/include/ |
| H A D | numaif.h | 91 int node_id; 97 node_id = strtol(de->d_name + 4, &endptr, 10); 101 if (node_id > max_node) 102 max_node = node_id; 48 int node_id; get_max_numa_node() local
|
| /linux/drivers/firewire/ |
| H A D | sbp2.c | 158 int node_id; member 490 int node_id, int generation, u64 offset) in sbp2_send_orb() argument 508 node_id, generation, device->max_speed, offset, in sbp2_send_orb() 548 static int sbp2_send_management_orb(struct sbp2_logical_unit *lu, int node_id, in sbp2_send_management_orb() argument 605 sbp2_send_orb(&orb->base, lu, node_id, generation, in sbp2_send_management_orb() 652 lu->tgt->node_id, lu->generation, device->max_speed, in sbp2_agent_reset() 674 lu->tgt->node_id, lu->generation, device->max_speed, in sbp2_agent_reset_no_wait() 790 lu->tgt->node_id, lu->generation, device->max_speed, in sbp2_set_busy_timeout() 805 int generation, node_id, local_node_id; in sbp2_login() local 812 node_id = device->node_id; in sbp2_login() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_amdkfd.h | 283 int amdgpu_amdkfd_start_sched(struct amdgpu_device *adev, uint32_t node_id); 284 int amdgpu_amdkfd_stop_sched(struct amdgpu_device *adev, uint32_t node_id); 287 bool amdgpu_amdkfd_compute_active(struct amdgpu_device *adev, uint32_t node_id); 289 uint32_t node_id, 466 int kgd2kfd_start_sched(struct kfd_dev *kfd, uint32_t node_id); 469 int kgd2kfd_stop_sched(struct kfd_dev *kfd, uint32_t node_id); in kgd2kfd_exit() 472 bool kgd2kfd_compute_active(struct kfd_dev *kfd, uint32_t node_id); in kgd2kfd_probe() 477 int kgd2kfd_reset_mes_queue(struct kfd_dev *kfd, uint32_t node_id, 565 static inline int kgd2kfd_start_sched(struct kfd_dev *kfd, uint32_t node_id) 580 static inline int kgd2kfd_stop_sched(struct kfd_dev *kfd, uint32_t node_id) in kgd2kfd_vmfault_fast_path() 541 kgd2kfd_start_sched(struct kfd_dev * kfd,uint32_t node_id) kgd2kfd_start_sched() argument 556 kgd2kfd_stop_sched(struct kfd_dev * kfd,uint32_t node_id) kgd2kfd_stop_sched() argument 571 kgd2kfd_compute_active(struct kfd_dev * kfd,uint32_t node_id) kgd2kfd_compute_active() argument 590 kgd2kfd_reset_mes_queue(struct kfd_dev * kfd,uint32_t node_id,int queue_type,int pipe,int queue,unsigned int db) kgd2kfd_reset_mes_queue() argument [all...] |
| 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 | 406 return sysfs_emit(buf, "%llu\n", adev->gmc.xgmi.node_id); in amdgpu_xgmi_show_device_id() 466 if (top->nodes[i].node_id == adev->gmc.xgmi.node_id) { in amdgpu_xgmi_show_connected_port_num() 769 request_adev->gmc.xgmi.node_id, in amdgpu_xgmi_set_pstate() 801 adev->gmc.xgmi.node_id, in amdgpu_xgmi_update_topology() 825 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_hops_count() 861 if (top->nodes[i].node_id != peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_bandwidth() 893 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_is_sharing_enabled() 952 ret = psp_xgmi_get_node_id(&adev->psp, &adev->gmc.xgmi.node_id); in amdgpu_xgmi_add_device() 960 adev->gmc.xgmi.node_id = adev->gmc.xgmi.physical_node_id + 16; in amdgpu_xgmi_add_device() 968 adev->gmc.xgmi.node_id, adev->gmc.xgmi.hive_id); in amdgpu_xgmi_add_device() [all …]
|
| /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/tools/testing/selftests/net/ |
| H A D | reuseport_bpf_numa.c | 111 static bool is_cpuless_node(int node_id) in is_cpuless_node() argument 120 if (!numa_node_to_cpus(node_id, cpumask) && !numa_bitmask_weight(cpumask)) in is_cpuless_node() 127 static void send_from_node(int node_id, int family, int proto) in send_from_node() argument 161 if (numa_run_on_node(node_id) < 0) in send_from_node() 181 void receive_on_node(int *rcv_fd, int len, int epfd, int node_id, int proto) in receive_on_node() argument 209 fprintf(stderr, "send node %d, receive socket %d\n", node_id, i); in receive_on_node() 210 if (node_id != i) in receive_on_node()
|
| /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/drivers/memory/tegra/ |
| H A D | tegra186-emc.c | 276 int node_id = dev_to_node(emc->dev->parent); in tegra186_emc_interconnect_init() local 290 node = tegra_mc_icc_node_create(node_id, TEGRA_ICC_EMC); in tegra186_emc_interconnect_init() 296 if (node_id == NUMA_NO_NODE) in tegra186_emc_interconnect_init() 304 err = tegra_mc_icc_link_create(node, node_id, TEGRA_ICC_EMEM); in tegra186_emc_interconnect_init() 309 node = tegra_mc_icc_node_create(node_id, TEGRA_ICC_EMEM); in tegra186_emc_interconnect_init() 315 if (node_id == NUMA_NO_NODE) in tegra186_emc_interconnect_init() 318 node->name = devm_kasprintf(emc->dev, GFP_KERNEL, "%d-dram", node_id); in tegra186_emc_interconnect_init()
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_device.c | 888 node->node_id = i; in kgd2kfd_device_init() 906 node->node_id, node->xcp->mem_id, in kgd2kfd_device_init() 907 KFD_XCP_MEMORY_SIZE(node->adev, node->node_id) >> 20); in kgd2kfd_device_init() 1605 int kgd2kfd_start_sched(struct kfd_dev *kfd, uint32_t node_id) in kgd2kfd_start_sched() 1613 if (node_id >= kfd->num_nodes) { 1615 node_id, kfd->num_nodes - 1); in kgd2kfd_start_sched_all_nodes() 1618 node = kfd->nodes[node_id]; in kgd2kfd_start_sched_all_nodes() 1646 int kgd2kfd_stop_sched(struct kfd_dev *kfd, uint32_t node_id) in kgd2kfd_stop_sched() 1653 if (node_id >= kfd->num_nodes) { in kgd2kfd_stop_sched_all_nodes() 1655 node_id, kf in kgd2kfd_stop_sched_all_nodes() 1592 kgd2kfd_start_sched(struct kfd_dev * kfd,uint32_t node_id) kgd2kfd_start_sched() argument 1633 kgd2kfd_stop_sched(struct kfd_dev * kfd,uint32_t node_id) kgd2kfd_stop_sched() argument 1683 kgd2kfd_compute_active(struct kfd_dev * kfd,uint32_t node_id) kgd2kfd_compute_active() argument 1809 kgd2kfd_reset_mes_queue(struct kfd_dev * kfd,uint32_t node_id,int queue_type,int pipe,int queue,unsigned int db) kgd2kfd_reset_mes_queue() argument [all...] |