Lines Matching refs:tidcnt

299 	u32 tid, porttid, cnt, i, tidcnt, tidoff;  in ipath_tid_update()  local
314 cnt = ti->tidcnt; in ipath_tid_update()
326 tidcnt = dd->ipath_rcvtidcnt; in ipath_tid_update()
330 tidcnt = (dd->ipath_rcvtidcnt / pd->port_subport_cnt) + in ipath_tid_update()
332 tidoff = dd->ipath_rcvtidcnt - tidcnt; in ipath_tid_update()
336 tidcnt = dd->ipath_rcvtidcnt / pd->port_subport_cnt; in ipath_tid_update()
337 tidoff = tidcnt * (subport - 1); in ipath_tid_update()
341 if (cnt > tidcnt) { in ipath_tid_update()
344 "TIDs, only trying max (%u)\n", cnt, tidcnt); in ipath_tid_update()
345 cnt = tidcnt; in ipath_tid_update()
352 ntids = tidcnt; in ipath_tid_update()
391 if (tid == tidcnt) in ipath_tid_update()
443 if (limit > tidcnt) in ipath_tid_update()
445 limit = tidcnt; in ipath_tid_update()
481 if (tid == tidcnt) in ipath_tid_update()
492 ti->tidcnt, -ret); in ipath_tid_update()
517 u32 tid, porttid, cnt, limit, tidcnt; in ipath_tid_free() local
535 tidcnt = dd->ipath_rcvtidcnt; in ipath_tid_free()
537 tidcnt = (dd->ipath_rcvtidcnt / pd->port_subport_cnt) + in ipath_tid_free()
539 porttid += dd->ipath_rcvtidcnt - tidcnt; in ipath_tid_free()
541 tidcnt = dd->ipath_rcvtidcnt / pd->port_subport_cnt; in ipath_tid_free()
542 porttid += tidcnt * (subport - 1); in ipath_tid_free()
549 if (limit > tidcnt) in ipath_tid_free()
551 limit = tidcnt; in ipath_tid_free()
554 "set is %d, porttid %u\n", pd->port_port, ti->tidcnt, in ipath_tid_free()
584 if (cnt != ti->tidcnt) in ipath_tid_free()
586 ti->tidcnt, cnt); in ipath_tid_free()
590 ti->tidcnt, -ret); in ipath_tid_free()