Lines Matching refs:ia_vcc
146 struct ia_vcc *iavcc_r = NULL; in ia_hack_tcq()
179 static u16 get_desc (IADEV *dev, struct ia_vcc *iavcc) { in get_desc()
181 struct ia_vcc *iavcc_r = NULL; in get_desc()
463 struct ia_vcc *ia_vcc; in ia_cbr_setup() local
495 ia_vcc = INPH_IA_VCC(vcc); in ia_cbr_setup()
496 ia_vcc->NumCbrEntry = entries; in ia_cbr_setup()
641 struct ia_vcc *iavcc; in ia_tx_poll()
1310 struct ia_vcc *ia_vcc; local
1321 ia_vcc = INPH_IA_VCC(vcc);
1322 if (ia_vcc == NULL)
1690 struct ia_vcc *iavcc;
1749 struct ia_vcc *ia_vcc; local
1768 ia_vcc = INPH_IA_VCC(vcc);
1769 memset((caddr_t)ia_vcc, 0, sizeof(*ia_vcc));
1775 kfree(ia_vcc);
1778 ia_vcc->vc_desc_cnt = 0;
1779 ia_vcc->txing = 1;
1790 ia_vcc->pcr = vcc->qos.txtp.pcr;
1792 if (ia_vcc->pcr > (iadev->LineRate / 6) ) ia_vcc->ltimeout = HZ / 10;
1793 else if (ia_vcc->pcr > (iadev->LineRate / 130)) ia_vcc->ltimeout = HZ;
1794 else if (ia_vcc->pcr <= 170) ia_vcc->ltimeout = 16 * HZ;
1795 else ia_vcc->ltimeout = 2700 * HZ / ia_vcc->pcr;
1796 if (ia_vcc->pcr < iadev->rate_limit)
1797 skb_queue_head_init (&ia_vcc->txing_skb);
1798 if (ia_vcc->pcr < iadev->rate_limit) {
1802 if (ia_vcc->pcr > 60000)
1804 else if (ia_vcc->pcr > 2000)
2612 struct ia_vcc *ia_vcc; local
2618 ia_vcc = INPH_IA_VCC(vcc);
2619 if (!ia_vcc) return;
2622 ia_vcc->vc_desc_cnt,vcc->vci);)
2642 IF_EVENT(printk("IA TX Done decs_cnt = %d\n", ia_vcc->vc_desc_cnt);)
2643 closetime = 300000 / ia_vcc->pcr;
2647 wait_event_timeout(iadev->close_wait, (ia_vcc->vc_desc_cnt <= 0), closetime);
2658 ia_vcc = INPH_IA_VCC(vcc);
2659 iadev->sum_mcr -= ia_vcc->NumCbrEntry*iadev->Granularity;
2686 ia_vcc = NULL;
2694 struct ia_vcc *ia_vcc; local
2712 ia_vcc = kmalloc(sizeof(*ia_vcc), GFP_KERNEL);
2713 if (!ia_vcc) return -ENOMEM;
2714 vcc->dev_data = ia_vcc;
2892 struct ia_vcc *iavcc;