Home
last modified time | relevance | path

Searched refs:ubr (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/atm/
Deni.c1240 static struct eni_tx *alloc_tx(struct eni_dev *eni_dev,int ubr) in alloc_tx() argument
1244 for (i = !ubr; i < NR_CHAN; i++) in alloc_tx()
1294 int rate,ubr,unlimited,new_tx; in reserve_or_set_tx() local
1299 ubr = txtp->traffic_class == ATM_UBR; in reserve_or_set_tx()
1300 unlimited = ubr && (!rate || rate <= -ATM_OC3_PCR || in reserve_or_set_tx()
1309 if (eni_dev->ubr) { in reserve_or_set_tx()
1310 eni_vcc->tx = eni_dev->ubr; in reserve_or_set_tx()
1343 if (!error && !ubr && rate > eni_dev->tx_bw+tx->reserved) in reserve_or_set_tx()
1347 if (!error && !set_rsv && rate > tx->reserved && !ubr) in reserve_or_set_tx()
1357 if (set_rsv && !ubr) { in reserve_or_set_tx()
[all …]
Dzatm.h87 int ubr; /* UBR shaper; -1 if none */ member
Deni.h84 struct eni_tx *ubr; /* UBR channel */ member
Dzatm.c973 static int alloc_shaper(struct atm_dev *dev,int *pcr,int min,int max,int ubr) in alloc_shaper() argument
985 if (ubr) { in alloc_shaper()
989 zatm_dev->ubr = shaper; in alloc_shaper()
1043 if (shaper == zatm_dev->ubr) { in dealloc_shaper()
1045 zatm_dev->ubr = -1; in dealloc_shaper()
1103 if (zatm_vcc->shaper != zatm_dev->ubr) { in close_tx()
1138 if (unlimited && zatm_dev->ubr != -1) zatm_vcc->shaper = zatm_dev->ubr; in open_tx_first()
1206 zatm_dev->ubr = -1; in start_tx()
Diphase.h855 u8 ubr: 1; member