Home
last modified time | relevance | path

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

1234

/Linux-v4.19/arch/powerpc/platforms/ps3/
Dsystem-bus.c346 static int ps3_system_bus_match(struct device *_dev, in ps3_system_bus_match() argument
351 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_match()
373 static int ps3_system_bus_probe(struct device *_dev) in ps3_system_bus_probe() argument
376 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_probe()
380 dev_dbg(_dev, "%s:%d\n", __func__, __LINE__); in ps3_system_bus_probe()
395 static int ps3_system_bus_remove(struct device *_dev) in ps3_system_bus_remove() argument
398 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_remove()
402 dev_dbg(_dev, "%s:%d\n", __func__, __LINE__); in ps3_system_bus_remove()
417 static void ps3_system_bus_shutdown(struct device *_dev) in ps3_system_bus_shutdown() argument
419 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_shutdown()
[all …]
/Linux-v4.19/drivers/gpu/drm/gma500/
Dpower.c188 int gma_power_suspend(struct device *_dev) in gma_power_suspend() argument
190 struct pci_dev *pdev = to_pci_dev(_dev); in gma_power_suspend()
215 int gma_power_resume(struct device *_dev) in gma_power_resume() argument
217 struct pci_dev *pdev = to_pci_dev(_dev); in gma_power_resume()
319 int gma_power_thaw(struct device *_dev) in gma_power_thaw() argument
321 return gma_power_resume(_dev); in gma_power_thaw()
324 int gma_power_freeze(struct device *_dev) in gma_power_freeze() argument
326 return gma_power_suspend(_dev); in gma_power_freeze()
329 int gma_power_restore(struct device *_dev) in gma_power_restore() argument
331 return gma_power_resume(_dev); in gma_power_restore()
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_dev_api.h139 #define PVRDMA_IS_VERSION17(_dev) \ argument
140 (_dev->dsr_version == PVRDMA_ROCEV1_VERSION && \
141 _dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V1)
143 #define PVRDMA_IS_VERSION18(_dev) \ argument
144 (_dev->dsr_version >= PVRDMA_ROCEV2_VERSION && \
145 (_dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V1 || \
146 _dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V2)) \
148 #define PVRDMA_SUPPORTED(_dev) \ argument
149 ((_dev->dsr->caps.mode == PVRDMA_DEVICE_MODE_ROCE) && \
150 (PVRDMA_IS_VERSION17(_dev) || PVRDMA_IS_VERSION18(_dev)))
[all …]
/Linux-v4.19/arch/mips/include/asm/
Dgio_device.h52 #define gio_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev) argument
53 #define gio_set_drvdata(_dev, data) dev_set_drvdata(&(_dev)->dev, (data)) argument
/Linux-v4.19/drivers/thermal/
Dthermal_core.h42 #define to_thermal_zone(_dev) \ argument
43 container_of(_dev, struct thermal_zone_device, device)
45 #define to_cooling_device(_dev) \ argument
46 container_of(_dev, struct thermal_cooling_device, device)
/Linux-v4.19/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-v4.19/drivers/hwtracing/coresight/
Dcoresight-priv.h36 static ssize_t name##_show(struct device *_dev, \
39 type *drvdata = dev_get_drvdata(_dev->parent); \
42 pm_runtime_get_sync(_dev->parent); \
44 val = (u64)fn(_dev->parent, lo_off); \
48 pm_runtime_put_sync(_dev->parent); \
/Linux-v4.19/sound/pci/emu10k1/
Demu10k1_synth.c32 static int snd_emu10k1_synth_probe(struct device *_dev) in snd_emu10k1_synth_probe() argument
34 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_emu10k1_synth_probe()
83 static int snd_emu10k1_synth_remove(struct device *_dev) in snd_emu10k1_synth_remove() argument
85 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_emu10k1_synth_remove()
/Linux-v4.19/drivers/xen/xenbus/
Dxenbus.h104 int xenbus_match(struct device *_dev, struct device_driver *_drv);
105 int xenbus_dev_probe(struct device *_dev);
106 int xenbus_dev_remove(struct device *_dev);
118 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()
208 int xenbus_dev_probe(struct device *_dev) in xenbus_dev_probe() argument
210 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe()
211 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); in xenbus_dev_probe()
254 int xenbus_dev_remove(struct device *_dev) in xenbus_dev_remove() argument
256 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_remove()
257 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); in xenbus_dev_remove()
273 void xenbus_dev_shutdown(struct device *_dev) in xenbus_dev_shutdown() argument
275 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_shutdown()
/Linux-v4.19/sound/isa/sb/
Demu8000_synth.c37 static int snd_emu8000_probe(struct device *_dev) in snd_emu8000_probe() argument
39 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_emu8000_probe()
97 static int snd_emu8000_remove(struct device *_dev) in snd_emu8000_remove() argument
99 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_emu8000_remove()
/Linux-v4.19/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-v4.19/net/l3mdev/
Dl3mdev.c32 struct net_device *_dev = (struct net_device *)dev; in l3mdev_master_ifindex_rcu() local
40 master = netdev_master_upper_dev_get_rcu(_dev); in l3mdev_master_ifindex_rcu()
69 struct net_device *_dev = (struct net_device *) dev; in l3mdev_fib_table_rcu() local
72 master = netdev_master_upper_dev_get_rcu(_dev); in l3mdev_fib_table_rcu()
/Linux-v4.19/sound/drivers/opl4/
Dopl4_seq.c127 static int snd_opl4_seq_probe(struct device *_dev) in snd_opl4_seq_probe() argument
129 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_opl4_seq_probe()
184 static int snd_opl4_seq_remove(struct device *_dev) in snd_opl4_seq_remove() argument
186 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_opl4_seq_remove()
/Linux-v4.19/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-v4.19/arch/powerpc/include/asm/
Dps3.h409 struct device *_dev) in ps3_dev_to_system_bus_dev() argument
411 return container_of(_dev, struct ps3_system_bus_device, core); in ps3_dev_to_system_bus_dev()
414 ps3_system_bus_dev_to_system_bus_drv(struct ps3_system_bus_device *_dev) in ps3_system_bus_dev_to_system_bus_drv() argument
416 BUG_ON(!_dev); in ps3_system_bus_dev_to_system_bus_drv()
417 BUG_ON(!_dev->core.driver); in ps3_system_bus_dev_to_system_bus_drv()
418 return ps3_drv_to_system_bus_drv(_dev->core.driver); in ps3_system_bus_dev_to_system_bus_drv()
/Linux-v4.19/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-v4.19/drivers/base/
Dplatform.c564 static int platform_drv_probe(struct device *_dev) in platform_drv_probe() argument
566 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_probe()
567 struct platform_device *dev = to_platform_device(_dev); in platform_drv_probe()
570 ret = of_clk_set_defaults(_dev->of_node, false); in platform_drv_probe()
574 ret = dev_pm_domain_attach(_dev, true); in platform_drv_probe()
581 dev_pm_domain_detach(_dev, true); in platform_drv_probe()
586 dev_warn(_dev, "probe deferral not supported\n"); in platform_drv_probe()
593 static int platform_drv_probe_fail(struct device *_dev) in platform_drv_probe_fail() argument
598 static int platform_drv_remove(struct device *_dev) in platform_drv_remove() argument
600 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_remove()
[all …]
/Linux-v4.19/drivers/siox/
Dsiox.h9 #define to_siox_master(_dev) container_of((_dev), struct siox_master, dev) argument
/Linux-v4.19/include/sound/
Dseq_device.h41 #define to_seq_dev(_dev) \ argument
42 container_of(_dev, struct snd_seq_device, dev)
/Linux-v4.19/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-v4.19/include/linux/
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()
Dsiox.h11 #define to_siox_device(_dev) container_of((_dev), struct siox_device, dev) argument
/Linux-v4.19/sound/drivers/opl3/
Dopl3_seq.c219 static int snd_opl3_seq_probe(struct device *_dev) in snd_opl3_seq_probe() argument
221 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_opl3_seq_probe()
261 static int snd_opl3_seq_remove(struct device *_dev) in snd_opl3_seq_remove() argument
263 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_opl3_seq_remove()
/Linux-v4.19/drivers/ps3/
Dvuart.h61 ps3_system_bus_dev_to_vuart_drv(struct ps3_system_bus_device *_dev) in ps3_system_bus_dev_to_vuart_drv() argument
64 ps3_system_bus_dev_to_system_bus_drv(_dev); in ps3_system_bus_dev_to_vuart_drv()

1234