Lines Matching defs:port_id
482 t4_reserve_cl_rl_kbps(struct adapter *sc, int port_id, u_int maxrate,
490 MPASS(port_id >= 0 && port_id < sc->params.nports);
492 pi = sc->port[port_id];
550 t4_release_cl_rl(struct adapter *sc, int port_id, int tc_idx)
554 MPASS(port_id >= 0 && port_id < sc->params.nports);
558 tc = &sc->port[port_id]->sched_params->cl_rl[tc_idx];
597 int i, rc, port_id, mbps, gbps;
607 port_id = arg2 >> 16;
608 MPASS(port_id < sc->params.nports);
609 MPASS(sc->port[port_id] != NULL);
614 tc = sc->port[port_id]->sched_params->cl_rl[i];
622 gbps = port_top_speed(sc->port[port_id]);
770 rc = t4_reserve_cl_rl_kbps(sc, pi->port_id,
779 t4_release_cl_rl(sc, pi->port_id, schedcl);
795 cst->port_id = pi->port_id;
829 rc = t4_reserve_cl_rl_kbps(sc, cst->port_id,
834 t4_release_cl_rl(sc, cst->port_id, cst->schedcl);
875 t4_release_cl_rl(sc, cst->port_id, cst->schedcl);