/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
D | cvmx-cmd-queue.h | 170 cvmx_cmd_queue_result_t cvmx_cmd_queue_initialize(cvmx_cmd_queue_id_t queue_id, 183 cvmx_cmd_queue_result_t cvmx_cmd_queue_shutdown(cvmx_cmd_queue_id_t queue_id); 193 int cvmx_cmd_queue_length(cvmx_cmd_queue_id_t queue_id); 205 void *cvmx_cmd_queue_buffer(cvmx_cmd_queue_id_t queue_id); 214 static inline int __cvmx_cmd_queue_get_index(cvmx_cmd_queue_id_t queue_id) in __cvmx_cmd_queue_get_index() argument 223 int unit = queue_id >> 16; in __cvmx_cmd_queue_get_index() 224 int q = (queue_id >> 4) & 0xf; in __cvmx_cmd_queue_get_index() 225 int core = queue_id & 0xf; in __cvmx_cmd_queue_get_index() 236 static inline void __cvmx_cmd_queue_lock(cvmx_cmd_queue_id_t queue_id, in __cvmx_cmd_queue_lock() argument 278 … "=" GCC_OFF_SMALL_ASM()(__cvmx_cmd_queue_state_ptr->ticket[__cvmx_cmd_queue_get_index(queue_id)]), in __cvmx_cmd_queue_lock() [all …]
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/ |
D | cvmx-cmd-queue.c | 112 cvmx_cmd_queue_result_t cvmx_cmd_queue_initialize(cvmx_cmd_queue_id_t queue_id, in cvmx_cmd_queue_initialize() argument 121 qstate = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_initialize() 192 ticket[__cvmx_cmd_queue_get_index(queue_id)] = 0; in cvmx_cmd_queue_initialize() 207 cvmx_cmd_queue_result_t cvmx_cmd_queue_shutdown(cvmx_cmd_queue_id_t queue_id) in cvmx_cmd_queue_shutdown() argument 209 __cvmx_cmd_queue_state_t *qptr = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_shutdown() 216 if (cvmx_cmd_queue_length(queue_id) > 0) { in cvmx_cmd_queue_shutdown() 222 __cvmx_cmd_queue_lock(queue_id, qptr); in cvmx_cmd_queue_shutdown() 242 int cvmx_cmd_queue_length(cvmx_cmd_queue_id_t queue_id) in cvmx_cmd_queue_length() argument 245 if (__cvmx_cmd_queue_get_state(queue_id) == NULL) in cvmx_cmd_queue_length() 253 switch ((cvmx_cmd_queue_id_t) (queue_id & 0xff0000)) { in cvmx_cmd_queue_length() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_debugfs.h | 393 q->queue_id, q->type, q->subtype, in lpfc_debug_dump_q() 433 qtypestr, wqidx, wq->queue_id); in lpfc_debug_dump_wq() 436 qtypestr, wq->queue_id); in lpfc_debug_dump_wq() 481 if (cq->assoc_qid == eq->queue_id) in lpfc_debug_dump_cq() 493 qtypestr, wqidx, wq->queue_id, wqidx, cq->queue_id, in lpfc_debug_dump_cq() 494 eqidx, eq->queue_id); in lpfc_debug_dump_cq() 498 qtypestr, wq->queue_id, cq->queue_id, in lpfc_debug_dump_cq() 499 eqidx, eq->queue_id); in lpfc_debug_dump_cq() 519 pr_err("EQ[Idx:%d|Qid:%d]\n", qidx, qp->queue_id); in lpfc_debug_dump_hba_eq() 534 phba->sli4_hba.dat_rq->queue_id); in lpfc_debug_dump_dat_rq() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
D | queue.c | 31 queue->queue_id); in __cw1200_queue_lock() 32 ieee80211_stop_queue(stats->priv->hw, queue->queue_id); in __cw1200_queue_lock() 42 queue->queue_id); in __cw1200_queue_unlock() 43 ieee80211_wake_queue(stats->priv->hw, queue->queue_id); in __cw1200_queue_unlock() 48 u8 *queue_id, u8 *item_generation, in cw1200_queue_parse_id() argument 53 *queue_id = (packet_id >> 16) & 0xFF; in cw1200_queue_parse_id() 57 static inline u32 cw1200_queue_mk_packet_id(u8 queue_generation, u8 queue_id, in cw1200_queue_mk_packet_id() argument 62 ((u32)queue_id << 16) | in cw1200_queue_mk_packet_id() 163 u8 queue_id, in cw1200_queue_init() argument 172 queue->queue_id = queue_id; in cw1200_queue_init() [all …]
|
/kernel/linux/linux-5.10/drivers/mailbox/ |
D | ti-msgmgr.c | 46 u8 queue_id; member 106 u8 queue_id; member 417 "rx_%03d", d->is_sproxy ? qinst->proxy_id : qinst->queue_id); in ti_msgmgr_queue_rx_irq_req() 430 qinst->queue_id, qinst->proxy_id, in ti_msgmgr_queue_rx_irq_req() 558 if (req_qid == qinst->queue_id && req_pid == qinst->proxy_id) in ti_msgmgr_of_xlate() 592 qinst->queue_id = qd->queue_id; in ti_msgmgr_queue_setup() 594 if (qinst->queue_id > d->queue_count) { in ti_msgmgr_queue_setup() 596 idx, qinst->queue_id, d->queue_count); in ti_msgmgr_queue_setup() 618 Q_DATA_OFFSET(qinst->proxy_id, qinst->queue_id, in ti_msgmgr_queue_setup() 621 Q_DATA_OFFSET(qinst->proxy_id, qinst->queue_id, in ti_msgmgr_queue_setup() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gfx_v10.c | 66 uint32_t queue_id) in acquire_queue() argument 73 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 77 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument 80 queue_id; in get_queue_mask() 176 unsigned int queue_id) in get_sdma_rlc_reg_offset() argument 192 + queue_id * (mmSDMA0_RLC1_RB_CNTL - mmSDMA0_RLC0_RB_CNTL); in get_sdma_rlc_reg_offset() 195 queue_id, retval); in get_sdma_rlc_reg_offset() 223 uint32_t queue_id, uint32_t __user *wptr, in kgd_hqd_load() argument 234 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in kgd_hqd_load() 235 acquire_queue(kgd, pipe_id, queue_id); in kgd_hqd_load() [all …]
|
D | amdgpu_amdkfd_gfx_v10_3.c | 65 uint32_t queue_id) in acquire_queue() argument 72 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 76 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument 79 queue_id; in get_queue_mask() 144 unsigned int queue_id) in get_sdma_rlc_reg_offset() argument 174 + queue_id * (mmSDMA0_RLC1_RB_CNTL - mmSDMA0_RLC0_RB_CNTL); in get_sdma_rlc_reg_offset() 177 queue_id, sdma_rlc_reg_offset); in get_sdma_rlc_reg_offset() 193 uint32_t queue_id, uint32_t __user *wptr, 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() 205 acquire_queue(kgd, pipe_id, queue_id); in hqd_load_v10_3() [all …]
|
D | amdgpu_amdkfd_gfx_v9.h | 33 uint32_t queue_id, uint32_t __user *wptr, 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); 47 uint32_t queue_id);
|
D | amdgpu_amdkfd_gfx_v9.c | 70 uint32_t queue_id) in acquire_queue() argument 77 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 81 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument 84 queue_id; in get_queue_mask() 194 unsigned int queue_id) in get_sdma_rlc_reg_offset() argument 216 + queue_id * (mmSDMA0_RLC1_RB_CNTL - mmSDMA0_RLC0_RB_CNTL); in get_sdma_rlc_reg_offset() 219 queue_id, sdma_rlc_reg_offset); in get_sdma_rlc_reg_offset() 235 uint32_t queue_id, uint32_t __user *wptr, in kgd_gfx_v9_hqd_load() argument 246 acquire_queue(kgd, pipe_id, queue_id); in kgd_gfx_v9_hqd_load() 298 (uint32_t)get_queue_mask(adev, pipe_id, queue_id)); in kgd_gfx_v9_hqd_load() [all …]
|
D | amdgpu_amdkfd_gfx_v8.c | 66 uint32_t queue_id) in acquire_queue() argument 73 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 169 uint32_t queue_id, uint32_t __user *wptr, in kgd_hqd_load() argument 181 acquire_queue(kgd, pipe_id, queue_id); in kgd_hqd_load() 191 mec, pipe, queue_id); in kgd_hqd_load() 194 ((mec << 5) | (pipe << 3) | queue_id | 0x80)); in kgd_hqd_load() 231 acquire_queue(kgd, pipe_id, queue_id); in kgd_hqd_load() 244 uint32_t pipe_id, uint32_t queue_id, in kgd_hqd_dump() argument 261 acquire_queue(kgd, pipe_id, queue_id); in kgd_hqd_dump() 335 uint32_t engine_id, uint32_t queue_id, in kgd_hqd_sdma_dump() argument [all …]
|
D | amdgpu_amdkfd_gfx_v7.c | 109 uint32_t queue_id) in acquire_queue() argument 116 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 211 uint32_t queue_id, uint32_t __user *wptr, 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 274 acquire_queue(kgd, pipe_id, queue_id); in kgd_hqd_dump() 349 uint32_t engine_id, uint32_t queue_id, in kgd_hqd_sdma_dump() argument 354 queue_id * KFD_CIK_SDMA_QUEUE_OFFSET; in kgd_hqd_sdma_dump() 376 uint32_t pipe_id, uint32_t queue_id) in kgd_hqd_is_occupied() argument [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/bufq/src/ |
D | bufq.c | 195 int queue_id; in unmap_buffer_type_to_queue_id() local 202 queue_id = buffer_type_to_queue_id_map[thread_id][buf_type]; in unmap_buffer_type_to_queue_id() 204 queue_availability[thread_id][queue_id] = true; in unmap_buffer_type_to_queue_id() 328 int queue_id, in ia_css_bufq_enqueue_buffer() argument 334 IA_CSS_ENTER_PRIVATE("queue_id=%d", queue_id); in ia_css_bufq_enqueue_buffer() 336 (queue_id == SH_CSS_INVALID_QUEUE_ID)) in ia_css_bufq_enqueue_buffer() 341 queue_id, in ia_css_bufq_enqueue_buffer() 355 int queue_id, in ia_css_bufq_dequeue_buffer() argument 361 IA_CSS_ENTER_PRIVATE("queue_id=%d", queue_id); in ia_css_bufq_dequeue_buffer() 363 (queue_id <= SH_CSS_INVALID_QUEUE_ID) || in ia_css_bufq_dequeue_buffer() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
D | gve_adminq.h | 115 __be32 queue_id; member 126 __be32 queue_id; member 153 __be32 queue_id; member 159 __be32 queue_id; member 193 __be32 queue_id; member 258 int gve_adminq_destroy_tx_queues(struct gve_priv *priv, u32 queue_id); 260 int gve_adminq_destroy_rx_queues(struct gve_priv *priv, u32 queue_id);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/ |
D | kgd_kfd_interface.h | 240 uint32_t queue_id, uint32_t __user *wptr, 245 uint32_t pipe_id, uint32_t queue_id, 252 uint32_t pipe_id, uint32_t queue_id, 256 uint32_t engine_id, uint32_t queue_id, 260 uint32_t pipe_id, uint32_t queue_id); 264 uint32_t queue_id);
|
/kernel/linux/linux-5.10/net/xdp/ |
D | xsk_buff_pool.c | 113 bpf.xsk.queue_id = pool->queue_id; in xp_disable_drv_zc() 123 struct net_device *netdev, u16 queue_id, u16 flags) in __xp_assign_dev() argument 137 if (xsk_get_pool_from_qid(netdev, queue_id)) in __xp_assign_dev() 141 pool->queue_id = queue_id; in __xp_assign_dev() 142 err = xsk_reg_pool_at_qid(netdev, pool, queue_id); in __xp_assign_dev() 169 bpf.xsk.queue_id = queue_id; in __xp_assign_dev() 189 xsk_clear_pool_at_qid(netdev, queue_id); in __xp_assign_dev() 196 u16 queue_id, u16 flags) in xp_assign_dev() argument 198 return __xp_assign_dev(pool, dev, queue_id, flags); in xp_assign_dev() 202 struct net_device *dev, u16 queue_id) in xp_assign_dev_shared() argument [all …]
|
D | xsk.c | 97 u16 queue_id) in xsk_get_pool_from_qid() argument 99 if (queue_id < dev->real_num_rx_queues) in xsk_get_pool_from_qid() 100 return dev->_rx[queue_id].pool; in xsk_get_pool_from_qid() 101 if (queue_id < dev->real_num_tx_queues) in xsk_get_pool_from_qid() 102 return dev->_tx[queue_id].pool; in xsk_get_pool_from_qid() 108 void xsk_clear_pool_at_qid(struct net_device *dev, u16 queue_id) in xsk_clear_pool_at_qid() argument 110 if (queue_id < dev->num_rx_queues) in xsk_clear_pool_at_qid() 111 dev->_rx[queue_id].pool = NULL; in xsk_clear_pool_at_qid() 112 if (queue_id < dev->num_tx_queues) in xsk_clear_pool_at_qid() 113 dev->_tx[queue_id].pool = NULL; in xsk_clear_pool_at_qid() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | phy.c | 381 u8 i, queue_id; in _rtl92cu_phy_set_rf_power_state() local 416 for (queue_id = 0, i = 0; in _rtl92cu_phy_set_rf_power_state() 417 queue_id < RTL_PCI_MAX_TX_QUEUE_COUNT;) { in _rtl92cu_phy_set_rf_power_state() 418 ring = &pcipriv->dev.tx_ring[queue_id]; in _rtl92cu_phy_set_rf_power_state() 420 queue_id == BEACON_QUEUE) { in _rtl92cu_phy_set_rf_power_state() 421 queue_id++; in _rtl92cu_phy_set_rf_power_state() 427 queue_id, in _rtl92cu_phy_set_rf_power_state() 436 queue_id, in _rtl92cu_phy_set_rf_power_state() 459 for (queue_id = 0, i = 0; in _rtl92cu_phy_set_rf_power_state() 460 queue_id < RTL_PCI_MAX_TX_QUEUE_COUNT;) { in _rtl92cu_phy_set_rf_power_state() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_mqd_manager_v10.c | 143 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 161 queue_id, p->doorbell_off); in hiq_load_mqd_kiq() 230 uint32_t queue_id) in destroy_mqd() argument 234 pipe_id, queue_id); in destroy_mqd() 245 uint32_t queue_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 354 uint32_t queue_id) in destroy_mqd_sdma() argument [all …]
|
D | kfd_mqd_manager_v9.c | 195 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 211 queue_id, p->doorbell_off); in hiq_load_mqd_kiq() 282 uint32_t queue_id) in destroy_mqd() argument 286 pipe_id, queue_id); in destroy_mqd() 304 uint32_t queue_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 409 uint32_t queue_id) in destroy_mqd_sdma() argument [all …]
|
D | kfd_mqd_manager_cik.c | 166 uint32_t queue_id, struct queue_properties *p, 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 265 uint32_t queue_id) in destroy_mqd() argument 268 pipe_id, queue_id); in destroy_mqd() 278 uint32_t queue_id) in destroy_mqd_sdma() argument 285 uint32_t queue_id) in is_occupied() argument 289 pipe_id, queue_id); in is_occupied() 295 uint32_t queue_id) in is_occupied_sdma() argument
|
D | kfd_mqd_manager.h | 78 uint32_t pipe_id, uint32_t queue_id, 88 uint32_t queue_id); 95 uint32_t queue_id);
|
D | kfd_mqd_manager_vi.c | 157 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() 255 uint32_t queue_id) in destroy_mqd() argument 259 pipe_id, queue_id); in destroy_mqd() 270 uint32_t queue_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 378 uint32_t queue_id) in destroy_mqd_sdma() argument 385 uint32_t queue_id) in is_occupied_sdma() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_dcb.c | 24 static int bnxt_queue_to_tc(struct bnxt *bp, u8 queue_id) in bnxt_queue_to_tc() argument 29 if (bp->q_info[i].queue_id == queue_id) { in bnxt_queue_to_tc() 57 pri2cos[i] = bp->q_info[qidx].queue_id; in bnxt_hwrm_queue_pri2cos_cfg() 78 u8 queue_id = pri2cos[i]; in bnxt_hwrm_queue_pri2cos_qcfg() local 81 tc = bnxt_queue_to_tc(bp, queue_id); in bnxt_hwrm_queue_pri2cos_qcfg() 107 cos2bw.queue_id = bp->q_info[qidx].queue_id; in bnxt_hwrm_queue_cos2bw_cfg() 124 memcpy(data, &cos2bw.queue_id, sizeof(cos2bw) - 4); in bnxt_hwrm_queue_cos2bw_cfg() 126 req.queue_id0 = cos2bw.queue_id; in bnxt_hwrm_queue_cos2bw_cfg() 150 data = &resp->queue_id0 + offsetof(struct bnxt_cos2bw_cfg, queue_id); in bnxt_hwrm_queue_cos2bw_qcfg() 154 memcpy(&cos2bw.queue_id, data, sizeof(cos2bw) - 4); in bnxt_hwrm_queue_cos2bw_qcfg() [all …]
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | kfd_ioctl.h | 61 __u32 queue_id; /* from KFD */ member 71 __u32 queue_id; /* to KFD */ member 78 __u32 queue_id; /* to KFD */ member 85 __u32 queue_id; /* to KFD */ member 94 __u32 queue_id; /* to KFD */ member 425 __u32 queue_id; /* to KFD */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | kfd_ioctl.h | 45 __u32 queue_id; member 53 __u32 queue_id; member 58 __u32 queue_id; member 64 __u32 queue_id; member 72 __u32 queue_id; member 271 __u32 queue_id; member
|