Home
last modified time | relevance | path

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

12

/drivers/staging/media/atomisp/pci/runtime/bufq/src/
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()
113 "ia_css_queue_map() enter: buf_type=%d, thread_id=%d\n", buf_type, thread_id); in ia_css_queue_map()
116 map_buffer_type_to_queue_id(thread_id, buf_type); in ia_css_queue_map()
118 unmap_buffer_type_to_queue_id(thread_id, buf_type); in ia_css_queue_map()
126 unsigned int thread_id, in ia_css_query_internal_queue_id() argument
129 IA_CSS_ENTER("buf_type=%d, thread_id=%d, val = %p", buf_type, thread_id, val); in ia_css_query_internal_queue_id()
131 if ((!val) || (thread_id >= SH_CSS_MAX_SP_THREADS) || in ia_css_query_internal_queue_id()
[all …]
/drivers/dma/ti/
Dk3-psil.c27 struct psil_endpoint_config *psil_get_ep_config(u32 thread_id) in psil_get_ep_config() argument
47 if (thread_id & K3_PSIL_DST_THREAD_ID_OFFSET && soc_ep_map->dst) { in psil_get_ep_config()
50 if (soc_ep_map->dst[i].thread_id == thread_id) in psil_get_ep_config()
55 thread_id &= ~K3_PSIL_DST_THREAD_ID_OFFSET; in psil_get_ep_config()
58 if (soc_ep_map->src[i].thread_id == thread_id) in psil_get_ep_config()
72 u32 thread_id; in psil_set_new_ep_config() local
86 thread_id = dma_spec.args[0]; in psil_set_new_ep_config()
88 dst_ep_config = psil_get_ep_config(thread_id); in psil_set_new_ep_config()
91 thread_id); in psil_set_new_ep_config()
Dk3-psil-j7200.c13 .thread_id = x, \
21 .thread_id = x, \
30 .thread_id = x, \
40 .thread_id = x, \
51 .thread_id = x, \
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, \
Dk3-psil-am64.c13 .thread_id = x, \
23 .thread_id = x, \
34 .thread_id = x, \
49 .thread_id = x, \
Dk3-psil-am654.c13 .thread_id = x, \
21 .thread_id = x, \
30 .thread_id = x, \
41 .thread_id = x, \
Dk3-psil-priv.h12 u32 thread_id; member
37 struct psil_endpoint_config *psil_get_ep_config(u32 thread_id);
Dk3-udma-glue.c118 u32 thread_id; in of_k3_udma_glue_parse_chn() local
137 thread_id = dma_spec.args[0]; in of_k3_udma_glue_parse_chn()
155 if (tx_chn && !(thread_id & K3_PSIL_DST_THREAD_ID_OFFSET)) { in of_k3_udma_glue_parse_chn()
160 if (!tx_chn && (thread_id & K3_PSIL_DST_THREAD_ID_OFFSET)) { in of_k3_udma_glue_parse_chn()
166 common->ep_config = psil_get_ep_config(thread_id); in of_k3_udma_glue_parse_chn()
170 thread_id); in of_k3_udma_glue_parse_chn()
179 common->dst_thread = thread_id; in of_k3_udma_glue_parse_chn()
181 common->src_thread = thread_id; in of_k3_udma_glue_parse_chn()
/drivers/staging/media/atomisp/pci/
Dsh_css_sp.c125 unsigned int thread_id; in store_sp_stage_data() local
127 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in store_sp_stage_data()
132 sh_css_sp_group.pipe[thread_id].sp_stage_addr[stage] = in store_sp_stage_data()
202 unsigned int thread_id; in sh_css_sp_start_binary_copy() local
208 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in sh_css_sp_start_binary_copy()
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
277 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in sh_css_sp_start_raw_copy()
278 pipe = &sh_css_sp_group.pipe[thread_id]; in sh_css_sp_start_raw_copy()
[all …]
Dsh_css.c3203 unsigned int thread_id; in init_vf_frameinfo_defaults() local
3211 ia_css_pipeline_get_sp_thread_id(ia_css_pipe_get_pipe_num(pipe), &thread_id); in init_vf_frameinfo_defaults()
3212 ia_css_query_internal_queue_id(IA_CSS_BUFFER_TYPE_VF_OUTPUT_FRAME + idx, thread_id, &queue_id); in init_vf_frameinfo_defaults()
3368 unsigned int thread_id; in init_in_frameinfo_memory_defaults() local
3389 ia_css_pipeline_get_sp_thread_id(ia_css_pipe_get_pipe_num(pipe), &thread_id); in init_in_frameinfo_memory_defaults()
3390 ia_css_query_internal_queue_id(IA_CSS_BUFFER_TYPE_INPUT_FRAME, thread_id, &queue_id); in init_in_frameinfo_memory_defaults()
3409 unsigned int thread_id; in init_out_frameinfo_defaults() local
3417 ia_css_pipeline_get_sp_thread_id(ia_css_pipe_get_pipe_num(pipe), &thread_id); in init_out_frameinfo_defaults()
3418 ia_css_query_internal_queue_id(IA_CSS_BUFFER_TYPE_OUTPUT_FRAME + idx, thread_id, &queue_id); in init_out_frameinfo_defaults()
3861 unsigned int thread_id; in preview_start() local
[all …]
Dsh_css_params.c3227 unsigned int thread_id, pipe_num; in sh_css_param_update_isp_params() local
3257 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in sh_css_param_update_isp_params()
3263 thread_id, &queue_id); in sh_css_param_update_isp_params()
3265 ia_css_query_internal_queue_id(IA_CSS_BUFFER_TYPE_PARAMETER_SET, thread_id, in sh_css_param_update_isp_params()
3358 IA_CSS_LOG("queue param set %x to %d", cpy, thread_id); in sh_css_param_update_isp_params()
3360 err = ia_css_bufq_enqueue_buffer(thread_id, queue_id, (uint32_t)cpy); in sh_css_param_update_isp_params()
3367 queue_id, thread_id); in sh_css_param_update_isp_params()
3387 (uint8_t)thread_id, in sh_css_param_update_isp_params()
3394 queue_id, thread_id); in sh_css_param_update_isp_params()
/drivers/acpi/acpica/
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()
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()
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()
Ddsmethod.c360 !obj_desc->method.mutex->mutex.thread_id || in acpi_ds_begin_method_execution()
361 (walk_state->thread->thread_id != in acpi_ds_begin_method_execution()
362 obj_desc->method.mutex->mutex.thread_id)) { in acpi_ds_begin_method_execution()
382 obj_desc->method.mutex->mutex.thread_id = in acpi_ds_begin_method_execution()
383 walk_state->thread->thread_id; in acpi_ds_begin_method_execution()
402 obj_desc->method.mutex->mutex.thread_id = in acpi_ds_begin_method_execution()
770 method_desc->method.mutex->mutex.thread_id = 0; in acpi_ds_terminate_control_method()
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()
Ddbxface.c517 void acpi_set_debugger_thread_id(acpi_thread_id thread_id) in ACPI_EXPORT_SYMBOL()
519 acpi_gbl_db_thread_id = thread_id; in ACPI_EXPORT_SYMBOL()
Dutinit.c109 acpi_gbl_mutex_info[i].thread_id = ACPI_MUTEX_NOT_ACQUIRED; in acpi_ut_init_globals()
Dacobject.h126 acpi_thread_id thread_id; /* Current owner of the mutex */ member
Daclocal.h91 acpi_thread_id thread_id; member
624 acpi_thread_id thread_id; /* Running thread ID */ member
/drivers/staging/media/atomisp/pci/runtime/pipeline/src/
Dpipeline.c132 unsigned int thread_id; in ia_css_pipeline_start() local
146 ia_css_pipeline_get_sp_thread_id(pipe_num, &thread_id); in ia_css_pipeline_start()
154 (uint8_t)thread_id, in ia_css_pipeline_start()
201 unsigned int thread_id; in ia_css_pipeline_request_stop() local
216 ia_css_pipeline_get_sp_thread_id(pipeline->pipe_num, &thread_id); in ia_css_pipeline_request_stop()
224 (uint8_t)thread_id, in ia_css_pipeline_request_stop()
444 unsigned int thread_id; in ia_css_pipeline_has_stopped() local
451 ia_css_pipeline_get_sp_thread_id(pipeline->pipe_num, &thread_id); in ia_css_pipeline_has_stopped()
455 return sp_group.pipe[thread_id].num_stages == 0; in ia_css_pipeline_has_stopped()
559 unsigned int thread_id; in pipeline_unmap_num_to_sp_thread() local
[all …]
/drivers/staging/media/atomisp/pci/runtime/bufq/interface/
Dia_css_bufq.h37 unsigned int thread_id,
50 unsigned int thread_id,
/drivers/base/
Darch_topology.c452 cpu_topology[cpu].thread_id = i; in parse_core()
662 cpu_topo->thread_id = -1; in reset_cpu_topology()
712 cpuid_topo->thread_id = -1; in store_cpu_topology()
718 cpuid_topo->thread_id); in store_cpu_topology()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_dbgdev.h87 uint32_t thread_id:6; member
/drivers/scsi/qla2xxx/
Dqla_isr.c2977 uint16_t thread_id; in qla25xx_process_bidir_status_iocb() local
3017 thread_id = bsg_request->rqst_data.h_vendor.vendor_cmd[1]; in qla25xx_process_bidir_status_iocb()
3033 thread_id); in qla25xx_process_bidir_status_iocb()
3040 thread_id); in qla25xx_process_bidir_status_iocb()
3046 thread_id); in qla25xx_process_bidir_status_iocb()
3053 "thread_id=%d\n", thread_id); in qla25xx_process_bidir_status_iocb()
3060 "underrun thread_id=%d\n", thread_id); in qla25xx_process_bidir_status_iocb()
3067 "thread_id=%d\n", thread_id); in qla25xx_process_bidir_status_iocb()
3074 "overrun thread_id=%d\n", thread_id); in qla25xx_process_bidir_status_iocb()
3081 "thread_id=%d\n", thread_id); in qla25xx_process_bidir_status_iocb()
[all …]

12