Lines Matching refs:cgrs
990 struct qman_cgrs *cgrs; member
1225 const struct qman_cgrs *cgrs) in qman_create_portal() argument
1273 portal->cgrs = kmalloc_array(2, sizeof(*cgrs), GFP_KERNEL); in qman_create_portal()
1274 if (!portal->cgrs) in qman_create_portal()
1277 qman_cgrs_init(&portal->cgrs[1]); in qman_create_portal()
1278 if (cgrs) in qman_create_portal()
1279 portal->cgrs[0] = *cgrs; in qman_create_portal()
1282 qman_cgrs_fill(&portal->cgrs[0]); in qman_create_portal()
1342 kfree(portal->cgrs); in qman_create_portal()
1356 const struct qman_cgrs *cgrs) in qman_create_affine_portal() argument
1362 err = qman_create_portal(portal, c, cgrs); in qman_create_affine_portal()
1397 kfree(qm->cgrs); in qman_destroy_portal()
1470 &p->cgrs[0]); in qm_congestion_task()
1472 qman_cgrs_xor(&c, &rr, &p->cgrs[1]); in qm_congestion_task()
1474 qman_cgrs_cp(&p->cgrs[1], &rr); in qm_congestion_task()
2477 qman_cgrs_get(&p->cgrs[1], cgr->cgrid)) in qman_create_cgr()