Lines Matching refs:tst_entries
2135 int tst_free, tst_used, tst_entries;
2160 tst_entries = (int) (tmpl / card->utopia_pcr);
2163 tst_entries++;
2165 tst_entries = tst_free - SAR_TST_RESERVED;
2166 if (tst_entries <= 0) {
2172 if (tst_entries == 0) {
2178 if (tst_entries > (tst_free - SAR_TST_RESERVED)) {
2183 vc->ntste = tst_entries;
2185 card->tst_free = tst_free - tst_entries;
2187 if (tst_used == tst_entries)
2191 card->name, tst_used, tst_entries);
2192 change_tst(card, vc, tst_entries, TSTE_OPC_CBR);
2196 OPRINTK("%s: setting %d entries in TST.\n", card->name, tst_entries);
2197 fill_tst(card, vc, tst_entries, TSTE_OPC_CBR);
3262 unsigned int tst_entries;
3486 tst_entries = (int) (tmpl / (unsigned long)card->utopia_pcr);
3488 tst_entries++;
3489 card->tst_free -= tst_entries;
3490 fill_tst(card, NULL, tst_entries, TSTE_OPC_NULL);