Home
last modified time | relevance | path

Searched refs:__dev (Results 1 – 14 of 14) sorted by relevance

/drivers/net/wireless/rt2x00/
Drt2x00queue.h510 #define queue_end(__dev) \ argument
511 &(__dev)->rx[(__dev)->data_queues]
521 #define tx_queue_end(__dev) \ argument
522 &(__dev)->tx[(__dev)->ops->tx_queues]
557 #define queue_for_each(__dev, __entry) \ argument
558 queue_loop(__entry, (__dev)->rx, queue_end(__dev))
568 #define tx_queue_for_each(__dev, __entry) \ argument
569 queue_loop(__entry, (__dev)->tx, tx_queue_end(__dev))
579 #define txall_queue_for_each(__dev, __entry) \ argument
580 queue_loop(__entry, (__dev)->tx, queue_end(__dev))
Drt2x00.h61 #define DEBUG_PRINTK_MSG(__dev, __kernlvl, __lvl, __msg, __args...) \ argument
63 wiphy_name((__dev)->hw->wiphy), __func__, __lvl, ##__args)
70 #define DEBUG_PRINTK(__dev, __kernlvl, __lvl, __msg, __args...) \ argument
71 DEBUG_PRINTK_MSG(__dev, __kernlvl, __lvl, __msg, ##__args)
73 #define DEBUG_PRINTK(__dev, __kernlvl, __lvl, __msg, __args...) \ argument
84 #define PANIC(__dev, __msg, __args...) \ argument
85 DEBUG_PRINTK_MSG(__dev, KERN_CRIT, "Panic", __msg, ##__args)
86 #define ERROR(__dev, __msg, __args...) \ argument
87 DEBUG_PRINTK_MSG(__dev, KERN_ERR, "Error", __msg, ##__args)
90 #define WARNING(__dev, __msg, __args...) \ argument
[all …]
Drt2400pci.c53 #define WAIT_FOR_BBP(__dev, __reg) \ argument
54 rt2x00pci_regbusy_read((__dev), BBPCSR, BBPCSR_BUSY, (__reg))
55 #define WAIT_FOR_RF(__dev, __reg) \ argument
56 rt2x00pci_regbusy_read((__dev), RFCSR, RFCSR_BUSY, (__reg))
Drt2500usb.c144 #define WAIT_FOR_BBP(__dev, __reg) \ argument
145 rt2500usb_regbusy_read((__dev), PHY_CSR8, PHY_CSR8_BUSY, (__reg))
146 #define WAIT_FOR_RF(__dev, __reg) \ argument
147 rt2500usb_regbusy_read((__dev), PHY_CSR10, PHY_CSR10_RF_BUSY, (__reg))
Drt61pci.c59 #define WAIT_FOR_BBP(__dev, __reg) \ argument
60 rt2x00pci_regbusy_read((__dev), PHY_CSR3, PHY_CSR3_BUSY, (__reg))
61 #define WAIT_FOR_RF(__dev, __reg) \ argument
62 rt2x00pci_regbusy_read((__dev), PHY_CSR4, PHY_CSR4_BUSY, (__reg))
63 #define WAIT_FOR_MCU(__dev, __reg) \ argument
64 rt2x00pci_regbusy_read((__dev), H2M_MAILBOX_CSR, \
Drt2500pci.c53 #define WAIT_FOR_BBP(__dev, __reg) \ argument
54 rt2x00pci_regbusy_read((__dev), BBPCSR, BBPCSR_BUSY, (__reg))
55 #define WAIT_FOR_RF(__dev, __reg) \ argument
56 rt2x00pci_regbusy_read((__dev), RFCSR, RFCSR_BUSY, (__reg))
Drt73usb.c61 #define WAIT_FOR_BBP(__dev, __reg) \ argument
62 rt2x00usb_regbusy_read((__dev), PHY_CSR3, PHY_CSR3_BUSY, (__reg))
63 #define WAIT_FOR_RF(__dev, __reg) \ argument
64 rt2x00usb_regbusy_read((__dev), PHY_CSR4, PHY_CSR4_BUSY, (__reg))
Drt2800lib.c60 #define WAIT_FOR_BBP(__dev, __reg) \ argument
61 rt2800_regbusy_read((__dev), BBP_CSR_CFG, BBP_CSR_CFG_BUSY, (__reg))
62 #define WAIT_FOR_RFCSR(__dev, __reg) \ argument
63 rt2800_regbusy_read((__dev), RF_CSR_CFG, RF_CSR_CFG_BUSY, (__reg))
64 #define WAIT_FOR_RF(__dev, __reg) \ argument
65 rt2800_regbusy_read((__dev), RF_CSR_CFG0, RF_CSR_CFG0_BUSY, (__reg))
66 #define WAIT_FOR_MCU(__dev, __reg) \ argument
67 rt2800_regbusy_read((__dev), H2M_MAILBOX_CSR, \
/drivers/tty/serial/
Dsamsung.h66 #define s3c24xx_dev_to_port(__dev) (struct uart_port *)dev_get_drvdata(__dev) argument
/drivers/base/power/
Ddomain.c536 bool (*stop_ok)(struct device *__dev); in pm_genpd_runtime_suspend()
1617 int (*cb)(struct device *__dev); in pm_genpd_default_save_state()
1636 int (*cb)(struct device *__dev); in pm_genpd_default_restore_state()
1657 int (*cb)(struct device *__dev) = dev_gpd_data(dev)->ops.suspend; in pm_genpd_default_suspend()
1668 int (*cb)(struct device *__dev) = dev_gpd_data(dev)->ops.suspend_late; in pm_genpd_default_suspend_late()
1679 int (*cb)(struct device *__dev) = dev_gpd_data(dev)->ops.resume_early; in pm_genpd_default_resume_early()
1690 int (*cb)(struct device *__dev) = dev_gpd_data(dev)->ops.resume; in pm_genpd_default_resume()
1701 int (*cb)(struct device *__dev) = dev_gpd_data(dev)->ops.freeze; in pm_genpd_default_freeze()
1712 int (*cb)(struct device *__dev) = dev_gpd_data(dev)->ops.freeze_late; in pm_genpd_default_freeze_late()
1723 int (*cb)(struct device *__dev) = dev_gpd_data(dev)->ops.thaw_early; in pm_genpd_default_thaw_early()
[all …]
/drivers/staging/rts_pstor/
Drtsx.c463 static int rtsx_control_thread(void *__dev) in rtsx_control_thread() argument
465 struct rtsx_dev *dev = (struct rtsx_dev *)__dev; in rtsx_control_thread()
572 static int rtsx_polling_thread(void *__dev) in rtsx_polling_thread() argument
574 struct rtsx_dev *dev = (struct rtsx_dev *)__dev; in rtsx_polling_thread()
770 static int rtsx_scan_thread(void *__dev) in rtsx_scan_thread() argument
772 struct rtsx_dev *dev = (struct rtsx_dev *)__dev; in rtsx_scan_thread()
/drivers/usb/c67x00/
Dc67x00-drv.c86 static irqreturn_t c67x00_irq(int irq, void *__dev) in c67x00_irq() argument
88 struct c67x00_device *c67x00 = __dev; in c67x00_irq()
/drivers/scsi/aic94xx/
Daic94xx_hwi.h231 #define dev_to_asd_ha(__dev) pci_get_drvdata(to_pci_dev(__dev)) argument
/drivers/net/ethernet/sis/
Dsis190.c732 static irqreturn_t sis190_interrupt(int irq, void *__dev) in sis190_interrupt() argument
734 struct net_device *dev = __dev; in sis190_interrupt()