Lines Matching refs:cgr
65 struct qman_cgr cgr; member
199 opts.fqd.cgid = qipriv.cgr.cgrid; in create_caam_req_fq()
528 qman_delete_cgr_safe(&priv->cgr); in caam_qi_shutdown()
529 qman_release_cgrid(priv->cgr.cgrid); in caam_qi_shutdown()
534 static void cgr_cb(struct qman_portal *qm, struct qman_cgr *cgr, int congested) in cgr_cb() argument
638 opts.fqd.cgid = qipriv.cgr.cgrid; in alloc_rsp_fq_cpu()
663 ret = qman_alloc_cgrid(&qipriv.cgr.cgrid); in init_cgr()
669 qipriv.cgr.cb = cgr_cb; in init_cgr()
673 opts.cgr.cscn_en = QM_CGR_EN; in init_cgr()
674 opts.cgr.mode = QMAN_CGR_MODE_FRAME; in init_cgr()
675 qm_cgr_cs_thres_set64(&opts.cgr.cs_thres, val, 1); in init_cgr()
677 ret = qman_create_cgr(&qipriv.cgr, QMAN_CGR_FLAG_USE_INIT, &opts); in init_cgr()
680 qipriv.cgr.cgrid); in init_cgr()