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()
1473 struct dscc4_dev_priv *root = token; in dscc4_irq() local
1481 priv = root->pci_priv; in dscc4_irq()
1482 dev = dscc4_to_dev(root); in dscc4_irq()
1486 ioaddr = root->base_addr; in dscc4_irq()
1513 dscc4_rx_irq(priv, root + i); in dscc4_irq()
1520 dscc4_tx_irq(priv, root + i); in dscc4_irq()
1968 struct dscc4_dev_priv *root; in dscc4_remove_one() local
1973 root = ppriv->root; in dscc4_remove_one()
1975 ioaddr = root->base_addr; in dscc4_remove_one()
1979 free_irq(pdev->irq, root); in dscc4_remove_one()
1983 struct dscc4_dev_priv *dpriv = root + i; in dscc4_remove_one()