/drivers/gpu/drm/gma500/ |
D | power.c | 188 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()
|
D | power.h | 46 int gma_power_restore(struct device *_dev);
|
/drivers/hwtracing/coresight/ |
D | coresight-priv.h | 43 static ssize_t name##_show(struct device *_dev, \ 46 type *drvdata = dev_get_drvdata(_dev->parent); \ 49 pm_runtime_get_sync(_dev->parent); \ 51 val = fn(_dev->parent, offset); \ 54 pm_runtime_put_sync(_dev->parent); \
|
/drivers/xen/xenbus/ |
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);
|
D | xenbus_probe.c | 93 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()
|
/drivers/parport/ |
D | parport_ax88796.c | 274 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()
|
/drivers/staging/fsl-mc/include/ |
D | mc-bus.h | 27 #define dev_is_fsl_mc(_dev) ((_dev)->bus == &fsl_mc_bus_type) argument 30 #define dev_is_fsl_mc(_dev) (0) argument
|
D | mc.h | 159 #define to_fsl_mc_device(_dev) \ argument 160 container_of(_dev, struct fsl_mc_device, dev)
|
/drivers/base/ |
D | platform.c | 555 static int platform_drv_probe(struct device *_dev) in platform_drv_probe() argument 557 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_probe() 558 struct platform_device *dev = to_platform_device(_dev); in platform_drv_probe() 561 ret = of_clk_set_defaults(_dev->of_node, false); in platform_drv_probe() 565 ret = dev_pm_domain_attach(_dev, true); in platform_drv_probe() 570 dev_pm_domain_detach(_dev, true); in platform_drv_probe() 578 dev_warn(_dev, "probe deferral not supported\n"); in platform_drv_probe() 585 static int platform_drv_probe_fail(struct device *_dev) in platform_drv_probe_fail() argument 590 static int platform_drv_remove(struct device *_dev) in platform_drv_remove() argument 592 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_remove() [all …]
|
/drivers/block/ |
D | ps3disk.c | 403 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() 512 ps3_system_bus_set_drvdata(_dev, NULL); in ps3disk_probe() 520 static int ps3disk_remove(struct ps3_system_bus_device *_dev) in ps3disk_remove() argument 522 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); in ps3disk_remove() 537 ps3_system_bus_set_drvdata(_dev, NULL); in ps3disk_remove()
|
/drivers/ps3/ |
D | vuart.h | 61 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()
|
/drivers/amba/ |
D | bus.c | 68 static ssize_t driver_override_show(struct device *_dev, in driver_override_show() argument 71 struct amba_device *dev = to_amba_device(_dev); in driver_override_show() 79 static ssize_t driver_override_store(struct device *_dev, in driver_override_store() argument 83 struct amba_device *dev = to_amba_device(_dev); in driver_override_store() 111 static ssize_t name##_show(struct device *_dev, \ 114 struct amba_device *dev = to_amba_device(_dev); \
|
/drivers/usb/core/ |
D | hub.h | 113 #define to_usb_port(_dev) \ argument 114 container_of(_dev, struct usb_port, dev)
|
D | endpoint.c | 23 #define to_ep_device(_dev) \ argument 24 container_of(_dev, struct ep_device, dev)
|
/drivers/scsi/ |
D | ps3rom.c | 357 static int ps3rom_probe(struct ps3_system_bus_device *_dev) in ps3rom_probe() argument 359 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); in ps3rom_probe() 418 static int ps3rom_remove(struct ps3_system_bus_device *_dev) in ps3rom_remove() argument 420 struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); in ps3rom_remove()
|
/drivers/char/ |
D | ps3flash.c | 342 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()
|
/drivers/misc/vmw_vmci/ |
D | vmci_guest.c | 399 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()
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40evf_ethtool.c | 59 #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))
|
/drivers/pcmcia/ |
D | socket_sysfs.c | 34 #define to_socket(_dev) container_of(_dev, struct pcmcia_socket, dev) argument
|
/drivers/scsi/isci/ |
D | remote_device.c | 323 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()
|
/drivers/net/irda/ |
D | pxaficp_ir.c | 873 static int pxa_irda_suspend(struct platform_device *_dev, pm_message_t state) in pxa_irda_suspend() argument 875 struct net_device *dev = platform_get_drvdata(_dev); in pxa_irda_suspend() 887 static int pxa_irda_resume(struct platform_device *_dev) in pxa_irda_resume() argument 889 struct net_device *dev = platform_get_drvdata(_dev); in pxa_irda_resume() 1043 static int pxa_irda_remove(struct platform_device *_dev) in pxa_irda_remove() argument 1045 struct net_device *dev = platform_get_drvdata(_dev); in pxa_irda_remove()
|
/drivers/i2c/busses/ |
D | i2c-brcmstb.c | 187 #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))
|
/drivers/net/can/c_can/ |
D | c_can_pci.c | 269 #define C_CAN_ID(_vend, _dev, _driverdata) { \ argument 270 PCI_DEVICE(_vend, _dev), \
|
/drivers/usb/gadget/udc/ |
D | pxa27x_udc.c | 2345 static irqreturn_t pxa_udc_irq(int irq, void *_dev) in pxa_udc_irq() argument 2347 struct pxa_udc *udc = _dev; in pxa_udc_irq() 2530 static int pxa_udc_remove(struct platform_device *_dev) in pxa_udc_remove() argument 2532 struct pxa_udc *udc = platform_get_drvdata(_dev); in pxa_udc_remove() 2549 static void pxa_udc_shutdown(struct platform_device *_dev) in pxa_udc_shutdown() argument 2551 struct pxa_udc *udc = platform_get_drvdata(_dev); in pxa_udc_shutdown() 2572 static int pxa_udc_suspend(struct platform_device *_dev, pm_message_t state) in pxa_udc_suspend() argument 2574 struct pxa_udc *udc = platform_get_drvdata(_dev); in pxa_udc_suspend() 2597 static int pxa_udc_resume(struct platform_device *_dev) in pxa_udc_resume() argument 2599 struct pxa_udc *udc = platform_get_drvdata(_dev); in pxa_udc_resume()
|
/drivers/staging/most/hdm-dim2/ |
D | dim2_hdm.c | 414 static irqreturn_t dim2_mlb_isr(int irq, void *_dev) in dim2_mlb_isr() argument 416 struct dim2_hdm *dev = _dev; in dim2_mlb_isr() 464 static irqreturn_t dim2_ahb_isr(int irq, void *_dev) in dim2_ahb_isr() argument 466 struct dim2_hdm *dev = _dev; in dim2_ahb_isr()
|