Lines Matching refs:tst_entries
2149 int tst_free, tst_used, tst_entries; in idt77252_init_cbr() local
2174 tst_entries = (int) (tmpl / card->utopia_pcr); in idt77252_init_cbr()
2177 tst_entries++; in idt77252_init_cbr()
2179 tst_entries = tst_free - SAR_TST_RESERVED; in idt77252_init_cbr()
2180 if (tst_entries <= 0) { in idt77252_init_cbr()
2186 if (tst_entries == 0) { in idt77252_init_cbr()
2192 if (tst_entries > (tst_free - SAR_TST_RESERVED)) { in idt77252_init_cbr()
2197 vc->ntste = tst_entries; in idt77252_init_cbr()
2199 card->tst_free = tst_free - tst_entries; in idt77252_init_cbr()
2201 if (tst_used == tst_entries) in idt77252_init_cbr()
2205 card->name, tst_used, tst_entries); in idt77252_init_cbr()
2206 change_tst(card, vc, tst_entries, TSTE_OPC_CBR); in idt77252_init_cbr()
2210 OPRINTK("%s: setting %d entries in TST.\n", card->name, tst_entries); in idt77252_init_cbr()
2211 fill_tst(card, vc, tst_entries, TSTE_OPC_CBR); in idt77252_init_cbr()
3263 unsigned int tst_entries; in init_card() local
3487 tst_entries = (int) (tmpl / (unsigned long)card->utopia_pcr); in init_card()
3489 tst_entries++; in init_card()
3490 card->tst_free -= tst_entries; in init_card()
3491 fill_tst(card, NULL, tst_entries, TSTE_OPC_NULL); in init_card()