Lines Matching defs:dev
16 int rtl8192U_save_state (struct pci_dev *dev, u32 state)
24 struct net_device *dev = usb_get_intfdata(intf);
28 if(dev) {
29 if (!netif_running(dev)) {
34 if (dev->netdev_ops->ndo_stop)
35 dev->netdev_ops->ndo_stop(dev);
39 netif_device_detach(dev);
47 struct net_device *dev = usb_get_intfdata(intf);
51 if(dev) {
52 if (!netif_running(dev)){
57 netif_device_attach(dev);
59 if (dev->netdev_ops->ndo_open)
60 dev->netdev_ops->ndo_open(dev);
66 int rtl8192U_enable_wake (struct pci_dev *dev, u32 state, int enable)