Home
last modified time | relevance | path

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

/linux/net/core/
H A Dnetdev-genl.c393 u32 q_idx, u32 q_type) in netdev_nl_queue_fill_lease() argument
413 if (nla_put_u32(rsp, NETDEV_A_QUEUE_TYPE, q_type)) in netdev_nl_queue_fill_lease()
476 u32 q_idx, u32 q_type, const struct genl_info *info) in netdev_nl_queue_fill_one() argument
487 nla_put_u32(rsp, NETDEV_A_QUEUE_TYPE, q_type) || in netdev_nl_queue_fill_one()
491 switch (q_type) { in netdev_nl_queue_fill_one()
496 if (netdev_nl_queue_fill_lease(rsp, netdev, q_idx, q_type)) in netdev_nl_queue_fill_one()
523 u32 q_type) in netdev_nl_queue_validate() argument
525 switch (q_type) { in netdev_nl_queue_validate()
539 u32 q_type, const struct genl_info *info) in netdev_nl_queue_fill() argument
546 err = netdev_nl_queue_validate(netdev, q_idx, q_type); in netdev_nl_queue_fill()
[all …]
/linux/drivers/net/ethernet/microsoft/mana/
H A Dhw_channel.c532 enum gdma_queue_type q_type, u16 q_depth, in mana_hwc_create_wq() argument
541 WARN_ON(q_type != GDMA_SQ && q_type != GDMA_RQ); in mana_hwc_create_wq()
543 if (q_type == GDMA_RQ) in mana_hwc_create_wq()
555 err = mana_hwc_create_gdma_wq(hwc, q_type, queue_size, &queue); in mana_hwc_create_wq()
576 queue_size, q_type, err); in mana_hwc_create_wq()
H A Dgdma_main.c542 enum gdma_queue_type q_type, u32 qid, in mana_gd_ring_doorbell() argument
548 switch (q_type) { in mana_gd_ring_doorbell()
1660 enum gdma_queue_type q_type, in mana_gd_write_client_oob() argument
1682 if (q_type == GDMA_SQ) in mana_gd_write_client_oob()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_cmdq.c508 enum hinic_set_arm_qtype q_type, u32 q_id) in hinic_set_arm_bit() argument
516 arm_bit.q_type = q_type; in hinic_set_arm_bit()
739 enum hinic_cmdq_type q_type, void __iomem *db_area) in init_cmdq() argument
744 cmdq->cmdq_type = q_type; in init_cmdq()
H A Dhinic_hw_cmdq.h117 u32 q_type; member
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl.c959 static int idpf_vport_get_q_reg(u32 *reg_vals, int num_regs, u32 q_type, in idpf_vport_get_q_reg() argument
971 if (chunk->type != q_type) in idpf_vport_get_q_reg()
997 int num_regs, u32 q_type) in __idpf_queue_reg_init() argument
1002 switch (q_type) { in __idpf_queue_reg_init()
3406 static int idpf_vport_get_queue_ids(u32 *qids, int num_qids, u16 q_type, in idpf_vport_get_queue_ids() argument
3417 if (chunk->type != q_type) in idpf_vport_get_queue_ids()
3452 u32 q_type) in __idpf_vport_queue_ids_init() argument
3456 switch (q_type) { in __idpf_vport_queue_ids_init()
3528 u16 q_type; in idpf_vport_queue_ids_init() local
3566 q_type = VIRTCHNL2_QUEUE_TYPE_TX_COMPLETION; in idpf_vport_queue_ids_init()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_controlq.c606 static int ice_init_ctrlq(struct ice_hw *hw, enum ice_ctl_q q_type) in ice_init_ctrlq() argument
611 switch (q_type) { in ice_init_ctrlq()
627 cq->qtype = q_type; in ice_init_ctrlq()
687 static void ice_shutdown_ctrlq(struct ice_hw *hw, enum ice_ctl_q q_type, in ice_shutdown_ctrlq() argument
692 switch (q_type) { in ice_shutdown_ctrlq()
H A Dice_main.c1418 static int __ice_clean_ctrlq(struct ice_pf *pf, enum ice_ctl_q q_type) in __ice_clean_ctrlq() argument
1432 switch (q_type) { in __ice_clean_ctrlq()
1450 dev_warn(dev, "Unknown control queue type 0x%x\n", q_type); in __ice_clean_ctrlq()
/linux/fs/xfs/
H A Dxfs_dquot.c55 switch (dqp->q_type) { in xfs_dquot_mark_sick()
530 dqp->q_type = type; in xfs_dquot_alloc()
635 dqp->q_type = ddqp->d_type; in xfs_dquot_from_disk()
672 ddqp->d_type = dqp->q_type; in xfs_dquot_to_disk()
1221 if (dqp->q_type & XFS_DQTYPE_BIGTIME) { in xfs_qm_dqflush_check()
H A Dxfs_quota.h89 xfs_dqtype_t q_type; member
H A Dxfs_trace.h1357 __entry->type = dqp->q_type;
1439 __entry->type = dqp->q_type;
1478 __entry->type = qtrx->qt_dquot->q_type;
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni.h952 enum dpni_queue_type q_type,
961 enum dpni_queue_type q_type,
/linux/fs/xfs/libxfs/
H A Dxfs_dquot_buf.c322 if (timer != 0 && (dqp->q_type & XFS_DQTYPE_BIGTIME)) in xfs_dquot_to_disk_ts()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A 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()
1415 unsigned long q_type = 0; in bnx2x_vfq_init() local
1417 set_bit(BNX2X_Q_TYPE_HAS_TX, &q_type); in bnx2x_vfq_init()
1418 set_bit(BNX2X_Q_TYPE_HAS_RX, &q_type); in bnx2x_vfq_init()
1425 q_type); in bnx2x_vfq_init()
H A Dbnx2x_vfpf.c1540 unsigned long q_type = 0; in bnx2x_vf_mbx_setup_q() local
1561 __set_bit(BNX2X_Q_TYPE_HAS_TX, &q_type); in bnx2x_vf_mbx_setup_q()
1592 __set_bit(BNX2X_Q_TYPE_HAS_RX, &q_type); in bnx2x_vf_mbx_setup_q()
1638 bnx2x_vfop_qctor_prep(bp, vf, q, &qctor, q_type); in bnx2x_vf_mbx_setup_q()
H A Dbnx2x_sriov.h449 unsigned long q_type);
/linux/drivers/accel/habanalabs/common/
H A Dcommand_submission.c1938 enum hl_queue_type q_type, u32 q_idx, u32 encaps_signal_offset) in cs_ioctl_signal_wait_create_jobs() argument
1947 job = hl_cs_allocate_job(hdev, q_type, true); in cs_ioctl_signal_wait_create_jobs()
1960 cb = hl_cb_kernel_create(hdev, cb_size, q_type == QUEUE_TYPE_HW); in cs_ioctl_signal_wait_create_jobs()
2214 enum hl_queue_type q_type; in cs_ioctl_signal_wait() local
2241 q_type = hw_queue_prop->type; in cs_ioctl_signal_wait()
2404 rc = cs_ioctl_signal_wait_create_jobs(hdev, ctx, cs, q_type, in cs_ioctl_signal_wait()
2419 if (q_type == QUEUE_TYPE_HW) in cs_ioctl_signal_wait()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c4657 txq->q.q_type = CXGB4_TXQ_ETH; in t4_sge_alloc_eth_txq()
4719 txq->q.q_type = CXGB4_TXQ_CTRL; in t4_sge_alloc_ctrl_txq()
4810 txq->q.q_type = CXGB4_TXQ_ULD; in t4_sge_alloc_uld_txq()
4828 txq->q.q_type = CXGB4_TXQ_ULD; in t4_sge_alloc_ethofld_txq()
H A Dcxgb4_main.c583 if (txq->q_type == CXGB4_TXQ_ETH) { in fwevtq_handler()
/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c1426 struct s5p_jpeg_ctx *ctx, int q_type) in vidioc_try_fmt() argument
1438 if (q_type == FMT_TYPE_OUTPUT) in vidioc_try_fmt()