Home
last modified time | relevance | path

Searched refs:pipe_id (Results 1 – 25 of 74) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/css_2401_system/hive/
Dia_css_isp_params.c71 unsigned int pipe_id, in ia_css_process_aa() argument
91 unsigned int pipe_id, in ia_css_process_anr() argument
113 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = in ia_css_process_anr()
126 unsigned int pipe_id, in ia_css_process_anr2() argument
148 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VMEM] = in ia_css_process_anr2()
161 unsigned int pipe_id, in ia_css_process_bh() argument
182 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = in ia_css_process_bh()
196 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = in ia_css_process_bh()
208 unsigned int pipe_id, in ia_css_process_cnr() argument
230 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = in ia_css_process_cnr()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Datomisp_compat_css20.c194 unsigned int pipe_id) in __dump_pipe_config() argument
198 if (stream_env->pipes[pipe_id]) { in __dump_pipe_config()
202 p_config = &stream_env->pipe_configs[pipe_id]; in __dump_pipe_config()
203 pe_config = &stream_env->pipe_extra_configs[pipe_id]; in __dump_pipe_config()
204 dev_dbg(isp->dev, "dumping pipe[%d] config:\n", pipe_id); in __dump_pipe_config()
262 "dumping pipe[%d] extra config:\n", pipe_id); in __dump_pipe_config()
592 enum ia_css_pipe_id pipe_id) in __apply_additional_pipe_config() argument
596 if (pipe_id < 0 || pipe_id >= IA_CSS_PIPE_ID_NUM) { in __apply_additional_pipe_config()
603 stream_env->pipe_configs[pipe_id].isp_pipe_version = 2; in __apply_additional_pipe_config()
604 stream_env->pipe_configs[pipe_id].enable_dz = in __apply_additional_pipe_config()
[all …]
Dsh_css_sp.c164 sh_css_store_sp_per_frame_data(enum ia_css_pipe_id pipe_id, in sh_css_store_sp_per_frame_data() argument
171 store_sp_stage_data(pipe_id, pipe_num, 0); in sh_css_store_sp_per_frame_data()
201 enum ia_css_pipe_id pipe_id; in sh_css_sp_start_binary_copy() local
207 pipe_id = IA_CSS_PIPE_ID_CAPTURE; in sh_css_sp_start_binary_copy()
213 pipe->pipe_id = pipe_id; in sh_css_sp_start_binary_copy()
228 pipe->pipe_id, pipe->inout_port_config); in sh_css_sp_start_binary_copy()
245 sh_css_store_sp_per_frame_data(pipe_id, pipe_num, &sh_css_sp_fw); in sh_css_sp_start_binary_copy()
256 enum ia_css_pipe_id pipe_id; in sh_css_sp_start_raw_copy() local
276 pipe_id = IA_CSS_PIPE_ID_COPY; in sh_css_sp_start_raw_copy()
286 pipe->pipe_id = pipe_id; in sh_css_sp_start_raw_copy()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/css_2400_system/hive/
Dia_css_isp_params.c70 unsigned int pipe_id, in ia_css_process_aa() argument
85 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = in ia_css_process_aa()
93 unsigned int pipe_id, in ia_css_process_anr() argument
115 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = in ia_css_process_anr()
128 unsigned int pipe_id, in ia_css_process_anr2() argument
150 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_VMEM] = in ia_css_process_anr2()
163 unsigned int pipe_id, in ia_css_process_bh() argument
184 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_DMEM] = in ia_css_process_bh()
198 params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = in ia_css_process_bh()
210 unsigned int pipe_id, in ia_css_process_cnr() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v9.h31 int kgd_gfx_v9_init_interrupts(struct kgd_dev *kgd, uint32_t pipe_id);
32 int kgd_gfx_v9_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id,
37 uint32_t pipe_id, uint32_t queue_id,
40 uint32_t pipe_id, uint32_t queue_id,
43 uint32_t pipe_id, uint32_t queue_id);
46 unsigned int utimeout, uint32_t pipe_id,
Damdgpu_amdkfd_gfx_v10.c65 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue() argument
70 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
71 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
77 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument
79 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
154 static int kgd_init_interrupts(struct kgd_dev *kgd, uint32_t pipe_id) in kgd_init_interrupts() argument
160 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_init_interrupts()
161 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts()
222 static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_hqd_load() argument
234 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in kgd_hqd_load()
[all …]
Damdgpu_amdkfd_gfx_v10_3.c64 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue() argument
69 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
70 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
76 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument
78 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
122 static int init_interrupts_v10_3(struct kgd_dev *kgd, uint32_t pipe_id) in init_interrupts_v10_3() argument
128 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in init_interrupts_v10_3()
129 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in init_interrupts_v10_3()
192 static int hqd_load_v10_3(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in hqd_load_v10_3() argument
204 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in hqd_load_v10_3()
[all …]
Damdgpu_amdkfd_gfx_v8.c65 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue() argument
70 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
71 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
126 static int kgd_init_interrupts(struct kgd_dev *kgd, uint32_t pipe_id) in kgd_init_interrupts() argument
132 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_init_interrupts()
133 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts()
168 static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_hqd_load() argument
181 acquire_queue(kgd, pipe_id, queue_id); in kgd_hqd_load()
187 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_hqd_load()
188 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_hqd_load()
[all …]
Damdgpu_amdkfd_gfx_v9.c69 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue() argument
74 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
75 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
81 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument
83 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
172 int kgd_gfx_v9_init_interrupts(struct kgd_dev *kgd, uint32_t pipe_id) in kgd_gfx_v9_init_interrupts() argument
178 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_gfx_v9_init_interrupts()
179 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_gfx_v9_init_interrupts()
234 int kgd_gfx_v9_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_gfx_v9_hqd_load() argument
246 acquire_queue(kgd, pipe_id, queue_id); in kgd_gfx_v9_hqd_load()
[all …]
Damdgpu_amdkfd_gfx_v7.c108 static void acquire_queue(struct kgd_dev *kgd, uint32_t pipe_id, in acquire_queue() argument
113 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
114 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
168 static int kgd_init_interrupts(struct kgd_dev *kgd, uint32_t pipe_id) in kgd_init_interrupts() argument
174 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_init_interrupts()
175 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts()
210 static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id, in kgd_hqd_load() argument
223 acquire_queue(kgd, pipe_id, queue_id); in kgd_hqd_load()
244 acquire_queue(kgd, pipe_id, queue_id); in kgd_hqd_load()
257 uint32_t pipe_id, uint32_t queue_id, in kgd_hqd_dump() argument
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/pipeline/src/
Dpipeline.c45 enum ia_css_pipe_id pipe_id,
67 enum ia_css_pipe_id pipe_id, in ia_css_pipeline_create() argument
73 pipeline, pipe_id, pipe_num, dvs_frame_delay); in ia_css_pipeline_create()
79 pipeline_init_defaults(pipeline, pipe_id, pipe_num, dvs_frame_delay); in ia_css_pipeline_create()
128 void ia_css_pipeline_start(enum ia_css_pipe_id pipe_id, in ia_css_pipeline_start() argument
137 pipe_id, pipeline); in ia_css_pipeline_start()
138 pipeline->pipe_id = pipe_id; in ia_css_pipeline_start()
139 sh_css_sp_init_pipeline(pipeline, pipe_id, pipe_num, in ia_css_pipeline_start()
255 pipeline_init_defaults(pipeline, pipeline->pipe_id, pipeline->pipe_num, in ia_css_pipeline_clean()
670 enum ia_css_pipe_id pipe_id, in pipeline_init_defaults() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dhif.h31 int (*tx_sg)(struct ath10k *ar, u8 pipe_id,
74 void (*send_complete_check)(struct ath10k *ar, u8 pipe_id, int force);
76 u16 (*get_free_queue_number)(struct ath10k *ar, u8 pipe_id);
102 static inline int ath10k_hif_tx_sg(struct ath10k *ar, u8 pipe_id, in ath10k_hif_tx_sg() argument
106 return ar->hif.ops->tx_sg(ar, pipe_id, items, n_items); in ath10k_hif_tx_sg()
171 u8 pipe_id, int force) in ath10k_hif_send_complete_check() argument
174 ar->hif.ops->send_complete_check(ar, pipe_id, force); in ath10k_hif_send_complete_check()
178 u8 pipe_id) in ath10k_hif_get_free_queue_number() argument
180 return ar->hif.ops->get_free_queue_number(ar, pipe_id); in ath10k_hif_get_free_queue_number()
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
Dsst_ipc.c256 u32 msg_low, pipe_id; in process_fw_async_msg() local
265 pipe_id = ((struct ipc_dsp_hdr *)msg->mailbox_data)->pipe_id; in process_fw_async_msg()
266 str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); in process_fw_async_msg()
270 pipe_id); in process_fw_async_msg()
283 pipe_id = ((struct ipc_dsp_hdr *)msg->mailbox_data)->pipe_id; in process_fw_async_msg()
284 str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); in process_fw_async_msg()
304 pipe_id = ((struct ipc_dsp_hdr *)msg->mailbox_data)->pipe_id; in process_fw_async_msg()
305 str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); in process_fw_async_msg()
309 pipe_id, str_id); in process_fw_async_msg()
Dsst_pvt.c221 int task_id, int ipc_msg, int cmd_id, int pipe_id, in sst_prepare_and_post_msg() argument
246 pvt_id, pipe_id, task_id, ipc_msg); in sst_prepare_and_post_msg()
258 sst_fill_header_dsp(&dsp_hdr, cmd_id, pipe_id, mbox_data_len); in sst_prepare_and_post_msg()
316 int pipe_id, int len) in sst_fill_header_dsp() argument
320 dsp->pipe_id = pipe_id; in sst_fill_header_dsp()
376 u32 pipe_id) in get_stream_id_mrfld() argument
381 if (pipe_id == sst_drv_ctx->streams[i].pipe_id) in get_stream_id_mrfld()
384 dev_dbg(sst_drv_ctx->dev, "no such pipe_id(%u)", pipe_id); in get_stream_id_mrfld()
Dsst_stream.c73 sst_drv_ctx->streams[str_id].pipe_id = str_params->device_type; in sst_alloc_stream_mrfld()
87 str_info->pipe_id, str_info->task_id); in sst_alloc_stream_mrfld()
113 str_id, str_info->pipe_id); in sst_realloc_stream()
116 IPC_IA_ALLOC_STREAM_MRFLD, str_info->pipe_id, in sst_realloc_stream()
165 IPC_CMD, IPC_IA_START_STREAM_MRFLD, str_info->pipe_id, in sst_start_stream()
181 bytes->pipe_id, bytes->len); in sst_send_byte_stream_mrfld()
260 IPC_IA_PAUSE_STREAM_MRFLD, str_info->pipe_id, in sst_pause_stream()
324 str_info->pipe_id, 0, NULL, NULL, in sst_resume_stream()
372 str_info->pipe_id, 0, NULL, NULL, in sst_drop_stream()
410 IPC_IA_DRAIN_STREAM_MRFLD, str_info->pipe_id, in sst_drain_stream()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h237 int (*init_interrupts)(struct kgd_dev *kgd, uint32_t pipe_id);
239 int (*hqd_load)(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id,
245 uint32_t pipe_id, uint32_t queue_id,
252 uint32_t pipe_id, uint32_t queue_id,
260 uint32_t pipe_id, uint32_t queue_id);
263 unsigned int timeout, uint32_t pipe_id,
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_dev.c153 u32 pipe_id = U32_MAX; in komeda_parse_dt() local
170 of_property_read_u32(child, "reg", &pipe_id); in komeda_parse_dt()
171 if (pipe_id >= mdev->n_pipelines) { in komeda_parse_dt()
173 pipe_id); in komeda_parse_dt()
176 mdev->pipelines[pipe_id]->of_node = of_node_get(child); in komeda_parse_dt()
180 for (pipe_id = 0; pipe_id < mdev->n_pipelines; pipe_id++) { in komeda_parse_dt()
181 pipe = mdev->pipelines[pipe_id]; in komeda_parse_dt()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_component.c13 static void get_resources_id(u32 hw_id, u32 *pipe_id, u32 *comp_id) in get_resources_id() argument
54 if (pipe_id) in get_resources_id()
55 *pipe_id = pipe; in get_resources_id()
412 u32 pipe_id, layer_id, layer_info; in d71_layer_init() local
414 get_resources_id(blk->block_info, &pipe_id, &layer_id); in d71_layer_init()
415 c = komeda_component_add(&d71->pipes[pipe_id]->base, sizeof(*layer), in d71_layer_init()
420 1, reg, "LPU%d_LAYER%d", pipe_id, layer_id); in d71_layer_init()
530 u32 pipe_id, layer_id; in d71_wb_layer_init() local
532 get_resources_id(blk->block_info, &pipe_id, &layer_id); in d71_wb_layer_init()
534 c = komeda_component_add(&d71->pipes[pipe_id]->base, sizeof(*wb_layer), in d71_wb_layer_init()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/pipeline/interface/
Dia_css_pipeline.h44 enum ia_css_pipe_id pipe_id; member
61 .pipe_id = IA_CSS_PIPE_ID_PREVIEW, \
105 enum ia_css_pipe_id pipe_id,
124 void ia_css_pipeline_start(enum ia_css_pipe_id pipe_id,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager_v10.c143 uint32_t pipe_id, uint32_t queue_id, in load_mqd() argument
150 r = mm->dev->kfd2kgd->hqd_load(mm->dev->kgd, mqd, pipe_id, queue_id, in load_mqd()
157 uint32_t pipe_id, uint32_t queue_id, in hiq_load_mqd_kiq() argument
160 return mm->dev->kfd2kgd->hiq_mqd_load(mm->dev->kgd, mqd, pipe_id, in hiq_load_mqd_kiq()
229 unsigned int timeout, uint32_t pipe_id, in destroy_mqd() argument
234 pipe_id, queue_id); in destroy_mqd()
244 uint64_t queue_address, uint32_t pipe_id, in is_occupied() argument
249 pipe_id, queue_id); in is_occupied()
311 uint32_t pipe_id, uint32_t queue_id, in load_mqd_sdma() argument
353 unsigned int timeout, uint32_t pipe_id, in destroy_mqd_sdma() argument
[all …]
Dkfd_mqd_manager_v9.c195 uint32_t pipe_id, uint32_t queue_id, in load_mqd() argument
201 return mm->dev->kfd2kgd->hqd_load(mm->dev->kgd, mqd, pipe_id, queue_id, in load_mqd()
207 uint32_t pipe_id, uint32_t queue_id, in hiq_load_mqd_kiq() argument
210 return mm->dev->kfd2kgd->hiq_mqd_load(mm->dev->kgd, mqd, pipe_id, in hiq_load_mqd_kiq()
281 unsigned int timeout, uint32_t pipe_id, in destroy_mqd() argument
286 pipe_id, queue_id); in destroy_mqd()
303 uint64_t queue_address, uint32_t pipe_id, in is_occupied() argument
308 pipe_id, queue_id); in is_occupied()
366 uint32_t pipe_id, uint32_t queue_id, in load_mqd_sdma() argument
408 unsigned int timeout, uint32_t pipe_id, in destroy_mqd_sdma() argument
[all …]
Dkfd_mqd_manager_cik.c165 static int load_mqd(struct mqd_manager *mm, void *mqd, uint32_t pipe_id, in load_mqd() argument
173 return mm->dev->kfd2kgd->hqd_load(mm->dev->kgd, mqd, pipe_id, queue_id, in load_mqd()
179 uint32_t pipe_id, uint32_t queue_id, in load_mqd_sdma() argument
264 unsigned int timeout, uint32_t pipe_id, in destroy_mqd() argument
268 pipe_id, queue_id); in destroy_mqd()
277 unsigned int timeout, uint32_t pipe_id, in destroy_mqd_sdma() argument
284 uint64_t queue_address, uint32_t pipe_id, in is_occupied() argument
289 pipe_id, queue_id); in is_occupied()
294 uint64_t queue_address, uint32_t pipe_id, in is_occupied_sdma() argument
Dkfd_mqd_manager.h78 uint32_t pipe_id, uint32_t queue_id,
87 unsigned int timeout, uint32_t pipe_id,
94 uint64_t queue_address, uint32_t pipe_id,
Dkfd_mqd_manager_vi.c157 uint32_t pipe_id, uint32_t queue_id, in load_mqd() argument
164 return mm->dev->kfd2kgd->hqd_load(mm->dev->kgd, mqd, pipe_id, queue_id, in load_mqd()
254 unsigned int timeout, uint32_t pipe_id, in destroy_mqd() argument
259 pipe_id, queue_id); in destroy_mqd()
269 uint64_t queue_address, uint32_t pipe_id, in is_occupied() argument
274 pipe_id, queue_id); in is_occupied()
336 uint32_t pipe_id, uint32_t queue_id, in load_mqd_sdma() argument
377 unsigned int timeout, uint32_t pipe_id, in destroy_mqd_sdma() argument
384 uint64_t queue_address, uint32_t pipe_id, in is_occupied_sdma() argument
/kernel/linux/linux-5.10/drivers/usb/storage/
Duas-detect.h39 unsigned pipe_id = extra[2]; in uas_find_endpoints() local
40 if (pipe_id > 0 && pipe_id < 5) in uas_find_endpoints()
41 eps[pipe_id - 1] = &endpoint[i]; in uas_find_endpoints()

123