Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gfx_v10_3.c57 static void acquire_queue(struct amdgpu_device *adev, uint32_t pipe_id, in acquire_queue() argument
60 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
61 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
67 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument
69 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
109 static int init_interrupts_v10_3(struct amdgpu_device *adev, uint32_t pipe_id, in init_interrupts_v10_3() argument
115 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in init_interrupts_v10_3()
116 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in init_interrupts_v10_3()
180 uint32_t pipe_id, uint32_t queue_id, in hqd_load_v10_3() argument
190 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in hqd_load_v10_3()
[all …]
H A Damdgpu_amdkfd_gfx_v9.h29 int kgd_gfx_v9_init_interrupts(struct amdgpu_device *adev, uint32_t pipe_id,
31 int kgd_gfx_v9_hqd_load(struct amdgpu_device *adev, void *mqd, uint32_t pipe_id,
36 uint32_t pipe_id, uint32_t queue_id,
39 uint32_t pipe_id, uint32_t queue_id,
42 uint64_t queue_address, uint32_t pipe_id,
46 unsigned int utimeout, uint32_t pipe_id,
61 void kgd_gfx_v9_acquire_queue(struct amdgpu_device *adev, uint32_t pipe_id,
64 uint32_t pipe_id, uint32_t queue_id);
106 uint32_t pipe_id,
110 uint32_t pipe_id,
H A Damdgpu_amdkfd_gfx_v11.c55 static void acquire_queue(struct amdgpu_device *adev, uint32_t pipe_id, in acquire_queue() argument
58 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
59 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
65 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument
67 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
105 static int init_interrupts_v11(struct amdgpu_device *adev, uint32_t pipe_id, in init_interrupts_v11() argument
111 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in init_interrupts_v11()
112 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in init_interrupts_v11()
164 static int hqd_load_v11(struct amdgpu_device *adev, void *mqd, uint32_t pipe_id, in hqd_load_v11() argument
175 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in hqd_load_v11()
[all …]
H A Damdgpu_amdkfd_gfx_v8.c57 static void acquire_queue(struct amdgpu_device *adev, uint32_t pipe_id, in acquire_queue() argument
60 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
61 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
112 static int kgd_init_interrupts(struct amdgpu_device *adev, uint32_t pipe_id, in kgd_init_interrupts() argument
118 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_init_interrupts()
119 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts()
155 uint32_t pipe_id, uint32_t queue_id, in kgd_hqd_load() argument
166 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_load()
172 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_hqd_load()
173 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_hqd_load()
[all …]
H A Damdgpu_amdkfd_gfx_v10.c57 static void acquire_queue(struct amdgpu_device *adev, uint32_t pipe_id, in acquire_queue() argument
60 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
61 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
67 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument
69 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in get_queue_mask()
140 static int kgd_init_interrupts(struct amdgpu_device *adev, uint32_t pipe_id, in kgd_init_interrupts() argument
146 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_init_interrupts()
147 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts()
209 uint32_t pipe_id, uint32_t queue_id, in kgd_hqd_load() argument
219 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in kgd_hqd_load()
[all …]
H A Damdgpu_amdkfd_gfx_v7.c63 static void acquire_queue(struct amdgpu_device *adev, uint32_t pipe_id, in acquire_queue() argument
66 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
67 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
117 static int kgd_init_interrupts(struct amdgpu_device *adev, uint32_t pipe_id, in kgd_init_interrupts() argument
123 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_init_interrupts()
124 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts()
160 uint32_t pipe_id, uint32_t queue_id, in kgd_hqd_load() argument
171 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_load()
192 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_load()
205 uint32_t pipe_id, uint32_t queue_id, in kgd_hqd_dump() argument
[all …]
H A Damdgpu_amdkfd_gfx_v9.c63 void kgd_gfx_v9_acquire_queue(struct amdgpu_device *adev, uint32_t pipe_id, in kgd_gfx_v9_acquire_queue() argument
66 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_gfx_v9_acquire_queue()
67 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_gfx_v9_acquire_queue()
73 uint32_t pipe_id, uint32_t queue_id) in kgd_gfx_v9_get_queue_mask() argument
75 unsigned int bit = pipe_id * adev->gfx.mec.num_queue_per_pipe + in kgd_gfx_v9_get_queue_mask()
160 int kgd_gfx_v9_init_interrupts(struct amdgpu_device *adev, uint32_t pipe_id, in kgd_gfx_v9_init_interrupts() argument
166 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in kgd_gfx_v9_init_interrupts()
167 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_gfx_v9_init_interrupts()
223 uint32_t pipe_id, uint32_t queue_id, in kgd_gfx_v9_hqd_load() argument
234 kgd_gfx_v9_acquire_queue(adev, pipe_id, queue_id, inst); in kgd_gfx_v9_hqd_load()
[all …]
H A Damdgpu_amdkfd_gfx_v12.c43 static void acquire_queue(struct amdgpu_device *adev, uint32_t pipe_id, in acquire_queue() argument
46 uint32_t mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in acquire_queue()
47 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue()
57 static int init_interrupts_v12(struct amdgpu_device *adev, uint32_t pipe_id, uint32_t inst) in init_interrupts_v12() argument
62 mec = (pipe_id / adev->gfx.mec.num_pipe_per_mec) + 1; in init_interrupts_v12()
63 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in init_interrupts_v12()
106 uint32_t pipe_id, uint32_t queue_id, in hqd_dump_v12() argument
122 acquire_queue(adev, pipe_id, queue_id); in hqd_dump_v12()
H A Damdgpu_amdkfd_gfx_v10.h60 uint32_t pipe_id,
64 uint32_t pipe_id,
H A Damdgpu_mes.h257 uint32_t pipe_id; member
266 uint32_t pipe_id; member
276 uint32_t pipe_id; member
299 uint32_t pipe_id; member
425 int me_id, int pipe_id, int queue_id, int vmid);
H A Dgfx_v12_0.c1991 uint32_t pipe_id, tmp; in gfx_v12_0_config_gfx_rs64() local
2001 for (pipe_id = 0; pipe_id < 2; pipe_id++) { in gfx_v12_0_config_gfx_rs64()
2002 soc24_grbm_select(adev, 0, pipe_id, 0, 0); in gfx_v12_0_config_gfx_rs64()
2023 for (pipe_id = 0; pipe_id < 2; pipe_id++) { in gfx_v12_0_config_gfx_rs64()
2024 soc24_grbm_select(adev, 0, pipe_id, 0, 0); in gfx_v12_0_config_gfx_rs64()
2045 for (pipe_id = 0; pipe_id < 4; pipe_id++) { in gfx_v12_0_config_gfx_rs64()
2046 soc24_grbm_select(adev, 1, pipe_id, 0, 0); in gfx_v12_0_config_gfx_rs64()
2074 unsigned pipe_id, tmp; in gfx_v12_0_set_pfp_ucode_start_addr() local
2079 for (pipe_id = 0; pipe_id < adev->gfx.me.num_pipe_per_me; pipe_id++) { in gfx_v12_0_set_pfp_ucode_start_addr()
2080 soc24_grbm_select(adev, 0, pipe_id, 0, 0); in gfx_v12_0_set_pfp_ucode_start_addr()
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_mqd_manager.h79 uint32_t pipe_id, uint32_t queue_id,
89 unsigned int timeout, uint32_t pipe_id,
96 uint64_t queue_address, uint32_t pipe_id,
169 uint32_t pipe_id, uint32_t queue_id,
174 uint32_t pipe_id, uint32_t queue_id);
180 uint64_t queue_address, uint32_t pipe_id,
184 uint32_t pipe_id, uint32_t queue_id,
189 uint32_t pipe_id, uint32_t queue_id);
192 uint64_t queue_address, uint32_t pipe_id,
H A Dkfd_mqd_manager.c209 uint32_t pipe_id, uint32_t queue_id, in kfd_hiq_load_mqd_kiq() argument
212 return mm->dev->kfd2kgd->hiq_mqd_load(mm->dev->adev, mqd, pipe_id, in kfd_hiq_load_mqd_kiq()
218 uint32_t pipe_id, uint32_t queue_id) in kfd_destroy_mqd_cp() argument
221 pipe_id, queue_id, 0); in kfd_destroy_mqd_cp()
236 uint64_t queue_address, uint32_t pipe_id, in kfd_is_occupied_cp() argument
240 pipe_id, queue_id, 0); in kfd_is_occupied_cp()
244 uint32_t pipe_id, uint32_t queue_id, in kfd_load_mqd_sdma() argument
258 unsigned int timeout, uint32_t pipe_id, in kfd_destroy_mqd_sdma() argument
265 uint64_t queue_address, uint32_t pipe_id, in kfd_is_occupied_sdma() argument
H A Dkfd_mqd_manager_v9.c228 uint32_t pipe_id, uint32_t queue_id, in load_mqd() argument
234 return mm->dev->kfd2kgd->hqd_load(mm->dev->adev, mqd, pipe_id, queue_id, in load_mqd()
434 uint32_t pipe_id, uint32_t queue_id) in destroy_hiq_mqd() argument
568 uint32_t pipe_id, uint32_t queue_id, in hiq_load_mqd_kiq_v9_4_3() argument
579 pipe_id, queue_id, in hiq_load_mqd_kiq_v9_4_3()
593 uint32_t pipe_id, uint32_t queue_id) in destroy_hiq_mqd_v9_4_3() argument
749 uint32_t pipe_id, uint32_t queue_id) in destroy_mqd_v9_4_3() argument
763 type, timeout, pipe_id, in destroy_mqd_v9_4_3()
776 uint32_t pipe_id, uint32_t queue_id, in load_mqd_v9_4_3() argument
789 mm->dev->adev, xcc_mqd, pipe_id, queue_id, in load_mqd_v9_4_3()
/linux/drivers/net/wireless/ath/ath10k/
H A 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()
/linux/drivers/gpu/drm/amd/include/
H A Dkgd_kfd_interface.h230 int (*init_interrupts)(struct amdgpu_device *adev, uint32_t pipe_id,
233 int (*hqd_load)(struct amdgpu_device *adev, void *mqd, uint32_t pipe_id,
239 uint32_t pipe_id, uint32_t queue_id,
246 uint32_t pipe_id, uint32_t queue_id,
254 uint64_t queue_address, uint32_t pipe_id,
259 unsigned int timeout, uint32_t pipe_id,
328 uint32_t pipe_id, uint32_t queue_id,
331 uint32_t pipe_id, uint32_t queue_id,
/linux/sound/soc/intel/atom/sst/
H A 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()
H A 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()
H A Dsst_stream.c72 sst_drv_ctx->streams[str_id].pipe_id = str_params->device_type; in sst_alloc_stream_mrfld()
86 str_info->pipe_id, str_info->task_id); in sst_alloc_stream_mrfld()
112 str_id, str_info->pipe_id); in sst_realloc_stream()
115 IPC_IA_ALLOC_STREAM_MRFLD, str_info->pipe_id, in sst_realloc_stream()
164 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 …]
/linux/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_component.c15 static void get_resources_id(u32 hw_id, u32 *pipe_id, u32 *comp_id) in get_resources_id() argument
56 if (pipe_id) in get_resources_id()
57 *pipe_id = pipe; in get_resources_id()
414 u32 pipe_id, layer_id, layer_info; in d71_layer_init() local
416 get_resources_id(blk->block_info, &pipe_id, &layer_id); in d71_layer_init()
417 c = komeda_component_add(&d71->pipes[pipe_id]->base, sizeof(*layer), in d71_layer_init()
422 1, reg, "LPU%d_LAYER%d", pipe_id, layer_id); in d71_layer_init()
532 u32 pipe_id, layer_id; in d71_wb_layer_init() local
534 get_resources_id(blk->block_info, &pipe_id, &layer_id); in d71_wb_layer_init()
536 c = komeda_component_add(&d71->pipes[pipe_id]->base, sizeof(*wb_layer), in d71_wb_layer_init()
[all …]
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-cmdq.c71 enum mdp_pipe_id pipe_id; in __get_pipe() local
75 pipe_id = MDP_PIPE_RDMA0; in __get_pipe()
78 pipe_id = MDP_PIPE_IMGI; in __get_pipe()
81 pipe_id = MDP_PIPE_WPEI; in __get_pipe()
84 pipe_id = MDP_PIPE_WPEI2; in __get_pipe()
87 pipe_id = MDP_PIPE_RDMA1; in __get_pipe()
90 pipe_id = MDP_PIPE_RDMA2; in __get_pipe()
93 pipe_id = MDP_PIPE_RDMA3; in __get_pipe()
97 pipe_id = MDP_PIPE_RDMA0; in __get_pipe()
102 return pipe_id; in __get_pipe()
[all …]
/linux/drivers/usb/storage/
H A 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()
/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_fops.c336 enum ia_css_pipe_id pipe_id; in atomisp_qbuffers_to_css() local
339 pipe_id = IA_CSS_PIPE_ID_COPY; in atomisp_qbuffers_to_css()
341 pipe_id = IA_CSS_PIPE_ID_VIDEO; in atomisp_qbuffers_to_css()
343 pipe_id = IA_CSS_PIPE_ID_CAPTURE; in atomisp_qbuffers_to_css()
345 pipe_id = IA_CSS_PIPE_ID_VIDEO; in atomisp_qbuffers_to_css()
347 pipe_id = IA_CSS_PIPE_ID_PREVIEW; in atomisp_qbuffers_to_css()
350 pipe_id = IA_CSS_PIPE_ID_CAPTURE; in atomisp_qbuffers_to_css()
355 IA_CSS_BUFFER_TYPE_OUTPUT_FRAME, pipe_id); in atomisp_qbuffers_to_css()
/linux/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_crtc.c85 enum mdp4_pipe pipe_id = mdp4_plane_pipe(plane); in crtc_flush() local
86 flush |= pipe2flush(pipe_id); in crtc_flush()
158 enum mdp4_pipe pipe_id = mdp4_plane_pipe(plane); in setup_mixer() local
159 int idx = idxs[pipe_id]; in setup_mixer()
161 pipe_id, stages[idx]); in setup_mixer()
182 enum mdp4_pipe pipe_id = mdp4_plane_pipe(plane); in blend_setup() local
183 int idx = idxs[pipe_id]; in blend_setup()
/linux/sound/soc/intel/atom/
H A Dsst-atom-controls.h313 #define SST_FILL_LOCATION_IDS(dst, cell_idx, pipe_id) do { \ argument
315 dst.location_id.p.path_id = (pipe_id); \
696 u16 pipe_id; member
723 .module_id = xmod, .pipe_id = xpipe, .task_id = xtask,\
734 .module_id = xmod, .pipe_id = xpipe, .task_id = xtask,\
744 .module_id = xmod, .pipe_id = xpipe, .task_id = xtask,\
785 u16 pipe_id; member
797 .pipe_id = xpipe, .task_id = xtask, .cmd_id = xcmd, \

123