/linux-6.6.21/drivers/net/ethernet/engleder/ |
D | tsnep_xdp.c | 22 struct xsk_buff_pool *pool, u16 queue_id) in tsnep_xdp_enable_pool() argument 27 if (queue_id >= adapter->num_rx_queues || in tsnep_xdp_enable_pool() 28 queue_id >= adapter->num_tx_queues) in tsnep_xdp_enable_pool() 31 queue = &adapter->queue[queue_id]; in tsnep_xdp_enable_pool() 32 if (queue->rx->queue_index != queue_id || in tsnep_xdp_enable_pool() 33 queue->tx->queue_index != queue_id) { in tsnep_xdp_enable_pool() 58 static int tsnep_xdp_disable_pool(struct tsnep_adapter *adapter, u16 queue_id) in tsnep_xdp_disable_pool() argument 63 if (queue_id >= adapter->num_rx_queues || in tsnep_xdp_disable_pool() 64 queue_id >= adapter->num_tx_queues) in tsnep_xdp_disable_pool() 67 pool = xsk_get_pool_from_qid(adapter->netdev, queue_id); in tsnep_xdp_disable_pool() [all …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/net/ethernet/intel/igc/ |
D | igc_xdp.c | 44 struct xsk_buff_pool *pool, u16 queue_id) in igc_xdp_enable_pool() argument 54 if (queue_id >= adapter->num_rx_queues || in igc_xdp_enable_pool() 55 queue_id >= adapter->num_tx_queues) in igc_xdp_enable_pool() 76 rx_ring = adapter->rx_ring[queue_id]; in igc_xdp_enable_pool() 77 tx_ring = adapter->tx_ring[queue_id]; in igc_xdp_enable_pool() 95 err = igc_xsk_wakeup(ndev, queue_id, XDP_WAKEUP_RX); in igc_xdp_enable_pool() 105 static int igc_xdp_disable_pool(struct igc_adapter *adapter, u16 queue_id) in igc_xdp_disable_pool() argument 112 if (queue_id >= adapter->num_rx_queues || in igc_xdp_disable_pool() 113 queue_id >= adapter->num_tx_queues) in igc_xdp_disable_pool() 116 pool = xsk_get_pool_from_qid(adapter->netdev, queue_id); in igc_xdp_disable_pool() [all …]
|
/linux-6.6.21/arch/mips/cavium-octeon/executive/ |
D | cvmx-cmd-queue.c | 108 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.6.21/drivers/scsi/lpfc/ |
D | lpfc_debugfs.h | 402 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.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gfx_v10_3.c | 58 uint32_t queue_id) in acquire_queue() argument 63 lock_srbm(adev, mec, pipe, queue_id, 0); in acquire_queue() 67 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument 70 queue_id; in get_queue_mask() 131 unsigned int queue_id) in get_sdma_rlc_reg_offset() argument 161 + queue_id * (mmSDMA0_RLC1_RB_CNTL - mmSDMA0_RLC0_RB_CNTL); in get_sdma_rlc_reg_offset() 164 queue_id, sdma_rlc_reg_offset); in get_sdma_rlc_reg_offset() 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() 191 acquire_queue(adev, pipe_id, queue_id); in hqd_load_v10_3() [all …]
|
D | amdgpu_amdkfd_gfx_v11.c | 56 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() 127 unsigned int queue_id) in get_sdma_rlc_reg_offset() argument 146 + queue_id * (regSDMA0_QUEUE1_RB_CNTL - regSDMA0_QUEUE0_RB_CNTL); in get_sdma_rlc_reg_offset() 149 queue_id, sdma_rlc_reg_offset); in get_sdma_rlc_reg_offset() 165 uint32_t queue_id, uint32_t __user *wptr, in hqd_load_v11() argument 175 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in hqd_load_v11() 176 acquire_queue(adev, pipe_id, queue_id); in hqd_load_v11() [all …]
|
D | amdgpu_amdkfd_gfx_v9.h | 32 uint32_t queue_id, uint32_t __user *wptr, 36 uint32_t pipe_id, uint32_t queue_id, 39 uint32_t pipe_id, uint32_t queue_id, 43 uint32_t queue_id, uint32_t inst); 47 uint32_t queue_id, uint32_t inst); 61 uint32_t queue_id, uint32_t inst); 63 uint32_t pipe_id, uint32_t queue_id);
|
D | amdgpu_amdkfd_gfx_v10.c | 58 uint32_t queue_id) in acquire_queue() argument 63 lock_srbm(adev, mec, pipe, queue_id, 0); in acquire_queue() 67 uint32_t pipe_id, uint32_t queue_id) in get_queue_mask() argument 70 queue_id; in get_queue_mask() 162 unsigned int queue_id) in get_sdma_rlc_reg_offset() argument 178 + queue_id * (mmSDMA0_RLC1_RB_CNTL - mmSDMA0_RLC0_RB_CNTL); in get_sdma_rlc_reg_offset() 181 queue_id, retval); in get_sdma_rlc_reg_offset() 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() 220 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_load() [all …]
|
D | amdgpu_amdkfd_gfx_v8.c | 58 uint32_t queue_id) in acquire_queue() argument 63 lock_srbm(adev, mec, pipe, queue_id, 0); in acquire_queue() 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() 176 mec, pipe, queue_id); in kgd_hqd_load() 179 ((mec << 5) | (pipe << 3) | queue_id | 0x80)); in kgd_hqd_load() 216 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_load() 229 uint32_t pipe_id, uint32_t queue_id, in kgd_hqd_dump() argument 245 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_dump() 318 uint32_t engine_id, uint32_t queue_id, in kgd_hqd_sdma_dump() argument [all …]
|
D | amdgpu_amdkfd_gfx_v7.c | 64 uint32_t queue_id) in acquire_queue() argument 69 lock_srbm(adev, mec, pipe, queue_id, 0); in acquire_queue() 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 221 acquire_queue(adev, pipe_id, queue_id); in kgd_hqd_dump() 295 uint32_t engine_id, uint32_t queue_id, in kgd_hqd_sdma_dump() argument 299 queue_id * KFD_CIK_SDMA_QUEUE_OFFSET; in kgd_hqd_sdma_dump() 322 uint32_t queue_id, uint32_t inst) in kgd_hqd_is_occupied() argument [all …]
|
D | amdgpu_amdkfd_gfx_v9.c | 64 uint32_t queue_id, uint32_t inst) in kgd_gfx_v9_acquire_queue() argument 69 kgd_gfx_v9_lock_srbm(adev, mec, pipe, queue_id, 0, inst); in kgd_gfx_v9_acquire_queue() 73 uint32_t pipe_id, uint32_t queue_id) in kgd_gfx_v9_get_queue_mask() argument 76 queue_id; in kgd_gfx_v9_get_queue_mask() 182 unsigned int queue_id) in get_sdma_rlc_reg_offset() argument 204 + queue_id * (mmSDMA0_RLC1_RB_CNTL - mmSDMA0_RLC0_RB_CNTL); in get_sdma_rlc_reg_offset() 207 queue_id, sdma_rlc_reg_offset); in get_sdma_rlc_reg_offset() 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() 287 (uint32_t)kgd_gfx_v9_get_queue_mask(adev, pipe_id, queue_id)); in kgd_gfx_v9_hqd_load() [all …]
|
D | amdgpu_amdkfd_gc_9_4_3.c | 45 unsigned int queue_id) in get_sdma_rlc_reg_offset() argument 52 queue_id * (regSDMA_RLC1_RB_CNTL - regSDMA_RLC0_RB_CNTL); in get_sdma_rlc_reg_offset() 55 queue_id, retval); in get_sdma_rlc_reg_offset() 129 uint32_t engine_id, uint32_t queue_id, in kgd_gfx_v9_4_3_hqd_sdma_dump() argument 133 engine_id, queue_id); in kgd_gfx_v9_4_3_hqd_sdma_dump() 285 uint32_t pipe_id, uint32_t queue_id, in kgd_gfx_v9_4_3_hqd_load() argument 295 kgd_gfx_v9_acquire_queue(adev, pipe_id, queue_id, inst); in kgd_gfx_v9_4_3_hqd_load() 350 queue_id)); in kgd_gfx_v9_4_3_hqd_load()
|
/linux-6.6.21/drivers/net/wireless/st/cw1200/ |
D | queue.c | 32 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.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_mqd_manager.h | 79 uint32_t pipe_id, uint32_t queue_id, 90 uint32_t queue_id); 97 uint32_t queue_id); 144 uint32_t pipe_id, uint32_t queue_id, 149 uint32_t pipe_id, uint32_t queue_id); 156 uint32_t queue_id); 159 uint32_t pipe_id, uint32_t queue_id, 164 uint32_t pipe_id, uint32_t queue_id); 168 uint32_t queue_id);
|
D | kfd_mqd_manager.c | 207 uint32_t pipe_id, uint32_t queue_id, in kfd_hiq_load_mqd_kiq() argument 211 queue_id, p->doorbell_off, 0); in kfd_hiq_load_mqd_kiq() 216 uint32_t pipe_id, uint32_t queue_id) in kfd_destroy_mqd_cp() argument 219 pipe_id, queue_id, 0); in kfd_destroy_mqd_cp() 235 uint32_t queue_id) in kfd_is_occupied_cp() argument 238 pipe_id, queue_id, 0); in kfd_is_occupied_cp() 242 uint32_t pipe_id, uint32_t queue_id, in kfd_load_mqd_sdma() argument 257 uint32_t queue_id) in kfd_destroy_mqd_sdma() argument 264 uint32_t queue_id) in kfd_is_occupied_sdma() argument
|
/linux-6.6.21/drivers/mailbox/ |
D | ti-msgmgr.c | 47 u8 queue_id; member 108 u8 queue_id; member 473 "rx_%03d", d->is_sproxy ? qinst->proxy_id : qinst->queue_id); in ti_msgmgr_queue_rx_irq_req() 486 qinst->queue_id, qinst->proxy_id, in ti_msgmgr_queue_rx_irq_req() 614 if (req_qid == qinst->queue_id && req_pid == qinst->proxy_id) in ti_msgmgr_of_xlate() 648 qinst->queue_id = qd->queue_id; in ti_msgmgr_queue_setup() 650 if (qinst->queue_id > d->queue_count) { in ti_msgmgr_queue_setup() 652 idx, qinst->queue_id, d->queue_count); in ti_msgmgr_queue_setup() 674 Q_DATA_OFFSET(qinst->proxy_id, qinst->queue_id, in ti_msgmgr_queue_setup() 677 Q_DATA_OFFSET(qinst->proxy_id, qinst->queue_id, in ti_msgmgr_queue_setup() [all …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_xsk.c | 111 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.6.21/drivers/gpu/drm/amd/include/ |
D | kgd_kfd_interface.h | 243 uint32_t queue_id, uint32_t __user *wptr, 248 uint32_t pipe_id, uint32_t queue_id, 255 uint32_t pipe_id, uint32_t queue_id, 259 uint32_t engine_id, uint32_t queue_id, 264 uint32_t queue_id, uint32_t inst); 269 uint32_t queue_id, uint32_t inst);
|
/linux-6.6.21/net/xdp/ |
D | xsk_buff_pool.c | 136 bpf.xsk.queue_id = pool->queue_id; in xp_disable_drv_zc() 150 struct net_device *netdev, u16 queue_id, u16 flags) in xp_assign_dev() argument 164 if (xsk_get_pool_from_qid(netdev, queue_id)) in xp_assign_dev() 168 pool->queue_id = queue_id; in xp_assign_dev() 169 err = xsk_reg_pool_at_qid(netdev, pool, queue_id); in xp_assign_dev() 202 bpf.xsk.queue_id = queue_id; in xp_assign_dev() 222 xsk_clear_pool_at_qid(netdev, queue_id); in xp_assign_dev() 229 struct net_device *dev, u16 queue_id) in xp_assign_dev_shared() argument 242 return xp_assign_dev(pool, dev, queue_id, flags); in xp_assign_dev_shared() 251 xsk_clear_pool_at_qid(pool->netdev, pool->queue_id); in xp_clear_dev()
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | xsk.c | 71 __u32 queue_id; member 457 __u32 queue_id) in xsk_get_ctx() argument 465 if (ctx->ifindex == ifindex && ctx->queue_id == queue_id) { in xsk_get_ctx() 502 __u32 queue_id, in xsk_create_ctx() argument 528 ctx->queue_id = queue_id; in xsk_create_ctx() 538 __u32 queue_id, struct xsk_umem *umem, in xsk_socket__create_shared() argument 578 ctx = xsk_get_ctx(umem, ifindex, queue_id); in xsk_socket__create_shared() 585 ctx = xsk_create_ctx(xsk, umem, ifindex, queue_id, fill, comp); in xsk_socket__create_shared() 669 sxdp.sxdp_queue_id = ctx->queue_id; in xsk_socket__create_shared() 707 __u32 queue_id, struct xsk_umem *umem, in xsk_socket__create() argument [all …]
|
/linux-6.6.21/drivers/net/ethernet/google/gve/ |
D | gve_adminq.h | 235 __be32 queue_id; member 250 __be32 queue_id; member 281 __be32 queue_id; member 287 __be32 queue_id; member 321 __be32 queue_id; member 426 int gve_adminq_destroy_rx_queues(struct gve_priv *priv, u32 queue_id);
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | phy.c | 407 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()
|