Lines Matching refs:tst_entries
2142 int tst_free, tst_used, tst_entries;
2167 tst_entries = (int) (tmpl / card->utopia_pcr);
2170 tst_entries++;
2172 tst_entries = tst_free - SAR_TST_RESERVED;
2173 if (tst_entries <= 0) {
2179 if (tst_entries == 0) {
2185 if (tst_entries > (tst_free - SAR_TST_RESERVED)) {
2190 vc->ntste = tst_entries;
2192 card->tst_free = tst_free - tst_entries;
2194 if (tst_used == tst_entries)
2198 card->name, tst_used, tst_entries);
2199 change_tst(card, vc, tst_entries, TSTE_OPC_CBR);
2203 OPRINTK("%s: setting %d entries in TST.\n", card->name, tst_entries);
2204 fill_tst(card, vc, tst_entries, TSTE_OPC_CBR);
3269 unsigned int tst_entries;
3493 tst_entries = (int) (tmpl / (unsigned long)card->utopia_pcr);
3495 tst_entries++;
3496 card->tst_free -= tst_entries;
3497 fill_tst(card, NULL, tst_entries, TSTE_OPC_NULL);