Home
last modified time | relevance | path

Searched refs:_dev (Results 1 – 25 of 31) sorted by relevance

12

/linux-4.19.296/include/linux/wimax/
Ddebug.h384 #define d_fnstart(l, _dev, f, a...) _d_printf(l, " FNSTART", _dev, f, ## a) argument
394 #define d_fnend(l, _dev, f, a...) _d_printf(l, " FNEND", _dev, f, ## a) argument
404 #define d_printf(l, _dev, f, a...) _d_printf(l, "", _dev, f, ## a) argument
/linux-4.19.296/drivers/xen/xenbus/
Dxenbus.h107 int xenbus_match(struct device *_dev, struct device_driver *_drv);
108 int xenbus_dev_probe(struct device *_dev);
109 int xenbus_dev_remove(struct device *_dev);
121 void xenbus_dev_shutdown(struct device *_dev);
Dxenbus_probe.c92 int xenbus_match(struct device *_dev, struct device_driver *_drv) in xenbus_match() argument
99 return match_device(drv->ids, to_xenbus_device(_dev)) != NULL; in xenbus_match()
209 int xenbus_dev_probe(struct device *_dev) in xenbus_dev_probe() argument
211 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe()
212 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); in xenbus_dev_probe()
255 int xenbus_dev_remove(struct device *_dev) in xenbus_dev_remove() argument
257 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_remove()
258 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); in xenbus_dev_remove()
274 void xenbus_dev_shutdown(struct device *_dev) in xenbus_dev_shutdown() argument
276 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_shutdown()
Dxenbus_probe_frontend.c76 static int xenbus_uevent_frontend(struct device *_dev, in xenbus_uevent_frontend() argument
79 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_uevent_frontend()
/linux-4.19.296/include/scsi/
Dscsi_transport_iscsi.h215 #define iscsi_dev_to_conn(_dev) \ argument
216 container_of(_dev, struct iscsi_cls_conn, dev)
261 #define iscsi_dev_to_session(_dev) \ argument
262 container_of(_dev, struct iscsi_cls_session, dev)
302 #define iscsi_dev_to_iface(_dev) \ argument
303 container_of(_dev, struct iscsi_iface, dev)
346 #define iscsi_dev_to_flash_conn(_dev) \ argument
347 container_of(_dev, struct iscsi_bus_flash_conn, dev)
408 #define iscsi_dev_to_flash_session(_dev) \ argument
409 container_of(_dev, struct iscsi_bus_flash_session, dev)
/linux-4.19.296/drivers/parport/
Dparport_ax88796.c274 struct device *_dev = &pdev->dev; in parport_ax88796_probe() local
289 dev_err(_dev, "no MEM specified\n"); in parport_ax88796_probe()
299 dev_err(_dev, "cannot reserve memory\n"); in parport_ax88796_probe()
306 dev_err(_dev, "cannot ioremap region\n"); in parport_ax88796_probe()
320 dev_err(_dev, "failed to register parallel port\n"); in parport_ax88796_probe()
327 dd->dev = _dev; in parport_ax88796_probe()
349 dev_info(_dev, "attached parallel port driver\n"); in parport_ax88796_probe()
/linux-4.19.296/drivers/siox/
Dsiox.h9 #define to_siox_master(_dev) container_of((_dev), struct siox_master, dev) argument
/linux-4.19.296/drivers/amba/
Dbus.c69 static ssize_t driver_override_show(struct device *_dev, in driver_override_show() argument
72 struct amba_device *dev = to_amba_device(_dev); in driver_override_show()
75 device_lock(_dev); in driver_override_show()
77 device_unlock(_dev); in driver_override_show()
81 static ssize_t driver_override_store(struct device *_dev, in driver_override_store() argument
85 struct amba_device *dev = to_amba_device(_dev); in driver_override_store()
100 device_lock(_dev); in driver_override_store()
108 device_unlock(_dev); in driver_override_store()
117 static ssize_t name##_show(struct device *_dev, \
120 struct amba_device *dev = to_amba_device(_dev); \
/linux-4.19.296/include/sound/
Dseq_device.h41 #define to_seq_dev(_dev) \ argument
42 container_of(_dev, struct snd_seq_device, dev)
/linux-4.19.296/drivers/base/
Dplatform.c589 static int platform_drv_probe(struct device *_dev) in platform_drv_probe() argument
591 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_probe()
592 struct platform_device *dev = to_platform_device(_dev); in platform_drv_probe()
595 ret = of_clk_set_defaults(_dev->of_node, false); in platform_drv_probe()
599 ret = dev_pm_domain_attach(_dev, true); in platform_drv_probe()
606 dev_pm_domain_detach(_dev, true); in platform_drv_probe()
611 dev_warn(_dev, "probe deferral not supported\n"); in platform_drv_probe()
618 static int platform_drv_probe_fail(struct device *_dev) in platform_drv_probe_fail() argument
623 static int platform_drv_remove(struct device *_dev) in platform_drv_remove() argument
625 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_remove()
[all …]
/linux-4.19.296/include/linux/
Dsiox.h11 #define to_siox_device(_dev) container_of((_dev), struct siox_device, dev) argument
Dmic_bus.h101 static inline struct mbus_device *dev_to_mbus(struct device *_dev) in dev_to_mbus() argument
103 return container_of(_dev, struct mbus_device, dev); in dev_to_mbus()
Dvirtio.h140 static inline struct virtio_device *dev_to_virtio(struct device *_dev) in dev_to_virtio() argument
142 return container_of(_dev, struct virtio_device, dev); in dev_to_virtio()
/linux-4.19.296/include/linux/fsl/
Dmc.h198 #define to_fsl_mc_device(_dev) \ argument
199 container_of(_dev, struct fsl_mc_device, dev)
348 #define dev_is_fsl_mc(_dev) ((_dev)->bus == &fsl_mc_bus_type) argument
351 #define dev_is_fsl_mc(_dev) (0) argument
/linux-4.19.296/drivers/char/
Dps3flash.c342 static int ps3flash_probe(struct ps3_system_bus_device *_dev) in ps3flash_probe() argument
344 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); in ps3flash_probe()
418 static int ps3flash_remove(struct ps3_system_bus_device *_dev) in ps3flash_remove() argument
420 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); in ps3flash_remove()
/linux-4.19.296/drivers/misc/vmw_vmci/
Dvmci_guest.c372 static irqreturn_t vmci_interrupt(int irq, void *_dev) in vmci_interrupt() argument
374 struct vmci_guest_device *dev = _dev; in vmci_interrupt()
416 static irqreturn_t vmci_interrupt_bm(int irq, void *_dev) in vmci_interrupt_bm() argument
418 struct vmci_guest_device *dev = _dev; in vmci_interrupt_bm()
/linux-4.19.296/drivers/i2c/busses/
Di2c-altera.c241 static irqreturn_t altr_i2c_isr_quick(int irq, void *_dev) in altr_i2c_isr_quick() argument
243 struct altr_i2c_dev *idev = _dev; in altr_i2c_isr_quick()
254 static irqreturn_t altr_i2c_isr(int irq, void *_dev) in altr_i2c_isr() argument
258 struct altr_i2c_dev *idev = _dev; in altr_i2c_isr()
Di2c-brcmstb.c187 #define bsc_readl(_dev, _reg) \ argument
188 __bsc_readl(_dev->base + offsetof(struct bsc_regs, _reg))
190 #define bsc_writel(_dev, _val, _reg) \ argument
191 __bsc_writel(_val, _dev->base + offsetof(struct bsc_regs, _reg))
Di2c-owl.c167 static irqreturn_t owl_i2c_interrupt(int irq, void *_dev) in owl_i2c_interrupt() argument
169 struct owl_i2c_dev *i2c_dev = _dev; in owl_i2c_interrupt()
/linux-4.19.296/include/net/
Dl3mdev.h80 struct net_device *l3mdev_master_dev_rcu(const struct net_device *_dev) in l3mdev_master_dev_rcu() argument
88 struct net_device *dev = (struct net_device *)_dev; in l3mdev_master_dev_rcu()
Dcfg802154.h372 #define to_phy(_dev) container_of(_dev, struct wpan_phy, dev) argument
/linux-4.19.296/include/net/nfc/
Dnfc.h209 #define to_nfc_dev(_dev) container_of(_dev, struct nfc_dev, dev) argument
/linux-4.19.296/include/linux/soundwire/
Dsdw.h507 #define dev_to_sdw_dev(_dev) container_of(_dev, struct sdw_slave, dev) argument
/linux-4.19.296/drivers/bus/
Dmips_cdmm.c92 static ssize_t name##_show(struct device *_dev, \
95 struct mips_cdmm_device *dev = to_mips_cdmm_device(_dev); \
/linux-4.19.296/include/linux/spi/
Dspi.h1353 #define devm_spi_register_master(_dev, _ctlr) \ argument
1354 devm_spi_register_controller(_dev, _ctlr)

12