Home
last modified time | relevance | path

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

/linux-4.1.27/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-4.1.27/drivers/gpu/drm/gma500/
Dpower.c188 int gma_power_suspend(struct device *_dev) in gma_power_suspend() argument
190 struct pci_dev *pdev = container_of(_dev, struct 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 = container_of(_dev, struct 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()
Dpower.h46 int gma_power_restore(struct device *_dev);
/linux-4.1.27/arch/mips/include/asm/
Dgio_device.h51 #define gio_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev) argument
52 #define gio_set_drvdata(_dev, data) dev_set_drvdata(&(_dev)->dev, (data)) argument
/linux-4.1.27/drivers/xen/xenbus/
Dxenbus_probe.h59 extern int xenbus_match(struct device *_dev, struct device_driver *_drv);
60 extern int xenbus_dev_probe(struct device *_dev);
61 extern int xenbus_dev_remove(struct device *_dev);
73 extern void xenbus_dev_shutdown(struct device *_dev);
Dxenbus_probe.c93 int xenbus_match(struct device *_dev, struct device_driver *_drv) in xenbus_match() argument
100 return match_device(drv->ids, to_xenbus_device(_dev)) != NULL; in xenbus_match()
212 int xenbus_dev_probe(struct device *_dev) in xenbus_dev_probe() argument
214 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe()
215 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); in xenbus_dev_probe()
258 int xenbus_dev_remove(struct device *_dev) in xenbus_dev_remove() argument
260 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_remove()
261 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); in xenbus_dev_remove()
277 void xenbus_dev_shutdown(struct device *_dev) in xenbus_dev_shutdown() argument
279 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_shutdown()
Dxenbus_probe_frontend.c78 static int xenbus_uevent_frontend(struct device *_dev, in xenbus_uevent_frontend() argument
81 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_uevent_frontend()
/linux-4.1.27/drivers/net/
Difb.c65 struct net_device *_dev = (struct net_device *)dev; in ri_tasklet() local
66 struct ifb_private *dp = netdev_priv(_dev); in ri_tasklet()
70 txq = netdev_get_tx_queue(_dev, 0); in ri_tasklet()
93 skb->dev = dev_get_by_index_rcu(dev_net(_dev), skb->skb_iif); in ri_tasklet()
97 _dev->stats.tx_dropped++; in ri_tasklet()
103 skb->skb_iif = _dev->ifindex; in ri_tasklet()
117 if (netif_queue_stopped(_dev)) in ri_tasklet()
118 netif_wake_queue(_dev); in ri_tasklet()
/linux-4.1.27/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.1.27/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-4.1.27/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-4.1.27/include/scsi/
Dscsi_transport_iscsi.h215 #define iscsi_dev_to_conn(_dev) \ argument
216 container_of(_dev, struct iscsi_cls_conn, dev)
260 #define iscsi_dev_to_session(_dev) \ argument
261 container_of(_dev, struct iscsi_cls_session, dev)
301 #define iscsi_dev_to_iface(_dev) \ argument
302 container_of(_dev, struct iscsi_iface, dev)
345 #define iscsi_dev_to_flash_conn(_dev) \ argument
346 container_of(_dev, struct iscsi_bus_flash_conn, dev)
407 #define iscsi_dev_to_flash_session(_dev) \ argument
408 container_of(_dev, struct iscsi_bus_flash_session, dev)
/linux-4.1.27/drivers/parport/
Dparport_ax88796.c274 struct device *_dev = &pdev->dev; in parport_ax88796_probe() local
285 dev_err(_dev, "no memory for private data\n"); in parport_ax88796_probe()
291 dev_err(_dev, "no MEM specified\n"); in parport_ax88796_probe()
301 dev_err(_dev, "cannot reserve memory\n"); in parport_ax88796_probe()
308 dev_err(_dev, "cannot ioremap region\n"); in parport_ax88796_probe()
322 dev_err(_dev, "failed to register parallel port\n"); in parport_ax88796_probe()
329 dd->dev = _dev; in parport_ax88796_probe()
351 dev_info(_dev, "attached parallel port driver\n"); in parport_ax88796_probe()
/linux-4.1.27/drivers/base/
Dplatform.c505 static int platform_drv_probe(struct device *_dev) in platform_drv_probe() argument
507 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_probe()
508 struct platform_device *dev = to_platform_device(_dev); in platform_drv_probe()
511 ret = of_clk_set_defaults(_dev->of_node, false); in platform_drv_probe()
515 ret = dev_pm_domain_attach(_dev, true); in platform_drv_probe()
519 dev_pm_domain_detach(_dev, true); in platform_drv_probe()
523 dev_warn(_dev, "probe deferral not supported\n"); in platform_drv_probe()
530 static int platform_drv_probe_fail(struct device *_dev) in platform_drv_probe_fail() argument
535 static int platform_drv_remove(struct device *_dev) in platform_drv_remove() argument
537 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_remove()
[all …]
/linux-4.1.27/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-4.1.27/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-4.1.27/include/sound/
Dseq_device.h41 #define to_seq_dev(_dev) \ argument
42 container_of(_dev, struct snd_seq_device, dev)
Dhdaudio.h95 #define dev_to_hdac_dev(_dev) container_of(_dev, struct hdac_device, dev) argument
/linux-4.1.27/include/linux/
Dmic_bus.h100 static inline struct mbus_device *dev_to_mbus(struct device *_dev) in dev_to_mbus() argument
102 return container_of(_dev, struct mbus_device, dev); in dev_to_mbus()
Dvirtio.h111 static inline struct virtio_device *dev_to_virtio(struct device *_dev) in dev_to_virtio() argument
113 return container_of(_dev, struct virtio_device, dev); in dev_to_virtio()
/linux-4.1.27/drivers/i2c/busses/
Di2c-omap.c1407 struct omap_i2c_dev *_dev = platform_get_drvdata(pdev); in omap_i2c_runtime_suspend() local
1409 _dev->iestate = omap_i2c_read_reg(_dev, OMAP_I2C_IE_REG); in omap_i2c_runtime_suspend()
1411 if (_dev->scheme == OMAP_I2C_SCHEME_0) in omap_i2c_runtime_suspend()
1412 omap_i2c_write_reg(_dev, OMAP_I2C_IE_REG, 0); in omap_i2c_runtime_suspend()
1414 omap_i2c_write_reg(_dev, OMAP_I2C_IP_V2_IRQENABLE_CLR, in omap_i2c_runtime_suspend()
1417 if (_dev->rev < OMAP_I2C_OMAP1_REV_2) { in omap_i2c_runtime_suspend()
1418 omap_i2c_read_reg(_dev, OMAP_I2C_IV_REG); /* Read clears */ in omap_i2c_runtime_suspend()
1420 omap_i2c_write_reg(_dev, OMAP_I2C_STAT_REG, _dev->iestate); in omap_i2c_runtime_suspend()
1423 omap_i2c_read_reg(_dev, OMAP_I2C_STAT_REG); in omap_i2c_runtime_suspend()
1432 struct omap_i2c_dev *_dev = platform_get_drvdata(pdev); in omap_i2c_runtime_resume() local
[all …]
Di2c-cadence.c777 static int __maybe_unused cdns_i2c_suspend(struct device *_dev) in cdns_i2c_suspend() argument
779 struct platform_device *pdev = container_of(_dev, in cdns_i2c_suspend()
797 static int __maybe_unused cdns_i2c_resume(struct device *_dev) in cdns_i2c_resume() argument
799 struct platform_device *pdev = container_of(_dev, in cdns_i2c_resume()
806 dev_err(_dev, "Cannot enable clock.\n"); in cdns_i2c_resume()
Di2c-axxia.c270 static irqreturn_t axxia_i2c_isr(int irq, void *_dev) in axxia_i2c_isr() argument
272 struct axxia_i2c_dev *idev = _dev; in axxia_i2c_isr()
/linux-4.1.27/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()
/linux-4.1.27/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-4.1.27/drivers/block/
Dps3disk.c403 static int ps3disk_probe(struct ps3_system_bus_device *_dev) in ps3disk_probe() argument
405 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); in ps3disk_probe()
437 ps3_system_bus_set_drvdata(_dev, priv); in ps3disk_probe()
513 ps3_system_bus_set_drvdata(_dev, NULL); in ps3disk_probe()
521 static int ps3disk_remove(struct ps3_system_bus_device *_dev) in ps3disk_remove() argument
523 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); in ps3disk_remove()
538 ps3_system_bus_set_drvdata(_dev, NULL); in ps3disk_remove()
/linux-4.1.27/drivers/staging/fsl-mc/include/
Dmc.h161 #define to_fsl_mc_device(_dev) \ argument
162 container_of(_dev, struct fsl_mc_device, dev)
/linux-4.1.27/drivers/usb/core/
Dhub.h109 #define to_usb_port(_dev) \ argument
110 container_of(_dev, struct usb_port, dev)
Dendpoint.c23 #define to_ep_device(_dev) \ argument
24 container_of(_dev, struct ep_device, dev)
/linux-4.1.27/drivers/amba/
Dbus.c67 static ssize_t driver_override_show(struct device *_dev, in driver_override_show() argument
70 struct amba_device *dev = to_amba_device(_dev); in driver_override_show()
78 static ssize_t driver_override_store(struct device *_dev, in driver_override_store() argument
82 struct amba_device *dev = to_amba_device(_dev); in driver_override_store()
109 static ssize_t name##_show(struct device *_dev, \
112 struct amba_device *dev = to_amba_device(_dev); \
/linux-4.1.27/include/net/
Dcfg802154.h138 #define to_phy(_dev) container_of(_dev, struct wpan_phy, dev) argument
/linux-4.1.27/drivers/scsi/
Dps3rom.c358 static int ps3rom_probe(struct ps3_system_bus_device *_dev) in ps3rom_probe() argument
360 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); in ps3rom_probe()
419 static int ps3rom_remove(struct ps3_system_bus_device *_dev) in ps3rom_remove() argument
421 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); in ps3rom_remove()
Dscsi_transport_iscsi.c97 #define dev_to_iscsi_internal(_dev) \ argument
98 container_of(_dev, struct iscsi_internal, dev)
149 #define iscsi_dev_to_endpoint(_dev) \ argument
150 container_of(_dev, struct iscsi_endpoint, dev)
/linux-4.1.27/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.1.27/drivers/nfc/
Dnfcsim.c22 #define DEV_ERR(_dev, fmt, args...) nfc_err(&_dev->nfc_dev->dev, \ argument
25 #define DEV_DBG(_dev, fmt, args...) dev_dbg(&_dev->nfc_dev->dev, \ argument
/linux-4.1.27/sound/pci/hda/
Dhda_codec.h319 #define dev_to_hda_codec(_dev) container_of(_dev, struct hda_codec, core.dev) argument
320 #define hda_codec_dev(_dev) (&(_dev)->core.dev) argument
/linux-4.1.27/sound/core/seq/
Dseq_midi.c276 snd_seq_midisynth_probe(struct device *_dev) in snd_seq_midisynth_probe() argument
278 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_seq_midisynth_probe()
431 snd_seq_midisynth_remove(struct device *_dev) in snd_seq_midisynth_remove() argument
433 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_seq_midisynth_remove()
/linux-4.1.27/drivers/misc/vmw_vmci/
Dvmci_guest.c399 static irqreturn_t vmci_interrupt(int irq, void *_dev) in vmci_interrupt() argument
401 struct vmci_guest_device *dev = _dev; in vmci_interrupt()
443 static irqreturn_t vmci_interrupt_bm(int irq, void *_dev) in vmci_interrupt_bm() argument
445 struct vmci_guest_device *dev = _dev; in vmci_interrupt_bm()
/linux-4.1.27/drivers/pcmcia/
Dsocket_sysfs.c34 #define to_socket(_dev) container_of(_dev, struct pcmcia_socket, dev) argument
Dti113x.h925 #define DEVID(_vend,_dev,_subvend,_subdev,mask,bits) { \ argument
927 .device = _dev, \
Dcistpl.c1484 #define to_socket(_dev) container_of(_dev, struct pcmcia_socket, dev) argument
/linux-4.1.27/drivers/net/irda/
Dpxaficp_ir.c781 static int pxa_irda_suspend(struct platform_device *_dev, pm_message_t state) in pxa_irda_suspend() argument
783 struct net_device *dev = platform_get_drvdata(_dev); in pxa_irda_suspend()
795 static int pxa_irda_resume(struct platform_device *_dev) in pxa_irda_resume() argument
797 struct net_device *dev = platform_get_drvdata(_dev); in pxa_irda_resume()
942 static int pxa_irda_remove(struct platform_device *_dev) in pxa_irda_remove() argument
944 struct net_device *dev = platform_get_drvdata(_dev); in pxa_irda_remove()
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c59 #define I40EVF_QUEUE_STATS_LEN(_dev) \ argument
61 netdev_priv(_dev))->num_active_queues \
63 #define I40EVF_STATS_LEN(_dev) \ argument
64 (I40EVF_GLOBAL_STATS_LEN + I40EVF_QUEUE_STATS_LEN(_dev))
/linux-4.1.27/include/net/nfc/
Dnfc.h198 #define to_nfc_dev(_dev) container_of(_dev, struct nfc_dev, dev) argument
/linux-4.1.27/sound/core/seq/oss/
Dseq_oss_synth.c101 snd_seq_oss_synth_probe(struct device *_dev) in snd_seq_oss_synth_probe() argument
103 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_seq_oss_synth_probe()
152 snd_seq_oss_synth_remove(struct device *_dev) in snd_seq_oss_synth_remove() argument
154 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_seq_oss_synth_remove()
/linux-4.1.27/arch/x86/include/asm/
Dintel-mid.h41 static const struct devs_id *const __intel_mid_sfi_##i##_dev __used \
/linux-4.1.27/drivers/net/can/c_can/
Dc_can_pci.c269 #define C_CAN_ID(_vend, _dev, _driverdata) { \ argument
270 PCI_DEVICE(_vend, _dev), \
/linux-4.1.27/drivers/scsi/isci/
Dremote_device.c323 static void rnc_destruct_done(void *_dev) in rnc_destruct_done() argument
325 struct isci_remote_device *idev = _dev; in rnc_destruct_done()
559 static void atapi_remote_device_resume_done(void *_dev) in atapi_remote_device_resume_done() argument
561 struct isci_remote_device *idev = _dev; in atapi_remote_device_resume_done()
970 static void remote_device_resume_done(void *_dev) in remote_device_resume_done() argument
972 struct isci_remote_device *idev = _dev; in remote_device_resume_done()
981 static void sci_stp_remote_device_ready_idle_substate_resume_complete_handler(void *_dev) in sci_stp_remote_device_ready_idle_substate_resume_complete_handler() argument
983 struct isci_remote_device *idev = _dev; in sci_stp_remote_device_ready_idle_substate_resume_complete_handler()
/linux-4.1.27/drivers/usb/gadget/udc/
Dpxa27x_udc.c2315 static irqreturn_t pxa_udc_irq(int irq, void *_dev) in pxa_udc_irq() argument
2317 struct pxa_udc *udc = _dev; in pxa_udc_irq()
2487 static int pxa_udc_remove(struct platform_device *_dev) in pxa_udc_remove() argument
2489 struct pxa_udc *udc = platform_get_drvdata(_dev); in pxa_udc_remove()
2503 static void pxa_udc_shutdown(struct platform_device *_dev) in pxa_udc_shutdown() argument
2505 struct pxa_udc *udc = platform_get_drvdata(_dev); in pxa_udc_shutdown()
2526 static int pxa_udc_suspend(struct platform_device *_dev, pm_message_t state) in pxa_udc_suspend() argument
2528 struct pxa_udc *udc = platform_get_drvdata(_dev); in pxa_udc_suspend()
2551 static int pxa_udc_resume(struct platform_device *_dev) in pxa_udc_resume() argument
2553 struct pxa_udc *udc = platform_get_drvdata(_dev); in pxa_udc_resume()
Dpxa25x_udc.c1363 lubbock_vbus_irq(int irq, void *_dev) in lubbock_vbus_irq() argument
1365 struct pxa25x_udc *dev = _dev; in lubbock_vbus_irq()
1404 static void udc_watchdog(unsigned long _dev) in udc_watchdog() argument
1406 struct pxa25x_udc *dev = (void *)_dev; in udc_watchdog()
1698 pxa25x_udc_irq(int irq, void *_dev) in pxa25x_udc_irq() argument
1700 struct pxa25x_udc *dev = _dev; in pxa25x_udc_irq()
2209 static void pxa25x_udc_shutdown(struct platform_device *_dev) in pxa25x_udc_shutdown() argument
Dnet2280.c1504 static ssize_t function_show(struct device *_dev, struct device_attribute *attr, in function_show() argument
1507 struct net2280 *dev = dev_get_drvdata(_dev); in function_show()
1516 static ssize_t registers_show(struct device *_dev, in registers_show() argument
1527 dev = dev_get_drvdata(_dev); in registers_show()
1667 static ssize_t queues_show(struct device *_dev, struct device_attribute *attr, in queues_show() argument
1676 dev = dev_get_drvdata(_dev); in queues_show()
3307 static irqreturn_t net2280_irq(int irq, void *_dev) in net2280_irq() argument
3309 struct net2280 *dev = _dev; in net2280_irq()
3338 static void gadget_release(struct device *_dev) in gadget_release() argument
3340 struct net2280 *dev = dev_get_drvdata(_dev); in gadget_release()
Ds3c2410_udc.c865 static irqreturn_t s3c2410_udc_irq(int dummy, void *_dev) in s3c2410_udc_irq() argument
867 struct s3c2410_udc *dev = _dev; in s3c2410_udc_irq()
1494 static irqreturn_t s3c2410_udc_vbus_irq(int irq, void *_dev) in s3c2410_udc_vbus_irq() argument
1496 struct s3c2410_udc *dev = _dev; in s3c2410_udc_vbus_irq()
Dnet2272.c1183 registers_show(struct device *_dev, struct device_attribute *attr, char *buf) in registers_show() argument
1193 dev = dev_get_drvdata(_dev); in registers_show()
2056 static irqreturn_t net2272_irq(int irq, void *_dev) in net2272_irq() argument
2058 struct net2272 *dev = _dev; in net2272_irq()
2208 net2272_gadget_release(struct device *_dev) in net2272_gadget_release() argument
2210 struct net2272 *dev = dev_get_drvdata(_dev); in net2272_gadget_release()
Dgoku_udc.c1508 static irqreturn_t goku_irq(int irq, void *_dev) in goku_irq() argument
1510 struct goku_udc *dev = _dev; in goku_irq()
1674 static void gadget_release(struct device *_dev) in gadget_release() argument
1676 struct goku_udc *dev = dev_get_drvdata(_dev); in gadget_release()
Dgr_udc.c1416 static irqreturn_t gr_irq_handler(int irq, void *_dev) in gr_irq_handler() argument
1418 struct gr_udc *dev = _dev; in gr_irq_handler()
1472 static irqreturn_t gr_irq(int irq, void *_dev) in gr_irq() argument
1474 struct gr_udc *dev = _dev; in gr_irq()
Ds3c-hsudc.c1054 static irqreturn_t s3c_hsudc_irq(int irq, void *_dev) in s3c_hsudc_irq() argument
1056 struct s3c_hsudc *hsudc = _dev; in s3c_hsudc_irq()
Domap_udc.c1890 static irqreturn_t omap_udc_pio_irq(int irq, void *_dev) in omap_udc_pio_irq() argument
1896 struct omap_udc *udc = _dev; in omap_udc_pio_irq()
1969 static irqreturn_t omap_udc_iso_irq(int irq, void *_dev) in omap_udc_iso_irq() argument
1971 struct omap_udc *udc = _dev; in omap_udc_iso_irq()
Dmv_udc_core.c2071 static void gadget_release(struct device *_dev) in gadget_release() argument
2075 udc = dev_get_drvdata(_dev); in gadget_release()
/linux-4.1.27/arch/arm/common/
Dlocomo.c213 static void locomo_dev_release(struct device *_dev) in locomo_dev_release() argument
215 struct locomo_dev *dev = LOCOMO_DEV(_dev); in locomo_dev_release()
821 static int locomo_match(struct device *_dev, struct device_driver *_drv) in locomo_match() argument
823 struct locomo_dev *dev = LOCOMO_DEV(_dev); in locomo_match()
Dsa1111.c609 static void sa1111_dev_release(struct device *_dev) in sa1111_dev_release() argument
611 struct sa1111_dev *dev = SA1111_DEV(_dev); in sa1111_dev_release()
1290 static int sa1111_match(struct device *_dev, struct device_driver *_drv) in sa1111_match() argument
1292 struct sa1111_dev *dev = SA1111_DEV(_dev); in sa1111_match()
/linux-4.1.27/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.1.27/drivers/clk/tegra/
Dclk.h574 #define TEGRA_CLK_DUPLICATE(_clk_id, _dev, _con) \ argument
578 .dev_id = _dev, \
/linux-4.1.27/arch/mips/include/asm/pci/
Dbridge.h619 #define BRIDGE_INT_DEV_SET(_dev, _line) (_dev << BRIDGE_INT_DEV_SHFT(_line)) argument
/linux-4.1.27/drivers/thermal/
Dthermal_core.c526 #define to_thermal_zone(_dev) \ argument
527 container_of(_dev, struct thermal_zone_device, device)
844 #define to_cooling_device(_dev) \ argument
845 container_of(_dev, struct thermal_cooling_device, device)
/linux-4.1.27/drivers/block/xen-blkback/
Dxenbus.c336 static ssize_t show_##name(struct device *_dev, \
340 struct xenbus_device *dev = to_xenbus_device(_dev); \
/linux-4.1.27/arch/arm/mach-rpc/
Decard.c1106 static int ecard_match(struct device *_dev, struct device_driver *_drv) in ecard_match() argument
1108 struct expansion_card *ec = ECARD_DEV(_dev); in ecard_match()
/linux-4.1.27/drivers/media/usb/airspy/
Dairspy.c158 #define airspy_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \ argument
164 dev_dbg(_dev, "%02x %02x %02x %02x %02x %02x %02x %02x %s %*ph\n", \
/linux-4.1.27/drivers/input/touchscreen/
Delants_i2c.c832 static irqreturn_t elants_i2c_irq(int irq, void *_dev) in elants_i2c_irq() argument
835 struct elants_data *ts = _dev; in elants_i2c_irq()
/linux-4.1.27/drivers/media/usb/hackrf/
Dhackrf.c145 #define hackrf_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \ argument
151 dev_dbg(_dev, "%02x %02x %02x %02x %02x %02x %02x %02x %s %*ph\n", \
/linux-4.1.27/drivers/media/usb/msi2500/
Dmsi2500.c655 #define msi2500_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \ argument
661 dev_dbg(_dev, "%02x %02x %02x %02x %02x %02x %02x %02x %s %*ph\n", \
/linux-4.1.27/drivers/net/ethernet/natsemi/
Dnatsemi.c659 #define NATSEMI_CREATE_FILE(_dev, _name) \ argument
660 device_create_file(&_dev->dev, &dev_attr_##_name)
661 #define NATSEMI_REMOVE_FILE(_dev, _name) \ argument
662 device_remove_file(&_dev->dev, &dev_attr_##_name)
Dns83820.c940 static void rx_action(unsigned long _dev) argument
942 struct net_device *ndev = (void *)_dev;
/linux-4.1.27/drivers/net/ethernet/sgi/
Dioc3-eth.c731 static irqreturn_t ioc3_interrupt(int irq, void *_dev) in ioc3_interrupt() argument
733 struct net_device *dev = (struct net_device *)_dev; in ioc3_interrupt()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dsb1250-mac.c2160 static int sb1250_change_mtu(struct net_device *_dev, int new_mtu) in sb1250_change_mtu() argument
2164 _dev->mtu = new_mtu; in sb1250_change_mtu()
/linux-4.1.27/drivers/media/pci/ddbridge/
Dddbridge-core.c1700 #define DDB_ID(_vend, _dev, _subvend, _subdev, _driverdata) { \ argument
1701 .vendor = _vend, .device = _dev, \
/linux-4.1.27/drivers/scsi/ufs/
Dufshcd.c77 #define ufshcd_toggle_vreg(_dev, _vreg, _on) \ argument
81 _ret = ufshcd_enable_vreg(_dev, _vreg); \
83 _ret = ufshcd_disable_vreg(_dev, _vreg); \