Home
last modified time | relevance | path

Searched refs:dev_d (Results 1 – 25 of 52) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/
Drtl_pm.c13 int rtl92e_suspend(struct device *dev_d) in rtl92e_suspend() argument
15 struct net_device *dev = dev_get_drvdata(dev_d); in rtl92e_suspend()
49 device_set_wakeup_enable(dev_d, priv->rtllib->bSupportRemoteWakeUp); in rtl92e_suspend()
56 int rtl92e_resume(struct device *dev_d) in rtl92e_resume() argument
58 struct pci_dev *pdev = to_pci_dev(dev_d); in rtl92e_resume()
59 struct net_device *dev = dev_get_drvdata(dev_d); in rtl92e_resume()
70 device_wakeup_disable(dev_d); in rtl92e_resume()
Drtl_pm.h13 int rtl92e_suspend(struct device *dev_d);
14 int rtl92e_resume(struct device *dev_d);
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
Dorinoco_pci.h21 static int __maybe_unused orinoco_pci_suspend(struct device *dev_d) in orinoco_pci_suspend() argument
23 struct pci_dev *pdev = to_pci_dev(dev_d); in orinoco_pci_suspend()
32 static int __maybe_unused orinoco_pci_resume(struct device *dev_d) in orinoco_pci_resume() argument
34 struct pci_dev *pdev = to_pci_dev(dev_d); in orinoco_pci_resume()
/kernel/linux/linux-5.10/drivers/misc/cb710/
Dcore.c169 static int __maybe_unused cb710_suspend(struct device *dev_d) in cb710_suspend() argument
171 struct pci_dev *pdev = to_pci_dev(dev_d); in cb710_suspend()
178 static int __maybe_unused cb710_resume(struct device *dev_d) in cb710_resume() argument
180 struct pci_dev *pdev = to_pci_dev(dev_d); in cb710_resume()
/kernel/linux/linux-5.10/drivers/media/pci/tw68/
Dtw68-core.c362 static int __maybe_unused tw68_suspend(struct device *dev_d) in tw68_suspend() argument
364 struct pci_dev *pci_dev = to_pci_dev(dev_d); in tw68_suspend()
380 static int __maybe_unused tw68_resume(struct device *dev_d) in tw68_resume() argument
382 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev_d); in tw68_resume()
/kernel/linux/linux-5.10/drivers/misc/
Dtifm_7xx1.c210 static int __maybe_unused tifm_7xx1_suspend(struct device *dev_d) in tifm_7xx1_suspend() argument
212 struct pci_dev *dev = to_pci_dev(dev_d); in tifm_7xx1_suspend()
223 device_wakeup_disable(dev_d); in tifm_7xx1_suspend()
227 static int __maybe_unused tifm_7xx1_resume(struct device *dev_d) in tifm_7xx1_resume() argument
229 struct pci_dev *dev = to_pci_dev(dev_d); in tifm_7xx1_resume()
Dphantom.c460 static int __maybe_unused phantom_suspend(struct device *dev_d) in phantom_suspend() argument
462 struct phantom_device *dev = dev_get_drvdata(dev_d); in phantom_suspend()
467 synchronize_irq(to_pci_dev(dev_d)->irq); in phantom_suspend()
472 static int __maybe_unused phantom_resume(struct device *dev_d) in phantom_resume() argument
474 struct phantom_device *dev = dev_get_drvdata(dev_d); in phantom_resume()
Dpch_phub.c841 static int __maybe_unused pch_phub_suspend(struct device *dev_d) in pch_phub_suspend() argument
843 device_wakeup_disable(dev_d); in pch_phub_suspend()
848 static int __maybe_unused pch_phub_resume(struct device *dev_d) in pch_phub_resume() argument
850 device_wakeup_disable(dev_d); in pch_phub_resume()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_pci.c406 static int __maybe_unused prism2_pci_suspend(struct device *dev_d) in prism2_pci_suspend() argument
408 struct net_device *dev = dev_get_drvdata(dev_d); in prism2_pci_suspend()
419 static int __maybe_unused prism2_pci_resume(struct device *dev_d) in prism2_pci_resume() argument
421 struct net_device *dev = dev_get_drvdata(dev_d); in prism2_pci_resume()
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/
Dne2k-pci.c705 static int __maybe_unused ne2k_pci_suspend(struct device *dev_d) in ne2k_pci_suspend() argument
707 struct net_device *dev = dev_get_drvdata(dev_d); in ne2k_pci_suspend()
714 static int __maybe_unused ne2k_pci_resume(struct device *dev_d) in ne2k_pci_resume() argument
716 struct net_device *dev = dev_get_drvdata(dev_d); in ne2k_pci_resume()
/kernel/linux/linux-5.10/drivers/staging/rts5208/
Drtsx.c264 static int __maybe_unused rtsx_suspend(struct device *dev_d) in rtsx_suspend() argument
266 struct pci_dev *pci = to_pci_dev(dev_d); in rtsx_suspend()
288 device_wakeup_enable(dev_d); in rtsx_suspend()
296 static int __maybe_unused rtsx_resume(struct device *dev_d) in rtsx_resume() argument
298 struct pci_dev *pci = to_pci_dev(dev_d); in rtsx_resume()
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
Dsmsc9420.c1429 static int __maybe_unused smsc9420_suspend(struct device *dev_d) in smsc9420_suspend() argument
1431 struct net_device *dev = dev_get_drvdata(dev_d); in smsc9420_suspend()
1456 device_wakeup_disable(dev_d); in smsc9420_suspend()
1461 static int __maybe_unused smsc9420_resume(struct device *dev_d) in smsc9420_resume() argument
1463 struct net_device *dev = dev_get_drvdata(dev_d); in smsc9420_resume()
1466 pci_set_master(to_pci_dev(dev_d)); in smsc9420_resume()
1468 device_wakeup_disable(dev_d); in smsc9420_resume()
Depic100.c1528 static int __maybe_unused epic_suspend(struct device *dev_d) in epic_suspend() argument
1530 struct net_device *dev = dev_get_drvdata(dev_d); in epic_suspend()
1544 static int __maybe_unused epic_resume(struct device *dev_d) in epic_resume() argument
1546 struct net_device *dev = dev_get_drvdata(dev_d); in epic_resume()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Dtulip_core.c1812 static int __maybe_unused tulip_suspend(struct device *dev_d) in tulip_suspend() argument
1814 struct net_device *dev = dev_get_drvdata(dev_d); in tulip_suspend()
1830 tulip_set_wolopts(to_pci_dev(dev_d), tp->wolinfo.wolopts); in tulip_suspend()
1831 device_set_wakeup_enable(dev_d, !!tp->wolinfo.wolopts); in tulip_suspend()
1836 static int __maybe_unused tulip_resume(struct device *dev_d) in tulip_resume() argument
1838 struct pci_dev *pdev = to_pci_dev(dev_d); in tulip_resume()
1839 struct net_device *dev = dev_get_drvdata(dev_d); in tulip_resume()
1859 device_set_wakeup_enable(dev_d, 0); in tulip_resume()
Ddmfe.c2088 static int __maybe_unused dmfe_suspend(struct device *dev_d) in dmfe_suspend() argument
2090 struct net_device *dev = dev_get_drvdata(dev_d); in dmfe_suspend()
2109 device_wakeup_enable(dev_d); in dmfe_suspend()
2114 static int __maybe_unused dmfe_resume(struct device *dev_d) in dmfe_resume() argument
2116 struct net_device *dev = dev_get_drvdata(dev_d); in dmfe_resume()
2122 device_wakeup_disable(dev_d); in dmfe_resume()
Duli526x.c1176 static int __maybe_unused uli526x_suspend(struct device *dev_d) in uli526x_suspend() argument
1178 struct net_device *dev = dev_get_drvdata(dev_d); in uli526x_suspend()
1188 device_set_wakeup_enable(dev_d, 0); in uli526x_suspend()
1197 static int __maybe_unused uli526x_resume(struct device *dev_d) in uli526x_resume() argument
1199 struct net_device *dev = dev_get_drvdata(dev_d); in uli526x_resume()
Dwinbond-840.c1555 static int __maybe_unused w840_suspend(struct device *dev_d) in w840_suspend() argument
1557 struct net_device *dev = dev_get_drvdata(dev_d); in w840_suspend()
1590 static int __maybe_unused w840_resume(struct device *dev_d) in w840_resume() argument
1592 struct net_device *dev = dev_get_drvdata(dev_d); in w840_resume()
/kernel/linux/linux-5.10/drivers/net/can/
Dpch_can.c1036 static int __maybe_unused pch_can_suspend(struct device *dev_d) in pch_can_suspend() argument
1042 struct net_device *dev = dev_get_drvdata(dev_d); in pch_can_suspend()
1060 dev_err(dev_d, "%s -> Transmission time out.\n", __func__); in pch_can_suspend()
1087 static int __maybe_unused pch_can_resume(struct device *dev_d) in pch_can_resume() argument
1090 struct net_device *dev = dev_get_drvdata(dev_d); in pch_can_resume()
/kernel/linux/linux-5.10/drivers/media/pci/sta2x11/
Dsta2x11_vip.c1177 static int __maybe_unused sta2x11_vip_suspend(struct device *dev_d) in sta2x11_vip_suspend() argument
1179 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev_d); in sta2x11_vip_suspend()
1211 static int __maybe_unused sta2x11_vip_resume(struct device *dev_d) in sta2x11_vip_resume() argument
1213 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev_d); in sta2x11_vip_resume()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/zip/
Dzip_main.c585 struct dentry *dev_d; in hisi_zip_debugfs_init() local
588 dev_d = debugfs_create_dir(dev_name(dev), hzip_debugfs_root); in hisi_zip_debugfs_init()
592 qm->debug.debug_root = dev_d; in hisi_zip_debugfs_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
Damd8111e.c1591 static int __maybe_unused amd8111e_suspend(struct device *dev_d) in amd8111e_suspend() argument
1593 struct net_device *dev = dev_get_drvdata(dev_d); in amd8111e_suspend()
1620 device_set_wakeup_enable(dev_d, 1); in amd8111e_suspend()
1624 device_set_wakeup_enable(dev_d, 0); in amd8111e_suspend()
1630 static int __maybe_unused amd8111e_resume(struct device *dev_d) in amd8111e_resume() argument
1632 struct net_device *dev = dev_get_drvdata(dev_d); in amd8111e_resume()
/kernel/linux/linux-5.10/drivers/net/ethernet/silan/
Dsc92031.c1504 static int __maybe_unused sc92031_suspend(struct device *dev_d) in sc92031_suspend() argument
1506 struct net_device *dev = dev_get_drvdata(dev_d); in sc92031_suspend()
1527 static int __maybe_unused sc92031_resume(struct device *dev_d) in sc92031_resume() argument
1529 struct net_device *dev = dev_get_drvdata(dev_d); in sc92031_resume()
/kernel/linux/linux-5.10/drivers/misc/cardreader/
Drtsx_pcr.c1651 static int __maybe_unused rtsx_pci_suspend(struct device *dev_d) in rtsx_pci_suspend() argument
1653 struct pci_dev *pcidev = to_pci_dev(dev_d); in rtsx_pci_suspend()
1669 device_wakeup_disable(dev_d); in rtsx_pci_suspend()
1675 static int __maybe_unused rtsx_pci_resume(struct device *dev_d) in rtsx_pci_resume() argument
1677 struct pci_dev *pcidev = to_pci_dev(dev_d); in rtsx_pci_resume()
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
Dsaa7134-core.c1396 static int __maybe_unused saa7134_suspend(struct device *dev_d) in saa7134_suspend() argument
1398 struct pci_dev *pci_dev = to_pci_dev(dev_d); in saa7134_suspend()
1431 static int __maybe_unused saa7134_resume(struct device *dev_d) in saa7134_resume() argument
1433 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev_d); in saa7134_resume()
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/
Dtyphoon.c2127 typhoon_resume(struct device *dev_d) in typhoon_resume() argument
2129 struct net_device *dev = dev_get_drvdata(dev_d); in typhoon_resume()
2156 typhoon_suspend(struct device *dev_d) in typhoon_suspend() argument
2158 struct pci_dev *pdev = to_pci_dev(dev_d); in typhoon_suspend()
2207 device_wakeup_enable(dev_d); in typhoon_suspend()
2212 typhoon_resume(dev_d); in typhoon_suspend()

123