Home
last modified time | relevance | path

Searched refs:q_type (Results 1 – 23 of 23) sorted by relevance

/drivers/crypto/
Dn2_core.c57 u8 q_type; member
81 if (q->q_type == HV_NCS_QTYPE_MAU) { in spu_next_offset()
1558 static void *new_queue(unsigned long q_type) in new_queue() argument
1560 return kmem_cache_zalloc(queue_cache[q_type - 1], GFP_KERNEL); in new_queue()
1563 static void free_queue(void *p, unsigned long q_type) in free_queue() argument
1565 kmem_cache_free(queue_cache[q_type - 1], p); in free_queue()
1605 unsigned long q_type = qr->type; in spu_queue_register_workfn() local
1608 hv_ret = sun4v_ncs_qconf(q_type, __pa(p->q), in spu_queue_register_workfn()
1616 static int spu_queue_register(struct spu_queue *p, unsigned long q_type) in spu_queue_register() argument
1619 struct spu_qreg qr = { .queue = p, .type = q_type }; in spu_queue_register()
[all …]
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_cmdq.h117 u32 q_type; member
181 enum hinic_set_arm_qtype q_type, u32 q_id);
Dhinic_hw_cmdq.c513 enum hinic_set_arm_qtype q_type, u32 q_id) in hinic_set_arm_bit() argument
521 arm_bit.q_type = q_type; in hinic_set_arm_bit()
744 enum hinic_cmdq_type q_type, void __iomem *db_area) in init_cmdq() argument
749 cmdq->cmdq_type = q_type; in init_cmdq()
/drivers/net/ethernet/microsoft/mana/
Dhw_channel.c462 enum gdma_queue_type q_type, u16 q_depth, in mana_hwc_create_wq() argument
471 WARN_ON(q_type != GDMA_SQ && q_type != GDMA_RQ); in mana_hwc_create_wq()
473 if (q_type == GDMA_RQ) in mana_hwc_create_wq()
485 err = mana_hwc_create_gdma_wq(hwc, q_type, queue_size, &queue); in mana_hwc_create_wq()
Dgdma_main.c219 enum gdma_queue_type q_type, u32 qid, in mana_gd_ring_doorbell() argument
225 switch (q_type) { in mana_gd_ring_doorbell()
946 enum gdma_queue_type q_type, in mana_gd_write_client_oob() argument
968 if (q_type == GDMA_SQ) in mana_gd_write_client_oob()
/drivers/net/ethernet/intel/ice/
Dice_controlq.c615 static enum ice_status ice_init_ctrlq(struct ice_hw *hw, enum ice_ctl_q q_type) in ice_init_ctrlq() argument
620 switch (q_type) { in ice_init_ctrlq()
636 cq->qtype = q_type; in ice_init_ctrlq()
698 static void ice_shutdown_ctrlq(struct ice_hw *hw, enum ice_ctl_q q_type) in ice_shutdown_ctrlq() argument
702 switch (q_type) { in ice_shutdown_ctrlq()
Dice_main.c1234 static int __ice_clean_ctrlq(struct ice_pf *pf, enum ice_ctl_q q_type) in __ice_clean_ctrlq() argument
1248 switch (q_type) { in __ice_clean_ctrlq()
1266 dev_warn(dev, "Unknown control queue type 0x%x\n", q_type); in __ice_clean_ctrlq()
/drivers/net/ethernet/freescale/dpaa2/
Ddpni.h943 enum dpni_queue_type q_type,
952 enum dpni_queue_type q_type,
/drivers/media/platform/imx-jpeg/
Dmxc-jpeg.c1679 struct mxc_jpeg_ctx *ctx, int q_type) in mxc_jpeg_try_fmt() argument
1752 int q_type = (jpeg->mode == MXC_JPEG_DECODE) ? in mxc_jpeg_try_fmt_vid_cap() local
1761 if (!fmt || fmt->flags != q_type) { in mxc_jpeg_try_fmt_vid_cap()
1771 return mxc_jpeg_try_fmt(f, fmt, ctx, q_type); in mxc_jpeg_try_fmt_vid_cap()
1783 int q_type = (jpeg->mode == MXC_JPEG_ENCODE) ? in mxc_jpeg_try_fmt_vid_out() local
1792 if (!fmt || fmt->flags != q_type) { in mxc_jpeg_try_fmt_vid_out()
1802 return mxc_jpeg_try_fmt(f, fmt, ctx, q_type); in mxc_jpeg_try_fmt_vid_out()
/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c178 enum mlxsw_pci_queue_type q_type) in mlxsw_pci_queue_type_group_get() argument
180 return &mlxsw_pci->queues[q_type]; in mlxsw_pci_queue_type_group_get()
184 enum mlxsw_pci_queue_type q_type) in __mlxsw_pci_queue_count() argument
188 queue_group = mlxsw_pci_queue_type_group_get(mlxsw_pci, q_type); in __mlxsw_pci_queue_count()
204 enum mlxsw_pci_queue_type q_type, u8 q_num) in __mlxsw_pci_queue_get() argument
206 return &mlxsw_pci->queues[q_type].q[q_num]; in __mlxsw_pci_queue_get()
/drivers/infiniband/hw/irdma/
Dpuda.h31 u8 q_type; member
Duk.c1070 u32 wqe_idx, q_type; in irdma_uk_cq_poll_cmpl() local
1142 q_type = (u8)FIELD_GET(IRDMA_CQ_SQ, qword3); in irdma_uk_cq_poll_cmpl()
1182 if (q_type == IRDMA_CQE_QTYPE_RQ) { in irdma_uk_cq_poll_cmpl()
Dpuda.c282 info->q_type = (u8)FIELD_GET(IRDMA_CQ_SQ, qword3); in irdma_puda_poll_info()
291 if (info->q_type == IRDMA_CQE_QTYPE_RQ) { in irdma_puda_poll_info()
367 if (info.q_type == IRDMA_CQE_QTYPE_RQ) { in irdma_puda_poll_cmpl()
/drivers/misc/habanalabs/common/
Dcommand_submission.c1695 enum hl_queue_type q_type, u32 q_idx, u32 encaps_signal_offset) in cs_ioctl_signal_wait_create_jobs() argument
1704 job = hl_cs_allocate_job(hdev, q_type, true); in cs_ioctl_signal_wait_create_jobs()
1718 q_type == QUEUE_TYPE_HW && hdev->mmu_enable); in cs_ioctl_signal_wait_create_jobs()
1955 enum hl_queue_type q_type; in cs_ioctl_signal_wait() local
1982 q_type = hw_queue_prop->type; in cs_ioctl_signal_wait()
2142 rc = cs_ioctl_signal_wait_create_jobs(hdev, ctx, cs, q_type, in cs_ioctl_signal_wait()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c170 unsigned long q_type) in bnx2x_vfop_qctor_prep() argument
216 if (test_bit(BNX2X_Q_TYPE_HAS_RX, &q_type)) { in bnx2x_vfop_qctor_prep()
228 if (test_bit(BNX2X_Q_TYPE_HAS_TX, &q_type)) { in bnx2x_vfop_qctor_prep()
1419 unsigned long q_type = 0; in bnx2x_vfq_init() local
1421 set_bit(BNX2X_Q_TYPE_HAS_TX, &q_type); in bnx2x_vfq_init()
1422 set_bit(BNX2X_Q_TYPE_HAS_RX, &q_type); in bnx2x_vfq_init()
1429 q_type); in bnx2x_vfq_init()
Dbnx2x_vfpf.c1538 unsigned long q_type = 0; in bnx2x_vf_mbx_setup_q() local
1559 __set_bit(BNX2X_Q_TYPE_HAS_TX, &q_type); in bnx2x_vf_mbx_setup_q()
1590 __set_bit(BNX2X_Q_TYPE_HAS_RX, &q_type); in bnx2x_vf_mbx_setup_q()
1636 bnx2x_vfop_qctor_prep(bp, vf, q, &qctor, q_type); in bnx2x_vf_mbx_setup_q()
Dbnx2x_sriov.h449 unsigned long q_type);
Dbnx2x_main.c6365 unsigned long q_type = 0; in bnx2x_init_eth_fp() local
6382 __set_bit(BNX2X_Q_TYPE_HAS_RX, &q_type); in bnx2x_init_eth_fp()
6383 __set_bit(BNX2X_Q_TYPE_HAS_TX, &q_type); in bnx2x_init_eth_fp()
6405 bnx2x_sp_mapping(bp, q_rdata), q_type); in bnx2x_init_eth_fp()
6468 unsigned long q_type = 0; in bnx2x_init_fcoe_fp() local
6490 __set_bit(BNX2X_Q_TYPE_HAS_RX, &q_type); in bnx2x_init_fcoe_fp()
6491 __set_bit(BNX2X_Q_TYPE_HAS_TX, &q_type); in bnx2x_init_fcoe_fp()
6498 bnx2x_sp_mapping(bp, q_rdata), q_type); in bnx2x_init_fcoe_fp()
/drivers/s390/crypto/
Dap_bus.c312 static bool ap_queue_info(ap_qid_t qid, int *q_type, unsigned int *q_fac, in ap_queue_info() argument
351 *q_type = tapq_info.tapq_gr2.at; in ap_queue_info()
356 switch (*q_type) { in ap_queue_info()
/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c4668 txq->q.q_type = CXGB4_TXQ_ETH; in t4_sge_alloc_eth_txq()
4730 txq->q.q_type = CXGB4_TXQ_CTRL; in t4_sge_alloc_ctrl_txq()
4821 txq->q.q_type = CXGB4_TXQ_ULD; in t4_sge_alloc_uld_txq()
4839 txq->q.q_type = CXGB4_TXQ_ULD; in t4_sge_alloc_ethofld_txq()
Dcxgb4.h845 unsigned int q_type; /* Q type Eth/Ctrl/Ofld */ member
Dcxgb4_main.c584 if (txq->q_type == CXGB4_TXQ_ETH) { in fwevtq_handler()
/drivers/media/platform/s5p-jpeg/
Djpeg-core.c1429 struct s5p_jpeg_ctx *ctx, int q_type) in vidioc_try_fmt() argument
1441 if (q_type == FMT_TYPE_OUTPUT) in vidioc_try_fmt()