Lines Matching refs:root

194         struct dscc4_dev_priv *root;  member
693 struct dscc4_dev_priv *root; in dscc4_free1() local
697 root = ppriv->root; in dscc4_free1()
700 unregister_hdlc_device(dscc4_to_dev(root + i)); in dscc4_free1()
703 free_netdev(root[i].dev); in dscc4_free1()
704 kfree(root); in dscc4_free1()
754 rc = request_irq(pdev->irq, dscc4_irq, IRQF_SHARED, DRV_NAME, priv->root); in dscc4_init_one()
788 dpriv = priv->root + i; in dscc4_init_one()
796 dpriv = priv->root + i; in dscc4_init_one()
821 dpriv = priv->root + i; in dscc4_init_one()
828 dpriv = priv->root + i; in dscc4_init_one()
835 free_irq(pdev->irq, priv->root); in dscc4_init_one()
899 struct dscc4_dev_priv *root; in dscc4_found1() local
902 root = kcalloc(dev_per_card, sizeof(*root), GFP_KERNEL); in dscc4_found1()
903 if (!root) in dscc4_found1()
907 root[i].dev = alloc_hdlcdev(root + i); in dscc4_found1()
908 if (!root[i].dev) in dscc4_found1()
916 ppriv->root = root; in dscc4_found1()
920 struct dscc4_dev_priv *dpriv = root + i; in dscc4_found1()
954 ret = dscc4_set_quartz(root, quartz); in dscc4_found1()
963 dscc4_release_ring(root + i); in dscc4_found1()
964 unregister_hdlc_device(dscc4_to_dev(root + i)); in dscc4_found1()
970 free_netdev(root[i].dev); in dscc4_found1()
971 kfree(root); in dscc4_found1()
1476 struct dscc4_dev_priv *root = token; in dscc4_irq() local
1484 priv = root->pci_priv; in dscc4_irq()
1485 dev = dscc4_to_dev(root); in dscc4_irq()
1489 ioaddr = root->base_addr; in dscc4_irq()
1516 dscc4_rx_irq(priv, root + i); in dscc4_irq()
1523 dscc4_tx_irq(priv, root + i); in dscc4_irq()
1971 struct dscc4_dev_priv *root; in dscc4_remove_one() local
1976 root = ppriv->root; in dscc4_remove_one()
1978 ioaddr = root->base_addr; in dscc4_remove_one()
1982 free_irq(pdev->irq, root); in dscc4_remove_one()
1986 struct dscc4_dev_priv *dpriv = root + i; in dscc4_remove_one()