Home
last modified time | relevance | path

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

12345678

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_xdp.c39 struct xsk_buff_pool *pool, u16 queue_id) in igc_xdp_enable_pool() argument
49 if (queue_id >= adapter->num_rx_queues || in igc_xdp_enable_pool()
50 queue_id >= adapter->num_tx_queues) in igc_xdp_enable_pool()
71 rx_ring = adapter->rx_ring[queue_id]; in igc_xdp_enable_pool()
72 tx_ring = adapter->tx_ring[queue_id]; in igc_xdp_enable_pool()
90 err = igc_xsk_wakeup(ndev, queue_id, XDP_WAKEUP_RX); in igc_xdp_enable_pool()
100 static int igc_xdp_disable_pool(struct igc_adapter *adapter, u16 queue_id) in igc_xdp_disable_pool() argument
107 if (queue_id >= adapter->num_rx_queues || in igc_xdp_disable_pool()
108 queue_id >= adapter->num_tx_queues) in igc_xdp_disable_pool()
111 pool = xsk_get_pool_from_qid(adapter->netdev, queue_id); in igc_xdp_disable_pool()
[all …]
/linux-6.1.9/arch/mips/cavium-octeon/executive/
Dcvmx-cmd-queue.c108 cvmx_cmd_queue_result_t cvmx_cmd_queue_initialize(cvmx_cmd_queue_id_t queue_id, in cvmx_cmd_queue_initialize() argument
117 qstate = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_initialize()
188 ticket[__cvmx_cmd_queue_get_index(queue_id)] = 0; in cvmx_cmd_queue_initialize()
203 cvmx_cmd_queue_result_t cvmx_cmd_queue_shutdown(cvmx_cmd_queue_id_t queue_id) in cvmx_cmd_queue_shutdown() argument
205 __cvmx_cmd_queue_state_t *qptr = __cvmx_cmd_queue_get_state(queue_id); in cvmx_cmd_queue_shutdown()
212 if (cvmx_cmd_queue_length(queue_id) > 0) { in cvmx_cmd_queue_shutdown()
218 __cvmx_cmd_queue_lock(queue_id, qptr); in cvmx_cmd_queue_shutdown()
238 int cvmx_cmd_queue_length(cvmx_cmd_queue_id_t queue_id) in cvmx_cmd_queue_length() argument
241 if (__cvmx_cmd_queue_get_state(queue_id) == NULL) in cvmx_cmd_queue_length()
249 switch ((cvmx_cmd_queue_id_t) (queue_id & 0xff0000)) { in cvmx_cmd_queue_length()
[all …]
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_debugfs.h402 q->queue_id, q->type, q->subtype, in lpfc_debug_dump_q()
442 qtypestr, wqidx, wq->queue_id); in lpfc_debug_dump_wq()
445 qtypestr, wq->queue_id); in lpfc_debug_dump_wq()
490 if (cq->assoc_qid == eq->queue_id) in lpfc_debug_dump_cq()
502 qtypestr, wqidx, wq->queue_id, wqidx, cq->queue_id, in lpfc_debug_dump_cq()
503 eqidx, eq->queue_id); in lpfc_debug_dump_cq()
507 qtypestr, wq->queue_id, cq->queue_id, in lpfc_debug_dump_cq()
508 eqidx, eq->queue_id); in lpfc_debug_dump_cq()
528 pr_err("EQ[Idx:%d|Qid:%d]\n", qidx, qp->queue_id); in lpfc_debug_dump_hba_eq()
543 phba->sli4_hba.dat_rq->queue_id); in lpfc_debug_dump_dat_rq()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v11.c55 uint32_t queue_id) in acquire_queue() argument
60 lock_srbm(adev, mec, pipe, queue_id, 0); in acquire_queue()
64 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument
67 queue_id; in get_queue_mask()
125 unsigned int queue_id) in get_sdma_rlc_reg_offset() argument
144 + queue_id * (regSDMA0_QUEUE1_RB_CNTL - regSDMA0_QUEUE0_RB_CNTL); in get_sdma_rlc_reg_offset()
147 queue_id, sdma_rlc_reg_offset); in get_sdma_rlc_reg_offset()
163 uint32_t queue_id, uint32_t __user *wptr, in hqd_load_v11() argument
173 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in hqd_load_v11()
174 acquire_queue(adev, pipe_id, queue_id); in hqd_load_v11()
[all …]
Damdgpu_amdkfd_gfx_v10.c56 uint32_t queue_id) in acquire_queue() argument
61 lock_srbm(adev, mec, pipe, queue_id, 0); in acquire_queue()
65 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument
68 queue_id; in get_queue_mask()
159 unsigned int queue_id) in get_sdma_rlc_reg_offset() argument
175 + queue_id * (mmSDMA0_RLC1_RB_CNTL - mmSDMA0_RLC0_RB_CNTL); in get_sdma_rlc_reg_offset()
178 queue_id, retval); in get_sdma_rlc_reg_offset()
206 uint32_t pipe_id, uint32_t queue_id, in kgd_hqd_load() argument
216 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in kgd_hqd_load()
217 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_load()
[all …]
Damdgpu_amdkfd_gfx_v10_3.c57 uint32_t queue_id) in acquire_queue() argument
62 lock_srbm(adev, mec, pipe, queue_id, 0); in acquire_queue()
66 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument
69 queue_id; in get_queue_mask()
129 unsigned int queue_id) in get_sdma_rlc_reg_offset() argument
159 + queue_id * (mmSDMA0_RLC1_RB_CNTL - mmSDMA0_RLC0_RB_CNTL); in get_sdma_rlc_reg_offset()
162 queue_id, sdma_rlc_reg_offset); in get_sdma_rlc_reg_offset()
178 uint32_t pipe_id, uint32_t queue_id, in hqd_load_v10_3() argument
188 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in hqd_load_v10_3()
189 acquire_queue(adev, pipe_id, queue_id); in hqd_load_v10_3()
[all …]
Damdgpu_amdkfd_gfx_v9.c63 uint32_t queue_id) in acquire_queue() argument
68 lock_srbm(adev, mec, pipe, queue_id, 0); in acquire_queue()
72 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument
75 queue_id; in get_queue_mask()
180 unsigned int queue_id) in get_sdma_rlc_reg_offset() argument
202 + queue_id * (mmSDMA0_RLC1_RB_CNTL - mmSDMA0_RLC0_RB_CNTL); in get_sdma_rlc_reg_offset()
205 queue_id, sdma_rlc_reg_offset); in get_sdma_rlc_reg_offset()
221 uint32_t pipe_id, uint32_t queue_id, in kgd_gfx_v9_hqd_load() argument
231 acquire_queue(adev, pipe_id, queue_id); in kgd_gfx_v9_hqd_load()
283 (uint32_t)get_queue_mask(adev, pipe_id, queue_id)); in kgd_gfx_v9_hqd_load()
[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,
44 uint32_t queue_id);
48 uint32_t queue_id);
Damdgpu_amdkfd_gfx_v8.c58 uint32_t queue_id) in acquire_queue() argument
63 lock_srbm(adev, mec, pipe, queue_id, 0); in acquire_queue()
154 uint32_t pipe_id, uint32_t queue_id, in kgd_hqd_load() argument
165 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_load()
175 mec, pipe, queue_id); in kgd_hqd_load()
178 ((mec << 5) | (pipe << 3) | queue_id | 0x80)); in kgd_hqd_load()
215 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_load()
228 uint32_t pipe_id, uint32_t queue_id, in kgd_hqd_dump() argument
244 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_dump()
317 uint32_t engine_id, uint32_t queue_id, in kgd_hqd_sdma_dump() argument
[all …]
Damdgpu_amdkfd_gfx_v7.c64 uint32_t queue_id) in acquire_queue() argument
69 lock_srbm(adev, mec, pipe, queue_id, 0); in acquire_queue()
159 uint32_t pipe_id, uint32_t queue_id, in kgd_hqd_load() argument
170 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_load()
191 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_load()
204 uint32_t pipe_id, uint32_t queue_id, in kgd_hqd_dump() argument
220 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_dump()
294 uint32_t engine_id, uint32_t queue_id, in kgd_hqd_sdma_dump() argument
298 queue_id * KFD_CIK_SDMA_QUEUE_OFFSET; in kgd_hqd_sdma_dump()
321 uint32_t queue_id) in kgd_hqd_is_occupied() argument
[all …]
Damdgpu_amdkfd_arcturus.c67 unsigned int queue_id) in get_sdma_rlc_reg_offset() argument
113 + queue_id * (mmSDMA0_RLC1_RB_CNTL - mmSDMA0_RLC0_RB_CNTL); in get_sdma_rlc_reg_offset()
116 queue_id, sdma_rlc_reg_offset); in get_sdma_rlc_reg_offset()
191 uint32_t engine_id, uint32_t queue_id, in kgd_arcturus_hqd_sdma_dump() argument
195 engine_id, queue_id); in kgd_arcturus_hqd_sdma_dump()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager.h79 uint32_t pipe_id, uint32_t queue_id,
90 uint32_t queue_id);
97 uint32_t queue_id);
141 uint32_t pipe_id, uint32_t queue_id,
146 uint32_t pipe_id, uint32_t queue_id);
153 uint32_t queue_id);
156 uint32_t pipe_id, uint32_t queue_id,
161 uint32_t pipe_id, uint32_t queue_id);
165 uint32_t queue_id);
Dkfd_mqd_manager.c188 uint32_t pipe_id, uint32_t queue_id, in kfd_hiq_load_mqd_kiq() argument
192 queue_id, p->doorbell_off); in kfd_hiq_load_mqd_kiq()
197 uint32_t pipe_id, uint32_t queue_id) in kfd_destroy_mqd_cp() argument
200 pipe_id, queue_id); in kfd_destroy_mqd_cp()
216 uint32_t queue_id) in kfd_is_occupied_cp() argument
219 pipe_id, queue_id); in kfd_is_occupied_cp()
223 uint32_t pipe_id, uint32_t queue_id, in kfd_load_mqd_sdma() argument
238 uint32_t queue_id) in kfd_destroy_mqd_sdma() argument
245 uint32_t queue_id) in kfd_is_occupied_sdma() argument
/linux-6.1.9/drivers/net/wireless/st/cw1200/
Dqueue.c32 queue->queue_id); in __cw1200_queue_lock()
33 ieee80211_stop_queue(stats->priv->hw, queue->queue_id); in __cw1200_queue_lock()
43 queue->queue_id); in __cw1200_queue_unlock()
44 ieee80211_wake_queue(stats->priv->hw, queue->queue_id); in __cw1200_queue_unlock()
49 u8 *queue_id, u8 *item_generation, in cw1200_queue_parse_id() argument
54 *queue_id = (packet_id >> 16) & 0xFF; in cw1200_queue_parse_id()
58 static inline u32 cw1200_queue_mk_packet_id(u8 queue_generation, u8 queue_id, in cw1200_queue_mk_packet_id() argument
63 ((u32)queue_id << 16) | in cw1200_queue_mk_packet_id()
166 u8 queue_id, in cw1200_queue_init() argument
175 queue->queue_id = queue_id; in cw1200_queue_init()
[all …]
/linux-6.1.9/drivers/mailbox/
Dti-msgmgr.c47 u8 queue_id; member
108 u8 queue_id; member
467 "rx_%03d", d->is_sproxy ? qinst->proxy_id : qinst->queue_id); in ti_msgmgr_queue_rx_irq_req()
480 qinst->queue_id, qinst->proxy_id, in ti_msgmgr_queue_rx_irq_req()
608 if (req_qid == qinst->queue_id && req_pid == qinst->proxy_id) in ti_msgmgr_of_xlate()
642 qinst->queue_id = qd->queue_id; in ti_msgmgr_queue_setup()
644 if (qinst->queue_id > d->queue_count) { in ti_msgmgr_queue_setup()
646 idx, qinst->queue_id, d->queue_count); in ti_msgmgr_queue_setup()
668 Q_DATA_OFFSET(qinst->proxy_id, qinst->queue_id, in ti_msgmgr_queue_setup()
671 Q_DATA_OFFSET(qinst->proxy_id, qinst->queue_id, in ti_msgmgr_queue_setup()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h241 uint32_t queue_id, uint32_t __user *wptr,
246 uint32_t pipe_id, uint32_t queue_id,
253 uint32_t pipe_id, uint32_t queue_id,
257 uint32_t engine_id, uint32_t queue_id,
262 uint32_t queue_id);
267 uint32_t queue_id);
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_adminq.h179 __be32 queue_id; member
194 __be32 queue_id; member
225 __be32 queue_id; member
231 __be32 queue_id; member
265 __be32 queue_id; member
366 int gve_adminq_destroy_tx_queues(struct gve_priv *priv, u32 queue_id);
368 int gve_adminq_destroy_rx_queues(struct gve_priv *priv, u32 queue_id);
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net_xsk.c111 struct xsk_buff_pool *pool, u16 queue_id) in nfp_net_xsk_setup_pool() argument
143 prev_pool = dp->xsk_pools[queue_id]; in nfp_net_xsk_setup_pool()
144 dp->xsk_pools[queue_id] = pool; in nfp_net_xsk_setup_pool()
162 int nfp_net_xsk_wakeup(struct net_device *netdev, u32 queue_id, u32 flags) in nfp_net_xsk_wakeup() argument
171 napi_schedule(&nn->r_vecs[queue_id].napi); in nfp_net_xsk_wakeup()
/linux-6.1.9/net/xdp/
Dxsk_buff_pool.c134 bpf.xsk.queue_id = pool->queue_id; in xp_disable_drv_zc()
144 struct net_device *netdev, u16 queue_id, u16 flags) in xp_assign_dev() argument
158 if (xsk_get_pool_from_qid(netdev, queue_id)) in xp_assign_dev()
162 pool->queue_id = queue_id; in xp_assign_dev()
163 err = xsk_reg_pool_at_qid(netdev, pool, queue_id); in xp_assign_dev()
189 bpf.xsk.queue_id = queue_id; in xp_assign_dev()
209 xsk_clear_pool_at_qid(netdev, queue_id); in xp_assign_dev()
216 struct net_device *dev, u16 queue_id) in xp_assign_dev_shared() argument
229 return xp_assign_dev(pool, dev, queue_id, flags); in xp_assign_dev_shared()
238 xsk_clear_pool_at_qid(pool->netdev, pool->queue_id); in xp_clear_dev()
Dxsk.c98 u16 queue_id) in xsk_get_pool_from_qid() argument
100 if (queue_id < dev->real_num_rx_queues) in xsk_get_pool_from_qid()
101 return dev->_rx[queue_id].pool; in xsk_get_pool_from_qid()
102 if (queue_id < dev->real_num_tx_queues) in xsk_get_pool_from_qid()
103 return dev->_tx[queue_id].pool; in xsk_get_pool_from_qid()
109 void xsk_clear_pool_at_qid(struct net_device *dev, u16 queue_id) in xsk_clear_pool_at_qid() argument
111 if (queue_id < dev->num_rx_queues) in xsk_clear_pool_at_qid()
112 dev->_rx[queue_id].pool = NULL; in xsk_clear_pool_at_qid()
113 if (queue_id < dev->num_tx_queues) in xsk_clear_pool_at_qid()
114 dev->_tx[queue_id].pool = NULL; in xsk_clear_pool_at_qid()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c25 static int bnxt_queue_to_tc(struct bnxt *bp, u8 queue_id) in bnxt_queue_to_tc() argument
30 if (bp->q_info[i].queue_id == queue_id) { in bnxt_queue_to_tc()
61 pri2cos[i] = bp->q_info[qidx].queue_id; in bnxt_hwrm_queue_pri2cos_cfg()
84 u8 queue_id = pri2cos[i]; in bnxt_hwrm_queue_pri2cos_qcfg() local
87 tc = bnxt_queue_to_tc(bp, queue_id); in bnxt_hwrm_queue_pri2cos_qcfg()
116 cos2bw.queue_id = bp->q_info[qidx].queue_id; in bnxt_hwrm_queue_cos2bw_cfg()
133 memcpy(data, &cos2bw.queue_id, sizeof(cos2bw) - 4); in bnxt_hwrm_queue_cos2bw_cfg()
135 req->queue_id0 = cos2bw.queue_id; in bnxt_hwrm_queue_cos2bw_cfg()
161 data = &resp->queue_id0 + offsetof(struct bnxt_cos2bw_cfg, queue_id); in bnxt_hwrm_queue_cos2bw_qcfg()
167 cos2bw.queue_id = resp->queue_id0; in bnxt_hwrm_queue_cos2bw_qcfg()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dphy.c407 u8 i, queue_id; in _rtl92ce_phy_set_rf_power_state() local
462 for (queue_id = 0, i = 0; in _rtl92ce_phy_set_rf_power_state()
463 queue_id < RTL_PCI_MAX_TX_QUEUE_COUNT;) { in _rtl92ce_phy_set_rf_power_state()
464 ring = &pcipriv->dev.tx_ring[queue_id]; in _rtl92ce_phy_set_rf_power_state()
465 if (queue_id == BEACON_QUEUE || in _rtl92ce_phy_set_rf_power_state()
467 queue_id++; in _rtl92ce_phy_set_rf_power_state()
472 i + 1, queue_id, in _rtl92ce_phy_set_rf_power_state()
482 queue_id, in _rtl92ce_phy_set_rf_power_state()

12345678