Home
last modified time | relevance | path

Searched refs:queue_type (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_queue.h53 enum queue_type { enum
70 enum queue_type type;
86 unsigned int elem_size, enum queue_type type);
101 enum queue_type type) in queue_get_producer()
128 enum queue_type type) in queue_get_consumer()
154 static inline int queue_empty(struct rxe_queue *q, enum queue_type type) in queue_empty()
162 static inline int queue_full(struct rxe_queue *q, enum queue_type type) in queue_full()
171 enum queue_type type) in queue_count()
180 enum queue_type type) in queue_advance_producer()
216 enum queue_type type) in queue_advance_consumer()
[all …]
Drxe_queue.c56 unsigned int elem_size, enum queue_type type) in rxe_queue_init()
113 enum queue_type type = q->type; in resize_finish()
Drxe_cq.c47 enum queue_type type; in rxe_cq_from_init()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dhw_queue.c53 if (!hdev->asic_prop.max_queues || q->queue_type == QUEUE_TYPE_HW) in hl_hw_queue_update_ci()
62 if (!cs_needs_completion(cs) || q->queue_type == QUEUE_TYPE_INT) in hl_hw_queue_update_ci()
246 if (q->queue_type != QUEUE_TYPE_HW) { in hl_hw_queue_send_cb_no_cmpl()
655 switch (q->queue_type) { in hl_hw_queue_schedule_cs()
672 q->queue_type); in hl_hw_queue_schedule_cs()
684 if (q->queue_type == QUEUE_TYPE_EXT) in hl_hw_queue_schedule_cs()
762 switch (job->queue_type) { in hl_hw_queue_schedule_cs()
785 if ((q->queue_type == QUEUE_TYPE_EXT) && in hl_hw_queue_schedule_cs()
992 switch (q->queue_type) { in queue_init()
1010 q->queue_type); in queue_init()
[all …]
Dcommand_submission.c284 return (job->queue_type == QUEUE_TYPE_EXT); in is_cb_patched()
313 parser.queue_type = job->queue_type; in cs_parser()
366 (job->queue_type == QUEUE_TYPE_HW || job->queue_type == QUEUE_TYPE_INT)) { in hl_complete_job()
394 (job->queue_type == QUEUE_TYPE_EXT || job->queue_type == QUEUE_TYPE_HW)) { in hl_complete_job()
1184 enum hl_queue_type *queue_type, in validate_queue_index() argument
1249 *queue_type = hw_queue_prop->type; in validate_queue_index()
1280 enum hl_queue_type queue_type, bool is_kernel_allocated_cb) in hl_cs_allocate_job() argument
1292 job->queue_type = queue_type; in hl_cs_allocate_job()
1298 if (job->queue_type == QUEUE_TYPE_EXT) in hl_cs_allocate_job()
1525 enum hl_queue_type queue_type; in cs_ioctl_default() local
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mes.c513 struct amdgpu_mqd *mqd_mgr = &adev->mqds[p->queue_type]; in amdgpu_mes_queue_alloc_mqd()
544 struct amdgpu_mqd *mqd_mgr = &adev->mqds[p->queue_type]; in amdgpu_mes_queue_init_mqd()
559 if (p->queue_type == AMDGPU_RING_TYPE_GFX || in amdgpu_mes_queue_init_mqd()
560 p->queue_type == AMDGPU_RING_TYPE_COMPUTE) { in amdgpu_mes_queue_init_mqd()
567 if (p->queue_type == AMDGPU_RING_TYPE_GFX || in amdgpu_mes_queue_init_mqd()
568 p->queue_type == AMDGPU_RING_TYPE_COMPUTE) { in amdgpu_mes_queue_init_mqd()
626 qprops->queue_type, in amdgpu_mes_add_hw_queue()
654 queue_input.queue_type = qprops->queue_type; in amdgpu_mes_add_hw_queue()
667 gang->process->pasid, gang_id, qprops->queue_type, in amdgpu_mes_add_hw_queue()
673 queue->queue_type = qprops->queue_type; in amdgpu_mes_add_hw_queue()
[all …]
Damdgpu_mes.h176 int queue_type; member
182 int queue_type; member
220 uint32_t queue_type; member
241 uint32_t queue_type; member
376 int queue_type, int idx,
Dmes_v11_0.c149 static int convert_to_mes_queue_type(int queue_type) in convert_to_mes_queue_type() argument
151 if (queue_type == AMDGPU_RING_TYPE_GFX) in convert_to_mes_queue_type()
153 else if (queue_type == AMDGPU_RING_TYPE_COMPUTE) in convert_to_mes_queue_type()
155 else if (queue_type == AMDGPU_RING_TYPE_SDMA) in convert_to_mes_queue_type()
197 mes_add_queue_pkt.queue_type = in mes_v11_0_add_hw_queue()
198 convert_to_mes_queue_type(input->queue_type); in mes_v11_0_add_hw_queue()
263 mes_remove_queue_pkt.queue_type = in mes_v11_0_unmap_legacy_queue()
264 convert_to_mes_queue_type(input->queue_type); in mes_v11_0_unmap_legacy_queue()
Dmes_v10_1.c134 static int convert_to_mes_queue_type(int queue_type) in convert_to_mes_queue_type() argument
136 if (queue_type == AMDGPU_RING_TYPE_GFX) in convert_to_mes_queue_type()
138 else if (queue_type == AMDGPU_RING_TYPE_COMPUTE) in convert_to_mes_queue_type()
140 else if (queue_type == AMDGPU_RING_TYPE_SDMA) in convert_to_mes_queue_type()
176 mes_add_queue_pkt.queue_type = in mes_v10_1_add_hw_queue()
177 convert_to_mes_queue_type(input->queue_type); in mes_v10_1_add_hw_queue()
231 if (input->queue_type == AMDGPU_RING_TYPE_GFX) in mes_v10_1_unmap_legacy_queue()
/linux-6.6.21/drivers/staging/octeon/
Dethernet-tx.c134 enum {QUEUE_CORE, QUEUE_HW, QUEUE_DROP} queue_type; in cvm_oct_xmit() local
191 queue_type = QUEUE_DROP; in cvm_oct_xmit()
398 queue_type = QUEUE_CORE; in cvm_oct_xmit()
401 queue_type = QUEUE_HW; in cvm_oct_xmit()
421 queue_type = QUEUE_DROP; in cvm_oct_xmit()
436 queue_type = QUEUE_DROP; in cvm_oct_xmit()
441 switch (queue_type) { in cvm_oct_xmit()
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_packet_manager_vi.c125 packet->bitfields2.queue_type = in pm_set_resources_vi()
159 packet->bitfields2.queue_type = in pm_map_queues_vi()
165 packet->bitfields2.queue_type = in pm_map_queues_vi()
169 packet->bitfields2.queue_type = in pm_map_queues_vi()
Dkfd_packet_manager_v9.c189 packet->bitfields2.queue_type = in pm_set_resources_v9()
231 packet->bitfields2.queue_type = in pm_map_queues_v9()
237 packet->bitfields2.queue_type = in pm_map_queues_v9()
241 packet->bitfields2.queue_type = in pm_map_queues_v9()
Dkfd_pm4_headers_vi.h67 enum mes_set_resources_queue_type_enum queue_type:3; member
238 enum mes_map_queues_queue_type_vi_enum queue_type:3; member
Dkfd_pm4_headers_ai.h67 enum mes_set_resources_queue_type_enum queue_type:3; member
287 enum mes_map_queues_queue_type_enum queue_type:3; member
Dkfd_device_queue_manager.c168 static int convert_to_mes_queue_type(int queue_type) in convert_to_mes_queue_type() argument
172 switch (queue_type) { in convert_to_mes_queue_type()
180 WARN(1, "Invalid queue type %d", queue_type); in convert_to_mes_queue_type()
194 int r, queue_type; in add_queue_mes() local
233 queue_type = convert_to_mes_queue_type(q->properties.type); in add_queue_mes()
234 if (queue_type < 0) { in add_queue_mes()
239 queue_input.queue_type = (uint32_t)queue_type; in add_queue_mes()
3078 qss_entry->queue_type = set_queue_type_for_user(&q->properties); in set_queue_snapshot_entry()
/linux-6.6.21/drivers/crypto/
Dn2_core.h212 extern unsigned long sun4v_ncs_qconf(unsigned long queue_type,
217 unsigned long *queue_type,
/linux-6.6.21/drivers/net/wireless/ath/ath5k/
Dqcu.c203 ath5k_hw_setup_tx_queue(struct ath5k_hw *ah, enum ath5k_tx_queue queue_type, in ath5k_hw_setup_tx_queue() argument
214 switch (queue_type) { in ath5k_hw_setup_tx_queue()
226 switch (queue_type) { in ath5k_hw_setup_tx_queue()
248 ah->ah_txq[queue].tqi_type = queue_type; in ath5k_hw_setup_tx_queue()
251 queue_info->tqi_type = queue_type; in ath5k_hw_setup_tx_queue()
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_tmpl.h135 uint8_t queue_type; member
196 uint8_t queue_type; member
Dqla_tmpl.c329 uint type = ent->t263.queue_type; in qla27xx_fwdt_entry_t263()
365 ent->t263.queue_type == T263_QUEUE_TYPE_ATIO) { in qla27xx_fwdt_entry_t263()
633 ulong type = ent->t274.queue_type; in qla27xx_fwdt_entry_t274()
664 ent->t274.queue_type == T274_QUEUE_TYPE_ATIO_SHAD) { in qla27xx_fwdt_entry_t274()
/linux-6.6.21/drivers/gpu/drm/amd/include/
Dmes_v11_api_def.h258 enum MES_QUEUE_TYPE queue_type; member
310 enum MES_QUEUE_TYPE queue_type; member
426 enum MES_QUEUE_TYPE queue_type; member
Dmes_api_def.h248 enum MES_QUEUE_TYPE queue_type; member
406 enum MES_QUEUE_TYPE queue_type; member
/linux-6.6.21/drivers/net/ethernet/ibm/ehea/
Dehea_phyp.c416 const u8 queue_type, const u64 resource_handle, in ehea_h_register_rpage() argument
422 | EHEA_BMASK_SET(H_REG_RPAGE_QT, queue_type); in ehea_h_register_rpage()
500 const u8 pagesize, const u8 queue_type, in ehea_h_register_rpage_mr() argument
509 queue_type, mr_handle, in ehea_h_register_rpage_mr()
Dehea_phyp.h376 const u8 queue_type,
397 const u8 pagesize, const u8 queue_type,
/linux-6.6.21/drivers/infiniband/hw/irdma/
Dprotos.h75 u8 irdma_get_encoded_wqe_size(u32 wqsize, enum irdma_queue_type queue_type);
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp_ctxt.h150 u16 queue_type; member

12