Home
last modified time | relevance | path

Searched refs:thread_id (Results 1 – 25 of 62) sorted by relevance

123

/linux-6.3-rc2/drivers/staging/media/atomisp/pci/runtime/bufq/src/
A Dbufq.c72 unsigned int thread_id,
76 unsigned int thread_id,
105 unsigned int thread_id, in ia_css_queue_map() argument
110 assert(thread_id < SH_CSS_MAX_SP_THREADS); in ia_css_queue_map()
126 unsigned int thread_id, in ia_css_query_internal_queue_id() argument
151 unsigned int thread_id, in map_buffer_type_to_queue_id() argument
156 assert(thread_id < SH_CSS_MAX_SP_THREADS); in map_buffer_type_to_queue_id()
180 if (queue_availability[thread_id][i]) { in map_buffer_type_to_queue_id()
181 queue_availability[thread_id][i] = false; in map_buffer_type_to_queue_id()
192 unsigned int thread_id, in unmap_buffer_type_to_queue_id() argument
[all …]
/linux-6.3-rc2/drivers/dma/ti/
A Dk3-psil.c31 struct psil_endpoint_config *psil_get_ep_config(u32 thread_id) in psil_get_ep_config() argument
51 if (thread_id & K3_PSIL_DST_THREAD_ID_OFFSET && soc_ep_map->dst) { in psil_get_ep_config()
54 if (soc_ep_map->dst[i].thread_id == thread_id) in psil_get_ep_config()
59 thread_id &= ~K3_PSIL_DST_THREAD_ID_OFFSET; in psil_get_ep_config()
62 if (soc_ep_map->src[i].thread_id == thread_id) in psil_get_ep_config()
76 u32 thread_id; in psil_set_new_ep_config() local
90 thread_id = dma_spec.args[0]; in psil_set_new_ep_config()
92 dst_ep_config = psil_get_ep_config(thread_id); in psil_set_new_ep_config()
95 thread_id); in psil_set_new_ep_config()
A Dk3-psil-am62a.c12 .thread_id = x, \
22 .thread_id = x, \
33 .thread_id = x, \
48 .thread_id = x, \
64 .thread_id = x, \
74 .thread_id = x, \
A Dk3-psil-j721s2.c12 .thread_id = x, \
20 .thread_id = x, \
29 .thread_id = x, \
39 .thread_id = x, \
50 .thread_id = x, \
A Dk3-psil-am62.c12 .thread_id = x, \
23 .thread_id = x, \
38 .thread_id = x, \
54 .thread_id = x, \
64 .thread_id = x, \
A Dk3-psil-j7200.c13 .thread_id = x, \
21 .thread_id = x, \
30 .thread_id = x, \
40 .thread_id = x, \
51 .thread_id = x, \
A Dk3-psil-j721e.c13 .thread_id = x, \
21 .thread_id = x, \
30 .thread_id = x, \
40 .thread_id = x, \
51 .thread_id = x, \
63 .thread_id = x, \
A Dk3-psil-am64.c13 .thread_id = x, \
23 .thread_id = x, \
34 .thread_id = x, \
49 .thread_id = x, \
A Dk3-psil-am654.c13 .thread_id = x, \
21 .thread_id = x, \
30 .thread_id = x, \
41 .thread_id = x, \
A Dk3-psil-priv.h12 u32 thread_id; member
37 struct psil_endpoint_config *psil_get_ep_config(u32 thread_id);
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/
A Dsh_css_sp.c125 unsigned int thread_id; in store_sp_stage_data() local
202 unsigned int thread_id; in sh_css_sp_start_binary_copy() local
209 pipe = &sh_css_sp_group.pipe[thread_id]; in sh_css_sp_start_binary_copy()
215 pipe->thread_id = thread_id; in sh_css_sp_start_binary_copy()
257 unsigned int thread_id; in sh_css_sp_start_raw_copy() local
278 pipe = &sh_css_sp_group.pipe[thread_id]; in sh_css_sp_start_raw_copy()
330 unsigned int thread_id; in sh_css_sp_start_isys_copy() local
924 unsigned int thread_id; in sh_css_sp_init_stage() local
1219 unsigned int thread_id; in sh_css_sp_init_pipeline() local
1266 sh_css_sp_group.pipe[thread_id].thread_id = thread_id; in sh_css_sp_init_pipeline()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/ps3/
A Dinterrupt.c81 u64 thread_id; member
101 pd->thread_id, d->irq); in ps3_chip_mask()
105 lv1_did_update_interrupt_mask(pd->ppe_id, pd->thread_id); in ps3_chip_mask()
122 pd->thread_id, d->irq); in ps3_chip_unmask()
126 lv1_did_update_interrupt_mask(pd->ppe_id, pd->thread_id); in ps3_chip_unmask()
224 __LINE__, pd->ppe_id, pd->thread_id, virq); in ps3_virq_destroy()
294 __LINE__, pd->ppe_id, pd->thread_id, virq); in ps3_irq_plug_destroy()
718 __LINE__, pd->thread_id); in ps3_get_irq()
753 pd->thread_id = get_hard_smp_processor_id(cpu); in ps3_init_IRQ()
757 __func__, __LINE__, pd->ppe_id, pd->thread_id, in ps3_init_IRQ()
[all …]
/linux-6.3-rc2/drivers/acpi/acpica/
A Dexmutex.c128 acpi_thread_id thread_id) in acpi_ex_acquire_mutex_object() argument
140 if (obj_desc->mutex.thread_id == thread_id) { in acpi_ex_acquire_mutex_object()
168 obj_desc->mutex.thread_id = thread_id; in acpi_ex_acquire_mutex_object()
235 walk_state->thread->thread_id); in acpi_ex_acquire_mutex()
321 obj_desc->mutex.thread_id = 0; in acpi_ex_release_mutex_object()
376 if ((owner_thread->thread_id != walk_state->thread->thread_id) && in acpi_ex_release_mutex()
380 (u32)walk_state->thread->thread_id, in acpi_ex_release_mutex()
382 (u32)owner_thread->thread_id)); in acpi_ex_release_mutex()
502 obj_desc->mutex.thread_id = 0; in acpi_ex_release_all_mutexes()
A Dutmutex.c142 acpi_gbl_mutex_info[mutex_id].thread_id = in acpi_ut_create_mutex()
170 acpi_gbl_mutex_info[mutex_id].thread_id = ACPI_MUTEX_NOT_ACQUIRED; in acpi_ut_delete_mutex()
212 if (acpi_gbl_mutex_info[i].thread_id == this_thread_id) { in acpi_ut_acquire_mutex()
250 acpi_gbl_mutex_info[mutex_id].thread_id = this_thread_id; in acpi_ut_acquire_mutex()
288 if (acpi_gbl_mutex_info[mutex_id].thread_id == ACPI_MUTEX_NOT_ACQUIRED) { in acpi_ut_release_mutex()
307 if (acpi_gbl_mutex_info[i].thread_id == in acpi_ut_release_mutex()
326 acpi_gbl_mutex_info[mutex_id].thread_id = ACPI_MUTEX_NOT_ACQUIRED; in acpi_ut_release_mutex()
A Dutdebug.c130 acpi_thread_id thread_id; in acpi_debug_print() local
145 thread_id = acpi_os_get_thread_id(); in acpi_debug_print()
146 if (thread_id != acpi_gbl_previous_thread_id) { in acpi_debug_print()
150 (u32)acpi_gbl_previous_thread_id, (u32)thread_id); in acpi_debug_print()
153 acpi_gbl_previous_thread_id = thread_id; in acpi_debug_print()
171 acpi_os_printf("[%u] ", (u32)thread_id); in acpi_debug_print()
A Dutstate.c129 state->thread.thread_id = acpi_os_get_thread_id(); in acpi_ut_create_thread_state()
133 if (!state->thread.thread_id) { in acpi_ut_create_thread_state()
135 state->thread.thread_id = (acpi_thread_id) 1; in acpi_ut_create_thread_state()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dmap_lock.c54 pthread_t thread_id[6]; in test_map_lock() local
74 if (CHECK_FAIL(pthread_create(&thread_id[i], NULL, in test_map_lock()
78 if (CHECK_FAIL(pthread_create(&thread_id[i], NULL, in test_map_lock()
83 if (CHECK_FAIL(pthread_join(thread_id[i], &ret) || in test_map_lock()
87 if (CHECK_FAIL(pthread_join(thread_id[i], &ret) || in test_map_lock()
A Dspin_lock.c104 pthread_t thread_id[4]; in test_spin_lock_success() local
115 err = pthread_create(&thread_id[i], NULL, &spin_lock_thread, &prog_fd); in test_spin_lock_success()
121 if (!ASSERT_OK(pthread_join(thread_id[i], &ret), "pthread_join")) in test_spin_lock_success()
/linux-6.3-rc2/arch/powerpc/kvm/
A Dbook3s_hv_ras.c204 int thread_id, subcore_id; in kvmppc_subcore_enter_guest() local
206 thread_id = cpu_thread_in_core(local_paca->paca_index); in kvmppc_subcore_enter_guest()
207 subcore_id = thread_id / kvmppc_cur_subcore_size(); in kvmppc_subcore_enter_guest()
215 int thread_id, subcore_id; in kvmppc_subcore_exit_guest() local
217 thread_id = cpu_thread_in_core(local_paca->paca_index); in kvmppc_subcore_exit_guest()
218 subcore_id = thread_id / kvmppc_cur_subcore_size(); in kvmppc_subcore_exit_guest()
/linux-6.3-rc2/arch/powerpc/platforms/cell/
A Dcbe_regs.c45 unsigned int thread_id; member
151 return cbe_thread_map[cpu].thread_id; in cbe_get_hw_thread_id()
255 unsigned int thread_id; in cbe_regs_init() local
260 cbe_thread_map[i].cpu_node = of_get_cpu_node(i, &thread_id); in cbe_regs_init()
262 cbe_thread_map[i].thread_id = thread_id; in cbe_regs_init()
291 if(thread->thread_id == 0) in cbe_regs_init()
/linux-6.3-rc2/arch/arm/kernel/
A Dtopology.c204 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
209 cpuid_topo->thread_id = -1; in store_cpu_topology()
219 cpuid_topo->thread_id = -1; in store_cpu_topology()
227 cpuid, cpu_topology[cpuid].thread_id, in store_cpu_topology()
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/runtime/pipeline/src/
A Dpipeline.c132 unsigned int thread_id; in ia_css_pipeline_start() local
145 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in ia_css_pipeline_start()
153 (uint8_t)thread_id, in ia_css_pipeline_start()
200 unsigned int thread_id; in ia_css_pipeline_request_stop() local
215 ia_css_pipeline_get_sp_thread_id(pipeline->pipe_num, &thread_id); in ia_css_pipeline_request_stop()
223 (uint8_t)thread_id, in ia_css_pipeline_request_stop()
443 unsigned int thread_id; in ia_css_pipeline_has_stopped() local
450 ia_css_pipeline_get_sp_thread_id(pipeline->pipe_num, &thread_id); in ia_css_pipeline_has_stopped()
454 return sp_group.pipe[thread_id].num_stages == 0; in ia_css_pipeline_has_stopped()
558 unsigned int thread_id; in pipeline_unmap_num_to_sp_thread() local
[all …]
/linux-6.3-rc2/tools/testing/selftests/sync/
A Dsync_stress_parallelism.c42 int thread_id = (long)d; in test_stress_two_threads_shared_timeline_thread() local
49 i * 2 + thread_id); in test_stress_two_threads_shared_timeline_thread()
61 ASSERT(test_data_two_threads.counter == i * 2 + thread_id, in test_stress_two_threads_shared_timeline_thread()
/linux-6.3-rc2/tools/testing/selftests/arm64/mte/
A Dcheck_gcr_el1_cswitch.c71 pthread_t thread_id[MAX_THREADS]; in execute_test() local
75 pthread_create(&thread_id[i], NULL, in execute_test()
79 pthread_join(thread_id[i], (void *)&thread_data[i]); in execute_test()
/linux-6.3-rc2/tools/perf/scripts/python/
A Dexport-to-postgresql.py990 def thread_table(thread_id, machine_id, process_id, pid, tid, *x): argument
991 value = struct.pack("!hiqiqiqiiii", 5, 8, thread_id, 8, machine_id, 8, process_id, 4, pid, 4, tid)
994 def comm_table(comm_id, comm_str, thread_id, time, exec_flag, *x): argument
998 value = struct.pack(fmt, 5, 8, comm_id, n, comm_str, 8, thread_id, 8, time, 1, exec_flag)
1001 def comm_thread_table(comm_thread_id, comm_id, thread_id, *x): argument
1003 value = struct.pack(fmt, 3, 8, comm_thread_id, 8, comm_id, 8, thread_id)
1031 def sample_table(sample_id, evsel_id, machine_id, thread_id, comm_id, dso_id, symbol_id, sym_offset… argument
1033 …iqiqiqiqiiiBiqiqiqii", 21, 8, sample_id, 8, evsel_id, 8, machine_id, 8, thread_id, 8, comm_id, 8, …
1035 …iqiqiqiqiiiBiqiqiqii", 25, 8, sample_id, 8, evsel_id, 8, machine_id, 8, thread_id, 8, comm_id, 8, …
1043 def call_return_table(cr_id, thread_id, comm_id, call_path_id, call_time, return_time, branch_count… argument
[all …]

Completed in 48 milliseconds

123