/linux-4.1.27/arch/mips/include/asm/ |
H A D | gio_device.h | 51 #define gio_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev) 52 #define gio_set_drvdata(_dev, data) dev_set_drvdata(&(_dev)->dev, (data))
|
/linux-4.1.27/arch/powerpc/platforms/ps3/ |
H A D | system-bus.c | 346 static int ps3_system_bus_match(struct device *_dev, ps3_system_bus_match() argument 351 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); ps3_system_bus_match() 373 static int ps3_system_bus_probe(struct device *_dev) ps3_system_bus_probe() argument 376 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); ps3_system_bus_probe() 380 dev_dbg(_dev, "%s:%d\n", __func__, __LINE__); ps3_system_bus_probe() 395 static int ps3_system_bus_remove(struct device *_dev) ps3_system_bus_remove() argument 398 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); ps3_system_bus_remove() 402 dev_dbg(_dev, "%s:%d\n", __func__, __LINE__); ps3_system_bus_remove() 417 static void ps3_system_bus_shutdown(struct device *_dev) ps3_system_bus_shutdown() argument 419 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); ps3_system_bus_shutdown() 455 static int ps3_system_bus_uevent(struct device *_dev, struct kobj_uevent_env *env) ps3_system_bus_uevent() argument 457 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); ps3_system_bus_uevent() 465 static ssize_t modalias_show(struct device *_dev, struct device_attribute *a, modalias_show() argument 468 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); modalias_show() 517 static void * ps3_alloc_coherent(struct device *_dev, size_t size, ps3_alloc_coherent() argument 522 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); ps3_alloc_coherent() 555 static void ps3_free_coherent(struct device *_dev, size_t size, void *vaddr, ps3_free_coherent() argument 558 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); ps3_free_coherent() 570 static dma_addr_t ps3_sb_map_page(struct device *_dev, struct page *page, ps3_sb_map_page() argument 574 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); ps3_sb_map_page() 592 static dma_addr_t ps3_ioc0_map_page(struct device *_dev, struct page *page, ps3_ioc0_map_page() argument 597 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); ps3_ioc0_map_page() 628 static void ps3_unmap_page(struct device *_dev, dma_addr_t dma_addr, ps3_unmap_page() argument 631 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); ps3_unmap_page() 642 static int ps3_sb_map_sg(struct device *_dev, struct scatterlist *sgl, ps3_sb_map_sg() argument 649 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); ps3_sb_map_sg() 670 static int ps3_ioc0_map_sg(struct device *_dev, struct scatterlist *sg, ps3_ioc0_map_sg() argument 679 static void ps3_sb_unmap_sg(struct device *_dev, struct scatterlist *sg, ps3_sb_unmap_sg() argument 687 static void ps3_ioc0_unmap_sg(struct device *_dev, struct scatterlist *sg, ps3_ioc0_unmap_sg() argument 694 static int ps3_dma_supported(struct device *_dev, u64 mask) ps3_dma_supported() argument 699 static u64 ps3_dma_get_required_mask(struct device *_dev) ps3_dma_get_required_mask() argument 730 static void ps3_system_bus_release_device(struct device *_dev) ps3_system_bus_release_device() argument 732 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); ps3_system_bus_release_device()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | power.c | 188 int gma_power_suspend(struct device *_dev) gma_power_suspend() argument 190 struct pci_dev *pdev = container_of(_dev, struct pci_dev, dev); gma_power_suspend() 215 int gma_power_resume(struct device *_dev) gma_power_resume() argument 217 struct pci_dev *pdev = container_of(_dev, struct pci_dev, dev); gma_power_resume() 319 int gma_power_thaw(struct device *_dev) gma_power_thaw() argument 321 return gma_power_resume(_dev); gma_power_thaw() 324 int gma_power_freeze(struct device *_dev) gma_power_freeze() argument 326 return gma_power_suspend(_dev); gma_power_freeze() 329 int gma_power_restore(struct device *_dev) gma_power_restore() argument 331 return gma_power_resume(_dev); gma_power_restore()
|
H A D | power.h | 46 int gma_power_restore(struct device *_dev);
|
/linux-4.1.27/sound/isa/sb/ |
H A D | emu8000_synth.c | 37 static int snd_emu8000_probe(struct device *_dev) snd_emu8000_probe() argument 39 struct snd_seq_device *dev = to_seq_dev(_dev); snd_emu8000_probe() 97 static int snd_emu8000_remove(struct device *_dev) snd_emu8000_remove() argument 99 struct snd_seq_device *dev = to_seq_dev(_dev); snd_emu8000_remove()
|
/linux-4.1.27/sound/pci/emu10k1/ |
H A D | emu10k1_synth.c | 32 static int snd_emu10k1_synth_probe(struct device *_dev) snd_emu10k1_synth_probe() argument 34 struct snd_seq_device *dev = to_seq_dev(_dev); snd_emu10k1_synth_probe() 83 static int snd_emu10k1_synth_remove(struct device *_dev) snd_emu10k1_synth_remove() argument 85 struct snd_seq_device *dev = to_seq_dev(_dev); snd_emu10k1_synth_remove()
|
/linux-4.1.27/drivers/xen/xenbus/ |
H A D | xenbus_probe.h | 59 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);
|
H A D | xenbus_probe.c | 93 int xenbus_match(struct device *_dev, struct device_driver *_drv) xenbus_match() argument 100 return match_device(drv->ids, to_xenbus_device(_dev)) != NULL; xenbus_match() 212 int xenbus_dev_probe(struct device *_dev) xenbus_dev_probe() argument 214 struct xenbus_device *dev = to_xenbus_device(_dev); xenbus_dev_probe() 215 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); xenbus_dev_probe() 258 int xenbus_dev_remove(struct device *_dev) xenbus_dev_remove() argument 260 struct xenbus_device *dev = to_xenbus_device(_dev); xenbus_dev_remove() 261 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); xenbus_dev_remove() 277 void xenbus_dev_shutdown(struct device *_dev) xenbus_dev_shutdown() argument 279 struct xenbus_device *dev = to_xenbus_device(_dev); xenbus_dev_shutdown()
|
H A D | xenbus_probe_frontend.c | 78 static int xenbus_uevent_frontend(struct device *_dev, xenbus_uevent_frontend() argument 81 struct xenbus_device *dev = to_xenbus_device(_dev); xenbus_uevent_frontend()
|
/linux-4.1.27/drivers/net/ |
H A D | ifb.c | 65 struct net_device *_dev = (struct net_device *)dev; ri_tasklet() local 66 struct ifb_private *dp = netdev_priv(_dev); ri_tasklet() 70 txq = netdev_get_tx_queue(_dev, 0); ri_tasklet() 93 skb->dev = dev_get_by_index_rcu(dev_net(_dev), skb->skb_iif); ri_tasklet() 97 _dev->stats.tx_dropped++; ri_tasklet() 103 skb->skb_iif = _dev->ifindex; ri_tasklet() 117 if (netif_queue_stopped(_dev)) ri_tasklet() 118 netif_wake_queue(_dev); ri_tasklet()
|
/linux-4.1.27/drivers/parport/ |
H A D | parport_ax88796.c | 274 struct device *_dev = &pdev->dev; parport_ax88796_probe() local 285 dev_err(_dev, "no memory for private data\n"); parport_ax88796_probe() 291 dev_err(_dev, "no MEM specified\n"); parport_ax88796_probe() 301 dev_err(_dev, "cannot reserve memory\n"); parport_ax88796_probe() 308 dev_err(_dev, "cannot ioremap region\n"); parport_ax88796_probe() 322 dev_err(_dev, "failed to register parallel port\n"); parport_ax88796_probe() 329 dd->dev = _dev; parport_ax88796_probe() 351 dev_info(_dev, "attached parallel port driver\n"); parport_ax88796_probe()
|
/linux-4.1.27/sound/drivers/opl4/ |
H A D | opl4_seq.c | 127 static int snd_opl4_seq_probe(struct device *_dev) snd_opl4_seq_probe() argument 129 struct snd_seq_device *dev = to_seq_dev(_dev); snd_opl4_seq_probe() 184 static int snd_opl4_seq_remove(struct device *_dev) snd_opl4_seq_remove() argument 186 struct snd_seq_device *dev = to_seq_dev(_dev); snd_opl4_seq_remove()
|
/linux-4.1.27/include/sound/ |
H A D | seq_device.h | 41 #define to_seq_dev(_dev) \ 42 container_of(_dev, struct snd_seq_device, dev)
|
H A D | hdaudio.h | 95 #define dev_to_hdac_dev(_dev) container_of(_dev, struct hdac_device, dev)
|
/linux-4.1.27/include/scsi/ |
H A D | scsi_transport_iscsi.h | 215 #define iscsi_dev_to_conn(_dev) \ 216 container_of(_dev, struct iscsi_cls_conn, dev) 260 #define iscsi_dev_to_session(_dev) \ 261 container_of(_dev, struct iscsi_cls_session, dev) 301 #define iscsi_dev_to_iface(_dev) \ 302 container_of(_dev, struct iscsi_iface, dev) 345 #define iscsi_dev_to_flash_conn(_dev) \ 346 container_of(_dev, struct iscsi_bus_flash_conn, dev) 407 #define iscsi_dev_to_flash_session(_dev) \ 408 container_of(_dev, struct iscsi_bus_flash_session, dev)
|
/linux-4.1.27/drivers/ps3/ |
H A D | vuart.h | 61 ps3_system_bus_dev_to_vuart_drv(struct ps3_system_bus_device *_dev) ps3_system_bus_dev_to_vuart_drv() argument 64 ps3_system_bus_dev_to_system_bus_drv(_dev); ps3_system_bus_dev_to_vuart_drv()
|
/linux-4.1.27/include/linux/ |
H A D | mic_bus.h | 100 static inline struct mbus_device *dev_to_mbus(struct device *_dev) dev_to_mbus() argument 102 return container_of(_dev, struct mbus_device, dev); dev_to_mbus()
|
H A D | virtio.h | 111 static inline struct virtio_device *dev_to_virtio(struct device *_dev) dev_to_virtio() argument 113 return container_of(_dev, struct virtio_device, dev); dev_to_virtio()
|
/linux-4.1.27/drivers/base/ |
H A D | platform.c | 505 static int platform_drv_probe(struct device *_dev) platform_drv_probe() argument 507 struct platform_driver *drv = to_platform_driver(_dev->driver); platform_drv_probe() 508 struct platform_device *dev = to_platform_device(_dev); platform_drv_probe() 511 ret = of_clk_set_defaults(_dev->of_node, false); platform_drv_probe() 515 ret = dev_pm_domain_attach(_dev, true); platform_drv_probe() 519 dev_pm_domain_detach(_dev, true); platform_drv_probe() 523 dev_warn(_dev, "probe deferral not supported\n"); platform_drv_probe() 530 static int platform_drv_probe_fail(struct device *_dev) platform_drv_probe_fail() argument 535 static int platform_drv_remove(struct device *_dev) platform_drv_remove() argument 537 struct platform_driver *drv = to_platform_driver(_dev->driver); platform_drv_remove() 538 struct platform_device *dev = to_platform_device(_dev); platform_drv_remove() 542 dev_pm_domain_detach(_dev, true); platform_drv_remove() 547 static void platform_drv_shutdown(struct device *_dev) platform_drv_shutdown() argument 549 struct platform_driver *drv = to_platform_driver(_dev->driver); platform_drv_shutdown() 550 struct platform_device *dev = to_platform_device(_dev); platform_drv_shutdown() 553 dev_pm_domain_detach(_dev, true); platform_drv_shutdown()
|
/linux-4.1.27/sound/drivers/opl3/ |
H A D | opl3_seq.c | 219 static int snd_opl3_seq_probe(struct device *_dev) snd_opl3_seq_probe() argument 221 struct snd_seq_device *dev = to_seq_dev(_dev); snd_opl3_seq_probe() 261 static int snd_opl3_seq_remove(struct device *_dev) snd_opl3_seq_remove() argument 263 struct snd_seq_device *dev = to_seq_dev(_dev); snd_opl3_seq_remove()
|
/linux-4.1.27/drivers/block/ |
H A D | ps3disk.c | 403 static int ps3disk_probe(struct ps3_system_bus_device *_dev) ps3disk_probe() argument 405 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); ps3disk_probe() 437 ps3_system_bus_set_drvdata(_dev, priv); ps3disk_probe() 513 ps3_system_bus_set_drvdata(_dev, NULL); ps3disk_probe() 521 static int ps3disk_remove(struct ps3_system_bus_device *_dev) ps3disk_remove() argument 523 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); ps3disk_remove() 538 ps3_system_bus_set_drvdata(_dev, NULL); ps3disk_remove()
|
/linux-4.1.27/include/linux/wimax/ |
H A D | debug.h | 381 * @_dev: 'struct device' pointer, NULL if none (for context) 384 #define d_fnstart(l, _dev, f, a...) _d_printf(l, " FNSTART", _dev, f, ## a) 391 * @_dev: 'struct device' pointer, NULL if none (for context) 394 #define d_fnend(l, _dev, f, a...) _d_printf(l, " FNEND", _dev, f, ## a) 401 * @_dev: 'struct device' pointer, NULL if none (for context) 404 #define d_printf(l, _dev, f, a...) _d_printf(l, "", _dev, f, ## a) 411 * @_dev: 'struct device' pointer, NULL if none (for context)
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-omap.c | 1407 struct omap_i2c_dev *_dev = platform_get_drvdata(pdev); omap_i2c_runtime_suspend() local 1409 _dev->iestate = omap_i2c_read_reg(_dev, OMAP_I2C_IE_REG); omap_i2c_runtime_suspend() 1411 if (_dev->scheme == OMAP_I2C_SCHEME_0) omap_i2c_runtime_suspend() 1412 omap_i2c_write_reg(_dev, OMAP_I2C_IE_REG, 0); omap_i2c_runtime_suspend() 1414 omap_i2c_write_reg(_dev, OMAP_I2C_IP_V2_IRQENABLE_CLR, omap_i2c_runtime_suspend() 1417 if (_dev->rev < OMAP_I2C_OMAP1_REV_2) { omap_i2c_runtime_suspend() 1418 omap_i2c_read_reg(_dev, OMAP_I2C_IV_REG); /* Read clears */ omap_i2c_runtime_suspend() 1420 omap_i2c_write_reg(_dev, OMAP_I2C_STAT_REG, _dev->iestate); omap_i2c_runtime_suspend() 1423 omap_i2c_read_reg(_dev, OMAP_I2C_STAT_REG); omap_i2c_runtime_suspend() 1432 struct omap_i2c_dev *_dev = platform_get_drvdata(pdev); omap_i2c_runtime_resume() local 1434 if (!_dev->regs) omap_i2c_runtime_resume() 1437 __omap_i2c_init(_dev); omap_i2c_runtime_resume()
|
H A D | i2c-cadence.c | 771 * @_dev: Address of the platform_device structure 777 static int __maybe_unused cdns_i2c_suspend(struct device *_dev) cdns_i2c_suspend() argument 779 struct platform_device *pdev = container_of(_dev, cdns_i2c_suspend() 791 * @_dev: Address of the platform_device structure 797 static int __maybe_unused cdns_i2c_resume(struct device *_dev) cdns_i2c_resume() argument 799 struct platform_device *pdev = container_of(_dev, cdns_i2c_resume() 806 dev_err(_dev, "Cannot enable clock.\n"); cdns_i2c_resume()
|
H A D | i2c-axxia.c | 270 static irqreturn_t axxia_i2c_isr(int irq, void *_dev) axxia_i2c_isr() argument 272 struct axxia_i2c_dev *idev = _dev; axxia_i2c_isr()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | ps3.h | 409 struct device *_dev) ps3_dev_to_system_bus_dev() 411 return container_of(_dev, struct ps3_system_bus_device, core); ps3_dev_to_system_bus_dev() 414 ps3_system_bus_dev_to_system_bus_drv(struct ps3_system_bus_device *_dev) ps3_system_bus_dev_to_system_bus_drv() argument 416 BUG_ON(!_dev); ps3_system_bus_dev_to_system_bus_drv() 417 BUG_ON(!_dev->core.driver); ps3_system_bus_dev_to_system_bus_drv() 418 return ps3_drv_to_system_bus_drv(_dev->core.driver); ps3_system_bus_dev_to_system_bus_drv() 408 ps3_dev_to_system_bus_dev( struct device *_dev) ps3_dev_to_system_bus_dev() argument
|
/linux-4.1.27/drivers/pcmcia/ |
H A D | socket_sysfs.c | 34 #define to_socket(_dev) container_of(_dev, struct pcmcia_socket, dev)
|
H A D | cistpl.c | 1484 #define to_socket(_dev) container_of(_dev, struct pcmcia_socket, dev)
|
H A D | ti113x.h | 925 #define DEVID(_vend,_dev,_subvend,_subdev,mask,bits) { \ 927 .device = _dev, \
|
/linux-4.1.27/drivers/usb/core/ |
H A D | endpoint.c | 23 #define to_ep_device(_dev) \ 24 container_of(_dev, struct ep_device, dev)
|
H A D | hub.h | 109 #define to_usb_port(_dev) \ 110 container_of(_dev, struct usb_port, dev)
|
/linux-4.1.27/include/net/ |
H A D | cfg802154.h | 138 #define to_phy(_dev) container_of(_dev, struct wpan_phy, dev)
|
/linux-4.1.27/drivers/scsi/ |
H A D | ps3rom.c | 358 static int ps3rom_probe(struct ps3_system_bus_device *_dev) ps3rom_probe() argument 360 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); ps3rom_probe() 419 static int ps3rom_remove(struct ps3_system_bus_device *_dev) ps3rom_remove() argument 421 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); ps3rom_remove()
|
H A D | scsi_transport_iscsi.c | 97 #define dev_to_iscsi_internal(_dev) \ 98 container_of(_dev, struct iscsi_internal, dev) 149 #define iscsi_dev_to_endpoint(_dev) \ 150 container_of(_dev, struct iscsi_endpoint, dev)
|
/linux-4.1.27/drivers/nfc/ |
H A D | nfcsim.c | 22 #define DEV_ERR(_dev, fmt, args...) nfc_err(&_dev->nfc_dev->dev, \ 25 #define DEV_DBG(_dev, fmt, args...) dev_dbg(&_dev->nfc_dev->dev, \
|
/linux-4.1.27/drivers/char/ |
H A D | ps3flash.c | 342 static int ps3flash_probe(struct ps3_system_bus_device *_dev) ps3flash_probe() argument 344 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); ps3flash_probe() 418 static int ps3flash_remove(struct ps3_system_bus_device *_dev) ps3flash_remove() argument 420 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); ps3flash_remove()
|
/linux-4.1.27/drivers/net/irda/ |
H A D | pxaficp_ir.c | 781 static int pxa_irda_suspend(struct platform_device *_dev, pm_message_t state) pxa_irda_suspend() argument 783 struct net_device *dev = platform_get_drvdata(_dev); pxa_irda_suspend() 795 static int pxa_irda_resume(struct platform_device *_dev) pxa_irda_resume() argument 797 struct net_device *dev = platform_get_drvdata(_dev); pxa_irda_resume() 942 static int pxa_irda_remove(struct platform_device *_dev) pxa_irda_remove() argument 944 struct net_device *dev = platform_get_drvdata(_dev); pxa_irda_remove()
|
/linux-4.1.27/drivers/amba/ |
H A D | bus.c | 67 static ssize_t driver_override_show(struct device *_dev, driver_override_show() argument 70 struct amba_device *dev = to_amba_device(_dev); driver_override_show() 78 static ssize_t driver_override_store(struct device *_dev, driver_override_store() argument 82 struct amba_device *dev = to_amba_device(_dev); 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/arch/x86/include/asm/ |
H A D | intel-mid.h | 41 static const struct devs_id *const __intel_mid_sfi_##i##_dev __used \
|
/linux-4.1.27/sound/core/seq/oss/ |
H A D | seq_oss_synth.c | 101 snd_seq_oss_synth_probe(struct device *_dev) snd_seq_oss_synth_probe() argument 103 struct snd_seq_device *dev = to_seq_dev(_dev); snd_seq_oss_synth_probe() 152 snd_seq_oss_synth_remove(struct device *_dev) snd_seq_oss_synth_remove() argument 154 struct snd_seq_device *dev = to_seq_dev(_dev); snd_seq_oss_synth_remove()
|
/linux-4.1.27/sound/core/seq/ |
H A D | seq_midi.c | 276 snd_seq_midisynth_probe(struct device *_dev) snd_seq_midisynth_probe() argument 278 struct snd_seq_device *dev = to_seq_dev(_dev); snd_seq_midisynth_probe() 431 snd_seq_midisynth_remove(struct device *_dev) snd_seq_midisynth_remove() argument 433 struct snd_seq_device *dev = to_seq_dev(_dev); snd_seq_midisynth_remove()
|
/linux-4.1.27/drivers/net/can/c_can/ |
H A D | c_can_pci.c | 269 #define C_CAN_ID(_vend, _dev, _driverdata) { \ 270 PCI_DEVICE(_vend, _dev), \
|
/linux-4.1.27/drivers/staging/fsl-mc/include/ |
H A D | mc.h | 161 #define to_fsl_mc_device(_dev) \ 162 container_of(_dev, struct fsl_mc_device, dev)
|
/linux-4.1.27/include/net/nfc/ |
H A D | nfc.h | 198 #define to_nfc_dev(_dev) container_of(_dev, struct nfc_dev, dev)
|
/linux-4.1.27/drivers/misc/vmw_vmci/ |
H A D | vmci_guest.c | 399 static irqreturn_t vmci_interrupt(int irq, void *_dev) vmci_interrupt() argument 401 struct vmci_guest_device *dev = _dev; vmci_interrupt() 443 static irqreturn_t vmci_interrupt_bm(int irq, void *_dev) vmci_interrupt_bm() argument 445 struct vmci_guest_device *dev = _dev; vmci_interrupt_bm()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
H A D | i40evf_ethtool.c | 59 #define I40EVF_QUEUE_STATS_LEN(_dev) \ 61 netdev_priv(_dev))->num_active_queues \ 63 #define I40EVF_STATS_LEN(_dev) \ 64 (I40EVF_GLOBAL_STATS_LEN + I40EVF_QUEUE_STATS_LEN(_dev))
|
/linux-4.1.27/arch/arm/common/ |
H A D | locomo.c | 213 static void locomo_dev_release(struct device *_dev) locomo_dev_release() argument 215 struct locomo_dev *dev = LOCOMO_DEV(_dev); locomo_dev_release() 821 static int locomo_match(struct device *_dev, struct device_driver *_drv) locomo_match() argument 823 struct locomo_dev *dev = LOCOMO_DEV(_dev); locomo_match()
|
H A D | sa1111.c | 609 static void sa1111_dev_release(struct device *_dev) sa1111_dev_release() argument 611 struct sa1111_dev *dev = SA1111_DEV(_dev); sa1111_dev_release() 1290 static int sa1111_match(struct device *_dev, struct device_driver *_drv) sa1111_match() argument 1292 struct sa1111_dev *dev = SA1111_DEV(_dev); sa1111_match()
|
/linux-4.1.27/sound/pci/hda/ |
H A D | hda_codec.h | 319 #define dev_to_hda_codec(_dev) container_of(_dev, struct hda_codec, core.dev) 320 #define hda_codec_dev(_dev) (&(_dev)->core.dev)
|
/linux-4.1.27/drivers/scsi/isci/ |
H A D | remote_device.c | 323 static void rnc_destruct_done(void *_dev) rnc_destruct_done() argument 325 struct isci_remote_device *idev = _dev; rnc_destruct_done() 559 static void atapi_remote_device_resume_done(void *_dev) atapi_remote_device_resume_done() argument 561 struct isci_remote_device *idev = _dev; atapi_remote_device_resume_done() 970 static void remote_device_resume_done(void *_dev) remote_device_resume_done() argument 972 struct isci_remote_device *idev = _dev; remote_device_resume_done() 981 static void sci_stp_remote_device_ready_idle_substate_resume_complete_handler(void *_dev) sci_stp_remote_device_ready_idle_substate_resume_complete_handler() argument 983 struct isci_remote_device *idev = _dev; sci_stp_remote_device_ready_idle_substate_resume_complete_handler()
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
H A D | pxa27x_udc.c | 2311 * @_dev: udc device 2315 static irqreturn_t pxa_udc_irq(int irq, void *_dev) pxa_udc_irq() argument 2317 struct pxa_udc *udc = _dev; pxa_udc_irq() 2399 * @_dev: platform device 2485 * @_dev: platform device 2487 static int pxa_udc_remove(struct platform_device *_dev) pxa_udc_remove() argument 2489 struct pxa_udc *udc = platform_get_drvdata(_dev); pxa_udc_remove() 2503 static void pxa_udc_shutdown(struct platform_device *_dev) pxa_udc_shutdown() argument 2505 struct pxa_udc *udc = platform_get_drvdata(_dev); pxa_udc_shutdown() 2520 * @_dev: platform device 2526 static int pxa_udc_suspend(struct platform_device *_dev, pm_message_t state) pxa_udc_suspend() argument 2528 struct pxa_udc *udc = platform_get_drvdata(_dev); pxa_udc_suspend() 2546 * @_dev: platform device 2551 static int pxa_udc_resume(struct platform_device *_dev) pxa_udc_resume() argument 2553 struct pxa_udc *udc = platform_get_drvdata(_dev); pxa_udc_resume()
|
H A D | pxa25x_udc.c | 1363 lubbock_vbus_irq(int irq, void *_dev) lubbock_vbus_irq() argument 1365 struct pxa25x_udc *dev = _dev; lubbock_vbus_irq() 1404 static void udc_watchdog(unsigned long _dev) udc_watchdog() argument 1406 struct pxa25x_udc *dev = (void *)_dev; udc_watchdog() 1698 pxa25x_udc_irq(int irq, void *_dev) pxa25x_udc_irq() argument 1700 struct pxa25x_udc *dev = _dev; pxa25x_udc_irq() 2209 static void pxa25x_udc_shutdown(struct platform_device *_dev) pxa25x_udc_shutdown() argument
|
H A D | net2280.c | 1504 static ssize_t function_show(struct device *_dev, struct device_attribute *attr, function_show() argument 1507 struct net2280 *dev = dev_get_drvdata(_dev); function_show() 1516 static ssize_t registers_show(struct device *_dev, registers_show() argument 1527 dev = dev_get_drvdata(_dev); registers_show() 1667 static ssize_t queues_show(struct device *_dev, struct device_attribute *attr, queues_show() argument 1676 dev = dev_get_drvdata(_dev); queues_show() 3307 static irqreturn_t net2280_irq(int irq, void *_dev) net2280_irq() argument 3309 struct net2280 *dev = _dev; net2280_irq() 3338 static void gadget_release(struct device *_dev) gadget_release() argument 3340 struct net2280 *dev = dev_get_drvdata(_dev); gadget_release()
|
H A D | net2272.c | 1183 registers_show(struct device *_dev, struct device_attribute *attr, char *buf) registers_show() argument 1193 dev = dev_get_drvdata(_dev); registers_show() 2056 static irqreturn_t net2272_irq(int irq, void *_dev) net2272_irq() argument 2058 struct net2272 *dev = _dev; net2272_irq() 2208 net2272_gadget_release(struct device *_dev) net2272_gadget_release() argument 2210 struct net2272 *dev = dev_get_drvdata(_dev); net2272_gadget_release()
|
H A D | goku_udc.c | 1508 static irqreturn_t goku_irq(int irq, void *_dev) goku_irq() argument 1510 struct goku_udc *dev = _dev; goku_irq() 1674 static void gadget_release(struct device *_dev) gadget_release() argument 1676 struct goku_udc *dev = dev_get_drvdata(_dev); gadget_release()
|
H A D | s3c2410_udc.c | 865 static irqreturn_t s3c2410_udc_irq(int dummy, void *_dev) s3c2410_udc_irq() argument 867 struct s3c2410_udc *dev = _dev; s3c2410_udc_irq() 1494 static irqreturn_t s3c2410_udc_vbus_irq(int irq, void *_dev) s3c2410_udc_vbus_irq() argument 1496 struct s3c2410_udc *dev = _dev; s3c2410_udc_vbus_irq()
|
H A D | s3c-hsudc.c | 1049 * @_dev: Reference to the device controller. 1054 static irqreturn_t s3c_hsudc_irq(int irq, void *_dev) s3c_hsudc_irq() argument 1056 struct s3c_hsudc *hsudc = _dev; s3c_hsudc_irq()
|
H A D | gr_udc.c | 1416 static irqreturn_t gr_irq_handler(int irq, void *_dev) gr_irq_handler() argument 1418 struct gr_udc *dev = _dev; gr_irq_handler() 1472 static irqreturn_t gr_irq(int irq, void *_dev) gr_irq() argument 1474 struct gr_udc *dev = _dev; gr_irq()
|
H A D | omap_udc.c | 1890 static irqreturn_t omap_udc_pio_irq(int irq, void *_dev) omap_udc_pio_irq() argument 1896 struct omap_udc *udc = _dev; omap_udc_pio_irq() 1969 static irqreturn_t omap_udc_iso_irq(int irq, void *_dev) omap_udc_iso_irq() argument 1971 struct omap_udc *udc = _dev; omap_udc_iso_irq()
|
H A D | mv_udc_core.c | 2071 static void gadget_release(struct device *_dev) gadget_release() argument 2075 udc = dev_get_drvdata(_dev); gadget_release()
|
/linux-4.1.27/tools/iio/ |
H A D | generic_buffer.c | 216 * its name is <device_name>_dev[n] where n matches main()
|
/linux-4.1.27/drivers/media/usb/airspy/ |
H A D | airspy.c | 158 #define airspy_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \ 164 dev_dbg(_dev, "%02x %02x %02x %02x %02x %02x %02x %02x %s %*ph\n", \
|
/linux-4.1.27/drivers/clk/tegra/ |
H A D | clk.h | 574 #define TEGRA_CLK_DUPLICATE(_clk_id, _dev, _con) \ 578 .dev_id = _dev, \
|
/linux-4.1.27/drivers/block/xen-blkback/ |
H A D | xenbus.c | 336 static ssize_t show_##name(struct device *_dev, \ 340 struct xenbus_device *dev = to_xenbus_device(_dev); \
|
/linux-4.1.27/drivers/bus/ |
H A D | mips_cdmm.c | 92 static ssize_t name##_show(struct device *_dev, \ 95 struct mips_cdmm_device *dev = to_mips_cdmm_device(_dev); \
|
/linux-4.1.27/arch/mips/include/asm/pci/ |
H A D | bridge.h | 619 #define BRIDGE_INT_DEV_SET(_dev, _line) (_dev << BRIDGE_INT_DEV_SHFT(_line))
|
/linux-4.1.27/drivers/thermal/ |
H A D | thermal_core.c | 526 #define to_thermal_zone(_dev) \ 527 container_of(_dev, struct thermal_zone_device, device) 844 #define to_cooling_device(_dev) \ 845 container_of(_dev, struct thermal_cooling_device, device)
|
/linux-4.1.27/drivers/media/usb/hackrf/ |
H A D | hackrf.c | 145 #define hackrf_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \ 151 dev_dbg(_dev, "%02x %02x %02x %02x %02x %02x %02x %02x %s %*ph\n", \
|
/linux-4.1.27/drivers/media/usb/msi2500/ |
H A D | msi2500.c | 655 #define msi2500_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \ 661 dev_dbg(_dev, "%02x %02x %02x %02x %02x %02x %02x %02x %s %*ph\n", \
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | elants_i2c.c | 832 static irqreturn_t elants_i2c_irq(int irq, void *_dev) elants_i2c_irq() argument 835 struct elants_data *ts = _dev; elants_i2c_irq()
|
/linux-4.1.27/arch/arm/mach-rpc/ |
H A D | ecard.c | 1106 static int ecard_match(struct device *_dev, struct device_driver *_drv) ecard_match() argument 1108 struct expansion_card *ec = ECARD_DEV(_dev); ecard_match()
|
/linux-4.1.27/drivers/media/pci/ddbridge/ |
H A D | ddbridge-core.c | 1700 #define DDB_ID(_vend, _dev, _subvend, _subdev, _driverdata) { \ 1701 .vendor = _vend, .device = _dev, \
|
/linux-4.1.27/drivers/net/ethernet/sgi/ |
H A D | ioc3-eth.c | 731 static irqreturn_t ioc3_interrupt(int irq, void *_dev) ioc3_interrupt() argument 733 struct net_device *dev = (struct net_device *)_dev; ioc3_interrupt()
|
/linux-4.1.27/drivers/net/ethernet/natsemi/ |
H A D | ns83820.c | 940 static void rx_action(unsigned long _dev) rx_action() argument 942 struct net_device *ndev = (void *)_dev; rx_action()
|
H A D | natsemi.c | 659 #define NATSEMI_CREATE_FILE(_dev, _name) \ 660 device_create_file(&_dev->dev, &dev_attr_##_name) 661 #define NATSEMI_REMOVE_FILE(_dev, _name) \ 662 device_remove_file(&_dev->dev, &dev_attr_##_name)
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
H A D | sb1250-mac.c | 2160 static int sb1250_change_mtu(struct net_device *_dev, int new_mtu) sb1250_change_mtu() argument 2164 _dev->mtu = new_mtu; sb1250_change_mtu()
|
/linux-4.1.27/drivers/scsi/ufs/ |
H A D | ufshcd.c | 77 #define ufshcd_toggle_vreg(_dev, _vreg, _on) \ 81 _ret = ufshcd_enable_vreg(_dev, _vreg); \ 83 _ret = ufshcd_disable_vreg(_dev, _vreg); \
|