| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_amdkfd_gfx_v10_3.c | 57 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 D | amdgpu_amdkfd_gfx_v8.c | 57 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 D | amdgpu_amdkfd_gfx_v7.c | 63 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 D | amdgpu_amdkfd_gfx_v9.c | 63 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 D | amdgpu_amdkfd_gfx_v10.c | 57 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 D | amdgpu_mes.h | 73 #define MES_PIPE_INST(xcc_id, pipe_id) \ argument 74 (xcc_id * AMDGPU_MAX_MES_PIPES + pipe_id) 300 uint32_t pipe_id; member 311 uint32_t pipe_id; member 340 uint32_t pipe_id; member
|
| H A D | gfx_v12_0.c | 2147 uint32_t pipe_id, tmp; in gfx_v12_0_config_gfx_rs64() local 2157 for (pipe_id = 0; pipe_id < 2; pipe_id++) { in gfx_v12_0_config_gfx_rs64() 2158 soc24_grbm_select(adev, 0, pipe_id, 0, 0); in gfx_v12_0_config_gfx_rs64() 2179 for (pipe_id = 0; pipe_id < 2; pipe_id++) { in gfx_v12_0_config_gfx_rs64() 2180 soc24_grbm_select(adev, 0, pipe_id, 0, 0); in gfx_v12_0_config_gfx_rs64() 2201 for (pipe_id = 0; pipe_id < 4; pipe_id++) { in gfx_v12_0_config_gfx_rs64() 2202 soc24_grbm_select(adev, 1, pipe_id, 0, 0); in gfx_v12_0_config_gfx_rs64() 2230 unsigned pipe_id, tmp; in gfx_v12_0_set_pfp_ucode_start_addr() local 2235 for (pipe_id = 0; pipe_id < adev->gfx.me.num_pipe_per_me; pipe_id++) { in gfx_v12_0_set_pfp_ucode_start_addr() 2236 soc24_grbm_select(adev, 0, pipe_id, 0, 0); in gfx_v12_0_set_pfp_ucode_start_addr() [all …]
|
| H A D | mes_v11_0.c | 618 uint32_t me_id, uint32_t pipe_id, in mes_v11_0_reset_pipe_mmio() argument 624 return mes_v11_0_reset_gfx_pipe_mmio(adev, me_id, pipe_id, queue_id); in mes_v11_0_reset_pipe_mmio() 626 return mes_v11_0_reset_compute_pipe_mmio(adev, me_id, pipe_id, queue_id); in mes_v11_0_reset_pipe_mmio() 632 uint32_t me_id, uint32_t pipe_id, in mes_v11_0_reset_queue_mmio() argument 643 me_id, pipe_id, queue_id, vmid); in mes_v11_0_reset_queue_mmio() 651 if (pipe_id == 0) in mes_v11_0_reset_queue_mmio() 660 soc21_grbm_select(adev, me_id, pipe_id, queue_id, 0); in mes_v11_0_reset_queue_mmio() 676 me_id, pipe_id, queue_id); in mes_v11_0_reset_queue_mmio() 678 soc21_grbm_select(adev, me_id, pipe_id, queue_id, 0); in mes_v11_0_reset_queue_mmio() 696 me_id, pipe_id, queue_id); in mes_v11_0_reset_queue_mmio() [all …]
|
| H A D | mes_v12_0.c | 587 uint32_t me_id, uint32_t pipe_id, in mes_v12_0_reset_queue_mmio() argument 598 me_id, pipe_id, queue_id, vmid); in mes_v12_0_reset_queue_mmio() 606 if (pipe_id == 0) in mes_v12_0_reset_queue_mmio() 615 soc24_grbm_select(adev, me_id, pipe_id, queue_id, 0); in mes_v12_0_reset_queue_mmio() 631 me_id, pipe_id, queue_id); in mes_v12_0_reset_queue_mmio() 633 soc24_grbm_select(adev, me_id, pipe_id, queue_id, 0); in mes_v12_0_reset_queue_mmio() 651 me_id, pipe_id, queue_id); in mes_v12_0_reset_queue_mmio() 681 uint32_t me_id, uint32_t pipe_id, in mes_v12_0_reset_pipe_mmio() argument 687 return mes_v12_0_reset_gfx_pipe_mmio(adev, me_id, pipe_id, queue_id); in mes_v12_0_reset_pipe_mmio() 689 return mes_v12_0_reset_compute_pipe_mmio(adev, me_id, pipe_id, queue_id); in mes_v12_0_reset_pipe_mmio() [all …]
|
| H A D | gfx_v11_0.c | 2695 unsigned i, pipe_id; in gfx_v11_0_config_pfp_cache_rs64() local 2749 for (pipe_id = 0; pipe_id < adev->gfx.me.num_pipe_per_me; pipe_id++) { in gfx_v11_0_config_pfp_cache_rs64() 2750 soc21_grbm_select(adev, 0, pipe_id, 0, 0); in gfx_v11_0_config_pfp_cache_rs64() 2762 if (pipe_id == 0) in gfx_v11_0_config_pfp_cache_rs64() 2771 if (pipe_id == 0) in gfx_v11_0_config_pfp_cache_rs64() 2817 unsigned i, pipe_id; in gfx_v11_0_config_me_cache_rs64() local 2872 for (pipe_id = 0; pipe_id < adev->gfx.me.num_pipe_per_me; pipe_id++) { in gfx_v11_0_config_me_cache_rs64() 2873 soc21_grbm_select(adev, 0, pipe_id, 0, 0); in gfx_v11_0_config_me_cache_rs64() 2885 if (pipe_id == 0) in gfx_v11_0_config_me_cache_rs64() 2894 if (pipe_id == 0) in gfx_v11_0_config_me_cache_rs64() [all …]
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_mqd_manager.h | 79 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, 179 uint32_t pipe_id, uint32_t queue_id, 184 uint32_t pipe_id, uint32_t queue_id); 190 uint64_t queue_address, uint32_t pipe_id, 194 uint32_t pipe_id, uint32_t queue_id, 199 uint32_t pipe_id, uint32_t queue_id); 202 uint64_t queue_address, uint32_t pipe_id,
|
| H A D | kfd_mqd_manager_v9.c | 246 uint32_t pipe_id, uint32_t queue_id, in load_mqd() argument 252 return mm->dev->kfd2kgd->hqd_load(mm->dev->adev, mqd, pipe_id, queue_id, in load_mqd() 509 uint32_t pipe_id, uint32_t queue_id) in destroy_hiq_mqd() argument 647 uint32_t pipe_id, uint32_t queue_id, in hiq_load_mqd_kiq_v9_4_3() argument 658 pipe_id, queue_id, in hiq_load_mqd_kiq_v9_4_3() 672 uint32_t pipe_id, uint32_t queue_id) in destroy_hiq_mqd_v9_4_3() argument 903 uint32_t pipe_id, uint32_t queue_id) in destroy_mqd_v9_4_3() argument 917 type, timeout, pipe_id, in destroy_mqd_v9_4_3() 930 uint32_t pipe_id, uint32_t queue_id, in load_mqd_v9_4_3() argument 943 mm->dev->adev, xcc_mqd, pipe_id, queue_id, in load_mqd_v9_4_3()
|
| H A D | kfd_mqd_manager_v12_1.c | 226 uint32_t pipe_id, uint32_t queue_id, in load_mqd() argument 233 r = mm->dev->kfd2kgd->hqd_load(mm->dev->adev, mqd, pipe_id, queue_id, in load_mqd() 533 uint32_t pipe_id, uint32_t queue_id) in destroy_mqd_v12_1() argument 547 type, timeout, pipe_id, in destroy_mqd_v12_1() 560 uint32_t pipe_id, uint32_t queue_id, in load_mqd_v12_1() argument 573 mm->dev->adev, xcc_mqd, pipe_id, queue_id, in load_mqd_v12_1()
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | hif.h | 31 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/sound/soc/intel/atom/sst/ |
| H A D | sst_ipc.c | 255 u32 msg_low, pipe_id; in process_fw_async_msg() 264 pipe_id = ((struct ipc_dsp_hdr *)msg->mailbox_data)->pipe_id; in process_fw_async_msg() 265 str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); in process_fw_async_msg() 269 pipe_id); in process_fw_async_msg() 282 pipe_id = ((struct ipc_dsp_hdr *)msg->mailbox_data)->pipe_id; in process_fw_async_msg() 283 str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); in process_fw_async_msg() 303 pipe_id = ((struct ipc_dsp_hdr *)msg->mailbox_data)->pipe_id; in process_fw_async_msg() 256 u32 msg_low, pipe_id; process_fw_async_msg() local [all...] |
| H A D | sst_pvt.c | 188 int task_id, int ipc_msg, int cmd_id, int pipe_id, in sst_prepare_and_post_msg() argument 213 pvt_id, pipe_id, task_id, ipc_msg); in sst_prepare_and_post_msg() 225 sst_fill_header_dsp(&dsp_hdr, cmd_id, pipe_id, mbox_data_len); in sst_prepare_and_post_msg() 282 int pipe_id, int len) in sst_fill_header_dsp() argument 286 dsp->pipe_id = pipe_id; in sst_fill_header_dsp() 341 u32 pipe_id) in get_stream_id_mrfld() 346 if (pipe_id == sst_drv_ctx->streams[i].pipe_id) in get_stream_id_mrfld() 349 dev_dbg(sst_drv_ctx->dev, "no such pipe_id( in get_stream_id_mrfld() 342 get_stream_id_mrfld(struct intel_sst_drv * sst_drv_ctx,u32 pipe_id) get_stream_id_mrfld() argument [all...] |
| H A D | sst_stream.c | 72 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 …]
|
| H A D | sst.h | 208 unsigned int pipe_id; member 486 int task_id, int ipc_msg, int cmd_id, int pipe_id, 496 u32 pipe_id); 511 int pipe_id, int len);
|
| /linux/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_dev.c | 138 u32 pipe_id = U32_MAX; in komeda_parse_dt() local 154 of_property_read_u32(child, "reg", &pipe_id); in komeda_parse_dt() 155 if (pipe_id >= mdev->n_pipelines) { in komeda_parse_dt() 157 pipe_id); in komeda_parse_dt() 160 mdev->pipelines[pipe_id]->of_node = of_node_get(child); in komeda_parse_dt() 164 for (pipe_id = 0; pipe_id < mdev->n_pipelines; pipe_id++) { in komeda_parse_dt() 165 pipe = mdev->pipelines[pipe_id]; in komeda_parse_dt()
|
| /linux/drivers/usb/storage/ |
| H A D | uas-detect.h | 39 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/sound/soc/intel/atom/ |
| H A D | sst-atom-controls.h | 313 #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, \
|
| H A D | sst-atom-controls.c | 26 u8 task_id, u8 pipe_id, in sst_fill_byte_control() 35 byte_data->pipe_id = pipe_id; in sst_fill_byte_control() 49 u8 ipc_msg, u8 block, u8 task_id, u8 pipe_id, in sst_fill_and_send_cmd_unlocked() 57 block, task_id, pipe_id, len, cmd_data); in sst_fill_and_send_cmd_unlocked() 69 * @pipe_id: pipe index 74 u8 ipc_msg, u8 block, u8 task_id, u8 pipe_id, in sst_fill_and_send_cmd() 80 task_id, pipe_id, cmd_data, len); in sst_fill_and_send_cmd() 272 SST_FILL_DESTINATION(2, cmd->dst, bc->pipe_id, bc->module_id); in sst_send_algo_cmd() 499 mc->pipe_id | m in sst_gain_put() 25 sst_fill_byte_control(struct sst_data * drv,u8 ipc_msg,u8 block,u8 task_id,u8 pipe_id,u16 len,void * cmd_data) sst_fill_byte_control() argument 48 sst_fill_and_send_cmd_unlocked(struct sst_data * drv,u8 ipc_msg,u8 block,u8 task_id,u8 pipe_id,void * cmd_data,u16 len) sst_fill_and_send_cmd_unlocked() argument 73 sst_fill_and_send_cmd(struct sst_data * drv,u8 ipc_msg,u8 block,u8 task_id,u8 pipe_id,void * cmd_data,u16 len) sst_fill_and_send_cmd() argument [all...] |
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | htc_hst.h | 76 u8 pipe_id; member 217 struct sk_buff *skb, u32 len, u8 pipe_id);
|
| H A D | htc_hst.c | 171 cp_msg->pipe_id = USB_WLAN_TX_PIPE; in htc_config_pipe_credits() 407 struct sk_buff *skb, u32 len, u8 pipe_id) in ath9k_htc_rx_msg() argument 437 if (pipe_id != USB_REG_IN_PIPE) in ath9k_htc_rx_msg()
|
| /linux/sound/soc/sof/ |
| H A D | ipc3-dtrace.c | 63 int log_level, pipe_id, comp_id, read, ret; in trace_filter_parse_entry() local 73 ret = sscanf(line, " %d %x %d %d %n", &log_level, &uuid_id, &pipe_id, &comp_id, &read); in trace_filter_parse_entry() 85 if (pipe_id >= 0) { in trace_filter_parse_entry() 87 pipe_id, elem, capacity, &cnt); in trace_filter_parse_entry()
|