Home
last modified time | relevance | path

Searched refs:queue_id (Results 1 – 25 of 169) sorted by relevance

1234567

/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-cmd-queue.h170 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/
Dcvmx-cmd-queue.c112 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/
Dlpfc_debugfs.h393 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/
Dqueue.c31 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/
Dti-msgmgr.c46 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/
Damdgpu_amdkfd_gfx_v10.c66 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 …]
Damdgpu_amdkfd_gfx_v10_3.c65 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 …]
Damdgpu_amdkfd_gfx_v9.h33 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);
Damdgpu_amdkfd_gfx_v9.c70 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 …]
Damdgpu_amdkfd_gfx_v8.c66 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 …]
Damdgpu_amdkfd_gfx_v7.c109 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/
Dbufq.c195 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/
Dgve_adminq.h115 __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/
Dkgd_kfd_interface.h240 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/
Dxsk_buff_pool.c113 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 …]
Dxsk.c97 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/
Dphy.c381 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/
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
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 …]
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
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 …]
Dkfd_mqd_manager_cik.c166 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
Dkfd_mqd_manager.h78 uint32_t pipe_id, uint32_t queue_id,
88 uint32_t queue_id);
95 uint32_t queue_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()
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/
Dbnxt_dcb.c24 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/
Dkfd_ioctl.h61 __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/
Dkfd_ioctl.h45 __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

1234567