Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/mellanox/mlx5/core/
Dmlx5_core.h47 #define mlx5_core_dbg(__dev, format, ...) \ argument
48 dev_dbg((__dev)->device, "%s:%d:(pid %d): " format, \
52 #define mlx5_core_dbg_once(__dev, format, ...) \ argument
53 dev_dbg_once((__dev)->device, \
58 #define mlx5_core_dbg_mask(__dev, mask, format, ...) \ argument
61 mlx5_core_dbg(__dev, format, ##__VA_ARGS__); \
64 #define mlx5_core_err(__dev, format, ...) \ argument
65 dev_err((__dev)->device, "%s:%d:(pid %d): " format, \
69 #define mlx5_core_err_rl(__dev, format, ...) \ argument
70 dev_err_ratelimited((__dev)->device, \
[all …]
Deswitch.h536 #define esw_info(__dev, format, ...) \ argument
537 dev_info((__dev)->device, "E-Switch: " format, ##__VA_ARGS__)
539 #define esw_warn(__dev, format, ...) \ argument
540 dev_warn((__dev)->device, "E-Switch: " format, ##__VA_ARGS__)
Dmain.c1582 struct mlx5_core_dev *__dev = (dev); \
1583 mlx5_core_info(__dev, "%s Device state = %d health sensors: %d pci_status: %d. " fmt, \
1584 __func__, __dev->state, mlx5_health_check_fatal_sensors(__dev), \
1585 __dev->pci_status, ##__VA_ARGS__); \
/drivers/net/wireless/ralink/rt2x00/
Drt2x00queue.h493 #define queue_end(__dev) \ argument
494 &(__dev)->rx[(__dev)->data_queues]
504 #define tx_queue_end(__dev) \ argument
505 &(__dev)->tx[(__dev)->ops->tx_queues]
540 #define queue_for_each(__dev, __entry) \ argument
541 queue_loop(__entry, (__dev)->rx, queue_end(__dev))
551 #define tx_queue_for_each(__dev, __entry) \ argument
552 queue_loop(__entry, (__dev)->tx, tx_queue_end(__dev))
562 #define txall_queue_for_each(__dev, __entry) \ argument
563 queue_loop(__entry, (__dev)->tx, queue_end(__dev))
Drt2500usb.c117 #define WAIT_FOR_BBP(__dev, __reg) \ argument
118 rt2500usb_regbusy_read((__dev), PHY_CSR8, PHY_CSR8_BUSY, (__reg))
119 #define WAIT_FOR_RF(__dev, __reg) \ argument
120 rt2500usb_regbusy_read((__dev), PHY_CSR10, PHY_CSR10_RF_BUSY, (__reg))
Drt2400pci.c40 #define WAIT_FOR_BBP(__dev, __reg) \ argument
41 rt2x00mmio_regbusy_read((__dev), BBPCSR, BBPCSR_BUSY, (__reg))
42 #define WAIT_FOR_RF(__dev, __reg) \ argument
43 rt2x00mmio_regbusy_read((__dev), RFCSR, RFCSR_BUSY, (__reg))
Drt61pci.c46 #define WAIT_FOR_BBP(__dev, __reg) \ argument
47 rt2x00mmio_regbusy_read((__dev), PHY_CSR3, PHY_CSR3_BUSY, (__reg))
48 #define WAIT_FOR_RF(__dev, __reg) \ argument
49 rt2x00mmio_regbusy_read((__dev), PHY_CSR4, PHY_CSR4_BUSY, (__reg))
50 #define WAIT_FOR_MCU(__dev, __reg) \ argument
51 rt2x00mmio_regbusy_read((__dev), H2M_MAILBOX_CSR, \
Drt2500pci.c40 #define WAIT_FOR_BBP(__dev, __reg) \ argument
41 rt2x00mmio_regbusy_read((__dev), BBPCSR, BBPCSR_BUSY, (__reg))
42 #define WAIT_FOR_RF(__dev, __reg) \ argument
43 rt2x00mmio_regbusy_read((__dev), RFCSR, RFCSR_BUSY, (__reg))
Drt73usb.c47 #define WAIT_FOR_BBP(__dev, __reg) \ argument
48 rt2x00usb_regbusy_read((__dev), PHY_CSR3, PHY_CSR3_BUSY, (__reg))
49 #define WAIT_FOR_RF(__dev, __reg) \ argument
50 rt2x00usb_regbusy_read((__dev), PHY_CSR4, PHY_CSR4_BUSY, (__reg))
Drt2800lib.c51 #define WAIT_FOR_BBP(__dev, __reg) \ argument
52 rt2800_regbusy_read((__dev), BBP_CSR_CFG, BBP_CSR_CFG_BUSY, (__reg))
53 #define WAIT_FOR_RFCSR(__dev, __reg) \ argument
54 rt2800_regbusy_read((__dev), RF_CSR_CFG, RF_CSR_CFG_BUSY, (__reg))
55 #define WAIT_FOR_RFCSR_MT7620(__dev, __reg) \ argument
56 rt2800_regbusy_read((__dev), RF_CSR_CFG, RF_CSR_CFG_BUSY_MT7620, \
58 #define WAIT_FOR_RF(__dev, __reg) \ argument
59 rt2800_regbusy_read((__dev), RF_CSR_CFG0, RF_CSR_CFG0_BUSY, (__reg))
60 #define WAIT_FOR_MCU(__dev, __reg) \ argument
61 rt2800_regbusy_read((__dev), H2M_MAILBOX_CSR, \
/drivers/vdpa/mlx5/core/
Dmlx5_vdpa.h110 #define mlx5_vdpa_warn(__dev, format, ...) \ argument
111 dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \
114 #define mlx5_vdpa_info(__dev, format, ...) \ argument
115 dev_info((__dev)->mdev->device, "%s:%d:(pid %d): " format, __func__, __LINE__, \
118 #define mlx5_vdpa_dbg(__dev, format, ...) \ argument
119 dev_debug((__dev)->mdev->device, "%s:%d:(pid %d): " format, __func__, __LINE__, \
/drivers/gpu/drm/tidss/
Dtidss_drv.h36 #define to_tidss(__dev) container_of(__dev, struct tidss_device, ddev) argument
/drivers/soc/sunxi/
Dsunxi_mbus.c61 unsigned long event, void *__dev) in sunxi_mbus_notifier() argument
63 struct device *dev = __dev; in sunxi_mbus_notifier()
/drivers/scsi/csiostor/
Dcsio_hw.h607 #define CSIO_DEVID(__dev) ((__dev)->dev_num) argument
608 #define CSIO_DEVID_LO(__dev) (CSIO_DEVID((__dev)) & 0xFFFF) argument
609 #define CSIO_DEVID_HI(__dev) ((CSIO_DEVID((__dev)) >> 16) & 0xFFFF) argument
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.h54 #define IEEE_FAUX_SYNC(__dev, __dcb) \ argument
57 cxgb4_dcb_state_fsm((__dev), \
/drivers/staging/rts5208/
Drtsx.c355 static int rtsx_control_thread(void *__dev) in rtsx_control_thread() argument
357 struct rtsx_dev *dev = __dev; in rtsx_control_thread()
463 static int rtsx_polling_thread(void *__dev) in rtsx_polling_thread() argument
465 struct rtsx_dev *dev = __dev; in rtsx_polling_thread()
661 static int rtsx_scan_thread(void *__dev) in rtsx_scan_thread() argument
663 struct rtsx_dev *dev = __dev; in rtsx_scan_thread()
/drivers/usb/c67x00/
Dc67x00-drv.c72 static irqreturn_t c67x00_irq(int irq, void *__dev) in c67x00_irq() argument
74 struct c67x00_device *c67x00 = __dev; in c67x00_irq()
/drivers/media/dvb-frontends/
Dts2020.c535 static void ts2020_regmap_lock(void *__dev) in ts2020_regmap_lock() argument
537 struct ts2020_priv *dev = __dev; in ts2020_regmap_lock()
544 static void ts2020_regmap_unlock(void *__dev) in ts2020_regmap_unlock() argument
546 struct ts2020_priv *dev = __dev; in ts2020_regmap_unlock()
/drivers/scsi/aic94xx/
Daic94xx_hwi.h213 #define dev_to_asd_ha(__dev) pci_get_drvdata(to_pci_dev(__dev)) argument
/drivers/net/ethernet/mellanox/mlx5/core/en/
Drss.c6 #define mlx5e_rss_warn(__dev, format, ...) \ argument
7 dev_warn((__dev)->device, "%s:%d:(pid %d): " format, \
/drivers/net/wireless/mediatek/mt7601u/
Dtrace.h71 #define trace_mt_submit_urb_sync(__dev, __pipe, __len) ({ \ argument
75 trace_mt_submit_urb(__dev, &u); \
/drivers/gpu/drm/tiny/
Dgm12u320.c102 #define to_gm12u320(__dev) container_of(__dev, struct gm12u320_device, dev) argument
/drivers/base/power/
Ddomain.c817 int (*cb)(struct device *__dev); in __genpd_runtime_suspend()
840 int (*cb)(struct device *__dev); in __genpd_runtime_resume()
868 bool (*suspend_ok)(struct device *__dev); in genpd_runtime_suspend()
/drivers/net/ethernet/sis/
Dsis190.c735 static irqreturn_t sis190_irq(int irq, void *__dev) in sis190_irq() argument
737 struct net_device *dev = __dev; in sis190_irq()
/drivers/media/i2c/
Dtvp5150.c56 #define dprintk0(__dev, __arg...) dev_dbg_lvl(__dev, 0, 0, __arg) argument

12