Home
last modified time | relevance | path

Searched refs:pmode (Results 1 – 4 of 4) sorted by relevance

/dpdk/drivers/bus/dpaa/base/qbman/
H A Dbman.h105 enum bm_rcr_pmode pmode; member
162 static inline int bm_rcr_init(struct bm_portal *portal, enum bm_rcr_pmode pmode, in bm_rcr_init() argument
184 rcr->pmode = pmode; in bm_rcr_init()
187 cfg = (bm_in(CFG) & 0xffffffe0) | (pmode & 0x3); /* BCSP_CFG::RPM */ in bm_rcr_init()
242 DPAA_ASSERT(rcr->pmode != bm_rcr_pvb); in bm_rcr_pend_and_next()
260 DPAA_ASSERT(rcr->pmode == bm_rcr_pci); in bm_rcr_pci_commit()
277 DPAA_ASSERT(rcr->pmode == bm_rcr_pce); in bm_rcr_pce_prefetch()
289 DPAA_ASSERT(rcr->pmode == bm_rcr_pce); in bm_rcr_pce_commit()
308 DPAA_ASSERT(rcr->pmode == bm_rcr_pvb); in bm_rcr_pvb_commit()
H A Dqman.h152 enum qm_eqcr_pmode pmode; member
161 enum qm_dqrr_pmode pmode; member
170 enum qm_mr_pmode pmode; member
290 DPAA_ASSERT(eqcr->pmode != qm_eqcr_pvb); in qm_eqcr_pend_and_next()
314 DPAA_ASSERT(eqcr->pmode == qm_eqcr_pci); in qm_eqcr_pci_commit()
332 DPAA_ASSERT(eqcr->pmode == qm_eqcr_pce); in qm_eqcr_pce_prefetch()
344 DPAA_ASSERT(eqcr->pmode == qm_eqcr_pce); in qm_eqcr_pce_commit()
364 DPAA_ASSERT(eqcr->pmode == qm_eqcr_pvb); in qm_eqcr_pvb_commit()
488 DPAA_ASSERT(dqrr->pmode == qm_dqrr_pci); in qm_dqrr_pci_update()
501 DPAA_ASSERT(dqrr->pmode == qm_dqrr_pce); in qm_dqrr_pce_prefetch()
[all …]
H A Dqman.c337 enum qm_eqcr_pmode pmode, in qm_eqcr_init() argument
361 eqcr->pmode = pmode; in qm_eqcr_init()
366 ((pmode & 0x3) << 24); /* QCSP_CFG::EPM */ in qm_eqcr_init()
412 __maybe_unused enum qm_dqrr_pmode pmode, in qm_dqrr_init() argument
432 dqrr->pmode = pmode; in qm_dqrr_init()
461 __maybe_unused enum qm_mr_pmode pmode, in qm_mr_init() argument
475 mr->pmode = pmode; in qm_mr_init()
490 DPAA_ASSERT(mr->pmode == qm_mr_pvb); in qm_mr_pvb_update()
/dpdk/drivers/net/bnxt/
H A Dbnxt_hwrm.c2028 struct bnxt_plcmodes_cfg *pmode) in bnxt_hwrm_vnic_plcmodes_qcfg() argument
2042 pmode->flags = rte_le_to_cpu_32(resp->flags); in bnxt_hwrm_vnic_plcmodes_qcfg()
2044 pmode->flags &= ~(HWRM_VNIC_PLCMODES_QCFG_OUTPUT_FLAGS_DFLT_VNIC); in bnxt_hwrm_vnic_plcmodes_qcfg()
2045 pmode->jumbo_thresh = rte_le_to_cpu_16(resp->jumbo_thresh); in bnxt_hwrm_vnic_plcmodes_qcfg()
2046 pmode->hds_offset = rte_le_to_cpu_16(resp->hds_offset); in bnxt_hwrm_vnic_plcmodes_qcfg()
2047 pmode->hds_threshold = rte_le_to_cpu_16(resp->hds_threshold); in bnxt_hwrm_vnic_plcmodes_qcfg()
2056 struct bnxt_plcmodes_cfg *pmode) in bnxt_hwrm_vnic_plcmodes_cfg() argument
2070 req.flags = rte_cpu_to_le_32(pmode->flags); in bnxt_hwrm_vnic_plcmodes_cfg()
2071 req.jumbo_thresh = rte_cpu_to_le_16(pmode->jumbo_thresh); in bnxt_hwrm_vnic_plcmodes_cfg()
2072 req.hds_offset = rte_cpu_to_le_16(pmode->hds_offset); in bnxt_hwrm_vnic_plcmodes_cfg()
[all …]