Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/atm/
Deni.c1242 static struct eni_tx *alloc_tx(struct eni_dev *eni_dev,int ubr) in alloc_tx() argument
1246 for (i = !ubr; i < NR_CHAN; i++) in alloc_tx()
1297 int rate,ubr,unlimited,new_tx; in reserve_or_set_tx() local
1302 ubr = txtp->traffic_class == ATM_UBR; in reserve_or_set_tx()
1303 unlimited = ubr && (!rate || rate <= -ATM_OC3_PCR || in reserve_or_set_tx()
1312 if (eni_dev->ubr) { in reserve_or_set_tx()
1313 eni_vcc->tx = eni_dev->ubr; in reserve_or_set_tx()
1346 if (!error && !ubr && rate > eni_dev->tx_bw+tx->reserved) in reserve_or_set_tx()
1350 if (!error && !set_rsv && rate > tx->reserved && !ubr) in reserve_or_set_tx()
1360 if (set_rsv && !ubr) { in reserve_or_set_tx()
[all …]
Dzatm.h62 int ubr; /* UBR shaper; -1 if none */ member
Deni.h86 struct eni_tx *ubr; /* UBR channel */ member
Dzatm.c789 static int alloc_shaper(struct atm_dev *dev,int *pcr,int min,int max,int ubr) in alloc_shaper() argument
801 if (ubr) { in alloc_shaper()
805 zatm_dev->ubr = shaper; in alloc_shaper()
859 if (shaper == zatm_dev->ubr) { in dealloc_shaper()
861 zatm_dev->ubr = -1; in dealloc_shaper()
907 if (zatm_vcc->shaper != zatm_dev->ubr) { in close_tx()
941 if (unlimited && zatm_dev->ubr != -1) zatm_vcc->shaper = zatm_dev->ubr; in open_tx_first()
1010 zatm_dev->ubr = -1; in start_tx()
Diphase.h853 u8 ubr: 1; member