Lines Matching refs:ppriv
680 struct dscc4_pci_priv *ppriv; in dscc4_free1() local
684 ppriv = pci_get_drvdata(pdev); in dscc4_free1()
685 root = ppriv->root; in dscc4_free1()
693 kfree(ppriv); in dscc4_free1()
873 struct dscc4_pci_priv *ppriv; in dscc4_found1() local
885 ppriv = (struct dscc4_pci_priv *) kmalloc(sizeof(*ppriv), GFP_KERNEL); in dscc4_found1()
886 if (!ppriv) { in dscc4_found1()
890 memset(ppriv, 0, sizeof(struct dscc4_pci_priv)); in dscc4_found1()
910 dpriv->pci_priv = ppriv; in dscc4_found1()
935 ppriv->root = root; in dscc4_found1()
936 spin_lock_init(&ppriv->lock); in dscc4_found1()
937 pci_set_drvdata(pdev, ppriv); in dscc4_found1()
945 kfree(ppriv); in dscc4_found1()
1027 struct dscc4_pci_priv *ppriv; in dscc4_open() local
1038 ppriv = dpriv->pci_priv; in dscc4_open()
1132 struct dscc4_pci_priv *ppriv = dpriv->pci_priv; in dscc4_start_xmit() local
1140 tx_fd->data = pci_map_single(ppriv->pdev, skb->data, skb->len, in dscc4_start_xmit()
1514 static void dscc4_tx_irq(struct dscc4_pci_priv *ppriv, in dscc4_tx_irq() argument
1562 pci_unmap_single(ppriv->pdev, tx_fd->data, in dscc4_tx_irq()
1952 struct dscc4_pci_priv *ppriv; in dscc4_remove_one() local
1957 ppriv = pci_get_drvdata(pdev); in dscc4_remove_one()
1958 root = ppriv->root; in dscc4_remove_one()
1965 pci_free_consistent(pdev, IRQ_RING_SIZE*sizeof(u32), ppriv->iqcfg, in dscc4_remove_one()
1966 ppriv->iqcfg_dma); in dscc4_remove_one()