Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dmlx5_core.h50 #define mlx5_core_dbg(__dev, format, ...) \ argument
51 dev_dbg((__dev)->device, "%s:%d:(pid %d): " format, \
55 #define mlx5_core_dbg_once(__dev, format, ...) \ argument
56 dev_dbg_once((__dev)->device, \
61 #define mlx5_core_dbg_mask(__dev, mask, format, ...) \ argument
64 mlx5_core_dbg(__dev, format, ##__VA_ARGS__); \
67 #define mlx5_core_err(__dev, format, ...) \ argument
68 dev_err((__dev)->device, "%s:%d:(pid %d): " format, \
72 #define mlx5_core_err_rl(__dev, format, ...) \ argument
73 dev_err_ratelimited((__dev)->device, \
[all …]
Deswitch.h474 #define esw_info(__dev, format, ...) \ argument
475 dev_info((__dev)->device, "E-Switch: " format, ##__VA_ARGS__)
477 #define esw_warn(__dev, format, ...) \ argument
478 dev_warn((__dev)->device, "E-Switch: " format, ##__VA_ARGS__)
/kernel/linux/linux-5.10/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))
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/
Dmlx5_vdpa.h84 #define mlx5_vdpa_warn(__dev, format, ...) \ argument
85 dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \
88 #define mlx5_vdpa_info(__dev, format, ...) \ argument
89 dev_info((__dev)->mdev->device, "%s:%d:(pid %d): " format, __func__, __LINE__, \
92 #define mlx5_vdpa_dbg(__dev, format, ...) \ argument
93 dev_debug((__dev)->mdev->device, "%s:%d:(pid %d): " format, __func__, __LINE__, \
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
Dtidss_drv.h34 #define to_tidss(__dev) container_of(__dev, struct tidss_device, ddev) argument
/kernel/linux/linux-5.10/include/linux/
Dgenhd.h22 #define dev_to_disk(device) container_of((device), struct gendisk, part0.__dev)
23 #define dev_to_part(device) container_of((device), struct hd_struct, __dev)
24 #define disk_to_dev(disk) (&(disk)->part0.__dev)
25 #define part_to_dev(part) (&((part)->__dev))
68 struct device __dev; member
Dntb.h436 #define dev_ntb(__dev) container_of((__dev), struct ntb_dev, dev) argument
Dnetdevice.h5142 #define netdev_dbg(__dev, format, args...) \ argument
5144 dynamic_netdev_dbg(__dev, format, ##args); \
5147 #define netdev_dbg(__dev, format, args...) \ argument
5148 netdev_printk(KERN_DEBUG, __dev, format, ##args)
5150 #define netdev_dbg(__dev, format, args...) \ argument
5153 netdev_printk(KERN_DEBUG, __dev, format, ##args); \
/kernel/linux/linux-5.10/arch/powerpc/platforms/512x/
Dpdm360ng.c74 unsigned long event, void *__dev) in pdm360ng_touchscreen_notifier_call() argument
76 struct device *dev = __dev; in pdm360ng_touchscreen_notifier_call()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.h54 #define IEEE_FAUX_SYNC(__dev, __dcb) \ argument
57 cxgb4_dcb_state_fsm((__dev), \
/kernel/linux/linux-5.10/arch/arm/mach-highbank/
Dhighbank.c68 unsigned long event, void *__dev) in highbank_platform_notifier() argument
73 struct device *dev = __dev; in highbank_platform_notifier()
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/
Dcoherency.c95 unsigned long event, void *__dev) in mvebu_hwcc_notifier() argument
97 struct device *dev = __dev; in mvebu_hwcc_notifier()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
Daic94xx_hwi.h213 #define dev_to_asd_ha(__dev) pci_get_drvdata(to_pci_dev(__dev)) argument
/kernel/linux/linux-5.10/include/media/
Dv4l2-common.h48 #define dev_dbg_lvl(__dev, __level, __debug, __fmt, __arg...) \ argument
51 dev_printk(KERN_DEBUG, __dev, __fmt, ##__arg); \
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
Dtrace.h71 #define trace_mt_submit_urb_sync(__dev, __pipe, __len) ({ \ argument
75 trace_mt_submit_urb(__dev, &u); \
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/
Dgm12u320.c102 #define to_gm12u320(__dev) container_of(__dev, struct gm12u320_device, dev) argument

12